]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Remove __ASSUME_MMAP2_SYSCALL.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
348363b2
JM
12012-08-20 Joseph Myers <joseph@codesourcery.com>
2
3 * sysdeps/unix/sysv/linux/kernel-features.h
4 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
5 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
6 unconditional.
7 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
12 Make code unconditional.
13 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14 (__mmap64) [!__NR_mmap2]: Likewise.
15 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
16 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19 [__NR_mmap2]: Make code unconditional.
20 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21 (__mmap64) [!__NR_mmap2]: Likewise.
22
bc5bc0e5
AK
232012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24
25 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
26
88d506de
AJ
272012-08-18 Andreas Jaeger <aj@suse.de>
28
29 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
30
493387d2
MF
312012-08-18 Mike Frysinger <vapier@gentoo.org>
32
33 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
34 * include/unistd.h (__have_sock_cloexec): Likewise.
35 (__have_pipe2): Likewise.
36 (__have_dup3): Likewise.
37
a277af22
MF
382012-08-18 Mike Frysinger <vapier@gentoo.org>
39
40 [BZ #9685]
41 * include/unistd.h (__have_pipe2): Change define into an extern int.
42 (__have_dup3): Likewise.
43 * socket/have_sock_cloexec.c: Include fcntl.h.
44 (__have_pipe2): New variable.
45 (__have_dup3): Likewise.
46
fdab8fd3
MF
472012-08-17 Mike Frysinger <vapier@gentoo.org>
48
49 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
50
31035e80
MP
512012-08-17 Marek Polacek <polacek@redhat.com>
52
53 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
54 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
55
3bd9e993
RM
562012-08-17 Roland McGrath <roland@hack.frob.com>
57
c91c505f
RM
58 * configure.in: Add AC_SUBST for sysheaders.
59 * configure: Regenerated.
60 * config.make.in (sysheaders): New substituted variable.
61
7c6f9d53
RM
62 * sysdeps/unix/mkfifo.c: Moved ...
63 * sysdeps/posix/mkfifo.c: ... here.
64 * sysdeps/unix/mkfifoat.c: Moved ...
65 * sysdeps/posix/mkfifoat.c: ... here.
66
67 * sysdeps/unix/utime.c: Moved ...
68 * sysdeps/posix/utime.c: ... here.
69
70 * sysdeps/unix/time.c: Moved ...
71 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
72 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
73 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
74
75 * sysdeps/unix/nice.c: Moved ...
76 * sysdeps/posix/nice.c: ... here.
77
78 * sysdeps/unix/alarm.c: Moved ...
79 * sysdeps/posix/alarm.c: ... here.
80
3bd9e993
RM
81 * intl/Makefile ($(codeset_mo)): Depend on the input file.
82
d1f09384
JL
832012-08-17 Jeff Law <law@redhat.com>
84
85 * intl/Makefile (codeset_mo): New variable.
86 ($(codeset_mo)): New target.
87 (tst-codeset.out): Depend on that. Remove explicit rule.
88 (tst-gettext3.out, tst-gettext5.out): Likewise.
89 (LOCPATH-ENV, tst-codeset-ENV): New variables.
90 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
91 * intl/tst-codeset.sh: Remove.
92 * intl/tst-gettext3.sh: Likewise.
93 * intl/tst-gettext5.sh: Likewise.
94
2ae1ae5c
RM
952012-08-17 Roland McGrath <roland@hack.frob.com>
96
c31fdb83
RM
97 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
98 * sysdeps/unix/syscalls.list: ... here.
99
a0844057
RM
100 * sysdeps/posix/getaddrinfo.c
101 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
102 (gaiconf_init, gaiconf_reload): Use them.
103 [!_STATBUF_ST_NSEC]
104 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
105 Define using time_t rather than struct timespec.
106
750c1f2a
RM
107 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
108 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
109 Macros removed.
110 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
111 [!NO_THREADS].
112 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
113 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
114 Likewise.
115
2ae1ae5c
RM
116 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
117 __libc_cleanup_push argument.
118
e66a42f5
RM
119 * bits/param.h: New file.
120 * misc/sys/param.h: New file.
121 * include/sys/param.h: New file.
122 * misc/Makefile (headers): Add bits/param.h.
123 * sysdeps/generic/sys/param.h: File removed.
124 * sysdeps/unix/sysv/linux/bits/param.h: New file.
125 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
126 * sysdeps/mach/hurd/bits/param.h: New file.
127 * sysdeps/mach/hurd/sys/param.h: New file.
128
b7c08a66
RM
129 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
130 last change.
131
b2e1c562
RM
132 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
133 [_IO_MTSAFE_IO].
134 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
135 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
136 New macros.
137
c75ccd4c
RM
138 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
139 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
140 rather than -D_IO_MTSAFE_IO conditionally.
141 * stdio-common/Makefile (CPPFLAGS): Likewise.
142 * wcsmbs/Makefile (CPPFLAGS): Likewise.
143 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
144 Use $(libio-mtsafe).
145 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
146 of -D_IO_MTSAFE_IO.
147 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
148 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
149 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
150 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
151 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
152 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
153 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
154 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
155 (CFLAGS-fread_u_chk.c): Likewise.
156 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
157 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
158 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
159 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
160 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
161 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
162 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
163 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
164 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
165
166 * libio/Makefile: Test [$(libc-reentrant) = yes]
167 instead of [$(filter %REENTRANT, $(defines)) nonempty].
168
169 * Makeconfig
170 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
171 * sysdeps/pthread/configure: File removed.
172 * sysdeps/pthread/Makeconfig: New file.
173 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
174 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
175
d9195db8
GB
1762012-08-16 Gary Benson <gbenson@redhat.com>
177
178 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
179 unmapping the first object in a namespace.
180
86466cd9
RM
1812012-08-16 Roland McGrath <roland@hack.frob.com>
182
183 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
184 (__internal_setnetgrent): ... this. Add internal_function to
185 definition. Add libc_hidden_def.
186 (setnetgrent): Update caller.
187 (internal_endnetgrent): Renamed to ...
188 (__internal_endnetgrent): ... this. Add internal_function to
189 definition. Add libc_hidden_def.
190 (endnetgrent): Update caller.
191 (internal_getnetgrent_r): Renamed to ...
192 (__internal_getnetgrent_r): ... this. Add internal_function to
193 definition. Add libc_hidden_def.
194 (__getnetgrent_r): Update caller.
195 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
196
c3c8283c
JM
1972012-08-16 Joseph Myers <joseph@codesourcery.com>
198
199 * stdlib/longlong.h: Update from GCC.
200
db1ee0a8
RM
2012012-08-16 Roland McGrath <roland@hack.frob.com>
202
203 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
204 on _QL, which is set by umul_ppmm but never used.
205 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
206 variables, which are set by GMP macros but never used.
207 * stdio-common/_itowa.c (_itowa): Likewise.
208 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
209 * stdlib/mod_1.c (mpn_mod_1): Likewise.
210
30f69637
CD
2112012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
212
213 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
214 struct La_sh_regs is not constant.
215 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
216 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
217 and struct La_sparc64_regs are not constant.
218
93a78ac4
JM
2192012-08-16 Joseph Myers <joseph@codesourcery.com>
220
221 * sysdeps/unix/sysv/linux/kernel-features.h
222 (__ASSUME_POSIX_TIMERS): Remove.
223 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
224 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
225 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
226 Make code unconditional.
227 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
228 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
229 Make code unconditional.
230 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
231 * sysdeps/unix/sysv/linux/clock_nanosleep.c
232 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
233 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
234 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
235 Make code unconditional.
236 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
237 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
238 (__libc_missing_posix_timers): Remove.
239
dd924cd7
RM
2402012-08-15 Roland McGrath <roland@hack.frob.com>
241
4b4f2771
RM
242 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
243 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
244
601c888b
RM
245 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
246
176790a7
RM
247 * elf/dl-sym.c: Include <stdlib.h>.
248
329bc018
RM
249 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
250 constants, which avoids warnings in 32-bit builds.
251
e04e272d
RM
252 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
253 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
254
952bf94a
RM
255 * misc/lseek.c: File moved to ...
256 * io/lseek.c: ... here.
257
7c99b50a
RM
258 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
259
dd924cd7
RM
260 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
261 shifting LEN more than 31 bits at once.
262
b3f479a8
LD
2632012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
264
265 [BZ #14195]
266 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
267 segmentation fault for a case of two empty input strings.
268 * string/test-strncasecmp.c (check1): Renamed to...
269 (bz12205): ...this.
270 (bz14195): Add new testcase for two empty input strings and N > 0.
271 (test_main): Call new testcase, adapt for renamed function.
272
9c55864e
AJ
2732012-08-15 Andreas Jaeger <aj@suse.de>
274
275 [BZ #14090]
276 * crypt/md5test2.c: New test, based on test supplied by Serge
277 Belyshev <belyshev@depni.sinp.msu.ru>.
278 * crypt/Makefile (xtests): Add md5test-giant..
279 * crypt/Makefile ($(objpfx)md5test-giant): Add.
280
02dcb6c5
PE
2812012-08-15 Paul Eggert <eggert@cs.ucla.edu>
282
283 [BZ #14090]
284 * crypt/md5.c (md5_process_block): Don't assume the buffer
285 length is less than 2**32.
286 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
287 length is less than 2**64.
288
a3f95dcc
RM
2892012-08-15 Roland McGrath <roland@hack.frob.com>
290
be75d758
RM
291 * string/str-two-way.h: Include <sys/param.h>.
292 (MAX): Macro removed.
293
7312ca90
RM
294 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
295 Move #define and #undef of memmove to just before and after
296 including <string.h>.
297
9a0a5486
RM
298 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
299 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
300 and after including <string.h>. Move declarations of
301 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
302 to before #include "string/memmove.c".
303
67cc348d
RM
304 * include/dirent.h: Declare __getdirentries.
305
a3f95dcc
RM
306 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
307 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
308
ca98e171
MF
3092012-08-14 Mike Frysinger <vapier@gentoo.org>
310
311 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
312 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
313 * sysdeps/i386/configure: Regenerated.
314 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
315 STABS_CURRENT_FILE, and STABS_FUN.
316 (END): Remove call to STABS_FUN_END.
317 (STABS_CURRENT_FILE1): Delete.
318 (STABS_CURRENT_FILE): Likewise.
319 (STABS_FUN): Likewise.
320 (STABS_FUN_END): Likewise.
321 (STABS_FUN2): Likewise.
322 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
323 * sysdeps/x86_64/configure: Regenerated.
324
5908bf46
RM
3252012-08-14 Roland McGrath <roland@hack.frob.com>
326
327 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 328 * elf/dl-lookup.c: Likewise.
5908bf46 329
f2c05b9e
JM
3302012-08-14 Joseph Myers <joseph@codesourcery.com>
331
332 * sysdeps/unix/sysv/linux/kernel-features.h
333 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
334 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
335 unconditionally.
336 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
337 unconditionally.
338 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
339 condition on __ASSUME_CLONE_THREAD_FLAGS.
340
e11f5155
AJ
3412012-08-14 Andreas Jaeger <aj@suse.de>
342
343 * sysdeps/i386/fpu/libm-test-ulps: Update.
344
51a9ba86
MK
3452012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
346
2fdd4f78
AJ
347 * include/atomic.h (atomic_exchange_and_add): Split into ...
348 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
349 New atomic macros.
51a9ba86 350
ba6cba9e
MT
3512012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
352
353 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
354
42443a47
JL
3552012-08-13 Jeff Law <law@redhat.com>
356
357 * manual/stdio.texi (snprintf): Clarify handling of the trailing
358 null byte in the output string.
359
121dce05
JM
3602012-08-10 Joseph Myers <joseph@codesourcery.com>
361
362 * sysdeps/unix/sysv/linux/kernel-features.h
363 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
364 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
365 (__ASSUME_ARG_MAX_STACK_BASED): Define.
366 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
367 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
368 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
369 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
370
bf51f568
JL
3712012-08-09 Jeff Law <law@redhat.com>
372
373 [BZ #13939]
374 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
375 When avoid_arena is set, don't retry in the that arena. Pick the
376 next one, whatever it might be.
377 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
378 (arena_lock): Pass in new parameter to arena_get2.
379 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
380 arena_get2.
381 (__libc_malloc): Unify retrying after main arena failure with
382 __libc_memalign version.
383 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
384
f85fa270
L
3852012-08-09 H.J. Lu <hongjiu.lu@intel.com>
386
387 [BZ #14166]
388 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
389 to __redirect_strstr.
390 (__strstr_sse42): Use typeof __redirect_strstr.
391 (__strstr_ia32): Likewise.
392 (__libc_strstr): New prototype.
393 (strstr): Renamed to ...
394 (__libc_strstr): This.
395 (strstr): New strong alias of __libc_strstr.
396 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
397 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
398 __redirect_time.
399 Include <time.h>.
400 (__libc_time): New prototype.
401 (time_ifunc): Replace time with __libc_time.
402 (time): New strong alias and hidden definition of __libc_time.
403 (__GI_time): Remove strong alias.
404 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
405 Include <stddef.h>.
406 (memmove): Redefined to __redirect_memmove.
407 (__memmove_sse2): Use typeof __redirect_memmove.
408 (__memmove_ssse3): Likewise.
409 (__memmove_ssse3_back): Likewise.
410 (__libc_memmove): New prototype.
411 (memmove): Renamed to ...
412 (__libc_memmove): This.
413 (memmove): New strong alias of __libc_memmove.
414
33b4a91e
MS
4152012-08-08 Mark Salter <msalter@redhat.com>
416
417 * elf/elf.h
418 (R_MN10300_TLS_GD): Define.
419 (R_MN10300_TLS_LD): Likewise.
420 (R_MN10300_TLS_LDO): Likewise.
421 (R_MN10300_TLS_GOTIE): Likewise.
422 (R_MN10300_TLS_IE): Likewise.
423 (R_MN10300_TLS_LE): Likewise.
424 (R_MN10300_TLS_DTPMOD): Likewise.
425 (R_MN10300_TLS_DTPOFF): Likewise.
426 (R_MN10300_TLS_TPOFF): Likewise.
427 (R_MN10300_SYM_DIFF): Likewise.
428 (R_MN10300_ALIGN): Likewise.
429 (R_MN10300_NUM): Update.
430
b36137f1
JM
4312012-08-08 Joseph Myers <joseph@codesourcery.com>
432
433 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
434 Remove.
435
cdd915fd
RM
4362012-08-08 Roland McGrath <roland@hack.frob.com>
437
a2433aac
RM
438 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
439
cdd915fd
RM
440 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
441 sysdeps/unix -> sysdeps/posix move.
442 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
443
bf9b740a
AM
4442012-08-07 Allan McRae <allan@archlinux.org>
445
446 [BZ #14303]
447 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
448 (SUNOS_CPP): Likewise.
449 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
450 not found.
451 (open_input): Call CPP using execvp.
452
93df14ee
JM
4532012-08-07 Joseph Myers <joseph@codesourcery.com>
454
455 * sysdeps/unix/sysv/linux/kernel-features.h
456 (__ASSUME_PROT_GROWSUPDOWN): Remove.
457 (__ASSUME_NO_CLONE_DETACHED): Likewise.
458 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
459 (__ASSUME_WAITID_SYSCALL): Likewise.
460 * sysdeps/unix/sysv/linux/dl-execstack.c
461 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
462 code unconditional.
463 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
464 conditional code.
465 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
466 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
467 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
468 code.
469 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
470 unconditional.
471 [__ASSUME_WAITID_SYSCALL]: Likewise.
472 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
473
d34689de
RM
4742012-08-07 Roland McGrath <roland@hack.frob.com>
475
a281decc
RM
476 * sysdeps/unix/closedir.c: Renamed to ...
477 * sysdeps/posix/closedir.c: ... here.
478 * sysdeps/unix/dirfd.c: Renamed to ...
479 * sysdeps/posix/dirfd.c: ... here.
480 * sysdeps/unix/dirstream.h: Renamed to ...
481 * sysdeps/posix/dirstream.h: ... here.
482 * sysdeps/unix/fdopendir.c: Renamed to ...
483 * sysdeps/posix/fdopendir.c: ... here.
484 * sysdeps/unix/opendir.c: Renamed to ...
485 * sysdeps/posix/opendir.c: ... here.
486 * sysdeps/unix/readdir.c: Renamed to ...
487 * sysdeps/posix/readdir.c: ... here.
488 * sysdeps/unix/readdir_r.c: Renamed to ...
489 * sysdeps/posix/readdir_r.c: ... here.
490 * sysdeps/unix/rewinddir.c: Renamed to ...
491 * sysdeps/posix/rewinddir.c: ... here.
492 * sysdeps/unix/seekdir.c: Renamed to ...
493 * sysdeps/posix/seekdir.c: ... here.
494 * sysdeps/unix/telldir.c: Renamed to ...
495 * sysdeps/posix/telldir.c: ... here.
496 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
497 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
498 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
499 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
500
22895b47
RM
501 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
502 * bits/fcntl.h: ... here.
503
707a53b6
RM
504 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
505 not 0.
506 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
507 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
508 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
509 (struct flock): Move l_start, l_len to the beginning.
510 Use __pid_t for l_pid.
511 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
512 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
513 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
514 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
515 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
516 [__USE_LARGEFILE64] (struct flock64): New type.
517 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
518
f0bd3e25
RM
519 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
520 * bits/dirent.h: ... here.
521
d34689de
RM
522 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
523 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
524
6dad2c06
JM
5252012-08-07 Joseph Myers <joseph@codesourcery.com>
526
527 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
528 Change from 2.6.0 to 2.6.16.
529 * sysdeps/unix/sysv/linux/configure: Regenerated.
530 * sysdeps/unix/sysv/linux/kernel-features.h
531 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
532 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
533 version.
534 (__ASSUME_UTIMES): Likewise.
535 (__ASSUME_CLONE_STOPPED): Remove.
536 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
537 architectures, not kernel version.
538 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
539 (__ASSUME_NO_CLONE_DETACHED): Likewise.
540 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
541 (__ASSUME_WAITID_SYSCALL): Likewise.
542 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
543 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
544 * README: State 2.6.16 as minimum Linux kernel version. Do not
545 refer to older versions.
546
03af9520
RM
5472012-08-06 Roland McGrath <roland@hack.frob.com>
548
8e49df1d
RM
549 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
550 Define alphasort64 as an alias.
551 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
552 Define versionsort64 as an alias.
553 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
554 Define scandir64 as an alias.
555 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
556 Define scandirat64 as an alias.
557 * dirent/alphasort64.c (alphasort64):
558 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
559 * dirent/versionsort64.c: Likewise.
560 * dirent/scandir64.c: Likewise.
561 * dirent/scandirat64.c: Likewise.
562 * sysdeps/wordsize-64/alphasort.c: File removed.
563 * sysdeps/wordsize-64/alphasort64.c: File removed.
564 * sysdeps/wordsize-64/scandir.c: File removed.
565 * sysdeps/wordsize-64/scandir64.c: File removed.
566 * sysdeps/wordsize-64/scandirat.c: File removed.
567 * sysdeps/wordsize-64/scandirat64.c: File removed.
568 * sysdeps/wordsize-64/versionsort.c: File removed.
569 * sysdeps/wordsize-64/versionsort64.c: File removed.
570 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
571 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
572 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
573 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
574 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
575 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
576 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
577 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
578
579 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
580 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
581 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
582 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
583 [defined __arch64__ || defined __sparcv9]
584 (__INO_T_MATCHES_INO64_T): New macro.
585 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
586 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
587 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
588 * sysdeps/unix/sysv/linux/bits/dirent.h
589 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
590 (_DIRENT_MATCHES_DIRENT64): New macro.
591
03af9520
RM
592 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
593 Define lockf64 as an alias.
594 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
595 Define fseeko64 as an alias.
596 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
597 Define ftello64 as an alias.
598 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
599 Define _IO_fgetpos64 and fgetpos64 as aliases.
600 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
601 Define _IO_fsetpos64 and fsetpos64 as aliases.
602 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
603 Conditionalize body on this.
604 * libio/fseeko64.c: Likewise.
605 * libio/ftello64.c: Likewise.
606 * libio/iofgetpos64.c: Likewise.
607 * libio/iofsetpos64.c: Likewise.
608 * sysdeps/wordsize-64/lockf.c: File removed.
609 * sysdeps/wordsize-64/lockf64.c: File removed.
610 * sysdeps/wordsize-64/fseeko.c: File removed.
611 * sysdeps/wordsize-64/fseeko64.c: File removed.
612 * sysdeps/wordsize-64/ftello.c: File removed.
613 * sysdeps/wordsize-64/ftello64.c: File removed.
614 * sysdeps/wordsize-64/iofgetpos.c: File removed.
615 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
616 * sysdeps/wordsize-64/iofsetpos.c: File removed.
617 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
618 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
619 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
620 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
621 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
622 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
623 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
624 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
625 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
626 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
627 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
628
629 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
630 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
631 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
632 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
633 [defined __arch64__ || defined __sparcv9]
634 (__OFF_T_MATCHES_OFF64_T): New macro.
635 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
636 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
637 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
638 (__OFF_T_MATCHES_OFF64_T): New macro.
639
c5757acd
L
6402012-08-06 H.J. Lu <hongjiu.lu@intel.com>
641
642 * stdlib/secure-getenv.c (__secure_getenv): Replace
643 GLIBC_2_16 with GLIBC_2_17.
644
3a31811e
L
6452012-08-06 H.J. Lu <hongjiu.lu@intel.com>
646
647 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
648 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
649
faa2bccb
DM
6502012-08-03 David S. Miller <davem@davemloft.net>
651
652 * sysdeps/sparc/fpu/libm-test-ulps: Update.
653
85fe1997
JM
6542012-08-03 Joseph Myers <joseph@codesourcery.com>
655
656 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
657 Remove.
658 (__ASSUME_CORRECT_SI_PID): Likewise.
659 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
660 (__ASSUME_TMPFS_NAME): Likewise.
661 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
662 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
663 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
664 (HAVE_AUX_SECURE): Make definition unconditional.
665 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
666 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
667
4f75b7a0
RM
6682012-08-03 Roland McGrath <roland@hack.frob.com>
669
670 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
671 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
672 * sysdeps/mach/hurd/eloop-threshold.h: New file.
673 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
674 __eloop_threshold instead of SYMLOOP_MAX.
675
676 * sysdeps/generic/eloop-threshold.h: New file.
677 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
678 of MAXSYMLINKS.
679 * elf/chroot_canon.c (chroot_canon): Likewise.
680
7aab07e4
JM
6812012-08-03 Joseph Myers <joseph@codesourcery.com>
682
683 [BZ #13717]
684 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
685 Change to 2.6.0 everywhere.
686 * sysdeps/unix/sysv/linux/configure: Regenerated.
687 * sysdeps/unix/sysv/linux/kernel-features.h
688 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
689 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
690 kernel versions.
691 (__ASSUME_POSIX_TIMERS): Define unconditionally.
692 (__ASSUME_FUTEX_REQUEUE): Remove.
693 (__ASSUME_STATFS64): Define unconditionally.
694 (__ASSUME_AT_SECURE): Likewise.
695 (__ASSUME_CORRECT_SI_PID): Likewise.
696 (__ASSUME_TGKILL): Define without depending on kernel version for
697 i386.
698 (__ASSUME_UTIMES): Likewise.
699 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
700 kernel version.
701 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
702 (__ASSUME_TMPFS_NAME): Likewise.
703 * README: Update reference to Linux kernel versions.
704
b67e9372
MP
7052012-08-02 Marek Polacek <polacek@redhat.com>
706
707 [BZ#14150]
708 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
709 libc_cv_asm_type_prefix with %.
710 * configure: Regenerated.
d2441631
RM
711 * include/libc-symbols.h: Remove comment about
712 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
713 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
714 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
715 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
716 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
717 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
718 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
719 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
720 * elf/tst-unique2mod1.c: Likewise.
721 * elf/tst-unique1mod2.c: Likewise.
722 * elf/tst-unique1mod1.c: Likewise.
723 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
724 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
725 Replace ASM_TYPE_DIRECTIVE with .type.
726 * sysdeps/s390/s390-64/sysdep.h: Likewise.
727 * sysdeps/i386/sysdep.h: Likewise.
728 * sysdeps/x86_64/sysdep.h: Likewise.
729 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
731 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 732 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
733 * sysdeps/powerpc/powerpc32/sysdep.h:
734 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
735 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
736 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
737 * sysdeps/i386/fpu/e_powf.S: Likewise.
738 * sysdeps/i386/fpu/e_expl.S: Likewise.
739 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
740 * sysdeps/i386/fpu/e_acosh.S: Likewise.
741 * sysdeps/i386/fpu/e_pow.S: Likewise.
742 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
743 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
744 * sysdeps/i386/fpu/s_expm1.S: Likewise.
745 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
746 * sysdeps/i386/fpu/e_log2.S: Likewise.
747 * sysdeps/i386/fpu/e_log2l.S: Likewise.
748 * sysdeps/i386/fpu/e_scalb.S: Likewise.
749 * sysdeps/i386/fpu/e_powl.S: Likewise.
750 * sysdeps/i386/fpu/e_log10f.S: Likewise.
751 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
752 * sysdeps/i386/fpu/e_logl.S: Likewise.
753 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
754 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
755 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
756 * sysdeps/i386/fpu/e_log2f.S: Likewise.
757 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
758 * sysdeps/i386/fpu/e_log.S: Likewise.
759 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
760 * sysdeps/i386/fpu/e_logf.S: Likewise.
761 * sysdeps/i386/fpu/e_log10l.S: Likewise.
762 * sysdeps/i386/fpu/e_atanh.S: Likewise.
763 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
764 * sysdeps/i386/fpu/e_log10.S: Likewise.
765 * sysdeps/i386/fpu/s_frexp.S: Likewise.
766 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
767 * sysdeps/i386/fpu/s_asinh.S: Likewise.
768 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
769 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
770 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
771 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
772 * sysdeps/i386/i686/strtok.S: Likewise.
773 * sysdeps/i386/i386-mcount.S: Likewise.
774 * sysdeps/i386/strtok.S: Likewise.
775 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
776 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
777 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
778 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
779 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
780 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
781 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
782 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
783 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
784 * sysdeps/x86_64/_mcount.S: Likewise.
785 * sysdeps/x86_64/strtok.S: Likewise.
786 * sysdeps/sh/_mcount.S: Likewise.
787
2747bf9a
RM
7882012-08-01 Roland McGrath <roland@hack.frob.com>
789
790 * libio/iofopen.c: Include <fcntl.h>.
791 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
792 (_IO_fopen64, fopen64): Define as aliases.
793 * libio/iofopen64.c: Include <fcntl.h>.
794 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
795 Conditionalize body on this.
796 * sysdeps/wordsize-64/iofopen.c: File removed.
797 * sysdeps/wordsize-64/iofopen64.c: File removed.
798
3fb791b8
MP
7992012-08-01 Marek Polacek <polacek@redhat.com>
800
801 * libc/Makeconfig: Use elf in place of binfmt-subdir.
802 Use dlfcn directly instead of a variable.
803 (binfmt-subdir): Do not define.
804 (dlfcn): Likewise.
805
a9f1039f
JM
8062012-08-01 Joseph Myers <joseph@codesourcery.com>
807
23bddc06
JM
808 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
809 Remove all definitions.
810 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
811 <kernel-features.h>.
812 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
813 (miss_F_GETOWN_EX): Remove all definitions.
814 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
815 macro definition.
816 [!__ASSUME_FCNTL64]: Remove conditional code.
817 [__ASSUME_FCNTL64]: Make code unconditional.
818 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
819 <kernel-features.h>.
820 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
821 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
822 (lockf64) [__NR_fcntl64]: Make code unconditional.
823 (lockf64) [__ASSUME_FCNTL64]: Likewise.
824
a9f1039f
JM
825 * sysdeps/unix/sysv/linux/kernel-features.h
826 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
827 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
828 Make code unconditional.
829 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
830 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
832 [__NR_vfork]: Make code unconditional.
833 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
834 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
836 [__NR_vfork]: Make code unconditional.
837 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
838 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
839
09c0ee5f
RM
8402012-08-01 Roland McGrath <roland@hack.frob.com>
841
48aec5b9
RM
842 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
843 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
844
cd97c966
RM
845 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
846 Define mkstemp64 as an alias.
3f55550c
RM
847 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
848 Define mkstemps64 as an alias.
cd97c966
RM
849 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
850 Define mkostemp64 as an alias.
b8625cfc
RM
851 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
852 Define mkostemps64 as an alias.
cd97c966
RM
853 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
854 Conditionalize body on this.
855 * misc/mkostemp64.c: Likewise.
b8625cfc 856 * misc/mkostemps64.c: Likewise.
3f55550c 857 * misc/mkstemps64.c: Likewise.
cd97c966
RM
858 * sysdeps/wordsize-64/mkstemp64.c: File removed.
859 * sysdeps/wordsize-64/mkostemp64.c: File removed.
860 * sysdeps/wordsize-64/mkostemp.c: File removed.
861 * sysdeps/wordsize-64/mkstemp.c: File removed.
862 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
863 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
864 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
865 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
866
09c0ee5f
RM
867 [BZ #14138]
868 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
869 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
870 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
871 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
872
873 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
874 compat_symbol macros from <shlib-compat.h> rather than the underlying
875 default_symbol_version and symbol_version macros, so that DEFAULT
876 lines in shlib-versions are respected.
877 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
878
7e66ee51
FW
8792012-08-01 Florian Weimer <fweimer@redhat.com>
880
881 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
882 Declare with warn_unused_result.
883 (setgid, setregid, setegid, setresgid): Likewise.
884 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
885 Likewise.
886 * WUR-REPORT: Remove set*id functions.
887
d2a54255
PT
8882012-07-31 Pino Toscano <toscano.pino@tiscali.it>
889
890 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
891
7ecdb005
RM
8922012-07-31 Roland McGrath <roland@hack.frob.com>
893
789bd351
RM
894 * include/sys/socket.h (__libc_accept, __libc_accept4):
895 Add attribute_hidden.
896 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
897
40ce302d
RM
898 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
899 use of PTR_MANGLE.
900 * inet/getnetgrent_r.c (setup): Likewise.
901
7ecdb005
RM
902 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
903
e2eabb2c
DM
9042012-07-31 David S. Miller <davem@davemloft.net>
905
906 * sysdeps/sparc/fpu/libm-test-ulps: Update.
907
d0419dbf
JM
9082012-07-31 Joseph Myers <joseph@codesourcery.com>
909
910 [BZ #13629]
911 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
912 value between 1.0 and 2.0 and smaller part has absolute value less
913 than 1.0.
914 * math/s_clog10.c (__clog10): Likewise.
915 * math/s_clog10f.c (__clog10f): Likewise.
916 * math/s_clog10l.c (__clog10l): Likewise.
917 * math/s_clogf.c (__clogf): Likewise.
918 * math/s_clogl.c (__clogl): Likewise.
919 * math/libm-test.inc (clog_test): Add more tests.
920 (clog10_test): Likewise.
921 * sysdeps/i386/fpu/libm-test-ulps: Update.
922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
923
2bc13872
FW
9242012-07-31 Florian Weimer <fweimer@redhat.com>
925
926 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
927 Exit with zero in case no suitable GID is found, and write a
928 message to standard error.
929
bea9b193
RM
9302012-07-30 Roland McGrath <roland@hack.frob.com>
931
932 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
933 rather than to 1.
934 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
935 (MAXPATHLEN): Removed.
936 (NOGROUP, NODEV): New macros.
937 (setbit, clrbit, isset, isclr): New macros.
938 (howmany, roundup, powerof2): New macros.
939 (DEV_BSIZE): New macro.
940
941 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
942 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
943
944 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
945 definition on [!__NO_LONG_DOUBLE_MATH].
946
947 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
948 PTR_MANGLE and PTR_DEMANGLE.
949
950 * socket/accept4.c (accept4): Rename to __libc_accept4.
951 Define accept4 as a weak alias.
952
953 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
954 on [_DIRENT_HAVE_D_TYPE].
955 * io/ftw.c (ftw_dir): Likewise.
956
957 * io/xmknod.c (__xmknod): Don't check PATH for being null.
958
959 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
960
961 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
962 Use the BSD numbers rather than the arbitrary ones we had.
963 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
964 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
965 (SIGXCPU, SIGXFSZ): New macros.
966 (_NSIG): Now 32.
967
968 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
969 initializer on [_LIBC_REENTRANT].
970
971 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
972 definitions inside [_POSIX_MAPPED_FILES].
973
974 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
975
976 * dirent/opendir.c: Include <fcntl.h>.
977
978 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
979 (__libc_getspecific): Likewise.
980 (__libc_key_create): Likewise.
981
982 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
983 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
984 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
985 (tmpfile64): Define as alias.
986 * sysdeps/wordsize-64/tmpfile.c: File removed.
987 * sysdeps/wordsize-64/tmpfile64.c: File removed.
988 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
989 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
990
991 * stdio-common/vfscanf.c: Include <stdbool.h>.
992 * nss/makedb.c: Likewise.
993 * stdio-common/_i18n_number.h: Likewise.
994 * argp/argp-help.c: Likewise.
995 * posix/wordexp.c: Likewise.
996 * sysdeps/posix/spawni.c: Likewise.
997 * nss/nss_files/files-initgroups.c: Likewise.
998 * stdio-common/reg-modifier.c: Include <stdlib.h>.
999 * nss/nss_files/files-initgroups.c: Likewise.
1000 * nss/nss_db/db-netgrp.c: Likewise.
1001 * nss/nss_db/db-initgroups.c: Likewise.
1002 * io/fchmodat.c: Include <sys/stat.h>.
1003
1004 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
1005 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
1006
1007 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
1008 [HAVE_MMAP].
1009
1010 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
1011 Add multiple inclusion protection.
1012
e5abc686
DM
10132012-07-27 David S. Miller <davem@davemloft.net>
1014
1015 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1016
815e6fa3
GB
10172012-07-27 Gary Benson <gbenson@redhat.com>
1018
1019 [BZ #14298]
1020 * elf/rtld.c: Include <stap-probe.h>.
1021 (dl_main): Added static probes "init_start" and "init_complete".
1022 * elf/dl-load.c: Include <stap-probe.h>.
1023 (lose): Take new parameter "nsid".
1024 Added static probe "map_failed".
1025 (_dl_map_object_from_fd): Pass namespace id to lose.
1026 Added static probe "map_start".
1027 (open_verify): Pass namespace id to lose.
1028 * elf/dl-open.c: Include <stap-probe.h>.
1029 (dl_open_worker) Added static probes "map_complete", "reloc_start"
1030 and "reloc_complete".
1031 * elf/dl-close.c: Include <stap-probe.h>.
1032 (_dl_close_worker): Added static probes "unmap_start" and
1033 "unmap_complete".
1034 * elf/rtld-debugger-interface.txt: New file documenting the above.
1035
9f98c16c
RM
10362012-07-26 Roland McGrath <roland@hack.frob.com>
1037
1038 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
1039 rather than a string variable.
1040 * sunrpc/rpc_main.c (h_output): Likewise.
1041 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
1042
f3c22df3
PT
10432012-07-26 Pino Toscano <toscano.pino@tiscali.it>
1044
1045 * inet/check_native.c: New file.
1046
3129cfc6
JM
10472012-07-26 Joseph Myers <joseph@codesourcery.com>
1048
da865e95
JM
1049 [BZ #13629]
1050 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
1051 if larger part has absolute value 1.0.
1052 * math/s_clog10.c (__clog10): Likewise.
1053 * math/s_clog10f.c (__clog10f): Likewise.
1054 * math/s_clog10l.c (__clog10l): Likewise.
1055 * math/s_clogf.c (__clogf): Likewise.
1056 * math/s_clogl.c (__clogl): Likewise.
1057 * math/libm-test.inc (clog_test): Add more tests.
1058 (clog10_test): Likewise.
1059 * sysdeps/i386/fpu/libm-test-ulps: Update.
1060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1061
3129cfc6
JM
1062 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
1063 (pltexit): Likewise.
1064 (La_regs): Likewise.
1065 (La_retval): Likewise.
1066 (int_retval): Likewise.
1067 Update #error for removed macros to refer only to definitions in
1068 tst-audit.h.
1069 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
1070 macro.
1071 (pltexit): Likewise.
1072 (La_regs): Likewise.
1073 (La_retval): Likewise.
1074 (int_retval): Likewise.
1075 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
1076 macro.
1077 (pltexit): Likewise.
1078 (La_regs): Likewise.
1079 (La_retval): Likewise.
1080 (int_retval): Likewise.
1081 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
1082 macro.
1083 (pltexit): Likewise.
1084 (La_regs): Likewise.
1085 (La_retval): Likewise.
1086 (int_retval): Likewise.
1087 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
1088 macro.
1089 (pltexit): Likewise.
1090 (La_regs): Likewise.
1091 (La_retval): Likewise.
1092 (int_retval): Likewise.
1093 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
1094 macro.
1095 (pltexit): Likewise.
1096 (La_regs): Likewise.
1097 (La_retval): Likewise.
1098 (int_retval): Likewise.
1099 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
1100 macro.
1101 (pltexit): Likewise.
1102 (La_regs): Likewise.
1103 (La_retval): Likewise.
1104 (int_retval): Likewise.
1105 * sysdeps/generic/tst-audit.h: Update comment to refer only to
1106 macro definitions in tst-audit.h.
1107 * sysdeps/i386/tst-audit.h: New file.
1108 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
1109 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
1110 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
1111 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
1112 * sysdeps/sh/tst-audit.h: Likewise.
1113 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
1114 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
1115 * sysdeps/x86_64/tst-audit.h: Likewise.
1116
bfc07087
AJ
11172012-07-26 Andreas Jaeger <aj@suse.de>
1118
b1b2aaf8
AJ
1119 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
1120 ptrace.
1121
1122 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
1123 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
1124 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
1125 PTRACE_O_MASK.
1126 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
1127 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
1128 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
1129
bfc07087
AJ
1130 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
1131 value.
1132
1133 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
1134 _sigsys.
1135 (si_call_addr, si_syscall, si_arch): Define new macro.
1136 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
1137 _sigsys.
1138 (si_call_addr, si_syscall, si_arch): Define new marcro.
1139 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
1140 _sigsys.
1141 (si_call_addr, si_syscall, si_arch): Define new macro.
1142 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
1143 _sigsys.
1144 (si_call_addr, si_syscall, si_arch): Define new macro.
1145
89b4b02f
JM
11462012-07-25 Joseph Myers <joseph@codesourcery.com>
1147
1148 [BZ #13717]
1149 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1150 Change to 2.4.21 where previously 2.4.1.
1151 * sysdeps/unix/sysv/linux/configure: Regenerated.
1152 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
1153 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
1154 Linux kernel version.
1155 (__ASSUME_STD_AUXV): Remove.
1156 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
1157 kernel version.
1158 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
1159 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
1160 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
1161 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
1162 (__ASSUME_NETLINK_SUPPORT): Likewise.
1163 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
1164 (__no_netlink_support): Remove conditional definition.
1165 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
1166 Remove.
1167 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1168 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
1169 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
1170 (if_nameindex_ioctl): Remove.
1171 (if_nameindex_netlink): Do not handle __no_netlink_support.
1172 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1173 code.
1174 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
1175 Remove conditional code.
1176 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1177 code.
1178 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
1179 unconditional.
1180 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1181 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
1182 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
1183 Remove.
1184 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1185 [!__ASSUME_STD_AUXV]: Remove conditional code.
1186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
1187 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
1188 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
1189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
1190 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
1191 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1192 code.
1193 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1195 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
1196 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1197 conditional code.
1198 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1200 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1201 code.
1202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1203 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1204 conditional code.
1205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
1206 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1207 code unconditional.
1208 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1209 conditional code.
1210 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1211 unconditional.
1212 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1213 conditional code.
1214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1215 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1216 unconditional.
1217 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1218 conditional code.
1219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1220 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1221 code unconditional.
1222 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1223 conditional code.
1224 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1225 unconditional.
1226 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1227 conditional code.
1228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1229 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1230 code unconditional.
1231 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1232 conditional code.
1233 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1234 unconditional.
1235 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1236 conditional code.
1237
842a39cd
AS
12382012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1239
1240 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
1241 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
1242 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1243 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
1244 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1245 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1246 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1247 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1248 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1249 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1250 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
1251 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1252 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
1253 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1254 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1255 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
1256 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1257 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
1258 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
1259 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
1260 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1261 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1262 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1263
84b3fd84
FW
12642012-07-25 Florian Weimer <fweimer@redhat.com>
1265
1266 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
1267 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
1268 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
1269 Introduce __libc_secure_getenv.
0c7936d5
FW
1270 * stdlib/Versions (2.17): Add secure_getenv
1271 (GLIBC_PRIVATE): Add __libc_secure_getenv.
1272 * stdlib/secure-getenv.c: Rename __secure_getenv to
1273 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
1274 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
1275 * stdlib/tst-secure-getenv.c: New.
1276 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
1277 * manual/startup.texi (Environment Access): Document
1278 secure_getenv.
84b3fd84
FW
1279 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
1280 __libc_secure_getenv.
1281 * inet/ruserpass.c (ruserpass): Likewise.
1282 * malloc/mtrace.c (mtrace): Likewise.
1283 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 1284 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
1285 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
1286 * sysdeps/posix/tempname.c: Likewise. Evaluate
1287 HAVE_SECURE_GETENV.
1288 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 1289 __secure_getenv to __libc_secure_getenv.
84b3fd84 1290 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
1291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1292 Likewise.
1293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1294 Likewise.
1295 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1296 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1297 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1298 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1299 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1300 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1301 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 1302
56e49b71
JM
13032012-07-25 Joseph Myers <joseph@codesourcery.com>
1304
1305 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
1306 (struct La_i86_retval): Likewise.
1307 (struct La_x86_64_regs): Likewise.
1308 (struct La_x86_64_retval): Likewise.
1309 (struct La_x32_regs): Likewise.
1310 (struct La_x32_retval): Likewise.
1311 (struct La_ppc32_regs): Likewise.
1312 (struct La_ppc32_retval): Likewise.
1313 (struct La_ppc64_regs): Likewise.
1314 (struct La_ppc64_retval): Likewise.
1315 (struct La_sh_regs): Likewise.
1316 (struct La_sh_retval): Likewise.
1317 (struct La_s390_32_regs): Likewise.
1318 (struct La_s390_32_retval): Likewise.
1319 (struct La_s390_64_regs): Likewise.
1320 (struct La_s390_64_retval): Likewise.
1321 (struct La_sparc32_regs): Likewise.
1322 (struct La_sparc32_retval): Likewise.
1323 (struct La_sparc64_regs): Likewise.
1324 (struct La_sparc64_retval): Likewise.
1325 (struct audit_ifaces): Remove architecture-specific pltenter and
1326 pltexit members.
1327 * sysdeps/i386/ldsodefs.h: New file.
1328 * sysdeps/powerpc/ldsodefs.h: Likewise.
1329 * sysdeps/s390/ldsodefs.h: Likewise.
1330 * sysdeps/sh/ldsodefs.h: Likewise.
1331 * sysdeps/sparc/ldsodefs.h: Likewise.
1332 * sysdeps/x86_64/ldsodefs.h: Likewise.
1333
354691b7
MP
13342012-07-25 Marek Polacek <polacek@redhat.com>
1335
1336 [BZ #6808]
1337 * math/libm-test.inc (yn_test): Add another test.
1338 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
1339 to ERANGE when the result is +-Inf.
1340 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1341 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1342 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
1343 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
1344
bf9e2071
JM
13452012-07-24 Joseph Myers <joseph@codesourcery.com>
1346
1347 * conform/data/time.h-data (NULL): Use macro-constant. Require
1348 equal to 0.
1349 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
1350 clock_t.
1351 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
1352
57633811
TS
13532012-07-23 Thomas Schwinge <thomas@codesourcery.com>
1354
1355 * configure.in <sysdeps resolving>: Correct printing
1356 Implies_before.
1357 * configure: Regenerate.
1358
c23c33b0
TS
13592012-07-22 Thomas Schwinge <thomas@codesourcery.com>
1360
1361 * math/w_ilogb.c: Include <limits.h>.
1362 * math/w_ilogbl.c: Likewise.
1363
b5982523
JM
13642012-07-20 Joseph Myers <joseph@codesourcery.com>
1365
1366 * manual/lang.texi (__va_copy): Document primarily as ISO C99
1367 va_copy. Document allowing for unavailable va_copy only as
1368 pre-C99 compatibility.
1369 * manual/string.texi (Copying and Concatenation): Use va_copy
1370 instead of __va_copy in concat example.
1371
ac4ea442
PT
13722012-07-20 Pino Toscano <toscano.pino@tiscali.it>
1373
1374 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1375 (__sendto): Use create_address_port. Initialize APORT and deallocate
1376 it if not null.
1377
f98eafbd
PT
1378 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1379 with O_NOLINK passed to __file_name_lookup.
1380
898c7aab
PT
1381 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1382 with O_NOLINK passed to __file_name_lookup.
1383
0ced335a
PT
1384 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1385 negative N or less than NGIDS.
1386
b3404dbd
PT
1387 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1388 type to string_t. Set ERANGE as errno and return it if NAME is not big
1389 enough. Use memcpy instead of strncpy.
1390
0f48659e
JM
13912012-07-20 Joseph Myers <joseph@codesourcery.com>
1392
1393 * elf/Makefile (check-data): Remove.
1394 (localplt.data): New vpath directive.
1395 ($(objpfx)check-localplt.out): Use localplt.data from vpath
1396 instead of $(check-data).
1397 * scripts/data/localplt-generic.data: Move to ...
1398 * sysdeps/generic/localplt.data: ... here.
1399 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1400 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1401 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1403 ... here.
1404 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1406 ... here.
1407 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1409 ... here.
1410 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1412 ... here.
1413 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1414 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1415 ... here.
1416 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1417 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1418 ... here.
1419
d37cbdaa
AZ
14202012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1421
1422 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1423 PPC32 and PPC64 files.
1424 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1425 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1426
46f85fc2
AK
14272012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1428
1429 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1430 __makecontext_ret to ...
1431 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1432 ... here and call exit if uc_link is NULL. New file.
1433 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1434 __makecontext_ret.S.
1435 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1436 __makecontext_ret to ...
1437 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1438 ... here and call exit if uc_link is NULL. New file.
1439 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1440 __makecontext_ret.S.
1441
08f43f9b
AK
14422012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1443
1444 * elf/elf.h (R_390_IRELATIVE): New definition.
1445 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1446 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
1447 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1448 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1449 (elf_machine_lazy_rel): Likewise.
1450 * sysdeps/s390/dl-irel.h: New file.
1451 * sysdeps/s390/s390-64/memcpy.S: New asm code.
1452 * sysdeps/s390/s390-64/memset.S: New asm code.
1453 * sysdeps/s390/s390-64/memcmp.S: New asm code.
1454 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
1455 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
1456 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
1457 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
1458 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
1459 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
1460 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
1461 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
1462 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
1463 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
1464 * sysdeps/s390/s390-32/memcpy.S: New asm code.
1465 * sysdeps/s390/s390-32/memset.S: New asm code.
1466 * sysdeps/s390/s390-32/memcmp.S: New asm code.
1467
3b05db33
MP
14682012-07-17 Marek Polacek <polacek@redhat.com>
1469
1470 [BZ #14349]
1471 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
1472 * sysdeps/s390/s390-64/configure.in: Likewise.
1473 * sysdeps/sparc/configure.in: Likewise.
1474 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
1475 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
1476 * sysdeps/i386/configure.in: Likewise.
1477 * sysdeps/x86_64/configure.in: Likewise.
1478 * sysdeps/sh/configure.in: Likewise.
1479 * sysdeps/s390/s390-32/configure: Regenerated.
1480 * sysdeps/s390/s390-64/configure: Likewise.
1481 * sysdeps/x86_64/configure: Likewise.
1482 * sysdeps/sh/configure: Likewise.
1483 * sysdeps/powerpc/powerpc64/configure: Likewise.
1484 * sysdeps/powerpc/powerpc32/configure: Likewise.
1485 * sysdeps/sparc/configure: Likwise.
1486 * sysdeps/i386/configure: Likewise.
1487
a66877c6
MP
1488 * elf/dl-open.c: Comment fixes.
1489
cfc82fd8
JM
14902012-07-17 Joseph Myers <joseph@codesourcery.com>
1491
bd29910a
JM
1492 * Makefile [CXX] (check-data): Remove.
1493 [CXX] (c++-types.data): New vpath directive.
1494 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
1495 vpath. Do not allow for C++ type data being missing.
1496 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
1497 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
1498 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
1499 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
1500 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
1501 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
1502 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
1503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1504 ... here.
1505 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
1506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1507 ... here.
1508 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
1509 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
1510 ... here.
1511 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
1512 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
1513 ... here.
1514 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
1515 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
1516 ... here.
1517 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
1518 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
1519 ... here.
1520 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
1521 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
1522 ... here.
1523 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
1524 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
1525
cfc82fd8
JM
1526 * elf/tls-macros.h (TLS_LE): Move architecture-specific
1527 definitions to architecture-specific files.
1528 (TLS_IE): Likewise.
1529 (TLS_LD): Likewise.
1530 (TLS_GD): Likewise.
1531 * sysdeps/i386/tls-macros.h: New file.
1532 * sysdeps/powerpc/tls-macros.h: Likewise.
1533 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1534 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1535 * sysdeps/sh/tls-macros.h: Likewise.
1536 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
1537 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
1538 * sysdeps/x86_64/tls-macros.h: Likewise.
1539
f7db3170
TS
15402012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1541
07cbfc23
TS
1542 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
1543 zero value for regular exit case.
1544
f7db3170
TS
1545 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1546 (__start_context): Preserve zero value for regular exit case.
1547
dc97c227
TS
15482012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1549 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1550
1551 * manual/setjmp.texi (setcontext): Clarify normal process
1552 termination when uc_link is the null pointer.
1553 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
1554 exit call.
1555
d0cd7d02
AS
15562012-07-16 Andreas Schwab <schwab@linux-m68k.org>
1557
1558 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
1559 preprocessor. Test for each exception mask separately.
1560
dd318934
AJ
15612012-07-16 Andreas Jaeger <aj@suse.de>
1562
1563 * po/ru.po: Update from translation team.
1564
8048311a
JM
15652012-07-15 Joseph Myers <joseph@codesourcery.com>
1566
1567 * conform/data/string.h-data (NULL): Use macro-constant. Require
1568 equal to 0.
1569 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1570 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1571 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
1572 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
1573 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1574
b637d46e
AJ
15752012-07-13 Andreas Jaeger <aj@suse.de>
1576
1577 * po/fr.po: Update from translation team.
1578
541428fe
MP
15792012-07-12 Marek Polacek <polacek@redhat.com>
1580
1581 [BZ #14173]
1582 * math/libm-test.inc (yn_test): Add test for BZ #14173.
1583 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
1584 loop condition.
1585
ec332e94
JM
15862012-07-12 Joseph Myers <joseph@codesourcery.com>
1587
1588 [BZ #13717]
1589 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1590 Change to 2.4.1 where previously 2.4.0.
1591 * sysdeps/unix/sysv/linux/configure: Regenerated.
1592 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
1593 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
1594 version.
1595 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
1596 (__ASSUME_AT_CLKTCK): Remove.
1597 (__ASSUME_AT_PAGESIZE): Likewise.
1598 (__ASSUME_AT_XID): Likewise.
1599 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
1600 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
1601 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
1602 unconditionally.
1603 (HAVE_AUX_PAGESIZE): Likewise.
1604 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
1605 [__ASSUME_AT_CLKTCK]: Make code unconditional.
1606 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
1607
7b6e99be
JB
16082012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
1609
1610 [BZ #14307]
1611 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
1612 the temporary buffer used to invoke __gethostbyname2_r,
1613 __gethostbyaddr_r and gethostbyname4_r to make room for struct
1614 host_data / struct gaih_addrtuple.
1615 * resolv/nss_dns/dns-host.c (global scope): Move definition of
1616 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
1617 header file nss/nsswitch.h.
1618 * nss/nsswitch.h (global scope): Add definition of implementation
1619 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
1620 resolv/nss_dns/dns-host.c).
1621
608404eb
AJ
16222012-07-11 Andreas Jaeger <aj@suse.de>
1623
1624 * po/fr.po: Update from translation team.
1625
71220aca
AJ
1626 * po/sv.po: Update from translation team
1627 * po/fr.po: Another update from translation team.
1628
28cfe843
AZ
16292012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1630
1631 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
1632 for subnormals or multiply small sinh result by itself.
1633 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1634 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1635
6b90f981
DM
16362012-07-11 David S. Miller <davem@davemloft.net>
1637
1638 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1639
c6825772
AS
16402012-07-10 Andreas Schwab <schwab@linux-m68k.org>
1641
1642 [BZ #14347]
1643 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
1644 (INTERNAL_MARK): Shift it here.
1645
7b8e0d49
MP
16462012-07-10 Marek Polacek <polacek@redhat.com>
1647
1648 [BZ #14151]
1649 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
1650 libc_cv_asm_global_directive with .globl.
1651 * configure: Regenerated.
1652 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
1653 with .globl.
1654 * sysdeps/i386/configure: Regenerated.
1655 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
1656 with .globl.
1657 * sysdeps/x86_64/configure: Regenerated.
1658 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
1659 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
1660 * elf/tst-unique2mod2.c: Likewise.
1661 * elf/tst-unique2mod1.c: Likewise.
1662 * elf/tst-unique1mod2.c: Likewise.
1663 * elf/tst-unique1mod1.c: Likewise.
1664 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1665 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1666 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1667 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1668 * sysdeps/mach/sysdep.h: Likewise.
1669 * sysdeps/i386/sysdep.h: Likewise.
1670 * sysdeps/i386/i386-mcount.S: Likewise.
1671 * sysdeps/x86_64/_mcount.S: Likewise.
1672 * sysdeps/x86_64/sysdep.h: Likewise.
1673 * sysdeps/sh/_mcount.S: Likewise.
1674 * sysdeps/sh/sysdep.h: Likewise.
1675 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
1676 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
1677 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
1678 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1679 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
1680 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
1681 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
1682 * locale/localeinfo.h: Likewise.
1683 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
1684 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
1685
6c55cda3
RM
16862012-07-09 Roland McGrath <roland@hack.frob.com>
1687
1688 [BZ #14336]
1689 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
1690 system".
1691 * manual/message.texi (The Uniforum approach): Likewise.
1692 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
1693 (glibc iconv Implementation): Likewise.
1694
638a572e
JM
16952012-07-09 Joseph Myers <joseph@codesourcery.com>
1696
1697 [BZ #14337]
1698 * math/s_clog.c (__clog): Avoid scaling a value down where that
1699 could result in underflow.
1700 * math/s_clog10.c (__clog10): Likewise.
1701 * math/s_clog10f.c (__clog10f): Likewise.
1702 * math/s_clog10l.c (__clog10l): Likewise.
1703 * math/s_clogf.c (__clogf): Likewise.
1704 * math/s_clogl.c (__clogl): Likewise.
1705 * math/libm-test.inc (clog_test): Add more tests.
1706 (clog10_test): Likewise.
1707 * sysdeps/i386/fpu/libm-test-ulps: Update.
1708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1709
261f4859
AS
17102012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1711
0abaf3e4
AS
1712 [BZ #14283]
1713 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
1714 by 7 not 8 to examine high bit of fractional part.
1715
261f4859
AS
1716 [BZ #14042]
1717 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
1718 for call to __mcount_internal.
1719 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
1720 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
1721 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
1722
f17ac40d
JM
17232012-07-06 Joseph Myers <joseph@codesourcery.com>
1724
9ad63c23
JM
1725 [BZ #14154]
1726 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
1727 approximation for values within 0x1p-13f of an odd multiple of
1728 pi/4.
1729 * math/libm-test.inc (tan_test): Do not allow spurious underflow
1730 exception. Add more tests.
1731 * sysdeps/i386/fpu/libm-test-ulps: Update.
1732
f17ac40d
JM
1733 [BZ #6778]
1734 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
1735 inputs and return -1 for them. Do not check for +Inf in case not
1736 reachable for +Inf.
1737 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1738 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
1739 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1740 and return -1 for them. Do not check for +Inf in case not
1741 reachable for +Inf.
1742 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
1743 define.
1744 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1745 and return -1 for them. Do not check for +Inf in case not
1746 reachable for +Inf.
1747 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
1748 spurious underflow.
1749 * sysdeps/i386/fpu/libm-test-ulps: Update.
1750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1751
fb21f89b
MF
17522012-07-06 Mike Frysinger <vapier@gentoo.org>
1753
1754 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
1755
cdfe2c5e
JM
17562012-07-05 Joseph Myers <joseph@codesourcery.com>
1757
1758 [BZ #14157]
1759 [BZ #14331]
1760 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
1761 could result in spurious underflow. Scale down values above
1762 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
1763 * math/s_csqrtf.c (__csqrtf): Likewise.
1764 * math/s_csqrtl.c (__csqrtl): Likewise.
1765 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
1766 spurious underflow.
1767 * sysdeps/i386/fpu/libm-test-ulps: Update.
1768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1769
70d35b67
AS
17702012-07-04 Andreas Schwab <schwab@linux-m68k.org>
1771
704bc459
AS
1772 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
1773 xopen-msg.sed.
1774 * catgets/xopen-msg.awk: New file.
1775 * catgets/xopen-msg.sed: Removed.
1776
70d35b67
AS
1777 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
1778 po2text.sed.
1779 * intl/po2test.awk: New file.
1780 * intl/po2test.sed: Removed.
1781
ca61cf32
JM
17822012-07-04 Joseph Myers <joseph@codesourcery.com>
1783
1784 [BZ #14328]
1785 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
1786 or multiply small sinh result by itself.
1787 * math/s_ctanf.c (__ctanf): Likewise.
1788 * math/s_ctanh.c (__ctanh): Likewise.
1789 * math/s_ctanhf.c (__ctanhf): Likewise.
1790 * math/s_ctanhl.c (__ctanhl): Likewise.
1791 * math/s_ctanl.c (__ctanl): Likewise.
1792 * math/libm-test.inc (ctan_test_tonearest): New function.
1793 (ctan_test_towardzero): Likewise.
1794 (ctan_test_downward): Likewise.
1795 (ctan_test_upward): Likewise.
1796 (ctanh_test_tonearest): Likewise.
1797 (ctanh_test_towardzero): Likewise.
1798 (ctanh_test_downward): Likewise.
1799 (ctanh_test_upward): Likewise.
1800 (main): Call these new functions.
1801 * sysdeps/i386/fpu/libm-test-ulps: Update.
1802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1803
ca48a46a
MF
18042012-07-03 Mike Frysinger <vapier@gentoo.org>
1805
1806 * .gitignore: Delete /ports entry.
1807
9d63d37d
AJ
18082012-07-03 Andreas Jaeger <aj@suse.de>
1809
1810 * po/bg.po: Update from translation team.
1811 * po/cs.po: Likewise.
1812 * po/de.po: Likewise.
1813 * po/hr.po: Likewise.
1814 * po/nl.pl: Likewise.
1815 * po/pl.po: Likewise.
1816 * po/vi.po: Likewise.
1817
370ca3d2
JM
18182012-07-03 Joseph Myers <joseph@codesourcery.com>
1819
95f5a9a8
JM
1820 * Makeconfig [!+link] (+link-before-libc): New variable.
1821 [!+link] (+link-after-libc): Likewise.
1822 [!+link] (+link-tests): Likewise.
1823 [!+link] (+link): Define in terms of $(+link-before-libc) and
1824 $(+link-after-libc).
1825 [!+link-static] (+link-static-before-libc): New variable.
1826 [!+link-static] (+link-static-after-libc): Likewise.
1827 [!+link-static] (+link-static-tests): Likewise.
1828 [!+link-static] (+link-static): Define in terms of
1829 $(+link-static-before-libc) and $(+link-static-after-libc).
1830 [build-shared] (link-libc-before-gnulib): New variable.
1831 [build-shared] (link-libc-tests): Likewise.
1832 [build-shared] (link-libc): Define in terms of
1833 $(link-libc-before-gnulib).
1834 [!build-shared] (link-libc-tests): New variable.
1835 (link-libc-static-tests): New variable.
1836 [!gnulib] (gnulib-arch): New variable.
1837 [!gnulib] (gnulib-tests): Likewise.
1838 [!gnulib] (static-gnulib-arch): Likewise.
1839 [!gnulib] (static-gnulib-tests): Likewise.
1840 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
1841 Define with "=" instead of ":=".
1842 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
1843 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
1844 * Rules (binaries-all-notests): New variable.
1845 (binaries-all-tests): Likewise.
1846 (binaries-static-notests): Likewise.
1847 (binaries-static-tests): Likewise.
1848 (binaries-all): Define using $(binaries-all-notests) and
1849 $(binaries-all-tests).
1850 (binaries-static): Define using $(binaries-static-notests) and
1851 $(binaries-static-tests).
1852 (binaries-shared-tests): New variable.
1853 (binaries-shared-notests): Likewise.
1854 (binaries-shared): Remove variable.
1855 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
1856 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
1857 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
1858 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
1859 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
1860 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
1861 * elf/Makefile (sln-modules): New variable.
1862 (extra-objs): Add $(sln-modules:=.o).
1863 (ldconfig-modules): Add static-stubs.
1864 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
1865 * elf/static-stubs.c: New file.
1866
7a845b2c
JM
1867 [BZ #14283]
1868 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
1869 by 7 not 8 to examine high bit of fractional part. Use volatile
1870 variables when splitting into final array of floats if
1871 __FLT_EVAL_METHOD__ != 0.
1872 * math/libm-test.inc (cos_test): Add another test.
1873 (sin_test): Likewise.
1874 * sysdeps/i386/fpu/libm-test-ulps: Update.
1875
e2283f38
JM
1876 [BZ #14273]
1877 * math/libm-test.inc (cosh_test): Add more tests.
1878
370ca3d2
JM
1879 * version.h (RELEASE): Set to "development".
1880 (VERSION): Set to "2.16.90".
1881
ee9247c3
CD
18822012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
1883
1884 * NEWS: Update copyright. Remove last-updated date.
1885 Mention math library bug fixes and timezone data changes.
1886 * README: Mention GNU/Hurd, x32, and HPPA support status.
1887
4648c381
TS
18882012-06-28 Thomas Schwinge <thomas@codesourcery.com>
1889
1890 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
1891
aac78a43
AJ
18922012-06-27 Andreas Jaeger <aj@suse.de>
1893
1894 * manual/contrib.texi (Contributors): Add Samuel Thibault.
1895
ed3dbfad
AJ
18962012-06-25 Andreas Jaeger <aj@suse.de>
1897
1898 * sysdeps/s390/fpu/libm-test-ulps: Update.
1899
4d0ee855
AS
19002012-06-23 Andreas Schwab <schwab@linux-m68k.org>
1901 Thomas Schwinge <thomas@codesourcery.com>
1902
1903 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
1904 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
1905 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
1906 fanotify_mark.
1907
af1bce34
TS
19082012-06-23 Thomas Schwinge <thomas@codesourcery.com>
1909
a9fa33ba
TS
1910 * sysdeps/mach/start.c: Remove file.
1911 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
1912 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
1913 * sysdeps/sh/init-first.c: Likewise.
1914
58f902b8
TS
1915 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
1916 registers for frame unwinding purposes, add CFI directives.
1917 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1918 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
1919 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1920 Likewise.
1921
1518f58b
TS
1922 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
1923 __fortify_fail returning.
1924 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1925
db9b5059
TS
1926 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
1927 sysdeps/sh/____longjmp_chk.S.
1928 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
1929 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
1930 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
1931 (gen-as-const-headers): Append sigaltstack-offsets.sym.
1932
967705fe
TS
1933 * sysdeps/sh/abort-instr.h: New file.
1934 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
1935 process in case exit returns.
1936
a9def8c4
TS
1937 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
1938 initialize the GOT register before use.
1939
2a649725
TS
1940 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
1941 calculation of ARGC > 4.
1942
af1bce34
TS
1943 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
1944 meaningful names to some local labels.
1945
d230f50a
KK
19462012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1947 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1948
1949 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
1950 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
1951 (__arch_compare_and_exchange_val_16_acq): Likewise.
1952 (__arch_compare_and_exchange_val_32_acq): Likewise.
1953 (atomic_exchange_and_add): Fix gUSA sequence.
1954 (atomic_add): Likewise.
1955 (atomic_add_negative): Likewise.
1956 (atomic_add_zero): Likewise.
1957 (atomic_bit_test_set): Likewise.
1958
0479b305
AS
19592012-06-22 Andreas Schwab <schwab@redhat.com>
1960
1961 [BZ #13579]
1962 * include/link.h (struct link_map): Add l_free_initfini.
1963 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
1964 l_initfini.
1965 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
1966 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
1967 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
1968 set.
1969
0e3933b9
CD
19702012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
1971
1972 * configure.in: Use AC_LANG_SOURCE.
1973 * configure: Regenerate.
1974
4248b1b1
RM
19752012-06-22 Roland McGrath <roland@hack.frob.com>
1976
1977 * configure.in (libc_cv_localstatedir): New substituted variable.
1978 * configure: Regenerated.
1979 * config.make.in (localstatedir): New variable, substituted from
1980 libc_cv_localstatedir.
1981 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
1982 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
1983 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
1984 * sysdeps/gnu/configure: Regenerated.
1985
006dd861
JL
19862012-06-21 Jeff Law <law@redhat.com>
1987
1988 [BZ #14277]
1989 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
1990 free. Simplify list management for _LIBC case.
1991
79662d42
JM
19922012-06-21 Joseph Myers <joseph@codesourcery.com>
1993
b7abb4bf
JM
1994 [BZ #14273]
1995 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1996 Clear sign bit of 64-bit integer value before comparing against
1997 overflow value.
1998
79662d42
JM
1999 * sysdeps/mach/configure: Regenerated.
2000
1f150908
L
20012012-06-21 H.J. Lu <hongjiu.lu@intel.com>
2002
2003 [BZ #14278]
2004 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
2005
28363bbf
JL
20062012-06-21 Jeff Law <law@redhat.com>
2007
2008 [BZ #13882]
2009 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
2010 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 2011 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
2012 * elf/dl-open.c (dl_open_worker): Likewise.
2013
09615db4
CD
20142012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
2015
2016 * scripts/list-sources.sh: Scan PORTS for translations.
2017 * po/libc.pot: Regenerated.
2018
2174c6dd
AJ
20192012-06-21 Andreas Jaeger <aj@suse.de>
2020
2021 [BZ #12194]
2022 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
2023 warning.
2024 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
2025 * bits/byteswap-16.h (__bswap_16): Likewise.
2026 * bits/byteswap.h (__bswap_constant_16): Likewise.
2027
3ee947b1
L
20282012-06-18 H.J. Lu <hongjiu.lu@intel.com>
2029
2030 [BZ #14117]
a2f34833
L
2031 * sysdeps/i386/fpu_control.h: Removed.
2032 * sysdeps/x86_64/fpu_control.h: Moved to ...
2033 * sysdeps/x86/fpu_control.h: Here.
2034
3ee947b1
L
2035 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
2036 (_FPU_SETCW): Likewise.
2037
ed1825f8
L
20382012-06-15 H.J. Lu <hongjiu.lu@intel.com>
2039
25f1282a
L
2040 [BZ #14117]
2041 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
2042 * sysdeps/x86/fpu/bits/mathinline.h: This.
2043 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
2044
ed1825f8
L
2045 [BZ #14050]
2046 [BZ #14117]
2047 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
2048 functions if __x86_64__ is defined.
2049
36d54b74
CLT
20502012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
2051
2052 * string/endian.h: Add !__ASSEMBLER__ condition for including
2053 conversion interfaces.
2054
10285c21
JM
20552012-06-15 Joseph Myers <joseph@codesourcery.com>
2056
2057 [BZ #14241]
2058 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
2059 of ABS(x) in calculating zero to negative powers other than odd
2060 integers.
2061 * math/libm-test.inc (pow_test): Add more tests.
2062
06c5abbd
AJ
20632012-06-15 Andreas Jaeger <aj@suse.de>
2064
2065 * manual/contrib.texi (Contributors): Update entry of Liubov
2066 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
2067 Machado Filho.
2068
a3aeac40
CH
20692012-06-15 Cyril Hrubis <metan@ucw.cz>
2070
2071 * string/string.h: Add __wur to GNU version of strerror_r.
2072
49bdf4c1
L
20732012-06-14 H.J. Lu <hongjiu.lu@intel.com>
2074
2075 [BZ #14229]
2076 * string/Makefile (tests): Add tst-strtok_r.
2077 * string/tst-strtok_r.c: New file.
2078 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
2079 RAX_LP/RDX_LP on SAVE_PTR.
2080
834f9b8d
RM
20812012-06-14 Roland McGrath <roland@hack.frob.com>
2082
2083 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
2084
75fa1921
JM
20852012-06-14 Joseph Myers <joseph@codesourcery.com>
2086
2087 * libm_test.inc (csqrt_test): Allow more spurious underflow
2088 exceptions.
2089 (j0_test): Likewise.
2090 (j1_test): Likewise.
2091 (y0_test): Likewise.
2092 (y1_test): Likewise.
2093
771766df
CD
20942012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
2095
2096 * po/Makefile (libc.pot): Use UTF-8 charset.
2097
ceb9e56b
PP
20982012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2099
2100 [BZ #14210]
2101 Suppress sign-conversion warning from FD_SET.
2102 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
2103 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
2104 not unsigned long int.
2105 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2106
ddb28975
L
21072012-06-12 H.J. Lu <hongjiu.lu@intel.com>
2108
2109 [BZ #14050]
2110 [BZ #14117]
2111 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
2112 __extern_always_inline instead of __extern_inline.
2113 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
2114 (__signbit): Likewise.
2115 (__signbitl): Support C++ namespace.
2116 (lrintf): New inline function.
2117 (lrint): Likewise.
2118 (llrintf): Likewise.
2119 (llrint): Likewise.
2120 (fmaxf): Likewise.
2121 (fmax): Likewise.
2122 (fminf): Likewise.
2123 (fmin): Likewise.
2124 (rint): Likewise.
2125 (rintf): Likewise.
2126 (ceil): Likewise.
2127 (ceilf): Likewise.
2128 (floor): Likewise.
2129 (floorf): Likewise.
2130 (nearbyint): Likewise.
2131 (nearbyintf): Likewise.
2132
d7b4fb26
TS
21332012-06-12 Thomas Schwinge <thomas@codesourcery.com>
2134
2135 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
2136 non-default versions.
2137
eb55f5c2
RM
21382012-06-11 Roland McGrath <roland@hack.frob.com>
2139
2140 [BZ #14218]
2141 * manual/argp.texi (Argp): Reword argp_parse description slightly.
2142
366af02c
TS
21432012-06-09 Thomas Schwinge <thomas@codesourcery.com>
2144
99ff6e5c
TS
2145 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
2146 (FE_UPWARD, FE_DOWNWARD): Don't define.
2147 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
2148 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2149
366af02c
TS
2150 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
2151 reading it.
2152 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2153 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2154
793ea851
KK
21552012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2156
2157 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2158 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
2159 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
2160 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
2161
a728a38f
L
21622012-06-06 H.J. Lu <hongjiu.lu@intel.com>
2163
2164 [BZ #14117]
c08010c7
L
2165 * sysdeps/i386/fpu/bits/fenv.h: Removed.
2166 * sysdeps/i386/fpu/Implies: New file.
2167 * sysdeps/x86_64/fpu/Implies: Likewise.
2168 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
2169 * sysdeps/x86/fpu/bits/fenv.h: This.
2170
a728a38f
L
2171 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
2172 __SSE_MATH__.
2173
6e230d11
SP
21742012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2175
2176 [BZ #14134]
2177 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
2178 character 0xffff that matches the last element of the
2179 conversion table.
2180
1b671feb
AZ
21812012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2182
2183 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
2184 fmodl commit.
2185
6043738b
AZ
21862012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2187
2188 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
2189 values higher than 25.6283.
2190
34ae0b32
AZ
21912012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2192
2193 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
2194 subnormal exponent extraction and add some __builtin_expect.
2195 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
2196 Fix for subnormal mantissa calculation.
2197
1214ec8f
MF
21982012-06-04 Mike Frysinger <vapier@gentoo.org>
2199
2200 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
2201 cpu2 is -1 and errno is not ENOSYS.
2202
f3d1f93c
L
22032012-06-04 H.J. Lu <hongjiu.lu@intel.com>
2204
2205 [BZ #14117]
0e4a3cd7
L
2206 * sysdeps/i386/i486/bits/string.h: Renamed to ...
2207 * sysdeps/x86/bits/string.h: This.
2208 * sysdeps/x86_64/bits/string.h: Removed.
2209
6704c645
L
2210 * sysdeps/i386/i486/bits/string.h: Define inline functions only
2211 if not compiling for x86-64, but compiling for >= i486.
2212
48495318
L
2213 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
2214 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
2215
14adcbfc
L
2216 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
2217 New macro from Linux kernel 3.4.0.
2218 (FP_XSTATE_MAGIC2): Likewise.
2219 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2220 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
2221 (struct _fpx_sw_bytes): New struct.
2222 (struct _xsave_hdr): Likewise.
2223 (struct _ymmh_state): Likewise.
2224 (struct _xstate): Likewise.
2225
68e408ab
L
2226 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
2227 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
2228 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
2229 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
2230 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
2231 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
2232
f3d1f93c
L
2233 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
2234 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
2235 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
2236 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
2237 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
2238 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
2239
d9dc34cd
TMQMF
22402012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2241
2242 [BZ #13743]
2243 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
2244 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
2245 (sysdep_headers): Include sys/platform/ppc.h.
2246 * sysdeps/powerpc/test-gettimebase.c: Test for
2247 __ppc_get_timebase() to catch future ISA opcode/insn changes.
2248 * manual/Makefile (appendices): Include platform.texi.
2249 * manual/contrib.texi (Contributors): Update @node pointers.
2250 * manual/maint.texi (Maintenance): Likewise.
2251 (Platform): New node.
2252 * manual/platform.texi: New file. Document the new features.
2253
4af3879c
SP
22542012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2255 Jakub Jelinek <jakub@redhat.com>
2256
2257 [BZ #14188]
2258 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
2259 where __builtin_expect is unavailable.
2260
2fd6ff13
DM
22612012-06-03 David S. Miller <davem@davemloft.net>
2262
2263 * stdlib/longlong.h: Updated from GCC.
2264
173f7220
AS
22652012-06-02 Andreas Schwab <schwab@linux-m68k.org>
2266
2267 [BZ #14042]
2268 * sysdeps/powerpc/powerpc32/mcount.c: New file.
2269 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
2270 __mcount_internal.
2271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2272 (GLIBC_2.16): Likewise.
2273
f34a1c6f
L
22742012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2275
2276 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
2277
88a4576f
JM
22782012-06-01 Joseph Myers <joseph@codesourcery.com>
2279
ea32bcdd
JM
2280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2281 (default-abi): New variable.
2282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
2283 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
2284 variable.
2285 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
2286 Likewise.
2287 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
2288 Likewise.
2289 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
2290 Likewise.
2291
88a4576f
JM
2292 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
2293 definition. Document in comment.
2294
402fe938
DM
22952012-06-01 David S. Miller <davem@davemloft.net>
2296
2297 * stdlib/longlong.h: Updated from GCC.
2298
3553723f
L
22992012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2300
2301 [BZ #14117]
3bd872c4
L
2302 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
2303 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
2304 sys/debugreg.h sys/io.h here.
2305 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
2306 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
2307 sys/io.h.
2308 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
2309 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
2310 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
2311 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
2312 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
2313 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
2314
3553723f
L
2315 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
2316 Define only if __x86_64__ is defined.
2317
4842e4fe
JM
23182012-06-01 Joseph Myers <joseph@codesourcery.com>
2319
c5bfe3d5
JM
2320 [BZ #14048]
2321 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
2322 Use int64_t for variable i.
2323 * math/libm-test.inc (fmod_test): Add more tests.
2324
4842e4fe
JM
2325 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
2326 z computation is not scheduled after fetestexcept.
2327 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
2328 Use math_force_eval instead of asm to ensure calculation scheduled
2329 before exception test.
2330 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
2331 Ensure a1 + u.d computation is not scheduled after fetestexcept.
2332
efb73488
AJ
23332012-06-01 Aurelien Jarno <aurelien@aurel32.net>
2334
2335 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
2336 computation is not scheduled after fetestexcept.
2337
29bcce7c
L
23382012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2339
2340 [BZ #14117]
2341 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
2342 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
2343
73a68f94
AZ
23442012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2345
2346 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
2347 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2348
67b6df78
L
23492012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2350
edf2933a 2351 [BZ #14117]
ebc64a18
L
2352 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
2353 <bits/wordsize.h>.
2354 (__WCHAR_MIN): Support __WORDSIZE == 64.
2355 (__WCHAR_MAX): Likewise.
2356
edf2933a
L
2357 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
2358 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2359
57c6cf40
L
2360 [BZ #14183]
2361 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2362 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2363
67b6df78 2364 [BZ #14117]
8eb6281e
L
2365 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2366 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2367
aac639f4
L
2368 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2369 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2370
67b6df78
L
2371 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2372 Defined to 1 if __x86_64__ isn't defined.
2373 (_STAT_VER_LINUX_OLD): New.
2374 (st_atime): Remove duplicate.
2375 (st_mtime): Likewise.
2376 (st_ctime): Likewise.
2377
1c2cfe81
DM
23782012-05-31 David S. Miller <davem@davemloft.net>
2379
2380 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2381 entries.
2382
5be8418c
AS
23832012-06-01 Andreas Schwab <schwab@linux-m68k.org>
2384
e7725326
AS
2385 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2386 gen-libm-test.pl.
2387
5be8418c
AS
2388 [BZ #14132]
2389 * elf/dl-reloc.c: Include <_itoa.h>.
2390 (_dl_reloc_bad_type): Remove use of INTUSE.
2391 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2392 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2393 * stdio-common/psiginfo.c (psiginfo): Likewise.
2394 * stdio-common/psignal.c (psignal): Likewise.
2395 * string/strsignal.c (strsignal): Likewise.
2396 * include/signal.h (_sys_siglist): Declare hidden proto.
2397 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
2398 INTVARDEF with libc_hidden_data_def.
2399 * stdio-common/itoa-udigits.c: Likewise.
2400 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2401 (_itoa_lower_digits_internal): Remove declaration.
2402 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2403 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2404 (_sys_sigabbrev_internal): Remove aliases.
2405 (_sys_siglist): Define hidden alias.
2406
507352f1
MT
24072012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
2408
2409 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2410 bits/sysctl.h.
2411
42bbb1c3
L
24122012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2413
2414 [BZ #14117]
6bd784b6
L
2415 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2416 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2417
8bca20f0
L
2418 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2419 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2420 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2421 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2422 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2423 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2424
f9e890a9
L
2425 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2426 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2427 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2428
471101a1
L
2429 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2430 with __addr.
2431 (insw): Likewise.
2432 (insl): Likewise.
2433 (outsb): Likewise.
2434 (outsw): Likewise.
2435 (outsl): Likewise.
2436
6451c862
L
2437 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2438 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2439 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2440
a254b8c9
L
2441 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2442 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2443 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2444 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2445 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2446 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2447
b8dfdd92
L
2448 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2449 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2450
578cd270
L
2451 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
2452 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
2453
de662f5f
L
2454 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
2455 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
2456 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
2457
25653439
L
2458 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
2459 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
2460 to ...
2461 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
2462
6bad24a0
L
2463 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
2464 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
2465 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
2466
42bbb1c3
L
2467 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
2468 for x86-64.
2469 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2470
2d10d547
JM
24712012-05-31 Joseph Myers <joseph@codesourcery.com>
2472
2473 * math/math.h (M_El): Use two more decimal places.
2474 (M_LOG2El): Likewise.
2475 (M_LOG10El): Likewise.
2476 (M_LN2l): Likewise.
2477 (M_LN10l): Likewise.
2478 (M_PIl): Likewise.
2479 (M_PI_2l): Likewise.
2480 (M_PI_4l): Likewise.
2481 (M_1_PIl): Likewise.
2482 (M_2_PIl): Likewise.
2483 (M_2_SQRTPIl): Likewise.
2484 (M_SQRT2l): Likewise.
2485 (M_SQRT1_2l): Likewise.
2486
f230c29b
DM
24872012-05-31 David S. Miller <davem@davemloft.net>
2488
2489 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
2490 values between float registers.
2491 * sysdeps/sparc/sparc64/memset.S: Likewise.
2492 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2493
fed806c3
MF
24942012-05-31 Mike Frysinger <vapier@gentoo.org>
2495
2496 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
2497 -D_FORTIFY_SOURCE=1.
2498 (CPPFLAGS-tst-longjmp_chk.c): Define.
2499 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
2500 (CPPFLAGS-tst-longjmp_chk2.c): Define.
2501 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
2502 CFLAGS-tst-wchar-h.c.
2503
30917259
MP
25042012-05-31 Marek Polacek <polacek@redhat.com>
2505
2506 [BZ #14132]
2507 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
2508 __endmntent_internal): Remove declaration.
2509 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
2510 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
2511 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
2512
1c58d5dc
DM
25132012-05-30 David S. Miller <davem@davemloft.net>
2514
2515 * sysdeps/sparc/sparc32/soft-fp/q_util.c
2516 (___Q_simulate_exceptions): Use real FP ops rather than writing
2517 into the %fsr.
2518 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
2519 Likewise.
2520
7dc00e0d
L
25212012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2522
2523 [BZ #14117]
0bd53985
L
2524 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
2525 * sysdeps/x86/bits/xtitypes.h: This.
2526
3a257e66
L
2527 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
2528 * sysdeps/x86/bits/wordsize.h: This.
2529
62f62904
L
2530 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
2531 * sysdeps/x86/bits/huge_vall.h: This.
2532
404fe9d9
L
2533 * sysdeps/i386/bits/select.h: Removed.
2534 * sysdeps/x86_64/bits/select.h: Renamed to ...
2535 * sysdeps/x86/bits/select.h: This.
2536
d48d0446
L
2537 * sysdeps/i386/bits/setjmp.h: Removed.
2538 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
2539 * sysdeps/x86/bits/setjmp.h: This.
2540
7dc00e0d
L
2541 * sysdeps/i386/bits/mathdef.h: Removed.
2542 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
2543 * sysdeps/x86/bits/mathdef.h: This.
2544
03277f8f
AS
25452012-05-30 Andreas Schwab <schwab@linux-m68k.org>
2546
2547 [BZ #14132]
2548 * include/sys/socket.h (__connect_internal)
2549 (__libc_sa_len_internal): Remove declaration.
2550 (__connect, __libc_sa_len): Declare hidden_proto.
2551 (SA_LEN): Remove use of INTUSE.
2552 * socket/connect.c: Add libc_hidden_def.
2553 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
2554 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
2555 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
2556 alias.
2557 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2558 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2559 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
2560 of adding _internal alias.
2561
13764867
L
25622012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2563
2564 [BZ #14117]
6bd97696
L
2565 * sysdeps/i386/bits/link.h: Removed.
2566 * sysdeps/i386/bits/linkmap.h: Likewise.
2567 * sysdeps/x86_64/bits/link.h: Renamed to ...
2568 * sysdeps/x86/bits/link.h: This.
2569 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
2570 * sysdeps/x86/bits/linkmap.h: This.
2571
f726f0bb
L
2572 * sysdeps/i386/bits/endian.h: Removed.
2573 * sysdeps/x86_64/bits/endian.h: Renamed to ...
2574 * sysdeps/x86/bits/endian.h: This.
2575
13764867
L
2576 * sysdeps/i386/bits/byteswap.h: Removed.
2577 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2578 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
2579 * sysdeps/x86/bits/byteswap.h: This.
2580 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
2581 * sysdeps/x86/bits/byteswap-16.h: This.
2582 * sysdeps/i386/Implies: Add x86.
2583 * sysdeps/x86_64/Implies: Likewise.
2584
ae251b0b
DM
25852012-05-30 David S. Miller <davem@davemloft.net>
2586
2587 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
2588 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
2589 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2590 (FP_TRAPPING_EXCEPTIONS): Define.
2591 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2592 (FP_TRAPPING_EXCEPTIONS): Define.
2593 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
2594 subnormals only when inexact has been signalled or underflow
2595 exceptions are enabled.
2596 (_FP_PACK_CANONICAL): Likewise.
2597
d5c90867
L
25982012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2599
2600 [BZ #14183]
2601 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
2602 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
2603
63f1549e
RH
26042012-05-30 Richard Henderson <rth@twiddle.net>
2605
8d8f2279
RH
2606 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
2607 with #ifndef NOT_IN_libc.
2608
63f1549e
RH
2609 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
2610 marked to avoid plt entry.
2611
0ab0291b
L
26122012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2613
2614 [BZ #14112]
2615 * Makeconfig (default-abi): New macro.
2616 (abi-includes): Likewise.
2617 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
2618 $(abi-$(default-abi)-lib-soname) for soname if defined.
2619 ($(common-objpfx)gnu/lib-names.stmp): Generate from
2620 abi-variants.
2621 * Makefile (installed-stubs): Likewise.
2622 * include/stubs-biarch.h: Removed.
2623 * scripts/lib-names.awk: Only handle one library at a time.
2624 * scripts/soversions.awk: Remove WORDSIZE support.
2625 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
2626 entries.
2627 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
2628 Removed.
2629 (syscall-list-default-condition): Likewise.
2630 (syscall-list-default-condition): Likewise.
2631 (syscall-list-includes): Likewise.
2632 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
2633 syscall-list-* with abi-*. Handle undefined abi-variants.
2634 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
2635 * sysdeps/unix/sysv/linux/i386/Implies: New file.
2636 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
2637 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
2638 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
2639 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
2640 Removed.
2641 (syscall-list-32-options): Likewise.
2642 (syscall-list-32-condition): Likewise.
2643 (syscall-list-64-options): Likewise.
2644 (syscall-list-64-condition): Likewise.
2645 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
2646 macro.
2647 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
2648 Renamed to ...
2649 (abi-*): This.
2650 (abi-64-ld-soname): New macro.
2651 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
2652 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
2653 Renamed to ...
2654 (abi-*): This.
2655 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
2656 * sysdeps/x86_64/x32/shlib-versions: Likewise.
2657
4da0431d
JM
26582012-05-30 Joseph Myers <joseph@codesourcery.com>
2659
3a85279c
JM
2660 * sysdeps/unix/sysv/linux/kernel-features.h
2661 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
2662 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
2663 include <kernel-features.h>.
2664 [!__NR_ftruncate64]: Remove conditional code.
2665 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2666 [__NR_ftruncate64]: Make code unconditional.
2667 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2668 * sysdeps/unix/sysv/linux/truncate64.c: Do not
2669 include <kernel-features.h>.
2670 [!__NR_ftruncate64]: Remove conditional code.
2671 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2672 [__NR_ftruncate64]: Make code unconditional.
2673 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
2675 include <kernel-features.h>.
2676 [!__NR_ftruncate64]: Remove conditional code.
2677 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2678 [__NR_ftruncate64]: Make code unconditional.
2679 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2681 include <kernel-features.h>.
2682 [!__NR_ftruncate64]: Remove conditional code.
2683 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2684 [__NR_ftruncate64]: Make code unconditional.
2685 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2686
4da0431d
JM
2687 * configure.in (libc_cv_fpie): Weaken to a compile test using
2688 LIBC_TRY_CC_OPTION.
2689 * configure: Regenerated.
2690
11ef492c
AK
26912012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2692
2693 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
2694 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
2695 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
2696 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2697 Refreshed.
2698 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
2699 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
2700 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
2701 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
2702 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
2703 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2704 Refreshed.
2705
d66ef399
DM
27062012-05-27 David S. Miller <davem@davemloft.net>
2707
2708 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
2709 (___Q_zero): New.
2710 (__Q_simulate_exceptions): Return void. Change to simulate
2711 exceptions by writing into the %fsr.
2712 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
2713 (__Qp_handle_exceptions): Likewise.
2714 (numbers): Delete.
2715 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
2716 __Qp_handle_exceptions.
2717 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
2718 __Qp_handle_exceptions.
2719 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2720 as unused and give dummy FP_RND_NEAREST initializer.
2721 (FP_INHIBIT_RESULTS): Define.
2722 (___Q_simulate_exceptions): Update declaration.
2723 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
2724 formatting.
2725 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2726 as unused and give dummy FP_RND_NEAREST initializer.
2727 (__Qp_handle_exceptions): Update declaration.
2728 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
2729 formatting.
2730
04fb54b5
TS
27312012-05-27 Thomas Schwinge <thomas@codesourcery.com>
2732
2733 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
2734 the temporary FPU control word.
2735 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2736 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
2737 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2738 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2739 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2740 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2741 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2742 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2743 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2744 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2745 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2746
3f99608f
KK
27472012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2748
2749 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
2750 fields.
2751
65a4de4e
CLT
27522012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
2753
2754 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
2755 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
2756 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
2757 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
2758 Likewise.
2759 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
2760 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
2761 Likewise.
2762
15749d40
UD
27632012-05-27 Ulrich Drepper <drepper@gmail.com>
2764
2765 * po/h.po: Update from translation team.
2766
25dbcb27
AS
27672012-05-26 Andreas Schwab <schwab@linux-m68k.org>
2768
3d3f8e55
AS
2769 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
2770
25dbcb27
AS
2771 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
2772 handling of denormals.
2773 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2774 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2775 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2776 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2777 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2778 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
2779 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
2780 Likewise.
2781
7ad47a80 27822012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
2783
2784 [BZ #14152]
2785 * math/libm-test.inc (fma_test): Don't always expect underflow
2786 exception.
2787
9c6ea9fa
SP
27882012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2789
2790 [BZ #12416]
2791 * elf/tst-execstack.c: Include stackinfo.h.
2792 (do_test): Adjust test case to ensure that pthread_getattr_np
2793 behaviour remains the same after marking stack executable.
2794
a8239222
JM
27952012-05-25 Joseph Myers <joseph@codesourcery.com>
2796
2797 * sysdeps/unix/sysv/linux/kernel-features.h
2798 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
2799 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
2800 kernel-features.h.
2801 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2802 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2803 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
2804 kernel-features.h.
2805 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2806 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2807
918b5606
L
28082012-05-25 H.J. Lu <hongjiu.lu@intel.com>
2809
2810 * configure.in: Define the default includes to being none.
2811 * configure: Regenerated.
2812
3a097cc7
RM
28132012-05-25 Roland McGrath <roland@hack.frob.com>
2814
8422c9a5
RM
2815 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
2816 * sysdeps/x86_64/setjmp.S: Likewise.
2817 * sysdeps/i386/bsd-setjmp.S: Likewise.
2818 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2819 * sysdeps/i386/setjmp.S: Likewise.
2820 * sysdeps/i386/__longjmp.S: Likewise.
2821 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2822 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
2823
3a097cc7
RM
2824 * include/stap-probe.h: New file.
2825 * configure.in: Handle --enable-systemtap.
2826 * configure: Regenerated.
2827 * config.h.in (USE_STAP_PROBE): New #undef.
2828 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
2829 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
2830 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2831
21708942
JM
28322012-05-25 Joseph Myers <joseph@codesourcery.com>
2833
2834 [BZ #13717]
2835 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2836 to 2.4.0 where earlier.
2837 * sysdeps/unix/sysv/linux/configure: Regenerated.
2838 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2839 <kernel-features.h>.
2840 [__ASSUME_32BITUIDS]: Make code unconditional.
2841 [!__ASSUME_32BITUIDS]: Remove conditional code.
2842 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
2843 <kernel-features.h>.
2844 [__ASSUME_32BITUIDS]: Make code unconditional.
2845 [!__ASSUME_32BITUIDS]: Remove conditional code.
2846 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
2847 [__ASSUME_32BITUIDS]: Make code unconditional.
2848 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
2849 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
2850 <kernel-features.h>.
2851 [__ASSUME_32BITUIDS]: Make code unconditional.
2852 [!__ASSUME_32BITUIDS]: Remove conditional code.
2853 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
2854 <kernel-features.h>.
2855 [__ASSUME_32BITUIDS]: Make code unconditional.
2856 [!__ASSUME_32BITUIDS]: Remove conditional code.
2857 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
2858 <kernel-features.h>.
2859 [__ASSUME_32BITUIDS]: Make code unconditional.
2860 [!__ASSUME_32BITUIDS]: Remove conditional code.
2861 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
2862 <kernel-features.h>.
2863 [__ASSUME_32BITUIDS]: Make code unconditional.
2864 [!__ASSUME_32BITUIDS]: Remove conditional code.
2865 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2866 <kernel-features.h>.
2867 [__ASSUME_32BITUIDS]: Make code unconditional.
2868 [!__ASSUME_32BITUIDS]: Remove conditional code.
2869 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2870 <kernel-features.h>.
2871 [__ASSUME_32BITUIDS]: Make code unconditional.
2872 [!__ASSUME_32BITUIDS]: Remove conditional code.
2873 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
2874 <kernel-features.h>.
2875 [__ASSUME_32BITUIDS]: Make code unconditional.
2876 [!__ASSUME_32BITUIDS]: Remove conditional code.
2877 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2878 <kernel-features.h>.
2879 [__ASSUME_32BITUIDS]: Make code unconditional.
2880 [!__ASSUME_32BITUIDS]: Remove conditional code.
2881 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2882 <kernel-features.h>.
2883 [__ASSUME_32BITUIDS]: Make code unconditional.
2884 [!__ASSUME_32BITUIDS]: Remove conditional code.
2885 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
2886 <kernel-features.h>.
2887 [__ASSUME_32BITUIDS]: Make code unconditional.
2888 [!__ASSUME_32BITUIDS]: Remove conditional code.
2889 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
2890 <kernel-features.h>.
2891 [__NR_setresgid] (__setresgid): Do not declare.
2892 [__ASSUME_32BITUIDS]: Make code unconditional.
2893 [!__ASSUME_32BITUIDS]: Remove conditional code.
2894 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
2895 <kernel-features.h>.
2896 [__NR_setresuid] (__setresuid): Do not declare.
2897 [__ASSUME_32BITUIDS]: Make code unconditional.
2898 [!__ASSUME_32BITUIDS]: Remove conditional code.
2899 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
2900 <kernel-features.h>.
2901 [__ASSUME_32BITUIDS]: Make code unconditional.
2902 [!__ASSUME_32BITUIDS]: Remove conditional code.
2903 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
2904 <kernel-features.h>.
2905 [__ASSUME_32BITUIDS]: Make code unconditional.
2906 [!__ASSUME_32BITUIDS]: Remove conditional code.
2907 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
2908 <kernel-features.h>.
2909 [__ASSUME_32BITUIDS]: Make code unconditional.
2910 [!__ASSUME_32BITUIDS]: Remove conditional code.
2911 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
2912 <kernel-features.h>.
2913 [__ASSUME_32BITUIDS]: Make code unconditional.
2914 [!__ASSUME_32BITUIDS]: Remove conditional code.
2915 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
2916 <kernel-features.h>.
2917 [__ASSUME_32BITUIDS]: Make code unconditional.
2918 [!__ASSUME_32BITUIDS]: Remove conditional code.
2919 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
2920 <kernel-features.h>.
2921 [__ASSUME_32BITUIDS]: Make code unconditional.
2922 [!__ASSUME_32BITUIDS]: Remove conditional code.
2923 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
2924 <kernel-features.h>.
2925 [__ASSUME_32BITUIDS]: Make code unconditional.
2926 [!__ASSUME_32BITUIDS]: Remove conditional code.
2927 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
2928 <kernel-features.h>.
2929 [__ASSUME_32BITUIDS]: Make code unconditional.
2930 [!__ASSUME_32BITUIDS]: Remove conditional code.
2931 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
2932 <kernel-features.h>.
2933 [__ASSUME_32BITUIDS]: Make code unconditional.
2934 [!__ASSUME_32BITUIDS]: Remove conditional code.
2935 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2936 <kernel-features.h>.
2937 [__ASSUME_32BITUIDS]: Make code unconditional.
2938 [!__ASSUME_32BITUIDS]: Remove conditional code.
2939 * sysdeps/unix/sysv/linux/kernel-features.h
2940 (__ASSUME_SETRESUID_SYSCALL): Remove.
2941 (__ASSUME_SETRESGID_SYSCALL): Likewise.
2942 (__ASSUME_32BITUIDS): Likewise.
2943 (__ASSUME_LDT_WORKS): Likewise.
2944 (__ASSUME_O_DIRECTORY): Likewise.
2945 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
2946 architecture but not kernel version.
2947 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2948 (__ASSUME_MMAP2_SYSCALL): Likewise.
2949 (__ASSUME_STAT64_SYSCALL): Likewise.
2950 (__ASSUME_IPC64): Likewise.
2951 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
2952 <kernel-features.h>.
2953 [__ASSUME_32BITUIDS]: Make code unconditional.
2954 [!__ASSUME_32BITUIDS]: Remove conditional code.
2955 * sysdeps/unix/sysv/linux/opendir.c: Do not include
2956 <kernel-features.h>.
2957 [__ASSUME_O_DIRECTORY]: Make code unconditional.
2958 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
2959 132096]: Remove conditional code.
2960 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
2961 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2962 <kernel-features.h>.
2963 [__ASSUME_32BITUIDS]: Make code unconditional.
2964 [!__ASSUME_32BITUIDS]: Remove conditional code.
2965 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2966 <kernel-features.h>.
2967 [__ASSUME_32BITUIDS]: Make code unconditional.
2968 [!__ASSUME_32BITUIDS]: Remove conditional code.
2969 * sysdeps/unix/sysv/linux/setegid.c: Do not include
2970 <kernel-features.h>.
2971 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
2972 unconditional.
2973 (__setresgid): Do not declare.
2974 [__ASSUME_32BITUIDS]: Make code unconditional.
2975 [!__ASSUME_32BITUIDS]: Remove conditional code.
2976 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
2977 <kernel-features.h>.
2978 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
2979 unconditional.
2980 (__setresuid): Do not declare.
2981 [__ASSUME_32BITUIDS]: Make code unconditional.
2982 [!__ASSUME_32BITUIDS]: Remove conditional code.
2983 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
2988 <kernel-features.h>.
2989 [__ASSUME_32BITUIDS]: Make code unconditional.
2990 [!__ASSUME_32BITUIDS]: Remove conditional code.
2991
a386f1cc
RH
29922012-05-25 Richard Henderson <rth@twiddle.net>
2993
2994 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
2995 dl_hwcap to ifunc resolver.
2996 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
2997 elf_ifunc_invoke.
2998 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
2999 dl_hwcap to ifunc resolver.
3000 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
3001
b6550497
JM
30022012-05-24 Joseph Myers <joseph@codesourcery.com>
3003
3004 [BZ #14153]
3005 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
3006 for |x| <= 2**-26, not 2**-57.
3007 * math/libm-test.inc (acos_test): Do not allow spurious underflow
3008 exception.
3009
b0bc23a1
JL
30102012-05-24 Jeff Law <law@redhat.com>
3011
3012 * stdio-common/Makefile (tests): Add bug25.
3013 * stdio-common/bug25.c: New test.
3014
347c92e9
L
30152012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3016
3017 [BZ #13576]
3018 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
3019 multiple of MALLOC_ALIGNMENT in size.
3020 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
3021
6bcc8b3f
JM
30222012-05-24 Joseph Myers <joseph@codesourcery.com>
3023
3024 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
3025 Require >= 256.
3026 (FILENAME_MAX): Use macro-int-constant.
3027 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
3028 (_IOFBF): Use macro-int-constant.
3029 (_IOLBF): Likewise.
3030 (_IONBF): Likewise.
3031 (SEEK_CUR): Likewise.
3032 (SEEK_END): Likewise.
3033 (SEEK_SET): Likewise.
3034 (TMP_MAX): Likewise.
3035 (EOF): Use macro-int-constant. Require < 0.
3036 (NULL): Use macro-constant. Require == 0.
3037 (stdin): Require type to be FILE *.
3038 (stdout): Likewise.
3039 (stderr): Likewise.
3040 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
3041 macro-int-constant.
3042 (EXIT_SUCCESS): Likewise.
3043 (NULL): Use macro-constant. Require == 0.
3044 (RAND_MAX): Use macro-int-constant.
3045 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
3046 [C99-based standards] (strtof): Require function.
3047 [C99-based standards] (strtold): Likewise.
3048 [C99-based standards] (strtoll): Likewise.
3049 [C99-based standards] (strtoull): Likewise.
3050 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3051 [ISO || ISO99 || ISO11] (limits.h): Likewise.
3052 [ISO || ISO99 || ISO11] (math.h): Likewise.
3053 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
3054 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3055 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3056
d18ea0c5
AS
30572012-05-24 Andreas Schwab <schwab@linux-m68k.org>
3058
3059 [BZ #14132]
56d25bb8
AS
3060 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
3061 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
3062 * intl/dgettext.c (DCGETTEXT): Likewise.
3063 * intl/gettext.c (DCGETTEXT): Likewise.
3064 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
3065 * posix/regex_internal.h (gettext): Likewise.
3066 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
3067 Remove declaration.
3068 * include/argz.h (__argz_count_internal)
3069 (__argz_stringify_internal): Remove declaration.
3070 (__argz_count, __argz_stringify): Declare hidden proto.
3071 * intl/dcgettext.c: Remove use of INTDEF.
3072 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
3073 * string/argz-stringify.c: Likewise.
3074 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3075 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3076 Declare hidden proto.
d18ea0c5
AS
3077 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3078 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3079 Declare hidden proto.
3080 * include/stdio.h (__asprintf_internal): Don't declare.
3081 (__asprintf): Don't define as macro. Declare hidden proto.
3082 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
3083 (__fsetlocking): Declare hidden proto.
3084 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
3085 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
3086 hidden proto.
3087 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
3088 (_IO_setlinebuf): Remove use of INTUSE.
3089 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
3090 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
3091 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
3092 Remove declaration.
3093 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
3094 (_IO_do_flush): Remove use of INTUSE.
3095 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
3096 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
3097 (_IO_adjust_column, _IO_least_wmarker)
3098 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
3099 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
3100 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
3101 (_IO_default_doallocate, _IO_wdefault_doallocate)
3102 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
3103 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
3104 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
3105 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
3106 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
3107 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
3108 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
3109 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
3110 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
3111 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
3112 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
3113 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
3114 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
3115 proto.
3116 (_IO_flush_all_internal, _IO_adjust_column_internal)
3117 (_IO_default_uflow_internal, _IO_default_finish_internal)
3118 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
3119 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
3120 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
3121 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
3122 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
3123 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
3124 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
3125 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
3126 (_IO_file_close_internal, _IO_file_close_it_internal)
3127 (_IO_file_underflow_internal, _IO_file_overflow_internal)
3128 (_IO_file_init_internal, _IO_file_attach_internal)
3129 (_IO_file_fopen_internal, _IO_file_read_internal)
3130 (_IO_file_sync_internal, _IO_file_seek_internal)
3131 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
3132 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
3133 (_IO_str_underflow_internal, _IO_str_overflow_internal)
3134 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
3135 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
3136 (_IO_list_all_internal, _IO_link_in_internal)
3137 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
3138 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
3139 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
3140 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
3141 (_IO_do_write_internal, _IO_padn_internal)
3142 (_IO_getline_info_internal, _IO_getline_internal)
3143 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
3144 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
3145 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
3146 (_IO_vfscanf_internal, _IO_vfprintf_internal)
3147 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
3148 (_IO_init_internal, _IO_un_link_internal): Don't declare.
3149 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
3150 with libc_hidden_ver, remove use of INTUSE.
3151 * libio/genops.c: Likewise.
3152 * libio/freopen.c: Likewise.
3153 * libio/freopen64.c: Likewise.
3154 * libio/iofclose.c: Likewise.
3155 * libio/iofdopen.c: Likewise.
3156 * libio/iofflush.c: Likewise.
3157 * libio/iofflush_u.c: Likewise.
3158 * libio/iofgets.c: Likewise.
3159 * libio/iofgets_u.c: Likewise.
3160 * libio/iofopen.c: Likewise.
3161 * libio/iofopncook.c: Likewise.
3162 * libio/iofread.c: Likewise.
3163 * libio/iofread_u.c: Likewise.
3164 * libio/ioftell.c: Likewise.
3165 * libio/iofwrite.c: Likewise.
3166 * libio/iogetline.c: Likewise.
3167 * libio/iogets.c: Likewise.
3168 * libio/iogetwline.c: Likewise.
3169 * libio/iopadn.c: Likewise.
3170 * libio/iopopen.c: Likewise.
3171 * libio/ioseekoff.c: Likewise.
3172 * libio/ioseekpos.c: Likewise.
3173 * libio/iosetbuffer.c: Likewise.
3174 * libio/iosetvbuf.c: Likewise.
3175 * libio/ioungetc.c: Likewise.
3176 * libio/ioungetwc.c: Likewise.
3177 * libio/iovdprintf.c: Likewise.
3178 * libio/iovsprintf.c: Likewise.
3179 * libio/iovsscanf.c: Likewise.
3180 * libio/memstream.c: Likewise.
3181 * libio/obprintf.c: Likewise.
3182 * libio/oldfileops.c: Likewise.
3183 * libio/oldiofclose.c: Likewise.
3184 * libio/oldiofdopen.c: Likewise.
3185 * libio/oldiofopen.c: Likewise.
3186 * libio/oldiopopen.c: Likewise.
3187 * libio/oldstdfiles.c: Likewise.
3188 * libio/putc.c: Likewise.
3189 * libio/setbuf.c: Likewise.
3190 * libio/setlinebuf.c: Likewise.
3191 * libio/stdfiles.c: Likewise.
3192 * libio/strops.c: Likewise.
3193 * libio/vasprintf.c: Likewise.
3194 * libio/vscanf.c: Likewise.
3195 * libio/vsnprintf.c: Likewise.
3196 * libio/vswprintf.c: Likewise.
3197 * libio/wfiledoalloc.c: Likewise.
3198 * libio/wfileops.c: Likewise.
3199 * libio/wgenops.c: Likewise.
3200 * libio/wmemstream.c: Likewise.
3201 * libio/wstrops.c: Likewise.
3202 * libio/__fpurge.c: Likewise.
3203 * libio/__fsetlocking.c: Likewise.
3204 * assert/assert.c: Likewise.
3205 * debug/fgets_chk.c: Likewise.
3206 * debug/fgets_u_chk.c: Likewise.
3207 * debug/fread_chk.c: Likewise.
3208 * debug/fread_u_chk.c: Likewise.
3209 * debug/gets_chk.c: Likewise.
3210 * debug/obprintf_chk.c: Likewise.
3211 * debug/vasprintf_chk.c: Likewise.
3212 * debug/vdprintf_chk.c: Likewise.
3213 * debug/vsnprintf_chk.c: Likewise.
3214 * debug/vsprintf_chk.c: Likewise.
3215 * malloc/mtrace.c: Likewise.
3216 * misc/error.c: Likewise.
3217 * misc/syslog.c: Likewise.
3218 * stdio-common/asprintf.c: Likewise.
3219 * stdio-common/fxprintf.c: Likewise.
3220 * stdio-common/getw.c: Likewise.
3221 * stdio-common/isoc99_fscanf.c: Likewise.
3222 * stdio-common/isoc99_scanf.c: Likewise.
3223 * stdio-common/isoc99_vfscanf.c: Likewise.
3224 * stdio-common/isoc99_vscanf.c: Likewise.
3225 * stdio-common/isoc99_vsscanf.c: Likewise.
3226 * stdio-common/printf-prs.c: Likewise.
3227 * stdio-common/printf_fp.c: Likewise.
3228 * stdio-common/printf_fphex.c: Likewise.
3229 * stdio-common/printf_size.c: Likewise.
3230 * stdio-common/putw.c: Likewise.
3231 * stdio-common/scanf.c: Likewise.
3232 * stdio-common/sprintf.c: Likewise.
3233 * stdio-common/tmpfile.c: Likewise.
3234 * stdio-common/vfprintf.c: Likewise.
3235 * stdio-common/vfscanf.c: Likewise.
3236 * stdlib/strfmon_l.c: Likewise.
3237 * sunrpc/openchild.c: Likewise.
3238 * sunrpc/xdr_stdio.c: Likewise.
3239 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3240 * sysdeps/mach/hurd/tmpfile.c: Likewise.
3241
d6c33fda
RM
32422012-05-24 Roland McGrath <roland@hack.frob.com>
3243
c1487492
RM
3244 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3245
3246 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
3247 in the third column, to generate for the shared library an IFUNC
3248 that uses _dl_vdso_vsym.
3249 * Makerules (COMPILE.c, compile-stdin.c): New variables.
3250 * Makeconfig (object-suffixes-noshared): New variable.
3251
3252 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
3253 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
3254 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
3255 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
3256
d6c33fda
RM
3257 [BZ #14132]
3258 * include/sys/time.h (__gettimeofday): Remove macro.
3259 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
3260 * time/gettimeofday.c (__gettimeofday): Remove #undef.
3261 Remove INTDEF.
3262 (__gettimeofday): Add libc_hidden_def.
3263 (gettimeofday): Add libc_hidden_weak.
3264 * sysdeps/mach/gettimeofday.c: Likewise.
3265 * sysdeps/posix/gettimeofday.c: Likewise.
3266 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3267 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3268 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
3269 (__gettimeofday_internal): Remove strong_alias.
3270 (__gettimeofday): Add libc_hidden_def.
3271 (gettimeofday): Add libc_hidden_weak.
3272 * sysdeps/unix/syscalls.list (gettimeofday):
3273 Remove __gettimeofday_internal alias.
3274
b5a2bbe6
L
32752012-05-24 Daniel Jacobowitz <drow@false.org>
3276 H.J. Lu <hongjiu.lu@intel.com>
3277
3278 [BZ #12495]
3279 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
3280 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
3281 (largebin_index_32_big): New.
3282 (largebin_index): Use it for 16-byte alignment.
3283 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
3284 correction with front_misalign.
3285
cfba4fda
L
32862012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3287
7f907421
L
3288 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
3289 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3290 Likewise.
3291 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
3292 Likewise.
3293 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3294 Likewise.
3295 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
3296 Likewise.
3297 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
3298 Likewise.
3299 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
3300 Likewise.
3301 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
3302 Likewise.
3303 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3304 Likewise.
3305 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
3306 Likewise.
3307 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
3308 Likewise.
3309 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3310 Likewise.
3311 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
3312 Likewise.
3313
cfba4fda
L
3314 * scripts/data/c++-types-x32-linux-gnu.data: New file.
3315 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
3316
80bad0cc
JM
33172012-05-24 Joseph Myers <joseph@codesourcery.com>
3318
7a25eb06
JM
3319 [BZ #10846]
3320 [BZ #14036]
3321 * math/libm-test.inc (exp_test): Add test from bug 14036.
3322 (pow_test): Add test from bug 10846.
3323
795405f9
JM
3324 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
3325 and other flags.
3326 (special_function): Do not include flags in test name.
3327 (parse_args): Likewise.
3328 * sysdeps/i386/fpu/libm-test-ulps: Update.
3329 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3330 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3331 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3333
80bad0cc
JM
3334 * math/gen-libm-test.pl (%beautify): Add entries for underflow
3335 exceptions.
3336 * math/libm-test.inc ("Philosophy"): Update comment about
3337 exception testing.
3338 (UNDERFLOW_EXCEPTION): New macro.
3339 (UNDERFLOW_EXCEPTION_OK): Likewise.
3340 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3341 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3342 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3343 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3344 (INVALID_EXCEPTION_OK): Update value.
3345 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3346 (OVERFLOW_EXCEPTION_OK): Likewise.
3347 (IGNORE_ZERO_INF_SIGN): Likewise.
3348 (test_exceptions): Handle underflow exceptions.
3349 (acos_test): Update for underflow exception expectations.
3350 (cexp_test): Likewise.
3351 (clog_test): Likewise.
3352 (clog10_test): Likewise.
3353 (csqrt_test): Likewise.
3354 (ctan_test): Likewise.
3355 (ctanh_test): Likewise.
3356 (exp_test): Likewise.
3357 (exp10_test): Likewise.
3358 (exp2_test): Likewise.
3359 (expm1_test): Likewise.
3360 (fma_test): Likewise.
3361 (j0_test): Likewise.
3362 (jn_test): Likewise.
3363 (nexttoward_test): Likewise.
3364 (pow_test): Likewise.
3365 (scalbn_test): Likewise.
3366 (scalbln_test): Likewise.
3367 (tan_test): Likewise.
3368 (y1_test): Likewise.
3369 * sysdeps/i386/fpu/libm-test-ulps: Update.
3370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3371
9e0e3d0b
DM
33722012-05-23 David S. Miller <davem@davemloft.net>
3373
3374 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3375 (__libc_sigaction): Remove unused local variables.
3376
ccd0a08f
L
33772012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3378
3379 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3380
62bdf9a6
PE
33812012-05-23 Paul Eggert <eggert@cs.ucla.edu>
3382
f8591f80
PE
3383 mktime: avoid signed integer overflow
3384 * time/mktime.c (__mktime_internal): Do not mishandle the case
3385 where diff == INT_MIN.
3386
94c7d826
PE
3387 mktime: simplify computation of average
3388 * time/mktime.c (ranged_convert): Use new time_t_avg function
3389 instead of rolling our own (probably-slower) code.
3390
ce73d683
PE
3391 mktime: do not assume signed right shift propagates sign bit
3392 * time/mktime.c (isdst_differ): New static function.
3393 (__mktime_internal): No need to normalize tm_isdst now.
3394 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3395 tm_isdst values.
3396
72a22e59
PE
3397 mktime: merge another wrapv change from gnulib
3398 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3399 from some compilers.
3400
68605433
PE
3401 mktime: remove incorrect attempt at unusual arithmetics
3402 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3403 The code didn't really work on such machines anyway.
3404 (TYPE_MINIMUM): Assume two's complement.
3405 (twos_complement_arithmetic): Verify that long_int and time_t
3406 are two's complement (or unsigned, in the latter case).
3407
03cf7fe3
PE
3408 mktime: check signed shifts on long_int and time_t, too
3409 * time/mktime.c (SHR): Check that shifts work as desired
3410 on the types long_int and time_t too, as SHR is used on
3411 such types.
3412
f04dfbc2
PE
3413 mktime: do not assume 'long' is wide enough
3414 * time/mktime.c (verify): Move decl up.
3415 (long_int): New type.
3416 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3417 to remove assumption in the code that 'long' is wide enough to
3418 store year values. This assumption is not true on x32 and on
3419 some non-glibc platforms.
3420
62bdf9a6
PE
3421 mktime: merge wrapv change from gnulib
3422 * time/mktime.c (WRAPV): New macro.
3423 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3424 (guess_time_tm, __mktime_internal): Do not assume that signed
3425 integer overflow wraps around; modern compilers generate code
3426 where this assumption is no longer valid.
3427
5e292e4f
L
34282012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3429
3430 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3431 Replace "jmp L(pseudo_end)" with "ret".
3432 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3433 Likewise.
3434
8caf8c87
AJ
34352012-05-23 Andreas Jaeger <aj@suse.de>
3436
3437 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3438 * sysdeps/unix/sysv/linux/poll.c: Remove file.
3439
1a09dc56
AJ
34402012-05-23 Andreas Jaeger <aj@suse.de>
3441 Maximilian Attems <max@stro.at>
3442
3443 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3444 New macros.
3445
1c87aba0
L
34462012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3447
3448 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3449 code so that pseudo_end is just ret and the stack pointer is
3450 correct also for static library in error case.
3451
40e45bd5
JM
34522012-05-23 Joseph Myers <joseph@codesourcery.com>
3453
c2670533
JM
3454 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
3455 move to syscalls.list.
3456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3460
40e45bd5
JM
3461 * manual/install.texi (Running make install): Do not mention Linux
3462 kernel version for which pt_chown is not needed.
3463 (Linux): Do not mention problems with nscd with 2.0 kernels.
3464 * INSTALL: Regenerated.
3465
be08eda5
AJ
34662012-05-23 Andreas Jaeger <aj@suse.de>
3467
3468 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3469 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
3470 macro.
3471 * sysdeps/unix/sysv/linux/s390/bits/mman.h
3472 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3473 * sysdeps/unix/sysv/linux/sh/bits/mman.h
3474 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3475 * sysdeps/unix/sysv/linux/i386/bits/mman.h
3476 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3477 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
3478 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3479 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
3480 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3481 * sysdeps/unix/sysv/linux/bits/in.h
3482 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
3483
a6a056bb
RM
34842012-05-22 Roland McGrath <roland@hack.frob.com>
3485
3486 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
3487 (PREPARE_VERSION): Just use assert instead, it will be elided
3488 under [NDEBUG] anyway.
3489
c9009328
L
34902012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3491
3492 * sysdeps/unix/sysv/linux/Makefile: Include
3493 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 3494 (sysdep_routines): Remove sysctl.
c9009328
L
3495 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
3496 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
3497 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
3498 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
3499 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
3500
73338355
AJ
35012012-05-22 Andreas Jaeger <aj@suse.de>
3502
3503 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
3504 that pseudo_end is just ret and the stack pointer is correct also
3505 for static library in error case.
3506
d44638b0
PP
35072012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3508
3509 [BZ #14122]
3510 * nss/nsswitch.c (defconfig_entries): New variable.
3511 (__nss_database_lookup): Don't leak defconfig entries.
3512 (nss_parse_service_list): Don't leak on error paths.
3513 (free_database_entries): New function.
3514 (free_defconfig): New function.
3515 (free_mem): Move common code to free_database_entries.
3516
31a39bd8
L
35172012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3518
da0331a8
L
3519 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
3520 Add arch_prctl.
3521 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
3522
31a39bd8
L
3523 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3524 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
3525 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
3526 New macro.
3527 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3528 (INTERNAL_SYSCALL_TYPES): Likewise.
3529 (LOAD_ARGS_TYPES_[1-6]): Likewise.
3530 (LOAD_REGS_TYPES_[1-6]): Likewise.
3531 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
3532 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
3533
45470df3
AZ
35342012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3535
3536 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
3537 copysignl for GLIBC_2_0.
3538 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
3539 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
3540 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
3541 logbl for GLIBC_2_0.
3542 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3543 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3544
98a61bcb
L
35452012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3546
a4f6e481
L
3547 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
3548 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3549
f63d5db6
L
3550 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3551 Use "neg %eax".
3552
98a61bcb
L
3553 * time/mktime.c: Update copyright years.
3554
95770f14
PE
35552012-05-22 Paul Eggert <eggert@cs.ucla.edu>
3556
6226efbd
PE
3557 mktime: merge comment-quoting-style change from gnulib
3558 * time/mktime.c: Quote 'like this' in comments.
3559 The GNU coding standards suggest that we no longer quote `like this',
3560 as "`" and "'" are typically rendered asymmetrically nowadays.
3561 The typical gnulib style is to quote 'like this' when quoting
3562 code, and "like this" when quoting English.
3563
b99e4f78
PE
3564 * time/mktime.c (compile-command): Add "-I.".
3565
643e01e6
PE
3566 mktime: merge mktime-internal.h change from gnulib
3567 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
3568
2554247d
PE
3569 mktime: merge time_r change from gnulib
3570 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
3571
826dd0ab
PE
3572 mktime: merge DEBUG change from gnulib
3573 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
3574 case system <time.h> has a #define.
3575
bd83aabe
PE
3576 mktime: merge <sys/types.h> change from gnulib
3577 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
3578 since <time.t> is now guaranteed to define time_t.
3579
95770f14
PE
3580 mktime: merge HAVE_CONFIG_H change from gnulib
3581 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
3582
5e1a27a9
L
35832012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3584
0e44a77e
L
3585 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3586 Use "neg %eax".
3587
5e1a27a9
L
3588 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
3589 __rlim_t cast.
3590 (struct rusage): Use anonymous union to pad each field to
3591 __syscall_slong_t.
3592
46259bec
DM
35932012-05-21 David S. Miller <davem@davemloft.net>
3594
3595 * Makefules (o-iterator): Remove .s cases.
3596 (compile-command.s): Delete.
3597 (COMPILE.s): Delete.
3598 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
3599
59f0c22e
JM
36002012-05-21 Joseph Myers <joseph@codesourcery.com>
3601
3602 * configure.in (libc_cv_predef_stack_protector): Only consider
3603 "foobar" and "__stack_chk_fail" lines in libc_undefs.
3604 * configure: Regenerated.
3605
20c07380
L
36062012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3607
bbb3154b
L
3608 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3609 New macro. Use R*LP on int and pointer.
3610 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
3611 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
3612 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
3613 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
3614
20c07380
L
3615 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
3616 [__WORDSIZE_TIME64_COMPAT32] instead of
3617 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
3618 (struct utmp): Likewise.
3619 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
3620 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
3621 Renamed to ...
3622 (__WORDSIZE_TIME64_COMPAT32): This.
3623 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3624 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3625 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
3626 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
3627 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
3628 (__WORDSIZE_TIME64_COMPAT32): New macro.
3629
d8d1017e
AJ
36302012-05-21 Andreas Jaeger <aj@suse.de>
3631
3632 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
3633 only if [SHARED]. Add prototype for __wcschr_ia32.
3634
6c7fb145
RM
36352012-05-21 Roland McGrath <roland@hack.frob.com>
3636
3637 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
3638 of %rbp unmolested in the jmp_buf while mangling the low bits.
3639 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
3640 unmolested high bits of %rbp while demangling the low bits.
3641 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3642
66274218
AJ
36432012-05-21 Andreas Jaeger <aj@suse.de>
3644
07c58f8f
AJ
3645 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
3646 * sunrpc/svc_simple.c: Use it for registerrpc.
3647 * sunrpc/xcrypt.c: Use it for passwd2des.
3648
66274218
AJ
3649 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
3650
61f65140
L
36512012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3652
3653 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
3654 Don't define if [__SYSCALL_WORDSIZE != 32].
3655 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
3656 New macro.
3657
5fefb436
AJ
36582012-05-21 Bruno Haible <bruno@clisp.org>
3659 Andreas Jaeger <aj@suse.de>
3660
3661 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
3662 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
3663 inptr and inend for must_buffer_ch.
3664 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
3665 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
3666 * stdio-common/Makefile (tests): Remove bug15.
3667 (bug15-ENV): Remove macro.
3668 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
3669 anymore.
3670
d8e272ab
AJ
36712012-05-19 Andreas Jaeger <aj@suse.de>
3672 Roland McGrath <roland@hack.frob.com>
3673
3674 * manual/contrib.texi: Completely rewritten. It contains now an
3675 alphabetical list of contributors and their contributions.
3676
4a56a162
RH
36772012-05-21 Richard Henderson <rth@twiddle.net>
3678
3679 * misc/getauxval.c (__getauxval): Use unsigned long int.
3680 * misc/sys/auxv.h: Include <sys/cdefs.h>.
3681 (getauxval): Use unsigned long int.
3682
d024d23c
L
36832012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3684
3685 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3686
cbc00a03
RM
36872012-05-21 Roland McGrath <roland@hack.frob.com>
3688
3689 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
3690 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
3691 __alignof__ (long double).
3692
478143fa
AZ
36932012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3694
3695 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3696
c7683a6d
RH
36972012-05-20 Richard Henderson <rth@twiddle.net>
3698
3699 * misc/getauxval.c: New file.
3700 * misc/sys/auxv.h: New file.
3701 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
3702 (routines): Add getauxval.
3703 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
3704 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
3705 * elf/dl-sysdep.c (_dl_auxv): Remove.
3706 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
3707 * elf/dl-support.c (_dl_auxv): New variable.
3708 (_dl_aux_init): Initialize it.
3709 * manual/startup.texi (Auxiliary Vector): New node.
3710 * sysdeps/generic/bits/hwcap.h: New file.
3711 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
3712 * sysdeps/powerpc/sysdep.h: ... here. Include it.
3713 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
3714 * sysdeps/sparc/sysdep.h: ... here. Include it.
3715 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
3716 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
3717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3718 Update.
c7683a6d
RH
3719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
3720 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
3721 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
3722 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
3723 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3724 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3725 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
3726 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
3727
a6f1845d
AZ
37282012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3729
3730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3731
cbcbe830
DM
37322012-05-19 David S. Miller <davem@davemloft.net>
3733
3734 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3735
e0b16cc2
JM
37362012-05-19 Joseph Myers <joseph@codesourcery.com>
3737
3738 [BZ #14123]
3739 * math/s_ccosh.c: Include <float.h>
3740 (__ccosh): Avoid internal overflow calculating sinh and cosh
3741 values before multiplying by sin and cos values.
3742 * math/s_ccoshf.c: Likewise.
3743 * math/s_ccoshl.c: Likewise.
3744 * math/s_csin.c: Likewise.
3745 * math/s_csinf.c: Likewise.
3746 * math/s_csinl.c: Likewise.
3747 * math/s_csinh.c: Likewise.
3748 * math/s_csinhf.c: Likewise.
3749 * math/s_csinhl.c: Likewise.
3750 * math/libm-test.inc (ccos_test): Add more tests.
3751 (ccosh_test): Likewise.
3752 (csin_test): Likewise.
3753 (csinh_test): Likewise.
3754 * sysdeps/i386/fpu/libm-test-ulps: Update.
3755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3756
6ad13e08
L
37572012-05-19 H.J. Lu <hongjiu.lu@intel.com>
3758
f66f0ce8
L
3759 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
3760 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3761
6ad13e08
L
3762 * sysdeps/x86_64/x32/_itoa.h: Add comment.
3763
b1d072a7
JM
37642012-05-19 Joseph Myers <joseph@codesourcery.com>
3765
3766 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
3767 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
3768 * sysdeps/powerpc/soft-fp/Versions: Likewise.
3769 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
3770 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
3771 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
3772 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
3773 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
3774 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
3775 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
3776 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
3777 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
3778 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
3779 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
3780 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
3781 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
3782 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
3783 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
3784 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
3785 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
3786 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
3787 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
3788 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
3789 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
3790 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
3791 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
3792 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
3793 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
3794 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
3795 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
3796 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
3797
9eae47cb
AJ
37982012-05-18 Andreas Jaeger <aj@suse.de>
3799
3800 * csu/.gitignore: Delete.
3801
bb07f69f
L
38022012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3803
3804 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
3805 (timex): Use __syscall_slong_t.
3806
e6bdb741
AJ
38072012-05-18 Andreas Jaeger <aj@suse.de>
3808 Carlos O'Donell <carlos_odonell@mentor.com>
3809
3810 * manual/install.texi (Configuring and compiling): Update
3811 description about files modified in the source directory.
d6c33fda 3812 * INSTALL: Regenerated.
e6bdb741 3813
1b74487e
L
38142012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3815
3816 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
3817 value. Use "or" to set return value to -1.
3818 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
3819 negate return value.
3820
a88b64b9
TMQMF
38212012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3822
3823 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
3824 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
3825 failure if the compiler has Graphite support disabled.
3826 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
3827 Likewise.
3828 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
3829 CFLAGS-memmove.c): Likewise.
3830 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
3831 Likewise.
3832
3707636e
L
38332012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3834
610b8622
L
3835 * sysdeps/x86_64/x32/_itoa.h: New file.
3836
7cd195df
L
3837 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
3838 getdents system call only if kernel and user dirents have the
3839 same d_ino and d_off.
3840
94b07d20
L
3841 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3842 LLONG_MAX != LONG_MAX.
3843 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3844 (_fitoa_word): Likewise.
3845
18298070
L
3846 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
3847 years.
3848 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
3849 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
3850 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
3851
553c7ea4
L
3852 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
3853 include <bits/wordsize.h>. Check __x86_64__ instead of
3854 __WORDSIZE.
3855 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
3856 if __x86_64__ is defined. Use anonymous union on fpstate.
3857
3707636e
L
3858 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
3859 anonymous union.
3860
b53ef01a
AS
38612012-05-18 Andreas Schwab <schwab@linux-m68k.org>
3862
37fb1dc0
AS
3863 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3864 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
3865 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
3866 Refer to _rtld_local_ro instead of _rtld_global_ro.
3867 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
3868 Likewise.
3869 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
3870 Likewise.
3871 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
3872 Likewise.
3873 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
3874 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
3875 of _rtld_global, and rtld_progname instead of _dl_argv[0].
3876
b53ef01a
AS
3877 * sysdeps/powerpc/powerpc32/dl-machine.c
3878 (__elf_machine_runtime_setup) [PROF]: Don't reference
3879 _dl_prof_resolve.
3880
7a185db2
AJ
38812012-05-18 Andreas Jaeger <aj@suse.de>
3882
3883 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
3884 function only available for GCCs before 3.4 since GCC 3.4
3885 introduced a builtin.
3886 (lrint): Likewise.
3887 (llrintf): Likewise.
3888 (llrint): Likewise.
3889 (fmaxf): Likewise.
3890 (fmax): Likewise.
3891 (fminf): Likewise.
3892 (fmin): Likewise.
3893 (rint): Likewise.
3894 (rintf): Likewise.
3895 (nearbyint): Likewise.
3896 (nearbyintf): Likewise.
3897 (ceil): Likewise.
3898 (ceilf): Likewise.
3899 (floor): Likewise.
3900 (floorf): Likewise.
3901
3e5aef87
L
39022012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3903
428bd707
L
3904 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
3905 on both fields and cast pointer to __syscall_ulong_t.
3906
3e5aef87
L
3907 * bits/types.h (__fsword_t): New type.
3908 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
3909 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
3910 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3911 (__FSWORD_T_TYPE): Likewise.
3912 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3913 (__FSWORD_T_TYPE): Likewise.
3914 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3915 (__FSWORD_T_TYPE): Likewise.
3916 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
3917 (__FSWORD_T_TYPE): Likewise.
3918 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
3919 __SWORD_TYPE with __fsword_t.
3920 (statfs64): Likewise.
3921
1ba7c3dc
DM
39222012-05-17 David S. Miller <davem@davemloft.net>
3923
3924 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
3925
59910343
AJ
39262012-05-17 Andreas Jaeger <aj@suse.de>
3927
3928 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
3929 warning.
3930
2e4c1e9e
L
39312012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3932
3933 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
3934
de7f5ce7
AJ
39352012-05-17 Andreas Jaeger <aj@suse.de>
3936
3937 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
3938 when it is used.
3939
286abc3d
CM
39402012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3941
3942 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
3943
477cc68e
L
39442012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3945
3946 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
3947 * sysdeps/x86_64/tst-mallocalign1.c: New file.
3948
1a0994f5
CD
39492012-05-17 Andreas Jaeger <aj@suse.de>
3950 Carlos O'Donell <carlos_odonell@mentor.com>
3951
3952 [BZ #14059]
3953 * sysdeps/x86_64/multiarch/init-arch.h
3954 (bit_YMM_Usable): Rename to...
3955 (bit_AVX_Usable): ... this.
3956 (bit_FMA4_Usable): New macro.
3957 (bit_XMM_state): New macro.
3958 (bit_YMM_state): New macro.
3959 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
3960 [__ASSEMBLER__] (index_AVX_Usable): ... this.
3961 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
3962 (CPUID_OSXSAVE): New macro.
3963 (CPUID_AVX): New macro.
3964 (CPUID_FMA4): New macro.
3965 (index_YMM_Usable): Rename to...
3966 (index_AVX_Usable): ... this.
3967 (HAS_AVX): Use HAS_ARCH_FEATURE.
3968 (HAS_FMA4): Likewise.
3969 (HAS_YMM_USABLE): Remove.
3970 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3971 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
3972 are present.
3973 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
3974 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
3975 * sysdeps/x86_64/multiarch/Makefile: Likewise.
3976 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
3977 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
3978
0af797de
CM
39792012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3980
3981 * math/libm-test.c: Support platforms without multiple rounding modes.
3982 * math/bug-nextafter.c: Support platforms without FP exceptions.
3983 * math/bug-nexttoward.c: Likewise.
3984 * math/test-fenv.c: Likewise.
3985 * math/test-misc.c: Likewise.
3986 * stdlib/bug-getcontext.c: Likewise.
3987
e39745ff
AJ
39882012-05-17 Andreas Jaeger <aj@suse.de>
3989
3990 * manual/examples/search.c (critter_cmp): Change signature to
3991 avoid warnings.
3992 * manual/string.texi (Collation Functions): Likewise.
3993
48970aba
L
39942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3995
3996 * bits/types.h: Fold copyright years.
3997 * bits/typesizes.h: Likewise.
3998 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
3999 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4000 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
4001 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
4002 * time/time.h: Likewise.
4003
bedee953
PP
40042012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
4005
4006 [BZ #208]
4007 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
4008 in instead of returning them. Return void.
4009 (__libc_mallinfo): Accumulate over all arenas.
4010 (__malloc_stats): Adjust for change in int_mallinfo interface.
4011
61653dfb
RM
40122012-05-16 Roland McGrath <roland@hack.frob.com>
4013
30b99d79
RM
4014 [BZ #10375]
4015 * configure.in (NM): Add AC_CHECK_TOOL for it.
4016 (libc_extra_cflags): New substituted variable.
4017 Check for -fstack-protector being used implicitly.
4018 * configure: Regenerated.
4019 * config.make.in (config-extra-cflags): New variable,
4020 gets @libc_extra_cflags@.
4021 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
4022
61653dfb
RM
4023 [BZ #10375]
4024 * configure.in: Check for _FORTIFY_SOURCE being predefined.
4025 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
4026 * configure: Regenerated.
4027 * config.make.in (CPPUNDEFS): New substituted variable.
4028 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
4029 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
4030 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
4031
661768bb
L
40322012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4033
4034 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
4035 (mq_attr): Use __syscall_slong_t.
4036
d4261567
L
40372012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4038
4039 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
4040 Check __x86_64__ instead of __WORDSIZE.
4041 (_STAT_VER_LINUX): Likewise.
4042 (stat): Check __x86_64__ instead of __WORDSIZE. Use
4043 __syscall_ulong_t and __syscall_slong_t.
4044 (stat64): Likewise.
4045
cf3ff365
L
40462012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4047
4048 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
4049
76cf3e4d
L
40502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4051
4052 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
4053
a637753a
L
40542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4055
4056 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
4057 __syscall_ulong_t.
4058
d5e05119
L
4059 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
4060 include <bits/wordsize.h>. Check __x86_64__ instead of
4061 __WORDSIZE.
4062 (greg_t): Use "__extension__ long long int" if __x86_64__ is
4063 defined.
4064 (mcontext_t): Replace "unsigned long" with "unsigned long long".
4065
f62ee380
L
4066 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
4067 include <bits/wordsize.h>. Check __x86_64__ instead of
4068 __WORDSIZE.
4069 (user_regs_struct): Use "__extension__ unsigned long long"
4070 instead of "unsigned long" if __x86_64__ is defined.
4071 (user): Likewise. Pad after pointer field if __ILP32__ is
4072 defined.
4073
4e124ced
JM
40742012-05-16 Joseph Myers <joseph@codesourcery.com>
4075
6a3951a0
JM
4076 * configure.in (makeinfo): Require version 4.5 or later. Allow
4077 versions 5 to 9.
4078 * configure: Regenerated.
4079 * manual/install.texi (texinfo): Increase version requirement to
4080 4.5 or later.
4081 * INSTALL: Regenerated.
4082
4e124ced
JM
4083 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
4084
953ca31a
L
40852012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4086
4087 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
4088
617aca05
L
4089 * sysdeps/x86_64/x32/ffs.c: New file.
4090
5762f7ae
L
4091 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
4092 __syscall_ulong_t.
4093 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
4094 defined. Use __syscall_ulong_t.
4095 (shminfo): Use __syscall_ulong_t.
4096 (shm_info): Likewise.
4097
a26b6856
L
4098 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
4099 __syscall_ulong_t.
4100
cb2b9ef7
L
4101 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
4102 <bits/wordsize.h>.
4103 (msgqnum_t): Use __syscall_ulong_t.
4104 (msglen_t): Likewise.
4105 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
4106 __syscall_ulong_t.
4107
34683bb0
L
4108 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
4109 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4110
84a68786
L
4111 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
4112
48baa5f1
L
4113 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
4114 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
4115
180be88b
L
4116 * sysvipc/sys/msg.h (msgbuf): Replace long int with
4117 __syscall_slong_t.
4118
5e90c8ad
L
4119 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
4120 include <bits/wordsize.h>. Check __x86_64__ instead of
4121 __WORDSIZE.
4122
23dfb58b
L
4123 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
4124 "unsigned long long int" if __x86_64__ is defined.
4125 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
4126
ce5d54b0
L
4127 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
4128 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4129 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
4130
13dc9eac
L
4131 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
4132 <stdint.h>.
4133 (GET_PC): Cast to uintptr_t first.
4134 (GET_FRAME): Likewise.
4135 (GET_STACK): Likewise.
4136
a7895d15
L
4137 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
4138 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
4139 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
4140 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
4141 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
4142 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
4143 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
4144 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
4145 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4146 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
4147 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
4148 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
4149 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4150 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
4151 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
4152 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
4153 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
4154 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
4155 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
4156 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
4157 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
4158 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
4159 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
4160 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
4161 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
4162 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
4163 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
4164 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
4165 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
4166
656416c9
AS
41672012-05-16 Andreas Schwab <schwab@linux-m68k.org>
4168
5bd66283
AS
4169 * Makerules (+depfiles): Also collect depfiles from .oS in
4170 $(extra-objs).
4171 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
4172 .oS, $(libnldbl-routines)).
4173
656416c9
AS
4174 * Makerules (native-compile-mkdep-flags): Define.
4175 * sunrpc/Makefile (extra-objs): Add $(addprefix
4176 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
4177 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
4178 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
4179 calling $(make-target-directory).
4180
a46f2169
L
41812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4182
4183 * bits/types.h (__snseconds_t): Removed.
4184 * time/time.h (struct timespec): Replace __snseconds_t with
4185 __syscall_slong_t.
4186 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
4187 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
4188 Likewise.
4189 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4190 (__SNSECONDS_T_TYPE): Likewise.
4191 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4192 (__SNSECONDS_T_TYPE): Likewise.
4193 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4194 (__SNSECONDS_T_TYPE): Likewise.
4195
6af6528b
L
41962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4197
4198 * sysdeps/mach/hurd/bits/typesizes.h
4199 (__SYSCALL_SLONG_TYPE): New macro.
4200 (__SYSCALL_ULONG_TYPE): Likewise.
4201
de986b56
L
42022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4203
4204 * bits/types.h (__syscall_slong_t): New type.
4205 (__syscall_ulong_t): Likewise.
4206
4207 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
4208 (__SYSCALL_ULONG_TYPE): Likewise.
4209 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4210 (__SYSCALL_SLONG_TYPE): Likewise.
4211 (__SYSCALL_ULONG_TYPE): Likewise.
4212 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4213 (__SYSCALL_SLONG_TYPE): Likewise.
4214 (__SYSCALL_ULONG_TYPE): Likewise.
4215 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4216 (__SYSCALL_SLONG_TYPE): Likewise.
4217 (__SYSCALL_ULONG_TYPE): Likewise.
4218
85736dc7
L
42192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4220
4221 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
4222 Add sigaltstack-offsets.sym.
4223 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
4224 <sigaltstack-offsets.h>.
4225 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
4226 longjmp_msg pointer.
4227 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
4228 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
4229 signal stack.
4230 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
4231
cc03b296
JM
42322012-05-15 Joseph Myers <joseph@codesourcery.com>
4233
a9538892
JM
4234 * elf/stackguard-macros.h: Remove file.
4235 * sysdeps/generic/stackguard-macros.h: New file.
4236 * sysdeps/i386/stackguard-macros.h: Likewise.
4237 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4238 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4239 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4240 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4241 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4242 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4243 * sysdeps/x86_64/stackguard-macros.h: Likewise.
4244 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
4245 <elf/stackguard-macros.h>.
4246
cc03b296
JM
4247 [BZ #14109]
4248 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
4249 __aligned__ in attribute.
4250 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
4251 (gregset_t): Likewise.
4252
93171016
L
42532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4254
4255 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
4256 * sysdeps/x86_64/64/Implies-after: Here. New file.
4257 * sysdeps/x86_64/x32/Implies-after: New file.
4258
d86813a0
L
42592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4260
4261 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
4262 and access return value for _dl_profile_fixup. Use R10_LP to
4263 load frame size.
4264
2953ec75
L
42652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4266
4267 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
4268
3b550e9e
L
42692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4270
4271 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
4272 * sysdeps/x86_64/x32/sysdep.h: New file.
4273
eda41706
L
42742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4275
4276 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
4277 * sysdeps/x86_64/setjmp.S: Likewise.
4278
9ea01d93
AZ
42792012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4280
4281 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
4282 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
4283 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
4284 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
4285 remove unused global constant.
4286
02a91938
CM
42872012-05-15 Chris Metcalf <cmetcalf@tilera.com>
4288
4289 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
4290 include of <not-cancel.h>.
4291
6540185f
RM
42922012-05-15 Roland McGrath <roland@hack.frob.com>
4293
4294 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
4295
509072a0
AJ
42962012-05-15 Jeff Law <law@redhat.com>
4297 Andreas Jaeger <aj@suse.de>
4298
4299 [BZ #13594]
4300 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
4301 out from...
4302 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
4303 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
4304 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
4305 code changing __hst_map_handle.map.
4306
ba75122d
RM
43072012-05-15 Roland McGrath <roland@hack.frob.com>
4308
4309 * configure.in (sysnames): Look for Implies-before and Implies-after
4310 files.
4311 * configure: Regenerated.
4312
890d8bd8
L
43132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4314
4315 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
4316 8-byte data alignment with LP_SIZE alignment.
4317
f6ee6623
L
43182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4319
4320 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
4321 into R10_LP.
4322
ea2626f6
L
43232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4324
4325 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
4326
085f715e
L
43272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4328
4329 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
4330 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
4331 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
4332 Likewise.
4333 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4334
be8498fc
L
43352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4336
4337 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
4338 (stackinfo_sub_sp): Likewise.
4339
70bc83b9
L
43402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4341
4342 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
4343 RAX_LP.
4344
9bc0b730
L
43452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4346
4347 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
4348 into R*_LP.
4349
6d2850e7
L
43502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4351
4352 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
4353 sizes into R*_LP.
4354
3cb84561
L
43552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4356
4357 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4358
54e2ed81
L
43592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4360
4361 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4362 into R11_LP and load __x86_64_shared_cache_size_half into
4363 R8_LP.
4364
8a17f349
L
43652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4366
4367 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4368 R8_LP.
4369
777b1eea
AZ
43702012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4371
4372 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4373 logb for POWER7.
4374 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4375 logbf for POWER7.
4376 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4377 logbl for POWER7.
4378 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4379 powerpc32/power7/fpu/s_logb.c via #include.
4380 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4381 powerpc32/power7/fpu/s_logbf.c via #include.
4382 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4383 powerpc32/power7/fpu/s_logbl.c via #include.
4384
d20d4ac2
JM
43852012-05-15 Joseph Myers <joseph@codesourcery.com>
4386
4387 * README.libm: Remove file.
4388
6cdef1ab
L
43892012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4390
4391 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4392 count for x32. Use R*_LP and omit operand-size suffix.
4393
0b254d8f
L
43942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4395
4396 * shlib-versions: Move x86_64-.*-linux.* entries to ...
4397 * sysdeps/x86_64/64/shlib-versions: Here. New file.
4398 * sysdeps/x86_64/x32/shlib-versions: New file.
4399
ceb809dc
RM
44002012-05-14 Roland McGrath <roland@hack.frob.com>
4401
4402 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4403 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4404 Use _dl_fatal_printf instead.
4405
37f1abd4
JM
44062012-05-14 Joseph Myers <joseph@codesourcery.com>
4407
4408 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4409 set if not set by the user. Do not allow for being unset.
4410 * sysdeps/unix/sysv/linux/configure: Regenerated.
4411
11de3a33
L
44122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4413
4414 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4415 the `q' suffix from lea and replace .quad with ASM_ADDR.
4416
e02f153a
L
44172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4418
4419 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4420 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
4421 instead of $17.
4422 (PTR_DEMANGLE): Likewise.
4423
520ae0fd
L
44242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4425
4426 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4427 (LP_OP): Likewise.
4428 (ASM_ADDR): Likewise.
4429 (RAX_LP): Likewise.
4430 (RBP_LP): Likewise.
4431 (RBX_LP): Likewise.
4432 (RCX_LP): Likewise.
4433 (RDI_LP): Likewise.
4434 (RSI_LP): Likewise.
4435 (RSP_LP): Likewise.
4436 (R8_LP): Likewise.
4437 (R9_LP): Likewise.
4438 (R10_LP): Likewise.
4439 (R10_LP): Likewise.
4440 (R11_LP): Likewise.
4441 (R12_LP): Likewise.
4442 (R13_LP): Likewise.
4443 (R14_LP): Likewise.
4444 (R15_LP): Likewise.
4445
b985be81
L
44462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4447
4448 * sysdeps/x86_64/x32/dl-machine.h: New file.
4449
6a4888ff
AJ
44502012-05-14 Andreas Jaeger <aj@suse.de>
4451
4452 * manual/Makefile (subdir): Remove export of subdir.
4453 (all): Remove target.
4454 (.PHONY): Remove all from list.
4455 (mkinstalldirs): Remove.
4456 (.PHONY): Remove installdirs from list.
4457 ($(inst_infodir)/libc.info): Use make-target-directory.
4458 (installdirs): Remove.
4459 (subdir_%): Remove.
4460 (glibc-targets): Remove.
4461 (lib): Remove.
4462 (stubs): Remove.
4463 ($(objpfx)stubs ../po/manual.pot): Remove.
4464 ($(objpfx)stamp%): Remove.
4465 (make-target-directory): Remove.
4466 (subdir_install): Remove.
4467 (routines): Remove.
4468 (aux): Remove.
4469 (sources): Remove.
4470 (objects): Remove.
4471 (headers): Remove.
4472
4473 [BZ #13750]
4474 * manual/.gitignore: Remove, it's not needed anymore.
4475 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
4476 all files in it.
4477 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
4478 directory.
4479 (texis): Renamed to $(objpfx)texis.
4480 (texis-path): New, contains path to generated files.
4481 (chapters.%): Use texis-path for complete path, add extra argument
4482 libc-texinfo.sh.
4483 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
4484 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
4485 (summary,texi, stamp-summary): Use complete path of
4486 files. Generate files in build dir.
4487 (dir-add.texi): Build in build dir.
4488 (libm-err.texi,stamp-libm-err): Likewise.
4489 (version.texi, stamp-version): Likewise.
4490 (.%c.texi): Likewise.
4491 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
4492 (mostlyclean): Remove target.
4493 (realclean): Remove target.
4494 (generated): Add new variable with contents from mostlyclean and
4495 realclean, remove entries duplicated in common-mostlyclean, add
4496 stamp-libm-err and stamp-version.
4497 (generated-dirs): Add libc directory.
4498 ($(inst_infodir)/libc.info): Install files from build dir.
4499
4500 * manual/install.texi (Configuring and compiling): Adjust since
4501 the info files are not part of the tar ball anymore.
4502
7ac77294
AJ
45032012-05-14 Andreas Jaeger <aj@suse.de>
4504
4505 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
4506 variable.
4507
ffb7875d
JM
45082012-05-14 Joseph Myers <joseph@codesourcery.com>
4509
4510 [BZ #13717]
4511 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4512 to 2.2.0 where earlier.
4513 * sysdeps/unix/sysv/linux/configure: Regenerated.
4514 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
4515 Remove conditional code.
4516 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
4517 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
4518 Remove conditional code.
4519 [!__NR_lchown]: Likewise.
4520 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4521 [__NR_lchown]: Likewise.
4522 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
4523 comment referencing __ASSUME_LCHOWN_SYSCALL.
4524 * sysdeps/unix/sysv/linux/i386/sigaction.c
4525 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4526 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4527 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
4528 Remove conditional code.
4529 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
4530 (__protocol_available): Remove #if 0 code.
4531 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
4532 conditional code.
4533 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
4534 * sysdeps/unix/sysv/linux/kernel-features.h
4535 (__ASSUME_GETCWD_SYSCALL): Don't define.
4536 (__ASSUME_REALTIME_SIGNALS): Likewise.
4537 (__ASSUME_PREAD_SYSCALL): Likewise.
4538 (__ASSUME_PWRITE_SYSCALL): Likewise.
4539 (__ASSUME_POLL_SYSCALL): Likewise.
4540 (__ASSUME_LCHOWN_SYSCALL): Likewise.
4541 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
4542 non-SPARC.
4543 (__ASSUME_SIOCGIFNAME): Don't define.
4544 (__ASSUME_MSG_NOSIGNAL): Likewise.
4545 (__ASSUME_SENDFILE): Define unconditionally.
4546 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
4547 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
4548 conditional code.
4549 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
4550 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
4551 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4552 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4553 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
4554 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4555 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
4557 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4558 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4560 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4561 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
4563 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4564 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4566 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4567 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
4569 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4570 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4572 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4573 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
4575 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4576 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4578 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4579 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4580 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
4581 Remove conditional code.
4582 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4583 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4584 Remove conditional code.
4585 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4586 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
4587 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
4588 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4589 Remove conditional code.
4590 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4591 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
4592 Remove conditional code.
4593 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4594 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
4595 Remove conditional code.
4596 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4597 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4598 Remove conditional code.
4599 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4600 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4601 Remove conditional code.
4602 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4603 * sysdeps/unix/sysv/linux/sh/pwrite64.c
4604 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4605 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4606 * sysdeps/unix/sysv/linux/sigaction.c
4607 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4608 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4609 * sysdeps/unix/sysv/linux/sigpending.c
4610 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4611 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4612 * sysdeps/unix/sysv/linux/sigprocmask.c
4613 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4614 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4615 * sysdeps/unix/sysv/linux/sigsuspend.c
4616 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4617 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4618 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4619 (__libc_missing_rt_sigs): Remove.
4620 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
4621 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
4622 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
4623 Remove conditional code.
4624 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
4625 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
4626 return 1.
4627 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
4628 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
4629 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
4630 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
4631
1bfb7291
AJ
46322012-05-14 Andreas Jaeger <aj@suse.de>
4633
caae5a81
AJ
4634 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
4635 it's not used in glibc.
4636 (__coshm1): Likewise.
4637 (__acosh1p): Likewise.
4638 (__sgn): Likewise.
4639
1bfb7291
AJ
4640 * manual/string.texi (Copying and Concatenation): Add missing
4641 variable in concat example.
4642 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4643
c044d724
L
46442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4645
144c5467 4646 [BZ #14103]
c044d724
L
4647 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
4648 __builtin_clzl with __builtin_clzll.
4649
2523c62b
L
46502012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4651
4652 [BZ #14104]
4653 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
4654 libc_freeres_ptr.
4655
d7bb4c42
LD
46562012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4657
4658 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
4659 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
4660 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
4661 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
4662
9dc4e1fb
MF
46632012-05-14 Mike Frysinger <vapier@gentoo.org>
4664
4665 * NEWS: Update ia64 info.
4666
c7df0112
AS
46672012-05-12 Andreas Schwab <schwab@linux-m68k.org>
4668
4669 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
4670 used as bcopy.
4671
dc70356c
TS
46722012-05-12 Thomas Schwinge <thomas@codesourcery.com>
4673
4674 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
4675 * sysdeps/unix/syscalls.list (dup3): Likewise.
4676 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
4677 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
4678
9fb1a21f
L
46792012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4680
4681 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
4682 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
4683
4822a2a5
L
46842012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4685
4686 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
4687 thread pointer.
4688 (TLS_IE): Use mov/add instead of movq/addq to load thread
4689 pointer.
4690 (TLS_GD_PREFIX): New.
4691 (TLS_GD): Use it.
4692
842b81d6
DM
46932012-05-11 David S. Miller <davem@davemloft.net>
4694
4695 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
4696 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
4697 (_FPU_SETCW): Likewise.
4698
1cf463cd
L
46992012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4700
4701 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
4702 is 32-byte aligned.
4703
60cc4a18
AS
47042012-05-11 Andreas Schwab <schwab@linux-m68k.org>
4705
4706 [BZ #11837]
4707 * iconvdata/gb18030.c: Update tables.
4708 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
4709 characters specially.
4710 (BODY for TO_LOOP): Add encoding of missing ranges.
4711
febb44a4
TS
47122012-05-11 Thomas Schwinge <thomas@codesourcery.com>
4713
4714 [BZ #13673]
4715 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
4716 * sysdeps/mach/hurd/dup3.c: Likewise.
4717 * sysdeps/mach/hurd/readlinkat.c: Likewise.
4718 * sysdeps/powerpc/memmove.c:: Likewise.
4719
0a10fb9e
L
47202012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4721
4722 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
4723 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
4724
df8a552f
L
47252012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4726
4727 * elf/elf.h (R_X86_64_RELATIVE64): New.
4728 (R_X86_64_NUM): Updated.
4729 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4730 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
4731 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
4732 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
4733 tst-quad1pie tst-quad2pie
4734 (modules-names): Add tst-quadmod1 tst-quadmod2.
4735 ($(objpfx)tst-quad1): New dependency.
4736 ($(objpfx)tst-quad2): Likewise.
4737 ($(objpfx)tst-quad1pie): Likewise.
4738 ($(objpfx)tst-quad2pie): Likewise.
4739 * sysdeps/x86_64/tst-quad1.c: New file.
4740 * sysdeps/x86_64/tst-quad1pie.c: New file.
4741 * sysdeps/x86_64/tst-quad2.c: Likewise.
4742 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
4743 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
4744 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
4745 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
4746 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
4747
f34d6f84
ST
47482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4749
f42d41d1
ST
4750 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
4751 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
4752 * streams/stropts.h (t_scalar_t): Define type.
4753
3c3571fc
ST
4754 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
4755 (_PATH_PRESERVE): Set to "/var/lib".
4756 (_PATH_RWHODIR): Set to "/var/spool/rwho".
4757
61f06bd3
ST
4758 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
4759 instead of int.
4760
918d4d71
ST
4761 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
4762 if __dir_mkfile succeeded.
4763
f34d6f84
ST
4764 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
4765 checking for _hurd_dtablesize. Unlock it right after having
4766 finished _hurd_dtable allocation.
4767
10589b4a
TS
47682012-05-10 Thomas Schwinge <thomas@schwinge.name>
4769
674cdbc7
TS
4770 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
4771 * sysdeps/mach/hurd/configure: Regenerated.
4772 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
4773 special-casing to...
4774 * sysdeps/gnu/configure.in: ... this new file.
4775 * sysdeps/unix/sysv/linux/configure: Regenerated.
4776 * sysdeps/gnu/configure: New generated file.
4777
8e41b99f
TS
4778 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
4779 for Linux: use nsec instead of usec, as well as:
4780 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
4781 members of type struct timespec.
4782 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
4783 New macros.
4784 (struct stat64): Likewise.
4785 (_STATBUF_ST_NSEC): New macro.
4786 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
4787
10589b4a
TS
4788 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4789 __strtoul_internal rather than strtoul.
4790
63643c85
PT
47912012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4792
4793 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
4794 and reject them.
4795
3faebe6a
ST
47962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4797
4798 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
4799 which preserves existing values.
4800 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
4801
c6474b07
PT
48022012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4803
4804 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
4805 TIMEOUT values. Return EINVAL for NFDS values either negative or
4806 greater than FD_SETSIZE.
4807
1043890b
ST
48082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4809
4810 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
4811 allocated, call __vm_protect to finish enabling the existing space, and
4812 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
4813 allocate the remainder.
4814
37ed8b9b
PT
48152012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4816
4817 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
4818 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
4819
db653660
ST
48202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4821
37ed8b9b
PT
4822 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
4823 sysdeps/mach/hurd/readlink.c.
b29d4053 4824
db653660
ST
4825 * posix/tst-sysconf.c (posix_options): Only use
4826 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
4827 _POSIX_SYNCHRONIZED_IO when they are defined
4828 * sysdeps/mach/hurd/bits/posix_opt.h:
4829 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
4830 (_XOPEN_REALTIME): Undefine macro.
4831 (_XOPEN_REALTIME_THREADS): Undefine macro.
4832 (_XOPEN_SHM): Undefine macro.
4833 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
4834 macro to -1.
4835 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
4836 macro to -1.
4837 (_POSIX_ASYNC_IO): Undefine macro.
4838 (_POSIX_PRIORITIZED_IO): Undefine macro.
4839 (_POSIX_SPIN_LOCKS): Define macro to -1.
4840
ee16e894
ST
4841 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
4842 SA_NODEFER, SA_RESETHAND.
4843 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
4844 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
4845 F_DUPFD_CLOEXEC.
4846
6103ae3b
TS
48472012-05-10 Thomas Schwinge <thomas@schwinge.name>
4848
4849 * elf/Makefile (pldd-modules): Define unconditionally.
4850
80b4e5f3
TS
48512012-05-10 Thomas Schwinge <thomas@schwinge.name>
4852
4853 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
4854
edadcbd6
ST
48552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4856
4857 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
4858 Return ENOENT when name is empty.
4859 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
4860
80694780
TS
48612012-05-10 Thomas Schwinge <thomas@schwinge.name>
4862
1792c087
TS
4863 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
4864
80694780
TS
4865 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
4866
6b645f0d
ST
48672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4868
80694780
TS
4869 Fix mlock in all cases except non-readable pages.
4870 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
4871 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 4872
6b645f0d
ST
4873 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
4874 (__mkdir): When path is `/', just fail with EEXIST.
4875 * sysdeps/mach/hurd/mkdirat.c: Likewise.
4876
e468f8a3
TS
48772012-05-10 Thomas Schwinge <thomas@schwinge.name>
4878
4879 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
4880 <sys/uio.h> (for writev).
4881 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
4882 and <sys/param.h> (for MIN).
4883
a4186cff
PT
48842012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4885
4886 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
4887 REQUESTED_TIME. Properly set the remaining time and return EINTR
4888 if interrupted.
4889
510bbf14
TS
48902012-05-10 Thomas Schwinge <thomas@schwinge.name>
4891
4892 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
4893 Depend on against $(link-rpcuserlibs).
4894
5d5722e8
ST
48952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4896
a4186cff
PT
4897 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
4898 (__libc_stack_end): Do not use attribute_relro.
4899 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
4900 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 4901 to libthread-provided value.
a4186cff
PT
4902 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
4903 attribute_relro.
5d5722e8 4904
37233df9
TS
49052012-05-10 Thomas Schwinge <thomas@schwinge.name>
4906
be971a2b
TS
4907 [BZ #3748]
4908 * bits/libc-lock.h (__libc_once_get): New macro.
4909 * sysdeps/mach/bits/libc-lock.h: Likewise.
4910 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
4911 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
4912 instead of using implementation details.
4913
37233df9
TS
4914 * libio/fileops.c: Unconditionally include <kernel-features.h>.
4915 * libio/freopen.c: Likewise.
4916 * libio/freopen64.c: Likewise.
4917 * misc/syslog.c: Likewise.
4918 * nscd/connections.c: Likewise.
4919 * nscd/netgroupcache.c: Likewise.
4920 * sysdeps/posix/getcwd.c: Likewise.
4921
38de94a5
RM
49222012-05-10 Roland McGrath <roland@hack.frob.com>
4923
4924 * math/w_ilogbf.c: Add #include <limits.h>.
4925
67530489
ST
49262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4927
a4186cff 4928 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
4929 path instead of returning without unlocking.
4930
67530489
ST
4931 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
4932 immediate-write ioctls.
4933 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
4934
5aa3a74a
TS
49352012-05-10 Thomas Schwinge <thomas@schwinge.name>
4936
18bad2ae
TS
4937 * sysdeps/mach/hurd/i386/init-first.c (init): Use
4938 __builtin_frame_address instead of making assumptions about the
4939 location of the return address relative to DATA. Force early load of
4940 the return address.
4941 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
4942 __builtin_frame_address.
4943
5aa3a74a
TS
4944 dup3 for GNU Hurd.
4945 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
4946 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
4947 implement dup3 and do some further code clean-ups.
4948 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
4949 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
4950
ecd0de9a
ST
49512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4952
cd9fa985
ST
4953 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
4954
a4186cff
PT
4955 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
4956 HURD_CRITICAL_END around holding _hurd_dtable_lock.
4957 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
4958 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
4959 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
4960 d->port.lock.
802ca5a5 4961
a4186cff
PT
4962 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
4963 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
4964 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 4965
bcf55240
TS
49662012-05-10 Thomas Schwinge <thomas@schwinge.name>
4967
6960eb42
TS
4968 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
4969 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
4970 definitions.
4971
eb43375f
TS
4972 accept4 for GNU Hurd.
4973 * include/sys/socket.h (__libc_accept4): New prototype.
4974 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
4975 to implement __libc_accept4.
4976 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
4977 __libc_accept4.
4978 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
4979
bcf55240
TS
4980 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
4981 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
4982 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
4983 signal-defines.sym.
4984
6178c55b
ST
49852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4986
a4186cff 4987 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 4988
6f080c2f
TS
49892012-05-10 Thomas Schwinge <thomas@schwinge.name>
4990
4991 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
4992 assertion on O_CLOEXEC flag.
4993 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
4994 * hurd/intern-fd.c: Likewise.
4995 * hurd/port2fd.c: Likewise.
4996
bcfe3a54
ST
49972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4998
4999 [BZ #3906]
5000 * bits/in.h (IPV6_PKTINFO): Define new macro.
5001 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
5002
89c9aa49
AZ
50032012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5004
5005 [BZ #13954]
5006 [BZ #13955]
5007 [BZ #13956]
5008 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
5009 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5010 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
5011 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5012 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5013 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5014 * math/libm-test.inc (logb_test) : Additional logb tests.
5015
021db4be
AJ
50162012-05-09 Andreas Schwab <schwab@linux-m68k.org>
5017 Andreas Jaeger <aj@suse.de>
5018
5019 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
5020 * configure: Regenerated.
5021 * config.h.in (LINK_OBSOLETE_RPC): New macro.
5022 * config.make.in (link-obsolete-rpc): New substituted variable.
5023 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
5024 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
5025 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5026 (shared-only-routines): Don't set it under [link-obsolete-rpc],
5027 so that libc.a contains the symbols.
5028 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5029 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
5030 * sunrpc/auth_none.c: Likewise.
5031 * sunrpc/auth_unix.c: Likewise.
5032 * sunrpc/authdes_prot.c: Likewise.
5033 * sunrpc/authuxprot.c: Likewise.
5034 * sunrpc/clnt_gen.c: Likewise.
5035 * sunrpc/clnt_perr.c: Likewise.
5036 * sunrpc/clnt_raw.c: Likewise.
5037 * sunrpc/clnt_simp.c: Likewise.
5038 * sunrpc/clnt_tcp.c: Likewise.
5039 * sunrpc/clnt_udp.c: Likewise.
5040 * sunrpc/clnt_unix.c: Likewise.
5041 * sunrpc/des_crypt.c: Likewise.
5042 * sunrpc/des_soft.c: Likewise.
5043 * sunrpc/get_myaddr.c: Likewise.
5044 * sunrpc/key_call.c: Likewise.
5045 * sunrpc/key_prot.c: Likewise.
5046 * sunrpc/netname.c: Likewise.
5047 * sunrpc/pm_getmaps.c: Likewise.
5048 * sunrpc/pm_getport.c: Likewise.
5049 * sunrpc/pmap_clnt.c: Likewise.
5050 * sunrpc/pmap_prot.c: Likewise.
5051 * sunrpc/pmap_prot2.c: Likewise.
5052 * sunrpc/pmap_rmt.c: Likewise.
5053 * sunrpc/publickey.c: Likewise.
5054 * sunrpc/rpc_cmsg.c: Likewise.
5055 * sunrpc/rpc_common.c: Likewise.
5056 * sunrpc/rpc_dtable.c: Likewise.
5057 * sunrpc/rpc_prot.c: Likewise.
5058 * sunrpc/rpc_thread.c: Likewise.
5059 * sunrpc/rtime.c: Likewise.
5060 * sunrpc/svc.c: Likewise.
5061 * sunrpc/svc_auth.c: Likewise.
5062 * sunrpc/svc_raw.c: Likewise.
5063 * sunrpc/svc_run.c: Likewise.
5064 * sunrpc/svc_tcp.c: Likewise.
5065 * sunrpc/svc_udp.c: Likewise.
5066 * sunrpc/svc_unix.c: Likewise.
5067 * sunrpc/svcauth_des.c: Likewise.
5068 * sunrpc/xcrypt.c: Likewise.
5069 * sunrpc/xdr.c: Likewise.
5070 * sunrpc/xdr_array.c: Likewise.
5071 * sunrpc/xdr_float.c: Likewise.
5072 * sunrpc/xdr_intXX_t.c: Likewise.
5073 * sunrpc/xdr_mem.c: Likewise.
5074 * sunrpc/xdr_rec.c: Likewise.
5075 * sunrpc/xdr_ref.c: Likewise.
5076 * sunrpc/xdr_sizeof.c: Likewise.
5077 * sunrpc/xdr_stdio.c: Likewise.
5078
b5c086a2
RM
50792012-05-10 Roland McGrath <roland@hack.frob.com>
5080
5081 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
5082 change. Update copyright years.
5083
6d74dd09
JM
50842012-05-10 Joseph Myers <joseph@codesourcery.com>
5085
5086 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
5087
28e72501
MK
50882012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
5089 Joseph Myers <joseph@codesourcery.com>
5090 Paul Pluzhnikov <ppluzhnikov@google.com>
5091
5092 [BZ #14012]
5093 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
5094 requiring rpcgen.
5095 [cross-compiling] (extra-libs): Likewise.
5096 [cross-compiling] (extra-libs-others): Likewise.
5097 [cross-compiling] (librpcsvc-routines): Likewise.
5098 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
5099 [cross-compiling] (omit-deps): Likewise.
5100 (sunrpc-CPPFLAGS): New variable.
5101 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
5102 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
5103 (cross-rpcgen-objs): New variable.
5104 (extra-objs): Append $(cross-rpcgen-objs).
5105 ($(cross-rpcgen-objs)): New rule.
5106 ($(objpfx)cross-rpcgen): Likewise.
5107 (rpcgen-cmd): Define to use $(built-program-file). Expand
5108 comment.
5109 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
5110 ($(objpfx)x%.stmp): Likewise.
5111 * sunrpc/proto.h [IS_IN_build] (_): Define.
5112 [IS_IN_build] (_libc_intl_domainname): Likewise.
5113
c8c59454
L
51142012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5115
5116 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
5117 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
5118 and R_X86_64_TPOFF64.
5119
6f27cd16
JM
51202012-05-10 Joseph Myers <joseph@codesourcery.com>
5121
5122 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
5123 sysdeps/unix/sysv/syscalls.list.
5124 (stime): Likewise.
5125 (utime): Likewise.
5126 * sysdeps/unix/sysv/syscalls.list: Remove file.
5127
02467e1c
PE
51282012-05-10 Paul Eggert <eggert@cs.ucla.edu>
5129
5130 [BZ #3440]
5131 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
5132 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
5133 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
5134 (__LC_IDENTIFICATION): Make these macros useful in #if
5135 expressions, as required by C99.
5136
da392631
AS
51372012-05-10 Andreas Schwab <schwab@linux-m68k.org>
5138
5139 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
5140 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
5141 after this.
5142
8115f29b
L
51432012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5144
5145 * stdlib/longlong.h: Updated from GCC.
5146
bdd74070
AJ
51472012-05-09 Andreas Jaeger <aj@suse.de>
5148
edfe0dbe
AJ
5149 * nscd/nscd.c (run_modes): Make named enum, reorder so that
5150 default is first entry.
5151 (run_mode): Set type.
5152 (main): Remove informal message about syslog.
5153 (options): Fix typo.
5154
bcfe3a54
ST
5155 [BZ #14053]
5156 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 5157 to asm.
bcfe3a54
ST
5158 (lrint): Likewise.
5159 (llrintf): Likewise.
5160 (llrint): Likewise.
5161 (rint): Likewise.
5162 (rintf): Likewise.
5163 (nearbyint): Likewise.
5164 (nearbyintf): Likewise.
bdd74070 5165
91d8d69e
AJ
51662012-05-09 Andreas Jaeger <aj@suse.de>
5167 Pedro Alves <palves@redhat.com>
5168
5169 * nscd/nscd.c (run_mode): Use enum.
5170 (main): Cleanup coding style issue.
5171
bb90b80b
AJ
51722012-05-09 Alexandre Oliva <aoliva@redhat.com>
5173 Andreas Jaeger <aj@suse.de>
5174
bcfe3a54
ST
5175 * nscd/nscd.c (go_background): Replaced with...
5176 (run_mode): ... this.
bb90b80b 5177 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
5178 (options): Add -F --foreground.
5179 (main): Implement it.
5180 (parse_opt): Parse it.
bb90b80b 5181
1a4b75a1
AJ
51822012-05-09 Andreas Jaeger <aj@suse.de>
5183
5184 [BZ #14083]
5185 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
5186 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
5187 -Wconversion warning.
5188 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
5189 Likewise.
5190
b1cc2472
JM
51912012-05-09 Joseph Myers <joseph@codesourcery.com>
5192
5193 * conform/data/locale.h-data (NULL): Use macro-constant. Require
5194 == 0.
5195 (LC_ALL): Use macro-int-constant.
5196 (LC_COLLATE): Likewise.
5197 (LC_CTYPE): Likewise.
5198 (LC_MESSAGES): Likewise.
5199 (LC_MONETARY): Likewise.
5200 (LC_NUMERIC): Likewise.
5201 (LC_TIME): Likewise.
5202 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
5203 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5204 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5205 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
5206 Specify type.
5207 [C99-based standards] (float_t): Expect type.
5208 [C99-based standards] (double_t): Expect type.
5209 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
5210 type.
5211 [C99-based standards] (HUGE_VALL): Likewise.
5212 [C99-based standards] (INFINITY): Likewise.
5213 [C99-based standards] (NAN): Likewise.
5214 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
5215 [C99-based standards] (FP_NAN): Likewise.
5216 [C99-based standards] (FP_NORMAL): Likewise.
5217 [C99-based standards] (FP_SUBNORMAL): Likewise.
5218 [C99-based standards] (FP_ZERO): Likewise.
5219 [C99-based standards] (FP_FAST_FMA): Use
5220 optional-macro-int-constant. Specify type. Require == 1.
5221 [C99-based standards] (FP_FAST_FMAF): Likewise.
5222 [C99-based standards] (FP_FAST_FMAL): Likewise.
5223 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
5224 [C99-based standards] (FP_ILOGBNAN): Likewise.
5225 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
5226 Specify type.
5227 [C99-based standards] (MATH_ERREXCEPT): Likewise.
5228 [C99-based standards] (math_errhandling): Specify type.
5229 [ISO99 || ISO11] (signgam): Do not allow.
5230 [non-C99-based standards] (copysignf): Do not allow.
5231 [non-C99-based standards] (exp2f): Likewise.
5232 [non-C99-based standards] (log2f): Likewise.
5233 [non-C99-based standards] (modff): Allow.
5234 [non-C99-based standards] (erff): Do not allow.
5235 [non-C99-based standards] (erfcf): Likewise.
5236 [non-C99-based standards] (gammaf): Likewise.
5237 [non-C99-based standards] (hypotf): Likewise.
5238 [non-C99-based standards] (j0f): Likewise.
5239 [non-C99-based standards] (j1f): Likewise.
5240 [non-C99-based standards] (jnf): Likewise.
5241 [non-C99-based standards] (lgammaf): Likewise.
5242 [non-C99-based standards] (tgammaf): Likewise.
5243 [non-C99-based standards] (y0f): Likewise.
5244 [non-C99-based standards] (y1f): Likewise.
5245 [non-C99-based standards] (ynf): Likewise.
5246 [non-C99-based standards] (isnanf): Likewise.
5247 [non-C99-based standards] (acoshf): Likewise.
5248 [non-C99-based standards] (asinhf): Likewise.
5249 [non-C99-based standards] (atanhf): Likewise.
5250 [non-C99-based standards] (cbrtf): Likewise.
5251 [non-C99-based standards] (expm1f): Likewise.
5252 [non-C99-based standards] (ilogbf): Likewise.
5253 [non-C99-based standards] (log1pf): Likewise.
5254 [non-C99-based standards] (logbf): Likewise.
5255 [non-C99-based standards] (nextafterf): Likewise.
5256 [non-C99-based standards] (remainderf): Likewise.
5257 [non-C99-based standards] (rintf): Likewise.
5258 [non-C99-based standards] (scalbf): Likewise.
5259 [non-C99-based standards] (copysignl): Likewise.
5260 [non-C99-based standards] (exp2l): Likewise.
5261 [non-C99-based standards] (log2l): Likewise.
5262 [non-C99-based standards] (modfl): Allow.
5263 [non-C99-based standards] (erfl): Do not allow.
5264 [non-C99-based standards] (erfcl): Likewise.
5265 [non-C99-based standards] (gammal): Likewise.
5266 [non-C99-based standards] (hypotl): Likewise.
5267 [non-C99-based standards] (j0l): Likewise.
5268 [non-C99-based standards] (j1l): Likewise.
5269 [non-C99-based standards] (jnl): Likewise.
5270 [non-C99-based standards] (lgammal): Likewise.
5271 [non-C99-based standards] (tgammal): Likewise.
5272 [non-C99-based standards] (y0l): Likewise.
5273 [non-C99-based standards] (y1l): Likewise.
5274 [non-C99-based standards] (ynl): Likewise.
5275 [non-C99-based standards] (isnanl): Likewise.
5276 [non-C99-based standards] (acoshl): Likewise.
5277 [non-C99-based standards] (asinhl): Likewise.
5278 [non-C99-based standards] (atanhl): Likewise.
5279 [non-C99-based standards] (cbrtl): Likewise.
5280 [non-C99-based standards] (expm1l): Likewise.
5281 [non-C99-based standards] (ilogbl): Likewise.
5282 [non-C99-based standards] (log1pl): Likewise.
5283 [non-C99-based standards] (logbl): Likewise.
5284 [non-C99-based standards] (nextafterl): Likewise.
5285 [non-C99-based standards] (remainderl): Likewise.
5286 [non-C99-based standards] (rintl): Likewise.
5287 [non-C99-based standards] (scalbl): Likewise.
5288 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5289 [non-C99-based standards] (FP_*): Do not allow.
5290 [C99-based standards] (FP_*): Change to
5291 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5292 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5293 allow.
5294 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
5295 (SIG_ERR): Likewise.
5296 [X/Open-based standards] (SIG_HOLD): Likewise.
5297 (SIG_IGN): Likewise.
5298 (SIGABRT): Use macro-int-constant. Specify type. Require
5299 positive value.
5300 (SIGFPE): Likewise.
5301 (SIGILL): Likewise.
5302 (SIGINT): Likewise.
5303 (SIGSEGV): Likewise.
5304 (SIGTER): Likewise.
5305 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
5306 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
5307 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
5308 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
5309 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
5310 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
5311 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
5312 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
5313 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
5314 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
5315 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
5316 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
5317 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
5318 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
5319 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
5320 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
5321 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
5322 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
5323 [X/Open-based standards] (SIGTRAP): Likewise.
5324 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
5325 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
5326 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
5327 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
5328 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5329 allow.
5330
b9f1922d
IW
53312012-05-08 Ian Wienand <ianw@vmware.com>
5332
5333 [BZ #14080]
5334 * time/tzset.c (__tzset_parse_tz): Update default rules for
5335 daylight time changes in the Energy Policy Act of 2005.
5336
1db86e88
AJ
53372012-05-09 Andreas Jaeger <aj@suse.de>
5338
5339 [BZ #13983]
5340 * elf/ldconfig.c (parse_conf): Change string to make clear that
5341 ldconfig only issued a warning if ld.so.conf does not exist.
5342
dee4a4e3
DM
53432012-05-08 David S. Miller <davem@davemloft.net>
5344
ee0db190
DM
5345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
5346 movxtod instead of popping the value on the stack.
5347
dee4a4e3
DM
5348 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5349
6a43ec98
CD
53502012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
5351
5352 * config.h.in: Add HAVE_ARM_PCS_VFP.
5353
05c2c961
RMG
53542012-05-08 Roland Mc Grath <roland@hack.frob.com>
5355
bcfe3a54
ST
5356 [BZ #13979]
5357 * include/features.h: Warn if user requests __FORTIFY_SOURCE
5358 checking but the checks are disabled for any reason.
05c2c961 5359
4b30f61a
L
53602012-05-08 H.J. Lu <hongjiu.lu@intel.com>
5361
5362 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5363 and ELF64_R_TYPE with ELFW(R_TYPE).
5364
eee2bc67
JM
53652012-05-08 Joseph Myers <joseph@codesourcery.com>
5366
7ea5391a
JM
5367 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5368 (ulimit): Likewise.
5369
eee2bc67
JM
5370 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5371 (settimeofday): Likewise.
5372
abb66a67
MF
53732012-05-08 Mike Frysinger <vapier@gentoo.org>
5374
5375 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
5376 a struct th_u2 inside the union, and move tu_block/tu_code into
5377 a new th_u3 union of tu_block/tu_code inside of that. Move
5378 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
5379 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
5380 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5381 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5382 (th_stuff): Change to th_u1.tu_stuff.
5383 (th_data): Define.
5384 (th_msg): Change to th_u1.th_u2.tu_data.
5385
7f18b530
DM
53862012-05-07 David S. Miller <davem@davemloft.net>
5387
05760585
DM
5388 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5389
7f18b530
DM
5390 [BZ #14074]
5391 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5392 (SETUP_PIC_REG): Use it.
5393 (SETUP_PIC_REG_LEAF): Use it.
5394
495fd99f
JM
53952012-05-07 Joseph Myers <joseph@codesourcery.com>
5396
5397 [BZ #13885]
5398 [BZ #13923]
5399 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5400 USE_AS_EXPM1L.
5401 (EXPL_FINITE): Likewise.
5402 (FLDLOG): Likewise.
5403 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5404 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5405 e_expl.S.
5406 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5407 USE_AS_EXPM1L.
5408 (EXPL_FINITE): Likewise.
5409 (FLDLOG): Likewise.
5410 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5411 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5412 e_expl.S.
5413 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
5414 test of -max_value argument for long double.
5415 * sysdeps/i386/fpu/libm-test-ulps: Update.
5416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5417
6693d694
DM
54182012-05-06 David S. Miller <davem@davemloft.net>
5419
5420 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5421 quad soft-float symbols whose references which are compiler
5422 generated.
5423 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5424
6c23e11c
JM
54252012-05-06 Joseph Myers <joseph@codesourcery.com>
5426
d8b82cad
JM
5427 [BZ #13884]
5428 [BZ #13914]
5429 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5430 USE_AS_EXP10L.
5431 (EXPL_FINITE): Likewise.
5432 (FLDLOG): Likewise.
5433 (c0): Likewise.
5434 (c1): Likewise.
5435 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5436 Adjust comments for base varying.
5437 (__expl_finite): Change alias to EXPL_FINITE.
5438 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5439 e_expl.S.
5440 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5441 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5442 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5443 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5444 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5445 USE_AS_EXP10L.
5446 (EXPL_FINITE): Likewise.
5447 (FLDLOG): Likewise.
5448 (c0): Likewise.
5449 (c1): Likewise.
5450 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5451 Adjust comments for base varying.
5452 (__expl_finite): Change alias to EXPL_FINITE.
5453 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
5454 tests for bugs.
5455 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5456
6c23e11c
JM
5457 [BZ #14064]
5458 * math/libm-test.inc (check_float_internal): Correct ulp
5459 calculation for subnormal expected results.
5460
29ba805c
AJ
54612012-05-06 Andreas Jaeger <aj@suse.de>
5462
5463 * Makeconfig (+math-flags): New, set to -frounding-math.
5464 (+cflags): Add +math-flags so that all of glibc gets compiled with
5465 it.
5466
5467 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
5468
7b17aeda
JM
54692012-05-05 Joseph Myers <joseph@codesourcery.com>
5470
5779f134
JM
5471 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
5472 Disable one test.
5473
41498f4d
JM
5474 [BZ #13787]
5475 [BZ #13922]
5476 [BZ #14036]
5477 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
5478 (__ieee754_expl): Allow for and saturate large arguments.
5479 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
5480 (u_threshold): Likewise.
5481 (__exp): Call __ieee754_exp before checking for overflow and
5482 underflow.
5483 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
5484 (u_threshold): Likewise.
5485 (__expf): Call __ieee754_expf before checking for overflow and
5486 underflow.
5487 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
5488 (u_threshold): Likewise.
5489 (__expl): Call __ieee754_expl before checking for overflow and
5490 underflow.
5491 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
5492 (__ieee754_expl): Allow for and saturate large arguments.
5493 * math/libm-test.inc (exp_test): Add another test. Do not allow
5494 missing overflow exception on overflow.
5495 (expm1_test): Do not allow missing overflow exception on overflow.
5496
6698b8bf
JM
5497 * sysdeps/i386/fpu/e_expl.c: Move to ...
5498 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
5499 rather than using inline asm.
5500 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
5501 * sysdeps/x86_64/fpu/e_expl.S: Copy from
5502 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
5503
7b17aeda
JM
5504 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
5505 (nice): Likewise.
5506 (poll): Likewise.
5507 (signal): Likewise.
5508 (time): Likewise.
5509 (times): Likewise.
5510
f7c85819
JM
55112012-05-04 Joseph Myers <joseph@codesourcery.com>
5512
5513 * sysdeps/unix/syscalls.list (adjtime): Add entry from
5514 sysdeps/unix/common/syscalls.list.
5515 (fchmod): Likewise.
5516 (fchown): Likewise.
5517 (ftruncate): Likewise.
5518 (getrusage): Likewise.
5519 (gettimeofday): Likewise.
5520 (setpgid): Likewise.
5521 (setregid): Likewise.
5522 (setreuid): Likewise.
5523 (sigaction): Likewise.
5524 (truncate): Likewise.
5525 (vhangup): Likewise.
5526 * sysdeps/unix/common/syscalls.list: Remove file.
5527 * sysdeps/unix/bsd/Implies: Don't include unix/common.
5528 * sysdeps/unix/sysv/linux/Implies: Likewise.
5529
336270d0
L
55302012-05-04 H.J. Lu <hongjiu.lu@intel.com>
5531
5532 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
5533 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
5534 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
5535 Moved to ...
5536 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5537 Here.
5538 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
5539 to ...
5540 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
5541 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
5542 to ...
5543 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
5544 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
5545 to ...
5546 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
5547 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
5548 to ...
5549 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
5550 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
5551 to ...
5552 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
5553 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
5554 to ...
5555 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
5556 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
5557 to ...
5558 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5559 Here.
5560 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
5561 to ...
5562 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
5563 Here.
5564 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
5565 to ...
5566 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
5567 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
5568 Moved to ...
5569 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
5570 Here.
5571 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
5572 to ...
5573 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
5574
d128e450
JM
55752012-05-04 Joseph Myers <joseph@codesourcery.com>
5576
fa8ee516
JM
5577 * sysdeps/unix/common/bits/dirent.h: Remove file.
5578 * sysdeps/unix/common/bits/fcntl.h: Likewise.
5579
d128e450
JM
5580 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
5581 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
5582 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
5583 * sysdeps/unix/bsd/isatty.c: Likewise.
5584 * sysdeps/unix/bsd/tcdrain.c: Likewise.
5585 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
5586 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
5587
ff8faaf0 55882012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 5589
62881be4 5590 [BZ #13563]
31dc8730
AZ
5591 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
5592 long double comparison inaccuracies.
5593 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5594 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5595
6fef930c
AS
55962012-05-04 Andreas Schwab <schwab@linux-m68k.org>
5597
5598 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
5599 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
5600
8f203e6c
JM
56012012-05-04 Joseph Myers <joseph@codesourcery.com>
5602
5603 [BZ #14049]
5604 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
5605 nonzero digits before rounding a hex value.
5606 * stdlib/tst-strtod.c (tests): Add another test.
5607
5197d9c2
AK
56082012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5609
5610 * sysdeps/s390/fpu/libm-test-ulps: Update.
5611
f0c1dedf
AJ
56122012-05-03 Andreas Jaeger <aj@suse.de>
5613
5614 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
5615 does not get optimized out.
5616 (malloc_opt_barrier): New.
5617
a65ef2ae 56182012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 5619 Roland McGrath <roland@hack.frob.com>
a65ef2ae 5620
2b942cb7 5621 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 5622 intermediate file deletion.
2b942cb7 5623 (generated): Add .symlist files.
a65ef2ae 5624
54b71e02
JM
56252012-05-03 Joseph Myers <joseph@codesourcery.com>
5626
5627 [BZ #13775]
5628 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
5629 Redirect under this condition.
5630 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5631 [__USE_GNU] (__dprintf_chk): Not under this condition.
5632 [__USE_GNU] (__vdprintf_chk): Likewise.
5633 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
5634 under this condition.
5635 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5636 [__USE_XOPEN2K8] (dprintf): Define under this condition.
5637 [__USE_XOPEN2K8] (vdprintf): Likewise.
5638 [__USE_GNU] (__dprintf_chk): Not under this condition.
5639 [__USE_GNU] (__vdprintf_chk): Likewise.
5640 [__USE_GNU] (dprintf): Likewise.
5641 [__USE_GNU] (vdprintf): Likewise.
5642
d3dfcc41
RM
56432012-05-03 Roland McGrath <roland@hack.frob.com>
5644
5645 * elf/Makefile (common-generated): Set this instead of generated for
5646 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
5647 $(all-built-dso)-derived lists.
5648
7ac30cc5
AJ
56492012-05-03 Andreas Jaeger <aj@suse.de>
5650
0c51e550
AJ
5651 * sysdeps/i386/fpu/libm-test-ulps: Update.
5652
7ac30cc5
AJ
5653 * FAQ: Removed.
5654 * FAQ.in: Likewise.
5655 * scripts/gen-FAQ.pl: Likewise.
5656 * manual/install.texi (Installation): Point to online location of
5657 FAQ.
5658 * Makefile (files-for-dist): Remove FAQ.
5659 (FAQ): Remove.
5660
d4c2917f
AM
56612012-05-02 Allan McRae <allan@archlinux.org>
5662
5663 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
5664 (LDFLAGS-reldepmod5.so): Likewise.
5665 (LDFLAGS-reldep6mod1.so): Likewise.
5666 (LDFLAGS-reldep6mod4.so): Likewise.
5667 (LDFLAGS-reldep8mod3.so): Likewise.
5668 (LDFLAGS-unload4mod1.so): Likewise.
5669 (LDFLAGS-unload4mod2.so): Likewise.
5670 (LDFLAGS-tst-initorder): Likewise.
5671 (LDFLAGS-tst-initordera2.so): Likewise.
5672 (LDFLAGS-tst-initordera3.so): Likewise.
5673 (LDFLAGS-tst-initordera4.so): Likewise.
5674 (LDFLAGS-tst-initorderb2.so): Likewise.
5675 (LDFLAGS-noload): Likewise.
5676 (LDFLAGS-next): Likewise.
5677 (LDFLAGS-order2mod1.so): Likewise.
5678 (LDFLAGS-order2mod2.so): Likewise.
5679 (LDFLAGS-tst-initorder2): Likewise.
5680 (LDFLAGS-tst-initorder2a.so): Likewise.
5681 (LDFLAGS-tst-initorder2b.so): Likewise.
5682 (LDFLAGS-tst-initorder2c.so): Likewise.
5683 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
5684
d77f993f
DM
56852012-05-02 David S. Miller <davem@davemloft.net>
5686
5687 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5688
171a70b4
PP
56892012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
5690
5691 [BZ #14055]
5692 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
5693
0be196ad
AJ
56942012-05-02 Andreas Jaeger <aj@suse.de>
5695
5696 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
5697 since we manipulate rounding mode.
5698 (CPPFLAGS-test-idouble.c): Likewise.
5699 (CPPFLAGS-test-ifloat.c): Likewise.
5700 (CFLAGS-test-ldouble.c): Likewise.
5701 (CFLAGS-test-double.c): Likewise.
5702 (CFLAGS-test-float.c): Likewise.
5703 (CFLAGS-test-misc.c): Likewise.
5704 (CFLAGS-test-test-fenv.c): Likewise.
5705
4f9d04aa
AZ
57062012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5707
2b942cb7
RM
5708 [BZ #2550]
5709 [BZ #2570]
5710 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
5711 comparisons to determine direction to adjust input.
4f9d04aa 5712
82a79e7d
RM
57132012-05-01 Roland McGrath <roland@hack.frob.com>
5714
f5a01ca9
RM
5715 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
5716 output to the target.
5717
90fe4186
RM
5718 * scripts/localplt.awk: New file.
5719 * elf/Makefile ($(objpfx)check-localplt): Target removed.
5720 (check-localplt-CFLAGS): Variable removed.
5721 ($(all-built-dso:=.jmprel)): New static pattern rule.
5722 (generated): Add those targets.
5723 (localplt-built-dso): New variable.
5724 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
5725
5726 * elf/check-localplt.c: File removed.
5727
82397ed6
RM
5728 * scripts/check-execstack.awk: New file.
5729 * elf/Makefile ($(objpfx)check-execstack): Target removed.
5730 (check-execstack-CFLAGS): Variable removed.
5731 ($(objpfx)check-execstack.h): Target removed.
5732 ($(objpfx)execstack-default): New target.
5733 (generated): Add that instead of check-execstack.h.
5734 ($(all-built-dso:=.phdr)): New static pattern rule.
5735 (generated): Add those targets.
5736 * elf/check-execstack.c: File removed.
5737
82a79e7d
RM
5738 * scripts/check-textrel.awk: New file.
5739 * elf/Makefile ($(objpfx)check-textrel): Target removed.
5740 (check-textrel-CFLAGS): Variable removed.
5741 (all-built-dso): Use := to define.o
5742 ($(all-built-dso:=.dyn)): New static pattern rule.
5743 (generated): Add those targets.
5744 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
5745 * config.make.in (READELF): New substituted variable.
5746 * elf/check-textrel.c: File removed.
5747
62fde54f 57482012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 5749
615605c9
JM
5750 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5751 allow.
5752 * conform/data/ctype.h-data [C99-based standards] (isblank):
5753 Expect function.
5754 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
5755 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
5756 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5757 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
5758 Specify type. Require positive value.
5759 (EILSEQ): Likewise.
5760 (ERANGE): Likewise.
5761 [ISO || POSIX] (EILSEQ): Do not expect.
5762 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
5763 Specify type. Require positive value.
5764 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
5765 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
5766 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
5767 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
5768 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
5769 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
5770 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
5771 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
5772 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
5773 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
5774 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
5775 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
5776 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
5777 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
5778 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
5779 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
5780 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
5781 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
5782 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
5783 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
5784 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
5785 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
5786 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
5787 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
5788 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
5789 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
5790 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
5791 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
5792 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
5793 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
5794 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
5795 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
5796 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
5797 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
5798 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
5799 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
5800 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
5801 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
5802 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
5803 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
5804 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
5805 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
5806 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
5807 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
5808 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
5809 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
5810 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
5811 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
5812 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
5813 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
5814 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
5815 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
5816 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
5817 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
5818 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
5819 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
5820 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
5821 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
5822 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
5823 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
5824 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
5825 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
5826 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
5827 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
5828 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
5829 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
5830 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
5831 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
5832 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
5833 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
5834 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
5835 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
5836 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
5837 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
5838 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
5839 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
5840 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
5841 Require >= 2.
5842 (FLT_ROUNDS): Expect as macro, not constant.
5843 (FLT_MANT_DIG): Use macro-int-constant.
5844 (DBL_MANT_DIG): Likewise.
5845 (LDBL_MANT_DIG): Likewise.
5846 (FLT_DIG): Likewise.
5847 (DBL_DIG): Likewise.
5848 (LDBL_DIG): Likewise.
5849 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
5850 (DBL_MIN_EXP): Likewise.
5851 (LDBL_MIN_EXP): Likewise.
5852 (FLT_MAX_EXP): Use macro-int-constant.
5853 (DBL_MAX_EXP): Likewise.
5854 (LDBL_MAX_EXP): Likewise.
5855 (FLT_MAX_10_EXP): Likewise.
5856 (DBL_MAX_10_EXP): Likewise.
5857 (LDBL_MAX_10_EXP): Likewise.
5858 (FLT_MAX): Use macro-constant.
5859 (DBL_MAX): Likewise.
5860 (LDBL_MAX): Likewise.
5861 (FLT_EPSILON): Use macro-constant. Give upper bound.
5862 (DBL_EPSILON): Likewise.
5863 (LDBL_EPSILON): Likewise.
5864 (FLT_MIN): Likewise.
5865 (DBL_MIN): Likewise.
5866 (LDBL_MIN): Likewise.
5867 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
5868 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
5869 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
5870 [ISO11] (FLT_HAS_SUBNORM): Likewise.
5871 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
5872 [ISO11] (DBL_DECIMAL_DIG): Likewise.
5873 [ISO11] (FLT_DECIMAL_DIG): Likewise.
5874 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
5875 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
5876 [ISO11] (FLT_TRUE_MIN): Likewise.
5877 [ISO11] (LDBL_TRUE_MIN): Likewise.
5878 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5879 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
5880 (SCHAR_MIN): Use macro-int-constant. Specify type.
5881 (SCHAR_MAX): Likewise.
5882 (UCHAR_MAX): Likewise.
5883 (CHAR_MIN): Likewise.
5884 (CHAR_MAX): Likewise.
5885 (MB_LEN_MAX): Use macro-int-constant.
5886 (SHRT_MIN): Use macro-int-constant. Specify type.
5887 (SHRT_MAX): Likewise.
5888 (USHRT_MAX): Likewise.
5889 (INT_MAX): Likewise.
5890 (INT_MIN): Use macro-int-constant. Specify type. Make upper
5891 bound negative.
5892 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
5893 bound with "U".
5894 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5895 bound with "L".
5896 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
5897 bound negative. Suffix upper bound with "L".
5898 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5899 bound with "UL".
5900 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
5901 Specify type.
5902 [C99-based standards] (LLONG_MAX): Likewise.
5903 [C99-based standards] (ULLONG_MAX): Likewise.
5904 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
5905 == 0.
5906 [ISO11] (max_align_t): Require type.
5907 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5908
c9140a62
JM
5909 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
5910 from $CFLAGS, without defining away __attribute__ calls.
5911 (checknamespace): Use $CFLAGS_namespace.
5912
9af0bf29
JM
5913 * conform/conformtest.pl (@keywords): Only include C99 keywords
5914 for standards based on C99 or C11.
5915
343222a2
JM
5916 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
5917 Disable tests.
5918 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
5919 UNIX98]: Likewise.
5920
661f8cf0
JM
5921 * conform/conformtest.pl: Handle "macro-int-constant" and test for
5922 usability of symbols in #if.
5923
ee74b9cb
JM
5924 * conform/conformtest.pl: If macro or constant types start
5925 "promoted:", expect the symbol to be of the following type
5926 promoted by the integer promotions.
62fde54f 5927
aafc49b3
JM
5928 * conform/conformtest.pl: Parse all "constant" and "macro" lines
5929 in one place. Also handle "macro-constant".
5930
fefdf574
JM
5931 * conform/conformtest.pl: Only accept expected macro values with
5932 "==". Parse all "macro" lines in one place.
5933 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
5934
f2d922fe
JM
5935 * conform/conformtest.pl: Handle braced types on "constant" lines
5936 instead of handling "typed-constant".
5937 * conform/data/signal.h-data: Use "constant" instead of
5938 "typed-constant".
5939
d22956c9
JM
5940 * conform/conformtest.pl: Handle "optional-" at start of lines in
5941 one place rather than duplicating several cases. Handle each
5942 format of "macro" line with initial "optional-".
5943
028e2e38
JM
5944 * conform/conformtest.pl: Only accept expected constant or
5945 optional-constant values with "==". Parse all "constant" lines in
5946 one place. Parse all "optional-constant" lines in one place.
5947 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
5948 * conform/data/fmtmsg.h-data: Likewise.
5949 * conform/data/netinet/in.h-data: Likewise.
5950 * conform/data/tar.h-data: Likewise.
5951 * conform/data/limits.h-data: Use "==" form on "constant" and
5952 "optional-constant" lines.
5953
1b8f2850
JM
5954 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
5955 Use -std=c99 for XOPEN2K.
5956 (@knownproblems): Remove.
5957 (newtoken): Don't check %isknown.
5958
a05a144b
JM
5959 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
5960 Do not expect macro.
5961 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
5962 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
5963 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
5964 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
5965 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
5966 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
5967 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
5968 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
5969 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
5970 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
5971 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
5972 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
5973 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
5974 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
5975 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
5976 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
5977 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
5978 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
5979 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
5980 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
5981 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
5982 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
5983 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
5984 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
5985 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
5986 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
5987 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
5988 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
5989 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
5990 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
5991 [XPG3] (acosh): Likewise.
5992 [XPG3] (asinh): Likewise.
5993 [XPG3] (atanh): Likewise.
5994 [XPG3] (cbrt): Likewise.
5995 [XPG3] (expm1): Likewise.
5996 [XPG3] (ilogb): Likewise.
5997 [XPG3] (log1p): Likewise.
5998 [XPG3] (logb): Likewise.
5999 [XPG3] (nextafter): Likewise.
6000 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
6001 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
6002 [XPG3] (remainder): Likewise.
6003 [XPG3] (rint): Likewise.
6004 [XPG3 || XPG4 || UNIX98] (round): Likewise.
6005 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
6006 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
6007 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
6008 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
6009 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
6010 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
6011 [UNIX98 || XOPEN2K] (scalb): Expect.
6012 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
6013 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
6014 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
6015 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
6016 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
6017 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
6018 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
6019 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
6020 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
6021 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
6022 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
6023 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
6024 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
6025 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
6026 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
6027 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
6028 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
6029 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
6030 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
6031 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
6032 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
6033 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
6034 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
6035 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
6036 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
6037 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
6038 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
6039 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
6040 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
6041 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
6042 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
6043 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
6044 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
6045 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
6046 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
6047 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
6048 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
6049 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
6050 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
6051 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
6052 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
6053 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
6054 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
6055 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
6056 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
6057 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
6058 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
6059 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
6060 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
6061 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
6062 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
6063 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
6064 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
6065 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
6066 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
6067 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
6068 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
6069 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
6070 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
6071 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
6072 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
6073 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
6074 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
6075 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
6076 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
6077 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
6078 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
6079 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
6080 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
6081 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
6082 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
6083 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
6084 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
6085 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
6086 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
6087 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
6088 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
6089 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
6090 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
6091 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
6092 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
6093 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
6094 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
6095 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
6096 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
6097 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
6098 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
6099 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
6100 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
6101 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
6102 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
6103 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
6104 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
6105 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
6106 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
6107 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
6108 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
6109 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
6110 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
6111 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
6112 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
6113 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
6114 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
6115 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
6116 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
6117 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
6118 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
6119 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
6120 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
6121 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
6122 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
6123 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
6124 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
6125 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
6126 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
6127 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
6128 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
6129 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
6130 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
6131 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
6132 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
6133 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
6134 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
6135 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
6136 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
6137 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
6138 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
6139 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
6140 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
6141 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
6142 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
6143 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
6144 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
6145 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
6146 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
6147 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
6148 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
6149
73c5ebe3
JM
6150 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
6151 _XOPEN_SOURCE_EXTENDED for XPG4.
6152
39c33b6c
JM
6153 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
6154
62fde54f
JM
6155 * Makeconfig (localtime): Remove variable.
6156 (inst_localtime-file): Likewise.
6157
0741d64c
AS
61582012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6159
6160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6161 Update.
6162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6163 Update.
6164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6165 Update.
6166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6167 Update.
6168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6169 Update.
6170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
6171 Update.
6172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6173 Update.
6174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
6175 Update.
6176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6177 Update.
6178
7cb029ee
JM
61792012-05-01 Joseph Myers <joseph@codesourcery.com>
6180
6181 [BZ #2550]
6182 [BZ #2570]
6183 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6184 comparisons to determine direction to adjust input.
6185 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6186 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
6187 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6188 Likewise.
6189 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6190 Likewise.
6191 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6192 Likewise.
6193 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6194 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6195 Likewise.
6196 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6197 Likewise.
6198 * math/libm-test.inc (nexttoward_test): Add more tests.
6199
412bd966
AS
62002012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6201
6202 [BZ #14040]
6203 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
6204 in version GLIBC_2.1, not GLIBC_2.0.
6205 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
6206 Likewise.
6207
9568c0c2
JM
62082012-04-30 Joseph Myers <joseph@codesourcery.com>
6209
adfbc8ac
JM
6210 [BZ #13942]
6211 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
6212 (1 - x) * (1 + x).
6213 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6214 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
6215 * math/libm-test.inc (acos_test): Add more tests.
6216 (asin_test): Likewise.
6217 * sysdeps/i386/fpu/libm-test-ulps: Update.
6218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6219
5ba3cc69
JM
6220 [BZ #14034]
6221 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
6222 of square root.
6223 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
6224 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6225 * math/libm-test.inc (acos_test_tonearest): New function.
6226 (acos_test_towardzero): Likewise.
6227 (acos_test_downward): Likewise.
6228 (acos_test_upward): Likewise.
6229 (asin_test_tonearest): Likewise.
6230 (asin_test_towardzero): Likewise.
6231 (asin_test_downward): Likewise.
6232 (asin_test_upward): Likewise.
6233 (main): Call the new functions.
6234 * sysdeps/i386/fpu/libm-test-ulps: Update.
6235 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6236
9568c0c2
JM
6237 [BZ #13884]
6238 [BZ #13924]
6239 * math/e_exp10.c: Include <float.h>.
6240 (__ieee754_exp10): Handle underflow here rather than multiplying
6241 large negative argument by M_LN10.
6242 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
6243 of __ieee754_expf.
6244 * math/e_exp10l.c: Include <float.h>.
6245 (__ieee754_exp10l): Handle underflow here rather than multiplying
6246 large negative argument by M_LN10l.
6247 * math/libm-test.inc (exp10_test): Add another test. Do not allow
6248 spurious overflow exception on underflow.
6249
5ac3ea17
MP
62502012-04-29 Marek Polacek <polacek@redhat.com>
6251
6252 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
6253 (__fortify_function): New macro.
6254 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
6255 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
6256 __extern_always_inline.
6257 * libio/bits/stdio2.h: Likewise.
6258 * libio/bits/stdio.h: Likewise.
6259 * string/string.h: Likewise.
6260 * string/bits/string3.h: Likewise.
6261 * include/stdio.h: Likewise.
6262 * stdlib/bits/stdlib.h: Likewise.
6263 * stdlib/stdlib.h: Likewise.
6264 * rt/bits/mqueue2.h: Likewise.
6265 * rt/mqueue.h: Likewise.
6266 * posix/bits/unistd.h: Likewise.
6267 * posix/unistd.h: Likewise.
6268 * io/bits/poll2.h: Likewise.
6269 * io/bits/fcntl2.h: Likewise.
6270 * io/fcntl.h: Likewise.
6271 * io/sys/poll.h: Likewise.
6272 * misc/bits/syslog.h: Likewise.
6273 * misc/bits/syslog-ldbl.h: Likewise.
6274 * misc/sys/syslog.h: Likewise.
6275 * socket/bits/socket2.h: Likewise.
6276 * socket/sys/socket.h: Likewise.
6277 * debug/tst-chk1.c: Likewise.
6278 * wcsmbs/bits/wchar2.h: Likewise.
6279 * wcsmbs/bits/wchar-ldbl.h: Likewise.
6280 * wcsmbs/wchar.h: Likewise.
6281
ecf0ebfb
AJ
62822012-04-29 Andreas Jaeger <aj@suse.de>
6283
6284 * Makerules (tests): Remove enable-check-abi protection.
6285 (check-abi-warn): Remove.
6286 (check-abi-%): Remove check-abi-warn usage.
6287
6288 * configure.in: Remove check-abi configure option.
6289 * configure: Regenerated.
6290 * config.make.in (enable-check-abi): Remove.
6291
6d5c57fa
AS
62922012-04-28 Andreas Schwab <schwab@linux-m68k.org>
6293
24c5d07e 6294 [BZ #14033]
ded5180a
AS
6295 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
6296 double functions to double *_finite functions.
6297
7e0d315d
AS
6298 [BZ #13941]
6299 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
6300 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
6301 LDBL_MIN_EXP.
6302 * stdio-common/Makefile (tests): Add tst-sprintf3.
6303 * stdio-common/tst-sprintf3.c: New file.
6304
6d5c57fa
AS
6305 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
6306 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
6307
0749ff8b
JM
63082012-04-28 Joseph Myers <joseph@codesourcery.com>
6309
6310 * conform/conformtest.pl: Remove duplicate typed-constant
6311 handling.
6312
8dbd5d7b
DM
63132012-04-28 David S. Miller <davem@davemloft.net>
6314
6315 * Makerules (%.abilist): Add vpath on sysdep_dirs.
6316 (check-abi-%): Remove AWK script prerequisite and explicit
6317 abilist directory.
6318 (check-abi): Rewrite to just diff the symlist with the abilist.
6319 (config-tls, config-abi-config): Delete, no longer used.
6320 (update-abi-%): Remove AWK script and explicit abilist directory.
6321 (update-abi): Rewrite to simply compare and conditionally copy the
6322 symlist and the sysdep abilist file. Remove update-abi-config
6323 checks.
6324 * abilist/ld.abilist: Remove.
6325 * abilist/libBrokenLocale.abilist: Remove.
6326 * abilist/libanl.abilist: Remove.
6327 * abilist/libcrypt.abilist: Remove.
6328 * abilist/libdl.abilist: Remove.
6329 * abilist/librt.abilist: Remove.
6330 * abilist/libthread_db.abilist: Remove.
6331 * abilist/libutil.abilist: Remove.
6332 * scripts/extract-abilist.awk: Remove.
6333 * scripts/merge-abilist.awk: Remove.
6334 * sysdeps/generic/libcidn.abilist: New file.
6335 * sysdeps/generic/libnss_compat.abilist: New file.
6336 * sysdeps/generic/libnss_db.abilist: New file.
6337 * sysdeps/generic/libnss_dns.abilist: New file.
6338 * sysdeps/generic/libnss_files.abilist: New file.
6339 * sysdeps/generic/libnss_hesiod.abilist: New file.
6340 * sysdeps/generic/libnss_nis.abilist: New file.
6341 * sysdeps/generic/libnss_nisplus.abilist: New file.
6342 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
6343 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
6344 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
6345 file.
6346 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
6347 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
6348 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
6349 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
6350 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
6351 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
6352 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
6353 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
6354 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
6355 file.
6356 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
6357 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
6358 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6359 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6360 file.
6361 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6362 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6363 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6364 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6365 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6366 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6367 file.
6368 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6369 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6370 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6371 file.
6372 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6373 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6374 New file.
6375 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6376 New file.
6377 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6378 New file.
6379 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6380 New file.
6381 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6382 New file.
6383 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6384 New file.
6385 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6386 New file.
6387 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6388 New file.
6389 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6390 New file.
6391 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6392 New file.
6393 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6394 New file.
6395 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6396 New file.
6397 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6398 New file.
6399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6400 file.
6401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6402 New file.
6403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6404 New file.
6405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6406 file.
6407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6408 New file.
6409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6410 New file.
6411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6412 file.
6413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6414 New file.
6415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6416 New file.
6417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6418 New file.
6419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6420 New file.
6421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6422 New file.
6423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6424 New file.
6425 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6426 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6427 file.
6428 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6429 New file.
6430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6431 file.
6432 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6433 file.
6434 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6435 file.
6436 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6437 file.
6438 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6439 file.
6440 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6441 New file.
6442 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6443 file.
6444 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6445 file.
6446 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6447 New file.
6448 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6449 file.
6450 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6451 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
6452 file.
6453 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6454 New file.
6455 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
6456 file.
6457 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
6458 file.
6459 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
6460 file.
6461 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
6462 file.
6463 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
6464 file.
6465 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6466 New file.
6467 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
6468 file.
6469 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
6470 file.
6471 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6472 New file.
6473 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
6474 file.
6475 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6476 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
6477 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
6478 file.
6479 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
6480 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
6481 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
6482 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
6483 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
6484 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
6485 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
6486 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
6487 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
6488 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
6489 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
6490 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
6491 file.
6492 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6493 New file.
6494 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
6495 file.
6496 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
6497 file.
6498 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
6499 file.
6500 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
6501 file.
6502 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
6503 file.
6504 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6505 New file.
6506 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6507 New file.
6508 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
6509 file.
6510 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6511 New file.
6512 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
6513 file.
6514 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
6515 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
6516 file.
6517 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6518 New file.
6519 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
6520 file.
6521 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
6522 file.
6523 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
6524 file.
6525 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
6526 file.
6527 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
6528 file.
6529 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6530 New file.
6531 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6532 New file.
6533 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
6534 file.
6535 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6536 New file.
6537 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
6538 file.
6539
41d73a1b
JM
65402012-04-28 Joseph Myers <joseph@codesourcery.com>
6541
6542 * conform/conformtest.pl: Fix typo in handling typed-constant from
6543 allow-header.
6544
28aeeda4
JM
65452012-04-27 Joseph Myers <joseph@codesourcery.com>
6546
adae8f5e
JM
6547 * README: Cut down references to pre-2.6 Linux kernels and
6548 Linuxthreads. Update lists of configurations in libc and ports
6549 and sort alphabetically. Say "or newer" with Linux kernel version
6550 requirements.
6551
28aeeda4
JM
6552 * config.h.in [IS_IN_build]: Allow compiling without optimization.
6553
a462cb63
RA
65542012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6555
6556 [BZ #887]
6557 * math/libm-test.inc (logb_test_downward): New test to expose
6558 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
6559 rounding mode.
6560
6ad3493e
JM
65612012-04-27 Joseph Myers <joseph@codesourcery.com>
6562
6563 [BZ #14027]
6564 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
6565 to be done.
6566 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
6567 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
6568
2ce4f015
JM
65692012-04-26 Joseph Myers <joseph@codesourcery.com>
6570
5aeb141a
JM
6571 * sysdeps/unix/i386/brk.S: Remove file.
6572 * sysdeps/unix/i386/dl-brk.S: Likewise.
6573 * sysdeps/unix/i386/pipe.S: Likewise.
6574 * sysdeps/unix/i386/sigreturn.S: Likewise.
6575 * sysdeps/unix/i386/syscall.S: Likewise.
6576 * sysdeps/unix/i386/vfork.S: Likewise.
6577 * sysdeps/unix/i386/wait.S: Likewise.
6578
7143acae
JM
6579 * sysdeps/unix/common/tcsendbrk.c: Move to ...
6580 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
6581
2ce4f015
JM
6582 * configure.in (arm*-none*): Do not allow without
6583 --enable-hacker-mode.
6584 (netbsd*): Remove case setting base_os.
6585 (386bsd*): Likewise.
6586 (freebsd*): Likewise.
6587 (bsdi*): Likewise.
6588 (osf*): Likewise.
6589 (sunos*): Likewise.
6590 (ultrix*): Likewise.
6591 (newsos*): Likewise.
6592 (dynix*): Likewise.
6593 (*bsd*): Likewise.
6594 (sysv*): Likewise.
6595 (isc*): Likewise.
6596 (esix*): Likewise.
6597 (sco*): Likewise.
6598 (minix*): Likewise.
6599 (irix4*): Likewise.
6600 (irix6*): Likewise.
6601 (solaris[2-9]*): Likewise.
6602 (none): Likewise.
6603 * configure: Regenerated.
6604
0ac229c8
AZ
66052012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6606
6607 [BZ #11521]
6608 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
6609 overflow or cancellation in calculating denominator.
6610 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
6611 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
6612 down expression to avoid unexpected rounding in newer GCCs.
6613 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
6614
33f244f4
DM
66152012-04-26 David S. Miller <davem@davemloft.net>
6616
6617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
6618 long-double compat symbols.
6619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
6623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
6625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
6626 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
6627 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
6628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
6630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
6631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6632
cfa1f3e8
DM
66332012-04-25 David S. Miller <davem@davemloft.net>
6634
6635 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
6636 HWCAP_* values only after the memory barriers have been defined.
6637 (atomic_full_barrier): Define.
6638 (atomic_read_barrier): Define.
6639 (atomic_write_barrier): Define.
6640
6e236b92
SP
66412012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6642
6643 * shlib-versions: Add libgcc_s version information.
6644 * sysdeps/generic/libgcc_s.h: Remove.
6645 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
6646 libgcc_s.h.
6647 * sysdeps/gnu/unwind-resume.c: Likewise.
6648 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
6649
aab39a09
DM
66502012-04-25 David S. Miller <davem@davemloft.net>
6651
6652 * sysdeps/unix/sparc/brk.S: Delete.
6653 * sysdeps/unix/sparc/dl-brk.S: Delete.
6654 * sysdeps/unix/sparc/pipe.S: Delete.
6655 * sysdeps/unix/sparc/sysdep.S: Delete.
6656 * sysdeps/unix/sparc/sysdep.h: Delete.
6657 * sysdeps/unix/sparc/vfork.S: Delete.
6658 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
6659 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
6660 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
6661 ret_ERRVAL, r0, r1, MOVE): Define.
6662 (JUMPTARGET): Remove.
6663 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
6664 sysdeps/unix/sparc/sysdep.h
6665 (ENTRY, END): Remove.
6666 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6667
a3cc4f48
JM
66682012-04-25 Joseph Myers <joseph@codesourcery.com>
6669
2ed8cda2
JM
6670 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
6671 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
6672 -DIS_IN_build.
6673
35d76d59
JM
6674 * timezone/README: Update upstream location and email address for
6675 tzcode and tzdata.
6676 * timezone/zdump.c: Update from tzcode 2012b.
6677 * timezone/zic.c: Likewise.
6678
a3cc4f48
JM
6679 * configure.in (libc_cv_as_needed): Remove test.
6680 * configure: Regenerated.
6681 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
6682 conditional definition.
6683 [$(have-as-needed) != yes] (no-as-needed): Likewise.
6684 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
6685 * config.make.in (have-as-needed): Remove variable.
6686
ceab42c3
SP
66872012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6688 Paul Pluzhnikov <ppluzhnikov@google.com>
6689
6690 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
6691 strings correctly.
6692
3ce2865f
CLT
66932012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
6694
6695 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
6696 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
6697 * sysdeps/sh/strlen.S: Likewise.
6698
f37e0d68
JM
66992012-04-24 Joseph Myers <joseph@codesourcery.com>
6700
ae186e9a
JM
6701 * sysdeps/unix/fork.S: Remove file.
6702 * sysdeps/unix/i386/fork.S: Likewise.
6703 * sysdeps/unix/sparc/fork.S: Likewise.
6704
b96914af
JM
6705 * sysdeps/unix/system.c: Remove file.
6706 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
6707
f37e0d68
JM
6708 * sysdeps/unix/getegid.S: Remove file.
6709 * sysdeps/unix/geteuid.S: Likewise.
6710
87ef29ca
RM
67112012-04-24 Roland McGrath <roland@hack.frob.com>
6712
83bcd236
RM
6713 * scripts/check-localplt.awk: New file.
6714 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
6715 of diff.
6716 * scripts/data/localplt-generic.data: Add a comment.
6717
87ef29ca
RM
6718 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
6719 NODE when __dir_mkfile failed.
6720 * sysdeps/mach/hurd/symlinkat.c: Likewise.
6721 Reported by Ludovic Courtès <ludo@gnu.org>.
6722
e5a6e567
AJ
67232012-04-24 Andreas Jaeger <aj@suse.de>
6724
6725 * Makerules (common-clean): Also remove gen-as-const-headers
6726 files.
6727
c1820385
JM
67282012-04-24 Joseph Myers <joseph@codesourcery.com>
6729
6730 * Makerules (native-compile): Do not change working directory for
6731 build. Use $(OUTPUT_OPTION) in command.
6732 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
6733
94e02fc4
AZ
67342012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6735
6736 [BZ #13886]
6737 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
6738 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
6739 * math/libm-test.inc (floor_test): Add more tests.
6740 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
6741
3a533ca3
JM
67422012-04-24 Joseph Myers <joseph@codesourcery.com>
6743
940ab4b3
JM
6744 * sysdeps/unix/getdents.c: Remove file.
6745 * sysdeps/unix/sysv/getdents.c: Likewise.
6746 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
6747
90e037bd
JM
6748 * sysdeps/unix/syscalls.list (madvise): Add syscall from
6749 sysdeps/unix/mman/syscalls.list.
6750 (mmap): Likewise.
6751 (mprotect): Likewise.
6752 (msync): Likewise.
6753 (munmap): Likewise.
6754 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
6755 * sysdeps/unix/mman/syscalls.list: Remove.
6756 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
6757
3a533ca3
JM
6758 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
6759 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
6760 * configure: Regenerated.
6761 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
6762 $(libgcc_s_suffix).
6763 * config.make.in (libgcc_s_suffix): Remove variable.
6764
1ad743de
JM
67652012-04-23 Joseph Myers <joseph@codesourcery.com>
6766
4ad451e2
JM
6767 * sysdeps/unix/sysv/gethostname.c: Move to ...
6768 * sysdeps/posix/gethostname.c: ... here.
6769
5e37ce39
JM
6770 * sysdeps/unix/execve.S: Remove file.
6771
1ad743de
JM
6772 * sysdeps/unix/_exit.S: Remove file.
6773
4e681b5b
AJ
67742012-04-23 Andreas Jaeger <aj@suse.de>
6775
6776 [BZ #13739]
6777 * manual/Makefile: Remove make dist support, there's no
6778 need for a stand-alone documentation tar ball.
6779 (TEXI2DVI): Define always, it's not in Makeconfig.
6780 (dist): Removed.
6781 (tar-it): Removed.
6782 (edition): Removed.
6783 (glibc-doc-$(edition).tar): Removed
6784 (%.Z): Removed.
6785 (%.gz): Removed.
6786 (%.uu): Removed.
6787 (ETAGS): Remove, it's in Makeconfig.
6788 (move-if-change): Remove, it's in Makeconfig.
6789
c0baea34
PE
67902013-04-23 Paul Eggert <eggert@cs.ucla.edu>
6791
6792 [BZ #13970]
6793 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
6794 (strtod, strtof, strtold, strtol, strtoul, strtoq)
6795 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
6796 (strtod_l, strtof_l, strtold_l): Remove __wur.
6797 It is not necessarily an error to ignore strtol's return value.
6798 One can reliably look at the stored endptr to decide whether
6799 the number had valid syntax.
6800
7c0616fa
AJ
68012012-04-21 Andreas Jaeger <aj@suse.de>
6802
803cb6b7 6803 [BZ #13739]
7c0616fa
AJ
6804 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
6805
b0fe253f
JM
68062012-04-21 Joseph Myers <joseph@codesourcery.com>
6807
6808 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
6809 * sysdeps/unix/sysv/Versions: Remove file.
6810
8280f22d
MT
68112012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
6812
6813 [BZ #13927]
6814 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6815
75ce411f 68162012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
6817
6818 [BZ #7064]
6819 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
6820 version from __vm86.
6821
097d59fa
JM
68222012-04-20 Joseph Myers <joseph@codesourcery.com>
6823
a90f3bcb
JM
6824 * sysdeps/unix/common/lxstat.c: Remove file.
6825 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
6826
edc7ea78
JM
6827 * sysdeps/unix/sysv/Makefile: Remove file.
6828
cb78c221
JM
6829 * sysdeps/unix/sysv/direct.h: Remove file.
6830
efa6a45f
JM
6831 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
6832 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
6833 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
6834 * sysdeps/unix/sysv/bits/signum.h: Likewise.
6835 * sysdeps/unix/sysv/bits/stat.h: Likewise.
6836 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
6837 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
6838
9c9f2d0c
JM
6839 * sysdeps/unix/sysv/setrlimit.c: Remove file.
6840
4541c83b
JM
6841 * sysdeps/unix/xmknod.c: Remove file.
6842 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
6843
f5d153a0
JM
6844 * sysdeps/unix/sysv/settimeofday.c: Remove file.
6845
aa746595
JM
6846 * sysdeps/unix/sysv/i386/time.S: Remove file.
6847
cce5905e
JM
6848 * sysdeps/unix/fxstat.c: Remove file.
6849 * sysdeps/unix/xstat.c: Likewise.
6850 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
6851
37fa3841
JM
6852 * sysdeps/unix/sysv/sigaction.c: Remove file.
6853
ff1962a3
JM
6854 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
6855 (sysdep_headers): Remove variable.
6856 [termio.h not in sysdep_headers] (generated): Likewise.
6857 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
6858 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
6859 * sysdeps/unix/sysv/tcdrain.c: Likewise.
6860 * sysdeps/unix/sysv/tcflow.c: Likewise.
6861 * sysdeps/unix/sysv/tcflush.c: Likewise.
6862 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
6863 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
6864 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6865 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6866 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
6867
e7740d31
JM
6868 * sysdeps/unix/siglist.c: Remove file.
6869
ee06f18b
JM
6870 * sysdeps/unix/getppid.S: Remove file.
6871
097d59fa
JM
6872 * sysdeps/unix/mkdir.c: Remove file.
6873 * sysdeps/unix/rmdir.c: Likewise.
6874
ff3d51ec
AS
68752012-04-19 Andreas Schwab <schwab@linux-m68k.org>
6876
6877 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
6878 ERR_MAX value.
6879 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
6880 errlist-compat value.
6881
50f81fd7
DM
68822012-04-18 David S. Miller <davem@davemloft.net>
6883
6884 * sysdeps/generic/memcopy.h (reg_char): Delete.
6885 * debug/strcat_chk.c: Use char, not reg_char.
6886 * debug/strcpy_chk.c: Likewise.
6887 * debug/strncat_chk.c: Likewise.
6888 * debug/strncpy_chk.c: Likewise.
6889 * string/memchr.c: Likewise.
6890 * string/memrchr.c: Likewise.
6891 * string/rawmemchr.c: Likewise.
6892 * string/strcat.c: Likewise.
6893 * string/strchr.c: Likewise.
6894 * string/strchrnul.c: Likewise.
6895 * string/strcmp.c: Likewise.
6896 * string/strcpy.c: Likewise.
6897 * string/strncat.c: Likewise.
6898 * string/strncmp.c: Likewise.
6899 * string/strncpy.c: Likewise.
6900
8ff41c46
WS
69012012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6902
6903 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
6904 __builtin_memcopy is called when src and dest ranges are known to not
6905 overlap.
6906
6b652f46
WS
69072012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6908
6909 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
6910 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
6911 fwd_align_merge macro call.
6912 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
6913 bwd_align_merge macro call.
6914 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6915
b282631e
WS
69162012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6917
6918 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
6919 bwd_align_merge macros.
6920 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
6921 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
6922 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6923
95aa737c
DM
69242012-04-18 David S. Miller <davem@davemloft.net>
6925
6926 * sysdeps/sparc/sparc64/memcopy.h: Delete.
6927
7a99a614
AJ
69282012-04-18 Andreas Jaeger <aj@suse.de>
6929
6930 [BZ# 6794]
6931 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
6932 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
6933 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6934
6935 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
6936 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
6937 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6938
6939 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
6940 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
6941 Adjust for changed ldbl-128 files.
6942
6943 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
6944 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
6945 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6946
e5270c23
DM
69472012-04-17 David S. Miller <davem@davemloft.net>
6948
6949 * sysdeps/sparc/sparc32/memcopy.h: Delete.
6950
fb5e92c9
AS
69512012-04-17 Andreas Schwab <schwab@linux-m68k.org>
6952
6953 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
6954 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
6955 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
6956 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
6957 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6958 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
6959
76da7265
AZ
69602012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6961
6962 [BZ #6794]
6963 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
6964 * math/libm-test.inc: Add ilogb errno and exception tests.
6965 * math/w_ilogb.c: New file: ilogb wrapper.
6966 * math/w_ilogbf.c: New file: ilogbf wrapper.
6967 * math/w_ilogbl.c: New file: ilogbl wrapper.
6968 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
6969 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
6970 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
6971 exception being thrown with 0.0 as argument.
6972 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
6973 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
6974 exception being thrown with 0.0 as argument.
6975 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
6976 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6977 exception being thrown with 0.0 as argument.
6978 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
6979 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6980 exception being thrown with 0.0 as argument.
6981 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
6982 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 6983 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
6984 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
6985 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
6986 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
6987 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
6988 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
6989 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
6990
0396e69d
PB
69912012-04-17 Petr Baudis <pasky@ucw.cz>
6992
6993 * include/sys/uio.h: Change __vector to __iovec to avoid clash
6994 with altivec.
6995
750b5926
MP
69962012-04-16 Marek Polacek <polacek@redhat.com>
6997
6998 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
6999
751728a1
MP
70002012-04-16 Marek Polacek <polacek@redhat.com>
7001
7002 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
7003 operands of fdivp instruction.
7004
34a27407
L
70052012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7006
7007 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
7008 * elf/tst-auditmod3b.c: Likewise.
7009 * elf/tst-auditmod4b.c: Likewise.
7010 * elf/tst-auditmod5b.c: Likewise.
7011 * elf/tst-auditmod6b.c: Likewise.
7012 * elf/tst-auditmod6c.c: Likewise.
7013 * elf/tst-auditmod7b.c: Likewise.
7014 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
7015 * sysdeps/x86_64/preconfigure.in: Likewise.
7016 * sysdeps/x86_64/preconfigure: Regenerated.
7017
7e73e17d
L
70182012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7019
7020 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
7021 __ILP32__.
7022
c7a6ab72
AB
70232012-04-13 Antoine Balestrat <merkil33@gmail.com>
7024
7025 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7026 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
7027
a9e8e0e0
CL
70282012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
7029
7030 [BZ #13973]
7031 * locale/iso-639.def: Fix gl language name. Spotted by
7032 Yaron Shahrabani.
7033
ec98af7d
RM
70342012-04-12 Roland McGrath <roland@hack.frob.com>
7035
7036 [BZ #2074]
7037 * libio/libio.h (__io_write_fn): Update comment.
7038
247c3ede
PB
70392012-04-12 Petr Baudis <pasky@ucw.cz>
7040
7041 [BZ #2074]
7042 * stdio.texi (Hook Functions): The user provided writer function
7043 is not allowed to return -1.
7044
55939d6d
DM
70452012-04-11 David S. Miller <davem@davemloft.net>
7046
7047 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7048
90020f5a
MF
70492012-04-11 Mike Frysinger <vapier@gentoo.org>
7050
7051 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
7052 Add a leading slash to rtkaio.
7053
288f9098
JM
70542012-04-11 Jim Meyering <meyering@redhat.com>
7055
90020f5a
MF
7056 [BZ #11959]
7057 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
7058 It is not necessarily an error to ignore fwrite's return
7059 value. One can reliably use ferror to test for errors after
7060 the fact.
288f9098 7061
4be2b570
L
70622012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7063
7064 * bits/types.h (__snseconds_t): New type.
7065 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
7066
7067 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
7068 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7069 (__SNSECONDS_T_TYPE): Likewise.
7070 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7071 (__SNSECONDS_T_TYPE): Likewise.
7072 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7073 (__SNSECONDS_T_TYPE): Likewise.
7074
288f9098 70752012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
7076
7077 [BZ #2636]
7078 * manual/time.texi (Processor Time): Return type of times is
7079 elapsed real time since an arbitrary point in the past.
7080 (CPU Time): Move CLK_TCK from here...
7081 (Processor Time): ...to here. Correct description.
7082 * manual/conf.texi (Constants for Sysconf): Correct description of
7083 _SC_CLK_TCK.
7084
d7dd4413
DM
70852012-04-10 David S. Miller <davem@davemloft.net>
7086
7087 [BZ #13967]
7088 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
7089 where the is a gap between DT_REL(A) and DT_JMPREL.
7090
b46068fc
L
70912012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7092
7093 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
7094 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7095 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7096
73d65cc3
SP
70972012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7098
7099 * elf/dl-support.c (_dl_inhibit_cache): New variable.
7100 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
7101 (dl_main): Handle --inhibit-cache.
7102 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
7103 _dl_inhibit_cache.
7104 * elf/dl-load.c (_dl_map_object): Use it.
7105 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
7106
bcc8d661
JM
71072012-04-09 Joseph Myers <joseph@codesourcery.com>
7108
8f9a2fae
JM
7109 [BZ #13872]
7110 * sysdeps/i386/fpu/e_powl.S (p78): New object.
7111 (__ieee754_powl): Saturate large exponents rather than testing for
7112 overflow of y*log2(x).
7113 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7114 * math/libm-test.inc (pow_test): Do not permit spurious overflow
7115 exceptions.
7116
bcc8d661
JM
7117 [BZ #11521]
7118 * math/s_ctan.c: Include <float.h>.
7119 (__ctan): Avoid internal overflow or cancellation in calculating
7120 denominator.
7121 * math/s_ctanf.c: Likewise.
7122 * math/s_ctanl.c: Likewise.
7123 * math/s_ctanh.c: Likewise.
7124 * math/s_ctanhf.c: Likewise.
7125 * math/s_ctanhl.c: Likewise.
7126 * math/libm-test.inc (ctan_test): Add more tests.
7127 (ctanh_test): Likewise.
7128 * sysdeps/i386/fpu/libm-test-ulps: Update.
7129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7130
823fbbb4
AJ
71312012-04-09 Andreas Jaeger <aj@suse.de>
7132
03879793
AJ
7133 [BZ #6894]
7134 * manual/filesys.texi (Directory Entries): Mention that d_namlen
7135 is an optional BSD extension.
7136
823fbbb4
AJ
7137 [BZ #10254]
7138 * manual/stdio.texi (Opening Streams): Document additional fopen
7139 parameters.
7140
8de131cb
RM
71412012-04-09 Roland McGrath <roland@hack.frob.com>
7142
7143 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
7144 %eax without telling the compiler.
7145
c0ed9d7d
CD
71462012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
7147
7148 [BZ # 13963]
7149 * manual/install.texi: Use sourceware.org.
7150
c483f6b4
JM
71512012-04-09 Joseph Myers <joseph@codesourcery.com>
7152
d7dd9453
JM
7153 [BZ #13873]
7154 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
7155 (__ieee754_pow): Generate overflow and underflow using huge*huge
7156 and tiny*tiny rather than just returning constant infinity or zero
7157 for large exponents.
7158 * math/libm-test.inc (pow_test): Require overflow exceptions for
7159 applicable cases of large exponents.
7160
c483f6b4
JM
7161 [BZ #706]
7162 * sysdeps/i386/fpu/e_pow.S (p10): New object.
7163 (__ieee754_pow): Use iterative multiplication algorithm only for
7164 integer exponents with absolute value below 1024. Check for odd
7165 integer exponents when using algorithm for real exponents.
7166 * math/libm-test.inc (pow_test): Add more tests.
7167 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7168
d2de7579
JM
71692012-04-08 Joseph Myers <joseph@codesourcery.com>
7170
7171 [BZ #13705]
7172 * math/libm-test.inc (exp_test): Do not allow overflow exception
7173 on underflow test.
7174
f77f1232
AJ
71752012-04-08 Aurelien Jarno <aurelien@aurel32.net>
7176
7177 [BZ #13705]
7178 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
7179 instead of __kernel_standard_f.
7180
3884932b
MF
71812012-04-08 Mike Frysinger <vapier@gentoo.org>
7182
7183 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
7184 * sysdeps/x86_64/memset_chk.S: Likewise.
7185
54472e9c
AJ
71862012-04-08 Andreas Jaeger <aj@suse.de>
7187
6ab0fbfc
AJ
7188 [BZ #10153]
7189 * manual/startup.texi (Environment Access): Describe return value
7190 for putenv and setenv.
7191
61efba8c
AJ
7192 [BZ #6895]
7193 * manual/filesys.texi (Directory Entries): Add description for
7194 DT_LNK.
7195
95c3f29a
AJ
7196 [BZ #6890]
7197 * manual/filesys.texi (Directory Entries): Clarify that it's file
7198 system not operating system in the description of DT_UNKNOWN.
7199
54472e9c
AJ
7200 [BZ #6578]
7201 * manual/syslog.texi (closelog): Fix reference, it's openlog.
7202
624254b1
SC
72032012-04-08 Stephen Compall <s11@member.fsf.org>
7204
7205 [BZ #6649]
7206 * manual/llio.texi (Opening and Closing Files): Add cross
7207 reference to explain mode argument.
7208
1e4920e0
MF
72092012-04-07 Mike Frysinger <vapier@gentoo.org>
7210
7211 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
7212 * sysdeps/x86_64/memset_chk.S: Likewise.
7213
5ed848f3
DM
72142012-04-07 David S. Miller <davem@davemloft.net>
7215
7216 * elf/elf.h (R_SPARC_WDISP10): Define.
7217 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
7218 R_SPARC_SIZE32.
7219 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7220 R_SPARC_SIZE64 and R_SPARC_H34.
7221
96154cd8
CD
72222012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
7223
7224 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
7225 conditions and remove no longer applicable assertion.
7226
9904dc47
L
72272012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7228
7229 * bits/byteswap.h: Include <features.h>.
7230 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7231 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7232
f8887d0a
L
72332012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7234
7235 * bits/byteswap.h (__bswap_16): Removed.
7236 Include <bits/byteswap-16.h> to get __bswap_16.
7237 * sysdeps/i386/bits/byteswap.h: Likewise.
7238 * sysdeps/s390/bits/byteswap.h: Likewise.
7239 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7240 * bits/byteswap-16.h: New file.
7241 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7242 * sysdeps/s390/bits/byteswap-16.h: Likewise.
7243 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
7244 * string/Makefile (headers): Add bits/byteswap-16.h.
7245
62470f60
PP
72462012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7247
7248 [BZ #13895]
7249 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
7250 extra indirection.
7251 * nss/Makefile (tests-static, tests): Add tst-nss-static.
7252 * nss/tst-nss-static.c: New.
7253
4dad7bab
RM
72542012-04-06 Robert Millan <rmh@gnu.org>
7255
7256 [BZ #6486]
7257 * manual/llio.texi (File Position Primitive): lseek
7258 refers to WHENCE when it really means OFFSET.
7259
e9142a17
AJ
72602012-04-06 Andreas Jaeger <aj@suse.de>
7261
2c040eff
AJ
7262 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
7263 strncmp declarations.
7264
e9142a17
AJ
7265 * abilist/libc.abilist: Add __poll and __ppoll.
7266
ff9f1c5f
DM
72672012-04-05 David S. Miller <davem@davemloft.net>
7268
dcd2ae90
DM
7269 * scripts/check-local-headers.sh: Accept a host triplet in the
7270 path matched by the exclude regexp.
7271
993eb054
DM
7272 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
7273 definition.
7274 * sysdeps/powerpc/powerpc32/dl-machine.h
7275 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
7276 * sysdeps/s390/s390-32/dl-machine.h
7277 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7278 * sysdeps/sparc/sparc32/dl-machine.h
7279 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7280 * sysdeps/sparc/sparc64/dl-machine.h
7281 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7282
ff9f1c5f
DM
7283 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
7284 lazy binding.
48e2e132 7285 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
7286 undefined symbol errors.
7287
48e2e132 7288 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
7289 DT_NEEDED entries.
7290
e80d6f94
MM
72912012-04-05 Michael Matz <matz@suse.de>
7292
7293 [BZ #13592]
7294 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
7295
349fa79f
AJ
72962012-04-05 Andreas Jaeger <aj@suse.de>
7297
7298 [BZ #13908]
7299 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
7300 comment.
7301
f402708f
KK
73022012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7303
7304 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
7305 which ROUND is no valid rounding mode.
7306
2ecccfc9
KK
73072012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7308
7309 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
7310 read again.
7311 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
7312
8a53f50f
KK
73132012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7314
7315 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
7316 an exception using FPU order intentionally.
7317
73182012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7319
7320 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
7321 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
7322 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
7323 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
7324
d653abb7
SJ
73252012-04-05 Simon Josefsson <simon@josefsson.org>
7326
7327 [BZ #12340]
7328 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
7329 EINVAL when BUFLEN is too smal.
7330
c3b1bf7d
TS
73312012-04-05 Thomas Schwinge <thomas@codesourcery.com>
7332
7333 [BZ #13553]
7334 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
7335 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
7336
b1aa60f3
AJ
73372012-04-03 Andreas Jaeger <aj@suse.de>
7338
c3b1bf7d 7339 [BZ #13938]
67f60a26
AJ
7340 * manual/setjmp.texi (System V contexts): Fix sentence.
7341
b1aa60f3
AJ
7342 [BZ #13926]
7343 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
7344 New macro for this case.
7345 [!__GNUC__] (__bswap_64): New inline function for this case.
7346 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7347 * bits/byteswap.h: Likewise.
7348 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
7349 ull, guard with __GLIBC_HAVE_LONG_LONG.
7350
7351 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
7352 __GLIBC_HAVE_LONG_LONG.
7353
7354 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
7355 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
7356
39c59c35
TMQMF
73572012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7358
7359 [BZ #13691]
7360 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7361 inptr and inend, rather than using last_ch.
7362
135ffda8
DM
73632012-04-02 David S. Miller <davem@davemloft.net>
7364
7365 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7366 * stdio-common/printf-parse.h (read_int): Change return type to
7367 'int', return -1 on INT_MAX overflow.
7368 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7369 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
7370 overflows INT_MAX. Check for overflow of in-format-string precision
7371 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
7372 SIZE_MAX not INT_MAX for integer overflow test.
7373 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7374 skip the construct in the format string but do not record anything.
7375 * stdio-common/bug22.c: Adjust to test both width/prevision
7376 INT_MAX overflow as well as total length INT_MAX overflow. Check
7377 explicitly for proper errno values.
7378
228c019e
TS
73792012-04-02 Thomas Schwinge <thomas@codesourcery.com>
7380
302cadd3
TS
7381 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7382 CHAR_MAX.
7383 * string/test-strcmp.c [! WIDE]: Likewise.
7384 * time/tst-mktime2.c: Likewise for INT_MAX.
7385 * string/test-string.h: #include <sys/param.h> for MIN.
7386
228c019e
TS
7387 * csu/init-first.c (__libc_init_first): Call __ctype_init.
7388 * sysdeps/i386/init-first.c (init): Likewise.
7389 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7390 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7391 * sysdeps/sh/init-first.c (init): Likewise.
7392
cfa633f5
UD
73932012-04-01 Ulrich Drepper <drepper@gmail.com>
7394
7395 * po/ru.po: Update from translation team.
d1635ef8 7396 * po/vi.po: Likewise.
cfa633f5 7397
6cd0a5ea
SP
73982012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7399
7400 * resolv/nss_dns/dns-host.c: Merge copyright years.
7401
4b43400f
LD
74022012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7403
7404 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7405 Optimize memcpy with prefetch if
7406 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
7407 src, dst pointers have unequal 16 byte alignments.
7408
48c41d04
SP
74092012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7410
7411 [BZ #13928]
7412 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7413 from a CNAME entry and return the minimum ttl for the query.
7414 (gaih_getanswer_slice): Likewise.
7415
b8dc394d
JL
74162012-03-30 Jeff Law <law@redhat.com>
7417
7418 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7419 due to long keys.
7420 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7421 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7422
2f5a5ed0
JL
7423 * resolv/nss_dns/dns-host.c: Update copyright year.
7424
1d39e359
UD
74252012-03-30 Ulrich Drepper <drepper@gmail.com>
7426
c030f70c 7427 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 7428 requests to save a system call. Fix check that all bytes are sent.
c030f70c 7429
1d39e359
UD
7430 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7431 comments for sendmmsg.
7432
74332012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
7434
7435 [BZ #13691]
7436 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7437 with only 1 character between 0x0041 and 0x01b0.
7438 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7439 * wcsmbs/tst-mbsnrtowcs.c: New file.
7440
20fde227
DM
74412012-03-29 David S. Miller <davem@davemloft.net>
7442
7443 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7444 small copies by hand.
7445
984a4237
JL
74462012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7447
7448 [BZ #13761]
7449 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7450 _nss_compat_initgroups_dyn): Fall back to malloc/free
7451 for large group memberships.
7452
18c9d62b
DM
74532012-03-28 David S. Miller <davem@davemloft.net>
7454
88d85d4f
DM
7455 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
7456 that branches into memcpy.
7457 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7458 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7459 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7460 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7461 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
7462 bits.
7463 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
7464 implementation too.
7465 * sysdeps/sparc/mempcpy.S: New file.
7466
e5aa83e1
DM
7467 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
7468 the IFUNC routine in the libc case.
7469 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7470
88570753
DM
7471 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
7472 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
7473 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
7474 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7475 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
7476 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
7477 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
7478 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
7479
249d7567
DM
7480 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
7481 loop to 256 bytes instead of 64 bytes and fix test signedness.
7482
18c9d62b
DM
7483 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
7484 * sysdeps/sparc/sparc32/Makefile: rather than here...
7485 * sysdeps/sparc/sparc64/Makefile: and here.
7486
05f3d1f6
UD
74872012-03-28 Ulrich Drepper <drepper@gmail.com>
7488
7489 * malloc/mallocbug.c: Avoid warnings about unused variables.
7490
86ae07a8
JL
74912012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7492
7493 [BZ #13760]
7494 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
7495 in the right place. Discard and retry query if response is
7496 larger than input buffer size.
7497
41bf21a1
JM
74982012-03-28 Joseph Myers <joseph@codesourcery.com>
7499
d6270972
JM
7500 [BZ #369]
7501 [BZ #2678]
7502 [BZ #3866]
7503 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
7504 x for large integer exponent.
7505 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7506 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
7507 sign of result as needed afterwards.
7508 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7509 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
7510 result for underflowing pow the same as for overflow.
7511 (__kernel_standard_l): Handle powl overflow and underflow here
7512 rather than calling __kernel_standard.
7513 * math/libm-test.inc (pow_test): Add more tests.
7514
414fca03 7515 [BZ #3868]
41bf21a1
JM
7516 [BZ #13879]
7517 [BZ #13910]
7518 [BZ #13911]
7519 [BZ #13912]
7520 [BZ #13913]
7521 [BZ #13915]
7522 [BZ #13916]
7523 [BZ #13917]
7524 [BZ #13918]
7525 [BZ #13919]
7526 [BZ #13920]
7527 [BZ #13921]
7528 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
7529 * sysdeps/ieee754/k_standard.c: Include <float.h>.
7530 (__kernel_standard_l): New function.
7531 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
7532 __kernel_standard.
7533 * math/w_acosl.c (__acosl): Likewise.
7534 * math/w_asinl.c (__asinl): Likewise.
7535 * math/w_atan2l.c (__atan2l): Likewise.
7536 * math/w_atanhl.c (__atanhl): Likewise.
7537 * math/w_coshl.c (__coshl): Likewise.
7538 * math/w_exp10l.c (__exp10l): Likewise.
7539 * math/w_exp2l.c (__exp2l): Likewise.
7540 * math/w_fmodl.c (__fmodl): Likewise.
7541 * math/w_hypotl.c (__hypotl): Likewise.
7542 * math/w_j0l.c (__j0l, __y0l): Likewise.
7543 * math/w_j1l.c (__j1l, __y1l): Likewise.
7544 * math/w_jnl.c (__jnl, __ynl): Likewise.
7545 * math/w_lgammal.c (__lgammal): Likewise.
7546 * math/w_log10l.c (__log10l): Likewise.
7547 * math/w_log2l.c (__log2l): Likewise.
7548 * math/w_logl.c (__logl): Likewise.
7549 * math/w_powl.c (__powl): Likewise.
7550 * math/w_remainderl.c (__remainderl): Likewise.
7551 * math/w_scalbl.c (sysv_scalbl): Likewise.
7552 * math/w_sinhl.c (__sinhl): Likewise.
7553 * math/w_sqrtl.c (__sqrtl): Likewise.
7554 * math/w_tgammal.c (__tgammal): Likewise.
7555 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
7556 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
7557 * math/libm-test.inc (acos_test): Add more tests.
7558 (acosh_test): Likewise.
7559 (asin_test): Likewise.
7560 (atanh_test): Likewise.
7561 (exp_test): Likewise.
7562 (exp10_test): Likewise.
7563 (exp2_test): Likewise.
7564 (expm1_test): Likewise.
7565 (lgamma_test): Likewise.
7566 (log_test): Likewise.
7567 (log10_test): Likewise.
7568 (log1p_test): Likewise.
7569 (log2_test): Likewise.
7570 (pow_test): Do not allow some spurious overflow exceptions.
7571 (sqrt_test): Add more tests.
7572 (tgamma_test): Likewise.
7573 (y0_test): Likewise.
7574 (y1_test): Likewise.
7575 (yn_test): Likewise.
7576
dd62fda6
AB
75772012-03-27 Anton Blanchard <anton@samba.org>
7578
7579 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
7580 MAP_HUGETLB.
7581 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7582 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7583 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7584
1e3cdfda
AJ
75852012-03-27 David S. Miller <davem@davemloft.net>
7586
b855ab85
DM
7587 * conform/Makefile: Run run-conformtest.sh using $(BASH).
7588
1e3cdfda
AJ
7589 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
7590 have-as-vis3 check.
7591
75922012-03-27 Andreas Jaeger <aj@suse.de>
7593
7594 * sysdeps/x86_64/elf/configure.in: Moved to ...
7595 * sysdeps/x86_64/configure.in: ... here.
7596 * sysdeps/x86_64/elf/start.S: Moved to ...
7597 * sysdeps/x86_64/start.S: ... here.
7598 * sysdeps/x86_64/elf/configure: Delete.
7599
7600 * sysdeps/x86_64/configure.in: Merge contents from
7601 sysdeps/i386/configure.in (without i686 check).
7602
7603 * sysdeps/i386/elf/Versions: Merge into ...
7604 * sysdeps/i386/Versions: ... this.
7605 * sysdeps/i386/elf/Versions: Delete file.
7606 * sysdeps/i386/elf/start.S: Moved to ...
7607 * sysdeps/i386/start.S: ...here.
7608 * sysdeps/i386/elf/configure.in: Merge into...
7609 * sysdeps/i386/configure.in: ...here.
7610 * sysdeps/i386/elf/configure.in: Delete file.
7611 * sysdeps/i386/elf/configure: Delete file.
7612
7613 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
7614 * debug/backtracesyms.c: ... here.
7615 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
7616 * debug/backtracesymsfd.c: ... here.
7617 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
7618 * sysdeps/generic/ifunc-sel.h: ... here.
7619
7620 * sysdeps/unix/i386/start.c: Delete file.
7621 * sysdeps/unix/sparc/start.c: Delete file.
7622 * sysdeps/unix/start.c: Delete file.
7623
7624 * sysdeps/sh/elf/configure.in: Moved to ...
7625 * sysdeps/sh/configure.in: ... here.
7626 * sysdeps/sh/elf/start.S: Moved to ...
7627 * sysdeps/sh/start.S: ... here.
7628 * sysdeps/sh/elf/configure: Delete file.
7629
7630 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
7631 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
7632 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
7633 * sysdeps/powerpc/powerpc64/entry.h: ... here.
7634 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
7635 * sysdeps/powerpc/powerpc64/start.S: here.
7636 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
7637 * sysdeps/powerpc/powerpc64/Makefile: ... this.
7638 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
7639 * sysdeps/powerpc/powerpc64/configure.in: ... this.
7640 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
7641
7642 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
7643 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
7644 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
7645 * sysdeps/powerpc/powerpc32/start.S: ... here.
7646 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
7647 * sysdeps/powerpc/powerpc32/configure.in: ... this.
7648 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
7649
7650 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
7651 * sysdeps/powerpc/ifunc-sel.h: ... here.
7652 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
7653 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
7654
7655 * sysdeps/sparc/elf/configure.in: Moved to ...
7656 * sysdeps/sparc/configure.in: ... here.
7657 * sysdeps/sparc/elf/configure: Delete file.
7658 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
7659 * sysdeps/sparc/sparc32/start.S: ... here.
7660 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
7661 * sysdeps/sparc/sparc64/start.S: ... here.
7662 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
7663 * sysdeps/sparc/sparc32/Makefile: ... this.
7664 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
7665 * sysdeps/sparc/sparc64/Makefile: ... this.
7666
7667 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
7668 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
7669 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
7670 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
7671 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
7672 * sysdeps/s390/s390-32/setjmp.S: ... here.
7673 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
7674 * sysdeps/s390/s390-32/configure.in: ... here.
7675 * sysdeps/s390/s390-32/elf/configure: Delete file.
7676 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
7677 * sysdeps/s390/s390-32/start.S: ... here.
7678
7679 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
7680 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
7681 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
7682 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
7683 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
7684 * sysdeps/s390/s390-64/setjmp.S: ... here.
7685 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
7686 * sysdeps/s390/s390-64/configure.in: ... here
7687 * sysdeps/s390/s390-64/elf/configure: Delete file.
7688 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
7689 * sysdeps/s390/s390-64/start.S: ... here.
7690 * sysdeps/s390/s390-64/elf/configure: Delete.
7691
7692 * configure.in: Remove support for elf directories in sysdeps.
7693
7694 * configure: Regenerated.
7695 * sysdeps/i386/configure: Regenerated.
7696 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7697 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7698 * sysdeps/s390/s390-32/configure: Regenerated.
7699 * sysdeps/s390/s390-64/configure: Regenerated.
7700 * sysdeps/sh/configure: Regenerated.
7701 * sysdeps/sparc/configure: Regenerated.
7702 * sysdeps/x86_64/configure: Regenerated.
7703
a3f61311
AS
77042012-03-26 Andreas Schwab <schwab@linux-m68k.org>
7705
c876e002
AS
7706 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7707
a3f61311
AS
7708 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
7709 denormal result into account.
7710
ac4c54f0
RM
77112012-03-25 Roland McGrath <roland@hack.frob.com>
7712
7713 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
7714 Reported by Allan McRae <allan@archlinux.org>.
7715
6a9b9c02
JL
77162012-03-23 Jeff Law <law@redhat.com>
7717
7718 * nss/getnssent.c (__nss_getent): Fix typo.
7719
4c42a0c1
DM
77202012-03-23 David S. Miller <davem@davemloft.net>
7721
7722 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7723
1532c7ac
L
77242012-03-23 H.J. Lu <hongjiu.lu@intel.com>
7725
7726 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
7727 to pad to uint64_t for each field.
7728 (dl_tls_index): Replace unsigned long with uint64_t.
7729
3ff42526
PP
77302012-03-23 Daniel Jacobowitz <dmj@google.com>
7731 Paul Pluzhnikov <ppluzhnikov@google.com>
7732
7733 [BZ #6528]
7734 * grp/Makefile (otherlibs): Don't set it.
7735 * inet/Makefile (otherlibs): Likewise.
7736 * login/Makefile (otherlibs): Likewise.
7737 * nscd/Makefile (otherlibs): Likewise.
7738 * posix/Makefile (otherlibs): Likewise.
7739 * pwd/Makefile (otherlibs): Likewise.
7740 * rt/Makefile (otherlibs): Likewise.
7741 * sunrpc/Makefile (otherlibs): Likewise.
7742 * nss/Makefile (otherlibs): Likewise.
7743 Add libnss_files to routines and static-only-routines.
7744 ($(objpfx)getent): Remove rule.
7745 * resolv/Makefile: Add libnss_dns and libresolv to routines and
7746 static-only-routines.
7747
7c69cd14
JM
77482012-03-22 Joseph Myers <joseph@codesourcery.com>
7749
7750 [BZ #13892]
7751 * math/s_cexp.c: Include <float.h>.
7752 (__cexp): Handle exp result overflowing not necessarily
7753 overflowing both real and imaginary parts of result.
7754 * math/s_cexpf.c: Likewise.
7755 * math/s_cexpl.c: Likewise.
7756 * math/libm-test.inc (cexp_test): Add more tests.
7757 * sysdeps/i386/fpu/libm-test-ulps: Update.
7758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7759
81b035fe
L
77602012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7761
7762 * include/link.h (ELFW): New macro.
7763 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
7764 Replace ELF64_R_TYPE with ELFW(R_TYPE).
7765
1da7940c
L
77662012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7767
7768 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
7769 with uint64_t.
7770
b749dbb9
L
77712012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7772
7773 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
7774 declaration.
7775 (struct La_x32_retval): Likewise.
7776
2ff87f3f
L
77772012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7778
7779 * sysdeps/x86_64/preconfigure.in: New file.
7780 * sysdeps/x86_64/preconfigure: New generated file.
7781
c0df8e69
JM
77822012-03-22 Joseph Myers <joseph@codesourcery.com>
7783
48e44791
JM
7784 [BZ #13824]
7785 * math/e_exp2l.c: Include <float.h>.
7786 (__ieee754_exp2l): Handle overflow and underflow cases
7787 separately. Only pass fractional part of argument to
7788 __ieee754_expl.
7789 * math/libm-test.inc (exp2_test): Add more tests.
7790
c0df8e69
JM
7791 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
7792 negating x to take absolute value.
7793 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7794 Likewise.
7795 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7796 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7797 Likewise.
7798 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
7799 computing low part if x was negated.
7800 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7801
c8e43ba7
L
78022012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7803
7804 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
7805 la_x32_gnu_pltexit.
7806 (pltexit): Cast int_retval to ptrdiff_t.
7807 * elf/tst-auditmod3b.c: Likewise.
7808 * elf/tst-auditmod4b.c: Likewise.
7809 * elf/tst-auditmod5b.c: Likewise.
7810 * elf/tst-auditmod6b.c: Likewise.
7811 * elf/tst-auditmod6c.c: Likewise.
7812 * elf/tst-auditmod7b.c: Likewise.
7813
7814 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
7815 and x32_gnu_pltexit.
7816
7817 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
7818 __ELF_NATIVE_CLASS.
7819 (La_x32_regs): New macro.
7820 (La_x32_retval): Likewise.
7821 (la_x32_gnu_pltenter): New function prototype.
7822 (la_x32_gnu_pltexit): Likewise.
7823
7998fa78
AS
78242012-03-21 Andreas Schwab <schwab@linux-m68k.org>
7825
dcb33988
AS
7826 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
7827 exponent.
7828
233fc563
AS
7829 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7830
7998fa78
AS
7831 * configure.in (libc_cv_cc_nofma): Check for option to disable
7832 generation of FMA instructions.
7833 * configure: Regenerate.
7834 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
7835 * sysdeps/ieee754/dbl-64/Makefile: New file.
7836 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7837 Remove brandred-fma4.
7838 (CFLAGS-brandred-fma4.c): Remove.
7839 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
7840 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
7841 define.
7842 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
7843 define.
7844
8e95c99a
L
78452012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7846
7847 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7848 LLONG_MAX != LONG_MAX.
7849 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7850 (_fitoa_word): Likewise.
7851 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
7852 LLONG_MAX != LONG_MAX.
7853 * stdio-common/_itowa.h: Include <_itoa.h>.
7854 (_itowa_word): Use _ITOA_WORD_TYPE on value.
7855 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
7856 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
7857 only if not defined.
7858 (_ITOA_WORD_TYPE): Likewise.
7859 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7860 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
7861
6f4db457
DM
78622012-03-21 David S. Miller <davem@davemloft.net>
7863
7864 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7865
7785fe5a
L
78662012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7867
7868 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
7869 of x86_64 when setting libc_cv_slibdir, libdir and
7870 libc_cv_localedir.
7871 * sysdeps/unix/sysv/linux/configure: Regenerated.
7872
4535cd55
JM
78732012-03-21 Joseph Myers <joseph@codesourcery.com>
7874
7875 * manual/lang.texi (Old Varargs): Remove section.
7876 (How Variadic): Update menu.
7877 (va_start): Do not mention varargs.h.
7878
17228132
TS
78792012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7880 Joseph Myers <joseph@codesourcery.com>
7881
7882 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
7883 link test.
7884 * configure: Regenerated.
7885
8149f976
TS
78862012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7887
05f3d1f6
UD
7888 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
7889 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
7890 conformtest.pl
8149f976 7891
1a4ac776
JM
78922012-03-21 Joseph Myers <joseph@codesourcery.com>
7893
be22ce65
JM
7894 * NOTES: Remove.
7895 * Makefile (files-for-dist): Remove NOTES.
7896 (NOTES): Remove rule.
7897 * README: Don't refer to NOTES.
7898 * manual/creature.texi: Don't include macros.texi.
7899 * manual/intro.texi (creature.texi): Remove comment referring to
7900 NOTES.
7901
40b601fb
JM
7902 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
7903 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
7904 * configure: Regenerated.
7905 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
7906 LIBC_TRY_CC_OPTION.
7907 (libc_cv_as_i686): Likewise.
7908 (libc_cv_cc_avx): Likewise.
7909 (libc_cv_cc_sse2avx): Likewise.
7910 (libc_cv_cc_fma4): Likewise.
7911 (libc_cv_cc_novzeroupper): Likewise.
7912 * sysdeps/i386/configure: Regenerated.
7913
1a4ac776
JM
7914 [BZ #13883]
7915 * sysdeps/i386/fpu/s_cexp.S: Remove.
7916 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7917 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7918 * math/libm-test.inc (cexp_test): Add more tests.
7919 * sysdeps/i386/fpu/libm-test-ulps: Update.
7920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7921
a458e7fe
AM
79222012-03-21 Allan McRae <allan@archlinux.org>
7923
7924 * timezone/Makefile: Do not install iso3166.tab and zone.tab
7925
0cb7efc5
JM
79262012-03-21 Joseph Myers <joseph@codesourcery.com>
7927
7928 [BZ #13871]
7929 * math/w_exp2.c: Do not include <float.h>.
7930 (o_threshold, u_threshold): Remove.
7931 (__exp2): Calculate result before checking finiteness and calling
7932 __kernel_standard.
7933 * math/w_exp2f.c: Likewise.
7934 * math/w_exp2l.c: Likewise.
7935 * math/libm-test.inc (exp2_test): Require overflow exception for
7936 1e6 input.
2460d3aa
JM
7937
7938 [BZ #3866]
7939 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
7940 range of signed 64-bit integers before using fistpll. Remove
7941 checks for whether integers fit in mantissa bits.
7942 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
7943 the range of signed 32-bit integers before using fistpl. Remove
7944 checks for whether integers fit in mantissa bits.
7945 * sysdeps/i386/fpu/e_powl.S (p64): New object.
7946 (__ieee754_powl): Test for y outside the range of signed 64-bit
7947 integers before using fistpll. Reduce 64-bit values to 63-bit
7948 ones as needed.
7949 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
7950 divide-by-zero is raised for zero to large negative powers.
7951 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
7952 (__ieee754_powl): Test for y outside the range of signed 64-bit
7953 integers before using fistpll. Reduce 64-bit values to 63-bit
7954 ones as needed.
7955 * math/libm-test.inc (pow_test): Add more tests.
7956
eb96ffb0
L
79572012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7958
7959 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
7960 <stdio-common/_itoa.h>.
7961 * debug/segfault.c: Likewise.
7962 * elf/dl-cache.c: Likewise.
7963 * elf/dl-minimal.c: Likewise.
7964 * elf/dl-misc.c: Likewise.
7965 * elf/dl-sysdep.c: Likewise.
7966 * elf/dl-version.c: Likewise.
7967 * elf/rtld.c: Likewise.
7968 * hurd/hurdsock.c: Likewise.
7969 * hurd/lookup-retry.c: Likewise.
7970 * malloc/malloc.c: Likewise.
7971 * malloc/mtrace.c: Likewise.
7972 * nscd/nscd_getgr_r.c: Likewise.
7973 * nscd/nscd_getpw_r.c: Likewise.
7974 * nscd/nscd_getserv_r.c: Likewise.
7975 * posix/getopt_init.c: Likewise.
7976 * posix/wordexp.c: Likewise.
7977 * stdio-common/_itoa.c: Likewise.
7978 * stdio-common/printf_fphex.c: Likewise.
7979 * stdio-common/vfprintf.c: Likewise.
7980 * string/_strerror.c: Likewise.
7981 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7982 * sysdeps/i386/i686/hp-timing.h: Likewise.
7983 * sysdeps/mach/_strerror.c: Likewise.
7984 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
7985 * sysdeps/mach/hurd/sethostid.c: Likewise.
7986 * sysdeps/mach/hurd/xmknodat.c: Likewise.
7987 * sysdeps/mach/xpg-strerror.c: Likewise.
7988 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7989 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7990 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
7991 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
7992 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7993 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
7994 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7995 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7996 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
7997 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
7998 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
7999 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8000 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
8001 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8002 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8003 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
8004 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
8005 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
8006 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8007 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8008 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
8009
8010 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
8011
8012 * stdio-common/_itoa.h: Moved to ...
8013 * sysdeps/generic/_itoa.h: Here.
8014
8015 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
8016
8017 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
8018 instead of "_itoa.h" and "_itowa.h".
8019 * stdio-common/vfprintf.: Likewise.
8020
d1af992d
L
80212012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8022
8023 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
8024 <bits/wordsize.h>.
8025 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
8026 (__signbit): Likwise.
8027 (llrintf): Likwise.
8028 (llrint): Likwise.
8029
114883e0
L
80302012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8031
8032 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
8033 __WORDSIZE != 64.
8034
c135cc1b
JM
80352012-03-20 Joseph Myers <joseph@codesourcery.com>
8036
8037 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
8038 OVERFLOW_EXCEPTION_OK.
8039 * math/libm-test.inc ("Philosophy"): Update comment about
8040 exception testing.
8041 (OVERFLOW_EXCEPTION): Define.
8042 (OVERFLOW_EXCEPTION_OK): Likewise.
8043 (INVALID_EXCEPTION_OK): Renumber.
8044 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8045 (IGNORE_ZERO_INF_SIGN): Likewise.
8046 (test_exceptions): Handle FE_OVERFLOW.
8047 (exp10_test): Expect overflow exceptions.
8048 (exp2_test): Likewise.
8049 (expm1_test): Likewise.
8050 (nextafter_test): Likewise.
8051 (pow_test): Likewise.
8052 (scalbn_test): Likewise.
8053 (scalbln_test): Likewise.
8054
95443d88
L
80552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8056
8057 * sysdeps/x86_64/bits/atomic.h
8058 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
8059 64bit integer.
8060 (atomic_exchange_acq): Likewise.
8061 (__arch_exchange_and_add_body): Likewise.
8062 (__arch_add_body): Likewise.
8063 (atomic_add_negative): Likewise.
8064 (atomic_add_zero): Likewise.
8065
490df6c4
L
80662012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8067
c2722551 8068 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
8069 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
8070
5e52b189
L
80712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8072
8073 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
8074 Check __x86_64__ instead of __WORDSIZE.
8075
a9879d4c
L
80762012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8077
8078 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
8079
5df98260
DM
80802012-03-19 David S. Miller <davem@davemloft.net>
8081
e1497744
DM
8082 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8083
5df98260
DM
8084 * sysdeps/sparc/fpu/fenv_private.h: New file.
8085 * sysdeps/sparc/fpu/math_private.h: Use it.
8086 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
8087 Remove.
8088 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
8089 (libc_feholdexcept_setroundl): Remove.
8090 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
8091 Remove.
8092 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
8093 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
8094
b4c35121
L
80952012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8096
8097 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
8098 int64_t instead of long int.
8099 (INSERT_WORDS64): Likwise.
8100
56965fd7
L
81012012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8102
8103 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
8104 _Unwind_GetCFA return to _Unwind_Ptr first.
8105
83d1aec8
JM
81062012-03-19 Joseph Myers <joseph@codesourcery.com>
8107
1897ad44
JM
8108 [BZ #13629]
8109 * math/s_clog.c: Include <float.h>.
8110 (__clog): Scale large or subnormal inputs.
8111 * math/s_clogf.c: Likewise.
8112 * math/s_clogl.c: Likewise.
8113 * math/s_clog10.c: Include <float.h>.
8114 (M_LOG10_2): Define.
8115 (__clog10): Scale large or subnormal inputs.
8116 * math/s_clog10f.c: Likewise.
8117 * math/s_clog10l.c: Likewise.
8118 * math/libm-test.inc (clog_test): Add more tests.
8119 (clog10_test): Likewise.
8120 * sysdeps/i386/fpu/libm-test-ulps: Update.
8121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8122
7726d6a9
JM
8123 [BZ #11451]
8124 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
8125 x and y.
8126 * math/libm-test.inc (atan2_test): Add another test.
8127
83d1aec8
JM
8128 * Makerules (common-objdir-compile): Remove.
8129 * sysdeps/unix/Makefile (config-generated): Do not add
8130 $(unix-generated) to variable.
8131 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
8132 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
8133 Remove rule.
8134 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
8135 Likewise.
8136 [generic bits/local_lim.h] (before-compile): Do not append to
8137 variable.
8138 [generic bits/local_lim.h] (common-generated): Likewise.
8139 [generic sys/param.h] (before-compile): Do not append to variable.
8140 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
8141 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
8142 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
8143 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
8144 include.
8145 [generic sys/param.h] (sys/param.h-includes): Remove variable.
8146 [generic sys/param.h] (sys/param.h-includes): Remove rule.
8147 [generic sys/param.h] ($(addprefix
8148 $(common-objpfx),$(sys/param.h-includes))): Likewise.
8149 [generic sys/param.h] (common-generated): Do not append to
8150 variable.
8151 [generic sys/param.h] (sysdep_headers): Likewise.
8152 [generic bits/errno.h] (before-compile): Do not append to
8153 variable.
8154 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
8155 rule.
8156 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
8157 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
8158 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
8159 [generic bits/errno.h] (common-generated): Do not append to
8160 variable.
8161 [generic bits/ioctls.h] (before-compile): Do not append to
8162 variable.
8163 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
8164 rule.
8165 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
8166 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
8167 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
8168 rule.
8169 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
8170 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
8171 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
8172 [generic bits/ioctls.h] (common-generated): Do not append to
8173 variable.
8174 [generic sys/syscall.h] (syscall.h): Remove variable.
8175 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
8176 rule.
8177 [generic sys/syscall.h] (before-compile): Do not append to
8178 variable.
8179 [generic sys/syscall.h] (common-generated): Likewise.
8180 * sysdeps/unix/errnos-tmpl.c: Remove file.
8181 * sysdeps/unix/errnos.awk: Likewise.
8182 * sysdeps/unix/ioctls-tmpl.c: Likewise.
8183 * sysdeps/unix/ioctls.awk: Likewise.
8184 * sysdeps/unix/mk-local_lim.c: Likewise.
8185 * sysdeps/unix/snarf-ioctls: Likewise.
8186
4851a949
RH
81872012-03-19 Richard Henderson <rth@twiddle.net>
8188
bd37f2ee
RH
8189 * sysdeps/i386/fpu/fenv_private.h: New file.
8190 * sysdeps/i386/fpu/math_private.h: Use it.
8191 (math_opt_barrier, math_force_eval): Remove.
8192 (libc_feholdexcept_setround_53bit): Remove.
8193 (libc_feupdateenv_53bit): Remove.
8194 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8195 (math_opt_barrier, math_force_eval): Remove.
8196 (libc_feholdexcept): Remove.
8197 (libc_feholdexcept_setround): Remove.
8198 (libc_fetestexcept, libc_fesetenv): Remove.
8199 (libc_feupdateenv_test): Remove.
8200 (libc_feupdateenv, libc_feholdsetround): Remove.
8201 (libc_feresetround): Remove.
8202
d0adc922
RH
8203 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
8204 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8205
0fe0f1f8
RH
8206 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
8207 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
8208 (libc_feupdateenv_testl): New.
8209 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
8210 (libc_feupdateenv_testf): New.
8211 (libc_feupdateenv): Use libc_feupdateenv_test.
8212 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
8213 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
8214
eb92c487
RH
8215 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
8216 (libc_feholdsetroundf, libc_feholdsetroundl): New.
8217 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
8218 (libc_feresetround_noex): New.
8219 (libc_feresetround_noexf): New.
8220 (libc_feresetround_noexl): New.
8221 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
8222 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
8223 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
8224 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
8225 SET_RESTORE_ROUND.
8226 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8227 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
8228 (__cos): Likewise.
8229 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
8230 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8231 SET_RESTORE_ROUND_NOEX.
8232 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
8233 SET_RESTORE_ROUND_NOEXF.
8234 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
8235 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
8236 (libc_feholdsetroundf): New.
8237 (libc_feresetround, libc_feresetroundf): New.
8238
7d2e8012
RH
8239 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
8240 (libc_feholdexcept_setround_53bit): Convert from macro to function.
8241 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
8242
b4dabbb4
RH
8243 * sysdeps/generic/math_private.h: Include <fenv.h>.
8244 (default_libc_feholdexcept): New.
8245 (default_libc_feholdexcept_setround): New.
8246 (default_libc_fesetenv, default_libc_feupdateenv): New.
8247 (libc_feholdexcept): Only define if undefined.
8248 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
8249 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
8250 (libc_feholdexcept_setroundl): Likewise.
8251 (libc_feholdexcept_setround_53bit): Likewise.
8252 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
8253 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
8254 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
8255 (libc_feupdateenv_53bit): Likewise.
8256 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
8257 (libc_feholdexcept): Convert from macro to inline function.
8258 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
8259 (libc_fesetenv, libc_feupdateenv): Likewise.
8260
4851a949
RH
8261 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
8262 not previously defined.
8263 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
8264 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
8265 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
8266 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
8267 * sysdeps/ieee754/flt-32/math_private.h: New file.
8268 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
8269 math_private.h below SET_FLOAT_WORD.
8270 (__isnan, __isinf_ns, __finite): Remove.
8271 (__isnanf, __isinf_nsf, __finitef): Remove.
8272
e79d442e
AS
82732012-03-18 Andreas Schwab <schwab@linux-m68k.org>
8274
8275 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8276
90b80344
DM
82772012-03-17 David S. Miller <davem@davemloft.net>
8278
8279 [BZ #6471]
8280 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
8281 for 2.16.
8282
edc21804
DM
82832012-03-16 David S. Miller <davem@davemloft.net>
8284
77e927af
DM
8285 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
8286 warnings.
8287
374976dd
DM
8288 [BZ #6471]
8289 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
8290 properly.
8291 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
8292 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
8293 sysdep_routines when subdir is sysvipc.
8294 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
8295 __getshmlba helper.
8296
edc21804
DM
8297 * sysdeps/sparc/fpu/libm-test/ulps: Update.
8298
473c3ef3
L
82992012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8300
8301 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
8302 [__LP64__].
8303
eb0f39b6
L
83042012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8305
8306 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
8307 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
8308 (__lround): Renamed to ...
8309 (__llround): This. Replace long int with long long int.
8310 Define lround functions as aliases of llround functions.
8311 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
8312
6b6cd74b
L
83132012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8314
8315 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
8316 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
8317 adresses to uintptr_t. Replace "long int" and "unsigned long
8318 int" with "greg_t" on va_arg.
8319
f1a77b01
L
83202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8321
8322 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
8323 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
8324
8325 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
8326 Move e_machine check before EI_CLASS check. Handle x32
8327 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
8328 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
8329 SKIP_EM_IA_64 and include
8330 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
8331
8332 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
8333 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
8334 (add_system_dir): New macro.
8335
8336 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
8337 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
8338
11b90b9f
JM
83392012-03-16 Joseph Myers <joseph@codesourcery.com>
8340
c36e1d23
JM
8341 [BZ #2551]
8342 [BZ #2552]
8343 [BZ #2553]
8344 [BZ #2554]
8345 [BZ #2562]
8346 [BZ #2563]
8347 [BZ #2565]
8348 [BZ #2566]
8349 [BZ #2576]
8350 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
8351 (y0): Likewise.
8352 * math/w_j0f.c (j0f): Likewise.
8353 (y0f): Likewise.
8354 * math/w_j0l.c (__j0l): Likewise.
8355 (__y0l): Likewise.
8356 * math/w_j1.c (j1): Likewise.
8357 (y1): Likewise.
8358 * math/w_j1f.c (j1f): Likewise.
8359 (y1f): Likewise.
8360 * math/w_j1l.c (__j1l): Likewise.
8361 (__y1l): Likewise.
8362 * math/w_jn.c (jn): Likewise.
8363 (yn): Likewise.
8364 * math/w_jnf.c (jnf): Likewise.
8365 (ynf): Likewise.
8366 * math/w_jnl.c (__jnl): Likewise.
8367 (__ynl): Likewise.
8368 * math/libm-test.inc (j0_test): Add more tests.
8369 (j1_test): Likewise.
8370 (jn_test): Likewise. Add trailing semicolon to existing test.
8371 (y0_test): Likewise.
8372 (y1_test): Likewise.
8373 * sysdeps/i386/fpu/libm-test-ulps: Update.
8374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8375
11b90b9f
JM
8376 [BZ #13851]
8377 [BZ #13854]
8378 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8379 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8380 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8381 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8382 (__tanl): Set errno for infinite argument.
8383 * sysdeps/i386/fpu/mptan.c: Remove.
8384 * sysdeps/i386/fpu/s_tan.S: Likewise.
8385 * sysdeps/i386/fpu/s_tanl.S: Likewise.
8386 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8387 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8388 * math/libm-test.inc (tan_test): Add more tests and enable more
8389 tests for double and long double.
8390 * sysdeps/i386/fpu/libm-test-ulps: Update.
8391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8392
6a1bd2a1
JK
83932012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8394
8395 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8396 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8397
10a803e0
RM
83982012-03-16 Roland McGrath <roland@hack.frob.com>
8399
8400 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8401 * configure.in: Use it for both main tree and add-ons.
8402 * configure: Regenerated.
8403
f196c7f7
L
84042012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8405
8406 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8407
8848d99d
JM
84082012-03-16 Joseph Myers <joseph@codesourcery.com>
8409
96cbe7f4
JM
8410 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8411 in comment.
8412
8848d99d
JM
8413 [BZ #13851]
8414 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8415 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8416 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8417 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8418 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8419 infinite argument.
8420 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8421 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8422 != 0 for prec == 2.
8423 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8424 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8425 * sysdeps/i386/fpu/s_cosl.S: Likewise.
8426 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8427 * sysdeps/i386/fpu/s_sinl.S: Likewise.
8428 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8429 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8430 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8431 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8432 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8433 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8434 * math/libm-test.inc (cos_test): Add more tests and enable more
8435 tests for long double.
8436 (sin_test): Likewise.
8437 (sincos_test): Likewise.
8438 * sysdeps/i386/fpu/libm-test-ulps: Update.
8439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8440
dd7f4703
DM
84412012-03-16 David S. Miller <davem@davemloft.net>
8442
8443 * sysdeps/sparc/fpu/math_private.h: New file.
8444
006f1daa
DM
84452012-03-15 David S. Miller <davem@davemloft.net>
8446
c0c83bc8
DM
8447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8448 file.
e6a62e18 8449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
8450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8451 file.
e6a62e18
DM
8452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
8453 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
8454 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
8455 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
8456 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
8457 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
8458 sysdep routines.
8459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8460
88cb87d9
DM
8461 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
8462 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
8463
006f1daa 8464 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
8465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
8466 sparc-ifunc.h
006f1daa 8467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
8468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8469 Likewise.
8470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8471 Likewise.
006f1daa
DM
8472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
8473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
8475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8476 Likewise.
006f1daa
DM
8477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
8481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
8482 Likewise.
8483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
8484 Likewise.
006f1daa
DM
8485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
8487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8489 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8490 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8491 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
8492 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
8493 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8494 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8495 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8496 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8497 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8498 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8499 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
8500 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
8501 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
8502 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
8503 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
8504 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
8505 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
8506 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
8507 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
8508 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
8509
11e0098e
AS
85102012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8511
8512 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
8513 scaling.
8514 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8515
e85b09d0
AJ
85162012-03-15 Andreas Jaeger <aj@suse.de>
8517
8518 [BZ #13852]
8519 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
8520 ieee754/flt-32 implementation for sin, cos and sincos.
8521 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
8522 * sysdeps/i386/fpu/s_cosf.S: Likewise.
8523 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
8524 * sysdeps/i386/fpu/s_sinf.S: Likewise.
8525 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
8526 ieee754/flt-32 implementation for tan.
8527
8528 * math/libm-test.inc (cos_test): Enable some large input tests for
8529 float as well
8530 (sin_test): Likewise.
8531 (sincos_test): Likewise.
8532 (tan_test): Add tests for large input.
8533
8534 * sysdeps/i386/fpu/libm-test-ulps: Update.
8535
81c64153
AJ
85362012-03-15 Andreas Jaeger <aj@suse.de>
8537
8538 [BZ #13658]
8539 * math/libm-test.inc (cos_test): Add more test cases.
8540 (sin_test): Likewise.
8541 (sincos_test): Likewise.
8542
7bbfa5c6
AJ
85432012-03-15 Andreas Jaeger <aj@suse.de>
8544
8545 [BZ #13837]
8546 * math/libm-test.inc (cos_test): Add a test case for large input
8547 value.
8548 (sin_test): Likewise.
8549 (sincos_test): Likewise.
8550
85512012-03-15 Andreas Jaeger <aj@suse.de>,
8552 Joseph Myers <joseph@codesourcery.com>
8553
8554 [BZ #13658]
0671f479 8555 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
8556 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
8557 * sysdeps/i386/fpu/branred.c: Likewise.
8558 * sysdeps/i386/fpu/dosincos.c: Likewise.
8559 * sysdeps/i386/fpu/mpa.c: Likewise.
8560 * sysdeps/i386/fpu/s_cos.S: Likewise.
8561 * sysdeps/i386/fpu/s_sin.S: Likewise.
8562 * sysdeps/i386/fpu/s_sincos.S: Likewise.
8563 * sysdeps/i386/fpu/sincos32.c: Likewise.
8564
8565 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
8566 Define.
8567 (libc_feupdateenv_53bit): Define.
8568 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
8569 Define.
8570 (libc_feupdateenv_53bit): Define.
8571
8572 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
8573 53 bit (without extend i386 double precision).
8574
8575 * math/libm-test.inc (sincos_test): Add tests for large input.
8576 (sin): Likewise.
8577 (cos): Likewise.
8578
8579 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8580
9cad04ea
AS
85812012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8582
8583 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8584
f7062b9a
DM
85852012-03-15 David S. Miller <davem@davemloft.net>
8586
8587 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
8588 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
8589 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
8590 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
8591 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
8592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
8593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
8594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
8595 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
8596 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
8597 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
8598 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
8599 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
8600 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
8601 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
8602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
8603 file.
f7062b9a 8604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
8605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
8606 file.
f7062b9a 8607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
8608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
8609 file.
f7062b9a 8610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
8611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
8612 file.
f7062b9a
DM
8613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
8614 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
8615 fmin/fmax sysdep routines.
8616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8617
7bd951ff
DM
86182012-03-14 David S. Miller <davem@davemloft.net>
8619
559398ab
DM
8620 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
8621 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
8622 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
8623 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
8624 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
8625 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
8626 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
8627 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
8628 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
8629 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
8630 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
8631 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
8632 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
8633 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
8634 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
8635 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
8636 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
8637 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
8638 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
8639 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
8640 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
8641 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
8642 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
8643 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
8644 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
8645 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
8646 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
8647 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
8648 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
8649 routines.
8650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
8651 file.
559398ab 8652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
8653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
8654 file.
559398ab 8655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
8656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
8657 file.
559398ab 8658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
8659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
8660 file.
559398ab 8661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
8662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
8663 file.
559398ab 8664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
8665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
8666 file.
8667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
8668 file.
8669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
8670 file.
8671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
8672 file.
8673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
8674 New file.
8675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
8676 file.
8677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
8678 file.
559398ab 8679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
8680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
8681 file.
559398ab 8682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
8683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
8684 file.
559398ab 8685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
8686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
8687 file.
559398ab 8688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
8689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
8690 VIS3 routines.
559398ab
DM
8691
8692 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8693 New file.
8694
5a1c1e32
DM
8695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8696
eae47a36
DM
8697 * sysdeps/sparc/configure.in: New file.
8698 * sysdeps/sparc/configure: Generate.
8699 * configure.in (libc_cv_sparc_as_vis3): Substitute.
8700 * configure: Regenerate.
8701 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
8702 * config.make.in (have-as-vis3): New.
8703 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
8704 available use -Av9d instead of -Av9a.
8705 * sysdeps/sparc/sparc64/Makefile: Likewise.
8706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
8707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
8708 New file.
8709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
8710 file.
8711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
8712 New file.
8713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
8714 file.
eae47a36
DM
8715 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
8716 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
8717 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
8718 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
8719 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
8720
c0c83bc8
DM
8721 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
8722 fzeros/fnegs to load 0x80000000 into a float register instead of
8723 using the stack.
7bd951ff
DM
8724 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
8725
bd951ccb
JM
87262012-03-14 Joseph Myers <joseph@codesourcery.com>
8727
8728 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8729 bits/syscall.h.
8730 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
8731 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
8732 ($(inst_includedir)/bits/syscall.h): Remove rule.
8733 ($(objpfx)bits/syscall.d): Include instead of
8734 $(objpfx)syscall-list.d.
8735 (generated): Change syscall-list.h and syscall-list.d to
8736 bits/syscall.h and bits/syscall.d.
8737
bb4e6db2
RM
87382012-03-14 Roland McGrath <roland@hack.frob.com>
8739
8740 [BZ #13846]
8741 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
8742
aa4a2ae1
JM
87432012-03-14 Joseph Myers <joseph@codesourcery.com>
8744
e456826d
JM
8745 [BZ #13841]
8746 * math/s_csqrt.c: Include <float.h>.
8747 (__csqrt): Scale large or subnormal inputs.
8748 * math/s_csqrtf.c: Likewise.
8749 * math/s_csqrtl.c: Likewise.
8750 * math/libm-test.inc (csqrt_test): Add more tests.
8751 * sysdeps/i386/fpu/libm-test-ulps: Update.
8752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8753
aa4a2ae1
JM
8754 [BZ #13840]
8755 * math/libm-test.inc (hypot_test): Add more tests.
8756
7c10fd35
DM
87572012-03-13 David S. Miller <davem@davemloft.net>
8758
8759 [BZ #13840]
8760 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
8761 double-precision for the calculation instead of scaling.
8762
f453b98b
JM
87632012-03-13 Joseph Myers <joseph@codesourcery.com>
8764
8765 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
8766 manipulate bits before adding and subtracting TWO52[sx].
8767 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
8768 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8769 Likewise.
8770 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
8771
09a3453f
DM
87722012-03-13 David S. Miller <davem@davemloft.net>
8773
8e59da90
DM
8774 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
8775 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
8776 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
8777 rtld-global-offsets.h
8778 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8779
2a8ab7f2
DM
8780 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
8781 large parameters.
8782
10f62770
DM
8783 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
8784
5f0bdb18
DM
8785 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
8786 'err' in the ifdef scope in which it is actually used.
8787
09a3453f
DM
8788 * nss/nss_db/db-init.c: Include string.h
8789
b4b2eb5e
DM
87902012-03-12 David S. Miller <davem@davemloft.net>
8791
98bb2f1c
DM
8792 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8793 masking out of the most significant byte of random value used.
8794 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8795 Fix coding style in previous change.
8796
b4b2eb5e
DM
8797 * sysdeps/unix/sysv/linux/kernel-features.h
8798 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
8799 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
8800 expression.
8801 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
8802 later.
8803
6e226b09
DM
88042012-03-11 David S. Miller <davem@davemloft.net>
8805
a1bcbd40
DM
8806 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8807 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
8808 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
8809 for 'resultvar' otherwise things get truncated on 64-bit.
8810
cb9d6174
DM
8811 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8812 Fix masking out of the most significant byte of random value used.
8813
6e226b09
DM
8814 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8815
058c132d
AS
88162012-03-10 Andreas Schwab <schwab@linux-m68k.org>
8817
8818 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8819
2d2cd515
DM
88202012-03-09 David S. Miller <davem@davemloft.net>
8821
8822 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
8823 variables with appropriate CPP guards.
8824 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
8825 frame pointer, not the stack pointer. Correct layout comments. Fix test
8826 on resulting framesize and the management of the outregs buffer for pltexit.
8827 Preserve floating point return values across _dl_call_pltexit call.
8828 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
8829 framesize and the management of the outregs buffer for pltexit.
8830 Preserve floating point return values across _dl_call_pltexit
8831 call.
8832 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
8833 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
8834 (print_exit): Fix format string for return register value.
8835
9a07f9d0
JM
88362012-03-10 Joseph Myers <joseph@codesourcery.com>
8837
8838 * sunrpc/Makefile (others): Add rpcgen.
8839 ($(objpfx)rpcgen): Remove special build rule and dependency on
8840 libc.
8841 * sunrpc/rpcgen.c: New file.
8842
547b5e30
PE
88432012-03-09 Paul Eggert <eggert@cs.ucla.edu>
8844
c524201a
PE
8845 [BZ #13673]
8846 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
8847 * stdio-common/bug-vfprintf-nargs.c: Likewise.
8848 * sysdeps/i386/crti.S: Likewise.
8849 * sysdeps/i386/crtn.S: Likewise.
8850 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
8851 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
8852 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
8853 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
8854 * sysdeps/sh/crti.S: Likewise.
8855 * sysdeps/sh/crtn.S: Likewise.
8856 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8857
7b6235f2
PE
8858 [BZ #13673]
8859 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
8860 with URL.
8861 * locale/programs/locfile-kw.gperf: Likewise.
8862 * locale/programs/charmap-kw.h: Regenerated.
8863 * locale/programs/locfile-kw.h: Likewise.
8864
547b5e30
PE
8865 [BZ #13673]
8866 * intl/plural.y: Replace FSF snail mail address with URL.
8867 * intl/plural.c: Regenerated.
8868
5f0a5dae
RH
88692012-03-09 Richard Henderson <rth@twiddle.net>
8870
8871 * include/math_private.h: Remove file.
8872 * math/math_private.h: Move file ...
8873 * sysdeps/generic/math_private.h: ... here.
8874
b8c03620
RH
8875 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
8876 * sysdeps/powerpc/fpu/math_private.h: Likewise.
8877 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8878
4e234f5d 8879 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
8880 and <math_private.h>.
8881 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8882 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8883 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8884 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8885 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8886 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
8887 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8888 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8889 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8890 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8891 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8892 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8893 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8894 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8895 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8896 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8897 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8898 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8899 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8900 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8901 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8902 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8903 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8904 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8905 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8906 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8907 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8908 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8909 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8910 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8911 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8912 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8913 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8914 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8915 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8916 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8917 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8918 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8919 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8920 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8921 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
8922 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8923 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8924 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8925 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8926 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8927 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8928 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8929 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8930 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8931 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8932 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8933 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8934 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8935 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8936 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8937 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8938 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8939 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8940 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
8941 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8942 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8943 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8944 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8945 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8946 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8947 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8948 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8949 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
8950 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
8951 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8952 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8953 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8954 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8955 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
8956 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8957 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
8958 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8959 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
8960 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8961 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8962 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8963 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8964 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8965 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8966 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8967 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
8968 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8969 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8970 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8971 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8972 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8973 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8974 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8975 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8976 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8977 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8978 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8979 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8980 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8981 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8982 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8983 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8984 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8985 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8986 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8987 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8988 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8989 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8990 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8991 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8992 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8993 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8994 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8995 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8996 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8997 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8998 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8999 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9000 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9001 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9002 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9003 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9004 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
9005 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9006 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9007 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9008 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
9009 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9010 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9011 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9012 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9013 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9014 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9015 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9016 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9017 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9018 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9019 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
9020 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9021 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9022 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9023 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9024 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
9025 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
9026 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9027 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9028 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9029 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9030 * sysdeps/ieee754/k_standard.c: Likewise.
9031 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9032 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9033 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9034 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9035 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9036 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9037 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9038 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9039 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9040 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9041 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9042 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9043 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9044 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9045 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9046 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9047 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9048 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9049 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9050 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9051 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9052 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9053 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9054 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9055 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9056 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9057 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9058 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9059 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9060 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9061 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9062 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9063 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9064 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9065 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9066 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9067 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9068 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
9069 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9070 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9071 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9072 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9073 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9074 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9075 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9076 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9077 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9078 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9079 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9080 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9081 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9082 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9083 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9084 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9085 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9086 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9087 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
9088 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9089 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9090 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9091 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9092 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9093 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9094 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9095 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9096 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9097 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9098 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9099 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9100 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9101 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9102 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9103 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9104 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9105 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9106 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9107 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
9108 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9109 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9110 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9111 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9112 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9113 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9114 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9115 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9116 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9117 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9118 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9119 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9120 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9121 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
9122 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9123 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9124 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9125 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9126 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9127 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
9128 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9129 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9130 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
9131 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9132 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9133 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9134 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9135 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
9136 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9137 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9138 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9139 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
9140 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9141 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9142 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9143 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9144 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9145 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9146 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9147 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9148 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9149 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9150 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9151 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9152 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9153 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9154 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9155 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9156 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9157 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9158 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9159 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9160 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9161 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9162 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9163 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9164 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9165 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9166 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9167 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
9168 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9169 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9170 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9171 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9172 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9173 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9174 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9175 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9176 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9177 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9178 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9179 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9180 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
9181 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9182 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9183 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9184 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9185 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
9186 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
9187 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9188 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9189 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9190 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9191 * sysdeps/ieee754/s_lib_version.c: Likewise.
9192 * sysdeps/ieee754/s_matherr.c: Likewise.
9193 * sysdeps/ieee754/s_signgam.c: Likewise.
9194 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9195 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9196 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9197 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9198 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9199 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9200 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
9201 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
9202 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
9203 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9204 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9205 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9206 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9207 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9208 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
9209 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9210 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9211 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9212 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9213 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9214 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 9215
1991fa03
JM
92162012-03-09 Joseph Myers <joseph@codesourcery.com>
9217
9218 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
9219 * sunrpc/rpc_main.c: Likewise.
9220 * sunrpc/rpc_svcout.c: Likewise.
9221
60d6f5a6
DM
92222012-03-09 David S. Miller <davem@davemloft.net>
9223
9224 * include/math_private.h: New file.
9225
4962050e
JM
92262012-03-09 Joseph Myers <joseph@codesourcery.com>
9227
02a6f887
JM
9228 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
9229 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
9230 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
9231 from <bits/socket_type.h>.
9232 (enum __socket_type): Don't define here.
9233 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
9234 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9235 bits/socket_type.h.
9236
c6e013c1
JM
9237 [BZ #13566]
9238 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
9239 checking __USE_GNU.
9240
4962050e
JM
9241 * Makerules ($(inst_includedir)/%.h): New rule.
9242 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
9243 (install-others): Remove variable setting.
9244 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
9245
38842f45
RH
92462012-03-08 Richard Henderson <rth@twiddle.net>
9247
67bb6da6
RH
9248 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
9249 from macro to inline function; merge with the
9250 !__LIBC_INTERNAL_MATH_INLINES version.
9251 (__ieee754_sqrtf): Likewise.
9252
15194b4b
RH
9253 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
9254 to inline function.
9255 (__rintf, __floor, __floorf): Likewise.
9256
64e21ede
RH
9257 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
9258 macro to inline function.
9259 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
9260
38842f45
RH
9261 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
9262 not <math/math_private.h>.
9263
c64bf5fe
DM
92642012-03-08 David S. Miller <davem@davemloft.net>
9265
9266 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
9267 copyright year.
9268 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9269
82d86f28
TS
92702012-03-08 Thomas Schwinge <thomas@codesourcery.com>
9271
9272 * resolv/gai_misc.c (handle_requests): Fix struct timespec
9273 normalization.
9274 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
9275 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9276
aea5d727
UD
92772012-03-08 Ulrich Drepper <drepper@gmail.com>
9278
9279 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
9280 be defined individually, they must be defined as a block. Define
9281 S for printing a string instead of hidint the different by using a
9282 macro for adding the 'l'.
9283 * stdio-common/tst-fphex-wide.c: Adjust.
9284
70bca0a3
MP
92852012-03-07 Marek Polacek <polacek@redhat.com>
9286
9287 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
9288
65b81130
MP
92892012-03-08 Marek Polacek <polacek@redhat.com>
9290
9291 [BZ #13806]
9292 * stdio-common/Makefile (tests): Add tst-fphex-wide.
9293 * stdio-common/tst-fphex.c: Define a few macros to make the
9294 test reusable. Use them.
9295 * stdio-common/tst-fphex-wide.c: New file.
9296
07037eeb
JM
92972012-03-08 Joseph Myers <joseph@codesourcery.com>
9298
a7a93d50
JM
9299 [BZ #6911]
9300 * manual/macros.texi (gnusystems): New macro.
9301 (nongnusystems): Likewise.
9302 (gnulinuxhurdsystems): Likewise.
9303 (gnuhurdsystems): Likewise..
9304 (gnulinuxsystems): Likewise.
9305 * manual/charset.texi: Use new macros or @theglibc{} to refer to
9306 variants of the GNU system, not "GNU system".
9307 * manual/conf.texi: Likewise.
9308 * manual/errno.texi: Likewise. Update example of errno macro
9309 expansion.
9310 * manual/filesys.texi: Likewise.
9311 (getumask): Document as specific to GNU/Hurd.
9312 * manual/install.texi: Likewise. Reword some references to
9313 GNU/Linux.
9314 * manual/intro.texi: Likewise.
9315 * manual/io.texi: Likewise.
9316 (File Name Portability): Detail which constraints are inapplicable
9317 to all GNU systems and which are only inapplicable to GNU/Hurd.
9318 * manual/job.texi: Likewise.
9319 * manual/llio.texi: Likewise.
9320 (O_NOCTTY): Document as present on GNU/Linux.
9321 * manual/maint.texi: Likewise.
9322 * manual/memory.texi: Likewise.
9323 * manual/pattern.texi: Likewise.
9324 * manual/pipe.texi: Likewise.
9325 * manual/process.texi: Likewise.
9326 * manual/resource.texi: Likewise.
9327 (RUSAGE_CHILDREN): Remove statement about specifying a particular
9328 child on GNU/Hurd.
9329 * manual/setjmp.texi: Likewise.
9330 * manual/signal.texi: Likewise.
9331 * manual/startup.texi: Likewise.
9332 * manual/stdio.texi: Likewise.
9333 * manual/terminal.texi: Likewise.
9334 (ONLCR): Document as POSIX.
9335 (OXTABS): Document availability on GNU/Linux as XTABS.
9336 (ONOEOT): Document availability separately from other bits.
9337 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
9338 * manual/time.texi: Likewise.
9339 * manual/users.texi: Likewise.
9340 * INSTALL: Regenerated.
9341 * sysdeps/gnu/errlist.c: Regenerated.
9342
07037eeb
JM
9343 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
9344 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
9345 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
9346 puts.
9347 * configure: Regenerated.
9348
d1d3431a
JM
93492012-03-07 Joseph Myers <joseph@codesourcery.com>
9350
af6a1e37
JM
9351 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
9352 default includes instead of AC_HEADER_CHECK.
9353 * sysdeps/i386/configure: Regenerated.
9354
d1d3431a
JM
9355 [BZ #10716]
9356 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
9357 * math/s_cacoshf.c (__cacoshf): Likewise.
9358 * math/s_cacoshl.c (__cacoshl): Likewise.
9359 * math/s_casinh.c (__casinh): Set signs of result from argument.
9360 * math/s_casinhf.c (__casinhf): Likewise.
9361 * math/s_casinhl.c (__casinhl): Likewise.
9362 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9363 (casinh_test): Add more tests.
9364 * sysdeps/i386/fpu/libm-test-ulps: Update.
9365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9366
482ff4da
UD
93672012-03-07 Ulrich Drepper <drepper@gmail.com>
9368
872fda05
UD
9369 * po/zh_TW.po: Update from translation team.
9370
a4300c7a
UD
9371 * login/Makefile (distribute): Remove variable.
9372 * catgets/Makefile: Likewise.
9373 * mach/Makefile: Likewise.
9374 * malloc/Makefile: Likewise.
9375 * misc/Makefile: Likewise.
9376 * iconv/Makefile: Likewise.
9377 * nscd/Makefile: Likewise.
9378 * hurd/Makefile: Likewise.
9379 * manual/Makefile: Likewise.
9380 * locale/Makefile: Likewise.
9381 * intl/Makefile: Likewise.
9382 * conform/Makefile: Likewise.
9383 * nss/Makefile: Likewise.
9384 * time/Makefile: Likewise.
9385 * soft-fp/Makefile: Likewise.
9386 * dirent/Makefile: Likewise.
9387 * gmon/Makefile: Likewise.
9388 * po/Makefile: Likewise.
9389 * rt/Makefile: Likewise.
9390 * socket/Makefile: Likewise.
9391 * math/Makefile: Likewise.
9392 * signal/Makefile: Likewise.
9393 * debug/Makefile: Likewise.
9394 * elf/Makefile: Likewise.
9395 * timezone/Makefile: Likewise.
9396 * stdlib/Makefile: Likewise.
9397 * iconvdata/Makefile: Likewise.
9398 * sunrpc/Makefile: Likewise.
9399 * io/Makefile: Likewise.
9400 * argp/Makefile: Likewise.
9401 * inet/Makefile: Likewise.
9402 * hesiod/Makefile: Likewise.
9403 * grp/Makefile: Likewise.
9404 * csu/Makefile: Likewise.
9405 * wctype/Makefile: Likewise.
9406 * crypt/Makefile: Likewise.
9407 * libio/Makefile: Likewise.
9408 * string/Makefile: Likewise.
9409 * nis/Makefile: Likewise.
9410 * resolv/Makefile: Likewise.
9411 * stdio-common/Makefile: Likewise.
9412 * wcsmbs/Makefile: Likewise.
9413 * dlfcn/Makefile: Likewise.
9414 * posix/Makefile: Likewise.
9415
3b7c4e74 9416 [BZ #6959]
482ff4da
UD
9417 * timezone/Makefile: Don't install timezone files, just the programs
9418 and scripts.
9419
f72ed77d
UD
94202012-03-06 Ulrich Drepper <drepper@gmail.com>
9421
a000466f
UD
9422 * nss/databases.def: Add missing gshadow entry.
9423
f72ed77d
UD
9424 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
9425
a53b7a4e
MP
94262012-03-06 Marek Polacek <polacek@redhat.com>
9427
9428 [BZ #13726]
9429 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9430 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9431 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9432 * stdio-common/tst-long-dbl-fphex.c: New file.
9433
e9258400
DM
94342012-03-06 David S. Miller <davem@davemloft.net>
9435
9436 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9437 (set_obp_int): New function.
9438 (get_obp_int): New function.
9439 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
9440 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9441 Avoid unused variable warnings on 'val' and use builtin_expect.
9442 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9443 __builtin_expect.
e9258400
DM
9444 (INLINE_CLONE_SYSCALL): Likewise.
9445
3bd2c723
DM
94462012-03-05 David S. Miller <davem@davemloft.net>
9447
9448 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9449
bbb78d03
AS
94502012-03-05 Andreas Schwab <schwab@linux-m68k.org>
9451
884c5db4
AS
9452 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9453
bbb78d03
AS
9454 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
9455 only for |x| >= 40.
9456 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9457
1c9f702a 94582012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
9459
9460 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
9461 Replace gettimeofday with __vdso_gettimeofday.
9462
7be16f82
RM
9463 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9464 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
9465 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
9466
9467 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
9468 time with __vdso_time.
9469
ed58a00f
JM
94702012-03-05 Joseph Myers <joseph@codesourcery.com>
9471
9472 * manual/lang.texi (size_t): Note types to which size_t may be
9473 equivalent with the GNU C Library, but do not describe when
9474 differences between them are significant.
9475
30ee4ced
AJ
94762012-03-05 Andreas Jaeger <aj@suse.de>
9477
9478 * sysdeps/i386/fpu/libm-test-ulps: Update.
9479
b7cd39e8
JM
94802012-03-05 Joseph Myers <joseph@codesourcery.com>
9481
9482 [BZ #3976]
9483 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
9484 (__ieee754_pow): Save and restore rounding mode and use
9485 round-to-nearest for main computations.
9486 * math/libm-test.inc (pow_test_tonearest): New function.
9487 (pow_test_towardzero): Likewise.
9488 (pow_test_downward): Likewise.
9489 (pow_test_upward): Likewise.
9490 (main): Call the new functions.
9491 * sysdeps/i386/fpu/libm-test-ulps: Update.
9492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
9493
9494 [BZ #3976]
9495 * math/libm-test.inc (cosh_test_tonearest): New function.
9496 (cosh_test_towardzero): Likewise.
9497 (cosh_test_downward): Likewise.
9498 (cosh_test_upward): Likewise.
9499 (sinh_test_tonearest): Likewise.
9500 (sinh_test_towardzero): Likewise.
9501 (sinh_test_downward): Likewise.
9502 (sinh_test_upward): Likewise.
9503 (main): Call the new functions.
9504 * sysdeps/i386/fpu/libm-test-ulps: Update.
9505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9506
6c6a98c9
TV
95072012-03-05 Tom de Vries <tom@codesourcery.com>
9508
9509 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
9510 default stack guard is set in last bytes.
9511 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
9512
21bb2d2e 95132012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 9514
21bb2d2e 9515 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 9516
21bb2d2e
AJ
9517 [BZ #13656]
9518 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
9519 possibly allocate from heap instead of stack.
9520 * stdio-common/bug-vfprintf-nargs.c: New file.
9521 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 9522
c6922934
AS
95232012-03-03 Andreas Schwab <schwab@linux-m68k.org>
9524
9525 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9526
bc957d53
MP
95272012-03-03 Marek Polacek <polacek@redhat.com>
9528
9529 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
9530 * math/math_private.h: Likewise.
9531 * stdlib/tst-strtod.c: Likewise.
9532 * sysdeps/i386/i486/bits/atomic.h: Likewise.
9533 * sysdeps/x86_64/bits/atomic.h: Likewise.
9534
6358490d
DM
95352012-03-02 David S. Miller <davem@davemloft.net>
9536
9537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
9538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
9539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
9540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
9541 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
9542 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
9543 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
9544 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
9545
01ae168d
RM
95462012-03-02 Roland McGrath <roland@hack.frob.com>
9547
d9a17c07
RM
9548 [BZ #13792]
9549 * manual/examples/README: New file, says the example source files
9550 can be used under GPL>=2.
9551 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
9552 line containing just "*/".
9553 * manual/examples/add.c: Add copyright header (GPL>=2).
9554 * manual/examples/argp-ex1.c: Likewise.
9555 * manual/examples/argp-ex2.c: Likewise.
9556 * manual/examples/argp-ex3.c: Likewise.
9557 * manual/examples/argp-ex4.c: Likewise.
9558 * manual/examples/atexit.c: Likewise.
9559 * manual/examples/db.c: Likewise.
9560 * manual/examples/dir.c: Likewise.
9561 * manual/examples/dir2.c: Likewise.
9562 * manual/examples/execinfo.c: Likewise.
9563 * manual/examples/filecli.c: Likewise.
9564 * manual/examples/filesrv.c: Likewise.
9565 * manual/examples/fmtmsgexpl.c: Likewise.
9566 * manual/examples/genpass.c: Likewise.
9567 * manual/examples/inetcli.c: Likewise.
9568 * manual/examples/inetsrv.c: Likewise.
9569 * manual/examples/isockad.c: Likewise.
9570 * manual/examples/longopt.c: Likewise.
9571 * manual/examples/memopen.c: Likewise.
9572 * manual/examples/memstrm.c: Likewise.
9573 * manual/examples/mkfsock.c: Likewise.
9574 * manual/examples/mkisock.c: Likewise.
9575 * manual/examples/mygetpass.c: Likewise.
9576 * manual/examples/pipe.c: Likewise.
9577 * manual/examples/popen.c: Likewise.
9578 * manual/examples/rprintf.c: Likewise.
9579 * manual/examples/search.c: Likewise.
9580 * manual/examples/select.c: Likewise.
9581 * manual/examples/setjmp.c: Likewise.
9582 * manual/examples/sigh1.c: Likewise.
9583 * manual/examples/sigusr.c: Likewise.
9584 * manual/examples/stpcpy.c: Likewise.
9585 * manual/examples/strdupa.c: Likewise.
9586 * manual/examples/strftim.c: Likewise.
9587 * manual/examples/strncat.c: Likewise.
9588 * manual/examples/subopt.c: Likewise.
9589 * manual/examples/swapcontext.c: Likewise.
9590 * manual/examples/termios.c: Likewise.
9591 * manual/examples/testopt.c: Likewise.
9592 * manual/examples/testpass.c: Likewise.
9593 * manual/examples/timeval_subtract.c: Likewise.
9594
01ae168d
RM
9595 [BZ #13792]
9596 * manual/time.texi (Elapsed Time): Move timeval_subtract example
9597 function to ...
9598 * manual/timeval_subtract.c.texi: ... here, new file.
9599
49efa33d
DM
96002012-03-02 David S. Miller <davem@davemloft.net>
9601
9602 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
9603
28afd92d
JM
96042012-03-02 Joseph Myers <joseph@codesourcery.com>
9605
804360ed
JM
9606 [BZ #3976]
9607 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
9608 (__sin): Save and restore rounding mode and use round-to-nearest
9609 for all computations.
9610 (__cos): Save and restore rounding mode and use round-to-nearest
9611 for all computations.
9612 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
9613 <fenv.h>.
9614 (tan): Save and restore rounding mode and use round-to-nearest for
9615 all computations.
9616 * math/libm-test.inc (cos_test_tonearest): New function.
9617 (cos_test_towardzero): Likewise.
9618 (cos_test_downward): Likewise.
9619 (cos_test_upward): Likewise.
9620 (sin_test_tonearest): Likewise.
9621 (sin_test_towardzero): Likewise.
9622 (sin_test_downward): Likewise.
9623 (sin_test_upward): Likewise.
9624 (tan_test_tonearest): Likewise.
9625 (tan_test_towardzero): Likewise.
9626 (tan_test_downward): Likewise.
9627 (tan_test_upward): Likewise.
9628 (main): Call the new functions.
9629 * sysdeps/i386/fpu/libm-test-ulps: Update.
9630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9631
a6d06d7b
JM
9632 [BZ #10135]
9633 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
9634 small n, then large n, before computing and testing k+n.
9635 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9636 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9637 Likewise.
9638 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9639 Likewise.
9640 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
9641 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9642 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9643 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9644 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9645 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9646 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9647 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
9648 * math/libm-test.inc (scalbn_test): Add more tests.
9649 (scalbln_test): Likewise.
9650
07e12bb3
JM
9651 * manual/filesys.texi (mode_t): Describe constraints on size and
9652 signedness, not exact equivalence to a particular type.
9653 (ino_t): Likewise.
9654 (ino64_t): Likewise.
9655 (dev_t): Likewise.
9656 (nlink_t): Likewise.
9657 (blkcnt_t): Likewise.
9658 (blkcnt64_t): Likewise.
9659 * manual/llio.texi (off_t): Likewise.
9660
28afd92d
JM
9661 [BZ #3976]
9662 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
9663 (__ieee754_exp): Save and restore rounding mode and use
9664 round-to-nearest for all computations.
9665 * math/libm-test.inc (exp_test_tonearest): New function.
9666 (exp_test_towardzero): Likewise.
9667 (exp_test_downward): Likewise.
9668 (exp_test_upward): Likewise.
9669 (main): Call the new functions.
9670 * sysdeps/i386/fpu/libm-test-ulps: Update.
9671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9672
b1eeb65d
CD
96732012-03-01 Chris Demetriou <cgd@google.com>
9674
9675 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
9676 have predictable order.
9677
53362a4b
DM
96782012-03-01 David S. Miller <davem@davemloft.net>
9679
3c969083
DM
9680 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
9681
759707de
DM
9682 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
9683 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
9684 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
9685 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
9686
dfdb8ff2
DM
9687 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
9688 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
9689 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
9690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
9691 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
9692 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
9693 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
9694 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
9695 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
9696
ead89f96
DM
9697 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9698
7f66bd07
DM
9699 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
9700 * sysdeps/sparc/fpu/libm-test-ulps: to here.
9701 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
9702
53362a4b
DM
9703 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
9704 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9705 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9706 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9707 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9708 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9709 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9710 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9711 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9712 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9713 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9714 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9715 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9716 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9717 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9718 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9719 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
9720 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
9721 * sysdeps/sparc/elf/configure: Regenerated.
9722
7b1902cb
JM
97232012-03-01 Joseph Myers <joseph@codesourcery.com>
9724
bec039bc
JM
9725 * configure.in (AS, LD): Require binutils 2.20 or later.
9726 * configure: Regenerated.
9727 * manual/install.texi (Tools for Compilation): Give binutils 2.20
9728 as required minimum version.
9729 * INSTALL: Regenerated.
9730
7b1902cb
JM
9731 [BZ #2541]
9732 [BZ #4108]
9733 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
9734 before squaring exponent.
9735 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
9736 bottom long double and 27 bits of top long double before squaring
9737 exponent.
9738 * math/libm-test.inc (erfc_test): Add more tests.
9739 * sysdeps/i386/fpu/libm-test-ulps: Update.
9740 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9742
f775c276
KT
97432012-03-01 Kai Tietz <ktietz@redhat.com>
9744
9745 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
9746 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
9747 containing bit-fields.
9748 * soft-fp/extended.h (_FP_UNION_E): Likewise.
9749 * soft-fp/single.h (_FP_UNION_S): Likewise.
9750 * soft-fp/double.h (_FP_UNION_D): Likewise.
9751
5b8a4d4a
JM
97522012-02-29 Joseph Myers <joseph@codesourcery.com>
9753
0bab47b6
JM
9754 [BZ #13786]
9755 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
9756 not include ../strcmp.S.
9757 [USE_AS_STRNCASECMP_L]: Likewise.
9758 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
9759 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
9760 * sysdeps/i386/i686/multiarch/strncase_l-c.c
9761 (__strncasecmp_l_ia32): Define as alias to
9762 __strncasecmp_l_nonascii.
9763
0fcad3e2
JM
9764 [BZ #5794]
9765 * math/libm-test.inc (expm1_test): Add test for bug 5794.
9766 * sysdeps/i386/fpu/libm-test-ulps: Update.
9767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9768
5b8a4d4a
JM
9769 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
9770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9771
8fdceb2e
JL
97722012-02-29 Jeff Law <law@redhat.com>
9773
9774 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
9775 out of bounds read.
9776
1f393a11
MP
97772012-02-29 Marek Polacek <polacek@redhat.com>
9778
9779 [BZ #13706]
9780 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
9781 * elf/Makefile: Add rules to run tst-unused-dep.out.
9782
8847f037
DM
97832012-02-28 David S. Miller <davem@davemloft.net>
9784
9785 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
9786 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
9787 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
9788 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
9789 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
9790 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
9791
169d7f11
JM
97922012-02-29 Joseph Myers <joseph@codesourcery.com>
9793
9794 * math/libm-test.inc (llround_test): Move one test from
9795 lround_test. Use TEST_f_L in moved test.
9796 (lround_test): Move misplaced test to llround_test. Add testcase
9797 from bug 2561.
9798
39adf059
UD
97992012-02-28 Ulrich Drepper <drepper@gmail.com>
9800
9801 * sysdeps/x86_64/fpu/e_expf.S: New file.
9802 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
9803
71b5d1c5
SB
98042012-02-28 Stanislav Brabec <sbrabec@suse.cz>
9805
9806 [BZ #13637]
9807 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
9808 of remain_len that may cause incomplete multi-byte character and
9809 false match.
9810 * posix/bug-regex33.c: New file.
9811 * posix/Makefile (tests): Add bug-regex33.
9812
1f77f049
JM
98132012-02-28 Joseph Myers <joseph@codesourcery.com>
9814
9815 * manual/macros.texi: New file.
9816 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
9817 * manual/libc.texinfo: Include macros.texi.
9818 * manual/creatute.texi: Likewise.
9819 * manual/install.texi: Likewise.
9820 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
9821 @glibcadj{} in references to the GNU C Library.
9822 * manual/charset.texi: Likewise.
9823 * manual/conf.texi: Likewise.
9824 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
9825 when not using those macros.
9826 * manual/creature.texi: Likewise.
9827 * manual/crypt.texi: Likewise.
9828 * manual/errno.texi: Likewise.
9829 * manual/filesys.texi: Likewise.
9830 * manual/header.texi: Likewise.
9831 * manual/install.texi: Likewise.
9832 * manual/intro.texi: Likewise.
9833 * manual/io.texi: Likewise.
9834 * manual/job.texi: Likewise.
9835 * manual/lang.texi: Likewise.
9836 * manual/libc.texiinfo: Likewise.
9837 * manual/llio.texi: Likewise.
9838 * manual/locale.texi: Likewise.
9839 * manual/maint.texi: Likewise.
9840 * manual/math.texi: Likewise.
9841 * manual/memory.texi: Likewise.
9842 * manual/message.texi: Likewise.
9843 * manual/nss.texi: Likewise.
9844 * manual/pattern.texi: Likewise.
9845 * manual/process.texi: Likewise.
9846 * manual/resource.texi: Likewise.
9847 * manual/search.texi: Likewise.
9848 * manual/setjmp.texi: Likewise.
9849 * manual/signal.texi: Likewise.
9850 * manual/socket.texi: Likewise.
9851 * manual/startup.texi: Likewise.
9852 * manual/stdio.texi: Likewise.
9853 * manual/string.texi: Likewise.
9854 * manual/sysinfo.texi: Likewise.
9855 * manual/syslog.texi: Likewise.
9856 * manual/terminal.texi: Likewise.
9857 * manual/time.texi: Likewise.
9858 * manual/users.texi: Likewise.
9859 * INSTALL: Regenerated.
9860 * NOTES: Regenerated.
d40c5d54 9861 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 9862
450bf206
AS
98632012-02-28 Andreas Schwab <schwab@linux-m68k.org>
9864
9865 * include/dirent.h: Include <dirstream.h> before
9866 <dirent/dirent.h>.
9867
741a235b
DM
98682012-02-28 David S. Miller <davem@davemloft.net>
9869
9870 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
9871 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
9872 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
9873 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
9874
d6b5aa58
DM
98752012-02-27 David S. Miller <davem@davemloft.net>
9876
1aff59a3
DM
9877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
9878 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
9879 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
9880 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
9881
d6b5aa58
DM
9882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
9883 frame pointer instead of stack pointer relative arg slot.
9884 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9885 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9886 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9887
433f48bf
CD
98882012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
9889
9890 [BZ #3992]
9891 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
9892
d674b76d
DM
98932012-02-27 David S. Miller <davem@davemloft.net>
9894
9895 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
9896 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
9899 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9900 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9901 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
9902 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
9903
0e7727f7
JM
99042012-02-27 Joseph Myers <joseph@codesourcery.com>
9905
9906 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
9907 later. Allow versions 5-9.
43be4ca2 9908 * configure: Regenerated.
0e7727f7
JM
9909 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
9910 required minimum version and 4.6 as recommended version. Do not
9911 mention bugs in GCC 2.7 and 2.8.
43be4ca2 9912 * INSTALL: Regenerated.
0e7727f7 9913
a78bc654
DM
99142012-02-27 David S. Miller <davem@davemloft.net>
9915
428d5830
DM
9916 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
9917 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
9918 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
9919 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
9920 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
9921 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
9922 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
9923 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
9924
a78bc654
DM
9925 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
9926 manipulate bits before adding and subtracting TWO112[sx].
9927 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9928
4579f81c
RM
99292012-02-27 Roland McGrath <roland@hack.frob.com>
9930
36c8acb4
RM
9931 [BZ #13775]
9932 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
9933 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
9934 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
9935 being in POSIX, because they are in 1003.1-2008.
9936
84ad622b
RM
9937 * rt/tst-aio.c: Include <fcntl.h>.
9938 * rt/tst-aio7.c: Likewise.
9939 * rt/tst-aio64.c: Likewise.
9940
4579f81c
RM
9941 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
9942
abd923db
JM
99432012-02-27 Joseph Myers <joseph@codesourcery.com>
9944
9945 * manual/install.texi (--with-headers): Describe headers as
9946 interface headers, not private headers.
9947 (Specific advice for GNU/Linux systems): Describe use of headers
9948 from "make headers_install", not private headers from older
9949 kernels.
43be4ca2 9950 * INSTALL: Regenerated.
abd923db
JM
9951 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
9952 Change to 2.6.19.
9953 * sysdeps/unix/sysv/linux/configure: Regenerated.
9954
6664049b
JM
9955 * manual/llio.texi (fclean): Remove documentation.
9956
bb8b6697
JM
9957 * manual/Makefile (libc-texi-generated): New variable. Include
9958 version.texi.
9959 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
9960 $(libc-texi-generated), not duplicated list of files.
9961 (version.texi, stamp-version): New rules.
9962 (realclean): Remove $(libc-texi-generated), not individual files
9963 from that list. Do not remove dir-add.texinfo.
9964 * manual/libc.texinfo: Comment out uses of edition numbers and
9965 references to printed manual. Remove last-updated dates.
9966 (EDITION): Comment out.
9967 (ISBN): Likewise.
9968 (VERSION, UPDATED): Remove.
9969 (version.texi): Include.
9970
12e5c3b9
AS
99712012-02-27 Andreas Schwab <schwab@linux-m68k.org>
9972
9973 * sysdeps/posix/spawni.c: Include <signal.h>.
9974 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
9975 * sysdeps/pthread/aio_fsync.c: Likewise.
9976
4efeffc1 99772012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 9978
ba63ba08
UD
9979 * conform/Makefile (tests): Run only when not cross-compiling and
9980 when fast-check is not defined.
9981
d94a4670
UD
9982 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
9983 * conform/data/limits.h-data: Fixes for POSIX2008.
9984 * conform/run-conformtest.sh: Run all tests.
9985 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
9986 headers.
9987 * include/bits/dlfcn.h: Likewise.
9988 * include/langinfo.h: Likewise.
9989 * include/monetary.h: Likewise.
9990 * include/sys/poll.h: Likewise.
9991
9992 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
9993 for __USE_GNU.
9994 * posix/spawn.h: Define __need_sigset_t.
9995 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
9996 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
9997 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
9998 to get sigevent_t only.
9999 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
10000 only for __USE_GNU.
10001 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10002 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10003 process_vm_writev only for __USE_GNU.
10004 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
10005
10006 * conform/Makefile: For now ignore errors from run-conformtest.
10007 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
10008 POSIX to avoid namespace pollution. Don't prepend headers.
10009 * conform/data/aio.h-data: Fixes for POSIX testing.
10010 * conform/data/fcntl.h-data: Likewise.
10011 * conform/data/glob.h-data: Likewise.
10012 * conform/data/grp.h-data: Likewise.
10013 * conform/data/pthread.h-data: Likewise.
10014 * conform/data/pwd.h-data: Likewise.
10015 * conform/data/signal.h-data: Likewise.
10016 * conform/data/spawn.h-data: Likewise.
10017 * conform/data/stdio.h-data: Likewise.
10018 * conform/data/stdlib.h-data: Likewise.
10019 * conform/data/stropts.h-data: Likewise.
10020 * conform/data/sys/mman.h-data: Likewise.
10021 * conform/data/sys/stat.h-data: Likewise.
10022 * conform/data/sys/types.h-data: Likewise.
10023 * conform/data/sys/wait.h-data: Likewise.
10024 * conform/data/time.h-data: Likewise.
10025 * conform/data/unistd.h-data: Likewise.
10026 * conform/data/utime.h-data: Likewise.
10027
10028 * io/sys/stat.h: fchmod was always in POSIX.
10029 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
10030 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
10031 * rt/aio.h: Define __need_timespec before including <time.h>.
10032 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
10033 struct. Add forward declaration of pthread_attr_t and use it in
10034 sigevent.
10035 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10036 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10037 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
10038 always remove CLK_TCK definition.
10039
c20105c3
AS
100402012-02-26 Andreas Schwab <schwab@linux-m68k.org>
10041
10042 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
10043
7a270350
UD
100442012-02-25 Ulrich Drepper <drepper@gmail.com>
10045
31341567
UD
10046 * conform/run-conformtest.sh: New file.
10047 * conform/Makefile: Run run-conformtest for tests.
10048 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
10049 support.
10050
10051 * conform/data/uchar.h-data: New file.
10052 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
10053 * conform/data/arpa/inet.h-data: Likewise.
10054 * conform/data/assert.h-data: Likewise.
10055 * conform/data/complex.h-data: Likewise.
10056 * conform/data/cpio.h-data: Likewise.
10057 * conform/data/ctype.h-data: Likewise.
10058 * conform/data/dirent.h-data: Likewise.
10059 * conform/data/dlfcn.h-data: Likewise.
10060 * conform/data/errno.h-data: Likewise.
10061 * conform/data/fcntl.h-data: Likewise.
10062 * conform/data/float.h-data: Likewise.
10063 * conform/data/fmtmsg.h-data: Likewise.
10064 * conform/data/fnmatch.h-data: Likewise.
10065 * conform/data/ftw.h-data: Likewise.
10066 * conform/data/glob.h-data: Likewise.
10067 * conform/data/grp.h-data: Likewise.
10068 * conform/data/iconv.h-data: Likewise.
10069 * conform/data/inttypes.h-data: Likewise.
10070 * conform/data/langinfo.h-data: Likewise.
10071 * conform/data/libgen.h-data: Likewise.
10072 * conform/data/limits.h-data: Likewise.
10073 * conform/data/locale.h-data: Likewise.
10074 * conform/data/math.h-data: Likewise.
10075 * conform/data/monetary.h-data: Likewise.
10076 * conform/data/mqueue.h-data: Likewise.
10077 * conform/data/ndbm.h-data: Likewise.
10078 * conform/data/net/if.h-data: Likewise.
10079 * conform/data/netdb.h-data: Likewise.
10080 * conform/data/netinet/in.h-data: Likewise.
10081 * conform/data/nl_types.h-data: Likewise.
10082 * conform/data/poll.h-data: Likewise.
10083 * conform/data/pthread.h-data: Likewise.
10084 * conform/data/pwd.h-data: Likewise.
10085 * conform/data/regex.h-data: Likewise.
10086 * conform/data/sched.h-data: Likewise.
10087 * conform/data/search.h-data: Likewise.
10088 * conform/data/semaphore.h-data: Likewise.
10089 * conform/data/setjmp.h-data: Likewise.
10090 * conform/data/signal.h-data: Likewise.
10091 * conform/data/spawn.h-data: Likewise.
10092 * conform/data/stdarg.h-data: Likewise.
10093 * conform/data/stdio.h-data: Likewise.
10094 * conform/data/stdlib.h-data: Likewise.
10095 * conform/data/string.h-data: Likewise.
10096 * conform/data/strings.h-data: Likewise.
10097 * conform/data/stropts.h-data: Likewise.
10098 * conform/data/sys/ipc.h-data: Likewise.
10099 * conform/data/sys/mman.h-data: Likewise.
10100 * conform/data/sys/msg.h-data: Likewise.
10101 * conform/data/sys/resource.h-data: Likewise.
10102 * conform/data/sys/select.h-data: Likewise.
10103 * conform/data/sys/sem.h-data: Likewise.
10104 * conform/data/sys/shm.h-data: Likewise.
10105 * conform/data/sys/socket.h-data: Likewise.
10106 * conform/data/sys/stat.h-data: Likewise.
10107 * conform/data/sys/statvfs.h-data: Likewise.
10108 * conform/data/sys/time.h-data: Likewise.
10109 * conform/data/sys/timeb.h-data: Likewise.
10110 * conform/data/sys/times.h-data: Likewise.
10111 * conform/data/sys/types.h-data: Likewise.
10112 * conform/data/sys/uio.h-data: Likewise.
10113 * conform/data/sys/un.h-data: Likewise.
10114 * conform/data/sys/utsname.h-data: Likewise.
10115 * conform/data/sys/wait.h-data: Likewise.
10116 * conform/data/syslog.h-data: Likewise.
10117 * conform/data/tar.h-data: Likewise.
10118 * conform/data/termios.h-data: Likewise.
10119 * conform/data/utime.h-data: Likewise.
10120 * conform/data/utmpx.h-data: Likewise.
10121 * conform/data/varargs.h-data: Likewise.
10122 * conform/data/wchar.h-data: Likewise.
10123 * conform/data/wctype.h-data: Likewise.
10124 * conform/data/wordexp.h-data: Likewise.
10125
10126 * include/stropts.h: New file.
10127 * include/uchar.h: New file.
10128 * include/aio.h: Changes to allow conformtest.pl to use the headers.
10129 * include/assert.h: Likewise.
10130 * include/ctype.h: Likewise.
10131 * include/dirent.h: Likewise.
10132 * include/dlfcn.h: Likewise.
10133 * include/fcntl.h: Likewise.
10134 * include/fnmatch.h: Likewise.
10135 * include/glob.h: Likewise.
10136 * include/grp.h: Likewise.
10137 * include/libio.h: Likewise.
10138 * include/locale.h: Likewise.
10139 * include/math.h: Likewise.
10140 * include/net/if.h: Likewise.
10141 * include/netdb.h: Likewise.
10142 * include/netinet/in.h: Likewise.
10143 * include/pthread.h: Likewise.
10144 * include/pwd.h: Likewise.
10145 * include/regex.h: Likewise.
10146 * include/sched.h: Likewise.
10147 * include/search.h: Likewise.
10148 * include/setjmp.h: Likewise.
10149 * include/signal.h: Likewise.
10150 * include/stdio.h: Likewise.
10151 * include/stdlib.h: Likewise.
10152 * include/string.h: Likewise.
10153 * include/sys/cdefs.h: Likewise.
10154 * include/sys/mman.h: Likewise.
10155 * include/sys/msg.h: Likewise.
10156 * include/sys/resource.h: Likewise.
10157 * include/sys/select.h: Likewise.
10158 * include/sys/socket.h: Likewise.
10159 * include/sys/stat.h: Likewise.
10160 * include/sys/statvfs.h: Likewise.
10161 * include/sys/time.h: Likewise.
10162 * include/sys/times.h: Likewise.
10163 * include/sys/uio.h: Likewise.
10164 * include/sys/utsname.h: Likewise.
10165 * include/sys/wait.h: Likewise.
10166 * include/termios.h: Likewise.
10167 * include/time.h: Likewise.
10168 * include/ulimit.h: Likewise.
10169 * include/unistd.h: Likewise.
10170 * include/utime.h: Likewise.
10171 * include/wchar.h: Likewise.
10172 * include/wctype.h: Likewise.
10173 * include/wordexp.h: Likewise.
10174
10175 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
10176
7a270350
UD
10177 * time/time.h: TIME_UTC must be a macro.
10178 Make timespec_get available for ISO C11 only as well.
10179
7724defc
UD
101802012-02-24 Ulrich Drepper <drepper@gmail.com>
10181
10182 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
10183 Reported by Peng Haitao <penght@cn.fujitsu.com>.
10184
6b1d1d46
JM
101852012-02-24 Joseph Myers <joseph@codesourcery.com>
10186
10187 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 10188
0f8bbd69
JM
101892012-02-24 Joseph Myers <joseph@codesourcery.com>
10190
10191 * manual/texinfo.tex: Update to version 2012-01-19.16.
10192
66ab80bc
JM
101932012-02-24 Joseph Myers <joseph@codesourcery.com>
10194
10195 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
10196
74981cc5
RM
101972012-02-24 Roland McGrath <roland@hack.frob.com>
10198
ee968201
RM
10199 [BZ #13738]
10200 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
10201 * manual/fdl-1.3.texi: New file.
10202 * manual/fdl-1.1.texi: File removed.
10203
74981cc5
RM
10204 [BZ #13738]
10205 * manual/libc.texinfo (FDL_VERSION): New @set.
10206 Use it for mention of FDL in cover text.
10207 (Documentation License): Use it in @include file name.
10208
7bb764bc
JM
102092012-02-22 Joseph Myers <joseph@codesourcery.com>
10210 Roland McGrath <roland@hack.frob.com>
10211
10212 [BZ #5461]
10213 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
10214 not LONG_LONG_MAX and LONG_LONG_MIN.
10215 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
10216 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
10217 name.
10218 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
10219
6cbeae47
JM
102202012-02-22 Joseph Myers <joseph@codesourcery.com>
10221
10222 [BZ #2547]
10223 [BZ #11365]
10224 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
10225 manipulate bits before adding and subtracting TWO23[sx].
10226 * math/libm-test.inc (nearbyint_test): Add more tests.
10227
fe45ce09
JM
102282012-02-22 Joseph Myers <joseph@codesourcery.com>
10229
10230 [BZ #2548]
10231 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
10232 bits before adding and subtracting TWO23[sx].
10233 * math/libm-test.inc (rint_test): Add more tests.
10234 (rint_test_tonearest): Likewise.
10235 (rint_test_towardzero): Likewise.
10236 (rint_test_downward): Likewise.
10237 (rint_test_upward: Likewise.
10238
ff3b3d82
JM
102392012-02-22 Joseph Myers <joseph@codesourcery.com>
10240
10241 [BZ #10110]
10242 * include/stdc-predef.h: New file. Extracted from features.h.
10243 * include/features.h: Include stdc-predef.h.
10244 * Makefile (headers): Add stdc-predef.h.
10245 * CONFORMANCE (Compiler limitations): Update.
10246
ef0aab35
JM
102472012-02-22 Joseph Myers <joseph@codesourcery.com>
10248
10249 * manual/libc.texinfo (VERSION, UPDATED): Revert.
10250
58639409
DM
102512012-02-21 David S. Miller <davem@davemloft.net>
10252
10253 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
10254 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10255
c0e70b25
DM
102562012-02-20 David S. Miller <davem@davemloft.net>
10257
10258 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
10259 using a normal save/restore sequence, rather than allocating a
10260 dummy stack frame just to store a frame pointer and restore.
10261 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10262
fb06851d
JM
102632012-02-21 Joseph Myers <joseph@codesourcery.com>
10264
10265 * manual/install.texi: Fix stray word in line-wrapped comment.
10266
7a8b71c3
DM
102672012-02-20 David S. Miller <davem@davemloft.net>
10268
d510c123
DM
10269 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
10270 both binutils and gcc support GOTDATA.
10271
0722d7c2
DM
10272 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
10273 "rd %pc" in the PIC register setup sequences.
10274
3d2b3019
DM
10275 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
10276 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10277 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10278 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10279 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10280 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10281 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10282 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10283 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
10284 (SYSCALL_ERROR_HANDLER): Likewise.
10285 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10286 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10287 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
10288 (SYSCALL_ERROR_HANDLER): Likewise.
10289
c80098a9
DM
10290 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
10291 (HAVE_GCC_GOTDATA): New.
10292 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
10293 relocation support in both binutils and gcc.
10294 * sysdeps/sparc/elf/configure: Regenerate.
10295
3a2545a0
DM
10296 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
10297 * sysdeps/sparc/sparc32/elf/configure: Delete.
10298 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
10299 * sysdeps/sparc/sparc64/elf/configure: Delete.
10300 * sysdeps/sparc/elf/configure.in: New file.
10301 * sysdeps/sparc/elf/configure: Generate.
10302
7a8b71c3
DM
10303 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
10304 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
10305 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10306 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
10307 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
10308
f1e86fca
JM
103092012-02-21 Joseph Myers <joseph@codesourcery.com>
10310
10311 * manual/install.texi: Do not mention specific glibc version
10312 numbers.
10313 * manual/libc.texinfo (VERSION, UPDATED): Update.
10314 (@copying): Use @copyright{} and range of years.
10315
0e7dfaef
JM
103162012-02-21 Joseph Myers <joseph@codesourcery.com>
10317
10318 [BZ #13695]
10319 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
10320 [crti.S not in sysdirs] (generated): Do not append.
10321 [crti.S not in sysdirs] (omit-deps): Likewise.
10322 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
10323 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
10324 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
10325 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
10326 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
10327 Likewise.
10328 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
10329 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
10330 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
10331 * csu/defs.awk: Remove file.
10332 * sysdeps/generic/initfini.c: Likewise.
10333 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
10334 variable.
10335 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
10336 Likewise.
10337
599af3ca
JM
103382012-02-20 Joseph Myers <joseph@codesourcery.com>
10339
10340 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
10341 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
10342 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
10343 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
10344 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10345 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
10346 <bits/epoll.h>.
10347 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
10348 (__EPOLL_PACKED): Define to empty if not defined by
10349 <bits/epoll.h>.
10350 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
10351 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10352 bits/epoll.h.
10353
0e499750
JM
103542012-02-20 Joseph Myers <joseph@codesourcery.com>
10355
10356 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
10357 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
10358 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10359 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10360 <bits/timerfd.h>.
10361 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10362 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10363 bits/timerfd.h.
10364
5ad91f6e
JM
103652012-02-20 Joseph Myers <joseph@codesourcery.com>
10366
10367 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10368 in C locale.
10369 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10370 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10371 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10373
06b99b02
AJ
103742012-02-20 Aurelien Jarno <aurelien@aurel32.net>
10375
10376 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10377 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10378
7638c0fd
AS
103792012-02-19 Andreas Schwab <schwab@linux-m68k.org>
10380
10381 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10382 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10383 defined.
10384 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10385 Likewise.
10386 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10387 entry for 2.16.
10388
92221550
AJ
103892012-02-19 Aurelien Jarno <aurelien@aurel32.net>
10390
10391 * math/w_acos.c: Use non-signaling floating-point comparisons.
10392 * math/w_acosf.c: Likewise.
10393 * math/w_acosh.c: Likewise.
10394 * math/w_acoshf.c: Likewise.
10395 * math/w_acoshl.c: Likewise.
10396 * math/w_acosl.c: Likewise.
10397 * math/w_asin.c: Likewise.
10398 * math/w_asinf.c: Likewise.
10399 * math/w_asinl.c: Likewise.
10400 * math/w_atanh.c: Likewise.
10401 * math/w_atanhf.c: Likewise.
10402 * math/w_atanhl.c: Likewise.
10403 * math/w_exp2.c: Likewise.
10404 * math/w_exp2f.c: Likewise.
10405 * math/w_exp2l.c: Likewise.
10406 * math/w_j0.c: Likewise.
10407 * math/w_j0f.c: Likewise.
10408 * math/w_j0l.c: Likewise.
10409 * math/w_j1.c: Likewise.
10410 * math/w_j1f.c: Likewise.
10411 * math/w_j1l.c: Likewise.
10412 * math/w_jn.c: Likewise.
10413 * math/w_jnf.c: Likewise.
10414 * math/w_log.c: Likewise.
10415 * math/w_log10.c: Likewise.
10416 * math/w_log10f.c: Likewise.
10417 * math/w_log10l.c: Likewise.
10418 * math/w_log2.c: Likewise.
10419 * math/w_log2f.c: Likewise.
10420 * math/w_log2l.c: Likewise.
10421 * math/w_logf.c: Likewise.
10422 * math/w_logl.c: Likewise.
10423 * math/w_sqrt.c: Likewise.
10424 * math/w_sqrtf.c: Likewise.
10425 * math/w_sqrtl.c: Likewise.
10426 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10427 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10428 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10429 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10430 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10431
ebaf36eb
JM
104322012-02-19 Joseph Myers <joseph@codesourcery.com>
10433
10434 [BZ #9739]
10435 * manual/string.texi (strnlen): Use correct parameter name in
10436 equivalent expression.
10437
71c254a6
JM
104382012-02-19 Joseph Myers <joseph@codesourcery.com>
10439
10440 [BZ #11174]
10441 * manual/users.texi (seteuid): Consistently use neweuid for
10442 argument name.
10443
16d2c631
JM
104442012-02-19 Joseph Myers <joseph@codesourcery.com>
10445
10446 [BZ #13704]
10447 * manual/nss.texi (Services in the NSS configuration): Correct
10448 list of services in example configuration file.
10449
cd837b09
NB
104502012-02-19 Nick Bowler <nbowler@draconx.ca>
10451
10452 [BZ #11322]
10453 * manual/arith.texi: Remove statements about negative zero
10454 behaving identically to zero.
10455
02c4bbad
JM
104562012-02-18 Joseph Myers <joseph@codesourcery.com>
10457
10458 [BZ #5993]
10459 * manual/install.texi: Do not document upgrading from libc5.
10460
366842e7
JM
104612012-02-18 Joseph Myers <joseph@codesourcery.com>
10462
10463 [BZ #4596]
10464 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
10465
dd54084d
DM
104662012-02-18 David S. Miller <davem@davemloft.net>
10467
10468 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
10469 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
10470 %o7 across the call.
10471 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
10472 instead.
10473 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
10474 SETUP_PIC_REG_LEAF.
10475 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10476 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
10477 * sysdeps/sparc/crtn.S: Likewise.
10478
2bcc53a3
UD
104792012-02-17 Ulrich Drepper <drepper@gmail.com>
10480
10481 * aout/Makefile: Remove.
10482
09c093b5
RK
104832012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
10484
10485 [BZ #13058]
10486 * manual/examples/argp-ex1.c (main): Format definition in GNU
10487 style.
10488 * manual/examples/argp-ex2.c (main): Likewise.
10489 * manual/examples/argp-ex3.c (main): Likewise.
10490 * manual/examples/argp-ex4.c (main): Likewise.
10491 * manual/examples/longopt.c (main): Use new-style prototype
10492 definition.
10493 * manual/examples/strncat.c (main): Specify return type and use
10494 (void) for arguments.
10495 * manual/examples/subopt.c (main): Use char **argv argument.
10496
2ee633a2
JM
104972012-02-17 Joseph Myers <joseph@codesourcery.com>
10498
10499 [BZ #5077]
10500 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
10501 rounding modes.
10502
0520adde
FB
105032012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
10504
10505 [BZ #6907]
10506 * manual/string.texi (strchr): Change when strchrnul is
10507 recommended.
10508
3f4081cd
DGM
105092012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
10510
10511 [BZ #174]
10512 * manual/locale.texi (setlocale): Document LOCPATH.
10513
d1b10e78
JM
105142012-02-17 Joseph Myers <joseph@codesourcery.com>
10515
10516 [BZ #10210]
10517 * manual/process.texi (execle): Move @dots{} before last argument.
10518
79c6869c
PB
105192012-02-17 Paul Bolle <pebolle@tiscali.nl>
10520
10521 [BZ #12047]
10522 * manual/charset.texi (Generic Charset Conversion): Fix typo
10523 (LC_TYPE -> LC_CTYPE).
10524
cc6e48bc
NB
105252012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
10526
10527 [BZ #5805]
10528 * manual/arith.texi (scalbn): Use @var{} on parameter names.
10529 (scalbnf): Likewise.
10530 (scalbnl): Likewise.
10531 (scalbln): Likewise.
10532 (scalblnf): Likewise.
10533 (scalblnl): Likewise.
10534 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
10535 (vwarnx): Likewise.
10536 (verr): Likewise.
10537 (verrx): Likewise.
10538 * manual/filesys.texi (telldir): Use braces around return type.
10539 * manual/llio.texi (mmap): Add space after comma.
10540 (mmap64): Likewise.
10541 * manual/math.texi (jn): Use @var{} on parameter names.
10542 (jnf): Likewise.
10543 (jnl): Likewise.
10544 (yn): Likewise.
10545 (ynf): Likewise.
10546 (ynl): Likewise.
10547 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
10548 line.
10549 * manual/resource.texi (ulimit): Use @dots{} instead of literal
10550 "...".
10551 (sched_get_priority_min): Remove semicolon on @deftypefun line.
10552 (sched_get_priority_max): Likewise.
10553 * manual/signal.texi (sigvec): Add space after comma.
10554 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
10555 names.
10556 (if_indextoname): Likewise.
10557 (if_freenameindex): Likewise.
10558 (sendto): Use ',' instead of '.' in prototype.
10559 * manual/startup.texi (syscall): Use @dots{} instead of literal
10560 "...".
10561 * manual/stdio.texi (__fpending): Separate initial words of
10562 paragraph from @deftypefun line.
10563 * manual/syslog.texi (syslog): Use @dots{} instead of literal
10564 "...".
10565 (vsyslog): Use @var{} on parameter names.
10566 * manual/terminal.texi (stty): Use @var{} on parameter names.
10567 * manual/users.texi (getutmp): Use @var{} on parameter names.
10568 (getutmpx): Likewise.
10569
5b23062f
JM
105702012-02-17 Joseph Myers <joseph@codesourcery.com>
10571
10572 [BZ #6884]
10573 * manual/stdio.texi (fopen): Fix typos in description of
10574 ",ccs=STRING".
10575
8dee4833
AJ
105762012-02-17 Aurelien Jarno <aurelien@aurel32.net>
10577
10578 [BZ #4026]
10579 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
10580 get clock_id definition.
10581
9078ce93
TS
105822012-02-17 Thomas Schwinge <thomas@schwinge.name>
10583
10584 [BZ #4822]
10585 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
10586 (madvise): Cast every argument to void on its own.
10587
3835c55f
JM
105882012-02-17 Joseph Myers <joseph@codesourcery.com>
10589
10590 [BZ #9902]
10591 * manual/startup.texi (Exit Status): Fix typo.
10592
35c47e37
JM
105932012-02-17 Joseph Myers <joseph@codesourcery.com>
10594
10595 [BZ #10140]
10596 * manual/examples/argp-ex1.c: Include <stdlib.h>.
10597 * manual/examples/argp-ex2.c: Likewise.
10598 * manual/examples/argp-ex3.c: Likewise.
10599
e3b69ca7
RH
106002012-02-16 Richard Henderson <rth@redhat.com>
10601
10602 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
10603 * sysdeps/s390/s390-32/initfini.c: Remove.
10604 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
10605 * sysdeps/s390/s390-64/initfini.c: Remove.
10606
df83af67
KK
106072012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10608
10609 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
10610 compiler output for sysdeps/generic/initfini.c.
10611 * sysdeps/sh/elf/initfini.c: Remove file.
10612
f63f3380
DM
106132012-02-16 David S. Miller <davem@davemloft.net>
10614
fb59b3a4
DM
10615 [BZ #11494]
10616 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
10617
f63f3380
DM
10618 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
10619 * sysdeps/sparc/crti.S: New file.
10620 * sysdeps/sparc/crtn.S: New file.
10621 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
10622 * sysdeps/sparc/sparc64/Makefile: Likewise.
10623
df6a4a4a
MF
106242012-02-15 Mike Frysinger <vapier@gentoo.org>
10625
6dd8f3dc 10626 [BZ #3335]
df6a4a4a
MF
10627 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
10628
1cac7236
RM
106292012-02-15 Roland McGrath <roland@hack.frob.com>
10630
d2c736f8
RM
10631 [BZ #4822]
10632 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
10633
1cac7236
RM
10634 * mach/devstream.c (cookie_io_functions_t): Macro removed.
10635 (write, read, close): Likewise.
10636 Patch by Aurelien Jarno <aurelien@aurel32.net>.
10637
8e475601
JM
106382012-02-15 Joseph Myers <joseph@codesourcery.com>
10639
10640 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
10641 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
10642 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
10643 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
10644 <bits/signalfd.h>.
10645 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
10646 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10647 bits/signalfd.h.
10648
ed656b40
MP
106492012-02-14 Marek Polacek <polacek@redhat.com>
10650
10651 * sysdeps/x86_64/crti.S: New file.
10652 * sysdeps/x86_64/crtn.S: New file.
10653 * sysdeps/x86_64/elf/initfini.c: Remove file.
10654
2a979d3a
JM
106552012-02-13 Joseph Myers <joseph@codesourcery.com>
10656
10657 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
10658 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
10659 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
10660 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
10661 <bits/inotify.h>.
10662 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
10663 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10664 bits/inotify.h.
10665
2a418ac3
JM
106662012-02-13 Joseph Myers <joseph@codesourcery.com>
10667
10668 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
10669 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
10670 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
10671 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
10672 <bits/eventfd.h>.
10673 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
10674 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10675 bits/eventfd.h.
10676
fb779be7
TS
106772012-02-10 Thomas Schwinge <thomas@codesourcery.com>
10678
e19e83c5
RM
10679 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
10680 __feraiseexcept instead of feraiseexcept.
7c35ffed 10681
fb779be7
TS
10682 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
10683 nanosleep invocations.
10684 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
10685 strings, and add error checking for a nanosleep invocations.
10686
59ba27a6
PE
106872012-02-09 Paul Eggert <eggert@cs.ucla.edu>
10688
10689 Replace FSF snail mail address with URLs, as per GNU coding standards.
10690 Most of the snail mail addresses were wrong anyway, and omitting
10691 them makes the source code easier to maintain. Almost all of the
10692 changes are to license notices and to locale LC_IDENTIFICATION
10693 addresses, except for this one:
10694 * manual/libc.texinfo: In "Published by", give the FSF's URL,
10695 not its snail mail address.
10696
57b957eb
RH
106972012-02-09 Richard Henderson <rth@twiddle.net>
10698
af850b1c
RH
10699 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
10700 of kernel-features.h.
10701
57b957eb
RH
10702 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
10703
6b73181a
MP
107042012-02-08 Marek Polacek <polacek@redhat.com>
10705
10706 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
10707 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
10708 * sysdeps/gnu/_G_config.h: Likewise.
10709 * sysdeps/generic/_G_config.h: Likewise.
10710
26ecc33a
AS
107112012-02-08 Andreas Schwab <schwab@linux-m68k.org>
10712
6c6dbc63
AS
10713 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
10714 tests.
10715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10716
e216c012
AS
10717 * sysdeps/powerpc/powerpc32/crti.S: New file.
10718 * sysdeps/powerpc/powerpc32/crtn.S: New file.
10719 * sysdeps/powerpc/powerpc64/crti.S: New file.
10720 * sysdeps/powerpc/powerpc64/crtn.S: New file.
10721
26ecc33a
AS
10722 * Makeconfig (have-initfini): Don't set.
10723 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
10724 * configure.in (nopic_initfini): Don't substitute.
10725 * config.h.in (HAVE_INITFINI): Don't #undef.
10726 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
10727 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
10728
3add8e13
JM
107292012-02-08 Joseph Myers <joseph@codesourcery.com>
10730
10731 Support crti.S and crtn.S provided directly by architectures.
10732 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
10733 [crti.S in sysdirs] (omit-deps): Likewise.
10734 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
10735 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
10736 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
10737 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
10738 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
10739 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
10740 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
10741 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
10742 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
10743 compiler output for sysdeps/generic/initfini.c.
10744 * sysdeps/i386/elf/Makefile: Remove file.
10745 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
10746
a22f12b4
MP
107472012-02-07 Marek Polacek <polacek@redhat.com>
10748
10749 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
10750 * sysdeps/gnu/_G_config.h: Likewise.
10751 * sysdeps/mach/hurd/_G_config.h: Likewise.
10752
148cf100
MP
107532012-02-07 Marek Polacek <polacek@redhat.com>
10754
10755 * math/Makefile (tests): Add tst-CMPLX2.
10756 * math/tst-CMPLX2.c: New file.
10757
cfdc0dd7
AS
107582012-02-07 Andreas Schwab <schwab@linux-m68k.org>
10759
84ba42c4
AS
10760 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10761
cfdc0dd7
AS
10762 * math/libm-test.inc (jn_test): Add missing L suffix.
10763
622c86f4
MP
107642012-02-06 Marek Polacek <polacek@redhat.com>
10765
10766 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
10767 * sysdeps/i386/fpu/e_powf.S: Likewise.
10768 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10769 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10770 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10771 * sysdeps/i386/fpu/e_pow.S: Likewise.
10772 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10773 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10774 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10775 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10776 * sysdeps/i386/fpu/e_log2.S: Likewise.
10777 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10778 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10779 * sysdeps/i386/fpu/e_powl.S: Likewise.
10780 * sysdeps/i386/fpu/s_log1p.S: Likewise.
10781 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10782 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10783 * sysdeps/i386/fpu/e_logl.S: Likewise.
10784 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10785 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
10786 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10787 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10788 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10789 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10790 * sysdeps/i386/fpu/e_log.S: Likewise.
10791 * sysdeps/i386/fpu/s_cexp.S: Likewise.
10792 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10793 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
10794 * sysdeps/i386/fpu/e_logf.S: Likewise.
10795 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10796 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10797 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
10798 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10799 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10800 * sysdeps/i386/fpu/e_log10.S: Likewise.
10801 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10802 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10803 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10804 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10805 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10806 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10807 * sysdeps/i386/asm-syntax.h: Likewise.
10808 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10809 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10810 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10811 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
10812 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
10813 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10814 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10815 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10816 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10817 * sysdeps/powerpc/sysdep.h: Likewise.
10818 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
10819 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10820
d4a54ac6
JM
108212012-02-06 Joseph Myers <joseph@codesourcery.com>
10822
10823 [BZ #411]
10824 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
10825
314054ea
JM
108262012-02-06 Joseph Myers <joseph@codesourcery.com>
10827
10828 * sysdeps/i386/sysdep.h: Include <features.h>.
10829 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
10830 version.
10831
d8e0ca50
JM
108322012-02-05 Joseph Myers <joseph@codesourcery.com>
10833
10834 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
10835 Define.
10836 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
10837 LOAD_PIC_REG_STR.
10838
b1da7dd9
JM
108392012-02-03 Joseph Myers <joseph@codesourcery.com>
10840
10841 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
10842 (SETUP_PIC_REG): Use GET_PC_THUNK.
10843 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
10844 macro.
10845
9a1d9254
JM
108462012-02-03 Joseph Myers <joseph@codesourcery.com>
10847
10848 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
10849 for non-PIC compilation.
10850 (SETUP_PIC_REG): Add .p2align directive.
10851 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
10852 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10853 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10854 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10855 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10856 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10857 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10858 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10859 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10860 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10861 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10862 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10863 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10864 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10865 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10866 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10867 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10868 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10869 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10870 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10871 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10872 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10873 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10874 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10875 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10876 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10877 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10878 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10879 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10880 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10881 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10882 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10883 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10884 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10885 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10886 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10887 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10888 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10889 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10890 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10891 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10892
65dc3b75
JM
108932012-02-03 Joseph Myers <joseph@codesourcery.com>
10894
10895 * math/tst-CMPLX.c: Include <stdio.h>.
10896
d55bf177
JM
108972012-01-31 Joseph Myers <joseph@codesourcery.com>
10898
10899 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
10900 float.
10901 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10902 * sysdeps/sparc/bits/mathdef.h: Likewise.
10903
69db4f8f
MP
109042012-01-31 Marek Polacek <polacek@redhat.com>
10905
10906 * libio/libio.h: Don't define _PARAMS.
10907 * locale/programs/config.h: Don't define PARAMS.
10908 * stdlib/strtol_l.c: Likewise.
10909 (__strtol_l): Remove PARAMS from the prototype.
10910
41b81892
UD
109112012-01-31 Ulrich Drepper <drepper@gmail.com>
10912
3b49edc0
UD
10913 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
10914 names. Just use the correct names. Remove unnecessary wrapper
10915 functions.
10916 * malloc/arena.c: Likewise.
10917 * malloc/hooks.c: Likewise.
10918
41b81892
UD
10919 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
10920 ARENA_TEST says not to. Simplify test for creation of a new arena.
10921 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
10922
27a25b6e
UD
109232012-01-30 Ulrich Drepper <drepper@gmail.com>
10924
10925 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
10926 into tail calls.
10927 (update_get_addr): New function.
10928 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
10929 GET_ADDR_MODULE parameter.
10930
c8a89e7d
JM
109312012-01-30 Joseph Myers <joseph@codesourcery.com>
10932
10933 * crypt/cert.c: Remove __STDC__ conditionals.
10934 * crypt/crypt-entry.c: Likewise.
10935 * crypt/crypt_util.c: Likewise.
10936 * libio/filedoalloc.c: Likewise.
10937 * libio/fileops.c: Likewise.
10938 * libio/genops.c: Likewise.
10939 * libio/iofclose.c: Likewise.
10940 * libio/iofdopen.c: Likewise.
10941 * libio/iofopen.c: Likewise.
10942 * libio/iofopen64.c: Likewise.
10943 * libio/iogetdelim.c: Likewise.
10944 * libio/iopopen.c: Likewise.
10945 * libio/obprintf.c: Likewise.
10946 * libio/oldfileops.c: Likewise.
10947 * libio/oldiofclose.c: Likewise.
10948 * libio/oldiofdopen.c: Likewise.
10949 * libio/oldiofopen.c: Likewise.
10950 * libio/oldiopopen.c: Likewise.
10951 * libio/wfiledoalloc.c: Likewise.
10952 * libio/wgenops.c: Likewise.
10953 * locale/programs/xmalloc.c: Likewise.
10954 * misc/syslog.c: Likewise.
10955 * stdio-common/xbug.c: Likewise.
10956 * string/memchr.c: Likewise.
10957 * string/memcmp.c: Likewise.
10958 * string/memrchr.c: Likewise.
10959 * string/rawmemchr.c: Likewise.
10960 * sysdeps/posix/getcwd.c: Likewise.
10961 * time/strftime_l.c: Likewise.
10962
3b100462
JM
109632012-01-30 Joseph Myers <joseph@codesourcery.com>
10964
10965 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
10966 * config.make.in (config-cflags-sse2avx): Define.
10967 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
10968 Fix typo.
10969
607998af
CM
109702012-01-29 Chris Metcalf <cmetcalf@tilera.com>
10971
10972 * scripts/config.guess: Update from upstream config git repository.
10973 * scripts/config.sub: Likewise.
10974
3601428f
CM
109752012-01-28 Chris Metcalf <cmetcalf@tilera.com>
10976
3ac8b282
CM
10977 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
10978 (EM_NUM): Update.
10979 (R_TILEPRO_*, R_TILEGX_*): New macros.
10980
e034841e
CM
10981 * scripts/firstversions.awk: Fix bug in version range handling.
10982
540d7568
CM
10983 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
10984
3601428f
CM
10985 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
10986
463de862
CM
10987 * include/sys/epoll.h: New file.
10988 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
10989 libc_hidden_def.
10990
73139a76
UD
109912012-01-28 Ulrich Drepper <drepper@gmail.com>
10992
96bc5b45
UD
10993 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
10994 Avoid unnecessary __WORDSIZE == 64 test.
10995 (fmaxf): Use VEX format if possible.
10996 (fmax): Likewise.
10997 (fminf): Likewise.
10998 (fmin): Likewise.
10999
56f6f6a2
UD
11000 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
11001 * math/math_private.h: Remove libc_fegetround* and
11002 libc_fesetround*.
11003 * sysdeps/i386/configure.in: Check for -msse2avx.
11004 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
11005 also if SSE2AVX is defined.
11006 Remove libc_fegetround* and libc_fesetround*.
11007 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
11008 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
11009 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
11010 of HAS_YMM_USABLE.
11011 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11012 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11013 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11014 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11015 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11016
73139a76
UD
11017 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
11018
d73f93a4
AZ
110192012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11020
11021 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
11022 size is not set.
11023 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11024
6ee65ed6
UD
110252012-01-27 Ulrich Drepper <drepper@gmail.com>
11026
11027 [BZ #13618]
11028 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
11029 relocation.
11030 * Makeconfig (libm): Define.
11031 * elf/Makefile: Add rules to build and run tst-relsort1.
11032 * elf/tst-relsort1.c: New file.
11033 * elf/tst-relsort1mod1.c: New file.
11034 * elf/tst-relsort1mod2.c: New file.
11035
8db21882
JM
110362012-01-27 Joseph Myers <joseph@codesourcery.com>
11037
11038 * math/s_ldexp.c: Remove __STDC__ conditionals.
11039 * math/s_ldexpf.c: Likewise.
11040 * math/s_ldexpl.c: Likewise.
11041 * math/s_nextafter.c: Likewise.
11042 * math/s_nexttowardf.c: Likewise.
11043 * math/s_significand.c: Likewise.
11044 * math/s_significandf.c: Likewise.
11045 * math/s_significandl.c: Likewise.
11046 * math/w_jnl.c: Likewise.
11047 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11048 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11049 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11050 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11051 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11052 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11053 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
11054 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11055 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11056 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11057 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11058 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11059 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11060 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11061 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11062 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11063 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11064 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11065 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11066 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11067 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11068 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11069 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11070 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11071 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11072 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11073 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11074 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11075 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11076 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11077 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11078 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11079 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11080 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11081 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11082 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11083 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11084 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11085 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11086 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11087 * sysdeps/ieee754/k_standard.c: Likewise.
11088 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11089 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11090 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11091 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11092 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11093 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11094 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11095 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11096 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11097 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11098 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11099 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11100 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11101 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11102 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11103 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11104 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11105 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11106 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11107 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11108 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11109 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11110 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11111 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11112 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11113 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11114 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11115 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11116 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11117 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11118 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11119 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11120 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11121 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11122 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11123 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11124 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11125 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11126 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11127 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11128 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11129 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11130 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11131 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11132 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11133 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11134 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11135 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11136 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11137 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11138 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11139 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11140 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11141 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11142 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11143 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11144 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11145 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11146 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11147 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11148 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11149 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11150 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11151 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11152 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11153 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11154 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11155 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11156 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11157 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11158 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11159 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11160 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11161 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11162 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11163 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11164 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11165 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11166 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11167 * sysdeps/ieee754/s_matherr.c: Likewise.
11168 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11169 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11170 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11171 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11172
965a54a4
JM
111732012-01-26 Joseph Myers <joseph@codesourcery.com>
11174
11175 * crypt/md5.h: Remove __STDC__ conditionals.
11176 * libio/libioP.h: Likewise.
11177 * locale/programs/config.h: Likewise.
11178 * sysdeps/generic/sysdep.h: Likewise.
11179 * sysdeps/i386/asm-syntax.h: Likewise.
11180 * sysdeps/s390/asm-syntax.h: Likewise.
11181 * sysdeps/unix/sysdep.h: Likewise.
11182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11184
7071ad79
JM
111852012-01-26 Joseph Myers <joseph@codesourcery.com>
11186
11187 * libio/libio.h: Remove __STDC__ conditionals.
11188 * malloc/obstack.h: Likewise.
11189 * math/complex.h: Likewise.
11190 * math/math.h: Likewise.
11191 * sysdeps/generic/_G_config.h: Likewise.
11192 * sysdeps/gnu/_G_config.h: Likewise.
11193 * sysdeps/mach/hurd/_G_config.h: Likewise.
11194 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11195 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11196 * sysdeps/sparc/bits/mathdef.h: Likewise.
11197
afc5ed09
UD
111982012-01-26 Ulrich Drepper <drepper@gmail.com>
11199
11200 [BZ #13583]
11201 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 11202 Clean up HAS_* macros.
afc5ed09 11203 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
11204 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
11205 possible.
11206 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
11207 HAS_AVX.
11208 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11209 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11210 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11211 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11212 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 11213
bdb6de1d
JM
112142012-01-25 Joseph Myers <joseph@codesourcery.com>
11215
11216 * elf/tst-unique3.cc (gets): Remove declaration.
11217 * elf/tst-unique3lib.cc (gets): Likewise.
11218 * elf/tst-unique3lib2.cc (gets): Likewise.
11219 * elf/tst-unique4.cc (gets): Likewise.
11220
b15549e6
UD
112212012-01-24 Ulrich Drepper <drepper@gmail.com>
11222
11223 * include/stdio.h: Add C++ protection. Add gets declarations and
11224 definitions.
11225 * debug/tst-chk1.c: Don't declare gets here.
11226 * stdio-common/tst-gets.c: Likewise.
11227
a037381f
JM
112282012-01-24 Joseph Myers <joseph@codesourcery.com>
11229
11230 * posix/glob: Remove directory.
11231
f1d4aa75
JM
112322012-01-24 Joseph Myers <joseph@codesourcery.com>
11233
11234 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
11235
81c0c964
PT
112362012-01-22 Pino Toscano <toscano.pino@tiscali.it>
11237
11238 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
11239 of the non-standard EPFNOSUPPORT.
11240
0ea698ae
ST
112412011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
11242
11243 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
11244 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
11245 ANYWHERE set to 1 only on KERN_NO_SPACE error.
11246
d220b117
UD
112472012-01-21 Ulrich Drepper <drepper@gmail.com>
11248
11249 * wcsmbs/uchar.h: Test __STDC_VERSION__.
11250
3e1aa84e
UD
112512012-01-20 Ulrich Drepper <drepper@gmail.com>
11252
11253 * nscd/aicache.c (addhstaiX): Do not cache negative results of
11254 transient errors.
11255 * nscd/grpcache.c (cache_addgr): Likewise.
11256 * nscd/hstcache.c (cache_addhst): Likewise.
11257 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11258 * nscd/pwdcache.c (cache_addpw): Likewise.
11259 * nscd/servicescache.c (cache_addserv): Likewise.
11260
400aa020
UD
112612012-01-16 Ulrich Drepper <drepper@gmail.com>
11262
d77e7869
UD
11263 * malloc/malloc.c: Various cleanups.
11264 * malloc/hooks.c: Likewise.
11265
400aa020
UD
11266 * stdlib/Makefile (tests): Add bug-fmtmsg1.
11267 * stdlib/bug-fmtmsg1.c: New file.
11268
11269 * stdlib/fmtmsg.c (init): Add missing unlock.
11270 Patch by Peng Haitao <penght@cn.fujitsu.com>.
11271
e0a309cf
MP
112722012-01-12 Marek Polacek <polacek@redhat.com>
11273
11274 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
11275 and _GNU_SOURCE.
11276
929d11c7
WS
112772012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11278
11279 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
11280 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
11281 macro to ensure uniqueness of label name.
11282 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11283 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11284
41d0e869
UD
112852012-01-11 Ulrich Drepper <drepper@gmail.com>
11286
0cc5ed3b
UD
11287 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
11288
41d0e869
UD
11289 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
11290 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11291 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11292 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
11293
a47a831a
UD
112942012-01-10 Ulrich Drepper <drepper@gmail.com>
11295
daa891c0
UD
11296 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
11297
11298 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
11299 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11300 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11301
e58ef0f2
UD
11302 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
11303
a47a831a 11304 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
11305 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11306 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 11307 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
11308
11309 * math/bits/math-finite.h: Add ldexp support.
11310
a0bfc9c7
MP
113112012-01-10 Marek Polacek <polacek@redhat.com>
11312
11313 * locale/programs/localedef.h (show_archive_content): Add noreturn
11314 attribute.
11315
d6e97a1d
UD
113162012-01-09 Ulrich Drepper <drepper@gmail.com>
11317
11318 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
11319
d5835c26
UD
113202012-01-08 Ulrich Drepper <drepper@gmail.com>
11321
e5f484c6
UD
11322 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
11323
d5835c26
UD
11324 * io/Makefile (headers): Add bits/poll2.h.
11325
d1f741e9
WS
113262011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
11327
11328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
11329 typo #include statement.
11330
ec09c1c4
UD
113312012-01-08 Ulrich Drepper <drepper@gmail.com>
11332
11333 * include/sys/cdefs.h: Define __attribute_alloc_size.
11334 * catgets/gencat.c: Add alloc_size attribute and apply consistently
11335 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
11336 * elf/pldd.c: Likewise.
11337 * iconv/iconv_charmap.c: Likewise.
11338 * iconv/iconvconfig.c: Likewise.
11339 * iconv/strtab.c: Likewise.
11340 * locale/programs/locale.c: Likewise.
11341 * locale/programs/localedef.h: Likewise.
11342 * locale/programs/simple-hash.c: Likewise.
11343 * nscd/nscd.h: Likewise.
11344 * nss/makedb.c: Likewise.
11345 * sysdeps/generic/ldconfig.h: Likewise.
11346 * locale/programs/localedef.c: Remove xmalloc prototype.
11347 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
11348
20b38e03
PP
113492012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11350
11351 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
11352 appropriate.
11353
a0da5fe1
UD
113542012-01-08 Ulrich Drepper <drepper@gmail.com>
11355
1d5a644a 11356 * math/Makefile (tests): Add tst-CMPLX.
669704fd 11357 * math/tst-CMPLX.c: New file.
1d5a644a 11358
8784a6db
UD
11359 * math/complex.h (CMPLXL): Fix typo.
11360
d9a216c0
UD
11361 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11362 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11363 GLIBC_2.16.
11364 * debug/tst-chk1.c: Add poll and ppoll tests.
11365 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11366 * include/sys/poll.h: Add hidden proto for ppoll.
11367 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11368 * sysdeps/mach/hurd/ppoll.c: Likewise.
11369 * io/ppoll.c: Likewise.
11370 * debug/poll_chk.c: New file.
11371 * debug/ppoll_chk.c: New file.
11372 * include/bits/poll2.h: New file.
11373 * io/bits/poll2.h: New file.
11374
ac097f5c
UD
11375 [BZ #1350]
11376 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11377
2119dcfa
UD
11378 * configure.in: static is always set to yes. Remove.
11379 * config.make.in: Don't set build-static.
11380 * Makeconfig: Remove use of build-static.
11381 * dlfcn/Makefile: Likewise.
11382 * elf/Makefile: Likewise.
11383 * math/Makefile: Likewise.
11384 * misc/Makefile: Likewise.
11385 * nptl/Makefile: Likewise.
11386 * sysdeps/mach/hurd/Makefile: Likewise.
11387
121766a9
UD
11388 * configure.in: PWD_P is not used anymore.
11389 * config.make.in: Remove PWD_P entry.
11390
51a1d39c 11391 * configure.in: Remove last remnants of RANLIB.
8720d066 11392 No need to check for signed size_t anymore.
215f4bdc
UD
11393 Don't set libc_commonpagesize and libc_relro_required here for Alpha
11394 and IA-64.
3857022a 11395 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
11396 * aclocal.m4: Likewise.
11397
d3ed7225
UD
11398 * wcsmbs/mbrtoc16.c: Implement using towc function.
11399 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11400 * wcsmbs/wcsmbsload.c: Likewise.
11401 * iconv/gconv_simple.c: Likewise.
11402 * iconv/gconv_int.h: Likewise.
11403 * iconv/gconv_builtin.h: Likewise.
11404 * iconv/iconv_prog.c: Remove CHAR16 handling.
11405
11406 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11407
11408 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11409
a0da5fe1
UD
11410 * configure.in: Remove --with-elf and --enable-bounded options.
11411 Dont set base_machine for ia64. More non-ELF conditions removed.
11412 Remove testing and setting of leading underscore information.
11413 * config.make.in (build-bounded): Set to no.
11414 * config.h.in: Remove NO_UNDERSCORES entry.
11415 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
11416 them.
11417 * csu/start.c: Remove !NO_UNDERSCORE code.
11418 * locale/localeinfo.h: Likewise.
11419 * sysdeps/generic/machine-gmon.h: Likewise.
11420 * sysdeps/generic/sysdep.h: Likewise.
11421 * sysdeps/i386/sysdep.h: Likewise.
11422 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11423 * sysdeps/mach/sysdep.h: Likewise.
11424 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11425 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11426 * sysdeps/sh/sysdep.h: Likewise.
11427 * sysdeps/sparc/sparc32/alloca.S: Likewise.
11428 * sysdeps/unix/i386/sysdep.S: Likewise.
11429 * sysdeps/unix/sparc/start.c: Likewise.
11430 * sysdeps/unix/sparc/sysdep.S: Likewise.
11431 * sysdeps/unix/sparc/sysdep.h: Likewise.
11432 * sysdeps/unix/start.c: Likewise.
11433 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11434 * sysdeps/x86_64/sysdep.h: Likewise.
11435
df78418a
UD
114362012-01-07 Ulrich Drepper <drepper@gmail.com>
11437
a784e502
UD
11438 [BZ #13553]
11439 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11440 for non-gcc.
11441 * argp/argp-fmtstream.h: Use const instead __const.
11442 * argp/argp.h: Likewise.
11443 * assert/assert.h: Likewise.
11444 * bits/fenv.h: Likewise.
11445 * bits/sched.h: Likewise.
11446 * bits/sigset.h: Likewise.
11447 * bits/sigthread.h: Likewise.
11448 * catgets/nl_types.h: Likewise.
11449 * conform/data/pthread.h-data: Likewise.
11450 * crypt/crypt-private.h: Likewise.
11451 * crypt/crypt.h: Likewise.
11452 * crypt/crypt_util.c: Likewise.
11453 * ctype/ctype.h: Likewise.
11454 * debug/execinfo.h: Likewise.
11455 * debug/mbsnrtowcs_chk.c: Likewise.
11456 * debug/mbsrtowcs_chk.c: Likewise.
11457 * debug/wcsnrtombs_chk.c: Likewise.
11458 * debug/wcsrtombs_chk.c: Likewise.
11459 * debug/wcstombs_chk.c: Likewise.
11460 * dirent/dirent.h: Likewise.
11461 * dlfcn/dlfcn.h: Likewise.
11462 * elf/neededtest4.c: Likewise.
11463 * grp/grp.h: Likewise.
11464 * gshadow/gshadow.h: Likewise.
11465 * iconv/gconv.h: Likewise.
11466 * iconv/gconv_int.h: Likewise.
11467 * iconv/gconv_simple.c: Likewise.
11468 * iconv/iconv.h: Likewise.
11469 * iconv/loop.c: Likewise.
11470 * iconv/skeleton.c: Likewise.
11471 * include/aio.h: Likewise.
11472 * include/aliases.h: Likewise.
11473 * include/argz.h: Likewise.
11474 * include/arpa/inet.h: Likewise.
11475 * include/assert.h: Likewise.
11476 * include/dirent.h: Likewise.
11477 * include/dlfcn.h: Likewise.
11478 * include/execinfo.h: Likewise.
11479 * include/fcntl.h: Likewise.
11480 * include/fenv.h: Likewise.
11481 * include/glob.h: Likewise.
11482 * include/grp.h: Likewise.
11483 * include/libintl.h: Likewise.
11484 * include/mntent.h: Likewise.
11485 * include/netdb.h: Likewise.
11486 * include/pwd.h: Likewise.
11487 * include/rpc/netdb.h: Likewise.
11488 * include/sched.h: Likewise.
11489 * include/search.h: Likewise.
11490 * include/shadow.h: Likewise.
11491 * include/signal.h: Likewise.
11492 * include/stdio.h: Likewise.
11493 * include/stdlib.h: Likewise.
11494 * include/string.h: Likewise.
11495 * include/sys/socket.h: Likewise.
11496 * include/sys/stat.h: Likewise.
11497 * include/sys/statfs.h: Likewise.
11498 * include/sys/statvfs.h: Likewise.
11499 * include/sys/syslog.h: Likewise.
11500 * include/sys/time.h: Likewise.
11501 * include/sys/uio.h: Likewise.
11502 * include/time.h: Likewise.
11503 * include/unistd.h: Likewise.
11504 * include/utmp.h: Likewise.
11505 * include/wchar.h: Likewise.
11506 * include/wctype.h: Likewise.
11507 * inet/aliases.h: Likewise.
11508 * inet/arpa/inet.h: Likewise.
11509 * inet/netinet/ether.h: Likewise.
11510 * inet/netinet/in.h: Likewise.
11511 * intl/libintl.h: Likewise.
11512 * io/bits/fcntl2.h: Likewise.
11513 * io/fcntl.h: Likewise.
11514 * io/ftw.h: Likewise.
11515 * io/sys/poll.h: Likewise.
11516 * io/sys/stat.h: Likewise.
11517 * io/sys/statfs.h: Likewise.
11518 * io/sys/statvfs.h: Likewise.
11519 * io/utime.h: Likewise.
11520 * libio/bits/stdio.h: Likewise.
11521 * libio/bits/stdio2.h: Likewise.
11522 * libio/libio.h: Likewise.
11523 * libio/libioP.h: Likewise.
11524 * libio/stdio.h: Likewise.
11525 * locale/lc-ctype.c: Likewise.
11526 * locale/locale.h: Likewise.
11527 * login/utmp.h: Likewise.
11528 * malloc/arena.c: Likewise.
11529 * malloc/malloc.c: Likewise.
11530 * malloc/malloc.h: Likewise.
11531 * malloc/mcheck.c: Likewise.
11532 * malloc/mtrace.c: Likewise.
11533 * math/bits/mathcalls.h: Likewise.
11534 * math/fenv.h: Likewise.
11535 * math/math_private.h: Likewise.
11536 * misc/bits/error.h: Likewise.
11537 * misc/bits/syslog.h: Likewise.
11538 * misc/err.h: Likewise.
11539 * misc/error.h: Likewise.
11540 * misc/fstab.h: Likewise.
11541 * misc/mntent.h: Likewise.
11542 * misc/regexp.h: Likewise.
11543 * misc/search.h: Likewise.
11544 * misc/sgtty.h: Likewise.
11545 * misc/sys/mman.h: Likewise.
11546 * misc/sys/syslog.h: Likewise.
11547 * misc/sys/uio.h: Likewise.
11548 * misc/sys/xattr.h: Likewise.
11549 * misc/ttyent.h: Likewise.
11550 * nis/rpcsvc/ypclnt.h: Likewise.
11551 * nss/nss.h: Likewise.
11552 * posix/bits/unistd.h: Likewise.
11553 * posix/fnmatch.h: Likewise.
11554 * posix/glob.h: Likewise.
11555 * posix/sched.h: Likewise.
11556 * posix/spawn.h: Likewise.
11557 * posix/sys/wait.h: Likewise.
11558 * posix/unistd.h: Likewise.
11559 * posix/wordexp.h: Likewise.
11560 * pwd/pwd.h: Likewise.
11561 * resolv/netdb.h: Likewise.
11562 * resource/sys/resource.h: Likewise.
11563 * rt/aio.h: Likewise.
11564 * rt/bits/mqueue2.h: Likewise.
11565 * rt/mqueue.h: Likewise.
11566 * shadow/shadow.h: Likewise.
11567 * signal/signal.h: Likewise.
11568 * socket/send.c: Likewise.
11569 * socket/sendto.c: Likewise.
11570 * socket/sys/socket.h: Likewise.
11571 * stdio-common/printf.h: Likewise.
11572 * stdlib/bits/stdlib.h: Likewise.
11573 * stdlib/fmtmsg.h: Likewise.
11574 * stdlib/monetary.h: Likewise.
11575 * stdlib/stdlib.h: Likewise.
11576 * stdlib/ucontext.h: Likewise.
11577 * streams/stropts.h: Likewise.
11578 * string/argz.h: Likewise.
11579 * string/bits/string2.h: Likewise.
11580 * string/string.h: Likewise.
11581 * string/strings.h: Likewise.
11582 * sunrpc/rpc/auth.h: Likewise.
11583 * sunrpc/rpc/auth_des.h: Likewise.
11584 * sunrpc/rpc/clnt.h: Likewise.
11585 * sunrpc/rpc/netdb.h: Likewise.
11586 * sunrpc/rpc/pmap_clnt.h: Likewise.
11587 * sunrpc/rpc/xdr.h: Likewise.
11588 * sysdeps/generic/inttypes.h: Likewise.
11589 * sysdeps/generic/net/if.h: Likewise.
11590 * sysdeps/generic/sys/swap.h: Likewise.
11591 * sysdeps/gnu/net/if.h: Likewise.
11592 * sysdeps/gnu/utmpx.h: Likewise.
11593 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11594 * sysdeps/i386/i486/bits/string.h: Likewise.
11595 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
11596 * sysdeps/s390/bits/string.h: Likewise.
11597 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
11598 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
11599 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
11600 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11601 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11602 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
11603 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11604 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
11605 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11606 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
11607 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
11608 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11609 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
11610 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11611 * sysdeps/unix/sysv/linux/readv.c: Likewise.
11612 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
11613 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11614 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11615 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11616 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11617 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11618 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
11619 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
11620 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
11621 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
11622 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
11623 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
11624 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11625 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
11626 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
11627 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
11628 * sysvipc/sys/ipc.h: Likewise.
11629 * sysvipc/sys/msg.h: Likewise.
11630 * sysvipc/sys/sem.h: Likewise.
11631 * sysvipc/sys/shm.h: Likewise.
11632 * termios/termios.h: Likewise.
11633 * time/sys/time.h: Likewise.
11634 * time/time.h: Likewise.
11635 * wcsmbs/bits/wchar2.h: Likewise.
11636 * wcsmbs/uchar.h: Likewise.
11637 * wcsmbs/wchar.h: Likewise.
11638 * wctype/wctype.h: Likewise.
11639
0269750c
UD
11640 [BZ #13551]
11641 * Makeconfig: Remove all but ELF support including AIX support.
11642 * Makerules: Likewise.
11643 * config.h.in: Likewise.
11644 * config.make.in: Likewise.
11645 * configure: Likewise.
11646 * configure.in: Likewise.
11647 * csu/Makefile: Likewise.
11648 * csu/version.c: Likewise.
11649 * debug/Makefile: Likewise.
11650 * dlfcn/Makefile: Likewise.
11651 * elf/Makefile: Likewise.
11652 * extra-lib.mk: Likewise.
11653 * iconv/Makefile: Likewise.
11654 * include/libc-symbols.h: Likewise.
11655 * include/shlib-compat.h: Likewise.
11656 * resolv/Makefile: Likewise.
11657 * resolv/res_libc.c: Likewise.
11658 * rt/Makefile: Likewise.
11659 * sysdeps/i386/asm-syntax.h: Likewise.
11660 * sysdeps/i386/sysdep.h: Likewise.
11661 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11662 * sysdeps/mach/sysdep.h: Likewise.
11663 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
11664 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
11665 * sysdeps/s390/asm-syntax.h: Likewise.
11666 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11667 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11668 * sysdeps/sh/sysdep.h: Likewise.
11669 * sysdeps/unix/sparc/sysdep.h: Likewise.
11670 * sysdeps/wordsize-32/divdi3.c: Likewise.
11671 * sysdeps/x86_64/sysdep.h: Likewise.
11672
00bbd29b
UD
11673 * argp/Versions: Remove _argp_unlock_xxx.
11674
11675 [BZ #13559]
11676 * abilist/ld.abilist: Update. Adjust for removal of tls option.
11677 * abilist/libBrokenLocale.abilist: Likewise.
11678 * abilist/libanl.abilist: Likewise.
11679 * abilist/libc.abilist: Likewise.
11680 * abilist/libcrypt.abilist: Likewise.
11681 * abilist/libdl.abilist: Likewise.
11682 * abilist/libm.abilist: Likewise.
11683 * abilist/libnsl.abilist: Likewise.
11684 * abilist/libpthread.abilist: Likewise.
11685 * abilist/libresolv.abilist: Likewise.
11686 * abilist/librt.abilist: Likewise.
11687 * abilist/libthread_db.abilist: Likewise.
11688 * abilist/libutil.abilist: Likewise.
11689 * abilist/libnss_db.abilist: New file.
11690
11691 * scripts/abilist.awk: Add support for indirect functions.
11692
a2693a0e
UD
11693 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
11694
3f05895f
UD
11695 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
11696
ecb6fb48
UD
11697 * shlib-versions: Remove entries for ports architectures.
11698
664f8cb9
UD
11699 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
11700 files in ports.
11701 * elf/stackguard-macros.h: Remove support for IA-64.
11702 * elf/tst-auditmod1.c: Likewise.
11703 * sysdeps/generic/ldsodefs.h: Likewise.
11704
7ae81d88
UD
11705 * sysdeps/unix/sysv/linux/configure.in: Ports should define
11706 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
11707 configure files.
11708
bdeba135
UD
11709 [BZ #13552]
11710 * configure.in: Remove --enable-omitfp support.
11711 * FAQ.in: Adjust.
11712 * config.make.in: Likewise.
11713 * Makeconfig: Likewise.
11714 * manual/install.texi: Likewise.
11715
d75a0a62
UD
11716 In case anyone cares, the IA-64 architecture could move to ports.
11717 * sysdeps/ia64/*: Removed.
11718 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 11719 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 11720
dcc9756b
UD
11721 [BZ #13555]
11722 * configure.in: Remove entries for unsupported architectures.
11723
d3761ebc 11724 [BZ #13533]
9954432e
UD
11725 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
11726 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
11727 routines.
11728 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
11729 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
11730 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
11731 fall back to using wcrtomb.
11732 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
11733 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
11734 renaming.
11735 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
11736 * wcsmbs/tst-c16c32-1.c: New file.
11737
11738 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
11739 local variable.
11740
c3a87236
UD
11741 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
11742
28926a1b
UD
11743 * elf/tst-unique3.cc: Add explicit declaration of gets.
11744 * elf/tst-unique3lib.cc: Likewise.
11745 * elf/tst-unique3lib2.cc: Likewise.
11746 * elf/tst-unique4.cc: Likewise.
11747
df78418a
UD
11748 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
11749
8ecd6b2a
JM
117502012-01-06 Joseph Myers <joseph@codesourcery.com>
11751
11752 [BZ #13566]
11753 * assert/assert.h (static_assert): Don't define for C++.
11754 * libio/stdio.h (gets): Do declare for C++ <= C++11.
11755 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
11756
9f115170
UD
117572012-01-03 Ulrich Drepper <drepper@gmail.com>
11758
5e0d0300
UD
11759 * iconv/loop.c (single loop): Fix assertion in storing of
11760 remaining bytes.
11761
9f115170
UD
11762 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
11763
81fb02b0
UD
117642012-01-01 Ulrich Drepper <drepper@gmail.com>
11765
11766 * posix/getconf.c: Update copyright year.
11767 * nss/getent.c: Likewise.
a316c1f6 11768 * nss/makedb.c: Likewise.
81fb02b0
UD
11769 * iconv/iconvconfig.c: Likewise.
11770 * iconv/iconv_prog.c: Likewise.
11771 * elf/ldconfig.c: Likewise.
a316c1f6
UD
11772 * elf/pldd.c: Likewise.
11773 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
11774 * catgets/gencat.c: Likewise.
11775 * csu/version.c: Likewise.
11776 * elf/ldd.bash.in: Likewise.
11777 * elf/sprof.c (print_version): Likewise.
11778 * locale/programs/locale.c: Likewise.
11779 * locale/programs/localedef.c: Likewise.
a316c1f6 11780 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
11781 * nscd/nscd.c (print_version): Likewise.
11782 * debug/xtrace.sh: Likewise.
11783 * malloc/memusage.sh: Likewise.
11784 * malloc/mtrace.pl: Likewise.
11785 * debug/catchsegv.sh: Likewise.
11786
2ba92745
JJ
117872011-12-30 Jakub Jelinek <jakub@redhat.com>
11788
11789 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
11790 pure attribute.
11791
dadebdae
UD
117922011-12-24 Ulrich Drepper <drepper@gmail.com>
11793
d3761ebc 11794 [BZ #13533]
db6af3eb
UD
11795 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
11796 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
11797 transformations.
11798 * iconv/gconv_int.h: Likewise.
11799 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
11800 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
11801 from libc for GLIBC_2.16.
11802 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
11803 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
11804 * wcsmbs/uchar.h: Really define mbstate_t.
11805 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
11806 * wcsmbs/c16rtomb.c: New file.
11807 * wcsmbs/mbrtoc16.c: New file.
11808 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
11809 for C/POSIX locale.
11810 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
11811 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
11812
dadebdae
UD
11813 * wcsmbs/wchar.h: Add missing __restrict.
11814
67371b56
UD
118152011-12-23 Ulrich Drepper <drepper@gmail.com>
11816
74033a25
UD
11817 [BZ #13532]
11818 * time/Makefile (routines): Add timespec_get.
11819 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
11820 * time/time.h: Define TIME_UTC and declare timespec_get. Define
11821 timespec for ISO C11.
11822 * time/timespec_get.c: New file.
11823 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
11824 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
11825
380d7e87
UD
11826 [BZ #13531]
11827 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
11828 * stdlib/stdlib.h: Declare aligned_alloc.
11829 * Versions.def: Add GLIBC_2.16 for libc.
11830 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
11831
4e9e7a35
UD
11832 [BZ 13527]
11833 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
11834 ISO C11.
11835
380d7e87 11836 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
11837 code.
11838
03a71829
UD
11839 [BZ #13528]
11840 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
11841
839e283e
UD
11842 [BZ #13529]
11843 * assert/assert.h (static_assert): Define.
11844
ce5294e2 11845 * version.h: Update for 2.16 development version.
90fa7312 11846
8d44e150 11847 [BZ #13526]
d7809905
UD
11848 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
11849 _ISOC11_SOURCE.
11850
c0da14cd
UD
11851 * version.h (RELEASE): Bump for 2.15 release.
11852 * include/features.h (__GLIBC_MINOR__): Bump to 15.
11853
530a3249
MP
11854 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
11855 Patch by Marek Polacek <mpolacek@redhat.com>.
11856
67371b56
UD
11857 * bits/byteswap.h: Protect long long constants with __extension__.
11858 * sysdeps/i386/bits/byteswap.h: Likewise.
11859 * sysdeps/ia64/bits/byteswap.h: Likewise.
11860 * sysdeps/s390/bits/byteswap.h: Likewise.
11861 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11862
15db4de1
LD
118632011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11864
11865 [BZ #13540]
bbe315ea
LD
11866 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
11867 destination buffer.
15db4de1
LD
11868 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11869
2b2596b1
MP
118702011-12-23 Marek Polacek <polacek@redhat.com>
11871
11872 * elf/dl-addr.c (determine_info): Add inline keyword.
11873 * elf/tst-auditmod4b.c (check_avx): Likewise.
11874 * elf/tst-auditmod6b.c (check_avx): Likewise.
11875 * elf/tst-auditmod6c.c (check_avx): Likewise.
11876 * elf/tst-auditmod7b.c (check_avx): Likewise.
11877
70c6c246
UD
118782011-12-23 Ulrich Drepper <drepper@gmail.com>
11879
11880 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
11881 !__SSE_MATH__.
11882
c044cf14
LD
118832011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11884
15db4de1 11885 [BZ #13540]
c044cf14
LD
11886 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
11887 processing for last bytes.
11888
6b13d9d9
BH
118892011-08-06 Bruno Haible <bruno@clisp.org>
11890
d455f537
BH
11891 [BZ #13061]
11892 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
11893 U+0385, not to U+1FEE.
11894
6b13d9d9
BH
11895 [BZ #13062]
11896 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
11897 entry for U+00A5 U+0301.
11898
db910efd
UD
118992011-12-22 Ulrich Drepper <drepper@gmail.com>
11900
27deeafc
UD
11901 [BZ #13166]
11902 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
11903 buffer for the output is too small.
11904
aed9d171
UD
11905 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
11906 optimization.
11907
db910efd
UD
11908 [BZ #13185]
11909 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
11910 SSE flags if possible.
11911
2bd779ae
LD
119122011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11913
e7f9dac3 11914 [BZ #13540]
2bd779ae
LD
11915 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
11916 processing for last bytes.
11917
154bfc16
JM
119182011-12-22 Joseph Myers <joseph@codesourcery.com>
11919
11920 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
11921 (syscall-list-default-options, syscall-list-default-condition)
11922 (syscall-list-includes): Define.
11923 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
11924 list of ABIs and options and #if conditions for each ABI. Do not
11925 handle common syscalls between ABIs specially.
11926 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
11927 Remove.
11928 (syscall-list-variants, syscall-list-32bit-options)
11929 (syscall-list-32bit-condition, syscall-list-64bit-options)
11930 (syscall-list-64bit-condition): Define.
11931 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
11932 (syscall-list-variants, syscall-list-32bit-options)
11933 (syscall-list-32bit-condition, syscall-list-64bit-options)
11934 (syscall-list-64bit-condition): Define.
11935 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
11936 Remove.
11937 (syscall-list-variants, syscall-list-32bit-options)
11938 (syscall-list-32bit-condition, syscall-list-64bit-options)
11939 (syscall-list-64bit-condition): Define.
11940 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
11941 Remove.
11942 (syscall-list-variants, syscall-list-32bit-options)
11943 (syscall-list-32bit-condition, syscall-list-64bit-options)
11944 (syscall-list-64bit-condition): Define.
11945
21eaf3a5
UD
119462011-12-22 Ulrich Drepper <drepper@gmail.com>
11947
16c6f992
UD
11948 * locale/iso-639.def: Add brx entry.
11949
41043168
UD
11950 [BZ #13328]
11951 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
11952 Proposed by Mariusz_Cukr <marcukr@op.pl>.
11953
21eaf3a5
UD
11954 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
11955 __feraiseexcept_renamed.
11956
e3a851a2
UD
119572011-12-21 Ulrich Drepper <drepper@gmail.com>
11958
4920765e
UD
11959 [BZ #13538]
11960 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
11961 EPOLLET with unsigned values.
11962 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11963 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11964
e3a851a2
UD
11965 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
11966 to large cancellation.
11967 * math/s_cacoshf.c: Likewise.
11968 * math/s_cacoshl.c: Likewise.
11969
b27e24b8
RK
119702011-11-18 Richard B. Kreckel <kreckel@ginac.de>
11971
11972 [BZ #13305]
aebefeee 11973 [BZ #12786]
b27e24b8
RK
11974 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
11975 * math/s_cacoshf.c: Likewise.
11976 * math/s_cacoshl.c: Likewise.
11977
ee190f67
UD
119782011-12-21 Ulrich Drepper <drepper@gmail.com>
11979
11980 [BZ #13439]
11981 * iconv/gconv.h: Define __GCONV_SWAP.
11982 * iconvdata/unicode.c: The swap bit must be stored in __flags.
11983 * iconvdata/utf-16.c: Likewise.
11984 * iconvdata/utf-32.c: Likewise.
11985
707f25df
AS
119862011-12-21 Andreas Schwab <schwab@linux-m68k.org>
11987
11988 [BZ #13524]
11989 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
11990 numerator after shifting it by one limb.
11991
d2daaa1e
RÁE
119922011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
11993
11994 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
11995 under [__USE_EXTERN_INLINES].
11996
a4647e72
UD
119972011-12-17 Ulrich Drepper <drepper@gmail.com>
11998
11999 [BZ #13446]
12000 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
12001
f0b264f1
AZ
120022011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12003
12004 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
12005 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
12006 optimized code.
12007 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
12008 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
12009 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
12010 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
12011 for strncasecmp/strncasecmp_l compilation.
12012 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
12013 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
12014
8ef4f244
MP
120152011-12-08 Marek Polacek <mpolacek@redhat.com>
12016
12017 [BZ #13484]
12018 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
12019 of __asm__.
12020
97ac2654
UD
120212011-12-17 Ulrich Drepper <drepper@gmail.com>
12022
12023 [BZ #13506]
12024 * time/tzfile.c (__tzfile_read): Check values from file header.
12025
91d2a845
WS
120262011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12027
12028 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
12029 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
12030 * powerpc/powerpc32/dl-start.S: Likewise.
12031 * powerpc/powerpc32/elf/start.S: Likewise.
12032 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12033 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
12034 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
12035 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
12036 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12037 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
12038 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
12039 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12040 * powerpc/powerpc32/fpu/s_round.S: Likewise.
12041 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12042 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12043 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12044 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12045 * powerpc/powerpc32/memset.S: Likewise.
12046 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12047 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12048 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12049 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12050 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12051 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12052 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12053 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12054 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
12055 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
12056 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
12057 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12058 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12059
a1267ba1
AZ
120602011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12061
12062 * math/libm-test.inc: Added more nearbyint tests.
12063 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
12064 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
12065 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
12066 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
12067
ad8ac1bd
RL
120682011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
12069
12070 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
12071 FD_CLOEXEC.
12072
1d3e4b61
UD
120732011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12074
12075 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
12076 Add wcscpy-ssse3 wcscpy-c.
12077 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
12078 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
12079 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
12080 * sysdeps/x86_64/wcschr.S: New file.
12081 * sysdeps/x86_64/wcsrchr.S: New file.
12082 * string/test-strcmp.c: Remove checking of wcscmp function for
12083 wrong alignments.
12084 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
12085 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
12086 wcsrchr-sse2 wcsrchr-c.
12087 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
12088 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
12089 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
12090 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
12091 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
12092 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
12093 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
12094 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
12095 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
12096 * wcsmbc/wcschr.c (WCSCHR): New macro.
12097
5b330a2d
UD
120982011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12099
12100 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
12101 * wcsmbs/test-wcsrchr.c: New file.
12102 * string/test-strrchr.c: Add wcsrchr support.
12103 (WIDE): New macro.
12104 * wcsmbs/test-wcscpy.c: New file.
12105 * string/test-strcpy.c: Add wcscpy support.
12106 (WIDE): New macro.
26428b7c 12107
f039c043
UD
121082011-12-10 Ulrich Drepper <drepper@gmail.com>
12109
12110 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
12111 the inner loop.
12112
850fb039
AS
121132011-12-06 Andreas Schwab <schwab@linux-m68k.org>
12114
12115 [BZ #13472]
12116 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
12117
4efbd5cb
UD
121182011-12-04 Ulrich Drepper <drepper@gmail.com>
12119
52ff5dd0 12120 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 12121 Minor optimizations.
52ff5dd0 12122
4efbd5cb
UD
12123 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
12124 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
12125 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12126
8a426e12
UD
121272011-12-03 Ulrich Drepper <drepper@gmail.com>
12128
aff2453d
UD
12129 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
12130 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
12131 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
12132 for gcc to avoid warnings.
12133 * inet/Makefile (tests): Add tst-checks.
12134 * inet/tst-checks.c: New file.
12135
12136 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
12137 warning.
12138
12139 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
12140 __wmemcmp_sse2.
12141
12142 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
12143 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
12144
8a426e12
UD
12145 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
12146
9bea3473
UD
121472011-12-02 Ulrich Drepper <drepper@gmail.com>
12148
3a965496
UD
12149 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
12150 problem.
12151
9bea3473
UD
12152 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
12153
f101631b
UD
121542011-11-29 Joseph Myers <joseph@codesourcery.com>
12155
12156 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
12157 conditional on GCC version.
12158 (__arch_compare_and_exchange_val_8_acq)
12159 (__arch_compare_and_exchange_val_16_acq)
12160 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
12161 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
12162 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
12163
a98275aa
UD
121642011-12-02 Joseph Myers <joseph@codesourcery.com>
12165
12166 * sysdeps/sh/backtrace.c: New file.
12167
d4cc29a2
AS
121682011-12-02 Andreas Schwab <schwab@redhat.com>
12169
12170 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
12171 parenthesis.
12172
6257af2d
AS
121732011-12-01 Andreas Schwab <schwab@redhat.com>
12174
12175 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
12176 falling back to utime.
12177
b5f44c1a
AS
121782011-11-30 Andreas Schwab <schwab@redhat.com>
12179
12180 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
12181 expectations for float.
12182
f3a6cc0a
AS
121832011-11-29 Andreas Schwab <schwab@redhat.com>
12184
12185 * locale/weight.h (findidx): Add parameter len.
12186 * locale/weightwc.h (findidx): Likewise.
12187 * posix/fnmatch_loop.c (FCT): Adjust caller.
12188 * posix/regcomp.c (build_equiv_class): Likewise.
12189 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
12190 * posix/regexec.c (check_node_accept_bytes): Likewise.
12191 * string/strcoll_l.c (STRCOLL): Likewise.
12192 * string/strxfrm_l.c (STRXFRM): Likewise.
12193
9d65ea3a
UD
121942011-11-17 Ulrich Drepper <drepper@gmail.com>
12195
12196 * Makefile.in: Remove CVSOPT handling.
12197 * configure.in: Remove use of AC_REVISION.
12198 * iconvdata/Makefile (distribute): No need to filter out CVS.
12199 * scripts/list-sources.sh: Remove CVS, subversion and monotone
12200 handling.
12201
5583a086
AS
122022011-11-16 Andreas Schwab <schwab@redhat.com>
12203
12204 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
12205 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
12206 [USE_AS_STRNCASECMP_L]: Likewise.
12207 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
12208 NO_TLS_DIRECT_SEG_REFS.
12209 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
12210 Fix argument offsets for non-PIC.
12211 [USE_AS_STRNCASECMP_L]: Likewise.
12212 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
12213 NO_TLS_DIRECT_SEG_REFS.
12214
d62a8200
UD
122152011-11-15 Ulrich Drepper <drepper@gmail.com>
12216
9d65ea3a 12217 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
12218 O_CLOEXEC.
12219 * locale/loadlocale.c (_nl_load_locale): Likewise.
12220
09f93bd3
AS
122212011-11-15 Andreas Schwab <schwab@redhat.com>
12222
446514f9
AS
12223 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
12224 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
12225 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
12226 (SYSCALL_GETTIME): Set errno on error.
12227
09f93bd3
AS
12228 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
12229 count references to noai6ai_cached.
12230
312be3f9
UD
122312011-11-15 Ulrich Drepper <drepper@gmail.com>
12232
12233 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
12234
12235 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
12236 FD_CLOEXEC for /proc/self/maps.
12237
12238 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
12239 FD_CLOEXEC for /proc/meminfo.
12240
12241 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
12242 gai.conf.
12243
12244 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
12245 FD_CLOEXEC for given file.
12246
12247 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
12248
12249 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
12250 FD_CLOEXEC for /etc/hosts.
12251 (_gethtent): Likewise.
12252
12253 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
12254
12255 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
12256 cancellation and set FD_CLOEXEC for /etc/netgroup.
12257
12258 * nss/nss_files/files-key.c (search): Don't allow cancellation when
12259 reading /etc/publickey.
12260
12261 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
12262 allow cancellation when reading /etc/group.
12263
12264 * nss/nss_files/files-alias.c (internal_setent): Don't allow
12265 cancellation.
12266 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
12267
12268 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
12269 when using data file.
12270
12271 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
12272
12273 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
12274 (write_nis_obj): Use "c" and "e" in fopen.
12275
12276 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
12277
12278 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
12279
12280 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
12281
12282 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
12283
12284 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
12285 locale.alias.
12286
12287 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
12288
12289 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
12290
12291 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
12292
12293 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
12294 file parsing and set FD_CLOEXEC.
12295
82af0fa8
UD
122962011-11-14 Ulrich Drepper <drepper@gmail.com>
12297
12298 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
12299
a5fb313c
AS
123002011-11-14 Andreas Schwab <schwab@redhat.com>
12301
12302 * malloc/arena.c (arena_get2): Don't call reused_arena when
12303 _int_new_arena failed.
12304
6abf3465
UD
123052011-11-14 Ulrich Drepper <drepper@gmail.com>
12306
12307 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
12308 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
12309 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
12310 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12311 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12312 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
12313 to compile strcasecmp and strncasecmp.
12314 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
12315 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
12316
12317 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
12318
76e3966e
UD
123192011-11-13 Ulrich Drepper <drepper@gmail.com>
12320
12321 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
12322 locale-defines.sym to gen-as-const-headers.
12323 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
12324 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
12325 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
12326 to compile strcasecmp and strncasecmp.
12327 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
12328 strcasecmp_l and strncasecmp_l.
12329 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
12330 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
12331 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
12332 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
12333 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
12334 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
12335 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
12336 * sysdeps/i386/i686/multiarch/strncase.S: New file.
12337 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
12338 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
12339 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
12340
ab26144e
UD
123412011-11-12 Ulrich Drepper <drepper@gmail.com>
12342
7edb22ef
UD
12343 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
12344 result of SYSDEP_GETTIME_CPU to retval.
12345 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
12346 parameter list to macro. Remove trailing semicolon. Adjust users.
12347
9694fc44
UD
12348 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
12349 variable.
12350
8ad89ef8
UD
12351 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
12352 mantissa words.
12353 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12354
0c822ef9
UD
12355 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
12356 from unused variable.
12357
874e0564
UD
12358 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12359 DWARF definitions.
12360 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12361 for assembling.
12362
3a2edc79
UD
12363 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12364 over namespaces.
12365
f3c2577f
UD
12366 * sunrpc/rpc_prot.c (rejected): Fix case value.
12367
294ce126
UD
12368 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12369 unsigned long long int to avoid warnings in shift.
12370
5e2b63c6
UD
12371 * posix/regex_internal.c (re_string_reconstruct): Actually use result
12372 of use of trans.
12373 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12374 variable tmp.
12375
e7f4b08e
UD
12376 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12377 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12378 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12379
ab26144e
UD
12380 * nis/nis_table.c (nis_list): Use variable of correct type for
12381 result of __follow_path call.
12382
8a6d5255
AZ
123832011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12384
12385 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12386 of math functions ceil, trunc, floor, round, and sqrt, when
12387 avaliable on the platform.
12388 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12389 name clash.
12390 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12391 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12392 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12393
aaddc98c
MP
123942011-10-30 Marek Polacek <mpolacek@redhat.com>
12395
12396 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12397 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12398
95b7042b
RM
123992011-11-11 Roland McGrath <roland@hack.frob.com>
12400
12401 * include/unistd.h: Fix __readlink return type.
12402 Reported by Chris Metcalf <cmetcalf@tilera.com>.
12403
57769839
UD
124042011-11-11 Ulrich Drepper <drepper@gmail.com>
12405
12406 * stdlib/ucontext.h: Undo last change for makecontext.
12407
edc5984d
AS
124082011-11-11 Andreas Schwab <schwab@redhat.com>
12409
98591e58
AS
12410 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12411
edc5984d
AS
12412 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12413 * setjmp/setjmp.h: Mark functions as non-leaf.
12414 * setjmp/bits/setjmp2.h: Likewise.
12415 * stdlib/ucontext.h: Likewise.
12416
77cdc054
AS
124172011-11-10 Andreas Schwab <schwab@redhat.com>
12418
12419 * malloc/arena.c (_int_new_arena): Don't increment narenas.
12420 (reused_arena): Don't check arena limit.
12421 (arena_get2): Atomically check arena limit.
12422
fe72eebd
UD
124232011-11-08 Ulrich Drepper <drepper@gmail.com>
12424
5f078c32
UD
12425 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12426 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12427
fe72eebd
UD
12428 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12429 instructions.
12430
ae1bc2fa
AS
124312011-11-07 Andreas Schwab <schwab@redhat.com>
12432
7583a88d
AS
12433 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12434 handler when locking.
12435
ae1bc2fa
AS
12436 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12437 Fix size of allocated buffer.
12438
10fb0bfa
AS
124392011-11-04 Andreas Schwab <schwab@redhat.com>
12440
998832a4
AS
12441 [BZ #10103]
12442 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12443 declarations for long double functions.
12444 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12445
10fb0bfa
AS
12446 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12447
3d7ba52b
AS
124482011-11-03 Andreas Schwab <schwab@redhat.com>
12449
a9ae54a1
AS
12450 * nscd/nscd.c (main): Don't start AVC thread until credentials are
12451 installed.
12452
3d7ba52b
AS
12453 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
12454 is disabled.
12455
bc8db248
ST
124562011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12457
12458 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
12459
45b96dd6
AS
124602011-11-01 Andreas Schwab <schwab@linux-m68k.org>
12461
647776f6
AS
12462 * include/alloca.h (stackinfo_alloca_round): Define.
12463 (extend_alloca): Use it.
12464 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
12465 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
12466 here.
12467
d91a8b93
AS
12468 * scripts/check-local-headers.sh: Ignore libaudit.h.
12469
45b96dd6
AS
12470 * nscd/Makefile (extra-objs): Make recursively expanded.
12471
432d41ce
UD
124722011-11-01 Ulrich Drepper <drepper@gmail.com>
12473
34372fc6
UD
12474 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
12475 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12476
fadb59f8
UD
12477 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
12478 * posix/tst-rfc3484-2.c: Likewise.
12479 * posix/tst-rfc3484-3.c: Likewise.
12480
78239589
UD
12481 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12482 process_vm_writev.
12483 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
12484 process_vm_writev.
12485 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
12486 process_vm_writev from libc using GLIBC_2.15 version.
12487
432d41ce
UD
12488 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
12489
02f9c6cf
PP
124902011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12491
12492 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
12493 stack usage.
12494
3a2c0242
UD
124952011-10-31 Ulrich Drepper <drepper@gmail.com>
12496
f4ec4833
UD
12497 [BZ #13367]
12498 * nss/getent.c (initgroups_keys): Show error message in case no group
12499 names are given.
12500
3a2c0242
UD
12501 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
12502 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
12503 __bump_nl_timestamp.
12504 * nscd/connections (nscd_init): When host database is served open
12505 netlink socket and request notification about configuration changes.
12506 (main_loop_poll): Track netlink file descriptor and bump timestamp
12507 in case data becomes available.
12508 (main_loop_epoll): Likewise.
12509 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
12510 (database_pers_head): Add extra_data fileds.
12511 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
12512 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
12513 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
12514 Adjust caller.
12515 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
12516 in6ai data, call __free_in6ai.
12517 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
12518 Add -DHAVE_NETLINK.
12519 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
12520 interface information. Reuse previous data if netlink timestamp
12521 is not changed.
12522 (__bump_nl_timestamp): New function.
12523 (__free_in6ai): New function.
12524
636064eb
UD
125252011-10-30 Ulrich Drepper <drepper@gmail.com>
12526
12527 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
12528 close_not_cancel_no_status here.
12529 (__check_pf): Reorganize code a bit to not call close twice if OOM.
12530
9beb2334
UD
125312011-10-29 Ulrich Drepper <drepper@gmail.com>
12532
6ef76f3b
UD
12533 [BZ #13276]
12534 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
12535 return value.
12536
0ffc4f3e 12537 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
12538 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
12539 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
12540
cb95113e
UD
125412011-07-03 Andreas Jaeger <aj@suse.de>
12542
12543 [BZ #10709]
12544 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
12545 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
12546 * math/libm-test.inc (sin_test): Add test case.
12547
a1b560ff
UD
125482011-10-29 Ulrich Drepper <drepper@gmail.com>
12549
c9aaface
UD
12550 [BZ #13337]
12551 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
12552 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12553
d272e7f1
UD
12554 * elf/chroot_canon.c (chroot_canon): Cleanups.
12555
1bc33071
UD
12556 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
12557
1760874d
TJ
12558 [BZ #13335]
12559 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
12560 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12561
51d91b18
UD
12562 * string/test-strchr.c: Make usable for strchrnul testing.
12563 * string/test-strchrnul.c: New file.
12564 * string/Makefile (strop-tests): Add strchrnul.
12565
a1b560ff 12566 * po/it.po: Update from translation team.
b611fb81 12567 * po/es.po: Likewise.
a1b560ff 12568
a5b81e1f
UD
125692011-10-28 Ulrich Drepper <drepper@gmail.com>
12570
fd52bc6d
UD
12571 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
12572 the three constants needed as parameters. Drop the others.
12573 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
12574 __m128i_strloadu_tolower.
52e4b9eb
UD
12575 Create and initialize variable zero and use it in all the places
12576 where _mm_setzero_si128 was used.
fd52bc6d 12577
a5b81e1f
UD
12578 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
12579 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
12580 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
12581 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
12582 anymore.
12583 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
12584 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
12585 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
12586 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
12587 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
12588 __mpranred, __mptan.
12589 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
12590 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
12591 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
12592 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
12593 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
12594 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
12595 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
12596 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
12597 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
12598
b4343346
AS
125992011-10-28 Andreas Schwab <schwab@redhat.com>
12600
0c92d8a8
AS
12601 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
12602 redefine if SHARED.
12603 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
12604
b4343346
AS
12605 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
12606 wide char related routines to wcsmbs subdir.
12607
3871f58f
AS
126082011-10-27 Andreas Schwab <schwab@redhat.com>
12609
12610 [BZ #13344]
12611 * misc/sys/cdefs.h (__THROWNL): Define.
12612 * posix/unistd.h: Use __THREADNL instead of __THREAD
12613 for memory synchronization functions.
12614
94d44d9f
RM
126152011-10-26 Roland McGrath <roland@hack.frob.com>
12616
21b64b15 12617 [BZ #13349]
94d44d9f
RM
12618 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
12619 doesn't exist.
12620 * manual/stdio.texi (Obstack Streams): Node removed.
12621
f6ce9294
AS
126222011-10-26 Andreas Schwab <schwab@redhat.com>
12623
80479147
AS
12624 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
12625 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12626 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12627
f6ce9294
AS
12628 * math/math_private.h (math_force_eval): Allow non-addressable
12629 arguments.
12630 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
12631
618280a1
UD
126322011-10-25 Ulrich Drepper <drepper@gmail.com>
12633
e0016b11
UD
12634 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
12635 file is not needed.
12636
12637 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
12638 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12639 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12640 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12641 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12642 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12643 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12644 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
12645 Add AVX variants.
12646 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
12647 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
12648 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
12649 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
12650 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
12651 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
12652 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
12653 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
12654 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
12655 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
12656 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
12657 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
12658 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
12659 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
12660 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
12661 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
12662 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
12663 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
12664 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
12665
12666 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
12667 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
12668
618280a1
UD
12669 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
12670 place. Use VEX encoding when compiling for AVX.
12671
37822576
AS
126722011-10-25 Andreas Schwab <schwab@redhat.com>
12673
1f1e1947
AS
12674 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
12675 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12676
37822576
AS
12677 * string/test-strchr.c (do_test): Don't generate NUL bytes.
12678
31ea014d
UD
126792011-10-25 Ulrich Drepper <drepper@gmail.com>
12680
d7826aa1 12681 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 12682 useless if() expression.
d7826aa1
UD
12683 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12684 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12685 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12686 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12687 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12688 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12689 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12690 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12691 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12692 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12693 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12694 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12695 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12696 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12697 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12698 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12699 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12700 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12701 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12702
31ea014d
UD
12703 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
12704
16437fec
AS
127052011-10-25 Andreas Schwab <schwab@redhat.com>
12706
12707 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
12708 condition.
12709 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12710
31d3cc00
UD
127112011-10-25 Ulrich Drepper <drepper@gmail.com>
12712
12713 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
12714 .text section. Avoid duplicate constants.
12715 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12716 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12717 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12718 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12719 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12720 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12721 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12722 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12723 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12724 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
12725 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12726 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12727 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12728 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12729 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12730 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12731 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12732 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12733 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12734 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12735 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12736 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12737 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12738 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
12739 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
12740 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
12741 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
12742 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
12743 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
12744 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
12745 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
12746 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
12747 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12748 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
12749 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
12750 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
12751 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
12752 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
12753 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
12754 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
12755 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
12756 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
12757 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
12758 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
12759 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
12760
58985aa9
UD
127612011-10-24 Ulrich Drepper <drepper@gmail.com>
12762
202c9deb
UD
12763 * sysdeps/x86_64/dla.h: Move to ...
12764 * sysdeps/x86_64/fpu/dla.h: ...here.
12765 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
12766 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 12767
af968f62
UD
12768 * config.make.in: Add have-mfma4 entry.
12769 * configure.in: Substitute libc_cv_cc_fma4.
12770 * math/Makefile (dbl-only-routines): Add sincostab.
12771 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
12772 Use __sincostab not sincos.
12773 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
12774 name is a macro.
12775 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12776 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12777 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12778 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
12779 using __copysign.
12780 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
12781 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
12782 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
12783 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
12784 and __inv.
12785 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
12786 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
12787 __copysign.
12788 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
12789 define aliases when function name is a macro.
12790 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
12791 sysdeps/ieee754/dbl-64/sincos.tbl.
12792 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
12793 fma4-enabled routines.
12794 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
12795 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
12796 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
12797 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
12798 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
12799 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
12800 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
12801 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
12802 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
12803 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
12804 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
12805 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
12806 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
12807 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
12808 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
12809 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
12810 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
12811 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
12812 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
12813 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
12814 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
12815 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
12816 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
12817 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
12818 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
12819 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
12820 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
12821 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
12822 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
12823 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
12824
58985aa9
UD
12825 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
12826 rename.
12827 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12828 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12829 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12830 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12831 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12832 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12833 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12834 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12835
a201fbcf
AS
128362011-10-24 Andreas Schwab <schwab@redhat.com>
12837
12838 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
12839
fc2ee42a
LD
128402011-10-23 Ulrich Drepper <drepper@gmail.com>
12841
bb3129bd
UD
12842 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
12843
0275fff8
UD
12844 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
12845 prediction.
12846 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
12847
2fa2ae85
UD
12848 * string/strnlen.c: Don't define STRNLEN, reverse logic.
12849 Remove unused variable magic_bits.
12850 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
12851
fc2ee42a
LD
12852 * string/strnlen.c: Define and use STRNLEN macro.
12853 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
12854 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
12855 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
12856 * wcsmbs/wcslen.c: Define and use WCSLEN.
12857 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
12858 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
12859 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
12860 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
12861 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
12862 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
12863 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12864
ce7dd29f
LD
128652011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12866
12867 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12868 strnlen-sse2-no-bsf.
12869 Rename strlen-no-bsf to strlen-sse2-no-bsf.
12870 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
12871 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
12872 Add strnlen support.
12873 (USE_AS_STRNLEN): New macro.
12874 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
12875 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
12876 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
12877 * sysdeps/x86_64/wcslen.S: New file.
12878
979c70a3
MZ
128792011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
12880
12881 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12882 XMM-moves are used for copying on small sizes.
12883
2d09f82f
LD
128842011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12885
12886 * wcsmbs/Makefile (strop-tests): Add wcschr.
12887 * wcsmbs/test-wcschr.c: New file.
12888 * string/test-strchr.c: Update.
12889 Add wcschr support.
12890 (WIDE): New macro.
12891
619fccca
LD
128922011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12893
2d09f82f 12894 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
12895 * wcsmbs/test-wcslen.c: New file.
12896 * string/test-strlen.c: Update.
12897 Add wcslen support.
12898 (WIDE): New macro.
12899
09f699ea
UD
129002011-10-23 Ulrich Drepper <drepper@gmail.com>
12901
12902 * po/it.po: Update from translation team.
12903
95584d3b
LD
129042011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12905
12906 * sysdeps/x86_64/wcscmp.S: Update.
12907 Fix wrong comparison semantics.
12908 wcscmp shall use signed comparison not unsigned.
12909 Don't use substraction to avoid overflow bug.
12910 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12911 * wcsmbc/wcscmp.c: Likewise.
12912 * string/test-strcmp.c: Likewise.
12913 Add new tests to check cases with negative values.
12914
c8b3296b
UD
129152011-10-23 Ulrich Drepper <drepper@gmail.com>
12916
12917 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
12918 * sysdeps/x86_64/dla.h: ...here. New file.
12919 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
12920 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12921 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12922 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12923 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12924 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12925 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12926 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12927 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12928
246ad57a
AS
129292011-10-23 Andreas Schwab <schwab@linux-m68k.org>
12930
12931 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
12932 __ynl_finite aliases.
12933
a1a87169
UD
129342011-10-22 Ulrich Drepper <drepper@gmail.com>
12935
0d355eb7
UD
12936 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12937
a1a87169
UD
12938 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
12939 define DLA_FMA.
12940 [DLA_FMA] (EMULV): Use DLA_FMA.
12941 [DLA_FMA] (MUL12): Use EMULV.
12942 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
12943 that are not needed.
12944 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12945 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12946 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12947 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12948 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12949 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12950 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12951
ee2aafe0
AS
129522011-10-22 Andreas Schwab <schwab@linux-m68k.org>
12953
12954 * math/s_nan.c: Undef __nan.
12955 * math/s_nanf.c: Undef __nanf.
12956 * math/s_nanl.c: Undef __nanl.
12957 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
12958 "math_private.h".
12959
bc62c2fb
UD
129602011-10-22 Ulrich Drepper <drepper@gmail.com>
12961
77425c63
UD
12962 * math/s_catan.c: Add branch predictions.
12963 * math/s_catanf.c: Likewise.
12964 * math/s_catanh.c: Likewise.
12965 * math/s_catanhf.c: Likewise.
12966 * math/s_catanhl.c: Likewise.
12967 * math/s_catanl.c: Likewise.
12968 * math/s_cexp.c: Likewise.
12969 * math/s_cexpf.c: Likewise.
12970 * math/s_cexpl.c: Likewise.
12971 * math/s_clog.c: Likewise.
12972 * math/s_clog10.c: Likewise.
12973 * math/s_clog10f.c: Likewise.
12974 * math/s_clog10l.c: Likewise.
12975 * math/s_clogf.c: Likewise.
12976 * math/s_clogl.c: Likewise.
12977 * math/s_csqrt.c: Likewise.
12978 * math/s_csqrtf.c: Likewise.
12979 * math/s_csqrtl.c: Likewise.
12980 * math/s_ctanf.c: Likewise.
12981 * math/s_ctanh.c: Likewise.
12982 * math/s_ctanhf.c: Likewise.
12983 * math/s_ctanhl.c: Likewise.
12984 * math/s_ctanl.c: Likewise.
12985
bc62c2fb
UD
12986 * math/math_private.h: Define __nan, __nanf, __nanl.
12987 * math/s_cacosh.c: Include <math_private.h>.
12988 * math/s_cacoshl.c: Likewise.
12989 * math/s_casinh.c: Likewise.
12990 * math/s_casinhf.c: Likewise.
12991 * math/s_casinhl.c: Likewise.
12992 * math/s_ccos.c: Rely entire on ccosh.
12993 * math/s_ccosf.c: Rely entire on ccoshf.
12994 * math/s_ccosl.c: Rely entirely on ccoshl.
12995 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
12996 Remove tests for FE_INVALID.
12997 * math/s_ccoshf.c: Likewise.
12998 * math/s_ccoshl.c: Likewise.
12999 * math/s_csin.c: Likewise.
13000 * math/s_csinf.c: Likewise.
13001 * math/s_csinh.c Likewise.
13002 * math/s_csinhf.c: Likewise.
13003 * math/s_csinhl.c: Likewise.
13004 * math/s_csinl.c: Likewise.
13005 * math/s_ctan.c: Likewise.
13006 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
13007 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
13008 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
13009
8ec250a4
UD
130102011-10-21 Ulrich Drepper <drepper@gmail.com>
13011
c196fed8
UD
13012 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
13013 compilation problems.
13014
8ec250a4
UD
13015 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
13016 __builtin_expect.
13017
8d4f46c6
UD
130182011-10-20 Ulrich Drepper <drepper@gmail.com>
13019
ed72b654
UD
13020 * sysdeps/i386/configure.in: Test for -mfma4 option.
13021 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
13022 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
13023 COMMON_CPUID_INDEX_80000001.
13024 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
13025 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
13026 use it if FMA3 is not supported.
13027 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13028
8d4f46c6
UD
13029 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
13030 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13031
d45c60c2
AS
130322011-10-20 Andreas Schwab <schwab@redhat.com>
13033
13034 [BZ #12892]
13035 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
13036 it would create a cycle with a link time dependency.
13037
d9a4d2ab
UD
130382011-10-19 Ulrich Drepper <drepper@gmail.com>
13039
855d1560
UD
13040 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
13041 instruction.
13042 * string/Makefile (strop-tests): Add rawmemchr.
13043 * string/test-rawmemchr.c: New file.
13044
d9a4d2ab
UD
13045 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
13046 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
13047 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
13048 when compiling str{,n}casecmp and when AVX is available. Hook up
13049 new optimized code in initializers.
13050
8f3b1ffe
AS
130512011-10-19 Andreas Schwab <schwab@redhat.com>
13052
13053 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
13054 __feraiseexcept instead of feraiseexcept.
13055
d38f1dba
UD
130562011-10-18 Ulrich Drepper <drepper@gmail.com>
13057
d9a8d0ab
UD
13058 * math/math_private.h: Define defaults for libc_fetestexcept and
13059 libc_feupdateenv.
13060 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
13061 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13062 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13063 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13064 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13065 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13066 libc_fetestexcept and libc_feupdateenv.
13067
4855e3dd
UD
13068 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
13069 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
13070 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
13071 * sysdeps/x86_64/fpu/math_private.h: Define special version of
13072 libc_feholdexcept_setround.
13073
581d30e3
UD
13074 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
13075 Add s_nearbyint-c and s_nearbyintf-c.
13076 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
13077 nearbyintf inlines.
13078 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
13079 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
13080 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
13081 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
13082
d38f1dba
UD
13083 * math/math_private.h: Define defaults for libc_fegetround,
13084 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
13085 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
13086 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
13087 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
13088 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
13089 standard functions.
13090 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13091 Remove comments and hacks for old compiler versions.
13092 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13093 libc_fegetround, libc_fesetround, libc_feholdexcept, and
13094 libc_feholdexceptl.
13095
caa6c9d8
AS
130962011-10-18 Andreas Schwab <schwab@redhat.com>
13097
13098 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
13099 (__feraiseexcept_renamed): Add __NTH.
13100 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
13101 namespace violations.
13102
97c066e6
UD
131032011-10-17 Ulrich Drepper <drepper@gmail.com>
13104
99ce7b04
UD
13105 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
13106
1004d182
UD
13107 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
13108
228a984d
UD
13109 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
13110 recently added interfaces.
13111 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
13112
c8553a6a
UD
13113 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
13114 about macro parameter expansion.
13115
ed22dcf6
UD
13116 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
13117 __NO_MATH_INLINES is defined. Cleanups.
13118
13119 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
13120 and __floorf is target has SSE4.1.
13121 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
13122 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
13123 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
13124 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
13125
b171c137
UD
13126 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
13127 name.
13128 (floorf): Likewise.
13129
97c066e6
UD
13130 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
13131
629f62ef
AS
131322011-10-17 Andreas Schwab <schwab@redhat.com>
13133
49a43d80
AS
13134 * misc/sys/cdefs.h: Fix last change.
13135
629f62ef
AS
13136 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
13137 database lookup.
13138
e453f6cd
UD
131392011-10-16 Ulrich Drepper <drepper@gmail.com>
13140
aa78043a
UD
13141 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
13142
ad0f5cad
UD
13143 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
13144 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13145 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13146 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13147 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13148 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13149 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13150 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13151 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13152 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
13153 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
13154 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
13155 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
13156 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
13157 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
13158 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
13159 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
13160 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
13161 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
13162 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
13163 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
13164 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
13165
13166 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
13167 ceil, ceilf, floor, floorf.
13168
13169 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
13170 Perform IRELATIVE relocations last.
13171
e453f6cd
UD
13172 * elf/do-rel.h: Add another parameter nrelative, replacing the
13173 local variable with the same name. Change name of the function
13174 to end in Rel or Rela (uppercase).
13175 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
13176 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
13177 elf_dynamic_do_##reloc function.
13178
fd5bdc09
UD
131792011-10-15 Ulrich Drepper <drepper@gmail.com>
13180
79b195b5
UD
13181 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
13182 is sufficient, at least on modern CPUs.
13183
d4a28569
UD
13184 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
13185
b61099b5
UD
13186 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
13187 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
13188
bcf01e6d
UD
13189 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
13190 __expl_finite.
13191 * math/bits/math-finite.h: Add entries for exp.
13192 * math/e_expl.c: Add __*_finite alias.
13193 * sysdeps/i386/fpu/e_exp.S: Likewise.
13194 * sysdeps/i386/fpu/e_expf.S: Likewise.
13195 * sysdeps/i386/fpu/e_expl.c: Likewise.
13196 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13197 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13198 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13199 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13200 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
13201 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13202 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13203
ba1a0d59
UD
13204 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
13205 is sufficient, at least on modern CPUs.
13206
fd5bdc09
UD
13207 * ctype/ctype-info.c (__ctype_init): Define.
13208 * include/ctype.h (__ctype_init): Declare.
13209 (__ctype_b_loc): The variable is always initialized.
13210 (__ctype_toupper_loc): Likewise.
13211 (__ctype_tolower_loc): Likewise.
13212 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
13213 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
13214
7872cfb0
AS
132152011-10-15 Andreas Schwab <schwab@linux-m68k.org>
13216
b468825a
AS
13217 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
13218
7872cfb0
AS
13219 * configure.in: Also look in $cxxmachine/include for C++ system
13220 headers.
13221
be13f7bf
LD
132222011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13223
13224 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
13225 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
13226 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
13227 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
13228 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
13229 (USE_AS_WMEMCMP): New macro.
13230 Fixing indents.
13231 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
13232 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
13233 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
13234 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
13235 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13236 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
13237 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
13238 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
13239 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
13240 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
13241 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
13242 (USE_AS_WMEMCMP): New macro.
13243 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
13244 * sysdeps/string/test-memcmp.c: Update.
13245 Fix simple_wmemcmp.
13246 Add new tests.
13247 * wcsmbs/wmemcmp.c: Update.
13248 (WMEMCMP): New macro.
13249 Fix overflow bug.
13250
556a2007
AJ
132512011-10-12 Andreas Jaeger <aj@suse.de>
13252
13253 [BZ #13268]
13254 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
13255
538faaa7
UD
132562011-10-15 Ulrich Drepper <drepper@gmail.com>
13257
ab6737ff
UD
13258 * libio/iofwide.c (do_length): Avoid warning.
13259
538faaa7
UD
13260 * ctype/ctype.h (__isctype_f): Add missing __THROW.
13261
396a21b1
UD
132622011-10-14 Ulrich Drepper <drepper@gmail.com>
13263
cdf2901f
UD
13264 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
13265
38ad40ce
UD
13266 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
13267 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
13268 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
13269 * sysdeps/i386/i686/fpu/e_log.S: New file.
13270 * sysdeps/i386/i686/fpu/e_logf.S: New file.
13271 * sysdeps/i386/i686/fpu/e_logl.S: New file.
13272
396a21b1
UD
13273 * ctype/ctype.h: Add support for inlined isXXX functions when
13274 compiling C++ code.
13275
6b1f68c9
AS
132762011-10-14 Andreas Schwab <schwab@redhat.com>
13277
349290c0
AS
13278 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13279
6b1f68c9
AS
13280 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
13281
f2282d42
RM
132822011-10-13 Roland McGrath <roland@hack.frob.com>
13283
13284 [BZ #13291]
13285 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
13286
5298ffa8
AS
132872011-10-13 Andreas Schwab <schwab@redhat.com>
13288
714fad23
AS
13289 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
13290 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
13291 feraiseexcept.
13292
81dcc7fb
AS
13293 * sysdeps/x86_64/memrchr.S: Check for zero size.
13294
5298ffa8
AS
13295 * string/stratcliff.c: Add memrchr tests.
13296
951fbcec
LD
132972011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13298
13299 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13300 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
13301 rawmemchr-sse2 rawmemchr-sse2-bsf.
13302 * sysdeps/i386/i686/multiarch/memchr.S: New file.
13303 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
13304 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
13305 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
13306 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
13307 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
13308 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
13309 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
13310 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
13311 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
13312 * string/memrchr.c (MEMRCHR): New macro.
13313
0ac5ae23
UD
133142011-10-12 Ulrich Drepper <drepper@gmail.com>
13315
13316 Add integration with gcc's -ffinite-math-only and optimize wrapper
13317 functions in libm.
13318 * Versions.def: Define GLIBC_2.15 version for libm.
13319 * math/Makefile (headers): Add bits/math-finite.h.
13320 * math/bits/math-finite.h: New file.
13321 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
13322 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
13323 * math/e_acoshl.c: Add __*_finite alias.
13324 * math/e_acosl.c: Likewise.
13325 * math/e_asinl.c: Likewise.
13326 * math/e_atan2l.c: Likewise.
13327 * math/e_atanhl.c: Likewise.
13328 * math/e_coshl.c: Likewise.
13329 * math/e_exp10.c: Likewise.
13330 * math/e_exp10f.c: Likewise.
13331 * math/e_exp10l.c: Likewise.
13332 * math/e_exp2l.c: Likewise.
13333 * math/e_fmodl.c: Likewise.
13334 * math/e_gammal_r.c: Likewise.
13335 * math/e_hypotl.c: Likewise.
13336 * math/e_j0l.c: Likewise.
13337 * math/e_j1l.c: Likewise.
13338 * math/e_jnl.c: Likewise.
13339 * math/e_lgammal_r.c: Likewise.
13340 * math/e_log10l.c: Likewise.
13341 * math/e_log2l.c: Likewise.
13342 * math/e_logl.c: Likewise.
13343 * math/e_powl.c: Likewise.
13344 * math/e_sinhl.c: Likewise.
13345 * math/e_sqrtl.c: Likewise.
13346 * math/e_scalb.c: Completely rewritten and optimized.
13347 * math/e_scalbf.c: Likewise.
13348 * math/e_scalbl.c: Likewise.
13349 * math/w_acos.c: Likewise.
13350 * math/w_acosf.c: Likewise.
13351 * math/w_acosl.c: Likewise.
13352 * math/w_acosh.c: Likewise.
13353 * math/w_acoshf.c: Likewise.
13354 * math/w_acoshl.c: Likewise.
13355 * math/w_asin.c: Likewise.
13356 * math/w_asinf.c: Likewise.
13357 * math/w_asinl.c: Likewise.
13358 * math/w_atan2.c: Likewise.
13359 * math/w_atan2f.c: Likewise.
13360 * math/w_atan2l.c: Likewise.
13361 * math/w_atanh.c: Likewise.
13362 * math/w_atanhf.c: Likewise.
13363 * math/w_atanhl.c: Likewise.
13364 * math/w_exp10.c: Likewise.
13365 * math/w_exp10f.c: Likewise.
13366 * math/w_exp10l.c: Likewise.
13367 * math/w_fmod.c: Likewise.
13368 * math/w_fmodf.c: Likewise.
13369 * math/w_fmodl.c: Likewise.
13370 * math/w_j0.c: Likewise.
13371 * math/w_j0f.c: Likewise.
13372 * math/w_j0l.c: Likewise.
13373 * math/w_j1.c: Likewise.
13374 * math/w_j1f.c: Likewise.
13375 * math/w_j1l.c: Likewise.
13376 * math/w_jn.c: Likewise.
13377 * math/w_jnf.c: Likewise.
13378 * math/w_log.c: Likewise.
13379 * math/w_logf.c: Likewise.
13380 * math/w_logl.c: Likewise.
13381 * math/w_log10.c: Likewise.
13382 * math/w_log10f.c: Likewise.
13383 * math/w_log10l.c: Likewise.
13384 * math/w_log2.c: Likewise.
13385 * math/w_log2f.c: Likewise.
13386 * math/w_log2l.c: Likewise.
13387 * math/w_pow.c: Likewise.
13388 * math/w_powf.c: Likewise.
13389 * math/w_powl.c: Likewise.
13390 * math/w_remainder.c: Likewise.
13391 * math/w_remainderf.c: Likewise.
13392 * math/w_remainderl.c: Likewise.
13393 * math/w_scalb.c: Likewise.
13394 * math/w_scalbf.c: Likewise.
13395 * math/w_scalbl.c: Likewise.
13396 * math/w_sqrt.c: Likewise.
13397 * math/w_sqrtf.c: Likewise.
13398 * math/w_sqrtl.c: Likewise.
13399 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13400 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
13401 used.
13402 * math/math_private.h: Declare __kernel_standard_f.
13403 * math/w_cosh.c: Remove cruft and optimize a bit.
13404 * math/w_coshf.c: Likewise.
13405 * math/w_coshl.c: Likewise.
13406 * math/w_exp2.c: Likewise.
13407 * math/w_exp2f.c: Likewise.
13408 * math/w_exp2l.c: Likewise.
13409 * math/w_hypot.c: Likewise.
13410 * math/w_hypotf.c: Likewise.
13411 * math/w_hypotl.c: Likewise.
13412 * math/w_lgamma.c: Likewise.
13413 * math/w_lgamma_r.c: Likewise.
13414 * math/w_lgammaf.c: Likewise.
13415 * math/w_lgammaf_r.c: Likewise.
13416 * math/w_lgammal.c: Likewise.
13417 * math/w_lgammal_r.c: Likewise.
13418 * math/w_sinh.c: Likewise.
13419 * math/w_sinhf.c: Likewise.
13420 * math/w_sinhl.c: Likewise.
13421 * math/w_tgamma.c: Likewise.
13422 * math/w_tgammaf.c: Likewise.
13423 * math/w_tgammal.c: Likewise.
13424 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13425 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13426 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13427 Minor optimizations. Pretty printing. Remove cruft.
13428 * sysdeps/i386/fpu/e_acosf.S: Likewise.
13429 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13430 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13431 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13432 * sysdeps/i386/fpu/e_acosl.c: Likewise.
13433 * sysdeps/i386/fpu/e_asin.S: Likewise.
13434 * sysdeps/i386/fpu/e_asinf.S: Likewise.
13435 * sysdeps/i386/fpu/e_atan2.S: Likewise.
13436 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13437 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13438 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13439 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13440 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13441 * sysdeps/i386/fpu/e_exp10.S: Likewise.
13442 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13443 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13444 * sysdeps/i386/fpu/e_exp2.S: Likewise.
13445 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13446 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13447 * sysdeps/i386/fpu/e_fmod.S: Likewise.
13448 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13449 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13450 * sysdeps/i386/fpu/e_hypot.S: Likewise.
13451 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
13452 * sysdeps/i386/fpu/e_log.S: Likewise.
13453 * sysdeps/i386/fpu/e_log10.S: Likewise.
13454 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13455 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13456 * sysdeps/i386/fpu/e_log2.S: Likewise.
13457 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13458 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13459 * sysdeps/i386/fpu/e_logf.S: Likewise.
13460 * sysdeps/i386/fpu/e_logl.S: Likewise.
13461 * sysdeps/i386/fpu/e_pow.S: Likewise.
13462 * sysdeps/i386/fpu/e_powf.S: Likewise.
13463 * sysdeps/i386/fpu/e_powl.S: Likewise.
13464 * sysdeps/i386/fpu/e_remainder.S: Likewise.
13465 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
13466 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
13467 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13468 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13469 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13470 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
13471 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
13472 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
13473 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13474 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13475 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13476 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13477 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13478 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13479 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13480 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13481 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13482 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13483 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13484 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13485 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13486 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13487 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13488 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13489 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13490 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13491 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13492 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13493 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13494 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13495 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13496 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13497 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13498 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13499 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13500 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13501 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13502 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13503 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13504 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13505 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13506 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13507 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13508 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13509 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13510 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13511 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13512 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13513 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13514 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13515 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13516 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13517 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13518 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13519 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13520 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13521 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13522 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13523 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13524 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13525 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13526 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13527 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13528 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13529 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13530 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13531 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13532 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13533 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13534 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13535 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13536 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13537 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13538 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13539 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13540 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13541 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13542 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13543 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13544 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13545 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13546 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13547 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13548 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13549 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13550 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13551 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13552 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13553 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13554 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13555 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13556 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13557 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13558 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13559 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13560 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13561 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13562 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13563 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13564 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13565 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13566 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13567 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13568 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13569 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13570 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13571 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13572 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13573 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
13574 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
13575 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
13576 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
13577 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13578 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13579 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13580 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13581 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
13582 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13583 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
13584 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
13585 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
13586 (__isnanf): Likewise.
13587 (__isinf_ns): Likewise.
13588 (__isinf_nsf): Likewise.
13589 (__finite): Likewise.
13590 (__finitef): Likewise.
13591 (__ieee754_sqrt): Define as macro.
13592 (__ieee754_sqrtf): Define as macro.
13593 (__ieee754_sqrtl): Define as macro.
13594 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
13595 inlined copy.
13596 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
13597 __FINITE_MATH_ONLY__ consistent.
13598 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
13599
12cc2fcd
AS
136002011-10-10 Andreas Schwab <schwab@linux-m68k.org>
13601
a843a204
AS
13602 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
13603 of rawmemchr.
13604
12cc2fcd
AS
13605 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
13606
c853acd5
UD
136072011-10-09 Ulrich Drepper <drepper@gmail.com>
13608
13609 * po/ja.po: Update from translation team.
13610
c658d255
RM
136112011-10-08 Roland McGrath <roland@hack.frob.com>
13612
110946e4
RM
13613 * locale/programs/locarchive.c (prepare_address_space): New function.
13614 (create_archive, enlarge_archive, open_archive): Use it.
13615
50604220
RM
13616 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
13617 inside [SHARED], where it is used.
13618
c658d255
RM
13619 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
13620
13621 * nss/getent.c (netgroup_keys): Remove unused variable.
13622 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13623
6a621eb7
UD
136242011-10-08 Ulrich Drepper <drepper@gmail.com>
13625
7edb55ce
UD
13626 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
13627 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
13628 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
13629 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
13630 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
13631 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
13632 * math/Makefile (libm-calls): Add s_isinf_ns.
13633 * math/divtc3.c: Use __isinf_nsl instead of isinf.
13634 * math/multc3.c: Likewise.
13635 * math/s_casin.c: Likewise.
13636 * math/s_casinf.c: Likewise.
13637 * math/s_casinl.c: Likewise.
13638 * math/s_ccos.c: Likewise.
13639 * math/s_ccosf.c: Likewise.
13640 * math/s_ccosl.c: Likewise.
13641 * math/s_ctan.c: Likewise.
13642 * math/s_ctanf.c: Likewise.
13643 * math/s_ctanh.c: Likewise.
13644 * math/s_ctanhf.c: Likewise.
13645 * math/s_ctanhl.c: Likewise.
13646 * math/s_ctanl.c: Likewise.
13647 * math/w_fmod.c: Likewise.
13648 * math/w_fmodf.c: Likewise.
13649 * math/w_fmodl.c: Likewise.
13650 * math/w_remainder.c: Likewise.
13651 * math/w_remainderf.c: Likewise.
13652 * math/w_remainderl.c: Likewise.
13653 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
13654 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
13655 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
13656 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
13657 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
13658 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
13659 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
13660 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
13661
187da0ae
UD
13662 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
13663 of the number.
13664 * stdio-common/printf_fphex.c: Likewise.
13665 * stdio-common/printf_size.c: Likewise.
13666
9277c064
UD
13667 * math/e_exp10.c: Include math_private.h using <...> not "...".
13668 * math/e_exp10f.c: Likewise.
13669 * math/e_exp10l.c: Likewise.
13670 * math/e_exp2l.c: Likewise.
13671 * math/e_j0l.c: Likewise.
13672 * math/e_j1l.c: Likewise.
13673 * math/e_jnl.c: Likewise.
13674 * math/e_lgammal_r.c: Likewise.
13675 * math/e_rem_pio2l.c: Likewise.
13676 * math/e_scalb.c: Likewise.
13677 * math/e_scalbf.c: Likewise.
13678 * math/e_scalbl.c: Likewise.
13679 * math/k_cosl.c: Likewise.
13680 * math/k_sinl.c: Likewise.
13681 * math/k_tanl.c: Likewise.
13682 * math/s_cacoshf.c: Likewise.
13683 * math/s_catan.c: Likewise.
13684 * math/s_catanf.c: Likewise.
13685 * math/s_catanh.c: Likewise.
13686 * math/s_catanhf.c: Likewise.
13687 * math/s_catanhl.c: Likewise.
13688 * math/s_catanl.c: Likewise.
13689 * math/s_ccosh.c: Likewise.
13690 * math/s_ccoshf.c: Likewise.
13691 * math/s_ccoshl.c: Likewise.
13692 * math/s_cexp.c: Likewise.
13693 * math/s_cexpf.c: Likewise.
13694 * math/s_cexpl.c: Likewise.
13695 * math/s_clog.c: Likewise.
13696 * math/s_clog10.c: Likewise.
13697 * math/s_clog10f.c: Likewise.
13698 * math/s_clog10l.c: Likewise.
13699 * math/s_clogf.c: Likewise.
13700 * math/s_clogl.c: Likewise.
13701 * math/s_csin.c: Likewise.
13702 * math/s_csinf.c: Likewise.
13703 * math/s_csinh.c: Likewise.
13704 * math/s_csinhf.c: Likewise.
13705 * math/s_csinhl.c: Likewise.
13706 * math/s_csinl.c: Likewise.
13707 * math/s_csqrt.c: Likewise.
13708 * math/s_csqrtf.c: Likewise.
13709 * math/s_csqrtl.c: Likewise.
13710 * math/s_ctan.c: Likewise.
13711 * math/s_ctanf.c: Likewise.
13712 * math/s_ctanh.c: Likewise.
13713 * math/s_ctanhf.c: Likewise.
13714 * math/s_ctanhl.c: Likewise.
13715 * math/s_ctanl.c: Likewise.
13716 * math/s_ldexp.c: Likewise.
13717 * math/s_ldexpf.c: Likewise.
13718 * math/s_ldexpl.c: Likewise.
13719 * math/s_significand.c: Likewise.
13720 * math/s_significandf.c: Likewise.
13721 * math/s_significandl.c: Likewise.
13722 * math/w_acos.c: Likewise.
13723 * math/w_acosf.c: Likewise.
13724 * math/w_acosh.c: Likewise.
13725 * math/w_acoshf.c: Likewise.
13726 * math/w_acoshl.c: Likewise.
13727 * math/w_acosl.c: Likewise.
13728 * math/w_asin.c: Likewise.
13729 * math/w_asinf.c: Likewise.
13730 * math/w_asinl.c: Likewise.
13731 * math/w_atan2.c: Likewise.
13732 * math/w_atan2f.c: Likewise.
13733 * math/w_atan2l.c: Likewise.
13734 * math/w_atanh.c: Likewise.
13735 * math/w_atanhf.c: Likewise.
13736 * math/w_atanhl.c: Likewise.
13737 * math/w_cosh.c: Likewise.
13738 * math/w_coshf.c: Likewise.
13739 * math/w_coshl.c: Likewise.
13740 * math/w_dremf.c: Likewise.
13741 * math/w_exp10.c: Likewise.
13742 * math/w_exp10f.c: Likewise.
13743 * math/w_exp10l.c: Likewise.
13744 * math/w_exp2.c: Likewise.
13745 * math/w_exp2f.c: Likewise.
13746 * math/w_fmod.c: Likewise.
13747 * math/w_fmodf.c: Likewise.
13748 * math/w_fmodl.c: Likewise.
13749 * math/w_hypot.c: Likewise.
13750 * math/w_hypotf.c: Likewise.
13751 * math/w_hypotl.c: Likewise.
13752 * math/w_j0.c: Likewise.
13753 * math/w_j0f.c: Likewise.
13754 * math/w_j0l.c: Likewise.
13755 * math/w_j1.c: Likewise.
13756 * math/w_j1f.c: Likewise.
13757 * math/w_j1l.c: Likewise.
13758 * math/w_jn.c: Likewise.
13759 * math/w_jnf.c: Likewise.
13760 * math/w_jnl.c: Likewise.
13761 * math/w_lgamma.c: Likewise.
13762 * math/w_lgamma_r.c: Likewise.
13763 * math/w_lgammaf.c: Likewise.
13764 * math/w_lgammaf_r.c: Likewise.
13765 * math/w_lgammal.c: Likewise.
13766 * math/w_lgammal_r.c: Likewise.
13767 * math/w_log.c: Likewise.
13768 * math/w_log10.c: Likewise.
13769 * math/w_log10f.c: Likewise.
13770 * math/w_log10l.c: Likewise.
13771 * math/w_log2.c: Likewise.
13772 * math/w_log2f.c: Likewise.
13773 * math/w_log2l.c: Likewise.
13774 * math/w_logf.c: Likewise.
13775 * math/w_logl.c: Likewise.
13776 * math/w_pow.c: Likewise.
13777 * math/w_powf.c: Likewise.
13778 * math/w_powl.c: Likewise.
13779 * math/w_remainder.c: Likewise.
13780 * math/w_remainderf.c: Likewise.
13781 * math/w_remainderl.c: Likewise.
13782 * math/w_scalb.c: Likewise.
13783 * math/w_scalbf.c: Likewise.
13784 * math/w_scalbl.c: Likewise.
13785 * math/w_sinh.c: Likewise.
13786 * math/w_sinhf.c: Likewise.
13787 * math/w_sinhl.c: Likewise.
13788 * math/w_sqrt.c: Likewise.
13789 * math/w_sqrtf.c: Likewise.
13790 * math/w_sqrtl.c: Likewise.
13791 * math/w_tgamma.c: Likewise.
13792 * math/w_tgammaf.c: Likewise.
13793 * math/w_tgammal.c: Likewise.
13794
6a621eb7
UD
13795 * po/ja.po: Update from translation team.
13796
bf582445
AJ
137972011-09-29 Andreas Jaeger <aj@suse.de>
13798
f9efbf3a
AJ
13799 [BZ #13179]
13800 * sunrpc/netname.c (netname2host): Fix logic.
13801
bf582445
AJ
13802 [BZ #6779]
13803 [BZ #6783]
13804 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
13805 correctly.
13806 * math/w_remainder.c (__remainder): Likewise.
13807 * math/w_remainderf.c (__remainderf): Likewise.
13808 * math/libm-test.inc (remainder_test): Add test cases.
13809
48693bea
AK
138102011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13811
13812 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
13813 sdiv_qrnnd.
13814
42622229
LD
138152011-10-07 Ulrich Drepper <drepper@gmail.com>
13816
13817 * string/test-memcmp.c: Avoid unncessary #defines.
13818 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13819
093ecf92
LD
138202011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13821
13822 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
13823 Use new sse2 version for core i3 - i7 as it's faster
13824 than sse42 version.
13825 (bit_Prefer_PMINUB_for_stringop): New.
13826 * sysdeps/x86_64/rawmemchr.S: Update.
13827 Replace with faster SSE2 version.
13828 * sysdeps/x86_64/memrchr.S: New file.
13829 * sysdeps/x86_64/memchr.S: Update.
13830 Replace with faster SSE2 version.
13831
fde56e5c
MP
138322011-09-12 Marek Polacek <mpolacek@redhat.com>
13833
13834 * elf/dl-load.c (lose): Add cast to avoid warning.
13835
21fd49a9
UD
138362011-10-07 Ulrich Drepper <drepper@gmail.com>
13837
5a06e643
UD
13838 * po/ca.po: Update from translation team.
13839
684ae515
UD
13840 * inet/getnetgrent_r.c: Hook up nscd.
13841 * nscd/Makefile (routines): Add nscd_netgroup.
13842 (nscd-modules): Add netgroupcache.
13843 (CFLAGS-netgroupcache.c): Define.
13844 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
13845 (cache_search): Add const to second parameter.
13846 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
13847 INNETGR.
13848 (dbs): Add netgrdb entry.
13849 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
13850 (verify_persistent_db): Handle netgrdb.
13851 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
13852 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
13853 GETFDNETGR.
13854 (netgroup_response_header): Define.
13855 (innetgroup_response_header): Define.
13856 (datahead): Add netgroup_response_header and innetgroup_response_header
13857 elements.
13858 * nscd/nscd.conf: Add entries for netgroup cache.
13859 * nscd/nscd.h (dbtype): Add netgrdb.
13860 (_PATH_NSCD_NETGROUP_DB): Define.
13861 (netgroup_iov_disabled): Declare.
13862 (xmalloc, xcalloc, xrealloc): Move declarations here.
13863 (cache_search): Adjust prototype.
13864 Add netgroup-related prototypes.
13865 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
13866 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
13867 (__nscd_innetgr): Declare.
13868 * nscd/selinux.c (perms): Use access_vector_t as element type and
13869 add netgroup-related initializers.
13870 * nscd/netgroupcache.c: New file.
13871 * nscd/nscd_netgroup.c: New file.
13872 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
13873 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
13874 For four parameters use innetgr.
13875 * nss/nss_files/files-init.c: Add definition and callback for netgr.
13876 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
13877 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
13878 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
13879
21fd49a9
UD
13880 * nscd/connections.c (register_traced_file): Don't register file
13881 for disabled databases.
13882
054c0457
UD
138832011-10-06 Ulrich Drepper <drepper@gmail.com>
13884
32b63198
UD
13885 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
13886
054c0457
UD
13887 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
13888 from tree and freeing node.
13889
64031225
JO
138902011-09-25 Jiri Olsa <jolsa@redhat.com>
13891
13892 * nss/nsswitch.c (__nss_database_lookup): Handle
13893 nss_parse_service_list out of memory case.
13894
0490345c
JO
138952011-09-15 Jiri Olsa <jolsa@redhat.com>
13896
13897 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
13898 out of memory case.
13899
3a62d00d
AS
139002011-10-04 Andreas Schwab <schwab@redhat.com>
13901
13902 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
13903 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
13904 pass it down.
13905 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
13906 elf_machine_rela, elf_machine_lazy_rel.
13907 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
13908 (ELF_DYNAMIC_DO_REL): Likewise.
13909 (ELF_DYNAMIC_DO_RELA): Likewise.
13910 (ELF_DYNAMIC_RELOCATE): Likewise.
13911 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
13912 to ELF_DYNAMIC_DO_REL.
13913 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
13914 (dl_main): In trace mode always set __RTLD_NOIFUNC.
13915 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
13916 elf_machine_rela.
13917 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
13918 skip_ifunc, don't call ifunc function if non-zero.
13919 (elf_machine_rela): Likewise.
13920 (elf_machine_lazy_rel): Likewise.
13921 (elf_machine_lazy_rela): Likewise.
13922 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13923 (elf_machine_lazy_rel): Likewise.
13924 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13925 Likewise.
13926 (elf_machine_lazy_rel): Likewise.
13927 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13928 Likewise.
13929 (elf_machine_lazy_rel): Likewise.
13930 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
13931 (elf_machine_lazy_rel): Likewise.
13932 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
13933 (elf_machine_lazy_rel): Likewise.
13934 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13935 (elf_machine_lazy_rel): Likewise.
13936 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
13937 (elf_machine_lazy_rel): Likewise.
13938 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
13939 (elf_machine_lazy_rel): Likewise.
13940 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13941 (elf_machine_lazy_rel): Likewise.
13942
68577918
UD
139432011-09-28 Ulrich Drepper <drepper@gmail.com>
13944
13945 * nss/nss_files/files-init.c (_nss_files_init): Use static
13946 initialization for all the *_traced_file variables.
13947
68822d74
AS
139482011-09-28 Andreas Schwab <schwab@redhat.com>
13949
13950 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13951
2056100b
RM
139522011-09-27 Roland McGrath <roland@hack.frob.com>
13953
13954 [BZ #13226]
13955 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
13956
32c76b63
AS
139572011-09-27 Andreas Schwab <schwab@redhat.com>
13958
13959 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13960 Reread the line before reparsing it.
13961
bf972c9d
AS
139622011-09-26 Andreas Schwab <schwab@redhat.com>
13963
13964 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
13965
e057a1b5
JM
139662011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
13967 Maxim Kuvyrkov <maxim@codesourcery.com>
13968 Joseph Myers <joseph@codesourcery.com>
13969
13970 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
13971 if needed for __stack_chk_guard.
13972
bc7e1c36
RM
139732011-09-19 Roland McGrath <roland@hack.frob.com>
13974
ecb1482f
RM
13975 * sysdeps/posix/spawni.c (script_execute): Always define it.
13976 It will be optimized away if unused.
13977 (maybe_script_execute): New function.
13978 (__spawni): Call it.
13979
bc7e1c36
RM
13980 * Makerules: Don't include tls.make.
13981 (config-tls): Always set to thread.
13982 * tls.make.c: File removed.
13983
1c3b002b
MF
139842011-09-19 Mike Frysinger <vapier@gentoo.org>
13985
13986 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
13987 * config.make.in (CPPFLAGS-config): New substituted variable.
13988
2840865d
UD
139892011-09-15 Ulrich Drepper <drepper@gmail.com>
13990
88738eb6
UD
13991 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
13992
cbf645a6 13993 [BZ #13192]
2840865d
UD
13994 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
13995 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
13996
b402e91a
RM
139972011-09-15 Roland McGrath <roland@hack.frob.com>
13998
13999 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
14000 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
14001 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14002 (CALL_FAIL): Likewise.
14003 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
14004 (CALL_FAIL): Macro removed.
14005 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
14006
4c1a1f71
UD
140072011-09-15 Ulrich Drepper <drepper@gmail.com>
14008
14009 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
14010 for __FINITE_MATH_ONLY__ == 1.
14011
edc121be
AS
140122011-09-15 Andreas Schwab <schwab@redhat.com>
14013
14014 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
14015 __ieee754_sqrt instead of sqrt.
14016 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
14017 __ieee754_sqrtf instead of sqrtf.
14018 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
14019 __floorf instead of floorf.
14020 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
14021 __floorf, __truncf instead of floorf, truncf.
14022
cd205654
UD
140232011-09-14 Ulrich Drepper <drepper@gmail.com>
14024
ee4d0315
UD
14025 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
14026
cd205654
UD
14027 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
14028 __extern_always_inline.
14029 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
14030 32-bit.
14031
48b67d71
AS
140322011-09-14 Andreas Schwab <schwab@redhat.com>
14033
14034 * elf/rtld.c (dl_main): Also relocate in dependency order when
14035 doing symbol dependency testing.
14036
1ae12c75
AS
140372011-09-13 Andreas Schwab <schwab@linux-m68k.org>
14038
14039 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14040 Always define `refsym'.
14041
995a80df
AS
140422011-09-13 Andreas Schwab <schwab@redhat.com>
14043
e529793b
AS
14044 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
14045 (__FD_ELT): Renamed from __FDELT.
14046 * misc/bits/select2.h (__FD_ELT): Likewise.
14047 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
14048 __FD_MASK instead of __FDELT, __FDMASK.
14049 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14050 Likewise.
14051 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14052 Likewise.
14053
52d4fef8
AS
14054 * elf/Makefile (gen-ldd): Fix pattern.
14055
995a80df
AS
14056 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
14057 (init_tls): Likewise.
14058
8682f8b0
UD
140592011-09-12 Ulrich Drepper <drepper@gmail.com>
14060
14061 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
14062
de82006d
AS
140632011-09-12 Andreas Schwab <schwab@redhat.com>
14064
a7c8e6a1
AS
14065 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
14066 `struct cmsghdr *' instead of `void *'.
14067 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
14068 Likewise.
14069
0f31fe77
AS
140702011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14071
14072 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
14073 if non-absolute.
14074 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
14075 ldd_rewrite_script.
0f31fe77 14076
32b4c839
UD
140772011-09-11 Ulrich Drepper <drepper@gmail.com>
14078
83cd1420
UD
14079 * configure.in: Remove --with-tls option.
14080 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
14081 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
14082 out in case it is missing.
14083 * sysdeps/ia64/elf/configure.in: Likewise.
14084 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
14085 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
14086 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
14087 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
14088 * sysdeps/sh/elf/configure.in: Likewise.
14089 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
14090 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14091 * sysdeps/x86_64/elf/configure.in: Likewise.
14092 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
14093 * sysdeps/mach/hurd/tls.h: Likewise.
14094
633f745d
UD
14095 [BZ #13067]
14096 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
14097
f318beb8
UD
14098 [BZ #13090]
14099 * configure.in: Fix use of AC_INIT.
14100
32b4c839
UD
14101 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
14102
3ce1f295
UD
141032011-09-10 Ulrich Drepper <drepper@gmail.com>
14104
bb016596
UD
14105 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
14106 __set_errno.
8e58439c
UD
14107 * malloc/hooks.c: Likewise.
14108
aebae053 14109 [BZ #11929]
02d46fc4
UD
14110 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
14111 variables statically.
14112 (narenas): Initialize.
14113 (list_lock): Initialize.
bb016596
UD
14114 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
14115 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
14116 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
14117 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
14118 Add initializers to main_arena and mp_.
14119 (malloc_state): Remove pagesize member. Change all users to use
14120 GLRO(dl_pagesize).
14121
14122 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
14123 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
14124 is always initialized.
14125
22a89187
UD
14126 * malloc/malloc.c: Removed unused configurations and dead code.
14127 * malloc/arena.c: Likewise.
14128 * malloc/hooks.c: Likewise.
02d46fc4 14129 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 14130
d063d164
UD
14131 * include/tls.h: Removed. USE___THREAD must always be defined.
14132 * bits/libc-tsd.h: Don't handle !USE___THREAD.
14133 * elf/dl-libc.c: Likewise.
14134 * elf/dl-tsd.c: Likewise.
14135 * include/errno.h: Likewise.
14136 * include/netdb.h: Likewise.
14137 * include/resolv.h: Likewise.
14138 * inet/herrno-loc.c: Likewise.
14139 * inet/herrno.c: Likewise.
14140 * malloc/arena.c: Likewise.
14141 * malloc/hooks.c: Likewise.
14142 * malloc/malloc.c: Likewise.
14143 * resolv/res-state.c: Likewise.
14144 * resolv/res_libc.c: Likewise.
14145 * sysdeps/i386/dl-machine.h: Likewise.
14146 * sysdeps/ia64/dl-machine.h: Likewise.
14147 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14148 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14149 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14150 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14151 * sysdeps/sh/dl-machine.h: Likewise.
14152 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14153 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14154 * sysdeps/unix/i386/sysdep.S: Likewise.
14155 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14156 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
14157 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
14158 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14159 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
14160 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14161 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14162 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14163 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14164 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14165 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14166 * sysdeps/x86_64/dl-machine.h: Likewise.
14167 * tls.make.c: Likewise.
14168
3ce1f295
UD
14169 * configure.in: Remove --with-__thread option. Make tests for
14170 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
14171 tls_model attribute fail if no support is available. Remove
14172 USE_IN_LIBIO.
14173 * Makeconfig: Adjust for dropped configure option. All features are
14174 now mandatory.
14175 * Makerules: Likewise.
14176 * Versions.def: Likewise.
14177 * argp/argp-fmtstream.c: Likewise.
14178 * argp/argp-fmtstream.h: Likewise.
14179 * argp/argp-help.c: Likewise.
14180 * assert/assert.c: Likewise.
14181 * config.h.in: Likewise.
14182 * config.make.in: Likewise.
14183 * configure: Likewise.
14184 * configure.in: Likewise.
14185 * csu/Versions: Likewise.
14186 * csu/init.c: Likewise.
14187 * elf/tst-audit2.c: Likewise.
14188 * elf/tst-tls10.c: Likewise.
14189 * elf/tst-tls10.h: Likewise.
14190 * elf/tst-tls11.c: Likewise.
14191 * elf/tst-tls12.c: Likewise.
14192 * elf/tst-tls14.c: Likewise.
14193 * elf/tst-tlsmod11.c: Likewise.
14194 * elf/tst-tlsmod12.c: Likewise.
14195 * elf/tst-tlsmod13.c: Likewise.
14196 * elf/tst-tlsmod13a.c: Likewise.
14197 * elf/tst-tlsmod14a.c: Likewise.
14198 * elf/tst-tlsmod15b.c: Likewise.
14199 * elf/tst-tlsmod16a.c: Likewise.
14200 * elf/tst-tlsmod16b.c: Likewise.
14201 * elf/tst-tlsmod7.c: Likewise.
14202 * elf/tst-tlsmod8.c: Likewise.
14203 * elf/tst-tlsmod9.c: Likewise.
14204 * gmon/gmon.c: Likewise.
14205 * grp/fgetgrent_r.c: Likewise.
14206 * grp/putgrent.c: Likewise.
14207 * hurd/fopenport.c: Likewise.
14208 * include/libc-symbols.h: Likewise.
14209 * include/tls.h: Likewise.
14210 * intl/gettextP.h: Likewise.
14211 * intl/loadinfo.h: Likewise.
14212 * locale/global-locale.c: Likewise.
14213 * locale/localeinfo.h: Likewise.
14214 * mach/devstream.c: Likewise.
14215 * malloc/arena.c: Likewise.
14216 * malloc/set-freeres.c: Likewise.
14217 * misc/err.c: Likewise.
14218 * misc/getttyent.c: Likewise.
14219 * misc/mntent_r.c: Likewise.
14220 * posix/getopt.c: Likewise.
14221 * posix/wordexp.c: Likewise.
14222 * pwd/fgetpwent_r.c: Likewise.
14223 * resolv/Versions: Likewise.
14224 * resolv/res_hconf.c: Likewise.
14225 * shadow/fgetspent_r.c: Likewise.
14226 * shadow/putspent.c: Likewise.
14227 * stdio-common/printf_fphex.c: Likewise.
14228 * stdio-common/tmpfile.c: Likewise.
14229 * stdlib/abort.c: Likewise.
14230 * stdlib/fmtmsg.c: Likewise.
14231 * sunrpc/auth_unix.c: Likewise.
14232 * sunrpc/clnt_perr.c: Likewise.
14233 * sunrpc/clnt_tcp.c: Likewise.
14234 * sunrpc/clnt_udp.c: Likewise.
14235 * sunrpc/clnt_unix.c: Likewise.
14236 * sunrpc/openchild.c: Likewise.
14237 * sunrpc/svc_simple.c: Likewise.
14238 * sunrpc/svc_tcp.c: Likewise.
14239 * sunrpc/svc_udp.c: Likewise.
14240 * sunrpc/svc_unix.c: Likewise.
14241 * sunrpc/xdr.c: Likewise.
14242 * sunrpc/xdr_array.c: Likewise.
14243 * sunrpc/xdr_rec.c: Likewise.
14244 * sunrpc/xdr_ref.c: Likewise.
14245 * sunrpc/xdr_stdio.c: Likewise.
14246
1248c1c4
PB
142472011-09-09 Ulrich Drepper <drepper@gmail.com>
14248
14249 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14250
142512011-07-03 Andreas Jaeger <aj@suse.de>
14252
14253 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
14254 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
14255 regenerate with gen-libm-tests.pl.
14256
142572010-05-12 Petr Baudis <pasky@suse.cz>
14258
14259 [BZ #11589]
14260 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
14261 around j0() zero points by switching to j1().
14262 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14263 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14264 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14265 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14266
f22e1074
UD
142672011-09-09 Ulrich Drepper <drepper@gmail.com>
14268
f19009c1
UD
14269 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
14270 instead of 0.
14271 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
14272 instead of 0. .
14273 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14274 Patch in part by Pavel Roskin <proski@gnu.org>.
14275
3f8cc204
UD
14276 [BZ #13138]
14277 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
14278 realloc.
14279 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
14280 Free memory block if necessary.
14281
f22e1074
UD
14282 [BZ #12847]
14283 * libio/genops.c (INTDEF): For string streams the _lock pointer can
14284 be NULL. Don't lock in this case.
14285
0a2349f9
RM
142862011-09-09 Roland McGrath <roland@hack.frob.com>
14287
14288 * elf/elf.h (ELFOSABI_GNU): New macro.
14289 (ELFOSABI_LINUX): Define to that.
14290
f3cdd467
DZ
142912011-07-29 Denis Zaitceff <zaitceff@gmail.com>
14292
14293 * string/strncat.c (strncat): Undef the symbol in case it has been
14294 defined in bits/string.h.
14295
74718d13
UD
142962011-09-09 Ulrich Drepper <drepper@gmail.com>
14297
633e9e0f
UD
14298 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
14299
0a2349f9 14300 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
14301 link map.
14302
f9924780
AJ
143032011-08-17 Andreas Jaeger <aj@suse.de>
14304
14305 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
14306
7f5517aa
PP
143072011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14308 Ian Lance Taylor <iant@google.com>
14309
14310 * math/libm-test.inc (lround_test): New testcase.
14311 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
14312
762011fe
UD
143132011-09-08 Ulrich Drepper <drepper@gmail.com>
14314
92963737
UD
14315 * Makefile: Remove support for automatic cvs check-ins.
14316 * Makerules: Likewise.
14317 * config.make.in: Likewise.
14318 * configure.in: Likewise.
14319 * intl/Makefile: Likewise.
14320 * locale/Makefile: Likewise.
14321 * po/Makefile: Likewise.
14322 * posix/Makefile: Likewise.
14323 * sysdeps/gnu/Makefile: Likewise.
14324 * sysdeps/mach/hurd/Makefile: Likewise.
14325 * sysdeps/sparc/sparc32/Makefile: Likewise.
14326
b0727fd8
JS
14327 [BZ #13118]
14328 * posix/Makefile (bug-regex32-ENV): Define.
14329 Patch by John Stanley <jpsinthemix@verizon.net>.
14330
a0f33f99
UD
14331 * misc/Makefile (headers): Add bits/select2.h.
14332 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
14333 * misc/bits/select2.h: New file.
14334 * include/bits/select2.h: New file.
14335 * debug/Makefile (routines): Add fdelt_chk.
14336 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
14337 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
14338 FD_ISSET.
14339 * debug/fdelt_chk.c: New file.
14340
762011fe
UD
14341 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
14342 * wcsmbs/test-wmemcmp.c: Likewise.
14343 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 14344 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
14345
143462011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14347
14348 * string/Makefile (strop-tests): Add memcmp.
14349 * string/test-wmemcmp.c: New file.
14350 * string/test-memcmp.c: Add wmemcmp support.
14351
7f513ec8
RM
143522011-09-08 Roland McGrath <roland@hack.frob.com>
14353
0442afb4
RM
14354 [BZ #13153]
14355 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
14356 2011-07-19 change.
14357
7f513ec8
RM
14358 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14359 garbage value in a __mach_port_mod_refs call in the cases of the
14360 task-self and thread-self ports.
14361
a12b2239
ST
143622011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14363
14364 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14365
610f9ab4
AS
143662011-09-08 Andreas Schwab <schwab@redhat.com>
14367
7f513ec8 14368 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 14369
48882a1a
LD
143702011-09-07 Ulrich Drepper <drepper@gmail.com>
14371
b49865be
UD
14372 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14373
fdc86bc9
UD
14374 * elf/dl-libc.c (dlerror_run): Pass back error code from
14375 dl_catch_error.
14376
c966526a
UD
14377 [BZ #13123]
14378 * elf/dl-load.c (lose): Free l_origin if it is valid.
14379
48882a1a
LD
14380 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14381 names.
14382 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14383 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14384 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14385 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14386 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14387 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14388
77a2a8b4
AZ
143892011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14390
14391 * sysdeps/powerpc/fpu/e_hypot.c: New file.
14392 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14393 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14394 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14395 * sysdeps/powerpc/fpu/k_cosf.c: New file.
14396 * sysdeps/powerpc/fpu/k_sinf.c: New file.
14397 * sysdeps/powerpc/fpu/s_cosf.c: New file.
14398 * sysdeps/powerpc/fpu/s_sinf.c: New file.
14399 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14400 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14401
24f579d8
AM
144022011-08-15 Alan Modra <amodra@gmail.com>
14403
14404 [BZ #13092]
14405 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14406 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14407 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
14408 ppc_mcount to static-only-routines.
14409 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14410 __mcount_internal.
14411 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14412 __mcount_internal with usual JUMPTARGET. Remove useless nop.
14413
3d4837df
UD
144142011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
14415
14416 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14417 for finite and infinity parameters.
14418
22700377
WS
144192011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14420
14421 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14422 and add nop instructions for throughput optimization.
14423 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14424
5025581e
WS
144252011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
14426
14427 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14428 aligned copy for power7 with vector-scalar instructions.
14429 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14430
08a300c9
L
144312011-07-24 H.J. Lu <hongjiu.lu@intel.com>
14432
14433 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14434 AVX check.
14435
59178ef9
AS
144362011-09-07 Andreas Schwab <schwab@redhat.com>
14437
14438 [BZ #13144]
14439 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14440 last change.
14441
e38ba7ab
UD
144422011-09-07 Ulrich Drepper <drepper@gmail.com>
14443
14444 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14445 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14446 syscall wrapper around clock_gettime in __vdso_clock_gettime.
14447 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14448 clock_gettime.
14449
d53a73ac
UD
144502011-09-06 Ulrich Drepper <drepper@gmail.com>
14451
fc8bffcc
UD
14452 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
14453 Forgot to demangle the pointer.
14454
ceaa0c5d
UD
14455 * sysdeps/i386/sysdep.h: Define atom_text_section.
14456 * sysdeps/x86_64/sysdep.h: Likewise.
14457 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
14458 section with atom_text_section.
14459 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14460 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14461 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14462 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14463 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
14464
a77d3c17
UD
14465 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
14466 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
14467 already be defined. Change to take two parameters and don't assign
14468 result to variable. Adjust all users.
14469 Define INTERNAL_GETTIME if not already defined.
14470 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
14471 call.
14472 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
14473 HAVE_CLOCK_GETTIME_VSYSCALL.
14474 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
14475
d53a73ac
UD
14476 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
14477 gettimeofday vsyscall, just use time.
14478
a8f84144
AS
144792011-09-06 Andreas Schwab <schwab@redhat.com>
14480
14481 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
14482 <errno.h>.
14483
ef606249
UD
144842011-09-06 Ulrich Drepper <drepper@gmail.com>
14485
14486 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
14487 syscall on x86-64.
14488 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
14489 syscall.
14490 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14491 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
14492 syscall if possible.
14493
6585cb60
UD
144942011-09-05 Ulrich Drepper <drepper@gmail.com>
14495
14496 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
14497 e_ident. Don't pass to find_mapsXX.
14498 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
14499
a5f524e4
LD
145002011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14501
14502 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14503 strchr-sse2-no-bsf strrchr-sse2-no-bsf
14504 * sysdeps/x86_64/multiarch/strchr.S: Update.
14505 Check bit_slow_BSF bit.
14506 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14507 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
14508 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
14509
554881ef
UD
145102011-09-05 Ulrich Drepper <drepper@gmail.com>
14511
d96de963
UD
14512 [BZ #13134]
14513 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
14514 before glibc 2.15.
14515 (tryshell): Define.
14516 (__spawni): Change last parameter to be flag. Test
14517 SPAWN_XFLAGS_USE_PATH flag to use path or not.
14518 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
14519 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
14520 * posix/spawni.c: Likewise.
14521 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
14522 * posix/spawnp.c: Likewise. Change normal version to use
14523 SPAWN_XFLAGS_USE_PATH.
14524 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
14525 SPAWN_XFLAGS_TRY_SHELL.
14526
d48e5868
UD
14527 [BZ #13150]
14528 * posix/glob.h: Remove gcc 1.x support.
14529
554881ef
UD
14530 [BZ #13068]
14531 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
14532
693fb948
LD
145332011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14534
14535 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14536 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
14537 strrchr-sse2-bsf
14538 * sysdeps/i386/i686/multiarch/strchr.S: New file.
14539 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
14540 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
14541 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
14542 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
14543 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
14544
1b48c537
UD
145452011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14546
49d42c37
UD
14547 * sysdeps/x86_64/wcscmp.S: New file.
14548
1b48c537
UD
14549 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
14550 wcscmp-c wcscmp-sse2
14551 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
14552 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
14553 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
14554 * wcsmbs/wcscmp.c: Allow renaming.
14555
15c95c5d
DM
145562011-09-05 David S. Miller <davem@davemloft.net>
14557
14558 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
14559 stack slot, rather than the struct return pointer slot.
14560 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
14561 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
14562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
14563 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
14564
2f0ad8f3
UD
145652011-09-05 Ulrich Drepper <drepper@gmail.com>
14566
d88ae418
UD
14567 * po/ja.po: Update from translation team.
14568
2f0ad8f3
UD
14569 [BZ #13144]
14570 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
14571 kernel in 64-bit binaries.
14572
5f4318d1
DM
145732011-09-01 David S. Miller <davem@davemloft.net>
14574
14575 * elf/elf.h (HWCAP_SPARC_*): Move to..
14576 * sysdeps/sparc/sysdep.h: this new file and add new values.
14577 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
14578 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
14579 _DL_HWCAP_COUNT to 24.
14580 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14581 entries.
14582 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
14583 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
14584 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
14585 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
14586 instead of magic constants.
14587 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14588
3ba57516
DM
145892011-08-31 David S. Miller <davem@davemloft.net>
14590
14591 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
14592 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
14593 Reimplement to do errno handling inline.
14594 (SYSCALL_ERROR_HANDLER): New macro.
14595 (__SYSCALL_STRING): Do not do errno handling in asm.
14596 (__CLONE_SYSCALL_STRING): Delete.
14597 (__INTERNAL_SYSCALL_STRING): Delete.
14598 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
14599 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
14600 (PSEUDO): Reimplement to do errno handling inline.
14601 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
14602 (SYSCALL_ERROR_HANDLER): New macro.
14603 (__SYSCALL_STRING): Do not do errno handling in asm.
14604 (__CLONE_SYSCALL_STRING): Delete.
14605 (__INTERNAL_SYSCALL_STRING): Delete.
14606 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
14607 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
14608 i386.
14609 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
14610 (inline_syscall*): Add 'err' argument.
14611 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
14612 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
14613 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
14614 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
14615
14616 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
14617 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14618
2bc17433
AS
146192011-08-30 Andreas Schwab <schwab@redhat.com>
14620
14621 * elf/rtld.c (dl_main): Relocate objects in dependency order.
14622
fbeb5f4d
JO
146232011-08-29 Jiri Olsa <jolsa@redhat.com>
14624
14625 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
14626 directive.
14627
ad69cc26
DM
146282011-08-24 David S. Miller <davem@davemloft.net>
14629
14630 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
14631
39dd69df
AS
146322011-08-24 Andreas Schwab <schwab@redhat.com>
14633
14634 * elf/Makefile: Add rules to build and run unload8 test.
14635 * elf/unload8.c: New file.
14636 * elf/unload8mod1.c: New file.
14637 * elf/unload8mod1x.c: New file.
14638 * elf/unload8mod2.c: New file.
14639 * elf/unload8mod3.c: New file.
14640
14641 * elf/dl-close.c (_dl_close_worker): Reset private search list if
14642 it wasn't used.
14643
2c0b250a
DM
146442011-08-23 David S. Miller <davem@davemloft.net>
14645
14646 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
14647 subtract stack bias.
14648 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
14649 %sp not %fp in calculations.
14650 (_JMPBUF_UNWINDS_ADJ): Likewise.
14651
22044b48
DM
14652 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
14653 (aio_suspend): Call it to force an exception region around the
14654 AIO_MISC_WAIT() invocation.
14655
2cae4995
AS
146562011-08-23 Andreas Schwab <schwab@redhat.com>
14657
14658 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
14659 backslash.
14660
873a772e
AJ
146612011-07-04 Aurelien Jarno <aurelien@aurel32.net>
14662
14663 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
14664 protection macro.
14665 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
14666 and <dl-machine.h>.
14667 (Elf64_FuncDesc): Remove.
14668
25ad0df1
DM
146692011-08-22 David S. Miller <davem@davemloft.net>
14670
14671 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
14672 sigaltstack check, add missing cfi directives.
14673 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
14674 missing cfi directives, and sigaltstack handling.
14675
e888bcbe
AS
146762011-08-16 Andreas Schwab <schwab@redhat.com>
14677
14678 [BZ #11724]
14679 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
14680 object is seen twice.
14681 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14682
14683 * elf/Makefile (distribute): Add tst-initorder2.c.
14684 (tests): Add tst-initorder2.
14685 (modules-names): Add tst-initorder2a tst-initorder2b
14686 tst-initorder2c tst-initorder2d. Add rules to build them.
14687 ($(objpfx)tst-initorder2.out): New rule.
14688 * elf/tst-initorder2.c: New file.
14689 * elf/tst-initorder2.exp: New file.
14690
87162f46
AS
146912011-08-22 Andreas Schwab <schwab@redhat.com>
14692
70538b7f
AS
14693 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
14694
f55ffe58
AS
14695 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
14696 dependencies back to end of function.
14697
87162f46
AS
14698 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14699 $(elfobjdir)/ld.so.
14700
91b392a4
UD
147012011-08-21 Ulrich Drepper <drepper@gmail.com>
14702
14703 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
14704 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
14705 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
14706 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
14707 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
14708 of __vdso_gettimeofday.
14709 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
14710 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
14711 attribute_hidden.
14712 (_libc_vdso_platform_setup): Remove initialization of
14713 __vdso_gettimeofday and __vdso_time.
14714
5c43483f
UD
147152011-08-20 Ulrich Drepper <drepper@gmail.com>
14716
775a77e7
UD
14717 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
14718 and fgetc_unlocked.
14719 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
14720 getc_unlocked.
89f447ed 14721
49c74ba9
UD
14722 * elf/dl-open.c (add_to_global): Report additions to the global scope
14723 for LD_DEBUG=scopes.
14724 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 14725 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 14726
5c43483f
UD
14727 [BZ #13114]
14728 * stdio-common/Makefile (tests): Add bug24.
14729 * stdio-common/bug24.c: New file.
14730
a101b025
AJ
147312011-08-19 Andreas Jaeger <aj@suse.de>
14732
14733 [BZ #13114]
14734 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
14735 non-existant file when using close-on-exec mode.
14736
c88f1766
UD
147372011-08-20 Ulrich Drepper <drepper@gmail.com>
14738
0276a718
UD
14739 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
14740 the very first instruction.
14741
c88f1766
UD
14742 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
14743 the CFI state in the end.
14744 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
14745 inclusion of dl-trampoline.h.
14746 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
14747
51ccffa0
AS
147482011-08-19 Andreas Schwab <schwab@redhat.com>
14749
94d7165f
AS
14750 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
14751 expectations for long double.
14752
51ccffa0
AS
14753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
14754 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
14755
fd708658 147562011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
14757
14758 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
14759 artificual limit depends upon the system page size.
14760
44f0a71e
UD
147612011-08-17 Ulrich Drepper <drepper@gmail.com>
14762
14763 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
14764 * resolv/Makefile: Define CFLAGS-libresolv.
14765
8de79a24
AS
147662011-08-17 Andreas Schwab <schwab@redhat.com>
14767
14768 * nss/makedb.c (compute_tables): Make variables used in nested
14769 function static.
14770
27724598
UD
147712011-08-17 Ulrich Drepper <drepper@gmail.com>
14772
c5305d88
UD
14773 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
14774 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
14775 if buffer was too small.
14776
27724598
UD
14777 * elf/pldd.c (main): Attach to all threads in the process.
14778 Rewrite /proc handling to use *at functions.
14779
076fe015
UD
147802011-08-16 Ulrich Drepper <drepper@gmail.com>
14781
174baab3
UD
14782 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
14783 specifies first scope to show.
14784 (dl_open_worker): Update callers. Move printing scope of new
14785 object to before the relocation.
44f0a71e 14786 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
14787 * sysdeps/generic/ldsodefs.h: Update declaration.
14788
076fe015
UD
14789 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
14790 string for the scope number.
14791
a60df2c3
UD
147922011-08-14 Ulrich Drepper <drepper@gmail.com>
14793
14794 * nscd/servicescache.c (cache_addserv): Make sure written is always
14795 initialized.
14796
5e4287d1
RM
147972011-08-14 Roland McGrath <roland@hack.frob.com>
14798
85ae0589
RM
14799 * sysdeps/i386/i486/bits/atomic.h
14800 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
14801 statement expression, so as to suppress "set but not used" warning.
14802 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
14803
69f63097
RM
14804 * string/strncat.c (STRNCAT): Use prototype definition.
14805
675456ef
RM
14806 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
14807 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
14808 -Iprograms here.
14809 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
14810 (localedef-modules): Add localedef.
14811 (locale-modules): Add locale.
14812
5e4287d1
RM
14813 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
14814 * elf/rtld.c (dl_main): Invert order of assignment in last change,
14815 to avoid a warning.
14816
9c96ff23
DM
148172011-08-14 David S. Miller <davem@davemloft.net>
14818
14819 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
14820 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
14821
f9ddf089
UD
148222011-08-13 Ulrich Drepper <drepper@gmail.com>
14823
44f0a71e 14824 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
14825 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
14826 * elf/rtld.c (dl_main): Set l_name of vDSO.
14827 Call _dl_show_scope when DL_DEBUG_SCOPES.
14828 (process_dl_debug): Recognize scopes flag and also set it for all.
14829 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
14830 Declare _dl_show_scope.
14831
1dc27704
UD
14832 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
14833 (do_dlopen): Pass caller_dlopen to dl_open.
14834 (__libc_dlopen_mode): Initialize caller_dlopen.
14835
f9ddf089
UD
14836 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
14837 of libc. Make tolower call locale-independent. Optimize a bit by
14838 using isdigit instead of isalnum.
14839 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
14840
9ac533d3
UD
148412011-08-12 Ulrich Drepper <drepper@gmail.com>
14842
14843 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
14844 was a dependency or dynamically loaded.
14845
89edf2e9
UD
148462011-08-11 Ulrich Drepper <drepper@gmail.com>
14847
8e999d29
UD
14848 * intl/l10nflist.c: Allow architecture-specific pop function.
14849 * sysdeps/x86_64/l10nflist.c: New file.
14850
89edf2e9
UD
14851 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
14852 classification.
14853
14d96785
AS
148542011-08-10 Andreas Schwab <schwab@redhat.com>
14855
14856 * include/dirent.h: Add libc_hidden_proto for scandirat and
14857 scandirat64. Don't declare __scandirat64.
14858 * dirent/scandirat.c: Add libc_hidden_def.
14859 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
14860 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
14861
6761ac04
DM
148622011-08-10 David S. Miller <davem@davemloft.net>
14863
14864 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
14865 enum.
14866 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14867 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14868 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14869
c55fbd1e
UD
148702011-08-09 Ulrich Drepper <drepper@gmail.com>
14871
14872 * Versions.def [libc]: Add GLIBC_2.15.
14873 * dirent/Makefile (routines): Add scandirat and scandirat64.
14874 * dirent/Versions [libc]: Export scandirat and scandirat64 for
14875 GLIBC_2.15.
14876 * dirent/dirent.h: Declare scandirat and scandirat64.
14877 * dirent/scandirat.c: New file.
14878 * dirent/scandirat64.c: New file.
14879 * sysdeps/wordsize-64/scandirat.c: New file.
14880 * sysdeps/wordsize-64/scandirat64.c: New file.
14881 * dirent/opendir.c: Define opendirat.
14882 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
14883 using scandirat.
14884 * dirent/scandir64.c: Adjust for scandir.c change.
14885 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
14886 __scandirat64, and __scandir_cancel_handler.
14887 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
14888 additional parameter and use openat instead of open (outside of ld.so).
14889 Add new __opendir as wrapper around __opendirat.
14890 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
14891 here without requiring old scandirat implementation.
14892
879165f2
UD
148932011-08-08 Ulrich Drepper <drepper@gmail.com>
14894
14895 * dirent/scandir.c (cancel_handler): Renamed to
14896 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
14897 defined. Adjust users.
14898 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
14899 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14900
cb7e923b
UD
149012011-08-04 Ulrich Drepper <drepper@gmail.com>
14902
16292edd
UD
14903 * string/test-string.h (IMPL): Use __STRING to expand name and then
14904 stringify it.
14905
cb7e923b
UD
14906 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
14907 of cleanups.
14908
cff82933
LD
149092011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14910
14911 * string/Makefile: Update.
14912 (strop-tests): Append strncat.
14913 * string/test-wcscmp.c: New file.
14914 New comprehensive test for wcscmp.
14915 * string/test-strcmp.c: Update.
14916 (WIDE): New define.
14917
9be9bfcc
AS
149182011-07-22 Andreas Schwab <schwab@redhat.com>
14919
14920 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
14921 line.
14922
2e96f1c7
AS
149232011-07-26 Andreas Schwab <schwab@redhat.com>
14924
14925 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14926 encoding to ACE if AI_IDN.
14927
85188888
JJ
149282011-08-01 Jakub Jelinek <jakub@redhat.com>
14929
14930 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
14931 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
14932
5fa16e9b
LD
149332011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14934
14935 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
14936 Fix overflow bug in strncat.
14937 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
14938
14939 * string/test-strncat.c: Update.
14940 Add new tests for checking overflow bugs.
14941
149422011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14943
14944 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14945 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
14946 * sysdeps/i386/i686/multiarch/strcat.S: New file.
14947 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
14948 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
14949 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
14950 * sysdeps/i386/i686/multiarch/strncat.S: New file.
14951 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
14952 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
14953
14954 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
14955 (USE_AS_STRCAT): Define.
14956 Add strcat and strncat support.
14957 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14958
8c1a459f
AS
149592011-07-25 Andreas Schwab <schwab@redhat.com>
14960
14961 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
14962 __n bigger than INT_MAX+1.
14963 (__strncmp_g): Likewise.
14964
bba33c28
UD
149652011-07-23 Ulrich Drepper <drepper@gmail.com>
14966
798be72d
UD
14967 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
14968 * libio/stido.h: Likewise.
14969
8accd4dc
UD
14970 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
14971 (AF_NFC): Define.
14972 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
14973 (AF_NFC): Define.
14974
cbff0d96
UD
14975 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
14976 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14977 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14978 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14979 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14980
9191c04a
UD
14981 [BZ #13021]
14982 * scripts/test-installation.pl: Don't expect libnss_test1 to be
14983 installed.
14984
bba33c28
UD
14985 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
14986 typo.
14987 (_dl_x86_64_save_sse): Likewise.
14988
90f139dd
UD
149892011-07-22 Ulrich Drepper <drepper@gmail.com>
14990
1aae088a
UD
14991 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
14992 OSXSAVE.
14993 (_dl_x86_64_save_sse): Likewise.
14994
8e2045f5
UD
14995 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
14996
90f139dd
UD
14997 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
14998
1d002f25
AS
149992011-07-21 Andreas Schwab <schwab@redhat.com>
15000
15001 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
15002 change.
15003 (_dl_x86_64_save_sse): Use correct AVX check.
15004
21137f89
UD
150052011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15006
15007 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
15008 bug in strncpy/strncat.
15009 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
15010
a65c0b7a
UD
150112011-07-21 Ulrich Drepper <drepper@gmail.com>
15012
15013 * string/tester.c (test_strcat): Add tests for different alignments
15014 of source and destination.
15015 (test_strncat): Likewise.
15016
6986b98a
UD
150172011-07-20 Ulrich Drepper <drepper@gmail.com>
15018
90bb2039
UD
15019 [BZ #12852]
15020 * posix/glob.c (glob): Check passed in values before using them in
15021 expressions to avoid some overflows.
15022 (glob_in_dir): Likewise.
15023
5644ef54
UD
15024 [BZ #13007]
15025 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
15026 check for AVX enablement so that we don't crash with old kernels and
15027 new hardware.
15028 * elf/tst-audit4.c: Add same checks here.
15029 * elf/tst-audit6.c: Likewise.
15030
15031 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 15032
bfc9dc9b
AS
150332011-07-09 Andreas Schwab <schwab@linux-m68k.org>
15034
15035 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
15036
702e64bb
UD
150372011-07-20 Ulrich Drepper <drepper@gmail.com>
15038
15039 * po/cs.po: Update from translation team.
15040 * po/bg.po: Likewise.
15041
295e904f
MP
150422011-07-12 Marek Polacek <mpolacek@redhat.com>
15043
15044 * misc/sys/cdefs.h: Add support for const attribute.
15045 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
15046 to gnu_dev_{major,minor,makedev} functions.
15047
3ff94596
MP
150482011-07-20 Marek Polacek <mpolacek@redhat.com>
15049
15050 * intl/dcigettext.c (get_output_charset): Add missing bracket.
15051
28b59fca
AS
150522011-07-20 Andreas Schwab <schwab@redhat.com>
15053
15054 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
15055 strlen results.
15056
19df733e
AK
150572011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15058
15059 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15060 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
15061 register in order to avoid conflicts with the soft frame pointer
15062 being held in r11 when necessary.
15063 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15064 (INTERNAL_VSYSCALL_NCS): Likewise.
15065
c8835729
MP
150662011-07-14 Marek Polacek <mpolacek@redhat.com>
15067
15068 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
15069 * elf/dl-fini.c (_dl_fini): Adjust caller.
15070 * elf/dl-close.c (_dl_close_worker): Likewise.
15071 * sysdeps/generic/ldsodefs.h: Adjust declaration.
15072
b902330c
MP
150732011-07-15 Marek Polacek <mpolacek@redhat.com>
15074
8991e135
MP
15075 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
15076 "aux_cache->nlibs < 0".
15077
b902330c
MP
15078 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
15079 in the reload-count case.
15080
99710781
LD
150812011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15082
15083 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15084 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
15085 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
15086 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
15087 * sysdeps/x86_64/multiarch/strcat.S: New file.
15088 * sysdeps/x86_64/multiarch/strncat.S: New file.
15089 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
15090 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
15091 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
15092 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
15093 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
15094 (USE_AS_STRCAT): Define.
15095 Add strcat and strncat support.
15096 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15097 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15098 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
15099 * string/strncat.c: Update.
15100 (USE_AS_STRNCAT): Define.
15101 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15102 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
15103 and i7.
15104 * sysdeps/x86_64/multiarch/init-arch.h
15105 (bit_Prefer_PMINUB_for_stringop): New.
15106 (index_Prefer_PMINUB_for_stringop): Likewise.
15107 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
15108 bit_Prefer_PMINUB_for_stringop.
15109
7dc6bd90
UD
151102011-07-19 Ulrich Drepper <drepper@gmail.com>
15111
15112 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
15113 buffer64.
15114 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
15115 of casting of buffer.
15116 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
15117 buffer32 and buffer64.
15118 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
15119 writes instead of casting of buffer.
15120 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
15121 buffer32.
15122 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
15123 casting of buffer.
15124
e0e72284
AS
151252011-07-19 Andreas Schwab <schwab@redhat.com>
15126
15127 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
15128
feb1eb0b
UD
151292011-07-19 Ulrich Drepper <drepper@gmail.com>
15130
15131 * nscd/nscd.c (termination_handler): Don't do anything for a database
15132 if it has not yet been initialized.
15133
298711ff
UD
151342011-07-18 Ulrich Drepper <drepper@gmail.com>
15135
15136 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15137
151382011-07-15 Marek Polacek <mpolacek@redhat.com>
15139
15140 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15141
f9d68389
UD
151422011-07-18 Ulrich Drepper <drepper@gmail.com>
15143
15144 * po/nl.po: Update from translation team.
15145 * po/sv.po: Likewise.
15146
db290cf5
RM
151472011-07-16 Roland McGrath <roland@hack.frob.com>
15148
15149 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
15150 now disallowed by GCC.
5c550700 15151
fd5e21c7
RM
15152 * configure.in (use-default-link): Default to yes if a test -shared
15153 link meets our qualifications.
15154 * configure: Regenerated.
15155
5c550700
RM
15156 * config.make.in (output-format): New variable.
15157 * configure.in: Check for ld --print-output-format support.
15158 * configure: Regenerated.
15159 * Makerules ($(common-objpfx)format.lds)
15160 [$(output-format) != unknown]: Just use $(output-format),
15161 instead of the linker-script munging.
15162
9fa2c032
RM
151632011-07-14 Roland McGrath <roland@hack.frob.com>
15164
a6928d51
RM
15165 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
15166 of $(common-objpfx)shlib.lds.
15167 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
15168
661607b3
RM
15169 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
15170 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
15171
9fa2c032
RM
15172 * configure.in (-z relro check): Adjust test code to add a large
15173 writable data section after it.
15174 * configure: Regenerated.
15175
defe9061
RM
151762011-07-11 Roland McGrath <roland@hack.frob.com>
15177
15178 * configure.in (-z relro check): Fix test code to make the variable
15179 truly const.
15180 * configure: Regenerated.
15181
319b9ad4
UD
151822011-07-11 Ulrich Drepper <drepper@gmail.com>
15183
15184 * nscd/nscd.h (struct traced_file): Define.
15185 (struct database_dyn): Remove inotify_descr, reset_res, and filename
15186 elements. Add traced_files.
15187 (inotify_fd): Declare.
15188 (register_traced_file): Declare.
15189 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
15190 (inotify_fd): Export.
15191 (resolv_conf_descr): Remove.
15192 (nscd_init): Move inotify descriptor creation to main.
15193 Don't register files for notification here.
15194 (register_traced_file): New function.
15195 (invalidate_cache): Don't use reset_res to determine whether to call
15196 res_init, go through the list of registered files.
15197 (main_loop_poll): The inotify descriptors are now stored in the
15198 structures for the traced files.
15199 (main_loop_epoll): Likewise
15200 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
15201 to __nss_disable_nscd.
15202 * nscd/cache.c (prune_cache): There is no single inotify descriptor
15203 for a database anymore. Check the records for all the registered
15204 files instead.
15205 * nss/Makefile (libnss_files-routines): Add files-init.
15206 (libnss_db-routines): Add db-init.
15207 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
15208 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
15209 * nss/nss_db/db-init.c: New file.
15210 * nss/nss_files/files-init.c: New file.
15211 * nss/nsswitch.c (nss_load_library): New function. Broken out of
15212 __nss_lookup_function.
15213 (__nss_lookup_function): Call nss_load_library.
15214 (nss_load_all_libraries): New function.
15215 (__nss_disable_nscd): Take parameter with callback function for files
15216 to register. Set is_nscd. Load all the DSOs for the NSS modules
15217 used for the cached services.
15218 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
15219 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
15220 options for features to all the files in nscd.
15221
15222 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
15223
23bee3e8
RM
152242011-07-10 Roland McGrath <roland@hack.frob.com>
15225
15226 * csu/elf-init.c (__libc_csu_init): Comment typo.
15227
46a5b7f0
UD
152282011-07-09 Ulrich Drepper <drepper@gmail.com>
15229
15230 * po/pl.po: Update from translation team.
15231 * po/ja.po: Likewise.
15232 * po/ru.po: Likewise.
15233 * po/ko.po: Likewise.
15234 * po/fr.po: Likewise.
15235
d30cf5bb
RM
152362011-07-09 Roland McGrath <roland@hack.frob.com>
15237
113ddea4
RM
15238 * configure.in (.ctors/.dtors header and trailer check):
15239 Use an empirical test on a built program.
15240 * configure: Regenerated.
15241
574920b4
RM
15242 * configure.in (-z relro check): Use an empirical test on a built DSO.
15243 Detect, but do not require, on ia64.
15244 * configure: Regenerated.
15245
d30cf5bb
RM
15246 * configure.in (READELF): Find it with AC_CHECK_TOOL.
15247 Update tests that use readelf to use $READELF instead.
15248 * configure: Regenerated.
15249
8538fdb3
UD
152502011-07-08 Ulrich Drepper <drepper@gmail.com>
15251
15252 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
15253 if the result is not used.
15254
04d08991
AJ
152552011-07-05 Andreas Jaeger <aj@suse.de>
15256
15257 [BZ#9696]
15258 * stdlib/tst-strtod.c: Add testcase.
15259
de283087
AD
152602011-07-07 Ulrich Drepper <drepper@gmail.com>
15261
4e5f31c8 15262 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 15263 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
15264 The latter has a higher limit. Take additional parameter to pass to
15265 the new function.
15266 (__pathconf): Pass file to __statfs_link_max.
15267 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
15268 __statfs_link_max.
15269 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
15270 __statfs_link_max.
15271
de283087
AD
15272 [BZ #12868]
15273 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
15274 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15275 Handle Lustre.
15276 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
15277 (__statfs_filesize_max): Likewise.
15278 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
15279
c75fa153
AJ
152802011-07-05 Andreas Jaeger <aj@suse.de>
15281
15282 * resolv/res_comp.c (dn_skipname): Remove unused variable.
15283
1a544854
UD
152842011-07-06 Marek Polacek <mpolacek@redhat.com>
15285
15286 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
15287 `status' variable.
15288 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
15289 Likewise.
15290
6f0eec67
UD
152912011-07-04 H.J. Lu <hongjiu.lu@intel.com>
15292
15293 * Makefile (strop-tests): Add strncat.
15294 * string/test-strncat.c: New file.
15295
aae30307
UD
152962011-06-30 Marek Polacek <mpolacek@redhat.com>
15297
15298 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
15299
c0cfb5eb
UD
153002011-06-21 Andreas Jaeger <aj@suse.de>
15301
15302 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
15303 Copy rule from iconvdata/Makefile.
15304
01636b21
UD
153052011-07-06 Ulrich Drepper <drepper@gmail.com>
15306
15307 [BZ #12922]
15308 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
15309 but no long options are defined, just return 'W'.
15310
9895c8bc
UD
153112011-06-22 Marek Polacek <mpolacek@redhat.com>
15312
15313 [BZ #9696]
15314 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
15315
5d4cf042
UD
153162011-07-06 Ulrich Drepper <drepper@gmail.com>
15317
15318 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
15319 netgroups to read.
960e5535 15320 (innetgr): Likewise.
5d4cf042 15321
751eb97e
RM
153222011-07-05 Roland McGrath <roland@hack.frob.com>
15323
15324 * config.make.in (install_root): Default to $(DESTDIR).
15325
f15f1e45
UD
153262011-07-05 Ulrich Drepper <drepper@gmail.com>
15327
15328 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
15329
4e34ac6a
RM
153302011-07-02 Roland McGrath <roland@hack.frob.com>
15331
5e9b6af4
RM
15332 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
15333
84f9ea0f
RM
15334 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
15335 containing directory rather than embedding absolute directory names.
15336
ea5ee9f7
RM
15337 * scripts/check-local-headers.sh: Rewritten using awk.
15338 Match by word, not by line. Print error messages for matches.
15339 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
15340
1b74661a
RM
15341 * Makerules [shlib-lds-flags empty]:
15342 ($(common-objpfx)libc_pic.opts): New target.
15343 ($(common-objpfx)libc_pic.os.clean): New target.
15344 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
15345
15346 * config.make.in (OBJCOPY): New variable.
15347 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
15348 * configure: Regenerated.
15349
f781ef40
RM
15350 * config.make.in (use-default-link): New variable.
15351 * configure.in (use_default_link): Grok --with-default-link to set it.
15352 * configure: Regenerated.
15353 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
15354 (shlib-lds, shlib-lds-flags): Define to empty.
15355
2d4fa81e
RM
15356 * Makerules (shlib-lds): New variable.
15357 (shlib-lds-flags): New variable.
15358 (build-shlib, build-moduile, build-module-asneeded): Use it.
15359 ($(common-objpfx)libc.so): Use $(shlib-lds).
15360 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15361 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15362
31fffa6b
RM
15363 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15364 DT_FLAGS/DT_FLAGS_1 with zero flags.
15365
4e34ac6a
RM
15366 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15367 linker script munging.
15368
fcfc776b
UD
153692011-07-02 Ulrich Drepper <drepper@gmail.com>
15370
15371 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15372 as 128-bit value.
15373 * crypt/sha512.c (sha512_process_block): Perform total addition using
15374 128-bit if possible.
15375 (__sha512_finish_ctx): Likewise.
15376 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15377 as 64-bit value.
15378 * crypt/sha256.c (SWAP64): Define.
15379 (sha256_process_block): Perform total addition using 64-bit if
15380 possible.
15381 (__sha256_finish_ctx): Likewise.
15382
99231d9a
UD
153832011-07-01 Ulrich Drepper <drepper@gmail.com>
15384
15385 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
15386 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15387 * nscd/hstcache.c (cache_addhst): Likewise.
15388 * nscd/grpcache.c (cache_addgr): Likewise.
15389 * nscd/aicache.c (addhstaiX): Likewise
15390 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15391
445b4a53
TK
153922011-07-01 Thorsten Kukuk <kukuk@suse.de>
15393
15394 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15395 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15396 * nscd/hstcache.c (cache_addhst): Likewise.
15397 * nscd/grpcache.c (cache_addgr): Likewise.
15398 * nscd/aicache.c (addhstaiX): Likewise
15399
6d4d8e8e
AS
154002011-07-01 Andreas Schwab <schwab@redhat.com>
15401
15402 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15403 domain only when needed.
15404
89f654c5
AS
154052011-06-30 Andreas Schwab <schwab@redhat.com>
15406
15407 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15408 is always restored.
15409
cf3b23ff
UD
154102011-06-29 Ulrich Drepper <drepper@gmail.com>
15411
15412 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15413 are re-adding the entry.
15414 * nscd/servicescache.c (cache_addserv): Likewise.
15415
751626f9
AJ
154162011-06-30 Aurelien Jarno <aurelien@aurel32.net>
15417
15418 * sysdeps/generic/dl-irel.h: fix protection against multiple
15419 inclusions.
15420 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15421
9113ea1f
UD
154222011-06-28 Ulrich Drepper <drepper@gmail.com>
15423
5c0b8d90
UD
15424 [BZ #12935]
15425 * malloc/memusage.sh: Fix quoting in message.
15426 * debug/xtrace.sh: Likewise.
15427
9113ea1f
UD
15428 * configure.in: Remove support for --experimental-malloc option, make
15429 it the default.
15430 * config.make.in: Likewise.
15431 * malloc/Makefile: Likewise.
15432
a4172181
AS
154332011-06-27 Andreas Schwab <schwab@redhat.com>
15434
15435 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15436 two-byte characters.
15437
78a7eee7
RM
154382011-06-27 Roland McGrath <roland@hack.frob.com>
15439
62bede13
RM
15440 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15441 AC_CACHE_CHECK invocation.
15442 * configure: Regenerated.
15443
78a7eee7
RM
15444 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15445
5ce33a62
UD
154462011-06-27 Ulrich Drepper <drepper@gmail.com>
15447
034807a9
UD
15448 [BZ #12350]
15449 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
15450 bit from old_res_options.
15451
4902da17
UD
15452 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
15453
5ce33a62
UD
15454 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
15455 value type for setfct.
15456
c2344f56
L
154572011-06-23 H.J. Lu <hongjiu.lu@intel.com>
15458
15459 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15460 __gettimeofday instead of gettimeofday.
15461
68468076
UD
154622011-06-26 Ulrich Drepper <drepper@gmail.com>
15463
15464 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
15465
acb0d739
L
154662011-06-24 H.J. Lu <hongjiu.lu@intel.com>
15467
15468 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
15469
15470 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
15471 info.
15472
8912479f
L
154732011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15474
15475 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15476 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15477 strcpy-sse2-unaligned strncpy-sse2-unaligned
15478 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
15479 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
15480 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
15481 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
15482 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
15483 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
15484 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
15485 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
15486 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
15487 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
15488 (STRCPY): Support SSE2 and SSSE3 versions.
15489
d5495a11
UD
154902011-06-24 Ulrich Drepper <drepper@gmail.com>
15491
15492 [BZ #12874]
15493 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
15494 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
15495 kernels which artificially limit size of requests.
15496
0b1cbaae
L
154972011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15498
15499 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15500 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15501 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
15502 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
15503 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
15504 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
15505 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
15506 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
15507 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
15508 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
15509 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
15510 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
15511 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
15512 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
15513 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
15514 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15515 Enable unaligned load optimization for Intel Core i3, i5 and i7
15516 processors.
15517 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
15518 Define.
15519 (index_Fast_Unaligned_Load): Define.
15520 (HAS_FAST_UNALIGNED_LOAD): Define.
15521
07f494a0
MP
155222011-06-23 Marek Polacek <mpolacek@redhat.com>
15523
15524 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
15525
fa3fc0fe
UD
155262011-06-22 Ulrich Drepper <drepper@gmail.com>
15527
15528 [BZ #12907]
15529 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
15530 until it is clear that the information is realy needed.
15531 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
15532
e12df166
AS
155332011-06-22 Andreas Schwab <schwab@redhat.com>
15534
15535 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
15536
852eb34d
UD
155372011-06-22 Ulrich Drepper <drepper@gmail.com>
15538
84e2a551
UD
15539 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15540 /sys/devices/system/cpu/online if it is usable.
15541
852eb34d
UD
15542 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
15543 reading the information from the /proc filesystem to once a second.
15544
6e502e19
UD
155452011-06-21 Andreas Jaeger <aj@suse.de>
15546
15547 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
15548 NULL after inclusion of kernel headers.
15549
75d39ff2
UD
155502011-06-21 Ulrich Drepper <drepper@gmail.com>
15551
51f9aa6a
UD
15552 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
15553 calls to internal_setent.
15554
c0244a9d
UD
15555 [BZ #12885]
15556 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
15557 addresses using gethostbyname4_r ignore IPv4 addresses.
15558
c5e3c2ae
UD
15559 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
15560 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
15561
75d39ff2
UD
15562 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
15563
42675c6f
DM
155642011-06-20 David S. Miller <davem@davemloft.net>
15565
15566 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
15567 inclusions.
15568 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
15569
15570 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
15571 (elf_irel): Use it.
15572 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
15573 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
15574 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
15575 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
15576 * sysdeps/x86_64/dl-irel.h: Likewise.
15577
15578 * elf/dl-runtime.c: Use elf_ifunc_invoke.
15579 * elf/dl-sym.c: Likewise.
15580
57912a71
UD
155812011-06-15 Ulrich Drepper <drepper@gmail.com>
15582
15583 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
15584 need to dereference resplen2.
15585
ee22793d
AS
155862011-06-14 Andreas Schwab <schwab@redhat.com>
15587
15588 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
15589
a9e836b0
UD
155902011-06-15 Ulrich Drepper <drepper@gmail.com>
15591
77fb9117
UD
15592 * Makeconfig: Define vardbdir and inst_vardbdir.
15593 * nss/Makefile: Add rules to install db-Makefile.
15594
40c1b22c
UD
15595 * nss/nss_db/db-XXX.c: Cleanup.
15596
9f2da732
UD
15597 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
15598 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
15599 GLIBC_PRIVATE.
15600 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
15601 * nss/makedb.c: Implement -g option to specify that value strings
15602 are generated and should not be added to table iterated over for
15603 get*ent calls.
15604 * nss/nss_db/db-initgroups.c: New file.
15605
82e9a1f7
UD
15606 * nss/getent.c: Add support for initgroups lookups through getgrouplist
15607 interface.
15608
c41af17e
UD
15609 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
15610 (internal_getgrouplist): Adjust to name change.
15611 Update use_initgroups_entry if this is not the first call.
15612 * nss/databases.def: Add initgroups entry.
15613
a9e836b0
UD
15614 * nss/makedb.c (compute_tables): Check result of multiple hash table
15615 sizes to minimize maximum chain length.
15616
2666d441
UD
156172011-06-14 Ulrich Drepper <drepper@gmail.com>
15618
15619 * Versions.def: Add entry for libnss_db.
15620 * shlib-versions: Likewise.
15621 * nss/Makefile: Add rules to build libnss_db.
15622 * nss/Versions: Add libnss_db information. Organize libnss_files
15623 entries better.
15624 * nss/db-Makefile: Add gshadow support. Change rules for the new
15625 makedb progra. Some minor improvements to generate smaller files.
15626 * nss/nss_db/nss_db.h: Move NSS database header data structures to
15627 here from...
15628 * nss/makedb.c: ...here.
15629 Improve database format to be smaller and require less memory at
15630 runtime.
15631 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
15632 db anymore.
15633 * nss/nss_db/db-netgrp.c: Likewise.
15634 * nss/nss_db/db-open.c: Likewise.
15635 * nss/nss_files/flies-XXX.x: Adjust comments.
15636 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
15637 * nss/nss_files/files-grp.c: Likewise.
15638 * nss/nss_files/files-hosts.c: Likewise.
15639 * nss/nss_files/files-network.c: Likewise.
15640 * nss/nss_files/files-proto.c: Likewise.
15641 * nss/nss_files/files-pwd.c: Likewise.
15642 * nss/nss_files/files-rpc.c: Likewise.
15643 * nss/nss_files/files-service.c: Likewise.
15644 * nss/nss_files/files-sgrp.c: Likewise.
15645 * nss/nss_files/files-spwd.c: Likewise.
15646 * nss/nss_db/db-alias.c: Removed.
15647 * nss/nss_db/dummy-db.h: Removed.
15648
9ee76b5a
UD
156492011-06-02 Ulrich Drepper <drepper@gmail.com>
15650
15651 * nss/makedb.c: Rewritten to not use database library.
15652 * nss/Makefile: Update to build new makedb program.
15653
c71ca1f8
AJ
156542011-06-14 Andreas Jaeger <aj@suse.de>
15655
15656 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
15657 memset declaration.
15658
3154bfb8
UD
156592011-06-10 Andreas Schwab <schwab@redhat.com>
15660
15661 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
15662 tmpbuf.
15663
b350afab
RM
156642011-06-10 Roland McGrath <roland@hack.frob.com>
15665
decd4e50
RM
15666 * Makerules (shlib.lds): Fail if the linker script comes out empty.
15667 * elf/Makefile ($(objpfx)ld.so): Likewise.
15668
5615eaf2
RM
15669 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
15670 Don't list ld.so twice in dependencies.
15671
15672 * posix/bug-regex31.c: Include <stdlib.h>.
15673
15674 * nscd/hstcache.c (cache_addhst): Remove unused variable.
15675
15676 * nis/nss_compat/compat-spwd.c
15677 (getspent_next_nss_netgr): Remove unused variable.
15678 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
15679
15680 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
15681 nonmembers" output to use the right array.
15682
15683 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
15684
15685 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
15686
15687 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
15688 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
15689 * catgets/gencat.c (read_input_file): Likewise.
15690 * locale/programs/locarchive.c (enlarge_archive): Likewise.
15691
15692 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
15693 variable definition inside #if's controlling its use.
15694
15695 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
15696
15697 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
15698
15699 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
15700
15701 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
15702 unreachable code.
15703
15704 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
15705
b68e08db
RM
15706 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
15707 * configure: Regenerated.
15708
b350afab
RM
15709 * Makerules: Revert last change.
15710 * elf/Makefile: Likewise.
15711
28368601
RM
157122011-06-09 Roland McGrath <roland@hack.frob.com>
15713
15714 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
15715 * elf/Makefile ($(objpfx)librtld.os): Likewise.
15716 (reloc-link): Likewise.
15717
11988f8f
UD
157182011-06-09 Ulrich Drepper <drepper@gmail.com>
15719
15720 * elf/Makefile: Add rules to build pldd.
15721 * elf/pldd.c: New file.
15722 * elf/pldd-xx.c: New file.
15723
e80fab37
UD
157242011-06-07 Ulrich Drepper <drepper@gmail.com>
15725
15726 * version.h: Update for 2.15 development version.
15727
9b849836
DM
157282011-06-07 David S. Miller <davem@davemloft.net>
15729
15730 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
15731 ifuncs.
15732 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
15733 elf_machine_lazy_rel): Likewise.
15734 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15735 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
15736 elf_machine_lazy_rel): Likewise.
15737 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
15738 dl_hwcap via passed in argument.
15739 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
15740 Likewise.
15741
5a31b283
AK
157422011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15743
15744 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
15745
069e52f8
RM
157462011-06-06 Roland McGrath <roland@hack.frob.com>
15747
15748 [BZ #12849]
15749 * manual/fdl-1.1.texi: New file, verbatim from:
15750 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
15751 * manual/lgpl-2.1.texi: New file, verbatim from:
15752 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
15753 * manual/Makefile (licenses): New variable, list those new file names.
15754 (texis): Use it.
15755 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
15756
15757 * manual/fdl.texi: File removed.
15758 * manual/lesser.texi: File removed.
15759 * manual/libc.texinfo (Copying, Documentation License):
15760 Use new @include file names, put @appendix directive before @include.
15761
f16846a5
JJ
157622011-06-04 Jakub Jelinek <jakub@redhat.com>
15763
15764 [BZ #12841]
15765 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
15766 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
15767 (mq_open): Add __NTH.
15768
3d29045b
L
157692011-06-02 H.J. Lu <hongjiu.lu@intel.com>
15770
15771 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15772 Assume Intel Core i3/i5/i7 processor if AVX is available.
15773
8c297311
UD
157742011-05-31 Ulrich Drepper <drepper@gmail.com>
15775
15776 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15777 typo.
15778
c8fc0c91
UD
157792011-05-31 Andreas Schwab <schwab@redhat.com>
15780
15781 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
15782 memory. Use alloca_account. Fix memory leak when retrying.
15783
5b27a807
UD
157842011-05-31 Ulrich Drepper <drepper@gmail.com>
15785
356f8bc6
UD
15786 * version.h (RELEASE): Bump for 2.14 release.
15787 * include/features.h (__GLIBC_MINOR__): Bump to 14.
15788
5b27a807
UD
15789 * config.make.in (RANLIB): Remove entry.
15790
01f16ab0
UD
157912011-05-30 Ulrich Drepper <drepper@gmail.com>
15792
41fce8bd
UD
15793 * po/Makefile (po-sed-cmd): Add ksh to extensions.
15794 (libc.pot): Work around missing support for .ksh extension in xgettext.
15795
4769ae77
UD
15796 [BZ #12684]
15797 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
15798 if both request failed.
15799 (send_dg): In case of server errors clear resplen or *resplen2.
15800
6b1e7d19
UD
15801 [BZ #12454]
15802 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
15803 when there are multiple maps.
15804 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
15805 (_dl_fini): Remove test here.
15806
01f16ab0
UD
15807 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
15808
b1ebd700
UD
158092011-05-29 Ulrich Drepper <drepper@gmail.com>
15810
7ae22829
UD
15811 [BZ #12350]
15812 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
15813 bit from old_res_options.
15814 (gaih_inet): Likewise.
15815
553149f6 15816 [BZ #11099]
18a84741 15817 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
15818 as signed.
15819
652ffab1
UD
15820 * resolv/res_init.c (res_setoptions): Make the code more compact.
15821
16985fd0
UD
15822 [BZ #11558]
15823 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
15824 set RES_USEVC.
15825
0464f746
UD
15826 [BZ #11634]
15827 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
15828
7d17596c
UD
15829 * malloc/malloc.h: Mark malloc hook variables as deprecated.
15830
cf6bbbd7
UD
15831 [BZ #11781]
15832 * malloc/malloc.h: Declare malloc hook variables as volatile.
15833
13f1ab36
UD
15834 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
15835 in last patch.
15836
b1ebd700
UD
15837 [BZ #11799]
15838 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 15839 raise in the comment.
80e2212d
UD
15840 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15841 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15842 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 15843
ce67228d
UD
158442011-05-28 Ulrich Drepper <drepper@gmail.com>
15845
8887a920
UD
15846 [BZ #12811]
15847 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
15848 grow the buffers more if it already has to be sufficient.
15849 (build_wcs_upper_buffer): Likewise.
15850 * posix/regexec.c (check_matching): Likewise.
15851 (clean_state_log_if_needed): Likewise.
15852 (extend_buffers): Don't enlarge buffers beyond size of the input
15853 buffer.
15854 Patches mostly by Emil Wojak <emil@wojak.eu>.
15855 * posix/bug-regex32.c: New file.
15856 * posix/Makefile (tests): Add bug-regex32.
15857
4f031072
UD
15858 * locale/findlocale.c (_nl_find_locale): Return right away if
15859 _nl_explode_name failed.
15860 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
15861
d0478f0c
UD
15862 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
15863
de81b246
UD
15864 * debug/xtrace.sh: Unify messages.
15865 * malloc/memusage.sh: Likewise.
15866
c738465a
UD
15867 [BZ #12813]
15868 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
15869 time symbol from vDSO. Substitute with vsyscall if not available.
15870 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
15871 __vdso_time.
15872
f1f929d7
UD
15873 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
15874 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
15875 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
15876 Add sendmmsg and internal_sendmmsg.
15877 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
15878 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
15879 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
15880
ce67228d
UD
15881 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
15882 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
15883 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
15884
e57420c6
UD
158852011-05-27 Ulrich Drepper <drepper@gmail.com>
15886
a8509ca5
UD
15887 [BZ #12813]
15888 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
15889 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
15890 available.
15891 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
15892 __vdso_getcpu.
15893
e57420c6
UD
15894 [BZ #12814]
15895 * iconvdata/Makefile (tests): Add bug-iconv9.
15896 * iconvdata/bug-iconv9.c: New file.
15897
4d07db15
AS
158982011-05-27 Andreas Schwab <schwab@redhat.com>
15899
15900 [BZ #12814]
15901 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
15902
ea486f69
JJ
159032011-05-25 Jakub Jelinek <jakub@redhat.com>
15904
15905 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15906 (struct user_regs_struct): Change intcs field back to cs.
15907
6f038433
UD
159082011-05-25 Ulrich Drepper <drepper@gmail.com>
15909
15910 * po/ja.po: Update from translation team.
15911
67f86a25
UD
159122011-05-23 Ulrich Drepper <drepper@gmail.com>
15913
15914 [BZ #12795]
15915 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
15916 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
15917
def7fbd6
AS
159182011-05-20 Andreas Schwab <schwab@redhat.com>
15919
15920 * stdlib/longlong.h: Update from GCC.
15921
f50ef8f1
AS
159222011-05-23 Andreas Schwab <schwab@redhat.com>
15923
15924 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
15925 parameter name.
15926 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
15927 Add parameter name.
15928 (__sysconf): Pass it down.
15929
de7ce8f1
UD
159302011-05-22 Ulrich Drepper <drepper@gmail.com>
15931
f2962a71
UD
15932 [BZ #12671]
15933 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
15934 some situations.
15935 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15936 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
15937 add in in __libc_use_alloca calls. Adjust callers.
15938 (glob): Use malloc in some situations.
15939
de7ce8f1
UD
15940 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
15941 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
15942 pltexit.
15943
aec84f53
UD
159442011-05-21 Ulrich Drepper <drepper@gmail.com>
15945
05bb4a68
UD
15946 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
15947 and CLOCK_BOOTTIME_ALARM.
15948
7ea72f99
UD
15949 [BZ #12782]
15950 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
15951 is returned.
15952
7e4afad5
UD
15953 * string/_strerror.c (__strerror_r): Print negative errors as signed
15954 numbers.
15955
8e211fec
UD
15956 [BZ #12777]
15957 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
15958 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
15959 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
15960
f7d82dc9
UD
15961 * configure.in: Fix typo in redirection and correct removal of test
15962 files in two cases.
15963
cc9e536d
UD
15964 [BZ #12788]
15965 * locale/setlocale.c (new_composite_name): Fix test to check for
15966 identical name of all categories.
15967
aec84f53
UD
15968 [BZ #12792]
15969 * libio/filedoalloc.c (local_isatty): New function.
15970 (_IO_file_doallocate): Use local_isatty.
15971 * stdio-common/perror.c (perror): In case a new stream is used
15972 forward the stream error.
15973 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
15974 error flag.
15975
78e64fdc
RT
159762011-05-20 Ulrich Drepper <drepper@gmail.com>
15977
34a9094f
UD
15978 [BZ #11869]
15979 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
15980 alloca.
15981 * include/alloca.h (extend_alloca_account): Define.
15982
78e64fdc
RT
15983 [BZ #11857]
15984 * posix/regex.h: Fix comments with documentation of user-accessible
15985 fields after compilation and describe correct free'ing of pattern
15986 after re_compile_pattern.
15987 Patch by Reuben Thomas <rrt@sc3d.org>.
15988
457bddfc
RA
159892011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
15990
15991 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
15992 and -mno-altivec to prevent the compiler from using Altivec and/or
15993 VSX instructions when the corresponding registers are not available.
15994
a4527b51
AS
159952011-05-19 Andreas Schwab <schwab@redhat.com>
15996
15997 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
15998
ed690b2f
UD
159992011-05-19 Ulrich Drepper <drepper@gmail.com>
16000
16001 * libio/freopen.c (freopen): Use __dup2, not dup2.
16002 * libio/freopen64.c (freopen64): Likewise.
16003
8db73634
L
160042011-05-17 H.J. Lu <hongjiu.lu@intel.com>
16005
16006 [BZ #12775]
16007 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
16008 * math/Makefile (tests): Add test-powl.
16009 (CFLAGS-test-powl.c): Define.
16010 * math/test-powl.c: New file.
16011
0a197a9d
L
160122011-05-16 H.J. Lu <hongjiu.lu@intel.com>
16013
16014 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
16015
ee30c380
UD
160162011-05-17 Ulrich Drepper <drepper@gmail.com>
16017
16018 [BZ #11837]
16019 * iconvdata/gb18030.c: Update to GB18020-2005.
16020
6ce75379
UD
160212011-05-16 Ulrich Drepper <drepper@gmail.com>
16022
a4b89fd8
AR
16023 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
16024 RE_SYNTAX_POSIX_AWK): Update to match recent development.
16025 Patch by Aharon Robbins <arnold@skeeve.com>.
16026
ea389b12
UD
16027 [BZ #11892]
16028 * stdlib/putenv.c (putenv): Don't always create copy of the variable
16029 on the stack.
16030
68a3f91f
UD
16031 [BZ #11895]
16032 * misc/pselect.c (__pselect): Handle timeout value errors hidden
16033 through underflows.
16034
15cc7dd1
UD
16035 [BZ #12766]
16036 * misc/error.c (error_at_line): Ensure file_name and old_file_name
16037 point to strings before performing equality test for error_one_per_line
16038 mode.
16039
f3799213
UD
16040 [BZ #11697]
16041 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
16042
d79a9c94
UD
16043 [BZ #11820]
16044 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16045 (struct user_fpregs_struct): Avoid __uint*_t types.
16046
56e5eb46
UD
16047 [BZ #6420]
16048 * malloc/mtrace.c (tr_where): Add additional parameter to point to
16049 symbol info. Use it instead of calling _dl_addr locally.
16050 (lock_and_info): New function.
16051 (tr_freehook): Call lock_and_info and pass symbol info as additional
16052 parameter to tr_where.
16053 (tr_mallochook): Likewise.
16054 (tr_reallochook): Likewise.
16055 (tr_memalignhook): Likewise.
16056
6ce75379
UD
16057 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
16058 used and couldn't be at all thread-safe.
16059
f8a3b5bf
UD
160602011-05-15 Ulrich Drepper <drepper@gmail.com>
16061
94b7cc37
UD
16062 * libio/freopen.c (freopen): Don't close old file descriptor
16063 before the new one is opened. Instead dup the new file descriptor
16064 to the old one after the new stream is created.
16065 * libio/freopen64.c (freopen64): Likewise.
16066 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
16067 * libio/fileops.c (_IO_new_file_close_it): Handle new
16068 _IO_FLAGS2_NOCLOSE flag.
16069 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
16070 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
16071 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
16072 _IO_FLAGS2_NOCLOSE flag.
16073 * include/unistd.h: Add hidden_proto for dup3.
16074 Define __have_dup3.
16075 * io/dup3.c: Define hidden symbol.
16076 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
16077
bd25564e
UD
16078 [BZ #7101]
16079 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
16080 when an incomplete long option is used.
16081 * posix/tst-getopt_long1.c: New file.
16082 * posix/Makefile (tests): Add tst-getopt_long1.
16083
c84cfef4
UD
16084 [BZ #10138]
16085 * scripts/config.guess: Update from autoconf-2.68.
16086 * scripts/config.sub: Likewise.
16087
3b85df27
UD
16088 [BZ #10157]
16089 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
16090 tests into ...
16091 (has_cpuclock): ...this. New function.
16092 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
16093 macro here based on has_cpuclock code.
16094
15a856b1
UD
16095 [BZ #10149]
16096 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16097 First byte (not low byte) is now always NUL.
16098 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
16099
05f399e6
UD
16100 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16101 Use non-cancelable interfaces.
16102
10a52685 16103 [BZ #9809]
94ecc67d
UD
16104 * locale/iso-639.def: Add entry for Sorani.
16105
f8a3b5bf
UD
16106 [BZ #11901]
16107 * include/stdlib.h: Move include protection to the right place.
16108 Define abort_msg_s. Declare __abort_msg with it.
16109 * stdlib/abort.c (__abort_msg): Adjust type.
16110 * assert/assert.c (__assert_fail_base): New function. Majority
16111 of code from __assert_fail. Allocate memory for __abort_msg with
16112 mmap.
16113 (__assert_fail): Now call __assert_fail_base.
16114 * assert/assert-perr.c: Remove bulk of implementation. Use
16115 __assert_fail_base.
16116 * include/assert.hL Declare __assert_fail_base.
16117 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
16118 mmap.
16119 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
16120
1af4e298
UD
161212011-05-14 Ulrich Drepper <drepper@gmail.com>
16122
f8a3b5bf 16123 [BZ #11952]
d26dfc60
MG
16124 [BZ #12453]
16125 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
16126 until all modules are registered in the DTV.
16127 * elf/Makefile: Add rules to build and run tst-tls19.
16128 * elf/tst-tls19.c: New file.
16129 * elf/tst-tls19mod1.c: New file.
16130 * elf/tst-tls19mod2.c: New file.
16131 * elf/tst-tls19mod3.c: New file.
16132 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
16133
2fc54d6f
UD
16134 [BZ #12083]
16135 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
16136 correctly.
16137
98d76b46
UD
16138 [BZ #12601]
16139 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
16140 two-byte sequence errors.
16141 * iconvdata/Makefile (tests): Add bug-iconv8.
16142 * iconvdata/bug-iconv8.c: New file.
16143
da3c19ef
UD
16144 [BZ #12626]
16145 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
16146 buf2 definition.
16147
ca408c15
UD
16148 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
16149
d6f67f7d
UD
16150 [BZ #12432]
16151 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
16152 (dummy_getcfa): New function.
16153 (init): Get _Unwind_GetCFA address, use dummy if not found.
16154 (backtrace_helper): In recursion check, also check whether CFA changes.
16155 (__backtrace): Completely initialize arg.
16156
1af4e298 16157 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
16158 storing incomplete byte sequence in state object. Avoid testing for
16159 guaranteed too small input if we know there is enough data available.
1af4e298 16160
da62f81b
AS
161612011-05-11 Andreas Schwab <schwab@redhat.com>
16162
16163 * Makeconfig (+link-pie): Indent.
16164 * Rules (binaries-pie): Define if $(have-fpie) and
16165 $(build-shared).
16166 (binaries-shared): Also filter out $(binaries-pie).
16167 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
16168 * nscd/Makefile (others-pie): Add nscd.
16169 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
16170 ($(objpfx)nscd): Remove command override.
16171 * login/Makefile (others-pie): Add pt_chown.
16172 ($(objpfx)pt_chown): Remove command override.
16173 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
16174 remove command overrides.
16175
fcabc0f8
UD
161762011-05-13 Ulrich Drepper <drepper@gmail.com>
16177
20030ae6
UD
16178 * libio/tst_putwc.c: Fix error messages.
16179
fcabc0f8
UD
16180 [BZ #12724]
16181 * libio/fileops.c (_IO_new_file_close_it): Always flush when
16182 currently writing and seek to current position when not.
16183 * libio/Makefile (tests): Add bug-fclose1.
16184 * libio/bug-fclose1.c: New file.
16185
320a5dc0
PB
161862011-05-12 Ulrich Drepper <drepper@gmail.com>
16187
16188 [BZ #12511]
16189 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
16190 don't set DF_1_NODELETE here.
16191 (do_lookup_x): When entering new entry test for copy relocation
16192 and if necessary set DF_1_NODELETE flag.
16193 * elf/tst-unique4.cc: New file.
16194 * elf/tst-unique4.h: New file.
16195 * elf/tst-unique4lib.cc: New file.
16196 * elf/Makefile: Add rules to build and run tst-unique4.
16197 Patch by Piotr Bury <pbury@goahead.com>.
16198
22836f52
UD
161992011-05-11 Ulrich Drepper <drepper@gmail.com>
16200
f574184a
UD
16201 [BZ #12052]
16202 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
16203
e1fb097f
UD
16204 [BZ #12625]
16205 * misc/mntent_r.c (addmntent): Flush the stream after the output
16206
22836f52
UD
16207 [BZ #12393]
16208 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
16209 (is_trusted_path_normalize): Skip initial colon. Append slash
16210 to empty buffer. Duplicate is_trusted_path code but allow
16211 constructed patch to be prefix.
16212 (is_dst): Allow $ORIGIN followed by /.
16213 (_dl_dst_substitute): Correct clearing of check_for_trusted.
16214 Correct testing of result of is_trusted_path_normalize
16215 (decompose_rpath): Fix warning.
16216
7b3b0b2a
UD
162172011-05-10 Ulrich Drepper <drepper@gmail.com>
16218
16219 [BZ #11257]
16220 * grp/initgroups.c (internal_getgrouplist): When we found the service
16221 list through the initgroups entry in nsswitch.conf do not always
16222 continue on a successful lookup. Don't always use the
eac80ce2 16223 __nss_group_database value if it is set.
7b3b0b2a
UD
16224 * nss/nsswitch.conf (initgroups): Change action for successful db
16225 lookup to continue for compatibility.
16226
2a81eaa5
UD
162272011-05-09 Ulrich Drepper <drepper@gmail.com>
16228
be97a69e
UD
16229 [BZ #11532]
16230 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
16231 and CP774 modules.
16232 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
16233 and CP774 modules.
16234 * iconvdata/tst-tables.sh: Likewise.
16235 * iconvdata/cp770.c: New file.
16236 * iconvdata/cp771.c: New file.
16237 * iconvdata/cp772.c: New file.
16238 * iconvdata/cp773.c: New file.
16239 * iconvdata/cp774.c: New file.
16240 * iconvdata/testdata/CP770: New file.
16241 * iconvdata/testdata/CP770..UTF8: New file.
16242 * iconvdata/testdata/CP771: New file.
16243 * iconvdata/testdata/CP771..UTF8: New file.
16244 * iconvdata/testdata/CP772: New file.
16245 * iconvdata/testdata/CP772..UTF8: New file.
16246 * iconvdata/testdata/CP773: New file.
16247 * iconvdata/testdata/CP773..UTF8: New file.
16248 * iconvdata/testdata/CP774: New file.
16249 * iconvdata/testdata/CP774..UTF8: New file.
16250
16251 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
16252 END CHARMAP line.
16253 * iconvdata/gen-8bit-gap.sh: Likewise.
16254 * iconvdata/gen-8bit.sh: Likewise.
16255
c1e9e399
UD
16256 * locale/iso-639.def: Add ary entry.
16257
24c55fb3 16258 [BZ #11258]
96b4b1b0
UD
16259 * locale/C-translit.h.in: Add U20A1 transliteration.
16260
bdc2f971
KB
16261 [BZ #12178]
16262 * locale/iso-639.def: Add wae entry.
16263 Patch by Kevin Bortis <bortis@translate-wae.ch>.
16264
2952b117
UD
16265 [BZ #12545]
16266 * locale/programs/localedef.c (construct_output_path): Use ssize_t
16267 for n.
16268
2a81eaa5
UD
16269 [BZ #12711]
16270 * locale/C-translit.h.in: Add entry for U20B9.
16271 Patch by pravin.d.s@gmail.com.
16272
28377d1b
UD
162732011-05-08 Ulrich Drepper <drepper@gmail.com>
16274
7fb90fb8
UD
16275 [BZ #12713]
16276 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
16277 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
16278 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
16279 in rtld. Use *stat64.
7fb90fb8 16280 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 16281 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 16282 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
16283 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
16284 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
16285 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
16286 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
16287 __fstatat64 macros.
7fb90fb8
UD
16288 * include/dirent.h: Add libc_hidden_proto for rewinddir.
16289 * dirent/rewinddir.c: Add libc_hidden_def.
16290 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 16291 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 16292
28377d1b
UD
16293 * include/dirent.h (__alloc_dir): Add flags parameter.
16294 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
16295 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
16296 __alloc_dir.
16297 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
16298 from fdopendir if O_CLOEXEC is already set.
16299
66bdbaa4
AM
163002011-03-15 Alan Modra <amodra@gmail.com>
16301
16302 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
16303 l_tls_firstbyte_offset non-zero. Save padding offset in
16304 l_tls_firstbyte_offset for later use.
16305 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
16306 freeing static tls block.
16307
95721191
JN
163082011-03-05 Jonathan Nieder <jrnieder@gmail.com>
16309
16310 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
16311 where #ifdef was intended. The intent is to prevent ARG_MAX from
16312 being defined by the kernel headers.
16313
f87dfb1f
UD
163142011-05-07 Ulrich Drepper <drepper@gmail.com>
16315
16316 [BZ #12734]
16317 * resolv/resolv.h: Define RES_NOTLDQUERY.
16318 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
16319 no-tld-query and set RES_NOTLDQUERY.
16320 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
16321 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
16322 modern BIND to search name as TLD unless forbidden.
16323
47c3cd7a
UD
163242011-05-07 Petr Baudis <pasky@suse.cz>
16325 Ulrich Drepper <drepper@gmail.com>
16326
16327 [BZ #12393]
16328 * elf/dl-load.c (fillin_rpath): Move trusted path check...
16329 (is_trusted_path): ...to here.
c1e9ea35 16330 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 16331 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 16332 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 16333
8a35c912
PP
163342011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16335
16336 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
16337 __BEGIN/__END_DECLS.
16338
acd41f47
UD
163392011-05-06 Ulrich Drepper <drepper@gmail.com>
16340
16341 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
16342 NSS_STATUS_NOTFOUND if no record was found.
16343
597df647
AS
163442011-05-05 Andreas Schwab <schwab@redhat.com>
16345
16346 * sunrpc/Makefile (headers): Add rpc/netdb.h.
16347 (headers-not-in-tirpc): Remove rpc/netdb.h
16348 * resolv/netdb.h: Revert last change.
16349
b9af1301
PP
163502011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16351
16352 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
16353 circular dependency between libgcc.a and libc.a.
16354
4e34d5f5
AS
163552011-05-05 Andreas Schwab <schwab@redhat.com>
16356
16357 * resolv/netdb.h: Don't include <rpc/netdb.h>.
16358 * nis/Makefile: Don't install rpcsvc/*.
16359 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16360 instead of <rpc/types.h>.
16361 (MAXHOSTNAMELEN): Define.
16362
00ee369c
AS
163632011-05-03 Andreas Schwab <schwab@redhat.com>
16364
16365 * elf/ldconfig.c (add_dir): Don't crash on empty path.
16366
0b592a30
MB
163672011-04-28 Maciej Babinski <mbabinski@google.com>
16368
16369 [BZ #12714]
16370 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16371 gethostbyname4_r when IPv6 results are possible.
16372
6e04cbbe
UD
163732011-05-02 Ulrich Drepper <drepper@gmail.com>
16374
16375 [BZ #12723]
16376 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16377 _PC_PIPE_BUF handling.
16378
e4ecafe0
BH
163792011-04-30 Bruno Haible <bruno@clisp.org>
16380
16381 [BZ #12717]
16382 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16383 * resolv/netdb.h (getnameinfo): Change type of flags parameter
16384 to 'int'.
16385 * inet/getnameinfo.c (getnameinfo): Likewise.
16386
125ee683
UD
163872011-04-29 Ulrich Drepper <drepper@gmail.com>
16388
16389 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16390 to groups setting in database lookup.
16391 * nss/nsswitch.conf: Add initgroups entry.
16392
b722481a
EB
163932011-04-22 Ulrich Drepper <drepper@gmail.com>
16394
16395 [BZ #12685]
16396 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16397 mode string.
16398 Patch by Eric Blake <eblake@redhat.com>.
16399
4df46dbd
L
164002011-04-20 H.J. Lu <hongjiu.lu@intel.com>
16401
16402 * sunrpc/Makefile (need-export-routines): Add svc_run.
16403 (routines): Remove svc_run.
16404 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16405 * sunrpc/clnt_perr.c (clnt_perrno): Export.
16406 * sunrpc/svc_run.c (svc_run): Likewise.
16407 * sunrpc/svc_udp.c (svcudp_create): Likewise.
16408
e84142d2
UD
164092011-04-21 Ulrich Drepper <drepper@gmail.com>
16410
16411 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16412 problem in reallocation in last patch.
16413
877175d8
UD
164142011-04-20 Ulrich Drepper <drepper@gmail.com>
16415
16416 * sunrpc/Makefile: Move inclusion of Rules.
16417
ab8eed78
UD
164182011-04-19 Ulrich Drepper <drepper@gmail.com>
16419
16420 * nss/nss_files/files-initgroups.c: New file.
16421 * nss/Makefile (libnss_files-routines): Add files-initgroups.
16422 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16423 _nss_files_initgroups_dyn.
16424
e3d8f584
RS
164252011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
16426
16427 * elf/elf.h (R_ARM_IRELATIVE): Define.
16428
af190f45
UD
164292011-04-19 Ulrich Drepper <drepper@gmail.com>
16430
16431 * po/ru.po: Update from translation team.
16432
53cf59ef
UD
164332011-04-17 Ulrich Drepper <drepper@gmail.com>
16434
16435 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16436 dependencies.
16437
4c559bcd
MF
164382011-02-06 Mike Frysinger <vapier@gentoo.org>
16439
16440 [BZ #12653]
16441 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16442 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16443 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16444 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16445 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16446
4420675c
AS
164472011-03-28 Andreas Schwab <schwab@linux-m68k.org>
16448
16449 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16450 differing bytes.
16451 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16452 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16453 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16454
75ea32ab
UD
164552011-04-17 Ulrich Drepper <drepper@gmail.com>
16456
16457 [BZ #12420]
16458 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
16459 storing it.
16460 * stdlib/bug-getcontext.c: New file.
16461 * stdlib/Makefile: Add rules to build and run bug-getcontext.
16462
27390476
AK
164632011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16464
16465 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
16466 instructions into .machine "z9-109".
16467 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16468 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16469
10442705
AK
164702011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16471
16472 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
16473 between environment variables and auxiliary vector.
16474
7b57bfe5
UD
164752011-04-16 Ulrich Drepper <drepper@gmail.com>
16476
16477 * Makefile: Add rules to build linkobj/libc.so.
16478 * include/libc-symbols.h: Define libc_hidden_nolink.
16479 * include/rpc/auth.h: Mark functions which are to be hidden.
16480 * include/rpc/auth_des.h: Likewise.
16481 * include/rpc/auth_unix.h: Likewise.
16482 * include/rpc/clnt.h: Likewise.
16483 * include/rpc/des_crypt.h: Likewise.
16484 * include/rpc/key_prot.h: Likewise.
16485 * include/rpc/pmap_clnt.h: Likewise.
16486 * include/rpc/pmap_prot.h: Likewise.
16487 * include/rpc/pmap_rmt.h: Likewise.
16488 * include/rpc/rpc_msg.h: Likewise.
16489 * include/rpc/svc.h: Likewise.
16490 * include/rpc/svc_auth.h: Likewise.
16491 * include/rpc/xdr.h: Likewise.
16492 * nis/Makefile: Link all DSOs against linkobj/libc.so.
16493 * nss/Makefile: Likewise.
16494 * sunrpc/Makefile: Don't install headers. Build library with normal
16495 entry points. Don't build rpcinfo. Link RPC tests appropriately.
16496 * sunrpc/auth_des.c: Hide exported symbols by default, export some
16497 for the compat linking library. Remove use of INTDEF/INTUSE.
16498 * sunrpc/auth_none.c: Likewise.
16499 * sunrpc/auth_unix.c: Likewise.
16500 * sunrpc/authdes_prot.c: Likewise.
16501 * sunrpc/authuxprot.c: Likewise.
16502 * sunrpc/clnt_gen.c: Likewise.
16503 * sunrpc/clnt_perr.c: Likewise.
16504 * sunrpc/clnt_raw.c: Likewise.
16505 * sunrpc/clnt_simp.c: Likewise.
16506 * sunrpc/clnt_tcp.c: Likewise.
16507 * sunrpc/clnt_udp.c: Likewise.
16508 * sunrpc/clnt_unix.c: Likewise.
16509 * sunrpc/des_crypt.c: Likewise.
16510 * sunrpc/des_soft.c: Likewise.
16511 * sunrpc/get_myaddr.c: Likewise.
16512 * sunrpc/key_call.c: Likewise.
16513 * sunrpc/key_prot.c: Likewise.
16514 * sunrpc/netname.c: Likewise.
16515 * sunrpc/pm_getmaps.c: Likewise.
16516 * sunrpc/pm_getport.c: Likewise.
16517 * sunrpc/pmap_clnt.c: Likewise.
16518 * sunrpc/pmap_prot.c: Likewise.
16519 * sunrpc/pmap_prot2.c: Likewise.
16520 * sunrpc/pmap_rmt.c: Likewise.
16521 * sunrpc/publickey.c: Likewise.
16522 * sunrpc/rpc_cmsg.c: Likewise.
16523 * sunrpc/rpc_common.c: Likewise.
16524 * sunrpc/rpc_dtable.c: Likewise.
16525 * sunrpc/rpc_prot.c: Likewise.
16526 * sunrpc/rpc_thread.c: Likewise.
16527 * sunrpc/rtime.c: Likewise.
16528 * sunrpc/svc.c: Likewise.
16529 * sunrpc/svc_auth.c: Likewise.
16530 * sunrpc/svc_authux.c: Likewise.
16531 * sunrpc/svc_raw.c: Likewise.
16532 * sunrpc/svc_run.c: Likewise.
16533 * sunrpc/svc_simple.c: Likewise.
16534 * sunrpc/svc_tcp.c: Likewise.
16535 * sunrpc/svc_udp.c: Likewise.
16536 * sunrpc/svc_unix.c: Likewise.
16537 * sunrpc/svcauth_des.c: Likewise.
16538 * sunrpc/xcrypt.c: Likewise.
16539 * sunrpc/xdr.c: Likewise.
16540 * sunrpc/xdr_array.c: Likewise.
16541 * sunrpc/xdr_float.c: Likewise.
16542 * sunrpc/xdr_intXX_t.c: Likewise.
16543 * sunrpc/xdr_mem.c: Likewise.
16544 * sunrpc/xdr_rec.c: Likewise.
16545 * sunrpc/xdr_ref.c: Likewise.
16546 * sunrpc/xdr_sizeof.c: Likewise.
16547 * sunrpc/xdr_stdio.c: Likewise.
16548
e6c61494
UD
165492011-04-10 Ulrich Drepper <drepper@gmail.com>
16550
16551 [BZ #12650]
16552 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
16553 * sysdeps/ia64/dl-tls.h: Likewise.
16554 * sysdeps/powerpc/dl-tls.h: Likewise.
16555 * sysdeps/s390/dl-tls.h: Likewise.
16556 * sysdeps/sh/dl-tls.h: Likewise.
16557 * sysdeps/sparc/dl-tls.h: Likewise.
16558 * sysdeps/x86_64/dl-tls.h: Likewise.
16559 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
16560
34fe483e
AS
165612011-03-14 Andreas Schwab <schwab@redhat.com>
16562
16563 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
16564 rpath element also skip the following colon.
16565 (expand_dynamic_string_token): Add is_path parameter and pass
16566 down to DL_DST_REQUIRED and _dl_dst_substitute.
16567 (decompose_rpath): Call expand_dynamic_string_token with
16568 non-zero is_path. Ignore empty rpaths.
16569 (_dl_map_object_from_fd): Call expand_dynamic_string_token
16570 with zero is_path.
16571
f12a32e6
AS
165722011-04-08 Andreas Schwab <schwab@linux-m68k.org>
16573
16574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16575 Make cancelable.
16576
38a7d692
UD
165772011-04-09 Ulrich Drepper <drepper@gmail.com>
16578
16579 [BZ #12655]
16580 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
16581 Patch by Filipe David Manana <fdmanana@apache.org>.
16582
e451d22b
AS
165832011-04-07 Andreas Schwab <schwab@redhat.com>
16584
16585 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
16586 Maintain aligned stack.
16587 (CHECK_RSP): Remove unused macro.
16588
dedc7c7b
UD
165892011-04-03 Ulrich Drepper <drepper@gmail.com>
16590
16591 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
16592 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
16593
94521213
UD
165942011-04-02 Ulrich Drepper <drepper@gmail.com>
16595
16596 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
16597
8cb700c0 16598 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 16599
0354e355
L
166002011-03-26 H.J. Lu <hongjiu.lu@intel.com>
16601
16602 [BZ #12518]
16603 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
16604 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
16605 * sysdeps/x86_64/memmove.c: New file.
16606 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
16607 (memcpy): Renamed to ...
16608 (__new_memcpy): This.
16609 (memcpy): Provide GLIBC_2_14 memcpy.
16610 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
16611 (memcpy): Provide GLIBC_2_2_5 memcpy.
16612
8593482f
UD
166132011-04-01 Ulrich Drepper <drepper@gmail.com>
16614
16615 [BZ #12631]
16616 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
16617
81a5726b
AS
166182011-03-30 Andreas Schwab <schwab@redhat.com>
16619
16620 * misc/syncfs.c: New file.
16621 * misc/Makefile (routines): Add syncfs.
16622 * posix/unistd.h: Declare syncfs.
16623 * sysdeps/unix/syscalls.list: Add syncfs.
16624
00e5419f
AS
166252011-04-01 Andreas Schwab <schwab@redhat.com>
16626
16627 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
16628 open_by_handle_at.
16629 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16630 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16631 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16632 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16633 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16634 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
16635 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16636
748876bf
UD
166372011-04-01 Ulrich Drepper <drepper@gmail.com>
16638
658e451d
UD
16639 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
16640 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16641 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
16642 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16643 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16644 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16645 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16646
748876bf
UD
16647 * io/Makefile: Compile fallocate.c, fallocate64.c, and
16648 sync_file_range.c with -fexceptions.
16649 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
16650 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
16651 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16652 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16653 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16654 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16655 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
16656 sync_file_range as cancellation point
16657 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
16658 now a wrapper around __call_sync_file_range with cancellation handling.
16659 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
16660 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
16661 function name to __call_sync_file_range.
16662 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
16663 Add call_sync_file_range.
748876bf 16664
6e63d5e1
AS
166652011-04-01 Andreas Schwab <schwab@redhat.com>
16666
16667 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 16668 bits/timex.h.
6e63d5e1 16669
46998f74
UD
166702011-04-01 Ulrich Drepper <drepper@gmail.com>
16671
4c1423ed
UD
16672 * iconv/iconv.h: Fix typo in comment.
16673 * io/fcntl.h: Likewise.
16674 * libio/stdio.h: Likewise.
16675 * posix/spawn.h: Likewise.
16676 * posix/unistd.h: Likewise.
16677 * stdlib/stdlib.h: Likewise.
16678 * time/time.h: Likewise.
16679 * wcsmbs/wchar.h: Likewise.
16680
158648c0
UD
16681 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
16682 open_by_handle): Add.
16683 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
16684 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
16685 Augment a few comments.
16686 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16687 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16688 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16689 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16690 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16691 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
16692 open_by_handle.
16693
46998f74
UD
16694 * io/fcntl.h (AT_EMPTY_PATH): Define.
16695
83fe108b
UD
166962011-03-30 Ulrich Drepper <drepper@gmail.com>
16697
16698 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
16699 * sysdeps/unix/sysv/linux/bits/time.h: New file.
16700 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
16701 to...
16702 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
16703 * Versions.def: Add GLIBC_2.14.
16704 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
16705 Export.
83fe108b 16706
bb242059
UD
167072011-03-22 Ulrich Drepper <drepper@gmail.com>
16708
16709 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
16710 round counter.
16711 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16712
c97a1282
L
167132011-03-20 H.J. Lu <hongjiu.lu@intel.com>
16714
16715 [BZ #12597]
16716 * string/test-strncmp.c (do_page_test): New function.
16717 (check2): Likewise.
16718 (test_main): Call check2.
16719 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
16720
2a115601
UD
167212011-03-20 Ulrich Drepper <drepper@gmail.com>
16722
16723 [BZ #12587]
16724 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
16725 Handle cache information in CPU leaf 4.
16726 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16727
8126d904
UD
167282011-03-18 Ulrich Drepper <drepper@gmail.com>
16729
042c49c6 16730 [BZ #12583]
8126d904
UD
16731 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
16732 character representation.
16733 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
16734
ccfe366e
RA
167352011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
16736
16737 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
16738 END(__isnan) to END(__isnanf) to match function entry point/label
16739 EALIGN(__isnanf,...).
16740
c6e13027
JJ
167412011-03-10 Jakub Jelinek <jakub@redhat.com>
16742
16743 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
16744
33f85a3f
UD
167452011-03-10 Ulrich Drepper <drepper@gmail.com>
16746
028478fa
UD
16747 [BZ #12510]
16748 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
16749 copy from the symbol referenced in the relocation to initialize the
16750 used variable.
16751 Patch by Piotr Bury <pbury@goahead.com>.
16752 * elf/Makefile: Add rules to build and tst-unique3.
16753 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
16754 * elf/tst-unique3.cc: New file.
16755 * elf/tst-unique3.h: New file.
16756 * elf/tst-unique3lib.cc: New file.
16757 * elf/tst-unique3lib2.cc: New file.
16758
33f85a3f
UD
16759 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
16760
03592fc7
MF
167612011-03-10 Mike Frysinger <vapier@gentoo.org>
16762
16763 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
16764 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
16765 to _start.
03592fc7 16766
6a5ee102
UD
167672011-03-06 Ulrich Drepper <drepper@gmail.com>
16768
16769 * elf/dl-load.c (_dl_map_object): If we are looking for the first
16770 to-be-loaded object along a path to loader is ld.so.
16771
7e4ba49c
HJ
167722011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16773 Ulrich Drepper <drepper@gmail.com>
16774
16775 * sysdeps/x86_64/memset.S: After aligning destination, code
16776 branches to different locations depending on the value of
16777 misalignment, when multiarch is enabled. Fix this.
16778
167792011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16780
16781 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
16782 Set _x86_64_preferred_memory_instruction for AMD processsors.
16783 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16784 Set bit_Prefer_SSE_for_memop for AMD processors.
16785
13a804de
UD
167862011-03-04 Ulrich Drepper <drepper@gmail.com>
16787
16788 * libio/fmemopen.c (fmemopen): Optimize a bit.
16789
9d25c392
AS
167902011-03-03 Andreas Schwab <schwab@redhat.com>
16791
16792 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
16793
a5543c6a
RM
167942011-03-03 Roland McGrath <roland@redhat.com>
16795
16796 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
16797
012d35f7
DM
167982011-02-28 Aurelien Jarno <aurelien@aurel32.net>
16799
7e4ba49c 16800 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
16801 __bzero_ultra1 instead of __memset_ultra1.
16802
4bff6e01
AS
168032011-02-23 Andreas Schwab <schwab@redhat.com>
16804 Ulrich Drepper <drepper@gmail.com>
16805
16806 [BZ #12509]
16807 * include/link.h (struct link_map): Add l_orig_initfini.
16808 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
16809 returning unsuccessfully.
16810 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
16811 close of a file loaded at startup, restore the original l_initfini
16812 list.
16813 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
16814 list, store the pointer.
16815 * elf/Makefile ($(objpfx)noload-mem): New rule.
16816 (noload-ENV): Define.
16817 (tests): Add $(objpfx)noload-mem.
16818 * elf/noload.c: Include <memcheck.h>.
16819 (main): Call mtrace. Close all opened handles.
16820
f2092faf
AS
168212011-02-17 Andreas Schwab <schwab@redhat.com>
16822
16823 [BZ #12454]
16824 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
16825 dependencies are missing.
16826
6c8a2e88
ST
168272011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16828
f2092faf 16829 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
16830 Hurd needs munmap.
16831 * sysdeps/mach/hurd/ifreq.h: New file.
16832
84a42118
PB
168332011-01-27 Petr Baudis <pasky@suse.cz>
16834 Ulrich Drepper <drepper@gmail.com>
16835
071f805e 16836 [BZ 12445]#
84a42118
PB
16837 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
16838 to extend_alloca().
16839 * stdio-common/bug23.c: New file.
16840 * stdio-common/Makefile (tests): Add bug23.
16841
e23fe25b
AS
168422010-09-28 Andreas Schwab <schwab@redhat.com>
16843 Ulrich Drepper <drepper@gmail.com>
16844
16845 [BZ #12489]
16846 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
16847 before performing relro protection. At old place add assertion
16848 to make sure nothing changed.
16849
d3f02e10
NS
168502011-02-17 Nathan Sidwell <nathan@codesourcery.com>
16851 Glauber de Oliveira Costa <glommer@gmail.com>
16852
16853 * elf/elf.h: Add new ARM TLS relocs.
16854
d55fd7a5
RA
168552011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
16856
16857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16858 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
16859 cast from r3.
16860 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
16861 'tests' variable.
16862 * sysdeps/wordsize-64/tst-writev.c: New file.
16863
2206397e
RA
168642011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
16865
16866 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
16867 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
16868 insns in _dl_start to prevent a TOC reference before relocs are
16869 resolved.
16870
e9433893
UD
168712011-02-15 Ulrich Drepper <drepper@gmail.com>
16872
16873 [BZ #12469]
16874 * Makeconfig: Remove RANLIB definition.
16875 * Makerules: Don't use RANLIB.
16876 * aclocal.m4: Remove ranlib test.
16877 * configure.in: No need to check for ranlib.
16878 * elf/rtld-Rules: Don't use RANLIB.
16879
f75286c6
ST
168802011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16881
8e31c82d
ST
16882 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
16883 protection macro.
16884 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
16885 inclusion protection macro.
16886
f75286c6
ST
16887 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
16888 SIGRTMIN and SIGRTMAX and print information in that case only when
16889 SIGRTMIN is defined.
16890
c1d0e639
JJ
168912011-02-11 Jakub Jelinek <jakub@redhat.com>
16892
16893 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
16894 arginfo fn returning -1.
16895
16896 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
16897 and thousands string is zero terminated.
16898
edf9294e
AS
168992011-02-03 Andreas Schwab <schwab@redhat.com>
16900
16901 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
16902 sysdeps/unix/sysv/linux/bits/socket.h.
16903
2b7e92df
ST
169042011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16905
edf9294e
AS
16906 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
16907 (__CPU_COUNT): Remove old macros.
16908 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
16909 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
16910 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
16911 (__sched_cpualloc, __sched_cpufree): Add declarations.
16912
a4c7ea7b
UD
169132011-02-05 Ulrich Drepper <drepper@gmail.com>
16914
16915 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
16916 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
16917 * nscd/aicache.c (addhstaiX): Return timeout of added value.
16918 (readdhstai): Return value of addhstaiX call.
16919 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
16920 (addgrbyX): Return value returned by cache_addgr.
16921 (readdgrbyname): Return value returned by addgrbyX.
16922 (readdgrbygid): Likewise.
16923 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
16924 (addpwbyX): Return value returned by cache_addpw.
16925 (readdpwbyname): Return value returned by addhstbyX.
16926 (readdpwbyuid): Likewise.
16927 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
16928 (addservbyX): Return value returned by cache_addserv.
16929 (readdservbyname): Return value returned by addservbyX:
16930 (readdservbyport): Likewise.
16931 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
16932 (addhstbyX): Return value returned by cache_addhst.
16933 (readdhstbyname): Return value returned by addhstbyX.
16934 (readdhstbyaddr): Likewise.
16935 (readdhstbynamev6): Likewise.
16936 (readdhstbyaddrv6): Likewise.
16937 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
16938 (readdinitgroups): Return value returned by addinitgroupsX.
16939 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
16940 (prune_cache): Keep track of timeout value of re-added entries.
16941 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
16942 * nscd/nscd.h: Adjust prototypes of readd* functions.
16943
a0bf67cc
RM
169442011-02-04 Roland McGrath <roland@redhat.com>
16945
16946 * nis/nis_server.c (nis_servstate): Use the right name for 0.
16947 (nis_stats): Likewise.
16948 * nis/nis_modify.c (nis_modify): Likewise.
16949 * nis/nis_remove.c (nis_remove): Likewise.
16950 * nis/nis_add.c (nis_add): Likewise.
16951
16952 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
16953
16954 * posix/fnmatch_loop.c: Add some consts.
16955
16956 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
16957
435b95eb
L
169582011-02-02 H.J. Lu <hongjiu.lu@intel.com>
16959
16960 [BZ #12460]
16961 * config.make.in (config-cflags-novzeroupper): Define.
16962 * configure.in: Substitute libc_cv_cc_novzeroupper.
16963 * elf/Makefile (AVX-CFLAGS): Define.
16964 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
16965 (CFLAGS-tst-auditmod4a.c): Likewise.
16966 (CFLAGS-tst-auditmod4b.c): Likewise.
16967 (CFLAGS-tst-auditmod6b.c): Likewise.
16968 (CFLAGS-tst-auditmod6c.c): Likewise.
16969 (CFLAGS-tst-auditmod7b.c): Likewise.
16970 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
16971
8517b15e
UD
169722011-02-02 Ulrich Drepper <drepper@gmail.com>
16973
16974 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
16975 function to the callback.
16976 Patch partly by Jiri Olsa <jolsa@redhat.com>.
16977
10a656fe
AS
169782011-02-02 Andreas Schwab <schwab@redhat.com>
16979
16980 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
16981 of errno.
16982
968dad0a
UD
169832011-01-19 Ulrich Drepper <drepper@gmail.com>
16984
9f94d2ea 16985 [BZ #11724]
968dad0a
UD
16986 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
16987 of constructors.
16988 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
16989 of destructors.
16990 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
16991
16992 [BZ #11724]
16993 * elf/Makefile: Add rules to build and run new test.
16994 * elf/tst-initorder.c: New file.
16995 * elf/tst-initorder.exp: New file.
16996 * elf/tst-initordera1.c: New file.
16997 * elf/tst-initordera2.c: New file.
16998 * elf/tst-initordera3.c: New file.
16999 * elf/tst-initordera4.c: New file.
17000 * elf/tst-initorderb1.c: New file.
17001 * elf/tst-initorderb2.c: New file.
17002 * elf/tst-order-a1.c: New file.
17003 * elf/tst-order-a2.c: New file.
17004 * elf/tst-order-a3.c: New file.
17005 * elf/tst-order-a4.c: New file.
17006 * elf/tst-order-b1.c: New file.
17007 * elf/tst-order-b2.c: New file.
17008 * elf/tst-order-main.c: New file.
17009 New test case by George Gensure <werkt0@gmail.com>.
17010
86e92359
UD
170112010-10-01 Andreas Schwab <schwab@redhat.com>
17012
17013 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17014 decoding ACE if AI_CANONIDN.
17015
5d5732b0
UD
170162011-01-18 Ulrich Drepper <drepper@gmail.com>
17017
17018 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
17019
a77e8cbc
UD
170202011-01-17 Ulrich Drepper <drepper@gmail.com>
17021
6392473f
UD
17022 * version.h (RELEASE): Bump for 2.13 release.
17023 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
17024
620a0529
UD
17025 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
17026
18ba70a5
UD
17027 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
17028 MADV_NOHUGEPAGE.
32465c3e
UD
17029 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
17030 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17031 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17032 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17033 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17034 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17035
c0dafcf1
UD
17036 * posix/getconf.c: Update copyright year.
17037 * catgets/gencat.c: Likewise.
17038 * csu/version.c: Likewise.
17039 * debug/catchsegv.sh: Likewise.
17040 * debug/xtrace.sh: Likewise.
17041 * elf/ldconfig.c: Likewise.
17042 * elf/ldd.bash.in: Likewise.
17043 * elf/sprof.c (print_version): Likewise.
17044 * iconv/iconv_prog.c: Likewise.
17045 * iconv/iconvconfig.c: Likewise.
17046 * locale/programs/locale.c: Likewise.
17047 * locale/programs/localedef.c: Likewise.
17048 * malloc/memusage.sh: Likewise.
17049 * malloc/mtrace.pl: Likewise.
17050 * nscd/nscd.c (print_version): Likewise.
17051 * nss/getent.c: Likewise.
17052
a77e8cbc
UD
17053 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
17054 PF_CAIF, and PF_ALG.
17055 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17056
77e8bddf
AS
170572011-01-16 Andreas Schwab <schwab@linux-m68k.org>
17058
1f20b93a
AS
17059 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
17060 (modules-names): Use them.
17061 (ifunc-test-modules, ifunc-pie-tests): Define.
17062 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
17063 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
17064 (test-extras): Likewise.
17065 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
17066 $(compile-command.c).
17067 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
17068 (all-built-dso): Define.
17069 (check-textrel.out, check-execstack.out): Depend on it.
17070
77e8bddf
AS
17071 * configure.in: Don't override --enable-multi-arch.
17072
bc425b33
UD
170732011-01-15 Ulrich Drepper <drepper@gmail.com>
17074
17075 [BZ #6812]
17076 * nscd/hstcache.c (tryagain): Define.
17077 (cache_addhst): Return tryagain not notfound for temporary errors.
17078 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
17079 failed.
17080
794c3ad3
UD
170812011-01-14 Ulrich Drepper <drepper@gmail.com>
17082
70181fdd
UD
17083 [BZ #10563]
17084 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
17085 to make the syscall.
17086 * sysdeps/unix/sysv/linux/setgroups.c: New file.
17087
794c3ad3
UD
17088 [BZ #12378]
17089 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
17090 and fall back to matching as normal character if the string ends before
17091 the matching ']' is found. This is what POSIX requires.
17092 * posix/testfnm.c: Adjust test result.
17093 * posix/globtest.sh: Adjust test result. Add new test.
17094 * posix/tst-fnmatch.input: Likewise.
17095 * posix/tst-fnmatch2.c: Add new test.
17096
68dc9497
AS
170972010-12-28 Andreas Schwab <schwab@linux-m68k.org>
17098
17099 * elf/Makefile (check-execstack): Revert last change. Depend on
17100 check-execstack.h.
17101 (check-execstack.h): New target.
17102 (generated): Add check-execstack.h.
17103 * elf/check-execstack.c: Include "check-execstack.h".
17104 (main): Revert last change.
17105 (handle_file): Return zero if GNU_STACK is absent and
17106 DEFAULT_STACK_PERMS doesn't include PF_X.
17107
451f001b
UD
171082011-01-13 Ulrich Drepper <drepper@gmail.com>
17109
cfa28e56
UD
17110 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
17111 in child fails because the descriptor is already closed.
8cf8ce17
UD
17112 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
17113 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
17114 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 17115
1086d70d
UD
17116 [BZ #12397]
17117 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
17118 syscall.
17119
451f001b
UD
17120 [BZ #10484]
17121 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
17122 temporary buffer used to handle multi lookups locally.
a85b5cb4 17123 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 17124
08769175
UD
171252011-01-12 Ulrich Drepper <drepper@gmail.com>
17126
17127 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
17128 loader is ld.so.
17129
5e49c52e
UD
171302011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
17131
17132 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
17133 alignment for SSE2.
17134
60522a5f
UD
171352011-01-12 Ulrich Drepper <drepper@gmail.com>
17136
17137 [BZ #12394]
17138 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
17139 characters. When rounding increased number of integer digits recompute
17140 number of groups.
17141 * stdio-common/tst-grouping.c: New file.
17142 * stdio-common/Makefile: Add rules to build and run tst-grouping.
17143
f257bbd7
UD
171442011-01-09 Ulrich Drepper <drepper@gmail.com>
17145
17146 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
17147 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
17148
17149 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
17150 void.
17151 * bits/select.h: Likewise.
17152
fa9c15cb
UD
171532011-01-08 Ulrich Drepper <drepper@gmail.com>
17154
17155 * po/ja.po: Update from translation team.
17156
16c2895f
DM
171572011-01-04 David S. Miller <davem@sunset.davemloft.net>
17158
17159 [BZ #11155]
17160 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
17161 implementation just like for lxstat, fxstatat, et al.
17162
2543fef2
JM
171632010-12-27 Jim Meyering <meyering@redhat.com>
17164
17165 [BZ #12348]
17166 * posix/regexec.c (build_trtable): Return failure indication upon
17167 calloc failure. Otherwise, re_search_internal could infloop on OOM.
17168
98727dbe
UD
171692010-12-25 Ulrich Drepper <drepper@gmail.com>
17170
5bd6dc5c
UD
17171 [BZ #12201]
17172 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
17173 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
17174 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
17175 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
17176
97983464
UD
17177 [BZ #12207]
17178 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
17179
98727dbe
UD
17180 [BZ #12204]
17181 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
17182 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
17183
4a531bb0
L
171842010-12-15 H.J. Lu <hongjiu.lu@intel.com>
17185
17186 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
17187 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
17188 script has SORT_BY_INIT_PRIORITY.
17189 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
17190 NO_CTORS_DTORS_SECTIONS is defined.
17191 * elf/soinit.c: Likewise.
17192 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
17193 NO_CTORS_DTORS_SECTIONS is defined.
17194 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
17195 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
17196 * sysdeps/sh/init-first.c: Likewise.
17197 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
17198
07eb4b71
UD
171992010-12-24 Ulrich Drepper <drepper@gmail.com>
17200
17201 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
17202 always use the slow path.
17203
30950a5f
RA
172042010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
17205
17206 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
17207 similar rule which adds the sysdep directories to the header search in
17208 order to pick up the correct platform stackinfo.h.
17209 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
17210 perform test if it is, otherwise return successfully without testing.
17211 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
17212 DEFAULT_STACK_PERMS define in stackinfo.h.
17213 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
17214 defined in stackinfo.h.
17215 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
17216 DEFAULT_STACK_PERMS defined in stackinfo.h.
17217 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
17218 * sysdeps/ia64/stackinfo.h: Likewise.
17219 * sysdeps/s390/stackinfo.h: Likewise.
17220 * sysdeps/sh/stackinfo.h: Likewise.
17221 * sysdeps/sparc/stackinfo.h: Likewise.
17222 * sysdeps/x86_64/stackinfo.h: Likewise.
17223 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
17224 PF_X for powerpc64. Retain PF_X for powerpc32.
17225
db753e2c
UD
172262010-12-19 Ulrich Drepper <drepper@gmail.com>
17227
14b697f7
UD
17228 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
17229 accurately.
db753e2c
UD
17230 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
17231 GETDENTS_64BIT_ALIGNED.
17232
28300719
UD
172332010-12-14 Ulrich Drepper <dreper@gmail.com>
17234
14b697f7 17235 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 17236
4f197237
AS
172372010-12-10 Andreas Schwab <schwab@redhat.com>
17238
dbb0472f
AS
17239 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
17240 _GNU_SOURCE.
17241
4f197237
AS
17242 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
17243 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
17244 Remove __restrict.
17245 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
17246 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
17247
fb88ac72
UD
172482010-12-09 Ulrich Drepper <drepper@gmail.com>
17249
17250 [BZ #11655]
17251 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
17252 are initialized.
17253
42acbb92
JJ
172542010-12-09 Jakub Jelinek <jakub@redhat.com>
17255
17256 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
17257
c038d98d
UD
172582010-12-03 Ulrich Drepper <drepper@gmail.com>
17259
17260 * po/it.po: Update from translation team.
17261
3a4a2499
L
172622010-12-01 H.J. Lu <hongjiu.lu@intel.com>
17263
17264 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
17265 unused codes.
17266
1e24cf6e
UD
172672010-11-30 Ulrich Drepper <drepper@gmail.com>
17268
17269 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
17270
a7690819
AS
172712010-11-24 Andreas Schwab <schwab@redhat.com>
17272
17273 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
17274 specially.
17275 (gaih_getanswer_slice): Likewise.
17276
3bf8d1b1
JJ
172772010-10-20 Jakub Jelinek <jakub@redhat.com>
17278
17279 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
17280
6db52fbb
PB
172812010-05-31 Petr Baudis <pasky@suse.cz>
17282
17283 [BZ #11149]
17284 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
17285 silently even in the chroot mode.
17286
eaca7569
UD
172872010-11-22 Ulrich Drepper <drepper@gmail.com>
17288
17289 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
17290 last patch a bit. Pretty printing
17291
3056dcdb
UD
172922010-05-31 Petr Baudis <pasky@suse.cz>
17293
17294 [BZ #10085]
17295 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
17296 initialization of skip_initgroups_dyn.
17297
cf7c9078
UD
172982010-11-19 Ulrich Drepper <drepper@gmail.com>
17299
17300 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
17301 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17302
a1fb5e3e
UD
173032010-11-16 Ulrich Drepper <drepper@gmail.com>
17304
17305 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
17306
3540d66b
AS
173072010-11-11 Andreas Schwab <schwab@redhat.com>
17308
17309 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
17310 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
17311 (tst-fnmatch-ENV): Set MALLOC_TRACE.
17312 ($(objpfx)tst-fnmatch-mem): New rule.
17313 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
17314 * posix/tst-fnmatch.c (main): Call mtrace.
17315
13b69574
L
173162010-11-11 H.J. Lu <hongjiu.lu@intel.com>
17317
17318 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17319 Support Intel processor model 6 and model 0x2c.
17320
da93d214
LM
173212010-11-10 Luis Machado <luisgpm@br.ibm.com>
17322
17323 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
17324 signed comparison.
17325
8ca52c6e
L
173262010-11-09 H.J. Lu <hongjiu.lu@intel.com>
17327
17328 [BZ #12205]
17329 * string/test-strncasecmp.c (check_result): New function.
17330 (do_one_test): Use it.
17331 (check1): New function.
17332 (test_main): Use it.
17333 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
17334 Support strcasecmp and strncasecmp.
17335
69da074d
UD
173362010-11-08 Ulrich Drepper <drepper@gmail.com>
17337
17338 [BZ #12194]
17339 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
17340 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17341
ff02d528
L
173422010-11-07 H.J. Lu <hongjiu.lu@intel.com>
17343
17344 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
17345 IFUNC support.
17346 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17347 memset-x86-64.
17348 * sysdeps/x86_64/multiarch/bzero.S: New file.
17349 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
17350 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
17351 * sysdeps/x86_64/multiarch/memset.S: New file.
17352 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
17353 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17354 Set bit_Prefer_SSE_for_memop for Intel processors.
17355 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
17356 Define.
17357 (index_Prefer_SSE_for_memop): Define.
17358 (HAS_PREFER_SSE_FOR_MEMOP): Define.
17359
344d0b54
LM
173602010-11-04 Luis Machado <luisgpm@br.ibm.com>
17361
17362 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17363 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17364
c0dde15b
UD
173652010-11-03 H.J. Lu <hongjiu.lu@intel.com>
17366
17367 [BZ #12191]
17368 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17369 (__x86_64_raw_data_cache_size_half): Likewise.
17370 (__x86_64_raw_shared_cache_size): Likewise.
17371 (__x86_64_raw_shared_cache_size_half): Likewise.
17372
17373 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17374 (__x86_64_raw_data_cache_size_half): Likewise.
17375 (__x86_64_raw_shared_cache_size): Likewise.
17376 (__x86_64_raw_shared_cache_size_half): Likewise.
17377 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17378 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17379 and __x86_64_raw_shared_cache_size_half. Round
17380 __x86_64_data_cache_size_half, __x86_64_data_cache_size
17381 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17382 to multiple of 256 bytes.
17383
0e516e0e
MS
173842010-11-03 Ulrich Drepper <drepper@gmail.com>
17385
17386 [BZ #12167]
17387 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17388 of inacessible symlinks. Verify result of symlink before returning it.
17389 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17390 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17391
0e012e87
ER
173922010-10-28 Erich Ritz <erichritz@gmail.com>
17393
17394 * math/math.h (isinf): Fix typo in comment.
17395
de0ff7bc
UD
173962010-11-01 Ulrich Drepper <drepper@gmail.com>
17397
17398 * po/da.po: Update from translation team.
17399
fa41c84d
UD
174002010-10-26 Ulrich Drepper <drepper@gmail.com>
17401
17402 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17403 is added to the list.
17404
f0967738
AK
174052010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17406 Ulrich Drepper <drepper@gmail.com>
17407
17408 * elf/dl-object.c (_dl_new_object): Don't append the new object to
17409 the global list here. Move code to...
17410 (_dl_add_to_namespace_list): ...here. New function.
17411 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17412 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17413 * elf/dl-load.c (lose): Don't remove the element from the list.
17414 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17415 (_dl_map_object): Likewise.
17416
174172010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
17418
17419 [BZ #12159]
17420 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17421 into all bytes of SSE register.
17422 Patch by Richard Li <richardpku@gmail.com>.
17423
f0967738 174242010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
17425
17426 [BZ #12140]
17427 * malloc/malloc.c (_int_free): Fill correct number of bytes when
17428 perturbing.
17429
d0b9e94f
MB
174302010-10-20 Michael B. Brutman <brutman@us.ibm.com>
17431
17432 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17433 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17434 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17435 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17437 submachine.
17438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17439
8e9f92e9
AS
174402010-10-22 Andreas Schwab <schwab@redhat.com>
17441
17442 * include/dlfcn.h (__RTLD_SECURE): Define.
17443 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
17444 mode & __RTLD_SECURE instead.
17445 (open_path): Rename preloaded parameter to secure.
17446 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17447 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17448 * elf/dl-deps.c (openaux): Likewise.
17449 * elf/rtld.c (struct map_args): Remove is_preloaded.
17450 (map_doit): Don't use it.
17451 (dl_main): Likewise.
17452 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
17453 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
17454
bc96fbda
AS
174552010-09-09 Andreas Schwab <schwab@redhat.com>
17456
17457 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
17458 (sysd-rules-targets): Remove duplicates.
17459 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
17460 rtld-%.$o dependency.
17461
22cd1c9b
AS
174622010-10-18 Andreas Schwab <schwab@redhat.com>
17463
17464 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
17465 _dl_map_object do it.
17466
18edac48
UD
174672010-10-19 Ulrich Drepper <drepper@gmail.com>
17468
17469 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
17470 fast fma builtins, define the macros in the C99 standard.
17471 (FP_FAST_FMAF): Likewise.
17472 (FP_FAST_FMAL): Likewise.
17473 * sysdeps/x86_64/bits/mathdef.h: Likewise.
17474
17475 * bits/mathdef.h: Update copyright year.
17476 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17477
d2050124
MM
174782010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
17479
17480 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
17481 builtins, define the macros in the C99 standard.
17482 (FP_FAST_FMAF): Likewise.
17483 (FP_FAST_FMAL): Likewise.
17484 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
17485 multiply/add.
17486 (FP_FAST_FMAF): Likewise.
17487
475facd1
JJ
174882010-10-15 Jakub Jelinek <jakub@redhat.com>
17489
17490 [BZ #3268]
17491 * math/libm-test.inc (fma_test): Some new testcases.
17492 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
17493 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
17494 y and infinite z. Do multiplication by C already in long double.
17495 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
17496 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
17497 y and infinite z. Do bitwise or of inexact bit into u.d.
17498 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
17499 * sysdeps/i386/fpu/s_fmaf.S: Removed.
17500 * sysdeps/i386/fpu/s_fma.S: Removed.
17501 * sysdeps/i386/fpu/s_fmal.S: Removed.
17502
7c08a05c
JJ
175032010-10-16 Jakub Jelinek <jakub@redhat.com>
17504
17505 [BZ #3268]
17506 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
17507 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
17508 computation is not scheduled after fetestexcept. Fix value
17509 of minimum denormal long double.
17510
f3f7372d
JJ
175112010-10-14 Jakub Jelinek <jakub@redhat.com>
17512
17513 [BZ #3268]
17514 * math/libm-test.inc (fma_test): Add some more tests.
17515 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
17516 correctly.
17517
14d43591
AS
175182010-10-15 Andreas Schwab <schwab@redhat.com>
17519
17520 * scripts/data/localplt-s390-linux-gnu.data: New file.
17521 * scripts/data/localplt-s390x-linux-gnu.data: New file.
17522
5e908464
JJ
175232010-10-13 Jakub Jelinek <jakub@redhat.com>
17524
17525 [BZ #3268]
17526 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
17527 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
17528 instead of dbl-64.
17529 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
17530 inlines.
17531 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
17532 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
17533 if one of x and y is very large and the other is subnormal.
17534 * sysdeps/s390/fpu/s_fmaf.c: New file.
17535 * sysdeps/s390/fpu/s_fma.c: New file.
17536 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
17537 * sysdeps/powerpc/fpu/s_fma.S: New file.
17538 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
17539 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
17540 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
17541
175422010-10-12 Jakub Jelinek <jakub@redhat.com>
17543
17544 [BZ #3268]
17545 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
17546 fma tests.
17547 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
17548 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
17549 * sysdeps/i386/i686/multiarch/s_fma.c: Include
17550 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
17551 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
17552 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
17553 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
17554
b833d51f
UD
175552010-10-12 Ulrich Drepper <drepper@redhat.com>
17556
17557 [BZ #12078]
17558 * posix/regcomp.c (parse_branch): One more memory leak plugged.
17559 * posix/bug-regex31.input: Add test case.
17560
1751705d
UD
175612010-10-11 Ulrich Drepper <drepper@gmail.com>
17562
e9b9cbf5
UD
17563 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
17564 * posix/bug-regex31.input: New file.
17565
17566 [BZ #12078]
17567 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
17568 (parse_sub_exp): Fix last change, use postorder.
17569
ef06edbe
UD
17570 * posix/bug-regex31.c: New file.
17571 * posix/Makefile: Add rules to build and run bug-regex31.
17572
a129c80d
UD
17573 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
17574
17575 [BZ #12078]
17576 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
17577
b76b818e
UD
17578 [BZ #12108]
17579 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
17580 to have entries in sys_siglist.
17581
1751705d
UD
17582 [BZ #12093]
17583 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
17584 be NULL.
17585
9ff8d36f
JJ
175862010-10-07 Jakub Jelinek <jakub@redhat.com>
17587
17588 [BZ #3268]
17589 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
17590 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
17591 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
17592 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
17593 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17594 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
17595 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
17596 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
17597 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
17598 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
17599 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
17600 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
17601 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17602 * math/ftestexcept.c (fetestexcept): Likewise.
17603 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
17604 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
17605 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17606 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
17607 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
17608 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
17609 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17610
af325969
UD
176112010-10-11 Ulrich Drepper <drepper@gmail.com>
17612
c579b202 17613 [BZ #12107]
af325969
UD
17614 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
17615 newline.
17616
67a67b95
UD
176172010-10-06 Ulrich Drepper <drepper@gmail.com>
17618
17619 * string/bug-strstr1.c: New file.
17620 * string/Makefile: Add rules to build and run bug-strstr1.
17621
5fb308bc
EB
176222010-10-05 Eric Blake <eblake@redhat.com>
17623
17624 [BZ #12092]
17625 * string/str-two-way.h (two_way_long_needle): Always clear memory
17626 when skipping input due to the shift table.
17627
45db99c7
UD
176282010-10-03 Ulrich Drepper <drepper@gmail.com>
17629
3b111893
UD
17630 [BZ #12005]
17631 * malloc/mcheck.c: Handle large requests.
17632
45db99c7
UD
17633 [BZ #12077]
17634 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
17635 for strncmp and strncasecmp.
17636 * string/stratcliff.c: Add tests for strcmp and strncmp.
17637 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
17638
cf7a1eb8
NI
176392010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17640
17641 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
17642 __set_fpscr.
17643
6484ba5e
AJ
176442010-09-30 Andreas Jaeger <aj@suse.de>
17645
17646 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
17647 (CGROUP_SUPER_MAGIC): Define.
17648 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17649 Handle btrfs and cgroup file systems.
17650 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17651 Likewise.
17652
91c42559
LM
176532010-09-27 Luis Machado <luisgpm@br.ibm.com>
17654
17655 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
17656 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
17657
87a97932
AK
176582010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17659
17660 [BZ #12067]
17661 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
17662 trying to locate the ELF header.
17663
c21cc9bc
AS
176642010-09-27 Andreas Schwab <schwab@redhat.com>
17665
17666 [BZ #11611]
17667 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
17668 Mask out sign-bit copies when constructing f_fsid.
17669
315970f6
PB
176702010-09-24 Petr Baudis <pasky@suse.cz>
17671
17672 * debug/stack_chk_fail_local.c: Add missing licence exception.
17673 * debug/warning-nop.c: Likewise.
17674
1ac7a2c7
JM
176752010-09-15 Joseph Myers <joseph@codesourcery.com>
17676
17677 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
17678 implementing getdents64 using getdents syscall, set d_type if
17679 __ASSUME_GETDENTS32_D_TYPE.
17680
56801c50
AS
176812010-09-16 Andreas Schwab <schwab@redhat.com>
17682
17683 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
17684 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
17685
dda51327
UD
176862010-09-21 Ulrich Drepper <drepper@redhat.com>
17687
17688 [BZ #12037]
17689 * posix/unistd.h: Undo change of feature selection for ftruncate from
17690 2010-01-11.
17691
8ffcee4a
UD
176922010-09-20 Ulrich Drepper <drepper@redhat.com>
17693
a545ecd9 17694 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
17695 detection.
17696
e24f0a8b
AS
176972010-09-20 Andreas Schwab <schwab@redhat.com>
17698
17699 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
17700 fanotify_mark.
17701 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17702
7291c56f
AS
177032010-09-14 Andreas Schwab <schwab@redhat.com>
17704
17705 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
17706 variables after CHECK_SP call.
17707 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
17708
bc5fb037
AS
177092010-09-13 Andreas Schwab <schwab@redhat.com>
17710 Ulrich Drepper <drepper@redhat.com>
17711
17712 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
17713 re-relocationg ld.so.
17714 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
17715 _dl_init_paths call.
17716 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
17717 here anymore.
17718
e66e7419
UD
177192010-09-14 Ulrich Drepper <drepper@redhat.com>
17720
17721 * resolv/res_init.c (__res_vinit): Count the default server we added.
17722
c044aa75
CLT
177232010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
17724 Ulrich Drepper <drepper@redhat.com>
17725
17726 [BZ #11968]
17727 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17728 (____longjmp_chk): Use %ebx for saving value across system call.
17729 Add unwind info.
17730
32cf4069
AS
177312010-09-06 Andreas Schwab <schwab@redhat.com>
17732
17733 * manual/Makefile: Don't mix pattern rules with normal rules.
17734
817328ee
AS
177352010-09-05 Andreas Schwab <schwab@linux-m68k.org>
17736
17737 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
17738 operation.
17739 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17740 * libio/iofopncook.c (_IO_cookie_init): Likewise.
17741 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17742 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17743 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17744 Likewise.
17745
29fddf61
UD
177462010-09-04 Ulrich Drepper <drepper@redhat.com>
17747
17748 [BZ #11979]
17749 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
17750 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
17751
0959ffc9
UD
177522010-09-02 Ulrich Drepper <drepper@redhat.com>
17753
17754 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
17755 * sysdeps/x86_64/addmul_1.S: Likewise.
17756 * sysdeps/x86_64/lshift.S: Likewise.
17757 * sysdeps/x86_64/mul_1.S: Likewise.
17758 * sysdeps/x86_64/rshift.S: Likewise.
17759 * sysdeps/x86_64/sub_n.S: Likewise.
17760 * sysdeps/x86_64/submul_1.S: Likewise.
17761
ece29840
ST
177622010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
17763
0959ffc9
UD
17764 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
17765 Define __sched_param instead of SCHED_* and sched_param when
ece29840 17766 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 17767 * bits/sched.h [__need_schedparam]
ece29840 17768 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
17769 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
17770 (__defined_schedparam): Define to 1.
ece29840
ST
17771 (__sched_param): New structure, identical to sched_param.
17772 (__need_schedparam): Undefine.
17773
e53a31fe
MF
177742010-08-31 Mike Frysinger <vapier@gentoo.org>
17775
fdc0c10d
MF
17776 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
17777 (epoll_create1): Declare.
17778
e53a31fe
MF
17779 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
17780
a726d796
AS
177812010-08-31 Andreas Schwab <schwab@redhat.com>
17782
17783 [BZ #7066]
17784 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
17785 shifting retval into place.
17786
2f3e3dc7
UD
177872010-09-01 Ulrich Drepper <drepper@redhat.com>
17788
f2933da9
UD
17789 * nis/rpcsvc/nis.h: Update copyright notice.
17790 * nis/rpcsvc/nis.x: Likewise.
17791 * nis/rpcsvc/nis_callback.h: Likewise.
17792 * nis/rpcsvc/nis_callback.x: Likewise.
17793 * nis/rpcsvc/nis_object.x: Likewise.
17794 * nis/rpcsvc/nis_tags.h: Likewise.
17795 * nis/rpcsvc/yp.h: Likewise.
17796 * nis/rpcsvc/yp.x: Likewise.
17797 * nis/rpcsvc/ypupd.h: Likewise.
17798 * nis/yp_xdr.c: Likewise.
17799 * nis/ypupdate_xdr.c: Likewise.
17800
2f3e3dc7
UD
17801 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
17802 mainly the body of pmap_getport. Add parameters to specify timeouts.
17803 (pmap_getport): Use __libc_rpc_getport.
17804 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
17805 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
17806 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
17807
f3dcc2f9
AS
178082010-08-31 Andreas Schwab <schwab@linux-m68k.org>
17809
17810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
17811 fanotify_mark.
17812
6d34eb5b
RM
178132010-08-27 Roland McGrath <roland@redhat.com>
17814
17815 * sysdeps/i386/i686/multiarch/Makefile
17816 (CFLAGS-varshift.c): New variable.
17817
9ea3de11
UD
178182010-08-27 Ulrich Drepper <drepper@redhat.com>
17819
c96d23fc
UD
17820 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
17821 * sysdeps/i386/i686/multiarch/varshift.c: New file.
17822
9ea3de11
UD
17823 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
17824
17825 * sysdeps/x86_64/strlen.S: Minimal code improvement.
17826
623aac7f
L
178272010-08-26 H.J. Lu <hongjiu.lu@intel.com>
17828
17829 * sysdeps/x86_64/strlen.S: Unroll the loop.
17830 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17831 strlen-sse2 strlen-sse2-bsf.
17832 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
17833 __strlen_no_bsf if bit_Slow_BSF is set.
17834 (__strlen_sse42): Removed.
17835 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
17836 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
17837
8b2b7715
RM
178382010-08-25 Roland McGrath <roland@redhat.com>
17839
17840 * sysdeps/x86_64/multiarch/varshift.S: File removed.
17841 * sysdeps/x86_64/multiarch/varshift.c: New file.
17842 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
17843 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
17844 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
17845 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17846
e73015f2
L
178472010-08-25 H.J. Lu <hongjiu.lu@intel.com>
17848
17849 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17850 strlen-sse2 strlen-sse2-bsf.
17851 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
17852 __strlen_sse2_bsf if bit_Slow_BSF is unset.
17853 (__strlen_sse2): Removed.
17854 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
17855 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
17856 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17857 bit_Slow_BSF for Atom.
17858 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
17859 (index_Slow_BSF): Define.
17860 (HAS_SLOW_BSF): Define.
17861
df24a73e
UD
178622010-08-25 Ulrich Drepper <drepper@redhat.com>
17863
17864 [BZ #10851]
17865 * resolv/res_init.c (__res_vinit): When no server address at all
17866 is given default to loopback.
17867
f2ac4868
RM
178682010-08-24 Roland McGrath <roland@redhat.com>
17869
09055553
RM
17870 * configure.in: Remove config-name.h generation.
17871 * configure: Regenerated.
17872 * config-name.in: File removed.
17873 * scripts/config-uname.sh: New file.
17874 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
17875 ($(objdir)config-name.h): New target.
17876
f2ac4868
RM
17877 * sunrpc/rpc_parse.h: Avoid nested comment.
17878
73f27d5e
RH
178792010-08-24 Richard Henderson <rth@redhat.com>
17880 Ulrich Drepper <drepper@redhat.com>
17881 H.J. Lu <hongjiu.lu@intel.com>
17882
17883 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
17884 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
17885 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
17886 Replace _mm_srli_si128 with __m128i_shift_right. Replace
17887 _mm_alignr_epi8 with _mm_loadu_si128.
17888 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
17889 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
17890 (__m128i_shift_right): Removed.
17891 * sysdeps/i386/i686/multiarch/varshift.h: New file.
17892 * sysdeps/i386/i686/multiarch/varshift.S: New file.
17893 * sysdeps/x86_64/multiarch/varshift.h: New file.
17894 * sysdeps/x86_64/multiarch/varshift.S: New file.
17895
84b9230c
MF
178962010-08-21 Mike Frysinger <vapier@gentoo.org>
17897
17898 * configure.in: Move assembler checks to before sysdep dir checking.
17899
9bbd0ddc
PB
179002010-08-20 Petr Baudis <pasky@suse.cz>
17901
17902 * LICENSES: Sync the sunrpc license.
17903
9da4bb31
UD
179042010-08-19 Ulrich Drepper <drepper@redhat.com>
17905
a7ab6ec8
UD
17906 * sunrpc/auth_des.c: Update copyright notice once again.
17907 * sunrpc/auth_none.c: Likewise.
17908 * sunrpc/auth_unix.c: Likewise.
17909 * sunrpc/authdes_prot.c: Likewise.
17910 * sunrpc/authuxprot.c: Likewise.
17911 * sunrpc/bindrsvprt.c: Likewise.
17912 * sunrpc/clnt_gen.c: Likewise.
17913 * sunrpc/clnt_perr.c: Likewise.
17914 * sunrpc/clnt_raw.c: Likewise.
17915 * sunrpc/clnt_simp.c: Likewise.
17916 * sunrpc/clnt_tcp.c: Likewise.
17917 * sunrpc/clnt_udp.c: Likewise.
17918 * sunrpc/clnt_unix.c: Likewise.
17919 * sunrpc/des_crypt.c: Likewise.
17920 * sunrpc/des_soft.c: Likewise.
17921 * sunrpc/get_myaddr.c: Likewise.
17922 * sunrpc/getrpcport.c: Likewise.
17923 * sunrpc/key_call.c: Likewise.
17924 * sunrpc/key_prot.c: Likewise.
17925 * sunrpc/openchild.c: Likewise.
17926 * sunrpc/pm_getmaps.c: Likewise.
17927 * sunrpc/pm_getport.c: Likewise.
17928 * sunrpc/pmap_clnt.c: Likewise.
17929 * sunrpc/pmap_prot.c: Likewise.
17930 * sunrpc/pmap_prot2.c: Likewise.
17931 * sunrpc/pmap_rmt.c: Likewise.
17932 * sunrpc/rpc/auth.h: Likewise.
17933 * sunrpc/rpc/auth_unix.h: Likewise.
17934 * sunrpc/rpc/clnt.h: Likewise.
17935 * sunrpc/rpc/des_crypt.h: Likewise.
17936 * sunrpc/rpc/key_prot.h: Likewise.
17937 * sunrpc/rpc/netdb.h: Likewise.
17938 * sunrpc/rpc/pmap_clnt.h: Likewise.
17939 * sunrpc/rpc/pmap_prot.h: Likewise.
17940 * sunrpc/rpc/pmap_rmt.h: Likewise.
17941 * sunrpc/rpc/rpc.h: Likewise.
17942 * sunrpc/rpc/rpc_des.h: Likewise.
17943 * sunrpc/rpc/rpc_msg.h: Likewise.
17944 * sunrpc/rpc/svc.h: Likewise.
17945 * sunrpc/rpc/svc_auth.h: Likewise.
17946 * sunrpc/rpc/types.h: Likewise.
17947 * sunrpc/rpc/xdr.h: Likewise.
17948 * sunrpc/rpc_clntout.c: Likewise.
17949 * sunrpc/rpc_cmsg.c: Likewise.
17950 * sunrpc/rpc_common.c: Likewise.
17951 * sunrpc/rpc_cout.c: Likewise.
17952 * sunrpc/rpc_dtable.c: Likewise.
17953 * sunrpc/rpc_hout.c: Likewise.
17954 * sunrpc/rpc_main.c: Likewise.
17955 * sunrpc/rpc_parse.c: Likewise.
17956 * sunrpc/rpc_parse.h: Likewise.
17957 * sunrpc/rpc_prot.c: Likewise.
17958 * sunrpc/rpc_sample.c: Likewise.
17959 * sunrpc/rpc_scan.c: Likewise.
17960 * sunrpc/rpc_scan.h: Likewise.
17961 * sunrpc/rpc_svcout.c: Likewise.
17962 * sunrpc/rpc_tblout.c: Likewise.
17963 * sunrpc/rpc_util.c: Likewise.
17964 * sunrpc/rpc_util.h: Likewise.
17965 * sunrpc/rpcinfo.c: Likewise.
17966 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
17967 * sunrpc/rpcsvc/key_prot.x: Likewise.
17968 * sunrpc/rpcsvc/klm_prot.x: Likewise.
17969 * sunrpc/rpcsvc/mount.x: Likewise.
17970 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
17971 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
17972 * sunrpc/rpcsvc/rex.x: Likewise.
17973 * sunrpc/rpcsvc/rstat.x: Likewise.
17974 * sunrpc/rpcsvc/rusers.x: Likewise.
17975 * sunrpc/rpcsvc/sm_inter.x: Likewise.
17976 * sunrpc/rpcsvc/spray.x: Likewise.
17977 * sunrpc/rpcsvc/yppasswd.x: Likewise.
17978 * sunrpc/rtime.c: Likewise.
17979 * sunrpc/svc.c: Likewise.
17980 * sunrpc/svc_auth.c: Likewise.
17981 * sunrpc/svc_authux.c: Likewise.
17982 * sunrpc/svc_raw.c: Likewise.
17983 * sunrpc/svc_run.c: Likewise.
17984 * sunrpc/svc_simple.c: Likewise.
17985 * sunrpc/svc_tcp.c: Likewise.
17986 * sunrpc/svc_udp.c: Likewise.
17987 * sunrpc/svc_unix.c: Likewise.
17988 * sunrpc/svcauth_des.c: Likewise.
17989 * sunrpc/xcrypt.c: Likewise.
17990 * sunrpc/xdr.c: Likewise.
17991 * sunrpc/xdr_array.c: Likewise.
17992 * sunrpc/xdr_float.c: Likewise.
17993 * sunrpc/xdr_mem.c: Likewise.
17994 * sunrpc/xdr_rec.c: Likewise.
17995 * sunrpc/xdr_ref.c: Likewise.
17996 * sunrpc/xdr_sizeof.c: Likewise.
17997 * sunrpc/xdr_stdio.c: Likewise.
17998
9da4bb31
UD
17999 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
18000 handling.
18001
bdaa77bc
AS
180022010-08-19 Andreas Schwab <schwab@redhat.com>
18003
18004 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
18005
fe2f79db
LM
180062010-08-19 Luis Machado <luisgpm@br.ibm.com>
18007
18008 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
18009 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
18010 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
18011 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
18012 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
18013 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
18014 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
18015 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
18016 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
18017 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
18018 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
18019 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
18020 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
18021 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
18022
b9b42ee0
AB
180232010-07-26 Anton Blanchard <anton@samba.org>
18024
18025 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
18026 * malloc/arena.c (heap_trim): Likewise.
18027
1c06ba31
UD
180282010-08-16 Ulrich Drepper <drepper@redhat.com>
18029
18030 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
18031 here. Not...
18032 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
18033 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
18034
f8392f40
L
180352010-08-12 H.J. Lu <hongjiu.lu@intel.com>
18036
18037 * sysdeps/i386/elf/Makefile: New file.
18038
3162f12e
AS
180392010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18040
18041 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
18042 from fanotify_init.
18043 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
18044 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18045
28c90b2c
UD
180462010-08-15 Ulrich Drepper <drepper@redhat.com>
18047
18048 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
18049 of strncasecmp_l.
1feccb6c 18050 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 18051
ca6bb004
UD
180522010-08-14 Ulrich Drepper <drepper@redhat.com>
18053
e9f82e0d
UD
18054 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18055 strncase_l-nonascii.
18056 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18057 Add strncase_l-ssse3.
18058 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
18059 * sysdeps/x86_64/strcmp.S: Likewise.
18060 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
18061 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
18062 * sysdeps/x86_64/strncase.S: New file.
18063 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
18064 * sysdeps/x86_64/strncase_l.S: New file.
18065 * string/Makefile (strop-tests): Add strncasecmp.
18066 * string/test-strncasecmp.c: New file.
18067
18068 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
18069 warning.
18070
ca6bb004
UD
18071 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
18072 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
18073
052fa7b3
AS
180742010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18075
18076 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
18077
962dba78
UD
180782010-08-12 Ulrich Drepper <drepper@redhat.com>
18079
18080 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
18081 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
18082 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
18083
bebff237
AM
180842010-05-01 Alan Modra <amodra@gmail.com>
18085
18086 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
18087 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
18088 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
18089 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
18090 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
18091 tidying. Don't tail-call __sigjmp_save for static lib.
18092 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
18093 save location.
18094 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
18095 (CALL_MCOUNT): Add eh info, and nop after bl.
18096 (TAIL_CALL_SYSCALL_ERROR): New macro.
18097 (PSEUDO_RET): Use it.
18098 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18099 Correct save location of integer regs and cr.
18100 (_dl_profile_resolve): Correct cr save location. Delete nops
18101 after bl when SHARED. Reduce cfi size a little by better
18102 placement of cfi directives.
18103 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
18104 make a stack frame. Instead use parm save area as a temp.
18105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
18106 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
18107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18108 Don't make a stack frame for parent, use parm save area.
18109 Increase child stack frame to 112 bytes. Don't save unused reg,
18110 and adjust reg usage. Set up cfi on error recovery and
18111 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
18112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18113 (__makecontext): Add dummy nop after jump to exit.
18114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
18115 Use correct parm save area and cr save, reduce stack frame.
18116 Correct cfi for possible PSEUDO_RET frame setup.
18117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
18118 Branch to local label emitted by PSEUDO_RET rather than
18119 __syscall_error.
18120
02637374
AS
181212010-08-12 Andreas Schwab <schwab@redhat.com>
18122
18123 [BZ #11904]
18124 * locale/programs/locale.c (print_assignment): New function.
18125 (show_locale_vars): Use it.
18126
c3e2f19b
UD
181272010-08-11 Ulrich Drepper <drepper@redhat.com>
18128
3cdaa6ad
UD
18129 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
18130 field.
18131 (struct statfs64): Likewise.
18132 (_STATFS_F_FLAGS): Define.
18133 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
18134 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18135 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
18136 (ST_VALID): Define locally.
18137 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
18138 __statvfs_getflags, use the provided value.
18139 * sysdeps/unix/sysv/linux/kernel-features.h: Define
18140 __ASSUME_STATFS_F_FLAGS.
18141
754f7da3
UD
18142 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
18143
10b3bedc
UD
18144 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
18145 Add sys/fanotify.h.
18146 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
18147 fanotify_mask for GLIBC_2.13.
18148 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
18149 fanotify_init and fanotify_mark.
18150 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18151 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
18152
c08fb0d7
UD
18153 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
18154 Add prlimit.
18155 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
18156 prlimit64 for GLIBC_2.13.
18157 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
18158 prlimit64.
18159 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
18160 syscall.
18161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18162 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18163 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
18164 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
18165 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
18166 add prlimit alias.
18167 * sysdeps/unix/sysv/linux/prlimit.c: New file.
18168
15bac72b
UD
18169 [BZ #11903]
18170 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
18171 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
18172
c3e2f19b
UD
18173 * nss/Makefile: Add rules to build and run tst-nss-test1.
18174 * shlib-versions: Add entry for libnss_test1.
18175 * nss/nss_test1.c: New file.
18176 * nss/tst-nss-test1.c: New file.
18177
18178 * nss/nsswitch.c (__nss_database_custom): Define new variable.
18179 (__nss_configure_lookup): Set appropriate entry in
18180 __nss_configure_lookup to true.
18181 * nss/nsswitch.h: Define enum with indeces of databases in
18182 databases and __nss_database_custom arrays. Declare
18183 __nss_database_custom.
18184 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
18185 to avoid using nscd when custom rules are installed.
18186 * nss/getXXbyYY_r.c: Likewise.
18187 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18188
18189 * nss/nss_files/files-parse.c: Whitespace fixes.
18190
f15ce4d8
UD
181912010-08-09 Ulrich Drepper <drepper@redhat.com>
18192
18193 [BZ #11883]
18194 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
18195 * posix/fnmatch_loop.c: Likewise.
18196
d22e4cc9
AK
181972010-07-17 Andi Kleen <ak@linux.intel.com>
18198
18199 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
18200 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
18201 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
18202 * Versions.def [GLIBC_2.13]: Add.
18203
805bc17d
UD
182042010-08-06 Ulrich Drepper <drepper@redhat.com>
18205
18206 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18207 Also fail if tpwd after pwuid call is NULL.
18208
5a42321d
ST
182092010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
18210
18211 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
18212 when converting to ms.
18213
fd3ebeda
ST
182142010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18215
18216 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
18217 EOPNOTSUPP errors with ENOTTY.
18218 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
18219 EOPNOTSUPP errors with ENOTTY.
18220
73507d3a
UD
182212010-07-31 Ulrich Drepper <drepper@redhat.com>
18222
18223 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18224 Add strcasecmp_l-ssse3.
18225 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
18226 strcasecmp.
18227 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
18228 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
18229 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
18230
fe36dd02
UD
182312010-07-30 Ulrich Drepper <drepper@redhat.com>
18232
66f6765a
UD
18233 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
18234
42e08a54
UD
18235 * string/Makefile (strop-tests): Add strcasecmp.
18236 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18237 strcasecmp_l-nonascii.
18238 (gen-as-const-headers): Add locale-defines.sym.
18239 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
18240 * sysdeps/x86_64/strcasecmp.S: New file.
18241 * sysdeps/x86_64/strcasecmp_l.S: New file.
18242 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
18243 * sysdeps/x86_64/locale-defines.sym: New file.
18244 * string/test-strcasecmp.c: New file.
18245
fe36dd02
UD
18246 * string/test-strcasestr.c: Test both ends of the range of characters.
18247 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
18248
48cbc0d6
RM
182492010-07-29 Roland McGrath <roland@redhat.com>
18250
76e6d6bc 18251 [BZ #11856]
48cbc0d6
RM
18252 * manual/locale.texi (Yes-or-No Questions): Fix example code.
18253
880113d9
UD
182542010-07-27 Ulrich Drepper <drepper@redhat.com>
18255
18256 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
18257 for ld.so.
18258
deb9cabb
AS
182592010-07-27 Andreas Schwab <schwab@redhat.com>
18260
18261 * manual/memory.texi (Malloc Tunable Parameters): Document
18262 M_PERTURB.
18263
1c7570ff
RM
182642010-07-26 Roland McGrath <roland@redhat.com>
18265
18266 [BZ #11840]
18267 * configure.in (-fgnu89-inline check): Set and substitute
18268 gnu89_inline, not libc_cv_gnu89_inline.
18269 * configure: Regenerated.
18270 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
18271
24fb0f88
UD
182722010-07-26 Ulrich Drepper <drepper@redhat.com>
18273
18274 * string/test-strnlen.c: New file.
18275 * string/Makefile (strop-tests): Add strnlen.
18276 * string/tester.c (test_strnlen): Add a few more test cases.
18277 * string/tst-strlen.c: Better error reporting.
18278
18279 * sysdeps/x86_64/strnlen.S: New file.
18280
8e96b93a
UD
182812010-07-24 Ulrich Drepper <drepper@redhat.com>
18282
18283 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
18284 lower-latency instructions.
18285
dbc676d4
UD
182862010-07-23 Ulrich Drepper <drepper@redhat.com>
18287
18288 * string/test-strcasestr.c: New file.
18289 * string/test-strstr.c: New file.
18290 * string/Makefile (strop-tests): Add strstr and strcasestr.
18291 * string/str-two-way.h: Don't undefine MAX.
18292 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
18293
f6a31e0e
AS
182942010-07-21 Andreas Schwab <schwab@redhat.com>
18295
18296 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18297 strcasestr-nonascii.
18298 (CFLAGS-strcasestr-nonascii.c): Define.
18299 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
18300 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
18301 Remove unused attribute.
18302
5dbc3b6c
RM
183032010-07-20 Roland McGrath <roland@redhat.com>
18304
18305 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
18306 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
18307 ld.so.cache was broken. With it, there is no way to disable dsocaps
18308 like LD_HWCAP_MASK can disable hwcaps.
18309
23d101d8
EPM
183102010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18311
18312 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
18313
cc9f2e47
UD
183142010-07-16 Ulrich Drepper <drepper@redhat.com>
18315
18316 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
18317 call in strcasestr.
18318 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
18319 __strcasestr_sse42_nonascii.
18320 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
18321 strcasestr-nonascii.c.
18322 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
18323
77c1b069
LM
183242010-06-15 Luis Machado <luisgpm@br.ibm.com>
18325
18326 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
18327 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
18328 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
18329 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
18330
440566c3
UD
183312010-07-09 Ulrich Drepper <drepper@redhat.com>
18332
18333 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
18334 fcntl.
18335
5be9d05d
AS
183362010-07-06 Andreas Schwab <schwab@redhat.com>
18337
c30b7ee2 18338 [BZ #11577]
5be9d05d
AS
18339 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
18340 dl_signal_cerror.
18341
8a492a67
UD
183422010-07-06 Ulrich Drepper <drepper@redhat.com>
18343
18344 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
18345 _PC_PIPE_BUF using F_GETPIPE_SZ.
18346
713df3d5
RM
183472010-07-05 Roland McGrath <roland@redhat.com>
18348
18349 * manual/arith.texi (Rounding Functions): Fix rint description
18350 implicit in round description.
18351
702e8f14
UD
183522010-07-02 Ulrich Drepper <drepper@redhat.com>
18353
18354 * elf/Makefile: Fix linking for a few tests to make recent linker
18355 happy.
18356
52ed8be9
AS
183572010-06-30 Andreas Schwab <schwab@redhat.com>
18358
18359 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18360 $(common-objpfx)libc_nonshared.a.
18361
f47c9a11
LM
183622010-06-21 Luis Machado <luisgpm@br.ibm.com>
18363
18364 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18365 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18366 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18367 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18368 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18369 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18370 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18371 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18386 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18387 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18388 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18389 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18390 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18391 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18392 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18393 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18394 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18395 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18396 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18397 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18412
6fb8cbcb
L
184132010-06-25 H.J. Lu <hongjiu.lu@intel.com>
18414
18415 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18416 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
18417 * string/memmove.c (memmove): Renamed to ...
18418 (MEMMOVE): ...this. Default to memmove.
18419 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18420 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18421 (END_CHK): Define.
18422 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18423 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18424 mempcpy-ssse3-back memmove-ssse3-back.
18425 * sysdeps/x86_64/multiarch/bcopy.S: New file .
18426 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18427 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18428 * sysdeps/x86_64/multiarch/memcpy.S: New file.
18429 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18430 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18431 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18432 * sysdeps/x86_64/multiarch/memmove.c: New file.
18433 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18434 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18435 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18436 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18437 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18438 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18439 Define.
18440 (index_Fast_Copy_Backward): Define.
18441 (HAS_ARCH_FEATURE): Define.
18442 (HAS_FAST_REP_STRING): Define.
18443 (HAS_FAST_COPY_BACKWARD): Define.
18444
4e733bac 184452010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
18446
18447 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18448 Restore proper fallback handling.
18449
63c4ed22
UD
184502010-06-19 Ulrich Drepper <drepper@redhat.com>
18451
ac2b484c
UD
18452 [BZ #11701]
18453 * posix/group_member.c (__group_member): Correct checking loop.
18454
63c4ed22
UD
18455 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
18456 OOM in getpwuid_r correctly. Return error number when the caller
18457 should return, otherwise -1.
18458 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
18459 call returning > 0 value.
18460 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
18461
765ade4b
AS
184622010-06-07 Andreas Schwab <schwab@redhat.com>
18463
18464 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
18465 libc_nonshared.a from targets in modules-names.
18466
80da2e09
KS
184672010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
18468
18469 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
18470 requires it.
18471
158db122
LM
184722010-06-10 Luis Machado <luisgpm@br.ibm.com>
18473
18474 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
18475 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
18476 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
18477 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
18478
caa78cf8
AS
184792010-06-02 Andreas Schwab <schwab@redhat.com>
18480
18481 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
18482
b2ef2c01
UD
184832010-06-14 Ulrich Drepper <drepper@redhat.com>
18484
18485 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
18486 and F_GETPIPE_SZ.
18487 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18488 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18489 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18490 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18491 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18492 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
18493
fbd643b6
RM
184942010-06-14 Roland McGrath <roland@redhat.com>
18495
18496 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
18497
f32f2869
JJ
184982010-06-07 Jakub Jelinek <jakub@redhat.com>
18499
18500 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
18501 __REDIRECT followed by __THROW.
18502 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
18503 * posix/getopt.h (getopt): Likewise.
18504
2a50c078
EPM
185052010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18506
18507 * hurd/lookup-at.c (__file_name_lookup_at): Accept
18508 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
18509 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
18510 in AT_FLAGS.
18511 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
18512 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
18513
eb5ad2eb
LM
185142010-05-28 Luis Machado <luisgpm@br.ibm.com>
18515
18516 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
18517
3c88fe1e
L
185182010-05-26 H.J. Lu <hongjiu.lu@intel.com>
18519
18520 [BZ #11640]
18521 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18522 Properly check family and model.
18523
d2f73151
TY
185242010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
18525
18526 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
18527
ebd2e13d
LM
185282010-05-24 Luis Machado <luisgpm@br.ibm.com>
18529
18530 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
18531
b32b8b45
UD
185322010-05-21 Ulrich Drepper <drepper@redhat.com>
18533
18534 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
18535 symbol reference.
18536
9acbe24d
AS
185372010-05-19 Andreas Schwab <schwab@redhat.com>
18538
18539 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
18540 symbol reference.
18541
f0ccf6ea
AS
185422010-05-21 Andreas Schwab <schwab@redhat.com>
18543
3d04ff3a
AS
18544 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
18545 and internal_recvmmsg.
18546 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
18547 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
18548 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
18549 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
18550
f0ccf6ea
AS
18551 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
18552 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18553 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18554
5b08ac57
AS
185552010-05-20 Andreas Schwab <schwab@redhat.com>
18556
18557 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
18558
4828935d
LM
185592010-05-17 Luis Machado <luisgpm@br.ibm.com>
18560
18561 POWER7 optimizations.
18562 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
18563 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
18564
373d545e
UD
185652010-05-19 Ulrich Drepper <drepper@redhat.com>
18566
18567 * version.h: Update for 2.13 development version.
18568
21a2b1ae
AS
185692010-05-12 Andrew Stubbs <ams@codesourcery.com>
18570
18571 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
18572 exceptions. Return 0.
18573
3f7dcb2b
RM
185742010-05-07 Roland McGrath <roland@redhat.com>
18575
18576 * elf/ldconfig.c (main): Add a const.
18577
5f24d53a 185782010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 18579
a160f8d8
UD
18580 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
18581 (args_options): Add no-idn option.
18582 (ahosts_keys_int): Add idn_flags to ai_flags.
18583 (parse_option): Handle 'i' option to clear idn_flags.
18584
5f24d53a
UD
18585 * malloc/malloc.c (_int_free): Possible race in the most recently
18586 added check. Only act on the data if no current modification
18587 happened.
265bb1ce
UD
18588
18589See ChangeLog.17 for earlier changes.