]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Fix ChangeLog format.
[thirdparty/glibc.git] / ChangeLog
1 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
2
3 [BZ #14252]
4 * powerpc32/power6/wcschr.c: New file.
5 * powerpc32/power6/wcscpy.c: New file.
6 * powerpc32/power6/wcsrchr.c: New file.
7 * powerpc64/power6/wcschr.c: New file.
8 * powerpc64/power6/wcscpy.c: New file.
9 * powerpc64/power6/wcsrchr.c: New file.
10
11 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
12
13 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
14 (two_way_short_needle): Use it.
15 * string/strstr.c (AVAILABLE1_USES_J): Define.
16 * string/strcasestr.c: Likewise.
17
18 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19 array references.
20 * string/strcasestr.c (TOLOWER): Make side-effect safe.
21
22 [BZ #11607]
23 * NEWS: Add an entry.
24 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
25 define their defaults.
26 (two_way_short_needle): Detect end-of-string on-the-fly.
27 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
28 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29 * string/bug-strcasestr1.c: New test.
30 * string/Makefile: Run it.
31
32 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33
34 [BZ #11607]
35 * string/str-two-way.h (two_way_short_needle): Optimize matching of
36 the first character.
37
38 2012-08-21 Roland McGrath <roland@hack.frob.com>
39
40 * csu/elf-init.c (__libc_csu_irel): Function removed.
41 * csu/libc-start.c (apply_irel): New function.
42 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
43
44 2012-08-21 Joseph Myers <joseph@codesourcery.com>
45
46 * sysdeps/unix/sysv/linux/kernel-features.h
47 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
48 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
49 <kernel-features.h>.
50 [__NR_fadvise64_64]: Make code unconditional.
51 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
52 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
53 !__NR_fadvise64_64)]: Likewise.
54 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
55 !__NR_fadvise64_64))]: Likewise.
56 [__NR_fadvise64]: Make code unconditional.
57 [!__NR_fadvise64]: Remove conditional code.
58 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
59 <kernel-features.h>.
60 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61 unconditional.
62 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
63 conditional code.
64 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
65 not include <kernel-features.h>.
66 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
67 unconditional.
68 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
69 conditional code.
70 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
71 include <kernel-features.h>.
72 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
73 unconditional.
74 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
75 conditional code.
76
77 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
78
79 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
80 slight instruction rearrangements per scrollpipe analysis.
81 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
82
83 2012-08-20 Roland McGrath <roland@hack.frob.com>
84
85 * manual/syslog.texi (syslog; vsyslog, closelog):
86 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
87 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
88
89 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
90 DSOCAPS to match condition on defining it.
91
92 2012-08-20 Joseph Myers <joseph@codesourcery.com>
93
94 * sysdeps/unix/sysv/linux/kernel-features.h
95 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
96 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
97 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
98 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
99 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
100 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
101 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
103 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
104 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
105
106 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
107 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
108
109 * sysdeps/unix/sysv/linux/kernel-features.h
110 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
111 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
112 unconditional.
113 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
114 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
115 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
116 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
117 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
118 Make code unconditional.
119 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
120 (__mmap64) [!__NR_mmap2]: Likewise.
121 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
122 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
123 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
124 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
125 [__NR_mmap2]: Make code unconditional.
126 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
127 (__mmap64) [!__NR_mmap2]: Likewise.
128
129 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
130
131 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
132
133 2012-08-18 Andreas Jaeger <aj@suse.de>
134
135 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
136
137 2012-08-18 Mike Frysinger <vapier@gentoo.org>
138
139 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
140 * include/unistd.h (__have_sock_cloexec): Likewise.
141 (__have_pipe2): Likewise.
142 (__have_dup3): Likewise.
143
144 2012-08-18 Mike Frysinger <vapier@gentoo.org>
145
146 [BZ #9685]
147 * include/unistd.h (__have_pipe2): Change define into an extern int.
148 (__have_dup3): Likewise.
149 * socket/have_sock_cloexec.c: Include fcntl.h.
150 (__have_pipe2): New variable.
151 (__have_dup3): Likewise.
152
153 2012-08-17 Mike Frysinger <vapier@gentoo.org>
154
155 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
156
157 2012-08-17 Marek Polacek <polacek@redhat.com>
158
159 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
160 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
161
162 2012-08-17 Roland McGrath <roland@hack.frob.com>
163
164 * configure.in: Add AC_SUBST for sysheaders.
165 * configure: Regenerated.
166 * config.make.in (sysheaders): New substituted variable.
167
168 * sysdeps/unix/mkfifo.c: Moved ...
169 * sysdeps/posix/mkfifo.c: ... here.
170 * sysdeps/unix/mkfifoat.c: Moved ...
171 * sysdeps/posix/mkfifoat.c: ... here.
172
173 * sysdeps/unix/utime.c: Moved ...
174 * sysdeps/posix/utime.c: ... here.
175
176 * sysdeps/unix/time.c: Moved ...
177 * sysdeps/posix/time.c: ... here.
178 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
179 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
180
181 * sysdeps/unix/nice.c: Moved ...
182 * sysdeps/posix/nice.c: ... here.
183
184 * sysdeps/unix/alarm.c: Moved ...
185 * sysdeps/posix/alarm.c: ... here.
186
187 * intl/Makefile ($(codeset_mo)): Depend on the input file.
188
189 2012-08-17 Jeff Law <law@redhat.com>
190
191 * intl/Makefile (codeset_mo): New variable.
192 ($(codeset_mo)): New target.
193 (tst-codeset.out): Depend on that. Remove explicit rule.
194 (tst-gettext3.out, tst-gettext5.out): Likewise.
195 (LOCPATH-ENV, tst-codeset-ENV): New variables.
196 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
197 * intl/tst-codeset.sh: Remove.
198 * intl/tst-gettext3.sh: Likewise.
199 * intl/tst-gettext5.sh: Likewise.
200
201 2012-08-17 Roland McGrath <roland@hack.frob.com>
202
203 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
204 * sysdeps/unix/syscalls.list: ... here.
205
206 * sysdeps/posix/getaddrinfo.c
207 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
208 (gaiconf_init, gaiconf_reload): Use them.
209 [!_STATBUF_ST_NSEC]
210 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
211 Define using time_t rather than struct timespec.
212
213 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
214 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
215 Macros removed.
216 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
217 [!NO_THREADS].
218 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
219 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
220 Likewise.
221
222 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
223 __libc_cleanup_push argument.
224
225 * bits/param.h: New file.
226 * misc/sys/param.h: New file.
227 * include/sys/param.h: New file.
228 * misc/Makefile (headers): Add bits/param.h.
229 * sysdeps/generic/sys/param.h: File removed.
230 * sysdeps/unix/sysv/linux/bits/param.h: New file.
231 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
232 * sysdeps/mach/hurd/bits/param.h: New file.
233 * sysdeps/mach/hurd/sys/param.h: New file.
234
235 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
236 last change.
237
238 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
239 [_IO_MTSAFE_IO].
240 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
241 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
242 New macros.
243
244 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
245 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
246 rather than -D_IO_MTSAFE_IO conditionally.
247 * stdio-common/Makefile (CPPFLAGS): Likewise.
248 * wcsmbs/Makefile (CPPFLAGS): Likewise.
249 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
250 Use $(libio-mtsafe).
251 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
252 of -D_IO_MTSAFE_IO.
253 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
254 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
255 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
256 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
257 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
258 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
259 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
260 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
261 (CFLAGS-fread_u_chk.c): Likewise.
262 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
263 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
264 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
265 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
266 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
267 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
268 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
269 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
270 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
271
272 * libio/Makefile: Test [$(libc-reentrant) = yes]
273 instead of [$(filter %REENTRANT, $(defines)) nonempty].
274
275 * Makeconfig
276 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
277 * sysdeps/pthread/configure: File removed.
278 * sysdeps/pthread/Makeconfig: New file.
279 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
280 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
281
282 2012-08-16 Gary Benson <gbenson@redhat.com>
283
284 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
285 unmapping the first object in a namespace.
286
287 2012-08-16 Roland McGrath <roland@hack.frob.com>
288
289 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
290 (__internal_setnetgrent): ... this. Add internal_function to
291 definition. Add libc_hidden_def.
292 (setnetgrent): Update caller.
293 (internal_endnetgrent): Renamed to ...
294 (__internal_endnetgrent): ... this. Add internal_function to
295 definition. Add libc_hidden_def.
296 (endnetgrent): Update caller.
297 (internal_getnetgrent_r): Renamed to ...
298 (__internal_getnetgrent_r): ... this. Add internal_function to
299 definition. Add libc_hidden_def.
300 (__getnetgrent_r): Update caller.
301 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
302
303 2012-08-16 Joseph Myers <joseph@codesourcery.com>
304
305 * stdlib/longlong.h: Update from GCC.
306
307 2012-08-16 Roland McGrath <roland@hack.frob.com>
308
309 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
310 on _QL, which is set by umul_ppmm but never used.
311 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
312 variables, which are set by GMP macros but never used.
313 * stdio-common/_itowa.c (_itowa): Likewise.
314 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
315 * stdlib/mod_1.c (mpn_mod_1): Likewise.
316
317 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
318
319 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
320 struct La_sh_regs is not constant.
321 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
322 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
323 and struct La_sparc64_regs are not constant.
324
325 2012-08-16 Joseph Myers <joseph@codesourcery.com>
326
327 * sysdeps/unix/sysv/linux/kernel-features.h
328 (__ASSUME_POSIX_TIMERS): Remove.
329 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
330 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
331 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
332 Make code unconditional.
333 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
334 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
335 Make code unconditional.
336 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
337 * sysdeps/unix/sysv/linux/clock_nanosleep.c
338 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
339 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
340 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
341 Make code unconditional.
342 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
343 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
344 (__libc_missing_posix_timers): Remove.
345
346 2012-08-15 Roland McGrath <roland@hack.frob.com>
347
348 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
349 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
350
351 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
352
353 * elf/dl-sym.c: Include <stdlib.h>.
354
355 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
356 constants, which avoids warnings in 32-bit builds.
357
358 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
359 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
360
361 * misc/lseek.c: File moved to ...
362 * io/lseek.c: ... here.
363
364 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
365
366 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
367 shifting LEN more than 31 bits at once.
368
369 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
370
371 [BZ #14195]
372 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
373 segmentation fault for a case of two empty input strings.
374 * string/test-strncasecmp.c (check1): Renamed to...
375 (bz12205): ...this.
376 (bz14195): Add new testcase for two empty input strings and N > 0.
377 (test_main): Call new testcase, adapt for renamed function.
378
379 2012-08-15 Andreas Jaeger <aj@suse.de>
380
381 [BZ #14090]
382 * crypt/md5test2.c: New test, based on test supplied by Serge
383 Belyshev <belyshev@depni.sinp.msu.ru>.
384 * crypt/Makefile (xtests): Add md5test-giant..
385 * crypt/Makefile ($(objpfx)md5test-giant): Add.
386
387 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
388
389 [BZ #14090]
390 * crypt/md5.c (md5_process_block): Don't assume the buffer
391 length is less than 2**32.
392 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
393 length is less than 2**64.
394
395 2012-08-15 Roland McGrath <roland@hack.frob.com>
396
397 * string/str-two-way.h: Include <sys/param.h>.
398 (MAX): Macro removed.
399
400 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
401 Move #define and #undef of memmove to just before and after
402 including <string.h>.
403
404 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
405 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
406 and after including <string.h>. Move declarations of
407 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
408 to before #include "string/memmove.c".
409
410 * include/dirent.h: Declare __getdirentries.
411
412 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
413 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
414
415 2012-08-14 Mike Frysinger <vapier@gentoo.org>
416
417 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
418 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
419 * sysdeps/i386/configure: Regenerated.
420 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
421 STABS_CURRENT_FILE, and STABS_FUN.
422 (END): Remove call to STABS_FUN_END.
423 (STABS_CURRENT_FILE1): Delete.
424 (STABS_CURRENT_FILE): Likewise.
425 (STABS_FUN): Likewise.
426 (STABS_FUN_END): Likewise.
427 (STABS_FUN2): Likewise.
428 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
429 * sysdeps/x86_64/configure: Regenerated.
430
431 2012-08-14 Roland McGrath <roland@hack.frob.com>
432
433 * elf/dl-open.c: Include <atomic.h>.
434 * elf/dl-lookup.c: Likewise.
435
436 2012-08-14 Joseph Myers <joseph@codesourcery.com>
437
438 * sysdeps/unix/sysv/linux/kernel-features.h
439 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
440 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
441 unconditionally.
442 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
443 unconditionally.
444 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
445 condition on __ASSUME_CLONE_THREAD_FLAGS.
446
447 2012-08-14 Andreas Jaeger <aj@suse.de>
448
449 * sysdeps/i386/fpu/libm-test-ulps: Update.
450
451 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
452
453 * include/atomic.h (atomic_exchange_and_add): Split into ...
454 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
455 New atomic macros.
456
457 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
458
459 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
460
461 2012-08-13 Jeff Law <law@redhat.com>
462
463 * manual/stdio.texi (snprintf): Clarify handling of the trailing
464 null byte in the output string.
465
466 2012-08-10 Joseph Myers <joseph@codesourcery.com>
467
468 * sysdeps/unix/sysv/linux/kernel-features.h
469 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
470 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
471 (__ASSUME_ARG_MAX_STACK_BASED): Define.
472 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
473 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
474 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
475 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
476
477 2012-08-09 Jeff Law <law@redhat.com>
478
479 [BZ #13939]
480 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
481 When avoid_arena is set, don't retry in the that arena. Pick the
482 next one, whatever it might be.
483 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
484 (arena_lock): Pass in new parameter to arena_get2.
485 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
486 arena_get2.
487 (__libc_malloc): Unify retrying after main arena failure with
488 __libc_memalign version.
489 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
490
491 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
492
493 [BZ #14166]
494 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
495 to __redirect_strstr.
496 (__strstr_sse42): Use typeof __redirect_strstr.
497 (__strstr_ia32): Likewise.
498 (__libc_strstr): New prototype.
499 (strstr): Renamed to ...
500 (__libc_strstr): This.
501 (strstr): New strong alias of __libc_strstr.
502 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
503 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
504 __redirect_time.
505 Include <time.h>.
506 (__libc_time): New prototype.
507 (time_ifunc): Replace time with __libc_time.
508 (time): New strong alias and hidden definition of __libc_time.
509 (__GI_time): Remove strong alias.
510 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
511 Include <stddef.h>.
512 (memmove): Redefined to __redirect_memmove.
513 (__memmove_sse2): Use typeof __redirect_memmove.
514 (__memmove_ssse3): Likewise.
515 (__memmove_ssse3_back): Likewise.
516 (__libc_memmove): New prototype.
517 (memmove): Renamed to ...
518 (__libc_memmove): This.
519 (memmove): New strong alias of __libc_memmove.
520
521 2012-08-08 Mark Salter <msalter@redhat.com>
522
523 * elf/elf.h
524 (R_MN10300_TLS_GD): Define.
525 (R_MN10300_TLS_LD): Likewise.
526 (R_MN10300_TLS_LDO): Likewise.
527 (R_MN10300_TLS_GOTIE): Likewise.
528 (R_MN10300_TLS_IE): Likewise.
529 (R_MN10300_TLS_LE): Likewise.
530 (R_MN10300_TLS_DTPMOD): Likewise.
531 (R_MN10300_TLS_DTPOFF): Likewise.
532 (R_MN10300_TLS_TPOFF): Likewise.
533 (R_MN10300_SYM_DIFF): Likewise.
534 (R_MN10300_ALIGN): Likewise.
535 (R_MN10300_NUM): Update.
536
537 2012-08-08 Joseph Myers <joseph@codesourcery.com>
538
539 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
540 Remove.
541
542 2012-08-08 Roland McGrath <roland@hack.frob.com>
543
544 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
545
546 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
547 sysdeps/unix -> sysdeps/posix move.
548 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
549
550 2012-08-07 Allan McRae <allan@archlinux.org>
551
552 [BZ #14303]
553 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
554 (SUNOS_CPP): Likewise.
555 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
556 not found.
557 (open_input): Call CPP using execvp.
558
559 2012-08-07 Joseph Myers <joseph@codesourcery.com>
560
561 * sysdeps/unix/sysv/linux/kernel-features.h
562 (__ASSUME_PROT_GROWSUPDOWN): Remove.
563 (__ASSUME_NO_CLONE_DETACHED): Likewise.
564 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
565 (__ASSUME_WAITID_SYSCALL): Likewise.
566 * sysdeps/unix/sysv/linux/dl-execstack.c
567 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
568 code unconditional.
569 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
570 conditional code.
571 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
572 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
573 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
574 code.
575 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
576 unconditional.
577 [__ASSUME_WAITID_SYSCALL]: Likewise.
578 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
579
580 2012-08-07 Roland McGrath <roland@hack.frob.com>
581
582 * sysdeps/unix/closedir.c: Renamed to ...
583 * sysdeps/posix/closedir.c: ... here.
584 * sysdeps/unix/dirfd.c: Renamed to ...
585 * sysdeps/posix/dirfd.c: ... here.
586 * sysdeps/unix/dirstream.h: Renamed to ...
587 * sysdeps/posix/dirstream.h: ... here.
588 * sysdeps/unix/fdopendir.c: Renamed to ...
589 * sysdeps/posix/fdopendir.c: ... here.
590 * sysdeps/unix/opendir.c: Renamed to ...
591 * sysdeps/posix/opendir.c: ... here.
592 * sysdeps/unix/readdir.c: Renamed to ...
593 * sysdeps/posix/readdir.c: ... here.
594 * sysdeps/unix/readdir_r.c: Renamed to ...
595 * sysdeps/posix/readdir_r.c: ... here.
596 * sysdeps/unix/rewinddir.c: Renamed to ...
597 * sysdeps/posix/rewinddir.c: ... here.
598 * sysdeps/unix/seekdir.c: Renamed to ...
599 * sysdeps/posix/seekdir.c: ... here.
600 * sysdeps/unix/telldir.c: Renamed to ...
601 * sysdeps/posix/telldir.c: ... here.
602 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
603 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
604 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
605 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
606
607 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
608 * bits/fcntl.h: ... here.
609
610 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
611 not 0.
612 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
613 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
614 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
615 (struct flock): Move l_start, l_len to the beginning.
616 Use __pid_t for l_pid.
617 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
618 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
619 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
620 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
621 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
622 [__USE_LARGEFILE64] (struct flock64): New type.
623 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
624
625 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
626 * bits/dirent.h: ... here.
627
628 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
629 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
630
631 2012-08-07 Joseph Myers <joseph@codesourcery.com>
632
633 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
634 Change from 2.6.0 to 2.6.16.
635 * sysdeps/unix/sysv/linux/configure: Regenerated.
636 * sysdeps/unix/sysv/linux/kernel-features.h
637 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
638 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
639 version.
640 (__ASSUME_UTIMES): Likewise.
641 (__ASSUME_CLONE_STOPPED): Remove.
642 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
643 architectures, not kernel version.
644 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
645 (__ASSUME_NO_CLONE_DETACHED): Likewise.
646 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
647 (__ASSUME_WAITID_SYSCALL): Likewise.
648 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
649 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
650 * README: State 2.6.16 as minimum Linux kernel version. Do not
651 refer to older versions.
652
653 2012-08-06 Roland McGrath <roland@hack.frob.com>
654
655 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
656 Define alphasort64 as an alias.
657 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
658 Define versionsort64 as an alias.
659 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
660 Define scandir64 as an alias.
661 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
662 Define scandirat64 as an alias.
663 * dirent/alphasort64.c (alphasort64):
664 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
665 * dirent/versionsort64.c: Likewise.
666 * dirent/scandir64.c: Likewise.
667 * dirent/scandirat64.c: Likewise.
668 * sysdeps/wordsize-64/alphasort.c: File removed.
669 * sysdeps/wordsize-64/alphasort64.c: File removed.
670 * sysdeps/wordsize-64/scandir.c: File removed.
671 * sysdeps/wordsize-64/scandir64.c: File removed.
672 * sysdeps/wordsize-64/scandirat.c: File removed.
673 * sysdeps/wordsize-64/scandirat64.c: File removed.
674 * sysdeps/wordsize-64/versionsort.c: File removed.
675 * sysdeps/wordsize-64/versionsort64.c: File removed.
676 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
677 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
678 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
679 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
680 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
681 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
682 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
683 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
684
685 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
686 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
687 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
688 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
689 [defined __arch64__ || defined __sparcv9]
690 (__INO_T_MATCHES_INO64_T): New macro.
691 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
692 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
693 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
694 * sysdeps/unix/sysv/linux/bits/dirent.h
695 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
696 (_DIRENT_MATCHES_DIRENT64): New macro.
697
698 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
699 Define lockf64 as an alias.
700 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
701 Define fseeko64 as an alias.
702 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
703 Define ftello64 as an alias.
704 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
705 Define _IO_fgetpos64 and fgetpos64 as aliases.
706 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
707 Define _IO_fsetpos64 and fsetpos64 as aliases.
708 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
709 Conditionalize body on this.
710 * libio/fseeko64.c: Likewise.
711 * libio/ftello64.c: Likewise.
712 * libio/iofgetpos64.c: Likewise.
713 * libio/iofsetpos64.c: Likewise.
714 * sysdeps/wordsize-64/lockf.c: File removed.
715 * sysdeps/wordsize-64/lockf64.c: File removed.
716 * sysdeps/wordsize-64/fseeko.c: File removed.
717 * sysdeps/wordsize-64/fseeko64.c: File removed.
718 * sysdeps/wordsize-64/ftello.c: File removed.
719 * sysdeps/wordsize-64/ftello64.c: File removed.
720 * sysdeps/wordsize-64/iofgetpos.c: File removed.
721 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
722 * sysdeps/wordsize-64/iofsetpos.c: File removed.
723 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
724 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
725 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
726 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
727 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
728 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
729 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
730 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
731 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
732 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
733 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
734
735 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
736 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
737 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
738 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
739 [defined __arch64__ || defined __sparcv9]
740 (__OFF_T_MATCHES_OFF64_T): New macro.
741 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
742 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
743 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
744 (__OFF_T_MATCHES_OFF64_T): New macro.
745
746 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
747
748 * stdlib/secure-getenv.c (__secure_getenv): Replace
749 GLIBC_2_16 with GLIBC_2_17.
750
751 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
752
753 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
754 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
755
756 2012-08-03 David S. Miller <davem@davemloft.net>
757
758 * sysdeps/sparc/fpu/libm-test-ulps: Update.
759
760 2012-08-03 Joseph Myers <joseph@codesourcery.com>
761
762 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
763 Remove.
764 (__ASSUME_CORRECT_SI_PID): Likewise.
765 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
766 (__ASSUME_TMPFS_NAME): Likewise.
767 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
768 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
769 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
770 (HAVE_AUX_SECURE): Make definition unconditional.
771 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
772 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
773
774 2012-08-03 Roland McGrath <roland@hack.frob.com>
775
776 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
777 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
778 * sysdeps/mach/hurd/eloop-threshold.h: New file.
779 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
780 __eloop_threshold instead of SYMLOOP_MAX.
781
782 * sysdeps/generic/eloop-threshold.h: New file.
783 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
784 of MAXSYMLINKS.
785 * elf/chroot_canon.c (chroot_canon): Likewise.
786
787 2012-08-03 Joseph Myers <joseph@codesourcery.com>
788
789 [BZ #13717]
790 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
791 Change to 2.6.0 everywhere.
792 * sysdeps/unix/sysv/linux/configure: Regenerated.
793 * sysdeps/unix/sysv/linux/kernel-features.h
794 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
795 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
796 kernel versions.
797 (__ASSUME_POSIX_TIMERS): Define unconditionally.
798 (__ASSUME_FUTEX_REQUEUE): Remove.
799 (__ASSUME_STATFS64): Define unconditionally.
800 (__ASSUME_AT_SECURE): Likewise.
801 (__ASSUME_CORRECT_SI_PID): Likewise.
802 (__ASSUME_TGKILL): Define without depending on kernel version for
803 i386.
804 (__ASSUME_UTIMES): Likewise.
805 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
806 kernel version.
807 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
808 (__ASSUME_TMPFS_NAME): Likewise.
809 * README: Update reference to Linux kernel versions.
810
811 2012-08-02 Marek Polacek <polacek@redhat.com>
812
813 [BZ#14150]
814 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
815 libc_cv_asm_type_prefix with %.
816 * configure: Regenerated.
817 * include/libc-symbols.h: Remove comment about
818 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
819 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
820 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
821 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
822 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
823 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
824 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
825 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
826 * elf/tst-unique2mod1.c: Likewise.
827 * elf/tst-unique1mod2.c: Likewise.
828 * elf/tst-unique1mod1.c: Likewise.
829 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
830 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
831 Replace ASM_TYPE_DIRECTIVE with .type.
832 * sysdeps/s390/s390-64/sysdep.h: Likewise.
833 * sysdeps/i386/sysdep.h: Likewise.
834 * sysdeps/x86_64/sysdep.h: Likewise.
835 * sysdeps/sh/sysdep.h: Likewise.
836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
837 Do not define ASM_TYPE_DIRECTIVE.
838 * sysdeps/powerpc/sysdep.h: Likewise.
839 * sysdeps/powerpc/powerpc32/sysdep.h:
840 Replace ASM_TYPE_DIRECTIVE with .type.
841 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
842 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
843 * sysdeps/i386/fpu/e_powf.S: Likewise.
844 * sysdeps/i386/fpu/e_expl.S: Likewise.
845 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
846 * sysdeps/i386/fpu/e_acosh.S: Likewise.
847 * sysdeps/i386/fpu/e_pow.S: Likewise.
848 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
849 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
850 * sysdeps/i386/fpu/s_expm1.S: Likewise.
851 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
852 * sysdeps/i386/fpu/e_log2.S: Likewise.
853 * sysdeps/i386/fpu/e_log2l.S: Likewise.
854 * sysdeps/i386/fpu/e_scalb.S: Likewise.
855 * sysdeps/i386/fpu/e_powl.S: Likewise.
856 * sysdeps/i386/fpu/e_log10f.S: Likewise.
857 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
858 * sysdeps/i386/fpu/e_logl.S: Likewise.
859 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
860 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
861 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
862 * sysdeps/i386/fpu/e_log2f.S: Likewise.
863 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
864 * sysdeps/i386/fpu/e_log.S: Likewise.
865 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
866 * sysdeps/i386/fpu/e_logf.S: Likewise.
867 * sysdeps/i386/fpu/e_log10l.S: Likewise.
868 * sysdeps/i386/fpu/e_atanh.S: Likewise.
869 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
870 * sysdeps/i386/fpu/e_log10.S: Likewise.
871 * sysdeps/i386/fpu/s_frexp.S: Likewise.
872 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
873 * sysdeps/i386/fpu/s_asinh.S: Likewise.
874 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
875 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
876 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
877 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
878 * sysdeps/i386/i686/strtok.S: Likewise.
879 * sysdeps/i386/i386-mcount.S: Likewise.
880 * sysdeps/i386/strtok.S: Likewise.
881 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
882 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
883 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
884 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
885 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
886 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
887 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
888 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
889 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
890 * sysdeps/x86_64/_mcount.S: Likewise.
891 * sysdeps/x86_64/strtok.S: Likewise.
892 * sysdeps/sh/_mcount.S: Likewise.
893
894 2012-08-01 Roland McGrath <roland@hack.frob.com>
895
896 * libio/iofopen.c: Include <fcntl.h>.
897 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
898 (_IO_fopen64, fopen64): Define as aliases.
899 * libio/iofopen64.c: Include <fcntl.h>.
900 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
901 Conditionalize body on this.
902 * sysdeps/wordsize-64/iofopen.c: File removed.
903 * sysdeps/wordsize-64/iofopen64.c: File removed.
904
905 2012-08-01 Marek Polacek <polacek@redhat.com>
906
907 * libc/Makeconfig: Use elf in place of binfmt-subdir.
908 Use dlfcn directly instead of a variable.
909 (binfmt-subdir): Do not define.
910 (dlfcn): Likewise.
911
912 2012-08-01 Joseph Myers <joseph@codesourcery.com>
913
914 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
915 Remove all definitions.
916 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
917 <kernel-features.h>.
918 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
919 (miss_F_GETOWN_EX): Remove all definitions.
920 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
921 macro definition.
922 [!__ASSUME_FCNTL64]: Remove conditional code.
923 [__ASSUME_FCNTL64]: Make code unconditional.
924 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
925 <kernel-features.h>.
926 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
927 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
928 (lockf64) [__NR_fcntl64]: Make code unconditional.
929 (lockf64) [__ASSUME_FCNTL64]: Likewise.
930
931 * sysdeps/unix/sysv/linux/kernel-features.h
932 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
933 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
934 Make code unconditional.
935 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
936 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
938 [__NR_vfork]: Make code unconditional.
939 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
940 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
942 [__NR_vfork]: Make code unconditional.
943 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
944 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
945
946 2012-08-01 Roland McGrath <roland@hack.frob.com>
947
948 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
949 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
950
951 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
952 Define mkstemp64 as an alias.
953 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
954 Define mkstemps64 as an alias.
955 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
956 Define mkostemp64 as an alias.
957 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
958 Define mkostemps64 as an alias.
959 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
960 Conditionalize body on this.
961 * misc/mkostemp64.c: Likewise.
962 * misc/mkostemps64.c: Likewise.
963 * misc/mkstemps64.c: Likewise.
964 * sysdeps/wordsize-64/mkstemp64.c: File removed.
965 * sysdeps/wordsize-64/mkostemp64.c: File removed.
966 * sysdeps/wordsize-64/mkostemp.c: File removed.
967 * sysdeps/wordsize-64/mkstemp.c: File removed.
968 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
969 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
970 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
971 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
972
973 [BZ #14138]
974 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
975 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
976 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
977 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
978
979 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
980 compat_symbol macros from <shlib-compat.h> rather than the underlying
981 default_symbol_version and symbol_version macros, so that DEFAULT
982 lines in shlib-versions are respected.
983 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
984
985 2012-08-01 Florian Weimer <fweimer@redhat.com>
986
987 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
988 Declare with warn_unused_result.
989 (setgid, setregid, setegid, setresgid): Likewise.
990 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
991 Likewise.
992 * WUR-REPORT: Remove set*id functions.
993
994 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
995
996 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
997
998 2012-07-31 Roland McGrath <roland@hack.frob.com>
999
1000 * include/sys/socket.h (__libc_accept, __libc_accept4):
1001 Add attribute_hidden.
1002 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
1003
1004 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
1005 use of PTR_MANGLE.
1006 * inet/getnetgrent_r.c (setup): Likewise.
1007
1008 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
1009
1010 2012-07-31 David S. Miller <davem@davemloft.net>
1011
1012 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1013
1014 2012-07-31 Joseph Myers <joseph@codesourcery.com>
1015
1016 [BZ #13629]
1017 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
1018 value between 1.0 and 2.0 and smaller part has absolute value less
1019 than 1.0.
1020 * math/s_clog10.c (__clog10): Likewise.
1021 * math/s_clog10f.c (__clog10f): Likewise.
1022 * math/s_clog10l.c (__clog10l): Likewise.
1023 * math/s_clogf.c (__clogf): Likewise.
1024 * math/s_clogl.c (__clogl): Likewise.
1025 * math/libm-test.inc (clog_test): Add more tests.
1026 (clog10_test): Likewise.
1027 * sysdeps/i386/fpu/libm-test-ulps: Update.
1028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1029
1030 2012-07-31 Florian Weimer <fweimer@redhat.com>
1031
1032 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
1033 Exit with zero in case no suitable GID is found, and write a
1034 message to standard error.
1035
1036 2012-07-30 Roland McGrath <roland@hack.frob.com>
1037
1038 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
1039 rather than to 1.
1040 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
1041 (MAXPATHLEN): Removed.
1042 (NOGROUP, NODEV): New macros.
1043 (setbit, clrbit, isset, isclr): New macros.
1044 (howmany, roundup, powerof2): New macros.
1045 (DEV_BSIZE): New macro.
1046
1047 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
1048 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
1049
1050 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
1051 definition on [!__NO_LONG_DOUBLE_MATH].
1052
1053 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
1054 PTR_MANGLE and PTR_DEMANGLE.
1055
1056 * socket/accept4.c (accept4): Rename to __libc_accept4.
1057 Define accept4 as a weak alias.
1058
1059 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
1060 on [_DIRENT_HAVE_D_TYPE].
1061 * io/ftw.c (ftw_dir): Likewise.
1062
1063 * io/xmknod.c (__xmknod): Don't check PATH for being null.
1064
1065 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
1066
1067 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
1068 Use the BSD numbers rather than the arbitrary ones we had.
1069 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
1070 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
1071 (SIGXCPU, SIGXFSZ): New macros.
1072 (_NSIG): Now 32.
1073
1074 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
1075 initializer on [_LIBC_REENTRANT].
1076
1077 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
1078 definitions inside [_POSIX_MAPPED_FILES].
1079
1080 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
1081
1082 * dirent/opendir.c: Include <fcntl.h>.
1083
1084 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
1085 (__libc_getspecific): Likewise.
1086 (__libc_key_create): Likewise.
1087
1088 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
1089 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
1090 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
1091 (tmpfile64): Define as alias.
1092 * sysdeps/wordsize-64/tmpfile.c: File removed.
1093 * sysdeps/wordsize-64/tmpfile64.c: File removed.
1094 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
1095 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
1096
1097 * stdio-common/vfscanf.c: Include <stdbool.h>.
1098 * nss/makedb.c: Likewise.
1099 * stdio-common/_i18n_number.h: Likewise.
1100 * argp/argp-help.c: Likewise.
1101 * posix/wordexp.c: Likewise.
1102 * sysdeps/posix/spawni.c: Likewise.
1103 * nss/nss_files/files-initgroups.c: Likewise.
1104 * stdio-common/reg-modifier.c: Include <stdlib.h>.
1105 * nss/nss_files/files-initgroups.c: Likewise.
1106 * nss/nss_db/db-netgrp.c: Likewise.
1107 * nss/nss_db/db-initgroups.c: Likewise.
1108 * io/fchmodat.c: Include <sys/stat.h>.
1109
1110 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
1111 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
1112
1113 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
1114 [HAVE_MMAP].
1115
1116 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
1117 Add multiple inclusion protection.
1118
1119 2012-07-27 David S. Miller <davem@davemloft.net>
1120
1121 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1122
1123 2012-07-27 Gary Benson <gbenson@redhat.com>
1124
1125 [BZ #14298]
1126 * elf/rtld.c: Include <stap-probe.h>.
1127 (dl_main): Added static probes "init_start" and "init_complete".
1128 * elf/dl-load.c: Include <stap-probe.h>.
1129 (lose): Take new parameter "nsid".
1130 Added static probe "map_failed".
1131 (_dl_map_object_from_fd): Pass namespace id to lose.
1132 Added static probe "map_start".
1133 (open_verify): Pass namespace id to lose.
1134 * elf/dl-open.c: Include <stap-probe.h>.
1135 (dl_open_worker) Added static probes "map_complete", "reloc_start"
1136 and "reloc_complete".
1137 * elf/dl-close.c: Include <stap-probe.h>.
1138 (_dl_close_worker): Added static probes "unmap_start" and
1139 "unmap_complete".
1140 * elf/rtld-debugger-interface.txt: New file documenting the above.
1141
1142 2012-07-26 Roland McGrath <roland@hack.frob.com>
1143
1144 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
1145 rather than a string variable.
1146 * sunrpc/rpc_main.c (h_output): Likewise.
1147 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
1148
1149 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
1150
1151 * inet/check_native.c: New file.
1152
1153 2012-07-26 Joseph Myers <joseph@codesourcery.com>
1154
1155 [BZ #13629]
1156 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
1157 if larger part has absolute value 1.0.
1158 * math/s_clog10.c (__clog10): Likewise.
1159 * math/s_clog10f.c (__clog10f): Likewise.
1160 * math/s_clog10l.c (__clog10l): Likewise.
1161 * math/s_clogf.c (__clogf): Likewise.
1162 * math/s_clogl.c (__clogl): Likewise.
1163 * math/libm-test.inc (clog_test): Add more tests.
1164 (clog10_test): Likewise.
1165 * sysdeps/i386/fpu/libm-test-ulps: Update.
1166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1167
1168 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
1169 (pltexit): Likewise.
1170 (La_regs): Likewise.
1171 (La_retval): Likewise.
1172 (int_retval): Likewise.
1173 Update #error for removed macros to refer only to definitions in
1174 tst-audit.h.
1175 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
1176 macro.
1177 (pltexit): Likewise.
1178 (La_regs): Likewise.
1179 (La_retval): Likewise.
1180 (int_retval): Likewise.
1181 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
1182 macro.
1183 (pltexit): Likewise.
1184 (La_regs): Likewise.
1185 (La_retval): Likewise.
1186 (int_retval): Likewise.
1187 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
1188 macro.
1189 (pltexit): Likewise.
1190 (La_regs): Likewise.
1191 (La_retval): Likewise.
1192 (int_retval): Likewise.
1193 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
1194 macro.
1195 (pltexit): Likewise.
1196 (La_regs): Likewise.
1197 (La_retval): Likewise.
1198 (int_retval): Likewise.
1199 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
1200 macro.
1201 (pltexit): Likewise.
1202 (La_regs): Likewise.
1203 (La_retval): Likewise.
1204 (int_retval): Likewise.
1205 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
1206 macro.
1207 (pltexit): Likewise.
1208 (La_regs): Likewise.
1209 (La_retval): Likewise.
1210 (int_retval): Likewise.
1211 * sysdeps/generic/tst-audit.h: Update comment to refer only to
1212 macro definitions in tst-audit.h.
1213 * sysdeps/i386/tst-audit.h: New file.
1214 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
1215 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
1216 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
1217 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
1218 * sysdeps/sh/tst-audit.h: Likewise.
1219 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
1220 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
1221 * sysdeps/x86_64/tst-audit.h: Likewise.
1222
1223 2012-07-26 Andreas Jaeger <aj@suse.de>
1224
1225 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
1226 ptrace.
1227
1228 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
1229 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
1230 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
1231 PTRACE_O_MASK.
1232 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
1233 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
1234 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
1235
1236 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
1237 value.
1238
1239 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
1240 _sigsys.
1241 (si_call_addr, si_syscall, si_arch): Define new macro.
1242 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
1243 _sigsys.
1244 (si_call_addr, si_syscall, si_arch): Define new marcro.
1245 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
1246 _sigsys.
1247 (si_call_addr, si_syscall, si_arch): Define new macro.
1248 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
1249 _sigsys.
1250 (si_call_addr, si_syscall, si_arch): Define new macro.
1251
1252 2012-07-25 Joseph Myers <joseph@codesourcery.com>
1253
1254 [BZ #13717]
1255 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1256 Change to 2.4.21 where previously 2.4.1.
1257 * sysdeps/unix/sysv/linux/configure: Regenerated.
1258 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
1259 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
1260 Linux kernel version.
1261 (__ASSUME_STD_AUXV): Remove.
1262 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
1263 kernel version.
1264 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
1265 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
1266 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
1267 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
1268 (__ASSUME_NETLINK_SUPPORT): Likewise.
1269 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
1270 (__no_netlink_support): Remove conditional definition.
1271 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
1272 Remove.
1273 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1274 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
1275 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
1276 (if_nameindex_ioctl): Remove.
1277 (if_nameindex_netlink): Do not handle __no_netlink_support.
1278 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1279 code.
1280 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
1281 Remove conditional code.
1282 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1283 code.
1284 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
1285 unconditional.
1286 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1287 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
1288 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
1289 Remove.
1290 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1291 [!__ASSUME_STD_AUXV]: Remove conditional code.
1292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
1293 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
1294 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
1295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
1296 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
1297 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1298 code.
1299 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1301 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
1302 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1303 conditional code.
1304 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1306 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1307 code.
1308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1309 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1310 conditional code.
1311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
1312 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1313 code unconditional.
1314 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1315 conditional code.
1316 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1317 unconditional.
1318 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1319 conditional code.
1320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1321 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1322 unconditional.
1323 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1324 conditional code.
1325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1326 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1327 code unconditional.
1328 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1329 conditional code.
1330 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1331 unconditional.
1332 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1333 conditional code.
1334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1335 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1336 code unconditional.
1337 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1338 conditional code.
1339 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1340 unconditional.
1341 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1342 conditional code.
1343
1344 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1345
1346 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
1347 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
1348 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1349 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
1350 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1351 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1352 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1353 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1354 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1355 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1356 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
1357 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1358 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
1359 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1360 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1361 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
1362 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1363 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
1364 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
1365 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
1366 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1367 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1368 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1369
1370 2012-07-25 Florian Weimer <fweimer@redhat.com>
1371
1372 * Versions.def: Add GLIBC_2.17.
1373 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
1374 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
1375 Introduce __libc_secure_getenv.
1376 * stdlib/Versions (2.17): Add secure_getenv
1377 (GLIBC_PRIVATE): Add __libc_secure_getenv.
1378 * stdlib/secure-getenv.c: Rename __secure_getenv to
1379 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
1380 symbol __secure_getenv for GLIBC_2.0.
1381 * stdlib/tst-secure-getenv.c: New.
1382 * stdlib/Makefile (tests): Add testcase.
1383 * manual/startup.texi (Environment Access): Document
1384 secure_getenv.
1385 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
1386 __libc_secure_getenv.
1387 * inet/ruserpass.c (ruserpass): Likewise.
1388 * malloc/mtrace.c (mtrace): Likewise.
1389 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
1390 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
1391 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
1392 * sysdeps/posix/tempname.c: Likewise. Evaluate
1393 HAVE_SECURE_GETENV.
1394 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
1395 __secure_getenv to __libc_secure_getenv.
1396 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
1397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1398 Likewise.
1399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1400 Likewise.
1401 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1402 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1403 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1404 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1405 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1406 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1407 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
1408
1409 2012-07-25 Joseph Myers <joseph@codesourcery.com>
1410
1411 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
1412 (struct La_i86_retval): Likewise.
1413 (struct La_x86_64_regs): Likewise.
1414 (struct La_x86_64_retval): Likewise.
1415 (struct La_x32_regs): Likewise.
1416 (struct La_x32_retval): Likewise.
1417 (struct La_ppc32_regs): Likewise.
1418 (struct La_ppc32_retval): Likewise.
1419 (struct La_ppc64_regs): Likewise.
1420 (struct La_ppc64_retval): Likewise.
1421 (struct La_sh_regs): Likewise.
1422 (struct La_sh_retval): Likewise.
1423 (struct La_s390_32_regs): Likewise.
1424 (struct La_s390_32_retval): Likewise.
1425 (struct La_s390_64_regs): Likewise.
1426 (struct La_s390_64_retval): Likewise.
1427 (struct La_sparc32_regs): Likewise.
1428 (struct La_sparc32_retval): Likewise.
1429 (struct La_sparc64_regs): Likewise.
1430 (struct La_sparc64_retval): Likewise.
1431 (struct audit_ifaces): Remove architecture-specific pltenter and
1432 pltexit members.
1433 * sysdeps/i386/ldsodefs.h: New file.
1434 * sysdeps/powerpc/ldsodefs.h: Likewise.
1435 * sysdeps/s390/ldsodefs.h: Likewise.
1436 * sysdeps/sh/ldsodefs.h: Likewise.
1437 * sysdeps/sparc/ldsodefs.h: Likewise.
1438 * sysdeps/x86_64/ldsodefs.h: Likewise.
1439
1440 2012-07-25 Marek Polacek <polacek@redhat.com>
1441
1442 [BZ #6808]
1443 * math/libm-test.inc (yn_test): Add another test.
1444 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
1445 to ERANGE when the result is +-Inf.
1446 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1447 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1448 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
1449 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
1450
1451 2012-07-24 Joseph Myers <joseph@codesourcery.com>
1452
1453 * conform/data/time.h-data (NULL): Use macro-constant. Require
1454 equal to 0.
1455 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
1456 clock_t.
1457 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
1458
1459 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
1460
1461 * configure.in <sysdeps resolving>: Correct printing
1462 Implies_before.
1463 * configure: Regenerate.
1464
1465 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
1466
1467 * math/w_ilogb.c: Include <limits.h>.
1468 * math/w_ilogbl.c: Likewise.
1469
1470 2012-07-20 Joseph Myers <joseph@codesourcery.com>
1471
1472 * manual/lang.texi (__va_copy): Document primarily as ISO C99
1473 va_copy. Document allowing for unavailable va_copy only as
1474 pre-C99 compatibility.
1475 * manual/string.texi (Copying and Concatenation): Use va_copy
1476 instead of __va_copy in concat example.
1477
1478 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
1479
1480 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1481 (__sendto): Use create_address_port. Initialize APORT and deallocate
1482 it if not null.
1483
1484 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1485 with O_NOLINK passed to __file_name_lookup.
1486
1487 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1488 with O_NOLINK passed to __file_name_lookup.
1489
1490 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1491 negative N or less than NGIDS.
1492
1493 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1494 type to string_t. Set ERANGE as errno and return it if NAME is not big
1495 enough. Use memcpy instead of strncpy.
1496
1497 2012-07-20 Joseph Myers <joseph@codesourcery.com>
1498
1499 * elf/Makefile (check-data): Remove.
1500 (localplt.data): New vpath directive.
1501 ($(objpfx)check-localplt.out): Use localplt.data from vpath
1502 instead of $(check-data).
1503 * scripts/data/localplt-generic.data: Move to ...
1504 * sysdeps/generic/localplt.data: ... here.
1505 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1506 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1507 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1509 ... here.
1510 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1512 ... here.
1513 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1514 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1515 ... here.
1516 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1517 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1518 ... here.
1519 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1520 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1521 ... here.
1522 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1523 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1524 ... here.
1525
1526 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1527
1528 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1529 PPC32 and PPC64 files.
1530 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1531 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1532
1533 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1534
1535 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1536 __makecontext_ret to ...
1537 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1538 ... here and call exit if uc_link is NULL. New file.
1539 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1540 __makecontext_ret.S.
1541 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1542 __makecontext_ret to ...
1543 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1544 ... here and call exit if uc_link is NULL. New file.
1545 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1546 __makecontext_ret.S.
1547
1548 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1549
1550 * elf/elf.h (R_390_IRELATIVE): New definition.
1551 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1552 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
1553 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1554 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1555 (elf_machine_lazy_rel): Likewise.
1556 * sysdeps/s390/dl-irel.h: New file.
1557 * sysdeps/s390/s390-64/memcpy.S: New asm code.
1558 * sysdeps/s390/s390-64/memset.S: New asm code.
1559 * sysdeps/s390/s390-64/memcmp.S: New asm code.
1560 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
1561 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
1562 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
1563 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
1564 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
1565 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
1566 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
1567 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
1568 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
1569 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
1570 * sysdeps/s390/s390-32/memcpy.S: New asm code.
1571 * sysdeps/s390/s390-32/memset.S: New asm code.
1572 * sysdeps/s390/s390-32/memcmp.S: New asm code.
1573
1574 2012-07-17 Marek Polacek <polacek@redhat.com>
1575
1576 [BZ #14349]
1577 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
1578 * sysdeps/s390/s390-64/configure.in: Likewise.
1579 * sysdeps/sparc/configure.in: Likewise.
1580 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
1581 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
1582 * sysdeps/i386/configure.in: Likewise.
1583 * sysdeps/x86_64/configure.in: Likewise.
1584 * sysdeps/sh/configure.in: Likewise.
1585 * sysdeps/s390/s390-32/configure: Regenerated.
1586 * sysdeps/s390/s390-64/configure: Likewise.
1587 * sysdeps/x86_64/configure: Likewise.
1588 * sysdeps/sh/configure: Likewise.
1589 * sysdeps/powerpc/powerpc64/configure: Likewise.
1590 * sysdeps/powerpc/powerpc32/configure: Likewise.
1591 * sysdeps/sparc/configure: Likwise.
1592 * sysdeps/i386/configure: Likewise.
1593
1594 * elf/dl-open.c: Comment fixes.
1595
1596 2012-07-17 Joseph Myers <joseph@codesourcery.com>
1597
1598 * Makefile [CXX] (check-data): Remove.
1599 [CXX] (c++-types.data): New vpath directive.
1600 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
1601 vpath. Do not allow for C++ type data being missing.
1602 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
1603 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
1604 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
1605 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
1606 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
1607 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
1608 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
1609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1610 ... here.
1611 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
1612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1613 ... here.
1614 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
1615 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
1616 ... here.
1617 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
1618 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
1619 ... here.
1620 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
1621 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
1622 ... here.
1623 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
1624 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
1625 ... here.
1626 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
1627 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
1628 ... here.
1629 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
1630 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
1631
1632 * elf/tls-macros.h (TLS_LE): Move architecture-specific
1633 definitions to architecture-specific files.
1634 (TLS_IE): Likewise.
1635 (TLS_LD): Likewise.
1636 (TLS_GD): Likewise.
1637 * sysdeps/i386/tls-macros.h: New file.
1638 * sysdeps/powerpc/tls-macros.h: Likewise.
1639 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1640 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1641 * sysdeps/sh/tls-macros.h: Likewise.
1642 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
1643 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
1644 * sysdeps/x86_64/tls-macros.h: Likewise.
1645
1646 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1647
1648 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
1649 zero value for regular exit case.
1650
1651 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1652 (__start_context): Preserve zero value for regular exit case.
1653
1654 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1655 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1656
1657 * manual/setjmp.texi (setcontext): Clarify normal process
1658 termination when uc_link is the null pointer.
1659 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
1660 exit call.
1661
1662 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
1663
1664 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
1665 preprocessor. Test for each exception mask separately.
1666
1667 2012-07-16 Andreas Jaeger <aj@suse.de>
1668
1669 * po/ru.po: Update from translation team.
1670
1671 2012-07-15 Joseph Myers <joseph@codesourcery.com>
1672
1673 * conform/data/string.h-data (NULL): Use macro-constant. Require
1674 equal to 0.
1675 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1676 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1677 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
1678 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
1679 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1680
1681 2012-07-13 Andreas Jaeger <aj@suse.de>
1682
1683 * po/fr.po: Update from translation team.
1684
1685 2012-07-12 Marek Polacek <polacek@redhat.com>
1686
1687 [BZ #14173]
1688 * math/libm-test.inc (yn_test): Add test for BZ #14173.
1689 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
1690 loop condition.
1691
1692 2012-07-12 Joseph Myers <joseph@codesourcery.com>
1693
1694 [BZ #13717]
1695 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1696 Change to 2.4.1 where previously 2.4.0.
1697 * sysdeps/unix/sysv/linux/configure: Regenerated.
1698 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
1699 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
1700 version.
1701 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
1702 (__ASSUME_AT_CLKTCK): Remove.
1703 (__ASSUME_AT_PAGESIZE): Likewise.
1704 (__ASSUME_AT_XID): Likewise.
1705 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
1706 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
1707 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
1708 unconditionally.
1709 (HAVE_AUX_PAGESIZE): Likewise.
1710 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
1711 [__ASSUME_AT_CLKTCK]: Make code unconditional.
1712 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
1713
1714 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
1715
1716 [BZ #14307]
1717 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
1718 the temporary buffer used to invoke __gethostbyname2_r,
1719 __gethostbyaddr_r and gethostbyname4_r to make room for struct
1720 host_data / struct gaih_addrtuple.
1721 * resolv/nss_dns/dns-host.c (global scope): Move definition of
1722 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
1723 header file nss/nsswitch.h.
1724 * nss/nsswitch.h (global scope): Add definition of implementation
1725 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
1726 resolv/nss_dns/dns-host.c).
1727
1728 2012-07-11 Andreas Jaeger <aj@suse.de>
1729
1730 * po/fr.po: Update from translation team.
1731
1732 * po/sv.po: Update from translation team
1733 * po/fr.po: Another update from translation team.
1734
1735 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1736
1737 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
1738 for subnormals or multiply small sinh result by itself.
1739 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1740 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1741
1742 2012-07-11 David S. Miller <davem@davemloft.net>
1743
1744 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1745
1746 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
1747
1748 [BZ #14347]
1749 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
1750 (INTERNAL_MARK): Shift it here.
1751
1752 2012-07-10 Marek Polacek <polacek@redhat.com>
1753
1754 [BZ #14151]
1755 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
1756 libc_cv_asm_global_directive with .globl.
1757 * configure: Regenerated.
1758 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
1759 with .globl.
1760 * sysdeps/i386/configure: Regenerated.
1761 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
1762 with .globl.
1763 * sysdeps/x86_64/configure: Regenerated.
1764 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
1765 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
1766 * elf/tst-unique2mod2.c: Likewise.
1767 * elf/tst-unique2mod1.c: Likewise.
1768 * elf/tst-unique1mod2.c: Likewise.
1769 * elf/tst-unique1mod1.c: Likewise.
1770 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1771 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1772 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1773 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1774 * sysdeps/mach/sysdep.h: Likewise.
1775 * sysdeps/i386/sysdep.h: Likewise.
1776 * sysdeps/i386/i386-mcount.S: Likewise.
1777 * sysdeps/x86_64/_mcount.S: Likewise.
1778 * sysdeps/x86_64/sysdep.h: Likewise.
1779 * sysdeps/sh/_mcount.S: Likewise.
1780 * sysdeps/sh/sysdep.h: Likewise.
1781 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
1782 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
1783 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
1784 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1785 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
1786 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
1787 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
1788 * locale/localeinfo.h: Likewise.
1789 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
1790 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
1791
1792 2012-07-09 Roland McGrath <roland@hack.frob.com>
1793
1794 [BZ #14336]
1795 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
1796 system".
1797 * manual/message.texi (The Uniforum approach): Likewise.
1798 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
1799 (glibc iconv Implementation): Likewise.
1800
1801 2012-07-09 Joseph Myers <joseph@codesourcery.com>
1802
1803 [BZ #14337]
1804 * math/s_clog.c (__clog): Avoid scaling a value down where that
1805 could result in underflow.
1806 * math/s_clog10.c (__clog10): Likewise.
1807 * math/s_clog10f.c (__clog10f): Likewise.
1808 * math/s_clog10l.c (__clog10l): Likewise.
1809 * math/s_clogf.c (__clogf): Likewise.
1810 * math/s_clogl.c (__clogl): Likewise.
1811 * math/libm-test.inc (clog_test): Add more tests.
1812 (clog10_test): Likewise.
1813 * sysdeps/i386/fpu/libm-test-ulps: Update.
1814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1815
1816 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1817
1818 [BZ #14283]
1819 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
1820 by 7 not 8 to examine high bit of fractional part.
1821
1822 [BZ #14042]
1823 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
1824 for call to __mcount_internal.
1825 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
1826 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
1827 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
1828
1829 2012-07-06 Joseph Myers <joseph@codesourcery.com>
1830
1831 [BZ #14154]
1832 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
1833 approximation for values within 0x1p-13f of an odd multiple of
1834 pi/4.
1835 * math/libm-test.inc (tan_test): Do not allow spurious underflow
1836 exception. Add more tests.
1837 * sysdeps/i386/fpu/libm-test-ulps: Update.
1838
1839 [BZ #6778]
1840 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
1841 inputs and return -1 for them. Do not check for +Inf in case not
1842 reachable for +Inf.
1843 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1844 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
1845 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1846 and return -1 for them. Do not check for +Inf in case not
1847 reachable for +Inf.
1848 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
1849 define.
1850 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1851 and return -1 for them. Do not check for +Inf in case not
1852 reachable for +Inf.
1853 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
1854 spurious underflow.
1855 * sysdeps/i386/fpu/libm-test-ulps: Update.
1856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1857
1858 2012-07-06 Mike Frysinger <vapier@gentoo.org>
1859
1860 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
1861
1862 2012-07-05 Joseph Myers <joseph@codesourcery.com>
1863
1864 [BZ #14157]
1865 [BZ #14331]
1866 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
1867 could result in spurious underflow. Scale down values above
1868 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
1869 * math/s_csqrtf.c (__csqrtf): Likewise.
1870 * math/s_csqrtl.c (__csqrtl): Likewise.
1871 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
1872 spurious underflow.
1873 * sysdeps/i386/fpu/libm-test-ulps: Update.
1874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1875
1876 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
1877
1878 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
1879 xopen-msg.sed.
1880 * catgets/xopen-msg.awk: New file.
1881 * catgets/xopen-msg.sed: Removed.
1882
1883 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
1884 po2text.sed.
1885 * intl/po2test.awk: New file.
1886 * intl/po2test.sed: Removed.
1887
1888 2012-07-04 Joseph Myers <joseph@codesourcery.com>
1889
1890 [BZ #14328]
1891 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
1892 or multiply small sinh result by itself.
1893 * math/s_ctanf.c (__ctanf): Likewise.
1894 * math/s_ctanh.c (__ctanh): Likewise.
1895 * math/s_ctanhf.c (__ctanhf): Likewise.
1896 * math/s_ctanhl.c (__ctanhl): Likewise.
1897 * math/s_ctanl.c (__ctanl): Likewise.
1898 * math/libm-test.inc (ctan_test_tonearest): New function.
1899 (ctan_test_towardzero): Likewise.
1900 (ctan_test_downward): Likewise.
1901 (ctan_test_upward): Likewise.
1902 (ctanh_test_tonearest): Likewise.
1903 (ctanh_test_towardzero): Likewise.
1904 (ctanh_test_downward): Likewise.
1905 (ctanh_test_upward): Likewise.
1906 (main): Call these new functions.
1907 * sysdeps/i386/fpu/libm-test-ulps: Update.
1908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1909
1910 2012-07-03 Mike Frysinger <vapier@gentoo.org>
1911
1912 * .gitignore: Delete /ports entry.
1913
1914 2012-07-03 Andreas Jaeger <aj@suse.de>
1915
1916 * po/bg.po: Update from translation team.
1917 * po/cs.po: Likewise.
1918 * po/de.po: Likewise.
1919 * po/hr.po: Likewise.
1920 * po/nl.pl: Likewise.
1921 * po/pl.po: Likewise.
1922 * po/vi.po: Likewise.
1923
1924 2012-07-03 Joseph Myers <joseph@codesourcery.com>
1925
1926 * Makeconfig [!+link] (+link-before-libc): New variable.
1927 [!+link] (+link-after-libc): Likewise.
1928 [!+link] (+link-tests): Likewise.
1929 [!+link] (+link): Define in terms of $(+link-before-libc) and
1930 $(+link-after-libc).
1931 [!+link-static] (+link-static-before-libc): New variable.
1932 [!+link-static] (+link-static-after-libc): Likewise.
1933 [!+link-static] (+link-static-tests): Likewise.
1934 [!+link-static] (+link-static): Define in terms of
1935 $(+link-static-before-libc) and $(+link-static-after-libc).
1936 [build-shared] (link-libc-before-gnulib): New variable.
1937 [build-shared] (link-libc-tests): Likewise.
1938 [build-shared] (link-libc): Define in terms of
1939 $(link-libc-before-gnulib).
1940 [!build-shared] (link-libc-tests): New variable.
1941 (link-libc-static-tests): New variable.
1942 [!gnulib] (gnulib-arch): New variable.
1943 [!gnulib] (gnulib-tests): Likewise.
1944 [!gnulib] (static-gnulib-arch): Likewise.
1945 [!gnulib] (static-gnulib-tests): Likewise.
1946 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
1947 Define with "=" instead of ":=".
1948 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
1949 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
1950 * Rules (binaries-all-notests): New variable.
1951 (binaries-all-tests): Likewise.
1952 (binaries-static-notests): Likewise.
1953 (binaries-static-tests): Likewise.
1954 (binaries-all): Define using $(binaries-all-notests) and
1955 $(binaries-all-tests).
1956 (binaries-static): Define using $(binaries-static-notests) and
1957 $(binaries-static-tests).
1958 (binaries-shared-tests): New variable.
1959 (binaries-shared-notests): Likewise.
1960 (binaries-shared): Remove variable.
1961 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
1962 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
1963 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
1964 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
1965 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
1966 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
1967 * elf/Makefile (sln-modules): New variable.
1968 (extra-objs): Add $(sln-modules:=.o).
1969 (ldconfig-modules): Add static-stubs.
1970 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
1971 * elf/static-stubs.c: New file.
1972
1973 [BZ #14283]
1974 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
1975 by 7 not 8 to examine high bit of fractional part. Use volatile
1976 variables when splitting into final array of floats if
1977 __FLT_EVAL_METHOD__ != 0.
1978 * math/libm-test.inc (cos_test): Add another test.
1979 (sin_test): Likewise.
1980 * sysdeps/i386/fpu/libm-test-ulps: Update.
1981
1982 [BZ #14273]
1983 * math/libm-test.inc (cosh_test): Add more tests.
1984
1985 * version.h (RELEASE): Set to "development".
1986 (VERSION): Set to "2.16.90".
1987
1988 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
1989
1990 * NEWS: Update copyright. Remove last-updated date.
1991 Mention math library bug fixes and timezone data changes.
1992 * README: Mention GNU/Hurd, x32, and HPPA support status.
1993
1994 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
1995
1996 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
1997
1998 2012-06-27 Andreas Jaeger <aj@suse.de>
1999
2000 * manual/contrib.texi (Contributors): Add Samuel Thibault.
2001
2002 2012-06-25 Andreas Jaeger <aj@suse.de>
2003
2004 * sysdeps/s390/fpu/libm-test-ulps: Update.
2005
2006 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
2007 Thomas Schwinge <thomas@codesourcery.com>
2008
2009 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
2010 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
2011 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
2012 fanotify_mark.
2013
2014 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
2015
2016 * sysdeps/mach/start.c: Remove file.
2017 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
2018 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
2019 * sysdeps/sh/init-first.c: Likewise.
2020
2021 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
2022 registers for frame unwinding purposes, add CFI directives.
2023 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2024 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
2025 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
2026 Likewise.
2027
2028 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
2029 __fortify_fail returning.
2030 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2031
2032 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
2033 sysdeps/sh/____longjmp_chk.S.
2034 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
2035 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
2036 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
2037 (gen-as-const-headers): Append sigaltstack-offsets.sym.
2038
2039 * sysdeps/sh/abort-instr.h: New file.
2040 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
2041 process in case exit returns.
2042
2043 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
2044 initialize the GOT register before use.
2045
2046 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
2047 calculation of ARGC > 4.
2048
2049 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
2050 meaningful names to some local labels.
2051
2052 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2053 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2054
2055 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
2056 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
2057 (__arch_compare_and_exchange_val_16_acq): Likewise.
2058 (__arch_compare_and_exchange_val_32_acq): Likewise.
2059 (atomic_exchange_and_add): Fix gUSA sequence.
2060 (atomic_add): Likewise.
2061 (atomic_add_negative): Likewise.
2062 (atomic_add_zero): Likewise.
2063 (atomic_bit_test_set): Likewise.
2064
2065 2012-06-22 Andreas Schwab <schwab@redhat.com>
2066
2067 [BZ #13579]
2068 * include/link.h (struct link_map): Add l_free_initfini.
2069 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
2070 l_initfini.
2071 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
2072 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
2073 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
2074 set.
2075
2076 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
2077
2078 * configure.in: Use AC_LANG_SOURCE.
2079 * configure: Regenerate.
2080
2081 2012-06-22 Roland McGrath <roland@hack.frob.com>
2082
2083 * configure.in (libc_cv_localstatedir): New substituted variable.
2084 * configure: Regenerated.
2085 * config.make.in (localstatedir): New variable, substituted from
2086 libc_cv_localstatedir.
2087 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
2088 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
2089 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
2090 * sysdeps/gnu/configure: Regenerated.
2091
2092 2012-06-21 Jeff Law <law@redhat.com>
2093
2094 [BZ #14277]
2095 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
2096 free. Simplify list management for _LIBC case.
2097
2098 2012-06-21 Joseph Myers <joseph@codesourcery.com>
2099
2100 [BZ #14273]
2101 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2102 Clear sign bit of 64-bit integer value before comparing against
2103 overflow value.
2104
2105 * sysdeps/mach/configure: Regenerated.
2106
2107 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
2108
2109 [BZ #14278]
2110 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
2111
2112 2012-06-21 Jeff Law <law@redhat.com>
2113
2114 [BZ #13882]
2115 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
2116 uint16_t for elements in the "seen" array to avoid char overflows.
2117 * elf/dl-fini.c (_dl_sort_fini): Likewise.
2118 * elf/dl-open.c (dl_open_worker): Likewise.
2119
2120 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
2121
2122 * scripts/list-sources.sh: Scan PORTS for translations.
2123 * po/libc.pot: Regenerated.
2124
2125 2012-06-21 Andreas Jaeger <aj@suse.de>
2126
2127 [BZ #12194]
2128 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
2129 warning.
2130 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
2131 * bits/byteswap-16.h (__bswap_16): Likewise.
2132 * bits/byteswap.h (__bswap_constant_16): Likewise.
2133
2134 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
2135
2136 [BZ #14117]
2137 * sysdeps/i386/fpu_control.h: Removed.
2138 * sysdeps/x86_64/fpu_control.h: Moved to ...
2139 * sysdeps/x86/fpu_control.h: Here.
2140
2141 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
2142 (_FPU_SETCW): Likewise.
2143
2144 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
2145
2146 [BZ #14117]
2147 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
2148 * sysdeps/x86/fpu/bits/mathinline.h: This.
2149 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
2150
2151 [BZ #14050]
2152 [BZ #14117]
2153 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
2154 functions if __x86_64__ is defined.
2155
2156 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
2157
2158 * string/endian.h: Add !__ASSEMBLER__ condition for including
2159 conversion interfaces.
2160
2161 2012-06-15 Joseph Myers <joseph@codesourcery.com>
2162
2163 [BZ #14241]
2164 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
2165 of ABS(x) in calculating zero to negative powers other than odd
2166 integers.
2167 * math/libm-test.inc (pow_test): Add more tests.
2168
2169 2012-06-15 Andreas Jaeger <aj@suse.de>
2170
2171 * manual/contrib.texi (Contributors): Update entry of Liubov
2172 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
2173 Machado Filho.
2174
2175 2012-06-15 Cyril Hrubis <metan@ucw.cz>
2176
2177 * string/string.h: Add __wur to GNU version of strerror_r.
2178
2179 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
2180
2181 [BZ #14229]
2182 * string/Makefile (tests): Add tst-strtok_r.
2183 * string/tst-strtok_r.c: New file.
2184 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
2185 RAX_LP/RDX_LP on SAVE_PTR.
2186
2187 2012-06-14 Roland McGrath <roland@hack.frob.com>
2188
2189 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
2190
2191 2012-06-14 Joseph Myers <joseph@codesourcery.com>
2192
2193 * libm_test.inc (csqrt_test): Allow more spurious underflow
2194 exceptions.
2195 (j0_test): Likewise.
2196 (j1_test): Likewise.
2197 (y0_test): Likewise.
2198 (y1_test): Likewise.
2199
2200 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
2201
2202 * po/Makefile (libc.pot): Use UTF-8 charset.
2203
2204 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2205
2206 [BZ #14210]
2207 Suppress sign-conversion warning from FD_SET.
2208 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
2209 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
2210 not unsigned long int.
2211 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2212
2213 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
2214
2215 [BZ #14050]
2216 [BZ #14117]
2217 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
2218 __extern_always_inline instead of __extern_inline.
2219 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
2220 (__signbit): Likewise.
2221 (__signbitl): Support C++ namespace.
2222 (lrintf): New inline function.
2223 (lrint): Likewise.
2224 (llrintf): Likewise.
2225 (llrint): Likewise.
2226 (fmaxf): Likewise.
2227 (fmax): Likewise.
2228 (fminf): Likewise.
2229 (fmin): Likewise.
2230 (rint): Likewise.
2231 (rintf): Likewise.
2232 (ceil): Likewise.
2233 (ceilf): Likewise.
2234 (floor): Likewise.
2235 (floorf): Likewise.
2236 (nearbyint): Likewise.
2237 (nearbyintf): Likewise.
2238
2239 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
2240
2241 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
2242 non-default versions.
2243
2244 2012-06-11 Roland McGrath <roland@hack.frob.com>
2245
2246 [BZ #14218]
2247 * manual/argp.texi (Argp): Reword argp_parse description slightly.
2248
2249 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
2250
2251 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
2252 (FE_UPWARD, FE_DOWNWARD): Don't define.
2253 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
2254 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2255
2256 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
2257 reading it.
2258 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2259 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2260
2261 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2262
2263 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2264 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
2265 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
2266 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
2267
2268 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
2269
2270 [BZ #14117]
2271 * sysdeps/i386/fpu/bits/fenv.h: Removed.
2272 * sysdeps/i386/fpu/Implies: New file.
2273 * sysdeps/x86_64/fpu/Implies: Likewise.
2274 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
2275 * sysdeps/x86/fpu/bits/fenv.h: This.
2276
2277 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
2278 __SSE_MATH__.
2279
2280 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2281
2282 [BZ #14134]
2283 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
2284 character 0xffff that matches the last element of the
2285 conversion table.
2286
2287 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2288
2289 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
2290 fmodl commit.
2291
2292 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2293
2294 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
2295 values higher than 25.6283.
2296
2297 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2298
2299 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
2300 subnormal exponent extraction and add some __builtin_expect.
2301 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
2302 Fix for subnormal mantissa calculation.
2303
2304 2012-06-04 Mike Frysinger <vapier@gentoo.org>
2305
2306 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
2307 cpu2 is -1 and errno is not ENOSYS.
2308
2309 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
2310
2311 [BZ #14117]
2312 * sysdeps/i386/i486/bits/string.h: Renamed to ...
2313 * sysdeps/x86/bits/string.h: This.
2314 * sysdeps/x86_64/bits/string.h: Removed.
2315
2316 * sysdeps/i386/i486/bits/string.h: Define inline functions only
2317 if not compiling for x86-64, but compiling for >= i486.
2318
2319 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
2320 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
2321
2322 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
2323 New macro from Linux kernel 3.4.0.
2324 (FP_XSTATE_MAGIC2): Likewise.
2325 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2326 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
2327 (struct _fpx_sw_bytes): New struct.
2328 (struct _xsave_hdr): Likewise.
2329 (struct _ymmh_state): Likewise.
2330 (struct _xstate): Likewise.
2331
2332 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
2333 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
2334 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
2335 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
2336 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
2337 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
2338
2339 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
2340 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
2341 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
2342 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
2343 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
2344 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
2345
2346 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2347
2348 [BZ #13743]
2349 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
2350 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
2351 (sysdep_headers): Include sys/platform/ppc.h.
2352 * sysdeps/powerpc/test-gettimebase.c: Test for
2353 __ppc_get_timebase() to catch future ISA opcode/insn changes.
2354 * manual/Makefile (appendices): Include platform.texi.
2355 * manual/contrib.texi (Contributors): Update @node pointers.
2356 * manual/maint.texi (Maintenance): Likewise.
2357 (Platform): New node.
2358 * manual/platform.texi: New file. Document the new features.
2359
2360 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2361 Jakub Jelinek <jakub@redhat.com>
2362
2363 [BZ #14188]
2364 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
2365 where __builtin_expect is unavailable.
2366
2367 2012-06-03 David S. Miller <davem@davemloft.net>
2368
2369 * stdlib/longlong.h: Updated from GCC.
2370
2371 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
2372
2373 [BZ #14042]
2374 * sysdeps/powerpc/powerpc32/mcount.c: New file.
2375 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
2376 __mcount_internal.
2377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2378 (GLIBC_2.16): Likewise.
2379
2380 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2381
2382 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
2383
2384 2012-06-01 Joseph Myers <joseph@codesourcery.com>
2385
2386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2387 (default-abi): New variable.
2388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
2389 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
2390 variable.
2391 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
2392 Likewise.
2393 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
2394 Likewise.
2395 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
2396 Likewise.
2397
2398 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
2399 definition. Document in comment.
2400
2401 2012-06-01 David S. Miller <davem@davemloft.net>
2402
2403 * stdlib/longlong.h: Updated from GCC.
2404
2405 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2406
2407 [BZ #14117]
2408 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
2409 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
2410 sys/debugreg.h sys/io.h here.
2411 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
2412 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
2413 sys/io.h.
2414 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
2415 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
2416 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
2417 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
2418 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
2419 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
2420
2421 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
2422 Define only if __x86_64__ is defined.
2423
2424 2012-06-01 Joseph Myers <joseph@codesourcery.com>
2425
2426 [BZ #14048]
2427 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
2428 Use int64_t for variable i.
2429 * math/libm-test.inc (fmod_test): Add more tests.
2430
2431 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
2432 z computation is not scheduled after fetestexcept.
2433 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
2434 Use math_force_eval instead of asm to ensure calculation scheduled
2435 before exception test.
2436 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
2437 Ensure a1 + u.d computation is not scheduled after fetestexcept.
2438
2439 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
2440
2441 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
2442 computation is not scheduled after fetestexcept.
2443
2444 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2445
2446 [BZ #14117]
2447 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
2448 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
2449
2450 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2451
2452 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
2453 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2454
2455 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2456
2457 [BZ #14117]
2458 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
2459 <bits/wordsize.h>.
2460 (__WCHAR_MIN): Support __WORDSIZE == 64.
2461 (__WCHAR_MAX): Likewise.
2462
2463 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
2464 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2465
2466 [BZ #14183]
2467 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2468 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2469
2470 [BZ #14117]
2471 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2472 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2473
2474 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2475 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2476
2477 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2478 Defined to 1 if __x86_64__ isn't defined.
2479 (_STAT_VER_LINUX_OLD): New.
2480 (st_atime): Remove duplicate.
2481 (st_mtime): Likewise.
2482 (st_ctime): Likewise.
2483
2484 2012-05-31 David S. Miller <davem@davemloft.net>
2485
2486 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2487 entries.
2488
2489 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
2490
2491 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2492 gen-libm-test.pl.
2493
2494 [BZ #14132]
2495 * elf/dl-reloc.c: Include <_itoa.h>.
2496 (_dl_reloc_bad_type): Remove use of INTUSE.
2497 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2498 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2499 * stdio-common/psiginfo.c (psiginfo): Likewise.
2500 * stdio-common/psignal.c (psignal): Likewise.
2501 * string/strsignal.c (strsignal): Likewise.
2502 * include/signal.h (_sys_siglist): Declare hidden proto.
2503 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
2504 INTVARDEF with libc_hidden_data_def.
2505 * stdio-common/itoa-udigits.c: Likewise.
2506 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2507 (_itoa_lower_digits_internal): Remove declaration.
2508 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2509 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2510 (_sys_sigabbrev_internal): Remove aliases.
2511 (_sys_siglist): Define hidden alias.
2512
2513 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
2514
2515 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2516 bits/sysctl.h.
2517
2518 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2519
2520 [BZ #14117]
2521 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2522 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2523
2524 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2525 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2526 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2527 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2528 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2529 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2530
2531 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2532 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2533 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2534
2535 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2536 with __addr.
2537 (insw): Likewise.
2538 (insl): Likewise.
2539 (outsb): Likewise.
2540 (outsw): Likewise.
2541 (outsl): Likewise.
2542
2543 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2544 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2545 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2546
2547 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2548 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2549 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2550 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2551 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2552 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2553
2554 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2555 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2556
2557 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
2558 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
2559
2560 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
2561 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
2562 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
2563
2564 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
2565 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
2566 to ...
2567 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
2568
2569 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
2570 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
2571 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
2572
2573 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
2574 for x86-64.
2575 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2576
2577 2012-05-31 Joseph Myers <joseph@codesourcery.com>
2578
2579 * math/math.h (M_El): Use two more decimal places.
2580 (M_LOG2El): Likewise.
2581 (M_LOG10El): Likewise.
2582 (M_LN2l): Likewise.
2583 (M_LN10l): Likewise.
2584 (M_PIl): Likewise.
2585 (M_PI_2l): Likewise.
2586 (M_PI_4l): Likewise.
2587 (M_1_PIl): Likewise.
2588 (M_2_PIl): Likewise.
2589 (M_2_SQRTPIl): Likewise.
2590 (M_SQRT2l): Likewise.
2591 (M_SQRT1_2l): Likewise.
2592
2593 2012-05-31 David S. Miller <davem@davemloft.net>
2594
2595 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
2596 values between float registers.
2597 * sysdeps/sparc/sparc64/memset.S: Likewise.
2598 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2599
2600 2012-05-31 Mike Frysinger <vapier@gentoo.org>
2601
2602 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
2603 -D_FORTIFY_SOURCE=1.
2604 (CPPFLAGS-tst-longjmp_chk.c): Define.
2605 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
2606 (CPPFLAGS-tst-longjmp_chk2.c): Define.
2607 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
2608 CFLAGS-tst-wchar-h.c.
2609
2610 2012-05-31 Marek Polacek <polacek@redhat.com>
2611
2612 [BZ #14132]
2613 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
2614 __endmntent_internal): Remove declaration.
2615 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
2616 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
2617 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
2618
2619 2012-05-30 David S. Miller <davem@davemloft.net>
2620
2621 * sysdeps/sparc/sparc32/soft-fp/q_util.c
2622 (___Q_simulate_exceptions): Use real FP ops rather than writing
2623 into the %fsr.
2624 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
2625 Likewise.
2626
2627 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2628
2629 [BZ #14117]
2630 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
2631 * sysdeps/x86/bits/xtitypes.h: This.
2632
2633 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
2634 * sysdeps/x86/bits/wordsize.h: This.
2635
2636 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
2637 * sysdeps/x86/bits/huge_vall.h: This.
2638
2639 * sysdeps/i386/bits/select.h: Removed.
2640 * sysdeps/x86_64/bits/select.h: Renamed to ...
2641 * sysdeps/x86/bits/select.h: This.
2642
2643 * sysdeps/i386/bits/setjmp.h: Removed.
2644 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
2645 * sysdeps/x86/bits/setjmp.h: This.
2646
2647 * sysdeps/i386/bits/mathdef.h: Removed.
2648 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
2649 * sysdeps/x86/bits/mathdef.h: This.
2650
2651 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
2652
2653 [BZ #14132]
2654 * include/sys/socket.h (__connect_internal)
2655 (__libc_sa_len_internal): Remove declaration.
2656 (__connect, __libc_sa_len): Declare hidden_proto.
2657 (SA_LEN): Remove use of INTUSE.
2658 * socket/connect.c: Add libc_hidden_def.
2659 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
2660 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
2661 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
2662 alias.
2663 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2664 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2665 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
2666 of adding _internal alias.
2667
2668 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2669
2670 [BZ #14117]
2671 * sysdeps/i386/bits/link.h: Removed.
2672 * sysdeps/i386/bits/linkmap.h: Likewise.
2673 * sysdeps/x86_64/bits/link.h: Renamed to ...
2674 * sysdeps/x86/bits/link.h: This.
2675 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
2676 * sysdeps/x86/bits/linkmap.h: This.
2677
2678 * sysdeps/i386/bits/endian.h: Removed.
2679 * sysdeps/x86_64/bits/endian.h: Renamed to ...
2680 * sysdeps/x86/bits/endian.h: This.
2681
2682 * sysdeps/i386/bits/byteswap.h: Removed.
2683 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2684 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
2685 * sysdeps/x86/bits/byteswap.h: This.
2686 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
2687 * sysdeps/x86/bits/byteswap-16.h: This.
2688 * sysdeps/i386/Implies: Add x86.
2689 * sysdeps/x86_64/Implies: Likewise.
2690
2691 2012-05-30 David S. Miller <davem@davemloft.net>
2692
2693 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
2694 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
2695 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2696 (FP_TRAPPING_EXCEPTIONS): Define.
2697 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2698 (FP_TRAPPING_EXCEPTIONS): Define.
2699 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
2700 subnormals only when inexact has been signalled or underflow
2701 exceptions are enabled.
2702 (_FP_PACK_CANONICAL): Likewise.
2703
2704 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2705
2706 [BZ #14183]
2707 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
2708 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
2709
2710 2012-05-30 Richard Henderson <rth@twiddle.net>
2711
2712 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
2713 with #ifndef NOT_IN_libc.
2714
2715 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
2716 marked to avoid plt entry.
2717
2718 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2719
2720 [BZ #14112]
2721 * Makeconfig (default-abi): New macro.
2722 (abi-includes): Likewise.
2723 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
2724 $(abi-$(default-abi)-lib-soname) for soname if defined.
2725 ($(common-objpfx)gnu/lib-names.stmp): Generate from
2726 abi-variants.
2727 * Makefile (installed-stubs): Likewise.
2728 * include/stubs-biarch.h: Removed.
2729 * scripts/lib-names.awk: Only handle one library at a time.
2730 * scripts/soversions.awk: Remove WORDSIZE support.
2731 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
2732 entries.
2733 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
2734 Removed.
2735 (syscall-list-default-condition): Likewise.
2736 (syscall-list-default-condition): Likewise.
2737 (syscall-list-includes): Likewise.
2738 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
2739 syscall-list-* with abi-*. Handle undefined abi-variants.
2740 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
2741 * sysdeps/unix/sysv/linux/i386/Implies: New file.
2742 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
2743 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
2744 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
2745 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
2746 Removed.
2747 (syscall-list-32-options): Likewise.
2748 (syscall-list-32-condition): Likewise.
2749 (syscall-list-64-options): Likewise.
2750 (syscall-list-64-condition): Likewise.
2751 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
2752 macro.
2753 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
2754 Renamed to ...
2755 (abi-*): This.
2756 (abi-64-ld-soname): New macro.
2757 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
2758 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
2759 Renamed to ...
2760 (abi-*): This.
2761 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
2762 * sysdeps/x86_64/x32/shlib-versions: Likewise.
2763
2764 2012-05-30 Joseph Myers <joseph@codesourcery.com>
2765
2766 * sysdeps/unix/sysv/linux/kernel-features.h
2767 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
2768 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
2769 include <kernel-features.h>.
2770 [!__NR_ftruncate64]: Remove conditional code.
2771 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2772 [__NR_ftruncate64]: Make code unconditional.
2773 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2774 * sysdeps/unix/sysv/linux/truncate64.c: Do not
2775 include <kernel-features.h>.
2776 [!__NR_ftruncate64]: Remove conditional code.
2777 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2778 [__NR_ftruncate64]: Make code unconditional.
2779 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
2781 include <kernel-features.h>.
2782 [!__NR_ftruncate64]: Remove conditional code.
2783 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2784 [__NR_ftruncate64]: Make code unconditional.
2785 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2787 include <kernel-features.h>.
2788 [!__NR_ftruncate64]: Remove conditional code.
2789 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2790 [__NR_ftruncate64]: Make code unconditional.
2791 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2792
2793 * configure.in (libc_cv_fpie): Weaken to a compile test using
2794 LIBC_TRY_CC_OPTION.
2795 * configure: Regenerated.
2796
2797 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2798
2799 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
2800 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
2801 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
2802 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2803 Refreshed.
2804 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
2805 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
2806 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
2807 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
2808 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
2809 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2810 Refreshed.
2811
2812 2012-05-27 David S. Miller <davem@davemloft.net>
2813
2814 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
2815 (___Q_zero): New.
2816 (__Q_simulate_exceptions): Return void. Change to simulate
2817 exceptions by writing into the %fsr.
2818 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
2819 (__Qp_handle_exceptions): Likewise.
2820 (numbers): Delete.
2821 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
2822 __Qp_handle_exceptions.
2823 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
2824 __Qp_handle_exceptions.
2825 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2826 as unused and give dummy FP_RND_NEAREST initializer.
2827 (FP_INHIBIT_RESULTS): Define.
2828 (___Q_simulate_exceptions): Update declaration.
2829 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
2830 formatting.
2831 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2832 as unused and give dummy FP_RND_NEAREST initializer.
2833 (__Qp_handle_exceptions): Update declaration.
2834 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
2835 formatting.
2836
2837 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
2838
2839 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
2840 the temporary FPU control word.
2841 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2842 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
2843 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2844 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2845 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2846 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2847 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2848 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2849 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2850 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2851 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2852
2853 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2854
2855 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
2856 fields.
2857
2858 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
2859
2860 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
2861 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
2862 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
2863 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
2864 Likewise.
2865 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
2866 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
2867 Likewise.
2868
2869 2012-05-27 Ulrich Drepper <drepper@gmail.com>
2870
2871 * po/h.po: Update from translation team.
2872
2873 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
2874
2875 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
2876
2877 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
2878 handling of denormals.
2879 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2880 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2881 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2882 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2883 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2884 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
2885 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
2886 Likewise.
2887
2888 2012-05-26 Marek Polacek <polacek@redhat.com>
2889
2890 [BZ #14152]
2891 * math/libm-test.inc (fma_test): Don't always expect underflow
2892 exception.
2893
2894 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2895
2896 [BZ #12416]
2897 * elf/tst-execstack.c: Include stackinfo.h.
2898 (do_test): Adjust test case to ensure that pthread_getattr_np
2899 behaviour remains the same after marking stack executable.
2900
2901 2012-05-25 Joseph Myers <joseph@codesourcery.com>
2902
2903 * sysdeps/unix/sysv/linux/kernel-features.h
2904 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
2905 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
2906 kernel-features.h.
2907 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2908 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2909 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
2910 kernel-features.h.
2911 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2912 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2913
2914 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
2915
2916 * configure.in: Define the default includes to being none.
2917 * configure: Regenerated.
2918
2919 2012-05-25 Roland McGrath <roland@hack.frob.com>
2920
2921 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
2922 * sysdeps/x86_64/setjmp.S: Likewise.
2923 * sysdeps/i386/bsd-setjmp.S: Likewise.
2924 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2925 * sysdeps/i386/setjmp.S: Likewise.
2926 * sysdeps/i386/__longjmp.S: Likewise.
2927 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2928 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
2929
2930 * include/stap-probe.h: New file.
2931 * configure.in: Handle --enable-systemtap.
2932 * configure: Regenerated.
2933 * config.h.in (USE_STAP_PROBE): New #undef.
2934 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
2935 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
2936 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2937
2938 2012-05-25 Joseph Myers <joseph@codesourcery.com>
2939
2940 [BZ #13717]
2941 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2942 to 2.4.0 where earlier.
2943 * sysdeps/unix/sysv/linux/configure: Regenerated.
2944 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2945 <kernel-features.h>.
2946 [__ASSUME_32BITUIDS]: Make code unconditional.
2947 [!__ASSUME_32BITUIDS]: Remove conditional code.
2948 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
2949 <kernel-features.h>.
2950 [__ASSUME_32BITUIDS]: Make code unconditional.
2951 [!__ASSUME_32BITUIDS]: Remove conditional code.
2952 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
2953 [__ASSUME_32BITUIDS]: Make code unconditional.
2954 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
2955 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
2956 <kernel-features.h>.
2957 [__ASSUME_32BITUIDS]: Make code unconditional.
2958 [!__ASSUME_32BITUIDS]: Remove conditional code.
2959 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
2960 <kernel-features.h>.
2961 [__ASSUME_32BITUIDS]: Make code unconditional.
2962 [!__ASSUME_32BITUIDS]: Remove conditional code.
2963 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
2964 <kernel-features.h>.
2965 [__ASSUME_32BITUIDS]: Make code unconditional.
2966 [!__ASSUME_32BITUIDS]: Remove conditional code.
2967 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
2968 <kernel-features.h>.
2969 [__ASSUME_32BITUIDS]: Make code unconditional.
2970 [!__ASSUME_32BITUIDS]: Remove conditional code.
2971 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2972 <kernel-features.h>.
2973 [__ASSUME_32BITUIDS]: Make code unconditional.
2974 [!__ASSUME_32BITUIDS]: Remove conditional code.
2975 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2976 <kernel-features.h>.
2977 [__ASSUME_32BITUIDS]: Make code unconditional.
2978 [!__ASSUME_32BITUIDS]: Remove conditional code.
2979 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
2980 <kernel-features.h>.
2981 [__ASSUME_32BITUIDS]: Make code unconditional.
2982 [!__ASSUME_32BITUIDS]: Remove conditional code.
2983 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2984 <kernel-features.h>.
2985 [__ASSUME_32BITUIDS]: Make code unconditional.
2986 [!__ASSUME_32BITUIDS]: Remove conditional code.
2987 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2988 <kernel-features.h>.
2989 [__ASSUME_32BITUIDS]: Make code unconditional.
2990 [!__ASSUME_32BITUIDS]: Remove conditional code.
2991 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
2992 <kernel-features.h>.
2993 [__ASSUME_32BITUIDS]: Make code unconditional.
2994 [!__ASSUME_32BITUIDS]: Remove conditional code.
2995 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
2996 <kernel-features.h>.
2997 [__NR_setresgid] (__setresgid): Do not declare.
2998 [__ASSUME_32BITUIDS]: Make code unconditional.
2999 [!__ASSUME_32BITUIDS]: Remove conditional code.
3000 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
3001 <kernel-features.h>.
3002 [__NR_setresuid] (__setresuid): Do not declare.
3003 [__ASSUME_32BITUIDS]: Make code unconditional.
3004 [!__ASSUME_32BITUIDS]: Remove conditional code.
3005 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
3006 <kernel-features.h>.
3007 [__ASSUME_32BITUIDS]: Make code unconditional.
3008 [!__ASSUME_32BITUIDS]: Remove conditional code.
3009 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
3010 <kernel-features.h>.
3011 [__ASSUME_32BITUIDS]: Make code unconditional.
3012 [!__ASSUME_32BITUIDS]: Remove conditional code.
3013 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
3014 <kernel-features.h>.
3015 [__ASSUME_32BITUIDS]: Make code unconditional.
3016 [!__ASSUME_32BITUIDS]: Remove conditional code.
3017 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
3018 <kernel-features.h>.
3019 [__ASSUME_32BITUIDS]: Make code unconditional.
3020 [!__ASSUME_32BITUIDS]: Remove conditional code.
3021 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
3022 <kernel-features.h>.
3023 [__ASSUME_32BITUIDS]: Make code unconditional.
3024 [!__ASSUME_32BITUIDS]: Remove conditional code.
3025 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
3026 <kernel-features.h>.
3027 [__ASSUME_32BITUIDS]: Make code unconditional.
3028 [!__ASSUME_32BITUIDS]: Remove conditional code.
3029 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
3030 <kernel-features.h>.
3031 [__ASSUME_32BITUIDS]: Make code unconditional.
3032 [!__ASSUME_32BITUIDS]: Remove conditional code.
3033 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
3034 <kernel-features.h>.
3035 [__ASSUME_32BITUIDS]: Make code unconditional.
3036 [!__ASSUME_32BITUIDS]: Remove conditional code.
3037 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
3038 <kernel-features.h>.
3039 [__ASSUME_32BITUIDS]: Make code unconditional.
3040 [!__ASSUME_32BITUIDS]: Remove conditional code.
3041 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3042 <kernel-features.h>.
3043 [__ASSUME_32BITUIDS]: Make code unconditional.
3044 [!__ASSUME_32BITUIDS]: Remove conditional code.
3045 * sysdeps/unix/sysv/linux/kernel-features.h
3046 (__ASSUME_SETRESUID_SYSCALL): Remove.
3047 (__ASSUME_SETRESGID_SYSCALL): Likewise.
3048 (__ASSUME_32BITUIDS): Likewise.
3049 (__ASSUME_LDT_WORKS): Likewise.
3050 (__ASSUME_O_DIRECTORY): Likewise.
3051 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
3052 architecture but not kernel version.
3053 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3054 (__ASSUME_MMAP2_SYSCALL): Likewise.
3055 (__ASSUME_STAT64_SYSCALL): Likewise.
3056 (__ASSUME_IPC64): Likewise.
3057 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
3058 <kernel-features.h>.
3059 [__ASSUME_32BITUIDS]: Make code unconditional.
3060 [!__ASSUME_32BITUIDS]: Remove conditional code.
3061 * sysdeps/unix/sysv/linux/opendir.c: Do not include
3062 <kernel-features.h>.
3063 [__ASSUME_O_DIRECTORY]: Make code unconditional.
3064 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
3065 132096]: Remove conditional code.
3066 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
3067 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3068 <kernel-features.h>.
3069 [__ASSUME_32BITUIDS]: Make code unconditional.
3070 [!__ASSUME_32BITUIDS]: Remove conditional code.
3071 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3072 <kernel-features.h>.
3073 [__ASSUME_32BITUIDS]: Make code unconditional.
3074 [!__ASSUME_32BITUIDS]: Remove conditional code.
3075 * sysdeps/unix/sysv/linux/setegid.c: Do not include
3076 <kernel-features.h>.
3077 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
3078 unconditional.
3079 (__setresgid): Do not declare.
3080 [__ASSUME_32BITUIDS]: Make code unconditional.
3081 [!__ASSUME_32BITUIDS]: Remove conditional code.
3082 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
3083 <kernel-features.h>.
3084 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
3085 unconditional.
3086 (__setresuid): Do not declare.
3087 [__ASSUME_32BITUIDS]: Make code unconditional.
3088 [!__ASSUME_32BITUIDS]: Remove conditional code.
3089 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3090 <kernel-features.h>.
3091 [__ASSUME_32BITUIDS]: Make code unconditional.
3092 [!__ASSUME_32BITUIDS]: Remove conditional code.
3093 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
3094 <kernel-features.h>.
3095 [__ASSUME_32BITUIDS]: Make code unconditional.
3096 [!__ASSUME_32BITUIDS]: Remove conditional code.
3097
3098 2012-05-25 Richard Henderson <rth@twiddle.net>
3099
3100 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
3101 dl_hwcap to ifunc resolver.
3102 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
3103 elf_ifunc_invoke.
3104 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
3105 dl_hwcap to ifunc resolver.
3106 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
3107
3108 2012-05-24 Joseph Myers <joseph@codesourcery.com>
3109
3110 [BZ #14153]
3111 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
3112 for |x| <= 2**-26, not 2**-57.
3113 * math/libm-test.inc (acos_test): Do not allow spurious underflow
3114 exception.
3115
3116 2012-05-24 Jeff Law <law@redhat.com>
3117
3118 * stdio-common/Makefile (tests): Add bug25.
3119 * stdio-common/bug25.c: New test.
3120
3121 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3122
3123 [BZ #13576]
3124 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
3125 multiple of MALLOC_ALIGNMENT in size.
3126 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
3127
3128 2012-05-24 Joseph Myers <joseph@codesourcery.com>
3129
3130 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
3131 Require >= 256.
3132 (FILENAME_MAX): Use macro-int-constant.
3133 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
3134 (_IOFBF): Use macro-int-constant.
3135 (_IOLBF): Likewise.
3136 (_IONBF): Likewise.
3137 (SEEK_CUR): Likewise.
3138 (SEEK_END): Likewise.
3139 (SEEK_SET): Likewise.
3140 (TMP_MAX): Likewise.
3141 (EOF): Use macro-int-constant. Require < 0.
3142 (NULL): Use macro-constant. Require == 0.
3143 (stdin): Require type to be FILE *.
3144 (stdout): Likewise.
3145 (stderr): Likewise.
3146 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
3147 macro-int-constant.
3148 (EXIT_SUCCESS): Likewise.
3149 (NULL): Use macro-constant. Require == 0.
3150 (RAND_MAX): Use macro-int-constant.
3151 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
3152 [C99-based standards] (strtof): Require function.
3153 [C99-based standards] (strtold): Likewise.
3154 [C99-based standards] (strtoll): Likewise.
3155 [C99-based standards] (strtoull): Likewise.
3156 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3157 [ISO || ISO99 || ISO11] (limits.h): Likewise.
3158 [ISO || ISO99 || ISO11] (math.h): Likewise.
3159 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
3160 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3161 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3162
3163 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
3164
3165 [BZ #14132]
3166 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
3167 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
3168 * intl/dgettext.c (DCGETTEXT): Likewise.
3169 * intl/gettext.c (DCGETTEXT): Likewise.
3170 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
3171 * posix/regex_internal.h (gettext): Likewise.
3172 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
3173 Remove declaration.
3174 * include/argz.h (__argz_count_internal)
3175 (__argz_stringify_internal): Remove declaration.
3176 (__argz_count, __argz_stringify): Declare hidden proto.
3177 * intl/dcgettext.c: Remove use of INTDEF.
3178 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
3179 * string/argz-stringify.c: Likewise.
3180 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3181 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3182 Declare hidden proto.
3183 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3184 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3185 Declare hidden proto.
3186 * include/stdio.h (__asprintf_internal): Don't declare.
3187 (__asprintf): Don't define as macro. Declare hidden proto.
3188 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
3189 (__fsetlocking): Declare hidden proto.
3190 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
3191 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
3192 hidden proto.
3193 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
3194 (_IO_setlinebuf): Remove use of INTUSE.
3195 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
3196 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
3197 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
3198 Remove declaration.
3199 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
3200 (_IO_do_flush): Remove use of INTUSE.
3201 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
3202 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
3203 (_IO_adjust_column, _IO_least_wmarker)
3204 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
3205 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
3206 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
3207 (_IO_default_doallocate, _IO_wdefault_doallocate)
3208 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
3209 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
3210 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
3211 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
3212 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
3213 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
3214 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
3215 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
3216 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
3217 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
3218 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
3219 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
3220 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
3221 proto.
3222 (_IO_flush_all_internal, _IO_adjust_column_internal)
3223 (_IO_default_uflow_internal, _IO_default_finish_internal)
3224 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
3225 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
3226 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
3227 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
3228 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
3229 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
3230 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
3231 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
3232 (_IO_file_close_internal, _IO_file_close_it_internal)
3233 (_IO_file_underflow_internal, _IO_file_overflow_internal)
3234 (_IO_file_init_internal, _IO_file_attach_internal)
3235 (_IO_file_fopen_internal, _IO_file_read_internal)
3236 (_IO_file_sync_internal, _IO_file_seek_internal)
3237 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
3238 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
3239 (_IO_str_underflow_internal, _IO_str_overflow_internal)
3240 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
3241 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
3242 (_IO_list_all_internal, _IO_link_in_internal)
3243 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
3244 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
3245 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
3246 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
3247 (_IO_do_write_internal, _IO_padn_internal)
3248 (_IO_getline_info_internal, _IO_getline_internal)
3249 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
3250 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
3251 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
3252 (_IO_vfscanf_internal, _IO_vfprintf_internal)
3253 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
3254 (_IO_init_internal, _IO_un_link_internal): Don't declare.
3255 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
3256 with libc_hidden_ver, remove use of INTUSE.
3257 * libio/genops.c: Likewise.
3258 * libio/freopen.c: Likewise.
3259 * libio/freopen64.c: Likewise.
3260 * libio/iofclose.c: Likewise.
3261 * libio/iofdopen.c: Likewise.
3262 * libio/iofflush.c: Likewise.
3263 * libio/iofflush_u.c: Likewise.
3264 * libio/iofgets.c: Likewise.
3265 * libio/iofgets_u.c: Likewise.
3266 * libio/iofopen.c: Likewise.
3267 * libio/iofopncook.c: Likewise.
3268 * libio/iofread.c: Likewise.
3269 * libio/iofread_u.c: Likewise.
3270 * libio/ioftell.c: Likewise.
3271 * libio/iofwrite.c: Likewise.
3272 * libio/iogetline.c: Likewise.
3273 * libio/iogets.c: Likewise.
3274 * libio/iogetwline.c: Likewise.
3275 * libio/iopadn.c: Likewise.
3276 * libio/iopopen.c: Likewise.
3277 * libio/ioseekoff.c: Likewise.
3278 * libio/ioseekpos.c: Likewise.
3279 * libio/iosetbuffer.c: Likewise.
3280 * libio/iosetvbuf.c: Likewise.
3281 * libio/ioungetc.c: Likewise.
3282 * libio/ioungetwc.c: Likewise.
3283 * libio/iovdprintf.c: Likewise.
3284 * libio/iovsprintf.c: Likewise.
3285 * libio/iovsscanf.c: Likewise.
3286 * libio/memstream.c: Likewise.
3287 * libio/obprintf.c: Likewise.
3288 * libio/oldfileops.c: Likewise.
3289 * libio/oldiofclose.c: Likewise.
3290 * libio/oldiofdopen.c: Likewise.
3291 * libio/oldiofopen.c: Likewise.
3292 * libio/oldiopopen.c: Likewise.
3293 * libio/oldstdfiles.c: Likewise.
3294 * libio/putc.c: Likewise.
3295 * libio/setbuf.c: Likewise.
3296 * libio/setlinebuf.c: Likewise.
3297 * libio/stdfiles.c: Likewise.
3298 * libio/strops.c: Likewise.
3299 * libio/vasprintf.c: Likewise.
3300 * libio/vscanf.c: Likewise.
3301 * libio/vsnprintf.c: Likewise.
3302 * libio/vswprintf.c: Likewise.
3303 * libio/wfiledoalloc.c: Likewise.
3304 * libio/wfileops.c: Likewise.
3305 * libio/wgenops.c: Likewise.
3306 * libio/wmemstream.c: Likewise.
3307 * libio/wstrops.c: Likewise.
3308 * libio/__fpurge.c: Likewise.
3309 * libio/__fsetlocking.c: Likewise.
3310 * assert/assert.c: Likewise.
3311 * debug/fgets_chk.c: Likewise.
3312 * debug/fgets_u_chk.c: Likewise.
3313 * debug/fread_chk.c: Likewise.
3314 * debug/fread_u_chk.c: Likewise.
3315 * debug/gets_chk.c: Likewise.
3316 * debug/obprintf_chk.c: Likewise.
3317 * debug/vasprintf_chk.c: Likewise.
3318 * debug/vdprintf_chk.c: Likewise.
3319 * debug/vsnprintf_chk.c: Likewise.
3320 * debug/vsprintf_chk.c: Likewise.
3321 * malloc/mtrace.c: Likewise.
3322 * misc/error.c: Likewise.
3323 * misc/syslog.c: Likewise.
3324 * stdio-common/asprintf.c: Likewise.
3325 * stdio-common/fxprintf.c: Likewise.
3326 * stdio-common/getw.c: Likewise.
3327 * stdio-common/isoc99_fscanf.c: Likewise.
3328 * stdio-common/isoc99_scanf.c: Likewise.
3329 * stdio-common/isoc99_vfscanf.c: Likewise.
3330 * stdio-common/isoc99_vscanf.c: Likewise.
3331 * stdio-common/isoc99_vsscanf.c: Likewise.
3332 * stdio-common/printf-prs.c: Likewise.
3333 * stdio-common/printf_fp.c: Likewise.
3334 * stdio-common/printf_fphex.c: Likewise.
3335 * stdio-common/printf_size.c: Likewise.
3336 * stdio-common/putw.c: Likewise.
3337 * stdio-common/scanf.c: Likewise.
3338 * stdio-common/sprintf.c: Likewise.
3339 * stdio-common/tmpfile.c: Likewise.
3340 * stdio-common/vfprintf.c: Likewise.
3341 * stdio-common/vfscanf.c: Likewise.
3342 * stdlib/strfmon_l.c: Likewise.
3343 * sunrpc/openchild.c: Likewise.
3344 * sunrpc/xdr_stdio.c: Likewise.
3345 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3346 * sysdeps/mach/hurd/tmpfile.c: Likewise.
3347
3348 2012-05-24 Roland McGrath <roland@hack.frob.com>
3349
3350 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3351
3352 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
3353 in the third column, to generate for the shared library an IFUNC
3354 that uses _dl_vdso_vsym.
3355 * Makerules (COMPILE.c, compile-stdin.c): New variables.
3356 * Makeconfig (object-suffixes-noshared): New variable.
3357
3358 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
3359 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
3360 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
3361 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
3362
3363 [BZ #14132]
3364 * include/sys/time.h (__gettimeofday): Remove macro.
3365 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
3366 * time/gettimeofday.c (__gettimeofday): Remove #undef.
3367 Remove INTDEF.
3368 (__gettimeofday): Add libc_hidden_def.
3369 (gettimeofday): Add libc_hidden_weak.
3370 * sysdeps/mach/gettimeofday.c: Likewise.
3371 * sysdeps/posix/gettimeofday.c: Likewise.
3372 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3373 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3374 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
3375 (__gettimeofday_internal): Remove strong_alias.
3376 (__gettimeofday): Add libc_hidden_def.
3377 (gettimeofday): Add libc_hidden_weak.
3378 * sysdeps/unix/syscalls.list (gettimeofday):
3379 Remove __gettimeofday_internal alias.
3380
3381 2012-05-24 Daniel Jacobowitz <drow@false.org>
3382 H.J. Lu <hongjiu.lu@intel.com>
3383
3384 [BZ #12495]
3385 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
3386 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
3387 (largebin_index_32_big): New.
3388 (largebin_index): Use it for 16-byte alignment.
3389 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
3390 correction with front_misalign.
3391
3392 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3393
3394 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
3395 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3396 Likewise.
3397 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
3398 Likewise.
3399 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3400 Likewise.
3401 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
3402 Likewise.
3403 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
3404 Likewise.
3405 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
3406 Likewise.
3407 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
3408 Likewise.
3409 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3410 Likewise.
3411 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
3412 Likewise.
3413 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
3414 Likewise.
3415 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3416 Likewise.
3417 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
3418 Likewise.
3419
3420 * scripts/data/c++-types-x32-linux-gnu.data: New file.
3421 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
3422
3423 2012-05-24 Joseph Myers <joseph@codesourcery.com>
3424
3425 [BZ #10846]
3426 [BZ #14036]
3427 * math/libm-test.inc (exp_test): Add test from bug 14036.
3428 (pow_test): Add test from bug 10846.
3429
3430 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
3431 and other flags.
3432 (special_function): Do not include flags in test name.
3433 (parse_args): Likewise.
3434 * sysdeps/i386/fpu/libm-test-ulps: Update.
3435 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3436 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3437 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3439
3440 * math/gen-libm-test.pl (%beautify): Add entries for underflow
3441 exceptions.
3442 * math/libm-test.inc ("Philosophy"): Update comment about
3443 exception testing.
3444 (UNDERFLOW_EXCEPTION): New macro.
3445 (UNDERFLOW_EXCEPTION_OK): Likewise.
3446 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3447 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3448 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3449 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3450 (INVALID_EXCEPTION_OK): Update value.
3451 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3452 (OVERFLOW_EXCEPTION_OK): Likewise.
3453 (IGNORE_ZERO_INF_SIGN): Likewise.
3454 (test_exceptions): Handle underflow exceptions.
3455 (acos_test): Update for underflow exception expectations.
3456 (cexp_test): Likewise.
3457 (clog_test): Likewise.
3458 (clog10_test): Likewise.
3459 (csqrt_test): Likewise.
3460 (ctan_test): Likewise.
3461 (ctanh_test): Likewise.
3462 (exp_test): Likewise.
3463 (exp10_test): Likewise.
3464 (exp2_test): Likewise.
3465 (expm1_test): Likewise.
3466 (fma_test): Likewise.
3467 (j0_test): Likewise.
3468 (jn_test): Likewise.
3469 (nexttoward_test): Likewise.
3470 (pow_test): Likewise.
3471 (scalbn_test): Likewise.
3472 (scalbln_test): Likewise.
3473 (tan_test): Likewise.
3474 (y1_test): Likewise.
3475 * sysdeps/i386/fpu/libm-test-ulps: Update.
3476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3477
3478 2012-05-23 David S. Miller <davem@davemloft.net>
3479
3480 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3481 (__libc_sigaction): Remove unused local variables.
3482
3483 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3484
3485 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3486
3487 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
3488
3489 mktime: avoid signed integer overflow
3490 * time/mktime.c (__mktime_internal): Do not mishandle the case
3491 where diff == INT_MIN.
3492
3493 mktime: simplify computation of average
3494 * time/mktime.c (ranged_convert): Use new time_t_avg function
3495 instead of rolling our own (probably-slower) code.
3496
3497 mktime: do not assume signed right shift propagates sign bit
3498 * time/mktime.c (isdst_differ): New static function.
3499 (__mktime_internal): No need to normalize tm_isdst now.
3500 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3501 tm_isdst values.
3502
3503 mktime: merge another wrapv change from gnulib
3504 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3505 from some compilers.
3506
3507 mktime: remove incorrect attempt at unusual arithmetics
3508 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3509 The code didn't really work on such machines anyway.
3510 (TYPE_MINIMUM): Assume two's complement.
3511 (twos_complement_arithmetic): Verify that long_int and time_t
3512 are two's complement (or unsigned, in the latter case).
3513
3514 mktime: check signed shifts on long_int and time_t, too
3515 * time/mktime.c (SHR): Check that shifts work as desired
3516 on the types long_int and time_t too, as SHR is used on
3517 such types.
3518
3519 mktime: do not assume 'long' is wide enough
3520 * time/mktime.c (verify): Move decl up.
3521 (long_int): New type.
3522 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3523 to remove assumption in the code that 'long' is wide enough to
3524 store year values. This assumption is not true on x32 and on
3525 some non-glibc platforms.
3526
3527 mktime: merge wrapv change from gnulib
3528 * time/mktime.c (WRAPV): New macro.
3529 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3530 (guess_time_tm, __mktime_internal): Do not assume that signed
3531 integer overflow wraps around; modern compilers generate code
3532 where this assumption is no longer valid.
3533
3534 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3535
3536 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3537 Replace "jmp L(pseudo_end)" with "ret".
3538 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3539 Likewise.
3540
3541 2012-05-23 Andreas Jaeger <aj@suse.de>
3542
3543 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3544 * sysdeps/unix/sysv/linux/poll.c: Remove file.
3545
3546 2012-05-23 Andreas Jaeger <aj@suse.de>
3547 Maximilian Attems <max@stro.at>
3548
3549 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3550 New macros.
3551
3552 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3553
3554 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3555 code so that pseudo_end is just ret and the stack pointer is
3556 correct also for static library in error case.
3557
3558 2012-05-23 Joseph Myers <joseph@codesourcery.com>
3559
3560 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
3561 move to syscalls.list.
3562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3566
3567 * manual/install.texi (Running make install): Do not mention Linux
3568 kernel version for which pt_chown is not needed.
3569 (Linux): Do not mention problems with nscd with 2.0 kernels.
3570 * INSTALL: Regenerated.
3571
3572 2012-05-23 Andreas Jaeger <aj@suse.de>
3573
3574 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3575 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
3576 macro.
3577 * sysdeps/unix/sysv/linux/s390/bits/mman.h
3578 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3579 * sysdeps/unix/sysv/linux/sh/bits/mman.h
3580 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3581 * sysdeps/unix/sysv/linux/i386/bits/mman.h
3582 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3583 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
3584 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3585 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
3586 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3587 * sysdeps/unix/sysv/linux/bits/in.h
3588 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
3589
3590 2012-05-22 Roland McGrath <roland@hack.frob.com>
3591
3592 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
3593 (PREPARE_VERSION): Just use assert instead, it will be elided
3594 under [NDEBUG] anyway.
3595
3596 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3597
3598 * sysdeps/unix/sysv/linux/Makefile: Include
3599 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
3600 (sysdep_routines): Remove sysctl.
3601 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
3602 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
3603 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
3604 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
3605 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
3606
3607 2012-05-22 Andreas Jaeger <aj@suse.de>
3608
3609 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
3610 that pseudo_end is just ret and the stack pointer is correct also
3611 for static library in error case.
3612
3613 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3614
3615 [BZ #14122]
3616 * nss/nsswitch.c (defconfig_entries): New variable.
3617 (__nss_database_lookup): Don't leak defconfig entries.
3618 (nss_parse_service_list): Don't leak on error paths.
3619 (free_database_entries): New function.
3620 (free_defconfig): New function.
3621 (free_mem): Move common code to free_database_entries.
3622
3623 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3624
3625 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
3626 Add arch_prctl.
3627 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
3628
3629 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3630 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
3631 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
3632 New macro.
3633 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3634 (INTERNAL_SYSCALL_TYPES): Likewise.
3635 (LOAD_ARGS_TYPES_[1-6]): Likewise.
3636 (LOAD_REGS_TYPES_[1-6]): Likewise.
3637 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
3638 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
3639
3640 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3641
3642 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
3643 copysignl for GLIBC_2_0.
3644 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
3645 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
3646 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
3647 logbl for GLIBC_2_0.
3648 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3649 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3650
3651 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3652
3653 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
3654 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3655
3656 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3657 Use "neg %eax".
3658
3659 * time/mktime.c: Update copyright years.
3660
3661 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
3662
3663 mktime: merge comment-quoting-style change from gnulib
3664 * time/mktime.c: Quote 'like this' in comments.
3665 The GNU coding standards suggest that we no longer quote `like this',
3666 as "`" and "'" are typically rendered asymmetrically nowadays.
3667 The typical gnulib style is to quote 'like this' when quoting
3668 code, and "like this" when quoting English.
3669
3670 * time/mktime.c (compile-command): Add "-I.".
3671
3672 mktime: merge mktime-internal.h change from gnulib
3673 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
3674
3675 mktime: merge time_r change from gnulib
3676 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
3677
3678 mktime: merge DEBUG change from gnulib
3679 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
3680 case system <time.h> has a #define.
3681
3682 mktime: merge <sys/types.h> change from gnulib
3683 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
3684 since <time.t> is now guaranteed to define time_t.
3685
3686 mktime: merge HAVE_CONFIG_H change from gnulib
3687 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
3688
3689 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3690
3691 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3692 Use "neg %eax".
3693
3694 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
3695 __rlim_t cast.
3696 (struct rusage): Use anonymous union to pad each field to
3697 __syscall_slong_t.
3698
3699 2012-05-21 David S. Miller <davem@davemloft.net>
3700
3701 * Makefules (o-iterator): Remove .s cases.
3702 (compile-command.s): Delete.
3703 (COMPILE.s): Delete.
3704 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
3705
3706 2012-05-21 Joseph Myers <joseph@codesourcery.com>
3707
3708 * configure.in (libc_cv_predef_stack_protector): Only consider
3709 "foobar" and "__stack_chk_fail" lines in libc_undefs.
3710 * configure: Regenerated.
3711
3712 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3713
3714 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3715 New macro. Use R*LP on int and pointer.
3716 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
3717 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
3718 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
3719 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
3720
3721 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
3722 [__WORDSIZE_TIME64_COMPAT32] instead of
3723 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
3724 (struct utmp): Likewise.
3725 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
3726 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
3727 Renamed to ...
3728 (__WORDSIZE_TIME64_COMPAT32): This.
3729 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3730 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3731 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
3732 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
3733 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
3734 (__WORDSIZE_TIME64_COMPAT32): New macro.
3735
3736 2012-05-21 Andreas Jaeger <aj@suse.de>
3737
3738 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
3739 only if [SHARED]. Add prototype for __wcschr_ia32.
3740
3741 2012-05-21 Roland McGrath <roland@hack.frob.com>
3742
3743 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
3744 of %rbp unmolested in the jmp_buf while mangling the low bits.
3745 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
3746 unmolested high bits of %rbp while demangling the low bits.
3747 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3748
3749 2012-05-21 Andreas Jaeger <aj@suse.de>
3750
3751 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
3752 * sunrpc/svc_simple.c: Use it for registerrpc.
3753 * sunrpc/xcrypt.c: Use it for passwd2des.
3754
3755 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
3756
3757 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3758
3759 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
3760 Don't define if [__SYSCALL_WORDSIZE != 32].
3761 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
3762 New macro.
3763
3764 2012-05-21 Bruno Haible <bruno@clisp.org>
3765 Andreas Jaeger <aj@suse.de>
3766
3767 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
3768 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
3769 inptr and inend for must_buffer_ch.
3770 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
3771 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
3772 * stdio-common/Makefile (tests): Remove bug15.
3773 (bug15-ENV): Remove macro.
3774 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
3775 anymore.
3776
3777 2012-05-19 Andreas Jaeger <aj@suse.de>
3778 Roland McGrath <roland@hack.frob.com>
3779
3780 * manual/contrib.texi: Completely rewritten. It contains now an
3781 alphabetical list of contributors and their contributions.
3782
3783 2012-05-21 Richard Henderson <rth@twiddle.net>
3784
3785 * misc/getauxval.c (__getauxval): Use unsigned long int.
3786 * misc/sys/auxv.h: Include <sys/cdefs.h>.
3787 (getauxval): Use unsigned long int.
3788
3789 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3790
3791 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3792
3793 2012-05-21 Roland McGrath <roland@hack.frob.com>
3794
3795 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
3796 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
3797 __alignof__ (long double).
3798
3799 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3800
3801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3802
3803 2012-05-20 Richard Henderson <rth@twiddle.net>
3804
3805 * misc/getauxval.c: New file.
3806 * misc/sys/auxv.h: New file.
3807 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
3808 (routines): Add getauxval.
3809 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
3810 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
3811 * elf/dl-sysdep.c (_dl_auxv): Remove.
3812 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
3813 * elf/dl-support.c (_dl_auxv): New variable.
3814 (_dl_aux_init): Initialize it.
3815 * manual/startup.texi (Auxiliary Vector): New node.
3816 * sysdeps/generic/bits/hwcap.h: New file.
3817 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
3818 * sysdeps/powerpc/sysdep.h: ... here. Include it.
3819 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
3820 * sysdeps/sparc/sysdep.h: ... here. Include it.
3821 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
3822 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
3823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3824 Update.
3825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
3826 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
3827 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
3828 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
3829 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3830 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3831 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
3832 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
3833
3834 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3835
3836 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3837
3838 2012-05-19 David S. Miller <davem@davemloft.net>
3839
3840 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3841
3842 2012-05-19 Joseph Myers <joseph@codesourcery.com>
3843
3844 [BZ #14123]
3845 * math/s_ccosh.c: Include <float.h>
3846 (__ccosh): Avoid internal overflow calculating sinh and cosh
3847 values before multiplying by sin and cos values.
3848 * math/s_ccoshf.c: Likewise.
3849 * math/s_ccoshl.c: Likewise.
3850 * math/s_csin.c: Likewise.
3851 * math/s_csinf.c: Likewise.
3852 * math/s_csinl.c: Likewise.
3853 * math/s_csinh.c: Likewise.
3854 * math/s_csinhf.c: Likewise.
3855 * math/s_csinhl.c: Likewise.
3856 * math/libm-test.inc (ccos_test): Add more tests.
3857 (ccosh_test): Likewise.
3858 (csin_test): Likewise.
3859 (csinh_test): Likewise.
3860 * sysdeps/i386/fpu/libm-test-ulps: Update.
3861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3862
3863 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
3864
3865 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
3866 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3867
3868 * sysdeps/x86_64/x32/_itoa.h: Add comment.
3869
3870 2012-05-19 Joseph Myers <joseph@codesourcery.com>
3871
3872 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
3873 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
3874 * sysdeps/powerpc/soft-fp/Versions: Likewise.
3875 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
3876 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
3877 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
3878 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
3879 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
3880 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
3881 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
3882 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
3883 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
3884 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
3885 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
3886 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
3887 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
3888 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
3889 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
3890 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
3891 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
3892 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
3893 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
3894 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
3895 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
3896 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
3897 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
3898 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
3899 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
3900 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
3901 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
3902 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
3903
3904 2012-05-18 Andreas Jaeger <aj@suse.de>
3905
3906 * csu/.gitignore: Delete.
3907
3908 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3909
3910 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
3911 (timex): Use __syscall_slong_t.
3912
3913 2012-05-18 Andreas Jaeger <aj@suse.de>
3914 Carlos O'Donell <carlos_odonell@mentor.com>
3915
3916 * manual/install.texi (Configuring and compiling): Update
3917 description about files modified in the source directory.
3918 * INSTALL: Regenerated.
3919
3920 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3921
3922 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
3923 value. Use "or" to set return value to -1.
3924 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
3925 negate return value.
3926
3927 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3928
3929 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
3930 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
3931 failure if the compiler has Graphite support disabled.
3932 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
3933 Likewise.
3934 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
3935 CFLAGS-memmove.c): Likewise.
3936 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
3937 Likewise.
3938
3939 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3940
3941 * sysdeps/x86_64/x32/_itoa.h: New file.
3942
3943 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
3944 getdents system call only if kernel and user dirents have the
3945 same d_ino and d_off.
3946
3947 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3948 LLONG_MAX != LONG_MAX.
3949 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3950 (_fitoa_word): Likewise.
3951
3952 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
3953 years.
3954 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
3955 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
3956 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
3957
3958 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
3959 include <bits/wordsize.h>. Check __x86_64__ instead of
3960 __WORDSIZE.
3961 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
3962 if __x86_64__ is defined. Use anonymous union on fpstate.
3963
3964 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
3965 anonymous union.
3966
3967 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
3968
3969 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3970 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
3971 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
3972 Refer to _rtld_local_ro instead of _rtld_global_ro.
3973 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
3974 Likewise.
3975 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
3976 Likewise.
3977 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
3978 Likewise.
3979 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
3980 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
3981 of _rtld_global, and rtld_progname instead of _dl_argv[0].
3982
3983 * sysdeps/powerpc/powerpc32/dl-machine.c
3984 (__elf_machine_runtime_setup) [PROF]: Don't reference
3985 _dl_prof_resolve.
3986
3987 2012-05-18 Andreas Jaeger <aj@suse.de>
3988
3989 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
3990 function only available for GCCs before 3.4 since GCC 3.4
3991 introduced a builtin.
3992 (lrint): Likewise.
3993 (llrintf): Likewise.
3994 (llrint): Likewise.
3995 (fmaxf): Likewise.
3996 (fmax): Likewise.
3997 (fminf): Likewise.
3998 (fmin): Likewise.
3999 (rint): Likewise.
4000 (rintf): Likewise.
4001 (nearbyint): Likewise.
4002 (nearbyintf): Likewise.
4003 (ceil): Likewise.
4004 (ceilf): Likewise.
4005 (floor): Likewise.
4006 (floorf): Likewise.
4007
4008 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4009
4010 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
4011 on both fields and cast pointer to __syscall_ulong_t.
4012
4013 * bits/types.h (__fsword_t): New type.
4014 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
4015 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
4016 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4017 (__FSWORD_T_TYPE): Likewise.
4018 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4019 (__FSWORD_T_TYPE): Likewise.
4020 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4021 (__FSWORD_T_TYPE): Likewise.
4022 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
4023 (__FSWORD_T_TYPE): Likewise.
4024 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
4025 __SWORD_TYPE with __fsword_t.
4026 (statfs64): Likewise.
4027
4028 2012-05-17 David S. Miller <davem@davemloft.net>
4029
4030 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
4031
4032 2012-05-17 Andreas Jaeger <aj@suse.de>
4033
4034 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
4035 warning.
4036
4037 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4038
4039 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
4040
4041 2012-05-17 Andreas Jaeger <aj@suse.de>
4042
4043 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
4044 when it is used.
4045
4046 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4047
4048 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
4049
4050 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4051
4052 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
4053 * sysdeps/x86_64/tst-mallocalign1.c: New file.
4054
4055 2012-05-17 Andreas Jaeger <aj@suse.de>
4056 Carlos O'Donell <carlos_odonell@mentor.com>
4057
4058 [BZ #14059]
4059 * sysdeps/x86_64/multiarch/init-arch.h
4060 (bit_YMM_Usable): Rename to...
4061 (bit_AVX_Usable): ... this.
4062 (bit_FMA4_Usable): New macro.
4063 (bit_XMM_state): New macro.
4064 (bit_YMM_state): New macro.
4065 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
4066 [__ASSEMBLER__] (index_AVX_Usable): ... this.
4067 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
4068 (CPUID_OSXSAVE): New macro.
4069 (CPUID_AVX): New macro.
4070 (CPUID_FMA4): New macro.
4071 (index_YMM_Usable): Rename to...
4072 (index_AVX_Usable): ... this.
4073 (HAS_AVX): Use HAS_ARCH_FEATURE.
4074 (HAS_FMA4): Likewise.
4075 (HAS_YMM_USABLE): Remove.
4076 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4077 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
4078 are present.
4079 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
4080 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
4081 * sysdeps/x86_64/multiarch/Makefile: Likewise.
4082 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
4083 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
4084
4085 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4086
4087 * math/libm-test.c: Support platforms without multiple rounding modes.
4088 * math/bug-nextafter.c: Support platforms without FP exceptions.
4089 * math/bug-nexttoward.c: Likewise.
4090 * math/test-fenv.c: Likewise.
4091 * math/test-misc.c: Likewise.
4092 * stdlib/bug-getcontext.c: Likewise.
4093
4094 2012-05-17 Andreas Jaeger <aj@suse.de>
4095
4096 * manual/examples/search.c (critter_cmp): Change signature to
4097 avoid warnings.
4098 * manual/string.texi (Collation Functions): Likewise.
4099
4100 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4101
4102 * bits/types.h: Fold copyright years.
4103 * bits/typesizes.h: Likewise.
4104 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
4105 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4106 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
4107 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
4108 * time/time.h: Likewise.
4109
4110 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
4111
4112 [BZ #208]
4113 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
4114 in instead of returning them. Return void.
4115 (__libc_mallinfo): Accumulate over all arenas.
4116 (__malloc_stats): Adjust for change in int_mallinfo interface.
4117
4118 2012-05-16 Roland McGrath <roland@hack.frob.com>
4119
4120 [BZ #10375]
4121 * configure.in (NM): Add AC_CHECK_TOOL for it.
4122 (libc_extra_cflags): New substituted variable.
4123 Check for -fstack-protector being used implicitly.
4124 * configure: Regenerated.
4125 * config.make.in (config-extra-cflags): New variable,
4126 gets @libc_extra_cflags@.
4127 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
4128
4129 [BZ #10375]
4130 * configure.in: Check for _FORTIFY_SOURCE being predefined.
4131 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
4132 * configure: Regenerated.
4133 * config.make.in (CPPUNDEFS): New substituted variable.
4134 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
4135 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
4136 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
4137
4138 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4139
4140 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
4141 (mq_attr): Use __syscall_slong_t.
4142
4143 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4144
4145 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
4146 Check __x86_64__ instead of __WORDSIZE.
4147 (_STAT_VER_LINUX): Likewise.
4148 (stat): Check __x86_64__ instead of __WORDSIZE. Use
4149 __syscall_ulong_t and __syscall_slong_t.
4150 (stat64): Likewise.
4151
4152 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4153
4154 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
4155
4156 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4157
4158 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
4159
4160 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4161
4162 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
4163 __syscall_ulong_t.
4164
4165 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
4166 include <bits/wordsize.h>. Check __x86_64__ instead of
4167 __WORDSIZE.
4168 (greg_t): Use "__extension__ long long int" if __x86_64__ is
4169 defined.
4170 (mcontext_t): Replace "unsigned long" with "unsigned long long".
4171
4172 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
4173 include <bits/wordsize.h>. Check __x86_64__ instead of
4174 __WORDSIZE.
4175 (user_regs_struct): Use "__extension__ unsigned long long"
4176 instead of "unsigned long" if __x86_64__ is defined.
4177 (user): Likewise. Pad after pointer field if __ILP32__ is
4178 defined.
4179
4180 2012-05-16 Joseph Myers <joseph@codesourcery.com>
4181
4182 * configure.in (makeinfo): Require version 4.5 or later. Allow
4183 versions 5 to 9.
4184 * configure: Regenerated.
4185 * manual/install.texi (texinfo): Increase version requirement to
4186 4.5 or later.
4187 * INSTALL: Regenerated.
4188
4189 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
4190
4191 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4192
4193 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
4194
4195 * sysdeps/x86_64/x32/ffs.c: New file.
4196
4197 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
4198 __syscall_ulong_t.
4199 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
4200 defined. Use __syscall_ulong_t.
4201 (shminfo): Use __syscall_ulong_t.
4202 (shm_info): Likewise.
4203
4204 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
4205 __syscall_ulong_t.
4206
4207 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
4208 <bits/wordsize.h>.
4209 (msgqnum_t): Use __syscall_ulong_t.
4210 (msglen_t): Likewise.
4211 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
4212 __syscall_ulong_t.
4213
4214 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
4215 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4216
4217 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
4218
4219 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
4220 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
4221
4222 * sysvipc/sys/msg.h (msgbuf): Replace long int with
4223 __syscall_slong_t.
4224
4225 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
4226 include <bits/wordsize.h>. Check __x86_64__ instead of
4227 __WORDSIZE.
4228
4229 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
4230 "unsigned long long int" if __x86_64__ is defined.
4231 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
4232
4233 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
4234 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4235 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
4236
4237 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
4238 <stdint.h>.
4239 (GET_PC): Cast to uintptr_t first.
4240 (GET_FRAME): Likewise.
4241 (GET_STACK): Likewise.
4242
4243 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
4244 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
4245 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
4246 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
4247 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
4248 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
4249 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
4250 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
4251 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4252 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
4253 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
4254 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
4255 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4256 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
4257 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
4258 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
4259 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
4260 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
4261 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
4262 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
4263 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
4264 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
4265 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
4266 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
4267 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
4268 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
4269 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
4270 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
4271 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
4272
4273 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
4274
4275 * Makerules (+depfiles): Also collect depfiles from .oS in
4276 $(extra-objs).
4277 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
4278 .oS, $(libnldbl-routines)).
4279
4280 * Makerules (native-compile-mkdep-flags): Define.
4281 * sunrpc/Makefile (extra-objs): Add $(addprefix
4282 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
4283 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
4284 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
4285 calling $(make-target-directory).
4286
4287 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4288
4289 * bits/types.h (__snseconds_t): Removed.
4290 * time/time.h (struct timespec): Replace __snseconds_t with
4291 __syscall_slong_t.
4292 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
4293 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
4294 Likewise.
4295 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4296 (__SNSECONDS_T_TYPE): Likewise.
4297 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4298 (__SNSECONDS_T_TYPE): Likewise.
4299 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4300 (__SNSECONDS_T_TYPE): Likewise.
4301
4302 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4303
4304 * sysdeps/mach/hurd/bits/typesizes.h
4305 (__SYSCALL_SLONG_TYPE): New macro.
4306 (__SYSCALL_ULONG_TYPE): Likewise.
4307
4308 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4309
4310 * bits/types.h (__syscall_slong_t): New type.
4311 (__syscall_ulong_t): Likewise.
4312
4313 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
4314 (__SYSCALL_ULONG_TYPE): Likewise.
4315 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4316 (__SYSCALL_SLONG_TYPE): Likewise.
4317 (__SYSCALL_ULONG_TYPE): Likewise.
4318 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4319 (__SYSCALL_SLONG_TYPE): Likewise.
4320 (__SYSCALL_ULONG_TYPE): Likewise.
4321 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4322 (__SYSCALL_SLONG_TYPE): Likewise.
4323 (__SYSCALL_ULONG_TYPE): Likewise.
4324
4325 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4326
4327 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
4328 Add sigaltstack-offsets.sym.
4329 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
4330 <sigaltstack-offsets.h>.
4331 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
4332 longjmp_msg pointer.
4333 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
4334 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
4335 signal stack.
4336 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
4337
4338 2012-05-15 Joseph Myers <joseph@codesourcery.com>
4339
4340 * elf/stackguard-macros.h: Remove file.
4341 * sysdeps/generic/stackguard-macros.h: New file.
4342 * sysdeps/i386/stackguard-macros.h: Likewise.
4343 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4344 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4345 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4346 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4347 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4348 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4349 * sysdeps/x86_64/stackguard-macros.h: Likewise.
4350 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
4351 <elf/stackguard-macros.h>.
4352
4353 [BZ #14109]
4354 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
4355 __aligned__ in attribute.
4356 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
4357 (gregset_t): Likewise.
4358
4359 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4360
4361 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
4362 * sysdeps/x86_64/64/Implies-after: Here. New file.
4363 * sysdeps/x86_64/x32/Implies-after: New file.
4364
4365 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4366
4367 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
4368 and access return value for _dl_profile_fixup. Use R10_LP to
4369 load frame size.
4370
4371 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4372
4373 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
4374
4375 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4376
4377 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
4378 * sysdeps/x86_64/x32/sysdep.h: New file.
4379
4380 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4381
4382 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
4383 * sysdeps/x86_64/setjmp.S: Likewise.
4384
4385 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4386
4387 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
4388 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
4389 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
4390 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
4391 remove unused global constant.
4392
4393 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
4394
4395 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
4396 include of <not-cancel.h>.
4397
4398 2012-05-15 Roland McGrath <roland@hack.frob.com>
4399
4400 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
4401
4402 2012-05-15 Jeff Law <law@redhat.com>
4403 Andreas Jaeger <aj@suse.de>
4404
4405 [BZ #13594]
4406 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
4407 out from...
4408 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
4409 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
4410 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
4411 code changing __hst_map_handle.map.
4412
4413 2012-05-15 Roland McGrath <roland@hack.frob.com>
4414
4415 * configure.in (sysnames): Look for Implies-before and Implies-after
4416 files.
4417 * configure: Regenerated.
4418
4419 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4420
4421 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
4422 8-byte data alignment with LP_SIZE alignment.
4423
4424 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4425
4426 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
4427 into R10_LP.
4428
4429 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4430
4431 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
4432
4433 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4434
4435 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
4436 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
4437 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
4438 Likewise.
4439 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4440
4441 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4442
4443 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
4444 (stackinfo_sub_sp): Likewise.
4445
4446 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4447
4448 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
4449 RAX_LP.
4450
4451 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4452
4453 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
4454 into R*_LP.
4455
4456 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4457
4458 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
4459 sizes into R*_LP.
4460
4461 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4462
4463 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4464
4465 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4466
4467 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4468 into R11_LP and load __x86_64_shared_cache_size_half into
4469 R8_LP.
4470
4471 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4472
4473 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4474 R8_LP.
4475
4476 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4477
4478 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4479 logb for POWER7.
4480 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4481 logbf for POWER7.
4482 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4483 logbl for POWER7.
4484 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4485 powerpc32/power7/fpu/s_logb.c via #include.
4486 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4487 powerpc32/power7/fpu/s_logbf.c via #include.
4488 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4489 powerpc32/power7/fpu/s_logbl.c via #include.
4490
4491 2012-05-15 Joseph Myers <joseph@codesourcery.com>
4492
4493 * README.libm: Remove file.
4494
4495 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4496
4497 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4498 count for x32. Use R*_LP and omit operand-size suffix.
4499
4500 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4501
4502 * shlib-versions: Move x86_64-.*-linux.* entries to ...
4503 * sysdeps/x86_64/64/shlib-versions: Here. New file.
4504 * sysdeps/x86_64/x32/shlib-versions: New file.
4505
4506 2012-05-14 Roland McGrath <roland@hack.frob.com>
4507
4508 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4509 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4510 Use _dl_fatal_printf instead.
4511
4512 2012-05-14 Joseph Myers <joseph@codesourcery.com>
4513
4514 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4515 set if not set by the user. Do not allow for being unset.
4516 * sysdeps/unix/sysv/linux/configure: Regenerated.
4517
4518 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4519
4520 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4521 the `q' suffix from lea and replace .quad with ASM_ADDR.
4522
4523 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4524
4525 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4526 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
4527 instead of $17.
4528 (PTR_DEMANGLE): Likewise.
4529
4530 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4531
4532 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4533 (LP_OP): Likewise.
4534 (ASM_ADDR): Likewise.
4535 (RAX_LP): Likewise.
4536 (RBP_LP): Likewise.
4537 (RBX_LP): Likewise.
4538 (RCX_LP): Likewise.
4539 (RDI_LP): Likewise.
4540 (RSI_LP): Likewise.
4541 (RSP_LP): Likewise.
4542 (R8_LP): Likewise.
4543 (R9_LP): Likewise.
4544 (R10_LP): Likewise.
4545 (R10_LP): Likewise.
4546 (R11_LP): Likewise.
4547 (R12_LP): Likewise.
4548 (R13_LP): Likewise.
4549 (R14_LP): Likewise.
4550 (R15_LP): Likewise.
4551
4552 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4553
4554 * sysdeps/x86_64/x32/dl-machine.h: New file.
4555
4556 2012-05-14 Andreas Jaeger <aj@suse.de>
4557
4558 * manual/Makefile (subdir): Remove export of subdir.
4559 (all): Remove target.
4560 (.PHONY): Remove all from list.
4561 (mkinstalldirs): Remove.
4562 (.PHONY): Remove installdirs from list.
4563 ($(inst_infodir)/libc.info): Use make-target-directory.
4564 (installdirs): Remove.
4565 (subdir_%): Remove.
4566 (glibc-targets): Remove.
4567 (lib): Remove.
4568 (stubs): Remove.
4569 ($(objpfx)stubs ../po/manual.pot): Remove.
4570 ($(objpfx)stamp%): Remove.
4571 (make-target-directory): Remove.
4572 (subdir_install): Remove.
4573 (routines): Remove.
4574 (aux): Remove.
4575 (sources): Remove.
4576 (objects): Remove.
4577 (headers): Remove.
4578
4579 [BZ #13750]
4580 * manual/.gitignore: Remove, it's not needed anymore.
4581 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
4582 all files in it.
4583 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
4584 directory.
4585 (texis): Renamed to $(objpfx)texis.
4586 (texis-path): New, contains path to generated files.
4587 (chapters.%): Use texis-path for complete path, add extra argument
4588 libc-texinfo.sh.
4589 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
4590 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
4591 (summary,texi, stamp-summary): Use complete path of
4592 files. Generate files in build dir.
4593 (dir-add.texi): Build in build dir.
4594 (libm-err.texi,stamp-libm-err): Likewise.
4595 (version.texi, stamp-version): Likewise.
4596 (.%c.texi): Likewise.
4597 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
4598 (mostlyclean): Remove target.
4599 (realclean): Remove target.
4600 (generated): Add new variable with contents from mostlyclean and
4601 realclean, remove entries duplicated in common-mostlyclean, add
4602 stamp-libm-err and stamp-version.
4603 (generated-dirs): Add libc directory.
4604 ($(inst_infodir)/libc.info): Install files from build dir.
4605
4606 * manual/install.texi (Configuring and compiling): Adjust since
4607 the info files are not part of the tar ball anymore.
4608
4609 2012-05-14 Andreas Jaeger <aj@suse.de>
4610
4611 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
4612 variable.
4613
4614 2012-05-14 Joseph Myers <joseph@codesourcery.com>
4615
4616 [BZ #13717]
4617 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4618 to 2.2.0 where earlier.
4619 * sysdeps/unix/sysv/linux/configure: Regenerated.
4620 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
4621 Remove conditional code.
4622 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
4623 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
4624 Remove conditional code.
4625 [!__NR_lchown]: Likewise.
4626 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4627 [__NR_lchown]: Likewise.
4628 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
4629 comment referencing __ASSUME_LCHOWN_SYSCALL.
4630 * sysdeps/unix/sysv/linux/i386/sigaction.c
4631 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4632 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4633 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
4634 Remove conditional code.
4635 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
4636 (__protocol_available): Remove #if 0 code.
4637 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
4638 conditional code.
4639 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
4640 * sysdeps/unix/sysv/linux/kernel-features.h
4641 (__ASSUME_GETCWD_SYSCALL): Don't define.
4642 (__ASSUME_REALTIME_SIGNALS): Likewise.
4643 (__ASSUME_PREAD_SYSCALL): Likewise.
4644 (__ASSUME_PWRITE_SYSCALL): Likewise.
4645 (__ASSUME_POLL_SYSCALL): Likewise.
4646 (__ASSUME_LCHOWN_SYSCALL): Likewise.
4647 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
4648 non-SPARC.
4649 (__ASSUME_SIOCGIFNAME): Don't define.
4650 (__ASSUME_MSG_NOSIGNAL): Likewise.
4651 (__ASSUME_SENDFILE): Define unconditionally.
4652 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
4653 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
4654 conditional code.
4655 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
4656 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
4657 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4658 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4659 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
4660 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4661 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
4663 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4664 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4666 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4667 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
4669 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4670 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4672 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4673 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
4675 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4676 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4678 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4679 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
4681 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4682 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4684 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4685 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4686 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
4687 Remove conditional code.
4688 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4689 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4690 Remove conditional code.
4691 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4692 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
4693 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
4694 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4695 Remove conditional code.
4696 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4697 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
4698 Remove conditional code.
4699 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4700 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
4701 Remove conditional code.
4702 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4703 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4704 Remove conditional code.
4705 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4706 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4707 Remove conditional code.
4708 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4709 * sysdeps/unix/sysv/linux/sh/pwrite64.c
4710 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4711 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4712 * sysdeps/unix/sysv/linux/sigaction.c
4713 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4714 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4715 * sysdeps/unix/sysv/linux/sigpending.c
4716 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4717 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4718 * sysdeps/unix/sysv/linux/sigprocmask.c
4719 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4720 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4721 * sysdeps/unix/sysv/linux/sigsuspend.c
4722 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4723 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4724 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4725 (__libc_missing_rt_sigs): Remove.
4726 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
4727 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
4728 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
4729 Remove conditional code.
4730 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
4731 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
4732 return 1.
4733 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
4734 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
4735 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
4736 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
4737
4738 2012-05-14 Andreas Jaeger <aj@suse.de>
4739
4740 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
4741 it's not used in glibc.
4742 (__coshm1): Likewise.
4743 (__acosh1p): Likewise.
4744 (__sgn): Likewise.
4745
4746 * manual/string.texi (Copying and Concatenation): Add missing
4747 variable in concat example.
4748 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4749
4750 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4751
4752 [BZ #14103]
4753 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
4754 __builtin_clzl with __builtin_clzll.
4755
4756 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4757
4758 [BZ #14104]
4759 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
4760 libc_freeres_ptr.
4761
4762 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4763
4764 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
4765 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
4766 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
4767 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
4768
4769 2012-05-14 Mike Frysinger <vapier@gentoo.org>
4770
4771 * NEWS: Update ia64 info.
4772
4773 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
4774
4775 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
4776 used as bcopy.
4777
4778 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
4779
4780 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
4781 * sysdeps/unix/syscalls.list (dup3): Likewise.
4782 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
4783 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
4784
4785 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4786
4787 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
4788 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
4789
4790 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4791
4792 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
4793 thread pointer.
4794 (TLS_IE): Use mov/add instead of movq/addq to load thread
4795 pointer.
4796 (TLS_GD_PREFIX): New.
4797 (TLS_GD): Use it.
4798
4799 2012-05-11 David S. Miller <davem@davemloft.net>
4800
4801 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
4802 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
4803 (_FPU_SETCW): Likewise.
4804
4805 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4806
4807 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
4808 is 32-byte aligned.
4809
4810 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
4811
4812 [BZ #11837]
4813 * iconvdata/gb18030.c: Update tables.
4814 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
4815 characters specially.
4816 (BODY for TO_LOOP): Add encoding of missing ranges.
4817
4818 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
4819
4820 [BZ #13673]
4821 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
4822 * sysdeps/mach/hurd/dup3.c: Likewise.
4823 * sysdeps/mach/hurd/readlinkat.c: Likewise.
4824 * sysdeps/powerpc/memmove.c:: Likewise.
4825
4826 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4827
4828 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
4829 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
4830
4831 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4832
4833 * elf/elf.h (R_X86_64_RELATIVE64): New.
4834 (R_X86_64_NUM): Updated.
4835 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4836 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
4837 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
4838 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
4839 tst-quad1pie tst-quad2pie
4840 (modules-names): Add tst-quadmod1 tst-quadmod2.
4841 ($(objpfx)tst-quad1): New dependency.
4842 ($(objpfx)tst-quad2): Likewise.
4843 ($(objpfx)tst-quad1pie): Likewise.
4844 ($(objpfx)tst-quad2pie): Likewise.
4845 * sysdeps/x86_64/tst-quad1.c: New file.
4846 * sysdeps/x86_64/tst-quad1pie.c: New file.
4847 * sysdeps/x86_64/tst-quad2.c: Likewise.
4848 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
4849 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
4850 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
4851 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
4852 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
4853
4854 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4855
4856 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
4857 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
4858 * streams/stropts.h (t_scalar_t): Define type.
4859
4860 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
4861 (_PATH_PRESERVE): Set to "/var/lib".
4862 (_PATH_RWHODIR): Set to "/var/spool/rwho".
4863
4864 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
4865 instead of int.
4866
4867 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
4868 if __dir_mkfile succeeded.
4869
4870 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
4871 checking for _hurd_dtablesize. Unlock it right after having
4872 finished _hurd_dtable allocation.
4873
4874 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4875
4876 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
4877 * sysdeps/mach/hurd/configure: Regenerated.
4878 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
4879 special-casing to...
4880 * sysdeps/gnu/configure.in: ... this new file.
4881 * sysdeps/unix/sysv/linux/configure: Regenerated.
4882 * sysdeps/gnu/configure: New generated file.
4883
4884 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
4885 for Linux: use nsec instead of usec, as well as:
4886 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
4887 members of type struct timespec.
4888 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
4889 New macros.
4890 (struct stat64): Likewise.
4891 (_STATBUF_ST_NSEC): New macro.
4892 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
4893
4894 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4895 __strtoul_internal rather than strtoul.
4896
4897 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4898
4899 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
4900 and reject them.
4901
4902 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4903
4904 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
4905 which preserves existing values.
4906 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
4907
4908 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4909
4910 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
4911 TIMEOUT values. Return EINVAL for NFDS values either negative or
4912 greater than FD_SETSIZE.
4913
4914 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4915
4916 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
4917 allocated, call __vm_protect to finish enabling the existing space, and
4918 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
4919 allocate the remainder.
4920
4921 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4922
4923 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
4924 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
4925
4926 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4927
4928 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
4929 sysdeps/mach/hurd/readlink.c.
4930
4931 * posix/tst-sysconf.c (posix_options): Only use
4932 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
4933 _POSIX_SYNCHRONIZED_IO when they are defined
4934 * sysdeps/mach/hurd/bits/posix_opt.h:
4935 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
4936 (_XOPEN_REALTIME): Undefine macro.
4937 (_XOPEN_REALTIME_THREADS): Undefine macro.
4938 (_XOPEN_SHM): Undefine macro.
4939 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
4940 macro to -1.
4941 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
4942 macro to -1.
4943 (_POSIX_ASYNC_IO): Undefine macro.
4944 (_POSIX_PRIORITIZED_IO): Undefine macro.
4945 (_POSIX_SPIN_LOCKS): Define macro to -1.
4946
4947 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
4948 SA_NODEFER, SA_RESETHAND.
4949 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
4950 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
4951 F_DUPFD_CLOEXEC.
4952
4953 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4954
4955 * elf/Makefile (pldd-modules): Define unconditionally.
4956
4957 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4958
4959 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
4960
4961 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4962
4963 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
4964 Return ENOENT when name is empty.
4965 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
4966
4967 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4968
4969 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
4970
4971 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
4972
4973 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4974
4975 Fix mlock in all cases except non-readable pages.
4976 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
4977 instead of VM_PROT_ALL as parameter to __vm_wire function.
4978
4979 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
4980 (__mkdir): When path is `/', just fail with EEXIST.
4981 * sysdeps/mach/hurd/mkdirat.c: Likewise.
4982
4983 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4984
4985 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
4986 <sys/uio.h> (for writev).
4987 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
4988 and <sys/param.h> (for MIN).
4989
4990 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4991
4992 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
4993 REQUESTED_TIME. Properly set the remaining time and return EINTR
4994 if interrupted.
4995
4996 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4997
4998 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
4999 Depend on against $(link-rpcuserlibs).
5000
5001 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5002
5003 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
5004 (__libc_stack_end): Do not use attribute_relro.
5005 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
5006 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5007 to libthread-provided value.
5008 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
5009 attribute_relro.
5010
5011 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5012
5013 [BZ #3748]
5014 * bits/libc-lock.h (__libc_once_get): New macro.
5015 * sysdeps/mach/bits/libc-lock.h: Likewise.
5016 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
5017 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
5018 instead of using implementation details.
5019
5020 * libio/fileops.c: Unconditionally include <kernel-features.h>.
5021 * libio/freopen.c: Likewise.
5022 * libio/freopen64.c: Likewise.
5023 * misc/syslog.c: Likewise.
5024 * nscd/connections.c: Likewise.
5025 * nscd/netgroupcache.c: Likewise.
5026 * sysdeps/posix/getcwd.c: Likewise.
5027
5028 2012-05-10 Roland McGrath <roland@hack.frob.com>
5029
5030 * math/w_ilogbf.c: Add #include <limits.h>.
5031
5032 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5033
5034 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
5035 path instead of returning without unlocking.
5036
5037 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
5038 immediate-write ioctls.
5039 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
5040
5041 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5042
5043 * sysdeps/mach/hurd/i386/init-first.c (init): Use
5044 __builtin_frame_address instead of making assumptions about the
5045 location of the return address relative to DATA. Force early load of
5046 the return address.
5047 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
5048 __builtin_frame_address.
5049
5050 dup3 for GNU Hurd.
5051 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
5052 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
5053 implement dup3 and do some further code clean-ups.
5054 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
5055 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
5056
5057 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5058
5059 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
5060
5061 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
5062 HURD_CRITICAL_END around holding _hurd_dtable_lock.
5063 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
5064 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
5065 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
5066 d->port.lock.
5067
5068 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
5069 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
5070 when handler == SIG_ERR, not when handler != SIG_ERR.
5071
5072 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5073
5074 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
5075 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
5076 definitions.
5077
5078 accept4 for GNU Hurd.
5079 * include/sys/socket.h (__libc_accept4): New prototype.
5080 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
5081 to implement __libc_accept4.
5082 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
5083 __libc_accept4.
5084 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
5085
5086 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
5087 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
5088 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
5089 signal-defines.sym.
5090
5091 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5092
5093 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
5094
5095 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5096
5097 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
5098 assertion on O_CLOEXEC flag.
5099 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
5100 * hurd/intern-fd.c: Likewise.
5101 * hurd/port2fd.c: Likewise.
5102
5103 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5104
5105 [BZ #3906]
5106 * bits/in.h (IPV6_PKTINFO): Define new macro.
5107 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
5108
5109 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5110
5111 [BZ #13954]
5112 [BZ #13955]
5113 [BZ #13956]
5114 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
5115 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5116 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
5117 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5118 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5119 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5120 * math/libm-test.inc (logb_test) : Additional logb tests.
5121
5122 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
5123 Andreas Jaeger <aj@suse.de>
5124
5125 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
5126 * configure: Regenerated.
5127 * config.h.in (LINK_OBSOLETE_RPC): New macro.
5128 * config.make.in (link-obsolete-rpc): New substituted variable.
5129 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
5130 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
5131 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5132 (shared-only-routines): Don't set it under [link-obsolete-rpc],
5133 so that libc.a contains the symbols.
5134 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5135 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
5136 * sunrpc/auth_none.c: Likewise.
5137 * sunrpc/auth_unix.c: Likewise.
5138 * sunrpc/authdes_prot.c: Likewise.
5139 * sunrpc/authuxprot.c: Likewise.
5140 * sunrpc/clnt_gen.c: Likewise.
5141 * sunrpc/clnt_perr.c: Likewise.
5142 * sunrpc/clnt_raw.c: Likewise.
5143 * sunrpc/clnt_simp.c: Likewise.
5144 * sunrpc/clnt_tcp.c: Likewise.
5145 * sunrpc/clnt_udp.c: Likewise.
5146 * sunrpc/clnt_unix.c: Likewise.
5147 * sunrpc/des_crypt.c: Likewise.
5148 * sunrpc/des_soft.c: Likewise.
5149 * sunrpc/get_myaddr.c: Likewise.
5150 * sunrpc/key_call.c: Likewise.
5151 * sunrpc/key_prot.c: Likewise.
5152 * sunrpc/netname.c: Likewise.
5153 * sunrpc/pm_getmaps.c: Likewise.
5154 * sunrpc/pm_getport.c: Likewise.
5155 * sunrpc/pmap_clnt.c: Likewise.
5156 * sunrpc/pmap_prot.c: Likewise.
5157 * sunrpc/pmap_prot2.c: Likewise.
5158 * sunrpc/pmap_rmt.c: Likewise.
5159 * sunrpc/publickey.c: Likewise.
5160 * sunrpc/rpc_cmsg.c: Likewise.
5161 * sunrpc/rpc_common.c: Likewise.
5162 * sunrpc/rpc_dtable.c: Likewise.
5163 * sunrpc/rpc_prot.c: Likewise.
5164 * sunrpc/rpc_thread.c: Likewise.
5165 * sunrpc/rtime.c: Likewise.
5166 * sunrpc/svc.c: Likewise.
5167 * sunrpc/svc_auth.c: Likewise.
5168 * sunrpc/svc_raw.c: Likewise.
5169 * sunrpc/svc_run.c: Likewise.
5170 * sunrpc/svc_tcp.c: Likewise.
5171 * sunrpc/svc_udp.c: Likewise.
5172 * sunrpc/svc_unix.c: Likewise.
5173 * sunrpc/svcauth_des.c: Likewise.
5174 * sunrpc/xcrypt.c: Likewise.
5175 * sunrpc/xdr.c: Likewise.
5176 * sunrpc/xdr_array.c: Likewise.
5177 * sunrpc/xdr_float.c: Likewise.
5178 * sunrpc/xdr_intXX_t.c: Likewise.
5179 * sunrpc/xdr_mem.c: Likewise.
5180 * sunrpc/xdr_rec.c: Likewise.
5181 * sunrpc/xdr_ref.c: Likewise.
5182 * sunrpc/xdr_sizeof.c: Likewise.
5183 * sunrpc/xdr_stdio.c: Likewise.
5184
5185 2012-05-10 Roland McGrath <roland@hack.frob.com>
5186
5187 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
5188 change. Update copyright years.
5189
5190 2012-05-10 Joseph Myers <joseph@codesourcery.com>
5191
5192 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
5193
5194 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
5195 Joseph Myers <joseph@codesourcery.com>
5196 Paul Pluzhnikov <ppluzhnikov@google.com>
5197
5198 [BZ #14012]
5199 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
5200 requiring rpcgen.
5201 [cross-compiling] (extra-libs): Likewise.
5202 [cross-compiling] (extra-libs-others): Likewise.
5203 [cross-compiling] (librpcsvc-routines): Likewise.
5204 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
5205 [cross-compiling] (omit-deps): Likewise.
5206 (sunrpc-CPPFLAGS): New variable.
5207 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
5208 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
5209 (cross-rpcgen-objs): New variable.
5210 (extra-objs): Append $(cross-rpcgen-objs).
5211 ($(cross-rpcgen-objs)): New rule.
5212 ($(objpfx)cross-rpcgen): Likewise.
5213 (rpcgen-cmd): Define to use $(built-program-file). Expand
5214 comment.
5215 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
5216 ($(objpfx)x%.stmp): Likewise.
5217 * sunrpc/proto.h [IS_IN_build] (_): Define.
5218 [IS_IN_build] (_libc_intl_domainname): Likewise.
5219
5220 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5221
5222 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
5223 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
5224 and R_X86_64_TPOFF64.
5225
5226 2012-05-10 Joseph Myers <joseph@codesourcery.com>
5227
5228 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
5229 sysdeps/unix/sysv/syscalls.list.
5230 (stime): Likewise.
5231 (utime): Likewise.
5232 * sysdeps/unix/sysv/syscalls.list: Remove file.
5233
5234 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
5235
5236 [BZ #3440]
5237 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
5238 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
5239 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
5240 (__LC_IDENTIFICATION): Make these macros useful in #if
5241 expressions, as required by C99.
5242
5243 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
5244
5245 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
5246 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
5247 after this.
5248
5249 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5250
5251 * stdlib/longlong.h: Updated from GCC.
5252
5253 2012-05-09 Andreas Jaeger <aj@suse.de>
5254
5255 * nscd/nscd.c (run_modes): Make named enum, reorder so that
5256 default is first entry.
5257 (run_mode): Set type.
5258 (main): Remove informal message about syslog.
5259 (options): Fix typo.
5260
5261 [BZ #14053]
5262 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
5263 to asm.
5264 (lrint): Likewise.
5265 (llrintf): Likewise.
5266 (llrint): Likewise.
5267 (rint): Likewise.
5268 (rintf): Likewise.
5269 (nearbyint): Likewise.
5270 (nearbyintf): Likewise.
5271
5272 2012-05-09 Andreas Jaeger <aj@suse.de>
5273 Pedro Alves <palves@redhat.com>
5274
5275 * nscd/nscd.c (run_mode): Use enum.
5276 (main): Cleanup coding style issue.
5277
5278 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
5279 Andreas Jaeger <aj@suse.de>
5280
5281 * nscd/nscd.c (go_background): Replaced with...
5282 (run_mode): ... this.
5283 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
5284 (options): Add -F --foreground.
5285 (main): Implement it.
5286 (parse_opt): Parse it.
5287
5288 2012-05-09 Andreas Jaeger <aj@suse.de>
5289
5290 [BZ #14083]
5291 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
5292 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
5293 -Wconversion warning.
5294 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
5295 Likewise.
5296
5297 2012-05-09 Joseph Myers <joseph@codesourcery.com>
5298
5299 * conform/data/locale.h-data (NULL): Use macro-constant. Require
5300 == 0.
5301 (LC_ALL): Use macro-int-constant.
5302 (LC_COLLATE): Likewise.
5303 (LC_CTYPE): Likewise.
5304 (LC_MESSAGES): Likewise.
5305 (LC_MONETARY): Likewise.
5306 (LC_NUMERIC): Likewise.
5307 (LC_TIME): Likewise.
5308 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
5309 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5310 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5311 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
5312 Specify type.
5313 [C99-based standards] (float_t): Expect type.
5314 [C99-based standards] (double_t): Expect type.
5315 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
5316 type.
5317 [C99-based standards] (HUGE_VALL): Likewise.
5318 [C99-based standards] (INFINITY): Likewise.
5319 [C99-based standards] (NAN): Likewise.
5320 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
5321 [C99-based standards] (FP_NAN): Likewise.
5322 [C99-based standards] (FP_NORMAL): Likewise.
5323 [C99-based standards] (FP_SUBNORMAL): Likewise.
5324 [C99-based standards] (FP_ZERO): Likewise.
5325 [C99-based standards] (FP_FAST_FMA): Use
5326 optional-macro-int-constant. Specify type. Require == 1.
5327 [C99-based standards] (FP_FAST_FMAF): Likewise.
5328 [C99-based standards] (FP_FAST_FMAL): Likewise.
5329 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
5330 [C99-based standards] (FP_ILOGBNAN): Likewise.
5331 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
5332 Specify type.
5333 [C99-based standards] (MATH_ERREXCEPT): Likewise.
5334 [C99-based standards] (math_errhandling): Specify type.
5335 [ISO99 || ISO11] (signgam): Do not allow.
5336 [non-C99-based standards] (copysignf): Do not allow.
5337 [non-C99-based standards] (exp2f): Likewise.
5338 [non-C99-based standards] (log2f): Likewise.
5339 [non-C99-based standards] (modff): Allow.
5340 [non-C99-based standards] (erff): Do not allow.
5341 [non-C99-based standards] (erfcf): Likewise.
5342 [non-C99-based standards] (gammaf): Likewise.
5343 [non-C99-based standards] (hypotf): Likewise.
5344 [non-C99-based standards] (j0f): Likewise.
5345 [non-C99-based standards] (j1f): Likewise.
5346 [non-C99-based standards] (jnf): Likewise.
5347 [non-C99-based standards] (lgammaf): Likewise.
5348 [non-C99-based standards] (tgammaf): Likewise.
5349 [non-C99-based standards] (y0f): Likewise.
5350 [non-C99-based standards] (y1f): Likewise.
5351 [non-C99-based standards] (ynf): Likewise.
5352 [non-C99-based standards] (isnanf): Likewise.
5353 [non-C99-based standards] (acoshf): Likewise.
5354 [non-C99-based standards] (asinhf): Likewise.
5355 [non-C99-based standards] (atanhf): Likewise.
5356 [non-C99-based standards] (cbrtf): Likewise.
5357 [non-C99-based standards] (expm1f): Likewise.
5358 [non-C99-based standards] (ilogbf): Likewise.
5359 [non-C99-based standards] (log1pf): Likewise.
5360 [non-C99-based standards] (logbf): Likewise.
5361 [non-C99-based standards] (nextafterf): Likewise.
5362 [non-C99-based standards] (remainderf): Likewise.
5363 [non-C99-based standards] (rintf): Likewise.
5364 [non-C99-based standards] (scalbf): Likewise.
5365 [non-C99-based standards] (copysignl): Likewise.
5366 [non-C99-based standards] (exp2l): Likewise.
5367 [non-C99-based standards] (log2l): Likewise.
5368 [non-C99-based standards] (modfl): Allow.
5369 [non-C99-based standards] (erfl): Do not allow.
5370 [non-C99-based standards] (erfcl): Likewise.
5371 [non-C99-based standards] (gammal): Likewise.
5372 [non-C99-based standards] (hypotl): Likewise.
5373 [non-C99-based standards] (j0l): Likewise.
5374 [non-C99-based standards] (j1l): Likewise.
5375 [non-C99-based standards] (jnl): Likewise.
5376 [non-C99-based standards] (lgammal): Likewise.
5377 [non-C99-based standards] (tgammal): Likewise.
5378 [non-C99-based standards] (y0l): Likewise.
5379 [non-C99-based standards] (y1l): Likewise.
5380 [non-C99-based standards] (ynl): Likewise.
5381 [non-C99-based standards] (isnanl): Likewise.
5382 [non-C99-based standards] (acoshl): Likewise.
5383 [non-C99-based standards] (asinhl): Likewise.
5384 [non-C99-based standards] (atanhl): Likewise.
5385 [non-C99-based standards] (cbrtl): Likewise.
5386 [non-C99-based standards] (expm1l): Likewise.
5387 [non-C99-based standards] (ilogbl): Likewise.
5388 [non-C99-based standards] (log1pl): Likewise.
5389 [non-C99-based standards] (logbl): Likewise.
5390 [non-C99-based standards] (nextafterl): Likewise.
5391 [non-C99-based standards] (remainderl): Likewise.
5392 [non-C99-based standards] (rintl): Likewise.
5393 [non-C99-based standards] (scalbl): Likewise.
5394 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5395 [non-C99-based standards] (FP_*): Do not allow.
5396 [C99-based standards] (FP_*): Change to
5397 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5398 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5399 allow.
5400 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
5401 (SIG_ERR): Likewise.
5402 [X/Open-based standards] (SIG_HOLD): Likewise.
5403 (SIG_IGN): Likewise.
5404 (SIGABRT): Use macro-int-constant. Specify type. Require
5405 positive value.
5406 (SIGFPE): Likewise.
5407 (SIGILL): Likewise.
5408 (SIGINT): Likewise.
5409 (SIGSEGV): Likewise.
5410 (SIGTER): Likewise.
5411 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
5412 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
5413 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
5414 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
5415 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
5416 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
5417 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
5418 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
5419 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
5420 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
5421 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
5422 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
5423 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
5424 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
5425 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
5426 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
5427 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
5428 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
5429 [X/Open-based standards] (SIGTRAP): Likewise.
5430 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
5431 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
5432 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
5433 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
5434 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5435 allow.
5436
5437 2012-05-08 Ian Wienand <ianw@vmware.com>
5438
5439 [BZ #14080]
5440 * time/tzset.c (__tzset_parse_tz): Update default rules for
5441 daylight time changes in the Energy Policy Act of 2005.
5442
5443 2012-05-09 Andreas Jaeger <aj@suse.de>
5444
5445 [BZ #13983]
5446 * elf/ldconfig.c (parse_conf): Change string to make clear that
5447 ldconfig only issued a warning if ld.so.conf does not exist.
5448
5449 2012-05-08 David S. Miller <davem@davemloft.net>
5450
5451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
5452 movxtod instead of popping the value on the stack.
5453
5454 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5455
5456 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
5457
5458 * config.h.in: Add HAVE_ARM_PCS_VFP.
5459
5460 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
5461
5462 [BZ #13979]
5463 * include/features.h: Warn if user requests __FORTIFY_SOURCE
5464 checking but the checks are disabled for any reason.
5465
5466 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
5467
5468 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5469 and ELF64_R_TYPE with ELFW(R_TYPE).
5470
5471 2012-05-08 Joseph Myers <joseph@codesourcery.com>
5472
5473 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5474 (ulimit): Likewise.
5475
5476 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5477 (settimeofday): Likewise.
5478
5479 2012-05-08 Mike Frysinger <vapier@gentoo.org>
5480
5481 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
5482 a struct th_u2 inside the union, and move tu_block/tu_code into
5483 a new th_u3 union of tu_block/tu_code inside of that. Move
5484 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
5485 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
5486 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5487 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5488 (th_stuff): Change to th_u1.tu_stuff.
5489 (th_data): Define.
5490 (th_msg): Change to th_u1.th_u2.tu_data.
5491
5492 2012-05-07 David S. Miller <davem@davemloft.net>
5493
5494 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5495
5496 [BZ #14074]
5497 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5498 (SETUP_PIC_REG): Use it.
5499 (SETUP_PIC_REG_LEAF): Use it.
5500
5501 2012-05-07 Joseph Myers <joseph@codesourcery.com>
5502
5503 [BZ #13885]
5504 [BZ #13923]
5505 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5506 USE_AS_EXPM1L.
5507 (EXPL_FINITE): Likewise.
5508 (FLDLOG): Likewise.
5509 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5510 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5511 e_expl.S.
5512 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5513 USE_AS_EXPM1L.
5514 (EXPL_FINITE): Likewise.
5515 (FLDLOG): Likewise.
5516 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5517 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5518 e_expl.S.
5519 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
5520 test of -max_value argument for long double.
5521 * sysdeps/i386/fpu/libm-test-ulps: Update.
5522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5523
5524 2012-05-06 David S. Miller <davem@davemloft.net>
5525
5526 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5527 quad soft-float symbols whose references which are compiler
5528 generated.
5529 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5530
5531 2012-05-06 Joseph Myers <joseph@codesourcery.com>
5532
5533 [BZ #13884]
5534 [BZ #13914]
5535 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5536 USE_AS_EXP10L.
5537 (EXPL_FINITE): Likewise.
5538 (FLDLOG): Likewise.
5539 (c0): Likewise.
5540 (c1): Likewise.
5541 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5542 Adjust comments for base varying.
5543 (__expl_finite): Change alias to EXPL_FINITE.
5544 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5545 e_expl.S.
5546 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5547 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5548 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5549 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5550 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5551 USE_AS_EXP10L.
5552 (EXPL_FINITE): Likewise.
5553 (FLDLOG): Likewise.
5554 (c0): Likewise.
5555 (c1): Likewise.
5556 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5557 Adjust comments for base varying.
5558 (__expl_finite): Change alias to EXPL_FINITE.
5559 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
5560 tests for bugs.
5561 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5562
5563 [BZ #14064]
5564 * math/libm-test.inc (check_float_internal): Correct ulp
5565 calculation for subnormal expected results.
5566
5567 2012-05-06 Andreas Jaeger <aj@suse.de>
5568
5569 * Makeconfig (+math-flags): New, set to -frounding-math.
5570 (+cflags): Add +math-flags so that all of glibc gets compiled with
5571 it.
5572
5573 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
5574
5575 2012-05-05 Joseph Myers <joseph@codesourcery.com>
5576
5577 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
5578 Disable one test.
5579
5580 [BZ #13787]
5581 [BZ #13922]
5582 [BZ #14036]
5583 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
5584 (__ieee754_expl): Allow for and saturate large arguments.
5585 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
5586 (u_threshold): Likewise.
5587 (__exp): Call __ieee754_exp before checking for overflow and
5588 underflow.
5589 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
5590 (u_threshold): Likewise.
5591 (__expf): Call __ieee754_expf before checking for overflow and
5592 underflow.
5593 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
5594 (u_threshold): Likewise.
5595 (__expl): Call __ieee754_expl before checking for overflow and
5596 underflow.
5597 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
5598 (__ieee754_expl): Allow for and saturate large arguments.
5599 * math/libm-test.inc (exp_test): Add another test. Do not allow
5600 missing overflow exception on overflow.
5601 (expm1_test): Do not allow missing overflow exception on overflow.
5602
5603 * sysdeps/i386/fpu/e_expl.c: Move to ...
5604 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
5605 rather than using inline asm.
5606 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
5607 * sysdeps/x86_64/fpu/e_expl.S: Copy from
5608 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
5609
5610 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
5611 (nice): Likewise.
5612 (poll): Likewise.
5613 (signal): Likewise.
5614 (time): Likewise.
5615 (times): Likewise.
5616
5617 2012-05-04 Joseph Myers <joseph@codesourcery.com>
5618
5619 * sysdeps/unix/syscalls.list (adjtime): Add entry from
5620 sysdeps/unix/common/syscalls.list.
5621 (fchmod): Likewise.
5622 (fchown): Likewise.
5623 (ftruncate): Likewise.
5624 (getrusage): Likewise.
5625 (gettimeofday): Likewise.
5626 (setpgid): Likewise.
5627 (setregid): Likewise.
5628 (setreuid): Likewise.
5629 (sigaction): Likewise.
5630 (truncate): Likewise.
5631 (vhangup): Likewise.
5632 * sysdeps/unix/common/syscalls.list: Remove file.
5633 * sysdeps/unix/bsd/Implies: Don't include unix/common.
5634 * sysdeps/unix/sysv/linux/Implies: Likewise.
5635
5636 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
5637
5638 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
5639 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
5640 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
5641 Moved to ...
5642 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5643 Here.
5644 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
5645 to ...
5646 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
5647 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
5648 to ...
5649 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
5650 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
5651 to ...
5652 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
5653 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
5654 to ...
5655 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
5656 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
5657 to ...
5658 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
5659 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
5660 to ...
5661 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
5662 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
5663 to ...
5664 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5665 Here.
5666 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
5667 to ...
5668 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
5669 Here.
5670 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
5671 to ...
5672 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
5673 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
5674 Moved to ...
5675 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
5676 Here.
5677 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
5678 to ...
5679 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
5680
5681 2012-05-04 Joseph Myers <joseph@codesourcery.com>
5682
5683 * sysdeps/unix/common/bits/dirent.h: Remove file.
5684 * sysdeps/unix/common/bits/fcntl.h: Likewise.
5685
5686 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
5687 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
5688 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
5689 * sysdeps/unix/bsd/isatty.c: Likewise.
5690 * sysdeps/unix/bsd/tcdrain.c: Likewise.
5691 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
5692 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
5693
5694 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5695
5696 [BZ #13563]
5697 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
5698 long double comparison inaccuracies.
5699 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5700 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5701
5702 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
5703
5704 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
5705 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
5706
5707 2012-05-04 Joseph Myers <joseph@codesourcery.com>
5708
5709 [BZ #14049]
5710 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
5711 nonzero digits before rounding a hex value.
5712 * stdlib/tst-strtod.c (tests): Add another test.
5713
5714 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5715
5716 * sysdeps/s390/fpu/libm-test-ulps: Update.
5717
5718 2012-05-03 Andreas Jaeger <aj@suse.de>
5719
5720 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
5721 does not get optimized out.
5722 (malloc_opt_barrier): New.
5723
5724 2012-05-03 Andreas Jaeger <aj@suse.de>
5725 Roland McGrath <roland@hack.frob.com>
5726
5727 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
5728 intermediate file deletion.
5729 (generated): Add .symlist files.
5730
5731 2012-05-03 Joseph Myers <joseph@codesourcery.com>
5732
5733 [BZ #13775]
5734 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
5735 Redirect under this condition.
5736 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5737 [__USE_GNU] (__dprintf_chk): Not under this condition.
5738 [__USE_GNU] (__vdprintf_chk): Likewise.
5739 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
5740 under this condition.
5741 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5742 [__USE_XOPEN2K8] (dprintf): Define under this condition.
5743 [__USE_XOPEN2K8] (vdprintf): Likewise.
5744 [__USE_GNU] (__dprintf_chk): Not under this condition.
5745 [__USE_GNU] (__vdprintf_chk): Likewise.
5746 [__USE_GNU] (dprintf): Likewise.
5747 [__USE_GNU] (vdprintf): Likewise.
5748
5749 2012-05-03 Roland McGrath <roland@hack.frob.com>
5750
5751 * elf/Makefile (common-generated): Set this instead of generated for
5752 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
5753 $(all-built-dso)-derived lists.
5754
5755 2012-05-03 Andreas Jaeger <aj@suse.de>
5756
5757 * sysdeps/i386/fpu/libm-test-ulps: Update.
5758
5759 * FAQ: Removed.
5760 * FAQ.in: Likewise.
5761 * scripts/gen-FAQ.pl: Likewise.
5762 * manual/install.texi (Installation): Point to online location of
5763 FAQ.
5764 * Makefile (files-for-dist): Remove FAQ.
5765 (FAQ): Remove.
5766
5767 2012-05-02 Allan McRae <allan@archlinux.org>
5768
5769 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
5770 (LDFLAGS-reldepmod5.so): Likewise.
5771 (LDFLAGS-reldep6mod1.so): Likewise.
5772 (LDFLAGS-reldep6mod4.so): Likewise.
5773 (LDFLAGS-reldep8mod3.so): Likewise.
5774 (LDFLAGS-unload4mod1.so): Likewise.
5775 (LDFLAGS-unload4mod2.so): Likewise.
5776 (LDFLAGS-tst-initorder): Likewise.
5777 (LDFLAGS-tst-initordera2.so): Likewise.
5778 (LDFLAGS-tst-initordera3.so): Likewise.
5779 (LDFLAGS-tst-initordera4.so): Likewise.
5780 (LDFLAGS-tst-initorderb2.so): Likewise.
5781 (LDFLAGS-noload): Likewise.
5782 (LDFLAGS-next): Likewise.
5783 (LDFLAGS-order2mod1.so): Likewise.
5784 (LDFLAGS-order2mod2.so): Likewise.
5785 (LDFLAGS-tst-initorder2): Likewise.
5786 (LDFLAGS-tst-initorder2a.so): Likewise.
5787 (LDFLAGS-tst-initorder2b.so): Likewise.
5788 (LDFLAGS-tst-initorder2c.so): Likewise.
5789 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
5790
5791 2012-05-02 David S. Miller <davem@davemloft.net>
5792
5793 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5794
5795 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
5796
5797 [BZ #14055]
5798 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
5799
5800 2012-05-02 Andreas Jaeger <aj@suse.de>
5801
5802 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
5803 since we manipulate rounding mode.
5804 (CPPFLAGS-test-idouble.c): Likewise.
5805 (CPPFLAGS-test-ifloat.c): Likewise.
5806 (CFLAGS-test-ldouble.c): Likewise.
5807 (CFLAGS-test-double.c): Likewise.
5808 (CFLAGS-test-float.c): Likewise.
5809 (CFLAGS-test-misc.c): Likewise.
5810 (CFLAGS-test-test-fenv.c): Likewise.
5811
5812 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5813
5814 [BZ #2550]
5815 [BZ #2570]
5816 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
5817 comparisons to determine direction to adjust input.
5818
5819 2012-05-01 Roland McGrath <roland@hack.frob.com>
5820
5821 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
5822 output to the target.
5823
5824 * scripts/localplt.awk: New file.
5825 * elf/Makefile ($(objpfx)check-localplt): Target removed.
5826 (check-localplt-CFLAGS): Variable removed.
5827 ($(all-built-dso:=.jmprel)): New static pattern rule.
5828 (generated): Add those targets.
5829 (localplt-built-dso): New variable.
5830 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
5831
5832 * elf/check-localplt.c: File removed.
5833
5834 * scripts/check-execstack.awk: New file.
5835 * elf/Makefile ($(objpfx)check-execstack): Target removed.
5836 (check-execstack-CFLAGS): Variable removed.
5837 ($(objpfx)check-execstack.h): Target removed.
5838 ($(objpfx)execstack-default): New target.
5839 (generated): Add that instead of check-execstack.h.
5840 ($(all-built-dso:=.phdr)): New static pattern rule.
5841 (generated): Add those targets.
5842 * elf/check-execstack.c: File removed.
5843
5844 * scripts/check-textrel.awk: New file.
5845 * elf/Makefile ($(objpfx)check-textrel): Target removed.
5846 (check-textrel-CFLAGS): Variable removed.
5847 (all-built-dso): Use := to define.o
5848 ($(all-built-dso:=.dyn)): New static pattern rule.
5849 (generated): Add those targets.
5850 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
5851 * config.make.in (READELF): New substituted variable.
5852 * elf/check-textrel.c: File removed.
5853
5854 2012-05-01 Joseph Myers <joseph@codesourcery.com>
5855
5856 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5857 allow.
5858 * conform/data/ctype.h-data [C99-based standards] (isblank):
5859 Expect function.
5860 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
5861 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
5862 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5863 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
5864 Specify type. Require positive value.
5865 (EILSEQ): Likewise.
5866 (ERANGE): Likewise.
5867 [ISO || POSIX] (EILSEQ): Do not expect.
5868 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
5869 Specify type. Require positive value.
5870 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
5871 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
5872 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
5873 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
5874 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
5875 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
5876 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
5877 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
5878 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
5879 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
5880 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
5881 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
5882 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
5883 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
5884 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
5885 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
5886 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
5887 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
5888 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
5889 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
5890 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
5891 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
5892 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
5893 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
5894 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
5895 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
5896 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
5897 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
5898 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
5899 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
5900 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
5901 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
5902 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
5903 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
5904 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
5905 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
5906 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
5907 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
5908 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
5909 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
5910 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
5911 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
5912 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
5913 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
5914 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
5915 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
5916 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
5917 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
5918 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
5919 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
5920 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
5921 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
5922 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
5923 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
5924 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
5925 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
5926 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
5927 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
5928 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
5929 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
5930 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
5931 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
5932 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
5933 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
5934 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
5935 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
5936 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
5937 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
5938 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
5939 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
5940 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
5941 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
5942 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
5943 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
5944 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
5945 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
5946 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
5947 Require >= 2.
5948 (FLT_ROUNDS): Expect as macro, not constant.
5949 (FLT_MANT_DIG): Use macro-int-constant.
5950 (DBL_MANT_DIG): Likewise.
5951 (LDBL_MANT_DIG): Likewise.
5952 (FLT_DIG): Likewise.
5953 (DBL_DIG): Likewise.
5954 (LDBL_DIG): Likewise.
5955 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
5956 (DBL_MIN_EXP): Likewise.
5957 (LDBL_MIN_EXP): Likewise.
5958 (FLT_MAX_EXP): Use macro-int-constant.
5959 (DBL_MAX_EXP): Likewise.
5960 (LDBL_MAX_EXP): Likewise.
5961 (FLT_MAX_10_EXP): Likewise.
5962 (DBL_MAX_10_EXP): Likewise.
5963 (LDBL_MAX_10_EXP): Likewise.
5964 (FLT_MAX): Use macro-constant.
5965 (DBL_MAX): Likewise.
5966 (LDBL_MAX): Likewise.
5967 (FLT_EPSILON): Use macro-constant. Give upper bound.
5968 (DBL_EPSILON): Likewise.
5969 (LDBL_EPSILON): Likewise.
5970 (FLT_MIN): Likewise.
5971 (DBL_MIN): Likewise.
5972 (LDBL_MIN): Likewise.
5973 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
5974 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
5975 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
5976 [ISO11] (FLT_HAS_SUBNORM): Likewise.
5977 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
5978 [ISO11] (DBL_DECIMAL_DIG): Likewise.
5979 [ISO11] (FLT_DECIMAL_DIG): Likewise.
5980 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
5981 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
5982 [ISO11] (FLT_TRUE_MIN): Likewise.
5983 [ISO11] (LDBL_TRUE_MIN): Likewise.
5984 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5985 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
5986 (SCHAR_MIN): Use macro-int-constant. Specify type.
5987 (SCHAR_MAX): Likewise.
5988 (UCHAR_MAX): Likewise.
5989 (CHAR_MIN): Likewise.
5990 (CHAR_MAX): Likewise.
5991 (MB_LEN_MAX): Use macro-int-constant.
5992 (SHRT_MIN): Use macro-int-constant. Specify type.
5993 (SHRT_MAX): Likewise.
5994 (USHRT_MAX): Likewise.
5995 (INT_MAX): Likewise.
5996 (INT_MIN): Use macro-int-constant. Specify type. Make upper
5997 bound negative.
5998 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
5999 bound with "U".
6000 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6001 bound with "L".
6002 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
6003 bound negative. Suffix upper bound with "L".
6004 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6005 bound with "UL".
6006 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
6007 Specify type.
6008 [C99-based standards] (LLONG_MAX): Likewise.
6009 [C99-based standards] (ULLONG_MAX): Likewise.
6010 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
6011 == 0.
6012 [ISO11] (max_align_t): Require type.
6013 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6014
6015 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
6016 from $CFLAGS, without defining away __attribute__ calls.
6017 (checknamespace): Use $CFLAGS_namespace.
6018
6019 * conform/conformtest.pl (@keywords): Only include C99 keywords
6020 for standards based on C99 or C11.
6021
6022 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
6023 Disable tests.
6024 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
6025 UNIX98]: Likewise.
6026
6027 * conform/conformtest.pl: Handle "macro-int-constant" and test for
6028 usability of symbols in #if.
6029
6030 * conform/conformtest.pl: If macro or constant types start
6031 "promoted:", expect the symbol to be of the following type
6032 promoted by the integer promotions.
6033
6034 * conform/conformtest.pl: Parse all "constant" and "macro" lines
6035 in one place. Also handle "macro-constant".
6036
6037 * conform/conformtest.pl: Only accept expected macro values with
6038 "==". Parse all "macro" lines in one place.
6039 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
6040
6041 * conform/conformtest.pl: Handle braced types on "constant" lines
6042 instead of handling "typed-constant".
6043 * conform/data/signal.h-data: Use "constant" instead of
6044 "typed-constant".
6045
6046 * conform/conformtest.pl: Handle "optional-" at start of lines in
6047 one place rather than duplicating several cases. Handle each
6048 format of "macro" line with initial "optional-".
6049
6050 * conform/conformtest.pl: Only accept expected constant or
6051 optional-constant values with "==". Parse all "constant" lines in
6052 one place. Parse all "optional-constant" lines in one place.
6053 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
6054 * conform/data/fmtmsg.h-data: Likewise.
6055 * conform/data/netinet/in.h-data: Likewise.
6056 * conform/data/tar.h-data: Likewise.
6057 * conform/data/limits.h-data: Use "==" form on "constant" and
6058 "optional-constant" lines.
6059
6060 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
6061 Use -std=c99 for XOPEN2K.
6062 (@knownproblems): Remove.
6063 (newtoken): Don't check %isknown.
6064
6065 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
6066 Do not expect macro.
6067 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
6068 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
6069 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
6070 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
6071 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
6072 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
6073 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
6074 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
6075 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
6076 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
6077 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
6078 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
6079 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
6080 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
6081 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
6082 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
6083 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
6084 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
6085 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
6086 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
6087 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
6088 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
6089 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
6090 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
6091 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
6092 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
6093 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
6094 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
6095 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
6096 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
6097 [XPG3] (acosh): Likewise.
6098 [XPG3] (asinh): Likewise.
6099 [XPG3] (atanh): Likewise.
6100 [XPG3] (cbrt): Likewise.
6101 [XPG3] (expm1): Likewise.
6102 [XPG3] (ilogb): Likewise.
6103 [XPG3] (log1p): Likewise.
6104 [XPG3] (logb): Likewise.
6105 [XPG3] (nextafter): Likewise.
6106 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
6107 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
6108 [XPG3] (remainder): Likewise.
6109 [XPG3] (rint): Likewise.
6110 [XPG3 || XPG4 || UNIX98] (round): Likewise.
6111 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
6112 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
6113 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
6114 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
6115 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
6116 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
6117 [UNIX98 || XOPEN2K] (scalb): Expect.
6118 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
6119 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
6120 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
6121 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
6122 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
6123 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
6124 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
6125 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
6126 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
6127 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
6128 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
6129 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
6130 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
6131 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
6132 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
6133 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
6134 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
6135 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
6136 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
6137 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
6138 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
6139 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
6140 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
6141 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
6142 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
6143 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
6144 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
6145 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
6146 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
6147 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
6148 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
6149 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
6150 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
6151 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
6152 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
6153 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
6154 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
6155 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
6156 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
6157 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
6158 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
6159 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
6160 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
6161 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
6162 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
6163 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
6164 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
6165 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
6166 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
6167 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
6168 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
6169 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
6170 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
6171 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
6172 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
6173 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
6174 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
6175 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
6176 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
6177 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
6178 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
6179 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
6180 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
6181 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
6182 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
6183 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
6184 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
6185 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
6186 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
6187 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
6188 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
6189 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
6190 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
6191 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
6192 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
6193 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
6194 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
6195 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
6196 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
6197 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
6198 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
6199 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
6200 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
6201 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
6202 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
6203 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
6204 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
6205 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
6206 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
6207 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
6208 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
6209 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
6210 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
6211 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
6212 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
6213 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
6214 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
6215 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
6216 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
6217 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
6218 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
6219 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
6220 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
6221 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
6222 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
6223 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
6224 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
6225 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
6226 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
6227 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
6228 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
6229 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
6230 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
6231 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
6232 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
6233 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
6234 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
6235 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
6236 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
6237 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
6238 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
6239 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
6240 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
6241 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
6242 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
6243 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
6244 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
6245 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
6246 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
6247 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
6248 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
6249 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
6250 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
6251 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
6252 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
6253 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
6254 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
6255
6256 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
6257 _XOPEN_SOURCE_EXTENDED for XPG4.
6258
6259 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
6260
6261 * Makeconfig (localtime): Remove variable.
6262 (inst_localtime-file): Likewise.
6263
6264 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6265
6266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6267 Update.
6268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6269 Update.
6270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6271 Update.
6272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6273 Update.
6274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6275 Update.
6276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
6277 Update.
6278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6279 Update.
6280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
6281 Update.
6282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6283 Update.
6284
6285 2012-05-01 Joseph Myers <joseph@codesourcery.com>
6286
6287 [BZ #2550]
6288 [BZ #2570]
6289 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6290 comparisons to determine direction to adjust input.
6291 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6292 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
6293 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6294 Likewise.
6295 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6296 Likewise.
6297 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6298 Likewise.
6299 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6300 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6301 Likewise.
6302 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6303 Likewise.
6304 * math/libm-test.inc (nexttoward_test): Add more tests.
6305
6306 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6307
6308 [BZ #14040]
6309 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
6310 in version GLIBC_2.1, not GLIBC_2.0.
6311 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
6312 Likewise.
6313
6314 2012-04-30 Joseph Myers <joseph@codesourcery.com>
6315
6316 [BZ #13942]
6317 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
6318 (1 - x) * (1 + x).
6319 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6320 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
6321 * math/libm-test.inc (acos_test): Add more tests.
6322 (asin_test): Likewise.
6323 * sysdeps/i386/fpu/libm-test-ulps: Update.
6324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6325
6326 [BZ #14034]
6327 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
6328 of square root.
6329 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
6330 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6331 * math/libm-test.inc (acos_test_tonearest): New function.
6332 (acos_test_towardzero): Likewise.
6333 (acos_test_downward): Likewise.
6334 (acos_test_upward): Likewise.
6335 (asin_test_tonearest): Likewise.
6336 (asin_test_towardzero): Likewise.
6337 (asin_test_downward): Likewise.
6338 (asin_test_upward): Likewise.
6339 (main): Call the new functions.
6340 * sysdeps/i386/fpu/libm-test-ulps: Update.
6341 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6342
6343 [BZ #13884]
6344 [BZ #13924]
6345 * math/e_exp10.c: Include <float.h>.
6346 (__ieee754_exp10): Handle underflow here rather than multiplying
6347 large negative argument by M_LN10.
6348 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
6349 of __ieee754_expf.
6350 * math/e_exp10l.c: Include <float.h>.
6351 (__ieee754_exp10l): Handle underflow here rather than multiplying
6352 large negative argument by M_LN10l.
6353 * math/libm-test.inc (exp10_test): Add another test. Do not allow
6354 spurious overflow exception on underflow.
6355
6356 2012-04-29 Marek Polacek <polacek@redhat.com>
6357
6358 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
6359 (__fortify_function): New macro.
6360 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
6361 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
6362 __extern_always_inline.
6363 * libio/bits/stdio2.h: Likewise.
6364 * libio/bits/stdio.h: Likewise.
6365 * string/string.h: Likewise.
6366 * string/bits/string3.h: Likewise.
6367 * include/stdio.h: Likewise.
6368 * stdlib/bits/stdlib.h: Likewise.
6369 * stdlib/stdlib.h: Likewise.
6370 * rt/bits/mqueue2.h: Likewise.
6371 * rt/mqueue.h: Likewise.
6372 * posix/bits/unistd.h: Likewise.
6373 * posix/unistd.h: Likewise.
6374 * io/bits/poll2.h: Likewise.
6375 * io/bits/fcntl2.h: Likewise.
6376 * io/fcntl.h: Likewise.
6377 * io/sys/poll.h: Likewise.
6378 * misc/bits/syslog.h: Likewise.
6379 * misc/bits/syslog-ldbl.h: Likewise.
6380 * misc/sys/syslog.h: Likewise.
6381 * socket/bits/socket2.h: Likewise.
6382 * socket/sys/socket.h: Likewise.
6383 * debug/tst-chk1.c: Likewise.
6384 * wcsmbs/bits/wchar2.h: Likewise.
6385 * wcsmbs/bits/wchar-ldbl.h: Likewise.
6386 * wcsmbs/wchar.h: Likewise.
6387
6388 2012-04-29 Andreas Jaeger <aj@suse.de>
6389
6390 * Makerules (tests): Remove enable-check-abi protection.
6391 (check-abi-warn): Remove.
6392 (check-abi-%): Remove check-abi-warn usage.
6393
6394 * configure.in: Remove check-abi configure option.
6395 * configure: Regenerated.
6396 * config.make.in (enable-check-abi): Remove.
6397
6398 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
6399
6400 [BZ #14033]
6401 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
6402 double functions to double *_finite functions.
6403
6404 [BZ #13941]
6405 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
6406 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
6407 LDBL_MIN_EXP.
6408 * stdio-common/Makefile (tests): Add tst-sprintf3.
6409 * stdio-common/tst-sprintf3.c: New file.
6410
6411 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
6412 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
6413
6414 2012-04-28 Joseph Myers <joseph@codesourcery.com>
6415
6416 * conform/conformtest.pl: Remove duplicate typed-constant
6417 handling.
6418
6419 2012-04-28 David S. Miller <davem@davemloft.net>
6420
6421 * Makerules (%.abilist): Add vpath on sysdep_dirs.
6422 (check-abi-%): Remove AWK script prerequisite and explicit
6423 abilist directory.
6424 (check-abi): Rewrite to just diff the symlist with the abilist.
6425 (config-tls, config-abi-config): Delete, no longer used.
6426 (update-abi-%): Remove AWK script and explicit abilist directory.
6427 (update-abi): Rewrite to simply compare and conditionally copy the
6428 symlist and the sysdep abilist file. Remove update-abi-config
6429 checks.
6430 * abilist/ld.abilist: Remove.
6431 * abilist/libBrokenLocale.abilist: Remove.
6432 * abilist/libanl.abilist: Remove.
6433 * abilist/libcrypt.abilist: Remove.
6434 * abilist/libdl.abilist: Remove.
6435 * abilist/librt.abilist: Remove.
6436 * abilist/libthread_db.abilist: Remove.
6437 * abilist/libutil.abilist: Remove.
6438 * scripts/extract-abilist.awk: Remove.
6439 * scripts/merge-abilist.awk: Remove.
6440 * sysdeps/generic/libcidn.abilist: New file.
6441 * sysdeps/generic/libnss_compat.abilist: New file.
6442 * sysdeps/generic/libnss_db.abilist: New file.
6443 * sysdeps/generic/libnss_dns.abilist: New file.
6444 * sysdeps/generic/libnss_files.abilist: New file.
6445 * sysdeps/generic/libnss_hesiod.abilist: New file.
6446 * sysdeps/generic/libnss_nis.abilist: New file.
6447 * sysdeps/generic/libnss_nisplus.abilist: New file.
6448 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
6449 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
6450 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
6451 file.
6452 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
6453 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
6454 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
6455 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
6456 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
6457 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
6458 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
6459 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
6460 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
6461 file.
6462 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
6463 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
6464 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6465 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6466 file.
6467 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6468 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6469 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6470 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6471 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6472 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6473 file.
6474 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6475 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6476 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6477 file.
6478 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6479 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6480 New file.
6481 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6482 New file.
6483 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6484 New file.
6485 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6486 New file.
6487 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6488 New file.
6489 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6490 New file.
6491 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6492 New file.
6493 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6494 New file.
6495 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6496 New file.
6497 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6498 New file.
6499 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6500 New file.
6501 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6502 New file.
6503 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6504 New file.
6505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6506 file.
6507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6508 New file.
6509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6510 New file.
6511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6512 file.
6513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6514 New file.
6515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6516 New file.
6517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6518 file.
6519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6520 New file.
6521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6522 New file.
6523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6524 New file.
6525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6526 New file.
6527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6528 New file.
6529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6530 New file.
6531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6532 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6533 file.
6534 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6535 New file.
6536 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6537 file.
6538 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6539 file.
6540 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6541 file.
6542 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6543 file.
6544 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6545 file.
6546 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6547 New file.
6548 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6549 file.
6550 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6551 file.
6552 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6553 New file.
6554 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6555 file.
6556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6557 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
6558 file.
6559 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6560 New file.
6561 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
6562 file.
6563 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
6564 file.
6565 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
6566 file.
6567 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
6568 file.
6569 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
6570 file.
6571 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6572 New file.
6573 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
6574 file.
6575 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
6576 file.
6577 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6578 New file.
6579 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
6580 file.
6581 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6582 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
6583 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
6584 file.
6585 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
6586 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
6587 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
6588 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
6589 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
6590 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
6591 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
6592 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
6593 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
6594 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
6595 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
6596 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
6597 file.
6598 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6599 New file.
6600 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
6601 file.
6602 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
6603 file.
6604 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
6605 file.
6606 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
6607 file.
6608 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
6609 file.
6610 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6611 New file.
6612 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6613 New file.
6614 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
6615 file.
6616 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6617 New file.
6618 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
6619 file.
6620 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
6621 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
6622 file.
6623 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6624 New file.
6625 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
6626 file.
6627 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
6628 file.
6629 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
6630 file.
6631 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
6632 file.
6633 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
6634 file.
6635 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6636 New file.
6637 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6638 New file.
6639 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
6640 file.
6641 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6642 New file.
6643 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
6644 file.
6645
6646 2012-04-28 Joseph Myers <joseph@codesourcery.com>
6647
6648 * conform/conformtest.pl: Fix typo in handling typed-constant from
6649 allow-header.
6650
6651 2012-04-27 Joseph Myers <joseph@codesourcery.com>
6652
6653 * README: Cut down references to pre-2.6 Linux kernels and
6654 Linuxthreads. Update lists of configurations in libc and ports
6655 and sort alphabetically. Say "or newer" with Linux kernel version
6656 requirements.
6657
6658 * config.h.in [IS_IN_build]: Allow compiling without optimization.
6659
6660 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6661
6662 [BZ #887]
6663 * math/libm-test.inc (logb_test_downward): New test to expose
6664 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
6665 rounding mode.
6666
6667 2012-04-27 Joseph Myers <joseph@codesourcery.com>
6668
6669 [BZ #14027]
6670 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
6671 to be done.
6672 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
6673 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
6674
6675 2012-04-26 Joseph Myers <joseph@codesourcery.com>
6676
6677 * sysdeps/unix/i386/brk.S: Remove file.
6678 * sysdeps/unix/i386/dl-brk.S: Likewise.
6679 * sysdeps/unix/i386/pipe.S: Likewise.
6680 * sysdeps/unix/i386/sigreturn.S: Likewise.
6681 * sysdeps/unix/i386/syscall.S: Likewise.
6682 * sysdeps/unix/i386/vfork.S: Likewise.
6683 * sysdeps/unix/i386/wait.S: Likewise.
6684
6685 * sysdeps/unix/common/tcsendbrk.c: Move to ...
6686 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
6687
6688 * configure.in (arm*-none*): Do not allow without
6689 --enable-hacker-mode.
6690 (netbsd*): Remove case setting base_os.
6691 (386bsd*): Likewise.
6692 (freebsd*): Likewise.
6693 (bsdi*): Likewise.
6694 (osf*): Likewise.
6695 (sunos*): Likewise.
6696 (ultrix*): Likewise.
6697 (newsos*): Likewise.
6698 (dynix*): Likewise.
6699 (*bsd*): Likewise.
6700 (sysv*): Likewise.
6701 (isc*): Likewise.
6702 (esix*): Likewise.
6703 (sco*): Likewise.
6704 (minix*): Likewise.
6705 (irix4*): Likewise.
6706 (irix6*): Likewise.
6707 (solaris[2-9]*): Likewise.
6708 (none): Likewise.
6709 * configure: Regenerated.
6710
6711 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6712
6713 [BZ #11521]
6714 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
6715 overflow or cancellation in calculating denominator.
6716 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
6717 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
6718 down expression to avoid unexpected rounding in newer GCCs.
6719 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
6720
6721 2012-04-26 David S. Miller <davem@davemloft.net>
6722
6723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
6724 long-double compat symbols.
6725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
6729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
6731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
6732 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
6733 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
6734 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6735 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
6736 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
6737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6738
6739 2012-04-25 David S. Miller <davem@davemloft.net>
6740
6741 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
6742 HWCAP_* values only after the memory barriers have been defined.
6743 (atomic_full_barrier): Define.
6744 (atomic_read_barrier): Define.
6745 (atomic_write_barrier): Define.
6746
6747 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6748
6749 * shlib-versions: Add libgcc_s version information.
6750 * sysdeps/generic/libgcc_s.h: Remove.
6751 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
6752 libgcc_s.h.
6753 * sysdeps/gnu/unwind-resume.c: Likewise.
6754 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
6755
6756 2012-04-25 David S. Miller <davem@davemloft.net>
6757
6758 * sysdeps/unix/sparc/brk.S: Delete.
6759 * sysdeps/unix/sparc/dl-brk.S: Delete.
6760 * sysdeps/unix/sparc/pipe.S: Delete.
6761 * sysdeps/unix/sparc/sysdep.S: Delete.
6762 * sysdeps/unix/sparc/sysdep.h: Delete.
6763 * sysdeps/unix/sparc/vfork.S: Delete.
6764 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
6765 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
6766 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
6767 ret_ERRVAL, r0, r1, MOVE): Define.
6768 (JUMPTARGET): Remove.
6769 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
6770 sysdeps/unix/sparc/sysdep.h
6771 (ENTRY, END): Remove.
6772 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6773
6774 2012-04-25 Joseph Myers <joseph@codesourcery.com>
6775
6776 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
6777 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
6778 -DIS_IN_build.
6779
6780 * timezone/README: Update upstream location and email address for
6781 tzcode and tzdata.
6782 * timezone/zdump.c: Update from tzcode 2012b.
6783 * timezone/zic.c: Likewise.
6784
6785 * configure.in (libc_cv_as_needed): Remove test.
6786 * configure: Regenerated.
6787 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
6788 conditional definition.
6789 [$(have-as-needed) != yes] (no-as-needed): Likewise.
6790 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
6791 * config.make.in (have-as-needed): Remove variable.
6792
6793 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6794 Paul Pluzhnikov <ppluzhnikov@google.com>
6795
6796 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
6797 strings correctly.
6798
6799 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
6800
6801 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
6802 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
6803 * sysdeps/sh/strlen.S: Likewise.
6804
6805 2012-04-24 Joseph Myers <joseph@codesourcery.com>
6806
6807 * sysdeps/unix/fork.S: Remove file.
6808 * sysdeps/unix/i386/fork.S: Likewise.
6809 * sysdeps/unix/sparc/fork.S: Likewise.
6810
6811 * sysdeps/unix/system.c: Remove file.
6812 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
6813
6814 * sysdeps/unix/getegid.S: Remove file.
6815 * sysdeps/unix/geteuid.S: Likewise.
6816
6817 2012-04-24 Roland McGrath <roland@hack.frob.com>
6818
6819 * scripts/check-localplt.awk: New file.
6820 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
6821 of diff.
6822 * scripts/data/localplt-generic.data: Add a comment.
6823
6824 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
6825 NODE when __dir_mkfile failed.
6826 * sysdeps/mach/hurd/symlinkat.c: Likewise.
6827 Reported by Ludovic Courtès <ludo@gnu.org>.
6828
6829 2012-04-24 Andreas Jaeger <aj@suse.de>
6830
6831 * Makerules (common-clean): Also remove gen-as-const-headers
6832 files.
6833
6834 2012-04-24 Joseph Myers <joseph@codesourcery.com>
6835
6836 * Makerules (native-compile): Do not change working directory for
6837 build. Use $(OUTPUT_OPTION) in command.
6838 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
6839
6840 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6841
6842 [BZ #13886]
6843 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
6844 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
6845 * math/libm-test.inc (floor_test): Add more tests.
6846 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
6847
6848 2012-04-24 Joseph Myers <joseph@codesourcery.com>
6849
6850 * sysdeps/unix/getdents.c: Remove file.
6851 * sysdeps/unix/sysv/getdents.c: Likewise.
6852 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
6853
6854 * sysdeps/unix/syscalls.list (madvise): Add syscall from
6855 sysdeps/unix/mman/syscalls.list.
6856 (mmap): Likewise.
6857 (mprotect): Likewise.
6858 (msync): Likewise.
6859 (munmap): Likewise.
6860 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
6861 * sysdeps/unix/mman/syscalls.list: Remove.
6862 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
6863
6864 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
6865 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
6866 * configure: Regenerated.
6867 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
6868 $(libgcc_s_suffix).
6869 * config.make.in (libgcc_s_suffix): Remove variable.
6870
6871 2012-04-23 Joseph Myers <joseph@codesourcery.com>
6872
6873 * sysdeps/unix/sysv/gethostname.c: Move to ...
6874 * sysdeps/posix/gethostname.c: ... here.
6875
6876 * sysdeps/unix/execve.S: Remove file.
6877
6878 * sysdeps/unix/_exit.S: Remove file.
6879
6880 2012-04-23 Andreas Jaeger <aj@suse.de>
6881
6882 [BZ #13739]
6883 * manual/Makefile: Remove make dist support, there's no
6884 need for a stand-alone documentation tar ball.
6885 (TEXI2DVI): Define always, it's not in Makeconfig.
6886 (dist): Removed.
6887 (tar-it): Removed.
6888 (edition): Removed.
6889 (glibc-doc-$(edition).tar): Removed
6890 (%.Z): Removed.
6891 (%.gz): Removed.
6892 (%.uu): Removed.
6893 (ETAGS): Remove, it's in Makeconfig.
6894 (move-if-change): Remove, it's in Makeconfig.
6895
6896 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
6897
6898 [BZ #13970]
6899 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
6900 (strtod, strtof, strtold, strtol, strtoul, strtoq)
6901 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
6902 (strtod_l, strtof_l, strtold_l): Remove __wur.
6903 It is not necessarily an error to ignore strtol's return value.
6904 One can reliably look at the stored endptr to decide whether
6905 the number had valid syntax.
6906
6907 2012-04-21 Andreas Jaeger <aj@suse.de>
6908
6909 [BZ #13739]
6910 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
6911
6912 2012-04-21 Joseph Myers <joseph@codesourcery.com>
6913
6914 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
6915 * sysdeps/unix/sysv/Versions: Remove file.
6916
6917 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
6918
6919 [BZ #13927]
6920 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6921
6922 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
6923
6924 [BZ #7064]
6925 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
6926 version from __vm86.
6927
6928 2012-04-20 Joseph Myers <joseph@codesourcery.com>
6929
6930 * sysdeps/unix/common/lxstat.c: Remove file.
6931 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
6932
6933 * sysdeps/unix/sysv/Makefile: Remove file.
6934
6935 * sysdeps/unix/sysv/direct.h: Remove file.
6936
6937 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
6938 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
6939 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
6940 * sysdeps/unix/sysv/bits/signum.h: Likewise.
6941 * sysdeps/unix/sysv/bits/stat.h: Likewise.
6942 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
6943 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
6944
6945 * sysdeps/unix/sysv/setrlimit.c: Remove file.
6946
6947 * sysdeps/unix/xmknod.c: Remove file.
6948 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
6949
6950 * sysdeps/unix/sysv/settimeofday.c: Remove file.
6951
6952 * sysdeps/unix/sysv/i386/time.S: Remove file.
6953
6954 * sysdeps/unix/fxstat.c: Remove file.
6955 * sysdeps/unix/xstat.c: Likewise.
6956 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
6957
6958 * sysdeps/unix/sysv/sigaction.c: Remove file.
6959
6960 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
6961 (sysdep_headers): Remove variable.
6962 [termio.h not in sysdep_headers] (generated): Likewise.
6963 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
6964 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
6965 * sysdeps/unix/sysv/tcdrain.c: Likewise.
6966 * sysdeps/unix/sysv/tcflow.c: Likewise.
6967 * sysdeps/unix/sysv/tcflush.c: Likewise.
6968 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
6969 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
6970 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6971 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6972 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
6973
6974 * sysdeps/unix/siglist.c: Remove file.
6975
6976 * sysdeps/unix/getppid.S: Remove file.
6977
6978 * sysdeps/unix/mkdir.c: Remove file.
6979 * sysdeps/unix/rmdir.c: Likewise.
6980
6981 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
6982
6983 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
6984 ERR_MAX value.
6985 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
6986 errlist-compat value.
6987
6988 2012-04-18 David S. Miller <davem@davemloft.net>
6989
6990 * sysdeps/generic/memcopy.h (reg_char): Delete.
6991 * debug/strcat_chk.c: Use char, not reg_char.
6992 * debug/strcpy_chk.c: Likewise.
6993 * debug/strncat_chk.c: Likewise.
6994 * debug/strncpy_chk.c: Likewise.
6995 * string/memchr.c: Likewise.
6996 * string/memrchr.c: Likewise.
6997 * string/rawmemchr.c: Likewise.
6998 * string/strcat.c: Likewise.
6999 * string/strchr.c: Likewise.
7000 * string/strchrnul.c: Likewise.
7001 * string/strcmp.c: Likewise.
7002 * string/strcpy.c: Likewise.
7003 * string/strncat.c: Likewise.
7004 * string/strncmp.c: Likewise.
7005 * string/strncpy.c: Likewise.
7006
7007 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7008
7009 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
7010 __builtin_memcopy is called when src and dest ranges are known to not
7011 overlap.
7012
7013 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7014
7015 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
7016 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
7017 fwd_align_merge macro call.
7018 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
7019 bwd_align_merge macro call.
7020 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7021
7022 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7023
7024 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
7025 bwd_align_merge macros.
7026 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
7027 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
7028 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7029
7030 2012-04-18 David S. Miller <davem@davemloft.net>
7031
7032 * sysdeps/sparc/sparc64/memcopy.h: Delete.
7033
7034 2012-04-18 Andreas Jaeger <aj@suse.de>
7035
7036 [BZ# 6794]
7037 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
7038 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
7039 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7040
7041 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
7042 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
7043 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7044
7045 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
7046 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
7047 Adjust for changed ldbl-128 files.
7048
7049 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
7050 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
7051 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7052
7053 2012-04-17 David S. Miller <davem@davemloft.net>
7054
7055 * sysdeps/sparc/sparc32/memcopy.h: Delete.
7056
7057 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
7058
7059 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
7060 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
7061 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
7062 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
7063 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7064 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
7065
7066 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7067
7068 [BZ #6794]
7069 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
7070 * math/libm-test.inc: Add ilogb errno and exception tests.
7071 * math/w_ilogb.c: New file: ilogb wrapper.
7072 * math/w_ilogbf.c: New file: ilogbf wrapper.
7073 * math/w_ilogbl.c: New file: ilogbl wrapper.
7074 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
7075 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
7076 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
7077 exception being thrown with 0.0 as argument.
7078 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
7079 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
7080 exception being thrown with 0.0 as argument.
7081 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
7082 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7083 exception being thrown with 0.0 as argument.
7084 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
7085 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7086 exception being thrown with 0.0 as argument.
7087 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
7088 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7089 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
7090 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
7091 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
7092 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
7093 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
7094 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
7095 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
7096
7097 2012-04-17 Petr Baudis <pasky@ucw.cz>
7098
7099 * include/sys/uio.h: Change __vector to __iovec to avoid clash
7100 with altivec.
7101
7102 2012-04-16 Marek Polacek <polacek@redhat.com>
7103
7104 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
7105
7106 2012-04-16 Marek Polacek <polacek@redhat.com>
7107
7108 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
7109 operands of fdivp instruction.
7110
7111 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7112
7113 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
7114 * elf/tst-auditmod3b.c: Likewise.
7115 * elf/tst-auditmod4b.c: Likewise.
7116 * elf/tst-auditmod5b.c: Likewise.
7117 * elf/tst-auditmod6b.c: Likewise.
7118 * elf/tst-auditmod6c.c: Likewise.
7119 * elf/tst-auditmod7b.c: Likewise.
7120 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
7121 * sysdeps/x86_64/preconfigure.in: Likewise.
7122 * sysdeps/x86_64/preconfigure: Regenerated.
7123
7124 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7125
7126 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
7127 __ILP32__.
7128
7129 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
7130
7131 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7132 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
7133
7134 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
7135
7136 [BZ #13973]
7137 * locale/iso-639.def: Fix gl language name. Spotted by
7138 Yaron Shahrabani.
7139
7140 2012-04-12 Roland McGrath <roland@hack.frob.com>
7141
7142 [BZ #2074]
7143 * libio/libio.h (__io_write_fn): Update comment.
7144
7145 2012-04-12 Petr Baudis <pasky@ucw.cz>
7146
7147 [BZ #2074]
7148 * stdio.texi (Hook Functions): The user provided writer function
7149 is not allowed to return -1.
7150
7151 2012-04-11 David S. Miller <davem@davemloft.net>
7152
7153 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7154
7155 2012-04-11 Mike Frysinger <vapier@gentoo.org>
7156
7157 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
7158 Add a leading slash to rtkaio.
7159
7160 2012-04-11 Jim Meyering <meyering@redhat.com>
7161
7162 [BZ #11959]
7163 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
7164 It is not necessarily an error to ignore fwrite's return
7165 value. One can reliably use ferror to test for errors after
7166 the fact.
7167
7168 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7169
7170 * bits/types.h (__snseconds_t): New type.
7171 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
7172
7173 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
7174 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7175 (__SNSECONDS_T_TYPE): Likewise.
7176 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7177 (__SNSECONDS_T_TYPE): Likewise.
7178 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7179 (__SNSECONDS_T_TYPE): Likewise.
7180
7181 2012-04-10 Andreas Jaeger <aj@suse.de>
7182
7183 [BZ #2636]
7184 * manual/time.texi (Processor Time): Return type of times is
7185 elapsed real time since an arbitrary point in the past.
7186 (CPU Time): Move CLK_TCK from here...
7187 (Processor Time): ...to here. Correct description.
7188 * manual/conf.texi (Constants for Sysconf): Correct description of
7189 _SC_CLK_TCK.
7190
7191 2012-04-10 David S. Miller <davem@davemloft.net>
7192
7193 [BZ #13967]
7194 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
7195 where the is a gap between DT_REL(A) and DT_JMPREL.
7196
7197 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7198
7199 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
7200 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7201 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7202
7203 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7204
7205 * elf/dl-support.c (_dl_inhibit_cache): New variable.
7206 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
7207 (dl_main): Handle --inhibit-cache.
7208 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
7209 _dl_inhibit_cache.
7210 * elf/dl-load.c (_dl_map_object): Use it.
7211 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
7212
7213 2012-04-09 Joseph Myers <joseph@codesourcery.com>
7214
7215 [BZ #13872]
7216 * sysdeps/i386/fpu/e_powl.S (p78): New object.
7217 (__ieee754_powl): Saturate large exponents rather than testing for
7218 overflow of y*log2(x).
7219 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7220 * math/libm-test.inc (pow_test): Do not permit spurious overflow
7221 exceptions.
7222
7223 [BZ #11521]
7224 * math/s_ctan.c: Include <float.h>.
7225 (__ctan): Avoid internal overflow or cancellation in calculating
7226 denominator.
7227 * math/s_ctanf.c: Likewise.
7228 * math/s_ctanl.c: Likewise.
7229 * math/s_ctanh.c: Likewise.
7230 * math/s_ctanhf.c: Likewise.
7231 * math/s_ctanhl.c: Likewise.
7232 * math/libm-test.inc (ctan_test): Add more tests.
7233 (ctanh_test): Likewise.
7234 * sysdeps/i386/fpu/libm-test-ulps: Update.
7235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7236
7237 2012-04-09 Andreas Jaeger <aj@suse.de>
7238
7239 [BZ #6894]
7240 * manual/filesys.texi (Directory Entries): Mention that d_namlen
7241 is an optional BSD extension.
7242
7243 [BZ #10254]
7244 * manual/stdio.texi (Opening Streams): Document additional fopen
7245 parameters.
7246
7247 2012-04-09 Roland McGrath <roland@hack.frob.com>
7248
7249 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
7250 %eax without telling the compiler.
7251
7252 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
7253
7254 [BZ # 13963]
7255 * manual/install.texi: Use sourceware.org.
7256
7257 2012-04-09 Joseph Myers <joseph@codesourcery.com>
7258
7259 [BZ #13873]
7260 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
7261 (__ieee754_pow): Generate overflow and underflow using huge*huge
7262 and tiny*tiny rather than just returning constant infinity or zero
7263 for large exponents.
7264 * math/libm-test.inc (pow_test): Require overflow exceptions for
7265 applicable cases of large exponents.
7266
7267 [BZ #706]
7268 * sysdeps/i386/fpu/e_pow.S (p10): New object.
7269 (__ieee754_pow): Use iterative multiplication algorithm only for
7270 integer exponents with absolute value below 1024. Check for odd
7271 integer exponents when using algorithm for real exponents.
7272 * math/libm-test.inc (pow_test): Add more tests.
7273 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7274
7275 2012-04-08 Joseph Myers <joseph@codesourcery.com>
7276
7277 [BZ #13705]
7278 * math/libm-test.inc (exp_test): Do not allow overflow exception
7279 on underflow test.
7280
7281 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
7282
7283 [BZ #13705]
7284 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
7285 instead of __kernel_standard_f.
7286
7287 2012-04-08 Mike Frysinger <vapier@gentoo.org>
7288
7289 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
7290 * sysdeps/x86_64/memset_chk.S: Likewise.
7291
7292 2012-04-08 Andreas Jaeger <aj@suse.de>
7293
7294 [BZ #10153]
7295 * manual/startup.texi (Environment Access): Describe return value
7296 for putenv and setenv.
7297
7298 [BZ #6895]
7299 * manual/filesys.texi (Directory Entries): Add description for
7300 DT_LNK.
7301
7302 [BZ #6890]
7303 * manual/filesys.texi (Directory Entries): Clarify that it's file
7304 system not operating system in the description of DT_UNKNOWN.
7305
7306 [BZ #6578]
7307 * manual/syslog.texi (closelog): Fix reference, it's openlog.
7308
7309 2012-04-08 Stephen Compall <s11@member.fsf.org>
7310
7311 [BZ #6649]
7312 * manual/llio.texi (Opening and Closing Files): Add cross
7313 reference to explain mode argument.
7314
7315 2012-04-07 Mike Frysinger <vapier@gentoo.org>
7316
7317 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
7318 * sysdeps/x86_64/memset_chk.S: Likewise.
7319
7320 2012-04-07 David S. Miller <davem@davemloft.net>
7321
7322 * elf/elf.h (R_SPARC_WDISP10): Define.
7323 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
7324 R_SPARC_SIZE32.
7325 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7326 R_SPARC_SIZE64 and R_SPARC_H34.
7327
7328 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
7329
7330 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
7331 conditions and remove no longer applicable assertion.
7332
7333 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7334
7335 * bits/byteswap.h: Include <features.h>.
7336 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7337 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7338
7339 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7340
7341 * bits/byteswap.h (__bswap_16): Removed.
7342 Include <bits/byteswap-16.h> to get __bswap_16.
7343 * sysdeps/i386/bits/byteswap.h: Likewise.
7344 * sysdeps/s390/bits/byteswap.h: Likewise.
7345 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7346 * bits/byteswap-16.h: New file.
7347 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7348 * sysdeps/s390/bits/byteswap-16.h: Likewise.
7349 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
7350 * string/Makefile (headers): Add bits/byteswap-16.h.
7351
7352 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7353
7354 [BZ #13895]
7355 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
7356 extra indirection.
7357 * nss/Makefile (tests-static, tests): Add tst-nss-static.
7358 * nss/tst-nss-static.c: New.
7359
7360 2012-04-06 Robert Millan <rmh@gnu.org>
7361
7362 [BZ #6486]
7363 * manual/llio.texi (File Position Primitive): lseek
7364 refers to WHENCE when it really means OFFSET.
7365
7366 2012-04-06 Andreas Jaeger <aj@suse.de>
7367
7368 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
7369 strncmp declarations.
7370
7371 * abilist/libc.abilist: Add __poll and __ppoll.
7372
7373 2012-04-05 David S. Miller <davem@davemloft.net>
7374
7375 * scripts/check-local-headers.sh: Accept a host triplet in the
7376 path matched by the exclude regexp.
7377
7378 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
7379 definition.
7380 * sysdeps/powerpc/powerpc32/dl-machine.h
7381 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
7382 * sysdeps/s390/s390-32/dl-machine.h
7383 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7384 * sysdeps/sparc/sparc32/dl-machine.h
7385 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7386 * sysdeps/sparc/sparc64/dl-machine.h
7387 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7388
7389 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
7390 lazy binding.
7391 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
7392 undefined symbol errors.
7393
7394 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
7395 DT_NEEDED entries.
7396
7397 2012-04-05 Michael Matz <matz@suse.de>
7398
7399 [BZ #13592]
7400 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
7401
7402 2012-04-05 Andreas Jaeger <aj@suse.de>
7403
7404 [BZ #13908]
7405 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
7406 comment.
7407
7408 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7409
7410 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
7411 which ROUND is no valid rounding mode.
7412
7413 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7414
7415 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
7416 read again.
7417 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
7418
7419 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7420
7421 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
7422 an exception using FPU order intentionally.
7423
7424 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7425
7426 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
7427 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
7428 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
7429 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
7430
7431 2012-04-05 Simon Josefsson <simon@josefsson.org>
7432
7433 [BZ #12340]
7434 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
7435 EINVAL when BUFLEN is too smal.
7436
7437 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
7438
7439 [BZ #13553]
7440 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
7441 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
7442
7443 2012-04-03 Andreas Jaeger <aj@suse.de>
7444
7445 [BZ #13938]
7446 * manual/setjmp.texi (System V contexts): Fix sentence.
7447
7448 [BZ #13926]
7449 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
7450 New macro for this case.
7451 [!__GNUC__] (__bswap_64): New inline function for this case.
7452 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7453 * bits/byteswap.h: Likewise.
7454 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
7455 ull, guard with __GLIBC_HAVE_LONG_LONG.
7456
7457 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
7458 __GLIBC_HAVE_LONG_LONG.
7459
7460 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
7461 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
7462
7463 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7464
7465 [BZ #13691]
7466 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7467 inptr and inend, rather than using last_ch.
7468
7469 2012-04-02 David S. Miller <davem@davemloft.net>
7470
7471 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7472 * stdio-common/printf-parse.h (read_int): Change return type to
7473 'int', return -1 on INT_MAX overflow.
7474 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7475 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
7476 overflows INT_MAX. Check for overflow of in-format-string precision
7477 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
7478 SIZE_MAX not INT_MAX for integer overflow test.
7479 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7480 skip the construct in the format string but do not record anything.
7481 * stdio-common/bug22.c: Adjust to test both width/prevision
7482 INT_MAX overflow as well as total length INT_MAX overflow. Check
7483 explicitly for proper errno values.
7484
7485 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
7486
7487 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7488 CHAR_MAX.
7489 * string/test-strcmp.c [! WIDE]: Likewise.
7490 * time/tst-mktime2.c: Likewise for INT_MAX.
7491 * string/test-string.h: #include <sys/param.h> for MIN.
7492
7493 * csu/init-first.c (__libc_init_first): Call __ctype_init.
7494 * sysdeps/i386/init-first.c (init): Likewise.
7495 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7496 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7497 * sysdeps/sh/init-first.c (init): Likewise.
7498
7499 2012-04-01 Ulrich Drepper <drepper@gmail.com>
7500
7501 * po/ru.po: Update from translation team.
7502 * po/vi.po: Likewise.
7503
7504 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7505
7506 * resolv/nss_dns/dns-host.c: Merge copyright years.
7507
7508 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7509
7510 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7511 Optimize memcpy with prefetch if
7512 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
7513 src, dst pointers have unequal 16 byte alignments.
7514
7515 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7516
7517 [BZ #13928]
7518 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7519 from a CNAME entry and return the minimum ttl for the query.
7520 (gaih_getanswer_slice): Likewise.
7521
7522 2012-03-30 Jeff Law <law@redhat.com>
7523
7524 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7525 due to long keys.
7526 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7527 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7528
7529 * resolv/nss_dns/dns-host.c: Update copyright year.
7530
7531 2012-03-30 Ulrich Drepper <drepper@gmail.com>
7532
7533 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
7534 requests to save a system call. Fix check that all bytes are sent.
7535
7536 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7537 comments for sendmmsg.
7538
7539 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7540
7541 [BZ #13691]
7542 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7543 with only 1 character between 0x0041 and 0x01b0.
7544 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7545 * wcsmbs/tst-mbsnrtowcs.c: New file.
7546
7547 2012-03-29 David S. Miller <davem@davemloft.net>
7548
7549 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7550 small copies by hand.
7551
7552 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7553
7554 [BZ #13761]
7555 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7556 _nss_compat_initgroups_dyn): Fall back to malloc/free
7557 for large group memberships.
7558
7559 2012-03-28 David S. Miller <davem@davemloft.net>
7560
7561 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
7562 that branches into memcpy.
7563 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7564 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7565 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7566 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7567 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
7568 bits.
7569 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
7570 implementation too.
7571 * sysdeps/sparc/mempcpy.S: New file.
7572
7573 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
7574 the IFUNC routine in the libc case.
7575 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7576
7577 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
7578 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
7579 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
7580 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7581 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
7582 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
7583 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
7584 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
7585
7586 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
7587 loop to 256 bytes instead of 64 bytes and fix test signedness.
7588
7589 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
7590 * sysdeps/sparc/sparc32/Makefile: rather than here...
7591 * sysdeps/sparc/sparc64/Makefile: and here.
7592
7593 2012-03-28 Ulrich Drepper <drepper@gmail.com>
7594
7595 * malloc/mallocbug.c: Avoid warnings about unused variables.
7596
7597 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7598
7599 [BZ #13760]
7600 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
7601 in the right place. Discard and retry query if response is
7602 larger than input buffer size.
7603
7604 2012-03-28 Joseph Myers <joseph@codesourcery.com>
7605
7606 [BZ #369]
7607 [BZ #2678]
7608 [BZ #3866]
7609 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
7610 x for large integer exponent.
7611 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7612 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
7613 sign of result as needed afterwards.
7614 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7615 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
7616 result for underflowing pow the same as for overflow.
7617 (__kernel_standard_l): Handle powl overflow and underflow here
7618 rather than calling __kernel_standard.
7619 * math/libm-test.inc (pow_test): Add more tests.
7620
7621 [BZ #3868]
7622 [BZ #13879]
7623 [BZ #13910]
7624 [BZ #13911]
7625 [BZ #13912]
7626 [BZ #13913]
7627 [BZ #13915]
7628 [BZ #13916]
7629 [BZ #13917]
7630 [BZ #13918]
7631 [BZ #13919]
7632 [BZ #13920]
7633 [BZ #13921]
7634 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
7635 * sysdeps/ieee754/k_standard.c: Include <float.h>.
7636 (__kernel_standard_l): New function.
7637 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
7638 __kernel_standard.
7639 * math/w_acosl.c (__acosl): Likewise.
7640 * math/w_asinl.c (__asinl): Likewise.
7641 * math/w_atan2l.c (__atan2l): Likewise.
7642 * math/w_atanhl.c (__atanhl): Likewise.
7643 * math/w_coshl.c (__coshl): Likewise.
7644 * math/w_exp10l.c (__exp10l): Likewise.
7645 * math/w_exp2l.c (__exp2l): Likewise.
7646 * math/w_fmodl.c (__fmodl): Likewise.
7647 * math/w_hypotl.c (__hypotl): Likewise.
7648 * math/w_j0l.c (__j0l, __y0l): Likewise.
7649 * math/w_j1l.c (__j1l, __y1l): Likewise.
7650 * math/w_jnl.c (__jnl, __ynl): Likewise.
7651 * math/w_lgammal.c (__lgammal): Likewise.
7652 * math/w_log10l.c (__log10l): Likewise.
7653 * math/w_log2l.c (__log2l): Likewise.
7654 * math/w_logl.c (__logl): Likewise.
7655 * math/w_powl.c (__powl): Likewise.
7656 * math/w_remainderl.c (__remainderl): Likewise.
7657 * math/w_scalbl.c (sysv_scalbl): Likewise.
7658 * math/w_sinhl.c (__sinhl): Likewise.
7659 * math/w_sqrtl.c (__sqrtl): Likewise.
7660 * math/w_tgammal.c (__tgammal): Likewise.
7661 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
7662 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
7663 * math/libm-test.inc (acos_test): Add more tests.
7664 (acosh_test): Likewise.
7665 (asin_test): Likewise.
7666 (atanh_test): Likewise.
7667 (exp_test): Likewise.
7668 (exp10_test): Likewise.
7669 (exp2_test): Likewise.
7670 (expm1_test): Likewise.
7671 (lgamma_test): Likewise.
7672 (log_test): Likewise.
7673 (log10_test): Likewise.
7674 (log1p_test): Likewise.
7675 (log2_test): Likewise.
7676 (pow_test): Do not allow some spurious overflow exceptions.
7677 (sqrt_test): Add more tests.
7678 (tgamma_test): Likewise.
7679 (y0_test): Likewise.
7680 (y1_test): Likewise.
7681 (yn_test): Likewise.
7682
7683 2012-03-27 Anton Blanchard <anton@samba.org>
7684
7685 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
7686 MAP_HUGETLB.
7687 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7688 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7689 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7690
7691 2012-03-27 David S. Miller <davem@davemloft.net>
7692
7693 * conform/Makefile: Run run-conformtest.sh using $(BASH).
7694
7695 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
7696 have-as-vis3 check.
7697
7698 2012-03-27 Andreas Jaeger <aj@suse.de>
7699
7700 * sysdeps/x86_64/elf/configure.in: Moved to ...
7701 * sysdeps/x86_64/configure.in: ... here.
7702 * sysdeps/x86_64/elf/start.S: Moved to ...
7703 * sysdeps/x86_64/start.S: ... here.
7704 * sysdeps/x86_64/elf/configure: Delete.
7705
7706 * sysdeps/x86_64/configure.in: Merge contents from
7707 sysdeps/i386/configure.in (without i686 check).
7708
7709 * sysdeps/i386/elf/Versions: Merge into ...
7710 * sysdeps/i386/Versions: ... this.
7711 * sysdeps/i386/elf/Versions: Delete file.
7712 * sysdeps/i386/elf/start.S: Moved to ...
7713 * sysdeps/i386/start.S: ...here.
7714 * sysdeps/i386/elf/configure.in: Merge into...
7715 * sysdeps/i386/configure.in: ...here.
7716 * sysdeps/i386/elf/configure.in: Delete file.
7717 * sysdeps/i386/elf/configure: Delete file.
7718
7719 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
7720 * debug/backtracesyms.c: ... here.
7721 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
7722 * debug/backtracesymsfd.c: ... here.
7723 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
7724 * sysdeps/generic/ifunc-sel.h: ... here.
7725
7726 * sysdeps/unix/i386/start.c: Delete file.
7727 * sysdeps/unix/sparc/start.c: Delete file.
7728 * sysdeps/unix/start.c: Delete file.
7729
7730 * sysdeps/sh/elf/configure.in: Moved to ...
7731 * sysdeps/sh/configure.in: ... here.
7732 * sysdeps/sh/elf/start.S: Moved to ...
7733 * sysdeps/sh/start.S: ... here.
7734 * sysdeps/sh/elf/configure: Delete file.
7735
7736 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
7737 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
7738 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
7739 * sysdeps/powerpc/powerpc64/entry.h: ... here.
7740 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
7741 * sysdeps/powerpc/powerpc64/start.S: here.
7742 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
7743 * sysdeps/powerpc/powerpc64/Makefile: ... this.
7744 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
7745 * sysdeps/powerpc/powerpc64/configure.in: ... this.
7746 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
7747
7748 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
7749 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
7750 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
7751 * sysdeps/powerpc/powerpc32/start.S: ... here.
7752 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
7753 * sysdeps/powerpc/powerpc32/configure.in: ... this.
7754 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
7755
7756 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
7757 * sysdeps/powerpc/ifunc-sel.h: ... here.
7758 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
7759 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
7760
7761 * sysdeps/sparc/elf/configure.in: Moved to ...
7762 * sysdeps/sparc/configure.in: ... here.
7763 * sysdeps/sparc/elf/configure: Delete file.
7764 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
7765 * sysdeps/sparc/sparc32/start.S: ... here.
7766 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
7767 * sysdeps/sparc/sparc64/start.S: ... here.
7768 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
7769 * sysdeps/sparc/sparc32/Makefile: ... this.
7770 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
7771 * sysdeps/sparc/sparc64/Makefile: ... this.
7772
7773 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
7774 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
7775 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
7776 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
7777 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
7778 * sysdeps/s390/s390-32/setjmp.S: ... here.
7779 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
7780 * sysdeps/s390/s390-32/configure.in: ... here.
7781 * sysdeps/s390/s390-32/elf/configure: Delete file.
7782 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
7783 * sysdeps/s390/s390-32/start.S: ... here.
7784
7785 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
7786 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
7787 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
7788 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
7789 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
7790 * sysdeps/s390/s390-64/setjmp.S: ... here.
7791 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
7792 * sysdeps/s390/s390-64/configure.in: ... here
7793 * sysdeps/s390/s390-64/elf/configure: Delete file.
7794 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
7795 * sysdeps/s390/s390-64/start.S: ... here.
7796 * sysdeps/s390/s390-64/elf/configure: Delete.
7797
7798 * configure.in: Remove support for elf directories in sysdeps.
7799
7800 * configure: Regenerated.
7801 * sysdeps/i386/configure: Regenerated.
7802 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7803 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7804 * sysdeps/s390/s390-32/configure: Regenerated.
7805 * sysdeps/s390/s390-64/configure: Regenerated.
7806 * sysdeps/sh/configure: Regenerated.
7807 * sysdeps/sparc/configure: Regenerated.
7808 * sysdeps/x86_64/configure: Regenerated.
7809
7810 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
7811
7812 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7813
7814 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
7815 denormal result into account.
7816
7817 2012-03-25 Roland McGrath <roland@hack.frob.com>
7818
7819 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
7820 Reported by Allan McRae <allan@archlinux.org>.
7821
7822 2012-03-23 Jeff Law <law@redhat.com>
7823
7824 * nss/getnssent.c (__nss_getent): Fix typo.
7825
7826 2012-03-23 David S. Miller <davem@davemloft.net>
7827
7828 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7829
7830 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
7831
7832 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
7833 to pad to uint64_t for each field.
7834 (dl_tls_index): Replace unsigned long with uint64_t.
7835
7836 2012-03-23 Daniel Jacobowitz <dmj@google.com>
7837 Paul Pluzhnikov <ppluzhnikov@google.com>
7838
7839 [BZ #6528]
7840 * grp/Makefile (otherlibs): Don't set it.
7841 * inet/Makefile (otherlibs): Likewise.
7842 * login/Makefile (otherlibs): Likewise.
7843 * nscd/Makefile (otherlibs): Likewise.
7844 * posix/Makefile (otherlibs): Likewise.
7845 * pwd/Makefile (otherlibs): Likewise.
7846 * rt/Makefile (otherlibs): Likewise.
7847 * sunrpc/Makefile (otherlibs): Likewise.
7848 * nss/Makefile (otherlibs): Likewise.
7849 Add libnss_files to routines and static-only-routines.
7850 ($(objpfx)getent): Remove rule.
7851 * resolv/Makefile: Add libnss_dns and libresolv to routines and
7852 static-only-routines.
7853
7854 2012-03-22 Joseph Myers <joseph@codesourcery.com>
7855
7856 [BZ #13892]
7857 * math/s_cexp.c: Include <float.h>.
7858 (__cexp): Handle exp result overflowing not necessarily
7859 overflowing both real and imaginary parts of result.
7860 * math/s_cexpf.c: Likewise.
7861 * math/s_cexpl.c: Likewise.
7862 * math/libm-test.inc (cexp_test): Add more tests.
7863 * sysdeps/i386/fpu/libm-test-ulps: Update.
7864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7865
7866 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7867
7868 * include/link.h (ELFW): New macro.
7869 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
7870 Replace ELF64_R_TYPE with ELFW(R_TYPE).
7871
7872 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7873
7874 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
7875 with uint64_t.
7876
7877 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7878
7879 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
7880 declaration.
7881 (struct La_x32_retval): Likewise.
7882
7883 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7884
7885 * sysdeps/x86_64/preconfigure.in: New file.
7886 * sysdeps/x86_64/preconfigure: New generated file.
7887
7888 2012-03-22 Joseph Myers <joseph@codesourcery.com>
7889
7890 [BZ #13824]
7891 * math/e_exp2l.c: Include <float.h>.
7892 (__ieee754_exp2l): Handle overflow and underflow cases
7893 separately. Only pass fractional part of argument to
7894 __ieee754_expl.
7895 * math/libm-test.inc (exp2_test): Add more tests.
7896
7897 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
7898 negating x to take absolute value.
7899 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7900 Likewise.
7901 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7902 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7903 Likewise.
7904 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
7905 computing low part if x was negated.
7906 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7907
7908 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7909
7910 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
7911 la_x32_gnu_pltexit.
7912 (pltexit): Cast int_retval to ptrdiff_t.
7913 * elf/tst-auditmod3b.c: Likewise.
7914 * elf/tst-auditmod4b.c: Likewise.
7915 * elf/tst-auditmod5b.c: Likewise.
7916 * elf/tst-auditmod6b.c: Likewise.
7917 * elf/tst-auditmod6c.c: Likewise.
7918 * elf/tst-auditmod7b.c: Likewise.
7919
7920 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
7921 and x32_gnu_pltexit.
7922
7923 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
7924 __ELF_NATIVE_CLASS.
7925 (La_x32_regs): New macro.
7926 (La_x32_retval): Likewise.
7927 (la_x32_gnu_pltenter): New function prototype.
7928 (la_x32_gnu_pltexit): Likewise.
7929
7930 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
7931
7932 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
7933 exponent.
7934
7935 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7936
7937 * configure.in (libc_cv_cc_nofma): Check for option to disable
7938 generation of FMA instructions.
7939 * configure: Regenerate.
7940 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
7941 * sysdeps/ieee754/dbl-64/Makefile: New file.
7942 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7943 Remove brandred-fma4.
7944 (CFLAGS-brandred-fma4.c): Remove.
7945 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
7946 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
7947 define.
7948 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
7949 define.
7950
7951 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7952
7953 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7954 LLONG_MAX != LONG_MAX.
7955 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7956 (_fitoa_word): Likewise.
7957 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
7958 LLONG_MAX != LONG_MAX.
7959 * stdio-common/_itowa.h: Include <_itoa.h>.
7960 (_itowa_word): Use _ITOA_WORD_TYPE on value.
7961 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
7962 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
7963 only if not defined.
7964 (_ITOA_WORD_TYPE): Likewise.
7965 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7966 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
7967
7968 2012-03-21 David S. Miller <davem@davemloft.net>
7969
7970 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7971
7972 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7973
7974 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
7975 of x86_64 when setting libc_cv_slibdir, libdir and
7976 libc_cv_localedir.
7977 * sysdeps/unix/sysv/linux/configure: Regenerated.
7978
7979 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7980
7981 * manual/lang.texi (Old Varargs): Remove section.
7982 (How Variadic): Update menu.
7983 (va_start): Do not mention varargs.h.
7984
7985 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7986 Joseph Myers <joseph@codesourcery.com>
7987
7988 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
7989 link test.
7990 * configure: Regenerated.
7991
7992 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7993
7994 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
7995 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
7996 conformtest.pl
7997
7998 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7999
8000 * NOTES: Remove.
8001 * Makefile (files-for-dist): Remove NOTES.
8002 (NOTES): Remove rule.
8003 * README: Don't refer to NOTES.
8004 * manual/creature.texi: Don't include macros.texi.
8005 * manual/intro.texi (creature.texi): Remove comment referring to
8006 NOTES.
8007
8008 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
8009 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
8010 * configure: Regenerated.
8011 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
8012 LIBC_TRY_CC_OPTION.
8013 (libc_cv_as_i686): Likewise.
8014 (libc_cv_cc_avx): Likewise.
8015 (libc_cv_cc_sse2avx): Likewise.
8016 (libc_cv_cc_fma4): Likewise.
8017 (libc_cv_cc_novzeroupper): Likewise.
8018 * sysdeps/i386/configure: Regenerated.
8019
8020 [BZ #13883]
8021 * sysdeps/i386/fpu/s_cexp.S: Remove.
8022 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8023 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8024 * math/libm-test.inc (cexp_test): Add more tests.
8025 * sysdeps/i386/fpu/libm-test-ulps: Update.
8026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8027
8028 2012-03-21 Allan McRae <allan@archlinux.org>
8029
8030 * timezone/Makefile: Do not install iso3166.tab and zone.tab
8031
8032 2012-03-21 Joseph Myers <joseph@codesourcery.com>
8033
8034 [BZ #13871]
8035 * math/w_exp2.c: Do not include <float.h>.
8036 (o_threshold, u_threshold): Remove.
8037 (__exp2): Calculate result before checking finiteness and calling
8038 __kernel_standard.
8039 * math/w_exp2f.c: Likewise.
8040 * math/w_exp2l.c: Likewise.
8041 * math/libm-test.inc (exp2_test): Require overflow exception for
8042 1e6 input.
8043
8044 [BZ #3866]
8045 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
8046 range of signed 64-bit integers before using fistpll. Remove
8047 checks for whether integers fit in mantissa bits.
8048 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
8049 the range of signed 32-bit integers before using fistpl. Remove
8050 checks for whether integers fit in mantissa bits.
8051 * sysdeps/i386/fpu/e_powl.S (p64): New object.
8052 (__ieee754_powl): Test for y outside the range of signed 64-bit
8053 integers before using fistpll. Reduce 64-bit values to 63-bit
8054 ones as needed.
8055 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
8056 divide-by-zero is raised for zero to large negative powers.
8057 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
8058 (__ieee754_powl): Test for y outside the range of signed 64-bit
8059 integers before using fistpll. Reduce 64-bit values to 63-bit
8060 ones as needed.
8061 * math/libm-test.inc (pow_test): Add more tests.
8062
8063 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8064
8065 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
8066 <stdio-common/_itoa.h>.
8067 * debug/segfault.c: Likewise.
8068 * elf/dl-cache.c: Likewise.
8069 * elf/dl-minimal.c: Likewise.
8070 * elf/dl-misc.c: Likewise.
8071 * elf/dl-sysdep.c: Likewise.
8072 * elf/dl-version.c: Likewise.
8073 * elf/rtld.c: Likewise.
8074 * hurd/hurdsock.c: Likewise.
8075 * hurd/lookup-retry.c: Likewise.
8076 * malloc/malloc.c: Likewise.
8077 * malloc/mtrace.c: Likewise.
8078 * nscd/nscd_getgr_r.c: Likewise.
8079 * nscd/nscd_getpw_r.c: Likewise.
8080 * nscd/nscd_getserv_r.c: Likewise.
8081 * posix/getopt_init.c: Likewise.
8082 * posix/wordexp.c: Likewise.
8083 * stdio-common/_itoa.c: Likewise.
8084 * stdio-common/printf_fphex.c: Likewise.
8085 * stdio-common/vfprintf.c: Likewise.
8086 * string/_strerror.c: Likewise.
8087 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
8088 * sysdeps/i386/i686/hp-timing.h: Likewise.
8089 * sysdeps/mach/_strerror.c: Likewise.
8090 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
8091 * sysdeps/mach/hurd/sethostid.c: Likewise.
8092 * sysdeps/mach/hurd/xmknodat.c: Likewise.
8093 * sysdeps/mach/xpg-strerror.c: Likewise.
8094 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8095 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8096 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
8097 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
8098 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8099 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
8100 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8101 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8102 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
8103 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
8104 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
8105 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8106 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
8107 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8108 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8109 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
8110 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
8111 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
8112 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8113 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8114 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
8115
8116 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
8117
8118 * stdio-common/_itoa.h: Moved to ...
8119 * sysdeps/generic/_itoa.h: Here.
8120
8121 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
8122
8123 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
8124 instead of "_itoa.h" and "_itowa.h".
8125 * stdio-common/vfprintf.: Likewise.
8126
8127 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8128
8129 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
8130 <bits/wordsize.h>.
8131 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
8132 (__signbit): Likwise.
8133 (llrintf): Likwise.
8134 (llrint): Likwise.
8135
8136 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8137
8138 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
8139 __WORDSIZE != 64.
8140
8141 2012-03-20 Joseph Myers <joseph@codesourcery.com>
8142
8143 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
8144 OVERFLOW_EXCEPTION_OK.
8145 * math/libm-test.inc ("Philosophy"): Update comment about
8146 exception testing.
8147 (OVERFLOW_EXCEPTION): Define.
8148 (OVERFLOW_EXCEPTION_OK): Likewise.
8149 (INVALID_EXCEPTION_OK): Renumber.
8150 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8151 (IGNORE_ZERO_INF_SIGN): Likewise.
8152 (test_exceptions): Handle FE_OVERFLOW.
8153 (exp10_test): Expect overflow exceptions.
8154 (exp2_test): Likewise.
8155 (expm1_test): Likewise.
8156 (nextafter_test): Likewise.
8157 (pow_test): Likewise.
8158 (scalbn_test): Likewise.
8159 (scalbln_test): Likewise.
8160
8161 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8162
8163 * sysdeps/x86_64/bits/atomic.h
8164 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
8165 64bit integer.
8166 (atomic_exchange_acq): Likewise.
8167 (__arch_exchange_and_add_body): Likewise.
8168 (__arch_add_body): Likewise.
8169 (atomic_add_negative): Likewise.
8170 (atomic_add_zero): Likewise.
8171
8172 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8173
8174 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
8175 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
8176
8177 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8178
8179 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
8180 Check __x86_64__ instead of __WORDSIZE.
8181
8182 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8183
8184 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
8185
8186 2012-03-19 David S. Miller <davem@davemloft.net>
8187
8188 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8189
8190 * sysdeps/sparc/fpu/fenv_private.h: New file.
8191 * sysdeps/sparc/fpu/math_private.h: Use it.
8192 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
8193 Remove.
8194 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
8195 (libc_feholdexcept_setroundl): Remove.
8196 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
8197 Remove.
8198 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
8199 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
8200
8201 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8202
8203 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
8204 int64_t instead of long int.
8205 (INSERT_WORDS64): Likwise.
8206
8207 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8208
8209 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
8210 _Unwind_GetCFA return to _Unwind_Ptr first.
8211
8212 2012-03-19 Joseph Myers <joseph@codesourcery.com>
8213
8214 [BZ #13629]
8215 * math/s_clog.c: Include <float.h>.
8216 (__clog): Scale large or subnormal inputs.
8217 * math/s_clogf.c: Likewise.
8218 * math/s_clogl.c: Likewise.
8219 * math/s_clog10.c: Include <float.h>.
8220 (M_LOG10_2): Define.
8221 (__clog10): Scale large or subnormal inputs.
8222 * math/s_clog10f.c: Likewise.
8223 * math/s_clog10l.c: Likewise.
8224 * math/libm-test.inc (clog_test): Add more tests.
8225 (clog10_test): Likewise.
8226 * sysdeps/i386/fpu/libm-test-ulps: Update.
8227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8228
8229 [BZ #11451]
8230 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
8231 x and y.
8232 * math/libm-test.inc (atan2_test): Add another test.
8233
8234 * Makerules (common-objdir-compile): Remove.
8235 * sysdeps/unix/Makefile (config-generated): Do not add
8236 $(unix-generated) to variable.
8237 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
8238 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
8239 Remove rule.
8240 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
8241 Likewise.
8242 [generic bits/local_lim.h] (before-compile): Do not append to
8243 variable.
8244 [generic bits/local_lim.h] (common-generated): Likewise.
8245 [generic sys/param.h] (before-compile): Do not append to variable.
8246 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
8247 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
8248 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
8249 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
8250 include.
8251 [generic sys/param.h] (sys/param.h-includes): Remove variable.
8252 [generic sys/param.h] (sys/param.h-includes): Remove rule.
8253 [generic sys/param.h] ($(addprefix
8254 $(common-objpfx),$(sys/param.h-includes))): Likewise.
8255 [generic sys/param.h] (common-generated): Do not append to
8256 variable.
8257 [generic sys/param.h] (sysdep_headers): Likewise.
8258 [generic bits/errno.h] (before-compile): Do not append to
8259 variable.
8260 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
8261 rule.
8262 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
8263 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
8264 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
8265 [generic bits/errno.h] (common-generated): Do not append to
8266 variable.
8267 [generic bits/ioctls.h] (before-compile): Do not append to
8268 variable.
8269 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
8270 rule.
8271 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
8272 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
8273 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
8274 rule.
8275 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
8276 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
8277 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
8278 [generic bits/ioctls.h] (common-generated): Do not append to
8279 variable.
8280 [generic sys/syscall.h] (syscall.h): Remove variable.
8281 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
8282 rule.
8283 [generic sys/syscall.h] (before-compile): Do not append to
8284 variable.
8285 [generic sys/syscall.h] (common-generated): Likewise.
8286 * sysdeps/unix/errnos-tmpl.c: Remove file.
8287 * sysdeps/unix/errnos.awk: Likewise.
8288 * sysdeps/unix/ioctls-tmpl.c: Likewise.
8289 * sysdeps/unix/ioctls.awk: Likewise.
8290 * sysdeps/unix/mk-local_lim.c: Likewise.
8291 * sysdeps/unix/snarf-ioctls: Likewise.
8292
8293 2012-03-19 Richard Henderson <rth@twiddle.net>
8294
8295 * sysdeps/i386/fpu/fenv_private.h: New file.
8296 * sysdeps/i386/fpu/math_private.h: Use it.
8297 (math_opt_barrier, math_force_eval): Remove.
8298 (libc_feholdexcept_setround_53bit): Remove.
8299 (libc_feupdateenv_53bit): Remove.
8300 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8301 (math_opt_barrier, math_force_eval): Remove.
8302 (libc_feholdexcept): Remove.
8303 (libc_feholdexcept_setround): Remove.
8304 (libc_fetestexcept, libc_fesetenv): Remove.
8305 (libc_feupdateenv_test): Remove.
8306 (libc_feupdateenv, libc_feholdsetround): Remove.
8307 (libc_feresetround): Remove.
8308
8309 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
8310 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8311
8312 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
8313 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
8314 (libc_feupdateenv_testl): New.
8315 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
8316 (libc_feupdateenv_testf): New.
8317 (libc_feupdateenv): Use libc_feupdateenv_test.
8318 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
8319 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
8320
8321 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
8322 (libc_feholdsetroundf, libc_feholdsetroundl): New.
8323 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
8324 (libc_feresetround_noex): New.
8325 (libc_feresetround_noexf): New.
8326 (libc_feresetround_noexl): New.
8327 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
8328 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
8329 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
8330 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
8331 SET_RESTORE_ROUND.
8332 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8333 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
8334 (__cos): Likewise.
8335 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
8336 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8337 SET_RESTORE_ROUND_NOEX.
8338 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
8339 SET_RESTORE_ROUND_NOEXF.
8340 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
8341 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
8342 (libc_feholdsetroundf): New.
8343 (libc_feresetround, libc_feresetroundf): New.
8344
8345 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
8346 (libc_feholdexcept_setround_53bit): Convert from macro to function.
8347 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
8348
8349 * sysdeps/generic/math_private.h: Include <fenv.h>.
8350 (default_libc_feholdexcept): New.
8351 (default_libc_feholdexcept_setround): New.
8352 (default_libc_fesetenv, default_libc_feupdateenv): New.
8353 (libc_feholdexcept): Only define if undefined.
8354 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
8355 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
8356 (libc_feholdexcept_setroundl): Likewise.
8357 (libc_feholdexcept_setround_53bit): Likewise.
8358 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
8359 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
8360 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
8361 (libc_feupdateenv_53bit): Likewise.
8362 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
8363 (libc_feholdexcept): Convert from macro to inline function.
8364 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
8365 (libc_fesetenv, libc_feupdateenv): Likewise.
8366
8367 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
8368 not previously defined.
8369 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
8370 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
8371 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
8372 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
8373 * sysdeps/ieee754/flt-32/math_private.h: New file.
8374 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
8375 math_private.h below SET_FLOAT_WORD.
8376 (__isnan, __isinf_ns, __finite): Remove.
8377 (__isnanf, __isinf_nsf, __finitef): Remove.
8378
8379 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
8380
8381 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8382
8383 2012-03-17 David S. Miller <davem@davemloft.net>
8384
8385 [BZ #6471]
8386 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
8387 for 2.16.
8388
8389 2012-03-16 David S. Miller <davem@davemloft.net>
8390
8391 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
8392 warnings.
8393
8394 [BZ #6471]
8395 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
8396 properly.
8397 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
8398 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
8399 sysdep_routines when subdir is sysvipc.
8400 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
8401 __getshmlba helper.
8402
8403 * sysdeps/sparc/fpu/libm-test/ulps: Update.
8404
8405 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8406
8407 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
8408 [__LP64__].
8409
8410 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8411
8412 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
8413 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
8414 (__lround): Renamed to ...
8415 (__llround): This. Replace long int with long long int.
8416 Define lround functions as aliases of llround functions.
8417 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
8418
8419 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8420
8421 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
8422 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
8423 adresses to uintptr_t. Replace "long int" and "unsigned long
8424 int" with "greg_t" on va_arg.
8425
8426 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8427
8428 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
8429 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
8430
8431 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
8432 Move e_machine check before EI_CLASS check. Handle x32
8433 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
8434 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
8435 SKIP_EM_IA_64 and include
8436 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
8437
8438 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
8439 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
8440 (add_system_dir): New macro.
8441
8442 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
8443 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
8444
8445 2012-03-16 Joseph Myers <joseph@codesourcery.com>
8446
8447 [BZ #2551]
8448 [BZ #2552]
8449 [BZ #2553]
8450 [BZ #2554]
8451 [BZ #2562]
8452 [BZ #2563]
8453 [BZ #2565]
8454 [BZ #2566]
8455 [BZ #2576]
8456 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
8457 (y0): Likewise.
8458 * math/w_j0f.c (j0f): Likewise.
8459 (y0f): Likewise.
8460 * math/w_j0l.c (__j0l): Likewise.
8461 (__y0l): Likewise.
8462 * math/w_j1.c (j1): Likewise.
8463 (y1): Likewise.
8464 * math/w_j1f.c (j1f): Likewise.
8465 (y1f): Likewise.
8466 * math/w_j1l.c (__j1l): Likewise.
8467 (__y1l): Likewise.
8468 * math/w_jn.c (jn): Likewise.
8469 (yn): Likewise.
8470 * math/w_jnf.c (jnf): Likewise.
8471 (ynf): Likewise.
8472 * math/w_jnl.c (__jnl): Likewise.
8473 (__ynl): Likewise.
8474 * math/libm-test.inc (j0_test): Add more tests.
8475 (j1_test): Likewise.
8476 (jn_test): Likewise. Add trailing semicolon to existing test.
8477 (y0_test): Likewise.
8478 (y1_test): Likewise.
8479 * sysdeps/i386/fpu/libm-test-ulps: Update.
8480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8481
8482 [BZ #13851]
8483 [BZ #13854]
8484 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8485 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8486 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8487 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8488 (__tanl): Set errno for infinite argument.
8489 * sysdeps/i386/fpu/mptan.c: Remove.
8490 * sysdeps/i386/fpu/s_tan.S: Likewise.
8491 * sysdeps/i386/fpu/s_tanl.S: Likewise.
8492 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8493 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8494 * math/libm-test.inc (tan_test): Add more tests and enable more
8495 tests for double and long double.
8496 * sysdeps/i386/fpu/libm-test-ulps: Update.
8497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8498
8499 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8500
8501 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8502 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8503
8504 2012-03-16 Roland McGrath <roland@hack.frob.com>
8505
8506 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8507 * configure.in: Use it for both main tree and add-ons.
8508 * configure: Regenerated.
8509
8510 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8511
8512 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8513
8514 2012-03-16 Joseph Myers <joseph@codesourcery.com>
8515
8516 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8517 in comment.
8518
8519 [BZ #13851]
8520 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8521 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8522 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8523 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8524 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8525 infinite argument.
8526 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8527 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8528 != 0 for prec == 2.
8529 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8530 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8531 * sysdeps/i386/fpu/s_cosl.S: Likewise.
8532 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8533 * sysdeps/i386/fpu/s_sinl.S: Likewise.
8534 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8535 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8536 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8537 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8538 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8539 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8540 * math/libm-test.inc (cos_test): Add more tests and enable more
8541 tests for long double.
8542 (sin_test): Likewise.
8543 (sincos_test): Likewise.
8544 * sysdeps/i386/fpu/libm-test-ulps: Update.
8545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8546
8547 2012-03-16 David S. Miller <davem@davemloft.net>
8548
8549 * sysdeps/sparc/fpu/math_private.h: New file.
8550
8551 2012-03-15 David S. Miller <davem@davemloft.net>
8552
8553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8554 file.
8555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
8556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8557 file.
8558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
8559 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
8560 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
8561 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
8562 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
8563 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
8564 sysdep routines.
8565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8566
8567 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
8568 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
8569
8570 * sysdeps/sparc/sparc-ifunc.h: New file.
8571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
8572 sparc-ifunc.h
8573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8575 Likewise.
8576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8577 Likewise.
8578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
8579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8582 Likewise.
8583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
8587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
8588 Likewise.
8589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
8590 Likewise.
8591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
8593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8595 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8596 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8597 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
8598 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
8599 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8600 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8601 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8602 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8603 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8604 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8605 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
8606 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
8607 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
8608 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
8609 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
8610 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
8611 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
8612 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
8613 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
8614 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
8615
8616 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8617
8618 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
8619 scaling.
8620 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8621
8622 2012-03-15 Andreas Jaeger <aj@suse.de>
8623
8624 [BZ #13852]
8625 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
8626 ieee754/flt-32 implementation for sin, cos and sincos.
8627 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
8628 * sysdeps/i386/fpu/s_cosf.S: Likewise.
8629 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
8630 * sysdeps/i386/fpu/s_sinf.S: Likewise.
8631 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
8632 ieee754/flt-32 implementation for tan.
8633
8634 * math/libm-test.inc (cos_test): Enable some large input tests for
8635 float as well
8636 (sin_test): Likewise.
8637 (sincos_test): Likewise.
8638 (tan_test): Add tests for large input.
8639
8640 * sysdeps/i386/fpu/libm-test-ulps: Update.
8641
8642 2012-03-15 Andreas Jaeger <aj@suse.de>
8643
8644 [BZ #13658]
8645 * math/libm-test.inc (cos_test): Add more test cases.
8646 (sin_test): Likewise.
8647 (sincos_test): Likewise.
8648
8649 2012-03-15 Andreas Jaeger <aj@suse.de>
8650
8651 [BZ #13837]
8652 * math/libm-test.inc (cos_test): Add a test case for large input
8653 value.
8654 (sin_test): Likewise.
8655 (sincos_test): Likewise.
8656
8657 2012-03-15 Andreas Jaeger <aj@suse.de>,
8658 Joseph Myers <joseph@codesourcery.com>
8659
8660 [BZ #13658]
8661 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
8662 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
8663 * sysdeps/i386/fpu/branred.c: Likewise.
8664 * sysdeps/i386/fpu/dosincos.c: Likewise.
8665 * sysdeps/i386/fpu/mpa.c: Likewise.
8666 * sysdeps/i386/fpu/s_cos.S: Likewise.
8667 * sysdeps/i386/fpu/s_sin.S: Likewise.
8668 * sysdeps/i386/fpu/s_sincos.S: Likewise.
8669 * sysdeps/i386/fpu/sincos32.c: Likewise.
8670
8671 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
8672 Define.
8673 (libc_feupdateenv_53bit): Define.
8674 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
8675 Define.
8676 (libc_feupdateenv_53bit): Define.
8677
8678 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
8679 53 bit (without extend i386 double precision).
8680
8681 * math/libm-test.inc (sincos_test): Add tests for large input.
8682 (sin): Likewise.
8683 (cos): Likewise.
8684
8685 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8686
8687 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8688
8689 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8690
8691 2012-03-15 David S. Miller <davem@davemloft.net>
8692
8693 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
8694 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
8695 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
8696 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
8697 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
8698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
8699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
8700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
8701 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
8702 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
8703 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
8704 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
8705 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
8706 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
8707 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
8708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
8709 file.
8710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
8711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
8712 file.
8713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
8714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
8715 file.
8716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
8717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
8718 file.
8719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
8720 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
8721 fmin/fmax sysdep routines.
8722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8723
8724 2012-03-14 David S. Miller <davem@davemloft.net>
8725
8726 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
8727 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
8728 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
8729 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
8730 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
8731 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
8732 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
8733 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
8734 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
8735 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
8736 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
8737 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
8738 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
8739 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
8740 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
8741 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
8742 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
8743 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
8744 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
8745 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
8746 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
8747 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
8748 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
8749 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
8750 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
8751 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
8752 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
8753 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
8754 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
8755 routines.
8756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
8757 file.
8758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
8759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
8760 file.
8761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
8762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
8763 file.
8764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
8765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
8766 file.
8767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
8768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
8769 file.
8770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
8771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
8772 file.
8773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
8774 file.
8775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
8776 file.
8777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
8778 file.
8779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
8780 New file.
8781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
8782 file.
8783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
8784 file.
8785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
8786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
8787 file.
8788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
8789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
8790 file.
8791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
8792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
8793 file.
8794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
8795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
8796 VIS3 routines.
8797
8798 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8799 New file.
8800
8801 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8802
8803 * sysdeps/sparc/configure.in: New file.
8804 * sysdeps/sparc/configure: Generate.
8805 * configure.in (libc_cv_sparc_as_vis3): Substitute.
8806 * configure: Regenerate.
8807 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
8808 * config.make.in (have-as-vis3): New.
8809 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
8810 available use -Av9d instead of -Av9a.
8811 * sysdeps/sparc/sparc64/Makefile: Likewise.
8812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
8813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
8814 New file.
8815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
8816 file.
8817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
8818 New file.
8819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
8820 file.
8821 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
8822 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
8823 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
8824 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
8825 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
8826
8827 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
8828 fzeros/fnegs to load 0x80000000 into a float register instead of
8829 using the stack.
8830 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
8831
8832 2012-03-14 Joseph Myers <joseph@codesourcery.com>
8833
8834 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8835 bits/syscall.h.
8836 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
8837 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
8838 ($(inst_includedir)/bits/syscall.h): Remove rule.
8839 ($(objpfx)bits/syscall.d): Include instead of
8840 $(objpfx)syscall-list.d.
8841 (generated): Change syscall-list.h and syscall-list.d to
8842 bits/syscall.h and bits/syscall.d.
8843
8844 2012-03-14 Roland McGrath <roland@hack.frob.com>
8845
8846 [BZ #13846]
8847 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
8848
8849 2012-03-14 Joseph Myers <joseph@codesourcery.com>
8850
8851 [BZ #13841]
8852 * math/s_csqrt.c: Include <float.h>.
8853 (__csqrt): Scale large or subnormal inputs.
8854 * math/s_csqrtf.c: Likewise.
8855 * math/s_csqrtl.c: Likewise.
8856 * math/libm-test.inc (csqrt_test): Add more tests.
8857 * sysdeps/i386/fpu/libm-test-ulps: Update.
8858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8859
8860 [BZ #13840]
8861 * math/libm-test.inc (hypot_test): Add more tests.
8862
8863 2012-03-13 David S. Miller <davem@davemloft.net>
8864
8865 [BZ #13840]
8866 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
8867 double-precision for the calculation instead of scaling.
8868
8869 2012-03-13 Joseph Myers <joseph@codesourcery.com>
8870
8871 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
8872 manipulate bits before adding and subtracting TWO52[sx].
8873 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
8874 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8875 Likewise.
8876 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
8877
8878 2012-03-13 David S. Miller <davem@davemloft.net>
8879
8880 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
8881 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
8882 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
8883 rtld-global-offsets.h
8884 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8885
8886 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
8887 large parameters.
8888
8889 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
8890
8891 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
8892 'err' in the ifdef scope in which it is actually used.
8893
8894 * nss/nss_db/db-init.c: Include string.h
8895
8896 2012-03-12 David S. Miller <davem@davemloft.net>
8897
8898 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8899 masking out of the most significant byte of random value used.
8900 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8901 Fix coding style in previous change.
8902
8903 * sysdeps/unix/sysv/linux/kernel-features.h
8904 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
8905 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
8906 expression.
8907 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
8908 later.
8909
8910 2012-03-11 David S. Miller <davem@davemloft.net>
8911
8912 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8913 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
8914 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
8915 for 'resultvar' otherwise things get truncated on 64-bit.
8916
8917 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8918 Fix masking out of the most significant byte of random value used.
8919
8920 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8921
8922 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
8923
8924 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8925
8926 2012-03-09 David S. Miller <davem@davemloft.net>
8927
8928 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
8929 variables with appropriate CPP guards.
8930 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
8931 frame pointer, not the stack pointer. Correct layout comments. Fix test
8932 on resulting framesize and the management of the outregs buffer for pltexit.
8933 Preserve floating point return values across _dl_call_pltexit call.
8934 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
8935 framesize and the management of the outregs buffer for pltexit.
8936 Preserve floating point return values across _dl_call_pltexit
8937 call.
8938 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
8939 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
8940 (print_exit): Fix format string for return register value.
8941
8942 2012-03-10 Joseph Myers <joseph@codesourcery.com>
8943
8944 * sunrpc/Makefile (others): Add rpcgen.
8945 ($(objpfx)rpcgen): Remove special build rule and dependency on
8946 libc.
8947 * sunrpc/rpcgen.c: New file.
8948
8949 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
8950
8951 [BZ #13673]
8952 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
8953 * stdio-common/bug-vfprintf-nargs.c: Likewise.
8954 * sysdeps/i386/crti.S: Likewise.
8955 * sysdeps/i386/crtn.S: Likewise.
8956 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
8957 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
8958 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
8959 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
8960 * sysdeps/sh/crti.S: Likewise.
8961 * sysdeps/sh/crtn.S: Likewise.
8962 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8963
8964 [BZ #13673]
8965 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
8966 with URL.
8967 * locale/programs/locfile-kw.gperf: Likewise.
8968 * locale/programs/charmap-kw.h: Regenerated.
8969 * locale/programs/locfile-kw.h: Likewise.
8970
8971 [BZ #13673]
8972 * intl/plural.y: Replace FSF snail mail address with URL.
8973 * intl/plural.c: Regenerated.
8974
8975 2012-03-09 Richard Henderson <rth@twiddle.net>
8976
8977 * include/math_private.h: Remove file.
8978 * math/math_private.h: Move file ...
8979 * sysdeps/generic/math_private.h: ... here.
8980
8981 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
8982 * sysdeps/powerpc/fpu/math_private.h: Likewise.
8983 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8984
8985 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
8986 and <math_private.h>.
8987 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8988 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8989 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8990 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8991 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8992 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
8993 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8994 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8995 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8996 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8997 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8998 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8999 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9000 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9001 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9002 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9003 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9004 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9005 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9006 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9007 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9008 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9009 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9010 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9011 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9012 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9013 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9014 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9015 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9016 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9017 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9018 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9019 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9020 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9021 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9022 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9023 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9024 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9025 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9026 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9027 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
9028 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9029 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9030 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9031 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9032 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9033 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9034 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9035 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9036 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9037 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9038 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9039 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9040 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9041 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9042 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9043 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9044 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9045 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9046 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
9047 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9048 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9049 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9050 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9051 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9052 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9053 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9054 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9055 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
9056 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
9057 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9058 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9059 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9060 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9061 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
9062 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9063 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
9064 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9065 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
9066 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9067 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9068 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9069 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9070 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9071 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9072 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9073 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
9074 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9075 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9076 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9077 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9078 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9079 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9080 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9081 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9082 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9083 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9084 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9085 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9086 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9087 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9088 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9089 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9090 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9091 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9092 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9093 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9094 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9095 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9096 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9097 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9098 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9099 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9100 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9101 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9102 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9103 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9104 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9105 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9106 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9107 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9108 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9109 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9110 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
9111 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9112 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9113 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9114 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
9115 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9116 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9117 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9118 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9119 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9120 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9121 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9122 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9123 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9124 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9125 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
9126 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9127 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9128 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9129 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9130 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
9131 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
9132 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9133 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9134 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9135 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9136 * sysdeps/ieee754/k_standard.c: Likewise.
9137 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9138 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9139 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9140 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9141 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9142 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9143 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9144 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9145 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9146 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9147 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9148 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9149 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9150 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9151 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9152 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9153 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9154 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9155 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9156 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9157 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9158 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9159 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9160 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9161 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9162 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9163 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9164 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9165 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9166 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9167 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9168 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9169 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9170 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9171 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9172 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9173 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9174 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
9175 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9176 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9177 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9178 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9179 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9180 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9181 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9182 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9183 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9184 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9185 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9186 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9187 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9188 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9189 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9190 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9191 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9192 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9193 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
9194 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9195 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9196 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9197 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9198 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9199 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9200 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9201 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9202 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9203 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9204 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9205 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9206 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9207 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9208 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9209 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9210 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9211 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9212 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9213 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
9214 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9215 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9216 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9217 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9218 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9219 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9220 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9221 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9222 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9223 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9224 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9225 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9226 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9227 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
9228 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9229 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9230 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9231 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9232 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9233 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
9234 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9235 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9236 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
9237 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9238 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9239 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9240 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9241 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
9242 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9243 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9244 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9245 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
9246 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9247 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9248 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9249 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9250 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9251 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9252 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9253 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9254 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9255 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9256 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9257 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9258 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9259 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9260 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9261 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9262 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9263 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9264 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9265 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9266 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9267 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9268 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9269 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9270 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9271 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9272 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9273 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
9274 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9275 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9276 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9277 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9278 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9279 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9280 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9281 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9282 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9283 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9284 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9285 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9286 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
9287 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9288 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9289 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9290 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9291 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
9292 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
9293 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9294 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9295 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9296 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9297 * sysdeps/ieee754/s_lib_version.c: Likewise.
9298 * sysdeps/ieee754/s_matherr.c: Likewise.
9299 * sysdeps/ieee754/s_signgam.c: Likewise.
9300 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9301 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9302 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9303 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9304 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9305 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9306 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
9307 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
9308 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
9309 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9310 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9311 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9312 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9313 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9314 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
9315 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9316 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9317 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9318 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9319 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9320 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9321
9322 2012-03-09 Joseph Myers <joseph@codesourcery.com>
9323
9324 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
9325 * sunrpc/rpc_main.c: Likewise.
9326 * sunrpc/rpc_svcout.c: Likewise.
9327
9328 2012-03-09 David S. Miller <davem@davemloft.net>
9329
9330 * include/math_private.h: New file.
9331
9332 2012-03-09 Joseph Myers <joseph@codesourcery.com>
9333
9334 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
9335 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
9336 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
9337 from <bits/socket_type.h>.
9338 (enum __socket_type): Don't define here.
9339 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
9340 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9341 bits/socket_type.h.
9342
9343 [BZ #13566]
9344 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
9345 checking __USE_GNU.
9346
9347 * Makerules ($(inst_includedir)/%.h): New rule.
9348 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
9349 (install-others): Remove variable setting.
9350 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
9351
9352 2012-03-08 Richard Henderson <rth@twiddle.net>
9353
9354 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
9355 from macro to inline function; merge with the
9356 !__LIBC_INTERNAL_MATH_INLINES version.
9357 (__ieee754_sqrtf): Likewise.
9358
9359 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
9360 to inline function.
9361 (__rintf, __floor, __floorf): Likewise.
9362
9363 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
9364 macro to inline function.
9365 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
9366
9367 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
9368 not <math/math_private.h>.
9369
9370 2012-03-08 David S. Miller <davem@davemloft.net>
9371
9372 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
9373 copyright year.
9374 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9375
9376 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
9377
9378 * resolv/gai_misc.c (handle_requests): Fix struct timespec
9379 normalization.
9380 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
9381 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9382
9383 2012-03-08 Ulrich Drepper <drepper@gmail.com>
9384
9385 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
9386 be defined individually, they must be defined as a block. Define
9387 S for printing a string instead of hidint the different by using a
9388 macro for adding the 'l'.
9389 * stdio-common/tst-fphex-wide.c: Adjust.
9390
9391 2012-03-07 Marek Polacek <polacek@redhat.com>
9392
9393 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
9394
9395 2012-03-08 Marek Polacek <polacek@redhat.com>
9396
9397 [BZ #13806]
9398 * stdio-common/Makefile (tests): Add tst-fphex-wide.
9399 * stdio-common/tst-fphex.c: Define a few macros to make the
9400 test reusable. Use them.
9401 * stdio-common/tst-fphex-wide.c: New file.
9402
9403 2012-03-08 Joseph Myers <joseph@codesourcery.com>
9404
9405 [BZ #6911]
9406 * manual/macros.texi (gnusystems): New macro.
9407 (nongnusystems): Likewise.
9408 (gnulinuxhurdsystems): Likewise.
9409 (gnuhurdsystems): Likewise..
9410 (gnulinuxsystems): Likewise.
9411 * manual/charset.texi: Use new macros or @theglibc{} to refer to
9412 variants of the GNU system, not "GNU system".
9413 * manual/conf.texi: Likewise.
9414 * manual/errno.texi: Likewise. Update example of errno macro
9415 expansion.
9416 * manual/filesys.texi: Likewise.
9417 (getumask): Document as specific to GNU/Hurd.
9418 * manual/install.texi: Likewise. Reword some references to
9419 GNU/Linux.
9420 * manual/intro.texi: Likewise.
9421 * manual/io.texi: Likewise.
9422 (File Name Portability): Detail which constraints are inapplicable
9423 to all GNU systems and which are only inapplicable to GNU/Hurd.
9424 * manual/job.texi: Likewise.
9425 * manual/llio.texi: Likewise.
9426 (O_NOCTTY): Document as present on GNU/Linux.
9427 * manual/maint.texi: Likewise.
9428 * manual/memory.texi: Likewise.
9429 * manual/pattern.texi: Likewise.
9430 * manual/pipe.texi: Likewise.
9431 * manual/process.texi: Likewise.
9432 * manual/resource.texi: Likewise.
9433 (RUSAGE_CHILDREN): Remove statement about specifying a particular
9434 child on GNU/Hurd.
9435 * manual/setjmp.texi: Likewise.
9436 * manual/signal.texi: Likewise.
9437 * manual/startup.texi: Likewise.
9438 * manual/stdio.texi: Likewise.
9439 * manual/terminal.texi: Likewise.
9440 (ONLCR): Document as POSIX.
9441 (OXTABS): Document availability on GNU/Linux as XTABS.
9442 (ONOEOT): Document availability separately from other bits.
9443 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
9444 * manual/time.texi: Likewise.
9445 * manual/users.texi: Likewise.
9446 * INSTALL: Regenerated.
9447 * sysdeps/gnu/errlist.c: Regenerated.
9448
9449 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
9450 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
9451 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
9452 puts.
9453 * configure: Regenerated.
9454
9455 2012-03-07 Joseph Myers <joseph@codesourcery.com>
9456
9457 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
9458 default includes instead of AC_HEADER_CHECK.
9459 * sysdeps/i386/configure: Regenerated.
9460
9461 [BZ #10716]
9462 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
9463 * math/s_cacoshf.c (__cacoshf): Likewise.
9464 * math/s_cacoshl.c (__cacoshl): Likewise.
9465 * math/s_casinh.c (__casinh): Set signs of result from argument.
9466 * math/s_casinhf.c (__casinhf): Likewise.
9467 * math/s_casinhl.c (__casinhl): Likewise.
9468 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9469 (casinh_test): Add more tests.
9470 * sysdeps/i386/fpu/libm-test-ulps: Update.
9471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9472
9473 2012-03-07 Ulrich Drepper <drepper@gmail.com>
9474
9475 * po/zh_TW.po: Update from translation team.
9476
9477 * login/Makefile (distribute): Remove variable.
9478 * catgets/Makefile: Likewise.
9479 * mach/Makefile: Likewise.
9480 * malloc/Makefile: Likewise.
9481 * misc/Makefile: Likewise.
9482 * iconv/Makefile: Likewise.
9483 * nscd/Makefile: Likewise.
9484 * hurd/Makefile: Likewise.
9485 * manual/Makefile: Likewise.
9486 * locale/Makefile: Likewise.
9487 * intl/Makefile: Likewise.
9488 * conform/Makefile: Likewise.
9489 * nss/Makefile: Likewise.
9490 * time/Makefile: Likewise.
9491 * soft-fp/Makefile: Likewise.
9492 * dirent/Makefile: Likewise.
9493 * gmon/Makefile: Likewise.
9494 * po/Makefile: Likewise.
9495 * rt/Makefile: Likewise.
9496 * socket/Makefile: Likewise.
9497 * math/Makefile: Likewise.
9498 * signal/Makefile: Likewise.
9499 * debug/Makefile: Likewise.
9500 * elf/Makefile: Likewise.
9501 * timezone/Makefile: Likewise.
9502 * stdlib/Makefile: Likewise.
9503 * iconvdata/Makefile: Likewise.
9504 * sunrpc/Makefile: Likewise.
9505 * io/Makefile: Likewise.
9506 * argp/Makefile: Likewise.
9507 * inet/Makefile: Likewise.
9508 * hesiod/Makefile: Likewise.
9509 * grp/Makefile: Likewise.
9510 * csu/Makefile: Likewise.
9511 * wctype/Makefile: Likewise.
9512 * crypt/Makefile: Likewise.
9513 * libio/Makefile: Likewise.
9514 * string/Makefile: Likewise.
9515 * nis/Makefile: Likewise.
9516 * resolv/Makefile: Likewise.
9517 * stdio-common/Makefile: Likewise.
9518 * wcsmbs/Makefile: Likewise.
9519 * dlfcn/Makefile: Likewise.
9520 * posix/Makefile: Likewise.
9521
9522 [BZ #6959]
9523 * timezone/Makefile: Don't install timezone files, just the programs
9524 and scripts.
9525
9526 2012-03-06 Ulrich Drepper <drepper@gmail.com>
9527
9528 * nss/databases.def: Add missing gshadow entry.
9529
9530 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
9531
9532 2012-03-06 Marek Polacek <polacek@redhat.com>
9533
9534 [BZ #13726]
9535 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9536 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9537 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9538 * stdio-common/tst-long-dbl-fphex.c: New file.
9539
9540 2012-03-06 David S. Miller <davem@davemloft.net>
9541
9542 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9543 (set_obp_int): New function.
9544 (get_obp_int): New function.
9545 (__get_clockfreq_via_dev_openprom): Likewise.
9546 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9547 Avoid unused variable warnings on 'val' and use builtin_expect.
9548 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9549 __builtin_expect.
9550 (INLINE_CLONE_SYSCALL): Likewise.
9551
9552 2012-03-05 David S. Miller <davem@davemloft.net>
9553
9554 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9555
9556 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
9557
9558 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9559
9560 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
9561 only for |x| >= 40.
9562 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9563
9564 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
9565
9566 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
9567 Replace gettimeofday with __vdso_gettimeofday.
9568
9569 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9570 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
9571 __vdso_clock_gettime and __vdso_getcpu.
9572
9573 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
9574 time with __vdso_time.
9575
9576 2012-03-05 Joseph Myers <joseph@codesourcery.com>
9577
9578 * manual/lang.texi (size_t): Note types to which size_t may be
9579 equivalent with the GNU C Library, but do not describe when
9580 differences between them are significant.
9581
9582 2012-03-05 Andreas Jaeger <aj@suse.de>
9583
9584 * sysdeps/i386/fpu/libm-test-ulps: Update.
9585
9586 2012-03-05 Joseph Myers <joseph@codesourcery.com>
9587
9588 [BZ #3976]
9589 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
9590 (__ieee754_pow): Save and restore rounding mode and use
9591 round-to-nearest for main computations.
9592 * math/libm-test.inc (pow_test_tonearest): New function.
9593 (pow_test_towardzero): Likewise.
9594 (pow_test_downward): Likewise.
9595 (pow_test_upward): Likewise.
9596 (main): Call the new functions.
9597 * sysdeps/i386/fpu/libm-test-ulps: Update.
9598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9599
9600 [BZ #3976]
9601 * math/libm-test.inc (cosh_test_tonearest): New function.
9602 (cosh_test_towardzero): Likewise.
9603 (cosh_test_downward): Likewise.
9604 (cosh_test_upward): Likewise.
9605 (sinh_test_tonearest): Likewise.
9606 (sinh_test_towardzero): Likewise.
9607 (sinh_test_downward): Likewise.
9608 (sinh_test_upward): Likewise.
9609 (main): Call the new functions.
9610 * sysdeps/i386/fpu/libm-test-ulps: Update.
9611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9612
9613 2012-03-05 Tom de Vries <tom@codesourcery.com>
9614
9615 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
9616 default stack guard is set in last bytes.
9617 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
9618
9619 2012-03-05 Kees Cook <keescook@chromium.org>
9620
9621 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
9622
9623 [BZ #13656]
9624 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
9625 possibly allocate from heap instead of stack.
9626 * stdio-common/bug-vfprintf-nargs.c: New file.
9627 * stdio-common/Makefile (tests): Add nargs overflow test.
9628
9629 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
9630
9631 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9632
9633 2012-03-03 Marek Polacek <polacek@redhat.com>
9634
9635 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
9636 * math/math_private.h: Likewise.
9637 * stdlib/tst-strtod.c: Likewise.
9638 * sysdeps/i386/i486/bits/atomic.h: Likewise.
9639 * sysdeps/x86_64/bits/atomic.h: Likewise.
9640
9641 2012-03-02 David S. Miller <davem@davemloft.net>
9642
9643 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
9644 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
9645 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
9646 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
9647 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
9648 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
9649 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
9650 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
9651
9652 2012-03-02 Roland McGrath <roland@hack.frob.com>
9653
9654 [BZ #13792]
9655 * manual/examples/README: New file, says the example source files
9656 can be used under GPL>=2.
9657 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
9658 line containing just "*/".
9659 * manual/examples/add.c: Add copyright header (GPL>=2).
9660 * manual/examples/argp-ex1.c: Likewise.
9661 * manual/examples/argp-ex2.c: Likewise.
9662 * manual/examples/argp-ex3.c: Likewise.
9663 * manual/examples/argp-ex4.c: Likewise.
9664 * manual/examples/atexit.c: Likewise.
9665 * manual/examples/db.c: Likewise.
9666 * manual/examples/dir.c: Likewise.
9667 * manual/examples/dir2.c: Likewise.
9668 * manual/examples/execinfo.c: Likewise.
9669 * manual/examples/filecli.c: Likewise.
9670 * manual/examples/filesrv.c: Likewise.
9671 * manual/examples/fmtmsgexpl.c: Likewise.
9672 * manual/examples/genpass.c: Likewise.
9673 * manual/examples/inetcli.c: Likewise.
9674 * manual/examples/inetsrv.c: Likewise.
9675 * manual/examples/isockad.c: Likewise.
9676 * manual/examples/longopt.c: Likewise.
9677 * manual/examples/memopen.c: Likewise.
9678 * manual/examples/memstrm.c: Likewise.
9679 * manual/examples/mkfsock.c: Likewise.
9680 * manual/examples/mkisock.c: Likewise.
9681 * manual/examples/mygetpass.c: Likewise.
9682 * manual/examples/pipe.c: Likewise.
9683 * manual/examples/popen.c: Likewise.
9684 * manual/examples/rprintf.c: Likewise.
9685 * manual/examples/search.c: Likewise.
9686 * manual/examples/select.c: Likewise.
9687 * manual/examples/setjmp.c: Likewise.
9688 * manual/examples/sigh1.c: Likewise.
9689 * manual/examples/sigusr.c: Likewise.
9690 * manual/examples/stpcpy.c: Likewise.
9691 * manual/examples/strdupa.c: Likewise.
9692 * manual/examples/strftim.c: Likewise.
9693 * manual/examples/strncat.c: Likewise.
9694 * manual/examples/subopt.c: Likewise.
9695 * manual/examples/swapcontext.c: Likewise.
9696 * manual/examples/termios.c: Likewise.
9697 * manual/examples/testopt.c: Likewise.
9698 * manual/examples/testpass.c: Likewise.
9699 * manual/examples/timeval_subtract.c: Likewise.
9700
9701 [BZ #13792]
9702 * manual/time.texi (Elapsed Time): Move timeval_subtract example
9703 function to ...
9704 * manual/timeval_subtract.c.texi: ... here, new file.
9705
9706 2012-03-02 David S. Miller <davem@davemloft.net>
9707
9708 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
9709
9710 2012-03-02 Joseph Myers <joseph@codesourcery.com>
9711
9712 [BZ #3976]
9713 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
9714 (__sin): Save and restore rounding mode and use round-to-nearest
9715 for all computations.
9716 (__cos): Save and restore rounding mode and use round-to-nearest
9717 for all computations.
9718 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
9719 <fenv.h>.
9720 (tan): Save and restore rounding mode and use round-to-nearest for
9721 all computations.
9722 * math/libm-test.inc (cos_test_tonearest): New function.
9723 (cos_test_towardzero): Likewise.
9724 (cos_test_downward): Likewise.
9725 (cos_test_upward): Likewise.
9726 (sin_test_tonearest): Likewise.
9727 (sin_test_towardzero): Likewise.
9728 (sin_test_downward): Likewise.
9729 (sin_test_upward): Likewise.
9730 (tan_test_tonearest): Likewise.
9731 (tan_test_towardzero): Likewise.
9732 (tan_test_downward): Likewise.
9733 (tan_test_upward): Likewise.
9734 (main): Call the new functions.
9735 * sysdeps/i386/fpu/libm-test-ulps: Update.
9736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9737
9738 [BZ #10135]
9739 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
9740 small n, then large n, before computing and testing k+n.
9741 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9742 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9743 Likewise.
9744 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9745 Likewise.
9746 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
9747 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9748 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9749 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9750 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9751 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9752 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9753 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
9754 * math/libm-test.inc (scalbn_test): Add more tests.
9755 (scalbln_test): Likewise.
9756
9757 * manual/filesys.texi (mode_t): Describe constraints on size and
9758 signedness, not exact equivalence to a particular type.
9759 (ino_t): Likewise.
9760 (ino64_t): Likewise.
9761 (dev_t): Likewise.
9762 (nlink_t): Likewise.
9763 (blkcnt_t): Likewise.
9764 (blkcnt64_t): Likewise.
9765 * manual/llio.texi (off_t): Likewise.
9766
9767 [BZ #3976]
9768 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
9769 (__ieee754_exp): Save and restore rounding mode and use
9770 round-to-nearest for all computations.
9771 * math/libm-test.inc (exp_test_tonearest): New function.
9772 (exp_test_towardzero): Likewise.
9773 (exp_test_downward): Likewise.
9774 (exp_test_upward): Likewise.
9775 (main): Call the new functions.
9776 * sysdeps/i386/fpu/libm-test-ulps: Update.
9777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9778
9779 2012-03-01 Chris Demetriou <cgd@google.com>
9780
9781 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
9782 have predictable order.
9783
9784 2012-03-01 David S. Miller <davem@davemloft.net>
9785
9786 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
9787
9788 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
9789 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
9790 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
9791 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
9792
9793 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
9794 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
9795 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
9796 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
9797 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
9798 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
9799 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
9800 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
9801 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
9802
9803 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9804
9805 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
9806 * sysdeps/sparc/fpu/libm-test-ulps: to here.
9807 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
9808
9809 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
9810 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9811 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9812 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9813 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9814 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9815 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9816 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9817 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9818 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9819 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9820 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9821 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9822 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9823 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9824 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9825 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
9826 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
9827 * sysdeps/sparc/elf/configure: Regenerated.
9828
9829 2012-03-01 Joseph Myers <joseph@codesourcery.com>
9830
9831 * configure.in (AS, LD): Require binutils 2.20 or later.
9832 * configure: Regenerated.
9833 * manual/install.texi (Tools for Compilation): Give binutils 2.20
9834 as required minimum version.
9835 * INSTALL: Regenerated.
9836
9837 [BZ #2541]
9838 [BZ #4108]
9839 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
9840 before squaring exponent.
9841 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
9842 bottom long double and 27 bits of top long double before squaring
9843 exponent.
9844 * math/libm-test.inc (erfc_test): Add more tests.
9845 * sysdeps/i386/fpu/libm-test-ulps: Update.
9846 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9848
9849 2012-03-01 Kai Tietz <ktietz@redhat.com>
9850
9851 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
9852 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
9853 containing bit-fields.
9854 * soft-fp/extended.h (_FP_UNION_E): Likewise.
9855 * soft-fp/single.h (_FP_UNION_S): Likewise.
9856 * soft-fp/double.h (_FP_UNION_D): Likewise.
9857
9858 2012-02-29 Joseph Myers <joseph@codesourcery.com>
9859
9860 [BZ #13786]
9861 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
9862 not include ../strcmp.S.
9863 [USE_AS_STRNCASECMP_L]: Likewise.
9864 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
9865 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
9866 * sysdeps/i386/i686/multiarch/strncase_l-c.c
9867 (__strncasecmp_l_ia32): Define as alias to
9868 __strncasecmp_l_nonascii.
9869
9870 [BZ #5794]
9871 * math/libm-test.inc (expm1_test): Add test for bug 5794.
9872 * sysdeps/i386/fpu/libm-test-ulps: Update.
9873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9874
9875 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
9876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9877
9878 2012-02-29 Jeff Law <law@redhat.com>
9879
9880 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
9881 out of bounds read.
9882
9883 2012-02-29 Marek Polacek <polacek@redhat.com>
9884
9885 [BZ #13706]
9886 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
9887 * elf/Makefile: Add rules to run tst-unused-dep.out.
9888
9889 2012-02-28 David S. Miller <davem@davemloft.net>
9890
9891 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
9892 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
9893 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
9894 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
9895 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
9896 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
9897
9898 2012-02-29 Joseph Myers <joseph@codesourcery.com>
9899
9900 * math/libm-test.inc (llround_test): Move one test from
9901 lround_test. Use TEST_f_L in moved test.
9902 (lround_test): Move misplaced test to llround_test. Add testcase
9903 from bug 2561.
9904
9905 2012-02-28 Ulrich Drepper <drepper@gmail.com>
9906
9907 * sysdeps/x86_64/fpu/e_expf.S: New file.
9908 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
9909
9910 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
9911
9912 [BZ #13637]
9913 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
9914 of remain_len that may cause incomplete multi-byte character and
9915 false match.
9916 * posix/bug-regex33.c: New file.
9917 * posix/Makefile (tests): Add bug-regex33.
9918
9919 2012-02-28 Joseph Myers <joseph@codesourcery.com>
9920
9921 * manual/macros.texi: New file.
9922 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
9923 * manual/libc.texinfo: Include macros.texi.
9924 * manual/creatute.texi: Likewise.
9925 * manual/install.texi: Likewise.
9926 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
9927 @glibcadj{} in references to the GNU C Library.
9928 * manual/charset.texi: Likewise.
9929 * manual/conf.texi: Likewise.
9930 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
9931 when not using those macros.
9932 * manual/creature.texi: Likewise.
9933 * manual/crypt.texi: Likewise.
9934 * manual/errno.texi: Likewise.
9935 * manual/filesys.texi: Likewise.
9936 * manual/header.texi: Likewise.
9937 * manual/install.texi: Likewise.
9938 * manual/intro.texi: Likewise.
9939 * manual/io.texi: Likewise.
9940 * manual/job.texi: Likewise.
9941 * manual/lang.texi: Likewise.
9942 * manual/libc.texiinfo: Likewise.
9943 * manual/llio.texi: Likewise.
9944 * manual/locale.texi: Likewise.
9945 * manual/maint.texi: Likewise.
9946 * manual/math.texi: Likewise.
9947 * manual/memory.texi: Likewise.
9948 * manual/message.texi: Likewise.
9949 * manual/nss.texi: Likewise.
9950 * manual/pattern.texi: Likewise.
9951 * manual/process.texi: Likewise.
9952 * manual/resource.texi: Likewise.
9953 * manual/search.texi: Likewise.
9954 * manual/setjmp.texi: Likewise.
9955 * manual/signal.texi: Likewise.
9956 * manual/socket.texi: Likewise.
9957 * manual/startup.texi: Likewise.
9958 * manual/stdio.texi: Likewise.
9959 * manual/string.texi: Likewise.
9960 * manual/sysinfo.texi: Likewise.
9961 * manual/syslog.texi: Likewise.
9962 * manual/terminal.texi: Likewise.
9963 * manual/time.texi: Likewise.
9964 * manual/users.texi: Likewise.
9965 * INSTALL: Regenerated.
9966 * NOTES: Regenerated.
9967 * sysdeps/gnu/errlist.c: Regenerated.
9968
9969 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
9970
9971 * include/dirent.h: Include <dirstream.h> before
9972 <dirent/dirent.h>.
9973
9974 2012-02-28 David S. Miller <davem@davemloft.net>
9975
9976 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
9977 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
9978 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
9979 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
9980
9981 2012-02-27 David S. Miller <davem@davemloft.net>
9982
9983 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
9984 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
9985 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
9986 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
9987
9988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
9989 frame pointer instead of stack pointer relative arg slot.
9990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9991 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9992 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9993
9994 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
9995
9996 [BZ #3992]
9997 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
9998
9999 2012-02-27 David S. Miller <davem@davemloft.net>
10000
10001 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
10002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
10005 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10006 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10007 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
10008 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
10009
10010 2012-02-27 Joseph Myers <joseph@codesourcery.com>
10011
10012 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
10013 later. Allow versions 5-9.
10014 * configure: Regenerated.
10015 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
10016 required minimum version and 4.6 as recommended version. Do not
10017 mention bugs in GCC 2.7 and 2.8.
10018 * INSTALL: Regenerated.
10019
10020 2012-02-27 David S. Miller <davem@davemloft.net>
10021
10022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
10023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
10024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
10025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
10026 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
10027 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
10028 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
10029 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
10030
10031 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
10032 manipulate bits before adding and subtracting TWO112[sx].
10033 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10034
10035 2012-02-27 Roland McGrath <roland@hack.frob.com>
10036
10037 [BZ #13775]
10038 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
10039 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
10040 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
10041 being in POSIX, because they are in 1003.1-2008.
10042
10043 * rt/tst-aio.c: Include <fcntl.h>.
10044 * rt/tst-aio7.c: Likewise.
10045 * rt/tst-aio64.c: Likewise.
10046
10047 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
10048
10049 2012-02-27 Joseph Myers <joseph@codesourcery.com>
10050
10051 * manual/install.texi (--with-headers): Describe headers as
10052 interface headers, not private headers.
10053 (Specific advice for GNU/Linux systems): Describe use of headers
10054 from "make headers_install", not private headers from older
10055 kernels.
10056 * INSTALL: Regenerated.
10057 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
10058 Change to 2.6.19.
10059 * sysdeps/unix/sysv/linux/configure: Regenerated.
10060
10061 * manual/llio.texi (fclean): Remove documentation.
10062
10063 * manual/Makefile (libc-texi-generated): New variable. Include
10064 version.texi.
10065 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
10066 $(libc-texi-generated), not duplicated list of files.
10067 (version.texi, stamp-version): New rules.
10068 (realclean): Remove $(libc-texi-generated), not individual files
10069 from that list. Do not remove dir-add.texinfo.
10070 * manual/libc.texinfo: Comment out uses of edition numbers and
10071 references to printed manual. Remove last-updated dates.
10072 (EDITION): Comment out.
10073 (ISBN): Likewise.
10074 (VERSION, UPDATED): Remove.
10075 (version.texi): Include.
10076
10077 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
10078
10079 * sysdeps/posix/spawni.c: Include <signal.h>.
10080 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
10081 * sysdeps/pthread/aio_fsync.c: Likewise.
10082
10083 2012-02-26 Ulrich Drepper <drepper@gmail.com>
10084
10085 * conform/Makefile (tests): Run only when not cross-compiling and
10086 when fast-check is not defined.
10087
10088 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
10089 * conform/data/limits.h-data: Fixes for POSIX2008.
10090 * conform/run-conformtest.sh: Run all tests.
10091 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
10092 headers.
10093 * include/bits/dlfcn.h: Likewise.
10094 * include/langinfo.h: Likewise.
10095 * include/monetary.h: Likewise.
10096 * include/sys/poll.h: Likewise.
10097
10098 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
10099 for __USE_GNU.
10100 * posix/spawn.h: Define __need_sigset_t.
10101 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
10102 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
10103 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
10104 to get sigevent_t only.
10105 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
10106 only for __USE_GNU.
10107 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10108 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10109 process_vm_writev only for __USE_GNU.
10110 * termios/termios.h: Declare tcgetsid also for POSIX2008.
10111
10112 * conform/Makefile: For now ignore errors from run-conformtest.
10113 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
10114 POSIX to avoid namespace pollution. Don't prepend headers.
10115 * conform/data/aio.h-data: Fixes for POSIX testing.
10116 * conform/data/fcntl.h-data: Likewise.
10117 * conform/data/glob.h-data: Likewise.
10118 * conform/data/grp.h-data: Likewise.
10119 * conform/data/pthread.h-data: Likewise.
10120 * conform/data/pwd.h-data: Likewise.
10121 * conform/data/signal.h-data: Likewise.
10122 * conform/data/spawn.h-data: Likewise.
10123 * conform/data/stdio.h-data: Likewise.
10124 * conform/data/stdlib.h-data: Likewise.
10125 * conform/data/stropts.h-data: Likewise.
10126 * conform/data/sys/mman.h-data: Likewise.
10127 * conform/data/sys/stat.h-data: Likewise.
10128 * conform/data/sys/types.h-data: Likewise.
10129 * conform/data/sys/wait.h-data: Likewise.
10130 * conform/data/time.h-data: Likewise.
10131 * conform/data/unistd.h-data: Likewise.
10132 * conform/data/utime.h-data: Likewise.
10133
10134 * io/sys/stat.h: fchmod was always in POSIX.
10135 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
10136 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
10137 * rt/aio.h: Define __need_timespec before including <time.h>.
10138 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
10139 struct. Add forward declaration of pthread_attr_t and use it in
10140 sigevent.
10141 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10142 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10143 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
10144 always remove CLK_TCK definition.
10145
10146 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
10147
10148 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
10149
10150 2012-02-25 Ulrich Drepper <drepper@gmail.com>
10151
10152 * conform/run-conformtest.sh: New file.
10153 * conform/Makefile: Run run-conformtest for tests.
10154 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
10155 support.
10156
10157 * conform/data/uchar.h-data: New file.
10158 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
10159 * conform/data/arpa/inet.h-data: Likewise.
10160 * conform/data/assert.h-data: Likewise.
10161 * conform/data/complex.h-data: Likewise.
10162 * conform/data/cpio.h-data: Likewise.
10163 * conform/data/ctype.h-data: Likewise.
10164 * conform/data/dirent.h-data: Likewise.
10165 * conform/data/dlfcn.h-data: Likewise.
10166 * conform/data/errno.h-data: Likewise.
10167 * conform/data/fcntl.h-data: Likewise.
10168 * conform/data/float.h-data: Likewise.
10169 * conform/data/fmtmsg.h-data: Likewise.
10170 * conform/data/fnmatch.h-data: Likewise.
10171 * conform/data/ftw.h-data: Likewise.
10172 * conform/data/glob.h-data: Likewise.
10173 * conform/data/grp.h-data: Likewise.
10174 * conform/data/iconv.h-data: Likewise.
10175 * conform/data/inttypes.h-data: Likewise.
10176 * conform/data/langinfo.h-data: Likewise.
10177 * conform/data/libgen.h-data: Likewise.
10178 * conform/data/limits.h-data: Likewise.
10179 * conform/data/locale.h-data: Likewise.
10180 * conform/data/math.h-data: Likewise.
10181 * conform/data/monetary.h-data: Likewise.
10182 * conform/data/mqueue.h-data: Likewise.
10183 * conform/data/ndbm.h-data: Likewise.
10184 * conform/data/net/if.h-data: Likewise.
10185 * conform/data/netdb.h-data: Likewise.
10186 * conform/data/netinet/in.h-data: Likewise.
10187 * conform/data/nl_types.h-data: Likewise.
10188 * conform/data/poll.h-data: Likewise.
10189 * conform/data/pthread.h-data: Likewise.
10190 * conform/data/pwd.h-data: Likewise.
10191 * conform/data/regex.h-data: Likewise.
10192 * conform/data/sched.h-data: Likewise.
10193 * conform/data/search.h-data: Likewise.
10194 * conform/data/semaphore.h-data: Likewise.
10195 * conform/data/setjmp.h-data: Likewise.
10196 * conform/data/signal.h-data: Likewise.
10197 * conform/data/spawn.h-data: Likewise.
10198 * conform/data/stdarg.h-data: Likewise.
10199 * conform/data/stdio.h-data: Likewise.
10200 * conform/data/stdlib.h-data: Likewise.
10201 * conform/data/string.h-data: Likewise.
10202 * conform/data/strings.h-data: Likewise.
10203 * conform/data/stropts.h-data: Likewise.
10204 * conform/data/sys/ipc.h-data: Likewise.
10205 * conform/data/sys/mman.h-data: Likewise.
10206 * conform/data/sys/msg.h-data: Likewise.
10207 * conform/data/sys/resource.h-data: Likewise.
10208 * conform/data/sys/select.h-data: Likewise.
10209 * conform/data/sys/sem.h-data: Likewise.
10210 * conform/data/sys/shm.h-data: Likewise.
10211 * conform/data/sys/socket.h-data: Likewise.
10212 * conform/data/sys/stat.h-data: Likewise.
10213 * conform/data/sys/statvfs.h-data: Likewise.
10214 * conform/data/sys/time.h-data: Likewise.
10215 * conform/data/sys/timeb.h-data: Likewise.
10216 * conform/data/sys/times.h-data: Likewise.
10217 * conform/data/sys/types.h-data: Likewise.
10218 * conform/data/sys/uio.h-data: Likewise.
10219 * conform/data/sys/un.h-data: Likewise.
10220 * conform/data/sys/utsname.h-data: Likewise.
10221 * conform/data/sys/wait.h-data: Likewise.
10222 * conform/data/syslog.h-data: Likewise.
10223 * conform/data/tar.h-data: Likewise.
10224 * conform/data/termios.h-data: Likewise.
10225 * conform/data/utime.h-data: Likewise.
10226 * conform/data/utmpx.h-data: Likewise.
10227 * conform/data/varargs.h-data: Likewise.
10228 * conform/data/wchar.h-data: Likewise.
10229 * conform/data/wctype.h-data: Likewise.
10230 * conform/data/wordexp.h-data: Likewise.
10231
10232 * include/stropts.h: New file.
10233 * include/uchar.h: New file.
10234 * include/aio.h: Changes to allow conformtest.pl to use the headers.
10235 * include/assert.h: Likewise.
10236 * include/ctype.h: Likewise.
10237 * include/dirent.h: Likewise.
10238 * include/dlfcn.h: Likewise.
10239 * include/fcntl.h: Likewise.
10240 * include/fnmatch.h: Likewise.
10241 * include/glob.h: Likewise.
10242 * include/grp.h: Likewise.
10243 * include/libio.h: Likewise.
10244 * include/locale.h: Likewise.
10245 * include/math.h: Likewise.
10246 * include/net/if.h: Likewise.
10247 * include/netdb.h: Likewise.
10248 * include/netinet/in.h: Likewise.
10249 * include/pthread.h: Likewise.
10250 * include/pwd.h: Likewise.
10251 * include/regex.h: Likewise.
10252 * include/sched.h: Likewise.
10253 * include/search.h: Likewise.
10254 * include/setjmp.h: Likewise.
10255 * include/signal.h: Likewise.
10256 * include/stdio.h: Likewise.
10257 * include/stdlib.h: Likewise.
10258 * include/string.h: Likewise.
10259 * include/sys/cdefs.h: Likewise.
10260 * include/sys/mman.h: Likewise.
10261 * include/sys/msg.h: Likewise.
10262 * include/sys/resource.h: Likewise.
10263 * include/sys/select.h: Likewise.
10264 * include/sys/socket.h: Likewise.
10265 * include/sys/stat.h: Likewise.
10266 * include/sys/statvfs.h: Likewise.
10267 * include/sys/time.h: Likewise.
10268 * include/sys/times.h: Likewise.
10269 * include/sys/uio.h: Likewise.
10270 * include/sys/utsname.h: Likewise.
10271 * include/sys/wait.h: Likewise.
10272 * include/termios.h: Likewise.
10273 * include/time.h: Likewise.
10274 * include/ulimit.h: Likewise.
10275 * include/unistd.h: Likewise.
10276 * include/utime.h: Likewise.
10277 * include/wchar.h: Likewise.
10278 * include/wctype.h: Likewise.
10279 * include/wordexp.h: Likewise.
10280
10281 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
10282
10283 * time/time.h: TIME_UTC must be a macro.
10284 Make timespec_get available for ISO C11 only as well.
10285
10286 2012-02-24 Ulrich Drepper <drepper@gmail.com>
10287
10288 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
10289 Reported by Peng Haitao <penght@cn.fujitsu.com>.
10290
10291 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10292
10293 * configure.in: Use -o not -a in test for unsupported multi-arch.
10294
10295 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10296
10297 * manual/texinfo.tex: Update to version 2012-01-19.16.
10298
10299 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10300
10301 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
10302
10303 2012-02-24 Roland McGrath <roland@hack.frob.com>
10304
10305 [BZ #13738]
10306 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
10307 * manual/fdl-1.3.texi: New file.
10308 * manual/fdl-1.1.texi: File removed.
10309
10310 [BZ #13738]
10311 * manual/libc.texinfo (FDL_VERSION): New @set.
10312 Use it for mention of FDL in cover text.
10313 (Documentation License): Use it in @include file name.
10314
10315 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10316 Roland McGrath <roland@hack.frob.com>
10317
10318 [BZ #5461]
10319 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
10320 not LONG_LONG_MAX and LONG_LONG_MIN.
10321 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
10322 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
10323 name.
10324 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
10325
10326 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10327
10328 [BZ #2547]
10329 [BZ #11365]
10330 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
10331 manipulate bits before adding and subtracting TWO23[sx].
10332 * math/libm-test.inc (nearbyint_test): Add more tests.
10333
10334 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10335
10336 [BZ #2548]
10337 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
10338 bits before adding and subtracting TWO23[sx].
10339 * math/libm-test.inc (rint_test): Add more tests.
10340 (rint_test_tonearest): Likewise.
10341 (rint_test_towardzero): Likewise.
10342 (rint_test_downward): Likewise.
10343 (rint_test_upward: Likewise.
10344
10345 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10346
10347 [BZ #10110]
10348 * include/stdc-predef.h: New file. Extracted from features.h.
10349 * include/features.h: Include stdc-predef.h.
10350 * Makefile (headers): Add stdc-predef.h.
10351 * CONFORMANCE (Compiler limitations): Update.
10352
10353 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10354
10355 * manual/libc.texinfo (VERSION, UPDATED): Revert.
10356
10357 2012-02-21 David S. Miller <davem@davemloft.net>
10358
10359 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
10360 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10361
10362 2012-02-20 David S. Miller <davem@davemloft.net>
10363
10364 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
10365 using a normal save/restore sequence, rather than allocating a
10366 dummy stack frame just to store a frame pointer and restore.
10367 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10368
10369 2012-02-21 Joseph Myers <joseph@codesourcery.com>
10370
10371 * manual/install.texi: Fix stray word in line-wrapped comment.
10372
10373 2012-02-20 David S. Miller <davem@davemloft.net>
10374
10375 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
10376 both binutils and gcc support GOTDATA.
10377
10378 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
10379 "rd %pc" in the PIC register setup sequences.
10380
10381 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
10382 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10383 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10384 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10385 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10386 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10387 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10388 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10389 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
10390 (SYSCALL_ERROR_HANDLER): Likewise.
10391 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10392 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10393 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
10394 (SYSCALL_ERROR_HANDLER): Likewise.
10395
10396 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
10397 (HAVE_GCC_GOTDATA): New.
10398 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
10399 relocation support in both binutils and gcc.
10400 * sysdeps/sparc/elf/configure: Regenerate.
10401
10402 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
10403 * sysdeps/sparc/sparc32/elf/configure: Delete.
10404 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
10405 * sysdeps/sparc/sparc64/elf/configure: Delete.
10406 * sysdeps/sparc/elf/configure.in: New file.
10407 * sysdeps/sparc/elf/configure: Generate.
10408
10409 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
10410 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
10411 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10412 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
10413 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
10414
10415 2012-02-21 Joseph Myers <joseph@codesourcery.com>
10416
10417 * manual/install.texi: Do not mention specific glibc version
10418 numbers.
10419 * manual/libc.texinfo (VERSION, UPDATED): Update.
10420 (@copying): Use @copyright{} and range of years.
10421
10422 2012-02-21 Joseph Myers <joseph@codesourcery.com>
10423
10424 [BZ #13695]
10425 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
10426 [crti.S not in sysdirs] (generated): Do not append.
10427 [crti.S not in sysdirs] (omit-deps): Likewise.
10428 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
10429 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
10430 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
10431 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
10432 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
10433 Likewise.
10434 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
10435 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
10436 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
10437 * csu/defs.awk: Remove file.
10438 * sysdeps/generic/initfini.c: Likewise.
10439 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
10440 variable.
10441 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
10442 Likewise.
10443
10444 2012-02-20 Joseph Myers <joseph@codesourcery.com>
10445
10446 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
10447 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
10448 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
10449 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
10450 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10451 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
10452 <bits/epoll.h>.
10453 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
10454 (__EPOLL_PACKED): Define to empty if not defined by
10455 <bits/epoll.h>.
10456 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
10457 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10458 bits/epoll.h.
10459
10460 2012-02-20 Joseph Myers <joseph@codesourcery.com>
10461
10462 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
10463 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
10464 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10465 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10466 <bits/timerfd.h>.
10467 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10468 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10469 bits/timerfd.h.
10470
10471 2012-02-20 Joseph Myers <joseph@codesourcery.com>
10472
10473 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10474 in C locale.
10475 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10476 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10477 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10479
10480 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
10481
10482 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10483 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10484
10485 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
10486
10487 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10488 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10489 defined.
10490 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10491 Likewise.
10492 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10493 entry for 2.16.
10494
10495 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
10496
10497 * math/w_acos.c: Use non-signaling floating-point comparisons.
10498 * math/w_acosf.c: Likewise.
10499 * math/w_acosh.c: Likewise.
10500 * math/w_acoshf.c: Likewise.
10501 * math/w_acoshl.c: Likewise.
10502 * math/w_acosl.c: Likewise.
10503 * math/w_asin.c: Likewise.
10504 * math/w_asinf.c: Likewise.
10505 * math/w_asinl.c: Likewise.
10506 * math/w_atanh.c: Likewise.
10507 * math/w_atanhf.c: Likewise.
10508 * math/w_atanhl.c: Likewise.
10509 * math/w_exp2.c: Likewise.
10510 * math/w_exp2f.c: Likewise.
10511 * math/w_exp2l.c: Likewise.
10512 * math/w_j0.c: Likewise.
10513 * math/w_j0f.c: Likewise.
10514 * math/w_j0l.c: Likewise.
10515 * math/w_j1.c: Likewise.
10516 * math/w_j1f.c: Likewise.
10517 * math/w_j1l.c: Likewise.
10518 * math/w_jn.c: Likewise.
10519 * math/w_jnf.c: Likewise.
10520 * math/w_log.c: Likewise.
10521 * math/w_log10.c: Likewise.
10522 * math/w_log10f.c: Likewise.
10523 * math/w_log10l.c: Likewise.
10524 * math/w_log2.c: Likewise.
10525 * math/w_log2f.c: Likewise.
10526 * math/w_log2l.c: Likewise.
10527 * math/w_logf.c: Likewise.
10528 * math/w_logl.c: Likewise.
10529 * math/w_sqrt.c: Likewise.
10530 * math/w_sqrtf.c: Likewise.
10531 * math/w_sqrtl.c: Likewise.
10532 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10533 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10534 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10535 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10536 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10537
10538 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10539
10540 [BZ #9739]
10541 * manual/string.texi (strnlen): Use correct parameter name in
10542 equivalent expression.
10543
10544 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10545
10546 [BZ #11174]
10547 * manual/users.texi (seteuid): Consistently use neweuid for
10548 argument name.
10549
10550 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10551
10552 [BZ #13704]
10553 * manual/nss.texi (Services in the NSS configuration): Correct
10554 list of services in example configuration file.
10555
10556 2012-02-19 Nick Bowler <nbowler@draconx.ca>
10557
10558 [BZ #11322]
10559 * manual/arith.texi: Remove statements about negative zero
10560 behaving identically to zero.
10561
10562 2012-02-18 Joseph Myers <joseph@codesourcery.com>
10563
10564 [BZ #5993]
10565 * manual/install.texi: Do not document upgrading from libc5.
10566
10567 2012-02-18 Joseph Myers <joseph@codesourcery.com>
10568
10569 [BZ #4596]
10570 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
10571
10572 2012-02-18 David S. Miller <davem@davemloft.net>
10573
10574 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
10575 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
10576 %o7 across the call.
10577 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
10578 instead.
10579 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
10580 SETUP_PIC_REG_LEAF.
10581 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10582 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
10583 * sysdeps/sparc/crtn.S: Likewise.
10584
10585 2012-02-17 Ulrich Drepper <drepper@gmail.com>
10586
10587 * aout/Makefile: Remove.
10588
10589 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
10590
10591 [BZ #13058]
10592 * manual/examples/argp-ex1.c (main): Format definition in GNU
10593 style.
10594 * manual/examples/argp-ex2.c (main): Likewise.
10595 * manual/examples/argp-ex3.c (main): Likewise.
10596 * manual/examples/argp-ex4.c (main): Likewise.
10597 * manual/examples/longopt.c (main): Use new-style prototype
10598 definition.
10599 * manual/examples/strncat.c (main): Specify return type and use
10600 (void) for arguments.
10601 * manual/examples/subopt.c (main): Use char **argv argument.
10602
10603 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10604
10605 [BZ #5077]
10606 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
10607 rounding modes.
10608
10609 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
10610
10611 [BZ #6907]
10612 * manual/string.texi (strchr): Change when strchrnul is
10613 recommended.
10614
10615 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
10616
10617 [BZ #174]
10618 * manual/locale.texi (setlocale): Document LOCPATH.
10619
10620 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10621
10622 [BZ #10210]
10623 * manual/process.texi (execle): Move @dots{} before last argument.
10624
10625 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
10626
10627 [BZ #12047]
10628 * manual/charset.texi (Generic Charset Conversion): Fix typo
10629 (LC_TYPE -> LC_CTYPE).
10630
10631 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
10632
10633 [BZ #5805]
10634 * manual/arith.texi (scalbn): Use @var{} on parameter names.
10635 (scalbnf): Likewise.
10636 (scalbnl): Likewise.
10637 (scalbln): Likewise.
10638 (scalblnf): Likewise.
10639 (scalblnl): Likewise.
10640 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
10641 (vwarnx): Likewise.
10642 (verr): Likewise.
10643 (verrx): Likewise.
10644 * manual/filesys.texi (telldir): Use braces around return type.
10645 * manual/llio.texi (mmap): Add space after comma.
10646 (mmap64): Likewise.
10647 * manual/math.texi (jn): Use @var{} on parameter names.
10648 (jnf): Likewise.
10649 (jnl): Likewise.
10650 (yn): Likewise.
10651 (ynf): Likewise.
10652 (ynl): Likewise.
10653 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
10654 line.
10655 * manual/resource.texi (ulimit): Use @dots{} instead of literal
10656 "...".
10657 (sched_get_priority_min): Remove semicolon on @deftypefun line.
10658 (sched_get_priority_max): Likewise.
10659 * manual/signal.texi (sigvec): Add space after comma.
10660 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
10661 names.
10662 (if_indextoname): Likewise.
10663 (if_freenameindex): Likewise.
10664 (sendto): Use ',' instead of '.' in prototype.
10665 * manual/startup.texi (syscall): Use @dots{} instead of literal
10666 "...".
10667 * manual/stdio.texi (__fpending): Separate initial words of
10668 paragraph from @deftypefun line.
10669 * manual/syslog.texi (syslog): Use @dots{} instead of literal
10670 "...".
10671 (vsyslog): Use @var{} on parameter names.
10672 * manual/terminal.texi (stty): Use @var{} on parameter names.
10673 * manual/users.texi (getutmp): Use @var{} on parameter names.
10674 (getutmpx): Likewise.
10675
10676 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10677
10678 [BZ #6884]
10679 * manual/stdio.texi (fopen): Fix typos in description of
10680 ",ccs=STRING".
10681
10682 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
10683
10684 [BZ #4026]
10685 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
10686 get clock_id definition.
10687
10688 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
10689
10690 [BZ #4822]
10691 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
10692 (madvise): Cast every argument to void on its own.
10693
10694 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10695
10696 [BZ #9902]
10697 * manual/startup.texi (Exit Status): Fix typo.
10698
10699 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10700
10701 [BZ #10140]
10702 * manual/examples/argp-ex1.c: Include <stdlib.h>.
10703 * manual/examples/argp-ex2.c: Likewise.
10704 * manual/examples/argp-ex3.c: Likewise.
10705
10706 2012-02-16 Richard Henderson <rth@redhat.com>
10707
10708 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
10709 * sysdeps/s390/s390-32/initfini.c: Remove.
10710 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
10711 * sysdeps/s390/s390-64/initfini.c: Remove.
10712
10713 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10714
10715 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
10716 compiler output for sysdeps/generic/initfini.c.
10717 * sysdeps/sh/elf/initfini.c: Remove file.
10718
10719 2012-02-16 David S. Miller <davem@davemloft.net>
10720
10721 [BZ #11494]
10722 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
10723
10724 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
10725 * sysdeps/sparc/crti.S: New file.
10726 * sysdeps/sparc/crtn.S: New file.
10727 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
10728 * sysdeps/sparc/sparc64/Makefile: Likewise.
10729
10730 2012-02-15 Mike Frysinger <vapier@gentoo.org>
10731
10732 [BZ #3335]
10733 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
10734
10735 2012-02-15 Roland McGrath <roland@hack.frob.com>
10736
10737 [BZ #4822]
10738 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
10739
10740 * mach/devstream.c (cookie_io_functions_t): Macro removed.
10741 (write, read, close): Likewise.
10742 Patch by Aurelien Jarno <aurelien@aurel32.net>.
10743
10744 2012-02-15 Joseph Myers <joseph@codesourcery.com>
10745
10746 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
10747 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
10748 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
10749 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
10750 <bits/signalfd.h>.
10751 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
10752 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10753 bits/signalfd.h.
10754
10755 2012-02-14 Marek Polacek <polacek@redhat.com>
10756
10757 * sysdeps/x86_64/crti.S: New file.
10758 * sysdeps/x86_64/crtn.S: New file.
10759 * sysdeps/x86_64/elf/initfini.c: Remove file.
10760
10761 2012-02-13 Joseph Myers <joseph@codesourcery.com>
10762
10763 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
10764 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
10765 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
10766 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
10767 <bits/inotify.h>.
10768 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
10769 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10770 bits/inotify.h.
10771
10772 2012-02-13 Joseph Myers <joseph@codesourcery.com>
10773
10774 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
10775 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
10776 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
10777 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
10778 <bits/eventfd.h>.
10779 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
10780 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10781 bits/eventfd.h.
10782
10783 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
10784
10785 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
10786 __feraiseexcept instead of feraiseexcept.
10787
10788 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
10789 nanosleep invocations.
10790 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
10791 strings, and add error checking for a nanosleep invocations.
10792
10793 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
10794
10795 Replace FSF snail mail address with URLs, as per GNU coding standards.
10796 Most of the snail mail addresses were wrong anyway, and omitting
10797 them makes the source code easier to maintain. Almost all of the
10798 changes are to license notices and to locale LC_IDENTIFICATION
10799 addresses, except for this one:
10800 * manual/libc.texinfo: In "Published by", give the FSF's URL,
10801 not its snail mail address.
10802
10803 2012-02-09 Richard Henderson <rth@twiddle.net>
10804
10805 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
10806 of kernel-features.h.
10807
10808 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
10809
10810 2012-02-08 Marek Polacek <polacek@redhat.com>
10811
10812 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
10813 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
10814 * sysdeps/gnu/_G_config.h: Likewise.
10815 * sysdeps/generic/_G_config.h: Likewise.
10816
10817 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
10818
10819 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
10820 tests.
10821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10822
10823 * sysdeps/powerpc/powerpc32/crti.S: New file.
10824 * sysdeps/powerpc/powerpc32/crtn.S: New file.
10825 * sysdeps/powerpc/powerpc64/crti.S: New file.
10826 * sysdeps/powerpc/powerpc64/crtn.S: New file.
10827
10828 * Makeconfig (have-initfini): Don't set.
10829 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
10830 * configure.in (nopic_initfini): Don't substitute.
10831 * config.h.in (HAVE_INITFINI): Don't #undef.
10832 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
10833 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
10834
10835 2012-02-08 Joseph Myers <joseph@codesourcery.com>
10836
10837 Support crti.S and crtn.S provided directly by architectures.
10838 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
10839 [crti.S in sysdirs] (omit-deps): Likewise.
10840 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
10841 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
10842 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
10843 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
10844 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
10845 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
10846 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
10847 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
10848 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
10849 compiler output for sysdeps/generic/initfini.c.
10850 * sysdeps/i386/elf/Makefile: Remove file.
10851 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
10852
10853 2012-02-07 Marek Polacek <polacek@redhat.com>
10854
10855 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
10856 * sysdeps/gnu/_G_config.h: Likewise.
10857 * sysdeps/mach/hurd/_G_config.h: Likewise.
10858
10859 2012-02-07 Marek Polacek <polacek@redhat.com>
10860
10861 * math/Makefile (tests): Add tst-CMPLX2.
10862 * math/tst-CMPLX2.c: New file.
10863
10864 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
10865
10866 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10867
10868 * math/libm-test.inc (jn_test): Add missing L suffix.
10869
10870 2012-02-06 Marek Polacek <polacek@redhat.com>
10871
10872 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
10873 * sysdeps/i386/fpu/e_powf.S: Likewise.
10874 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10875 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10876 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10877 * sysdeps/i386/fpu/e_pow.S: Likewise.
10878 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10879 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10880 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10881 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10882 * sysdeps/i386/fpu/e_log2.S: Likewise.
10883 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10884 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10885 * sysdeps/i386/fpu/e_powl.S: Likewise.
10886 * sysdeps/i386/fpu/s_log1p.S: Likewise.
10887 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10888 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10889 * sysdeps/i386/fpu/e_logl.S: Likewise.
10890 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10891 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
10892 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10893 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10894 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10895 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10896 * sysdeps/i386/fpu/e_log.S: Likewise.
10897 * sysdeps/i386/fpu/s_cexp.S: Likewise.
10898 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10899 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
10900 * sysdeps/i386/fpu/e_logf.S: Likewise.
10901 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10902 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10903 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
10904 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10905 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10906 * sysdeps/i386/fpu/e_log10.S: Likewise.
10907 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10908 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10909 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10910 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10911 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10912 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10913 * sysdeps/i386/asm-syntax.h: Likewise.
10914 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10915 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10916 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10917 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
10918 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
10919 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10920 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10921 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10922 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10923 * sysdeps/powerpc/sysdep.h: Likewise.
10924 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
10925 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10926
10927 2012-02-06 Joseph Myers <joseph@codesourcery.com>
10928
10929 [BZ #411]
10930 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
10931
10932 2012-02-06 Joseph Myers <joseph@codesourcery.com>
10933
10934 * sysdeps/i386/sysdep.h: Include <features.h>.
10935 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
10936 version.
10937
10938 2012-02-05 Joseph Myers <joseph@codesourcery.com>
10939
10940 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
10941 Define.
10942 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
10943 LOAD_PIC_REG_STR.
10944
10945 2012-02-03 Joseph Myers <joseph@codesourcery.com>
10946
10947 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
10948 (SETUP_PIC_REG): Use GET_PC_THUNK.
10949 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
10950 macro.
10951
10952 2012-02-03 Joseph Myers <joseph@codesourcery.com>
10953
10954 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
10955 for non-PIC compilation.
10956 (SETUP_PIC_REG): Add .p2align directive.
10957 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
10958 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10959 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10960 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10961 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10962 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10963 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10964 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10965 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10966 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10967 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10968 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10969 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10970 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10971 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10972 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10973 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10974 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10975 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10976 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10977 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10978 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10979 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10980 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10981 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10982 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10983 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10984 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10985 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10986 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10987 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10988 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10989 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10990 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10991 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10992 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10993 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10994 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10995 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10996 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10997 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10998
10999 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11000
11001 * math/tst-CMPLX.c: Include <stdio.h>.
11002
11003 2012-01-31 Joseph Myers <joseph@codesourcery.com>
11004
11005 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
11006 float.
11007 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11008 * sysdeps/sparc/bits/mathdef.h: Likewise.
11009
11010 2012-01-31 Marek Polacek <polacek@redhat.com>
11011
11012 * libio/libio.h: Don't define _PARAMS.
11013 * locale/programs/config.h: Don't define PARAMS.
11014 * stdlib/strtol_l.c: Likewise.
11015 (__strtol_l): Remove PARAMS from the prototype.
11016
11017 2012-01-31 Ulrich Drepper <drepper@gmail.com>
11018
11019 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
11020 names. Just use the correct names. Remove unnecessary wrapper
11021 functions.
11022 * malloc/arena.c: Likewise.
11023 * malloc/hooks.c: Likewise.
11024
11025 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
11026 ARENA_TEST says not to. Simplify test for creation of a new arena.
11027 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
11028
11029 2012-01-30 Ulrich Drepper <drepper@gmail.com>
11030
11031 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
11032 into tail calls.
11033 (update_get_addr): New function.
11034 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
11035 GET_ADDR_MODULE parameter.
11036
11037 2012-01-30 Joseph Myers <joseph@codesourcery.com>
11038
11039 * crypt/cert.c: Remove __STDC__ conditionals.
11040 * crypt/crypt-entry.c: Likewise.
11041 * crypt/crypt_util.c: Likewise.
11042 * libio/filedoalloc.c: Likewise.
11043 * libio/fileops.c: Likewise.
11044 * libio/genops.c: Likewise.
11045 * libio/iofclose.c: Likewise.
11046 * libio/iofdopen.c: Likewise.
11047 * libio/iofopen.c: Likewise.
11048 * libio/iofopen64.c: Likewise.
11049 * libio/iogetdelim.c: Likewise.
11050 * libio/iopopen.c: Likewise.
11051 * libio/obprintf.c: Likewise.
11052 * libio/oldfileops.c: Likewise.
11053 * libio/oldiofclose.c: Likewise.
11054 * libio/oldiofdopen.c: Likewise.
11055 * libio/oldiofopen.c: Likewise.
11056 * libio/oldiopopen.c: Likewise.
11057 * libio/wfiledoalloc.c: Likewise.
11058 * libio/wgenops.c: Likewise.
11059 * locale/programs/xmalloc.c: Likewise.
11060 * misc/syslog.c: Likewise.
11061 * stdio-common/xbug.c: Likewise.
11062 * string/memchr.c: Likewise.
11063 * string/memcmp.c: Likewise.
11064 * string/memrchr.c: Likewise.
11065 * string/rawmemchr.c: Likewise.
11066 * sysdeps/posix/getcwd.c: Likewise.
11067 * time/strftime_l.c: Likewise.
11068
11069 2012-01-30 Joseph Myers <joseph@codesourcery.com>
11070
11071 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
11072 * config.make.in (config-cflags-sse2avx): Define.
11073 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
11074 Fix typo.
11075
11076 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
11077
11078 * scripts/config.guess: Update from upstream config git repository.
11079 * scripts/config.sub: Likewise.
11080
11081 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
11082
11083 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
11084 (EM_NUM): Update.
11085 (R_TILEPRO_*, R_TILEGX_*): New macros.
11086
11087 * scripts/firstversions.awk: Fix bug in version range handling.
11088
11089 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
11090
11091 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
11092
11093 * include/sys/epoll.h: New file.
11094 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
11095 libc_hidden_def.
11096
11097 2012-01-28 Ulrich Drepper <drepper@gmail.com>
11098
11099 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
11100 Avoid unnecessary __WORDSIZE == 64 test.
11101 (fmaxf): Use VEX format if possible.
11102 (fmax): Likewise.
11103 (fminf): Likewise.
11104 (fmin): Likewise.
11105
11106 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
11107 * math/math_private.h: Remove libc_fegetround* and
11108 libc_fesetround*.
11109 * sysdeps/i386/configure.in: Check for -msse2avx.
11110 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
11111 also if SSE2AVX is defined.
11112 Remove libc_fegetround* and libc_fesetround*.
11113 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
11114 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
11115 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
11116 of HAS_YMM_USABLE.
11117 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11118 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11119 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11120 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11121 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11122
11123 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
11124
11125 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11126
11127 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
11128 size is not set.
11129 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11130
11131 2012-01-27 Ulrich Drepper <drepper@gmail.com>
11132
11133 [BZ #13618]
11134 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
11135 relocation.
11136 * Makeconfig (libm): Define.
11137 * elf/Makefile: Add rules to build and run tst-relsort1.
11138 * elf/tst-relsort1.c: New file.
11139 * elf/tst-relsort1mod1.c: New file.
11140 * elf/tst-relsort1mod2.c: New file.
11141
11142 2012-01-27 Joseph Myers <joseph@codesourcery.com>
11143
11144 * math/s_ldexp.c: Remove __STDC__ conditionals.
11145 * math/s_ldexpf.c: Likewise.
11146 * math/s_ldexpl.c: Likewise.
11147 * math/s_nextafter.c: Likewise.
11148 * math/s_nexttowardf.c: Likewise.
11149 * math/s_significand.c: Likewise.
11150 * math/s_significandf.c: Likewise.
11151 * math/s_significandl.c: Likewise.
11152 * math/w_jnl.c: Likewise.
11153 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11154 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11155 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11156 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11157 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11158 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11159 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
11160 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11161 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11162 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11163 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11164 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11165 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11166 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11167 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11168 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11169 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11170 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11171 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11172 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11173 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11174 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11175 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11176 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11177 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11178 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11179 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11180 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11181 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11182 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11183 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11184 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11185 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11186 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11187 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11188 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11189 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11190 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11191 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11192 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11193 * sysdeps/ieee754/k_standard.c: Likewise.
11194 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11195 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11196 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11197 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11198 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11199 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11200 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11201 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11202 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11203 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11204 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11205 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11206 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11207 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11208 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11209 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11210 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11211 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11212 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11213 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11214 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11215 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11216 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11217 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11218 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11219 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11220 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11221 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11222 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11223 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11224 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11225 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11226 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11227 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11228 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11229 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11230 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11231 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11232 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11233 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11234 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11235 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11236 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11237 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11238 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11239 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11240 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11241 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11242 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11243 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11244 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11245 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11246 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11247 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11248 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11249 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11250 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11251 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11252 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11253 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11254 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11255 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11256 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11257 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11258 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11259 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11260 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11261 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11262 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11263 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11264 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11265 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11266 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11267 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11268 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11269 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11270 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11271 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11272 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11273 * sysdeps/ieee754/s_matherr.c: Likewise.
11274 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11275 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11276 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11277 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11278
11279 2012-01-26 Joseph Myers <joseph@codesourcery.com>
11280
11281 * crypt/md5.h: Remove __STDC__ conditionals.
11282 * libio/libioP.h: Likewise.
11283 * locale/programs/config.h: Likewise.
11284 * sysdeps/generic/sysdep.h: Likewise.
11285 * sysdeps/i386/asm-syntax.h: Likewise.
11286 * sysdeps/s390/asm-syntax.h: Likewise.
11287 * sysdeps/unix/sysdep.h: Likewise.
11288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11290
11291 2012-01-26 Joseph Myers <joseph@codesourcery.com>
11292
11293 * libio/libio.h: Remove __STDC__ conditionals.
11294 * malloc/obstack.h: Likewise.
11295 * math/complex.h: Likewise.
11296 * math/math.h: Likewise.
11297 * sysdeps/generic/_G_config.h: Likewise.
11298 * sysdeps/gnu/_G_config.h: Likewise.
11299 * sysdeps/mach/hurd/_G_config.h: Likewise.
11300 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11301 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11302 * sysdeps/sparc/bits/mathdef.h: Likewise.
11303
11304 2012-01-26 Ulrich Drepper <drepper@gmail.com>
11305
11306 [BZ #13583]
11307 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
11308 Clean up HAS_* macros.
11309 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
11310 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
11311 possible.
11312 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
11313 HAS_AVX.
11314 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11315 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11316 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11317 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11318 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11319
11320 2012-01-25 Joseph Myers <joseph@codesourcery.com>
11321
11322 * elf/tst-unique3.cc (gets): Remove declaration.
11323 * elf/tst-unique3lib.cc (gets): Likewise.
11324 * elf/tst-unique3lib2.cc (gets): Likewise.
11325 * elf/tst-unique4.cc (gets): Likewise.
11326
11327 2012-01-24 Ulrich Drepper <drepper@gmail.com>
11328
11329 * include/stdio.h: Add C++ protection. Add gets declarations and
11330 definitions.
11331 * debug/tst-chk1.c: Don't declare gets here.
11332 * stdio-common/tst-gets.c: Likewise.
11333
11334 2012-01-24 Joseph Myers <joseph@codesourcery.com>
11335
11336 * posix/glob: Remove directory.
11337
11338 2012-01-24 Joseph Myers <joseph@codesourcery.com>
11339
11340 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
11341
11342 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
11343
11344 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
11345 of the non-standard EPFNOSUPPORT.
11346
11347 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
11348
11349 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
11350 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
11351 ANYWHERE set to 1 only on KERN_NO_SPACE error.
11352
11353 2012-01-21 Ulrich Drepper <drepper@gmail.com>
11354
11355 * wcsmbs/uchar.h: Test __STDC_VERSION__.
11356
11357 2012-01-20 Ulrich Drepper <drepper@gmail.com>
11358
11359 * nscd/aicache.c (addhstaiX): Do not cache negative results of
11360 transient errors.
11361 * nscd/grpcache.c (cache_addgr): Likewise.
11362 * nscd/hstcache.c (cache_addhst): Likewise.
11363 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11364 * nscd/pwdcache.c (cache_addpw): Likewise.
11365 * nscd/servicescache.c (cache_addserv): Likewise.
11366
11367 2012-01-16 Ulrich Drepper <drepper@gmail.com>
11368
11369 * malloc/malloc.c: Various cleanups.
11370 * malloc/hooks.c: Likewise.
11371
11372 * stdlib/Makefile (tests): Add bug-fmtmsg1.
11373 * stdlib/bug-fmtmsg1.c: New file.
11374
11375 * stdlib/fmtmsg.c (init): Add missing unlock.
11376 Patch by Peng Haitao <penght@cn.fujitsu.com>.
11377
11378 2012-01-12 Marek Polacek <polacek@redhat.com>
11379
11380 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
11381 and _GNU_SOURCE.
11382
11383 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11384
11385 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
11386 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
11387 macro to ensure uniqueness of label name.
11388 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11389 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11390
11391 2012-01-11 Ulrich Drepper <drepper@gmail.com>
11392
11393 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
11394
11395 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
11396 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11397 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11398 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
11399
11400 2012-01-10 Ulrich Drepper <drepper@gmail.com>
11401
11402 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
11403
11404 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
11405 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11406 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11407
11408 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
11409
11410 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
11411 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11412 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11413 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
11414
11415 * math/bits/math-finite.h: Add ldexp support.
11416
11417 2012-01-10 Marek Polacek <polacek@redhat.com>
11418
11419 * locale/programs/localedef.h (show_archive_content): Add noreturn
11420 attribute.
11421
11422 2012-01-09 Ulrich Drepper <drepper@gmail.com>
11423
11424 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
11425
11426 2012-01-08 Ulrich Drepper <drepper@gmail.com>
11427
11428 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
11429
11430 * io/Makefile (headers): Add bits/poll2.h.
11431
11432 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
11433
11434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
11435 typo #include statement.
11436
11437 2012-01-08 Ulrich Drepper <drepper@gmail.com>
11438
11439 * include/sys/cdefs.h: Define __attribute_alloc_size.
11440 * catgets/gencat.c: Add alloc_size attribute and apply consistently
11441 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
11442 * elf/pldd.c: Likewise.
11443 * iconv/iconv_charmap.c: Likewise.
11444 * iconv/iconvconfig.c: Likewise.
11445 * iconv/strtab.c: Likewise.
11446 * locale/programs/locale.c: Likewise.
11447 * locale/programs/localedef.h: Likewise.
11448 * locale/programs/simple-hash.c: Likewise.
11449 * nscd/nscd.h: Likewise.
11450 * nss/makedb.c: Likewise.
11451 * sysdeps/generic/ldconfig.h: Likewise.
11452 * locale/programs/localedef.c: Remove xmalloc prototype.
11453 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
11454
11455 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11456
11457 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
11458 appropriate.
11459
11460 2012-01-08 Ulrich Drepper <drepper@gmail.com>
11461
11462 * math/Makefile (tests): Add tst-CMPLX.
11463 * math/tst-CMPLX.c: New file.
11464
11465 * math/complex.h (CMPLXL): Fix typo.
11466
11467 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11468 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11469 GLIBC_2.16.
11470 * debug/tst-chk1.c: Add poll and ppoll tests.
11471 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11472 * include/sys/poll.h: Add hidden proto for ppoll.
11473 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11474 * sysdeps/mach/hurd/ppoll.c: Likewise.
11475 * io/ppoll.c: Likewise.
11476 * debug/poll_chk.c: New file.
11477 * debug/ppoll_chk.c: New file.
11478 * include/bits/poll2.h: New file.
11479 * io/bits/poll2.h: New file.
11480
11481 [BZ #1350]
11482 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11483
11484 * configure.in: static is always set to yes. Remove.
11485 * config.make.in: Don't set build-static.
11486 * Makeconfig: Remove use of build-static.
11487 * dlfcn/Makefile: Likewise.
11488 * elf/Makefile: Likewise.
11489 * math/Makefile: Likewise.
11490 * misc/Makefile: Likewise.
11491 * nptl/Makefile: Likewise.
11492 * sysdeps/mach/hurd/Makefile: Likewise.
11493
11494 * configure.in: PWD_P is not used anymore.
11495 * config.make.in: Remove PWD_P entry.
11496
11497 * configure.in: Remove last remnants of RANLIB.
11498 No need to check for signed size_t anymore.
11499 Don't set libc_commonpagesize and libc_relro_required here for Alpha
11500 and IA-64.
11501 Remove __builtin_expect test because we require at least gcc 3.4.
11502 * aclocal.m4: Likewise.
11503
11504 * wcsmbs/mbrtoc16.c: Implement using towc function.
11505 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11506 * wcsmbs/wcsmbsload.c: Likewise.
11507 * iconv/gconv_simple.c: Likewise.
11508 * iconv/gconv_int.h: Likewise.
11509 * iconv/gconv_builtin.h: Likewise.
11510 * iconv/iconv_prog.c: Remove CHAR16 handling.
11511
11512 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11513
11514 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11515
11516 * configure.in: Remove --with-elf and --enable-bounded options.
11517 Dont set base_machine for ia64. More non-ELF conditions removed.
11518 Remove testing and setting of leading underscore information.
11519 * config.make.in (build-bounded): Set to no.
11520 * config.h.in: Remove NO_UNDERSCORES entry.
11521 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
11522 them.
11523 * csu/start.c: Remove !NO_UNDERSCORE code.
11524 * locale/localeinfo.h: Likewise.
11525 * sysdeps/generic/machine-gmon.h: Likewise.
11526 * sysdeps/generic/sysdep.h: Likewise.
11527 * sysdeps/i386/sysdep.h: Likewise.
11528 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11529 * sysdeps/mach/sysdep.h: Likewise.
11530 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11531 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11532 * sysdeps/sh/sysdep.h: Likewise.
11533 * sysdeps/sparc/sparc32/alloca.S: Likewise.
11534 * sysdeps/unix/i386/sysdep.S: Likewise.
11535 * sysdeps/unix/sparc/start.c: Likewise.
11536 * sysdeps/unix/sparc/sysdep.S: Likewise.
11537 * sysdeps/unix/sparc/sysdep.h: Likewise.
11538 * sysdeps/unix/start.c: Likewise.
11539 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11540 * sysdeps/x86_64/sysdep.h: Likewise.
11541
11542 2012-01-07 Ulrich Drepper <drepper@gmail.com>
11543
11544 [BZ #13553]
11545 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11546 for non-gcc.
11547 * argp/argp-fmtstream.h: Use const instead __const.
11548 * argp/argp.h: Likewise.
11549 * assert/assert.h: Likewise.
11550 * bits/fenv.h: Likewise.
11551 * bits/sched.h: Likewise.
11552 * bits/sigset.h: Likewise.
11553 * bits/sigthread.h: Likewise.
11554 * catgets/nl_types.h: Likewise.
11555 * conform/data/pthread.h-data: Likewise.
11556 * crypt/crypt-private.h: Likewise.
11557 * crypt/crypt.h: Likewise.
11558 * crypt/crypt_util.c: Likewise.
11559 * ctype/ctype.h: Likewise.
11560 * debug/execinfo.h: Likewise.
11561 * debug/mbsnrtowcs_chk.c: Likewise.
11562 * debug/mbsrtowcs_chk.c: Likewise.
11563 * debug/wcsnrtombs_chk.c: Likewise.
11564 * debug/wcsrtombs_chk.c: Likewise.
11565 * debug/wcstombs_chk.c: Likewise.
11566 * dirent/dirent.h: Likewise.
11567 * dlfcn/dlfcn.h: Likewise.
11568 * elf/neededtest4.c: Likewise.
11569 * grp/grp.h: Likewise.
11570 * gshadow/gshadow.h: Likewise.
11571 * iconv/gconv.h: Likewise.
11572 * iconv/gconv_int.h: Likewise.
11573 * iconv/gconv_simple.c: Likewise.
11574 * iconv/iconv.h: Likewise.
11575 * iconv/loop.c: Likewise.
11576 * iconv/skeleton.c: Likewise.
11577 * include/aio.h: Likewise.
11578 * include/aliases.h: Likewise.
11579 * include/argz.h: Likewise.
11580 * include/arpa/inet.h: Likewise.
11581 * include/assert.h: Likewise.
11582 * include/dirent.h: Likewise.
11583 * include/dlfcn.h: Likewise.
11584 * include/execinfo.h: Likewise.
11585 * include/fcntl.h: Likewise.
11586 * include/fenv.h: Likewise.
11587 * include/glob.h: Likewise.
11588 * include/grp.h: Likewise.
11589 * include/libintl.h: Likewise.
11590 * include/mntent.h: Likewise.
11591 * include/netdb.h: Likewise.
11592 * include/pwd.h: Likewise.
11593 * include/rpc/netdb.h: Likewise.
11594 * include/sched.h: Likewise.
11595 * include/search.h: Likewise.
11596 * include/shadow.h: Likewise.
11597 * include/signal.h: Likewise.
11598 * include/stdio.h: Likewise.
11599 * include/stdlib.h: Likewise.
11600 * include/string.h: Likewise.
11601 * include/sys/socket.h: Likewise.
11602 * include/sys/stat.h: Likewise.
11603 * include/sys/statfs.h: Likewise.
11604 * include/sys/statvfs.h: Likewise.
11605 * include/sys/syslog.h: Likewise.
11606 * include/sys/time.h: Likewise.
11607 * include/sys/uio.h: Likewise.
11608 * include/time.h: Likewise.
11609 * include/unistd.h: Likewise.
11610 * include/utmp.h: Likewise.
11611 * include/wchar.h: Likewise.
11612 * include/wctype.h: Likewise.
11613 * inet/aliases.h: Likewise.
11614 * inet/arpa/inet.h: Likewise.
11615 * inet/netinet/ether.h: Likewise.
11616 * inet/netinet/in.h: Likewise.
11617 * intl/libintl.h: Likewise.
11618 * io/bits/fcntl2.h: Likewise.
11619 * io/fcntl.h: Likewise.
11620 * io/ftw.h: Likewise.
11621 * io/sys/poll.h: Likewise.
11622 * io/sys/stat.h: Likewise.
11623 * io/sys/statfs.h: Likewise.
11624 * io/sys/statvfs.h: Likewise.
11625 * io/utime.h: Likewise.
11626 * libio/bits/stdio.h: Likewise.
11627 * libio/bits/stdio2.h: Likewise.
11628 * libio/libio.h: Likewise.
11629 * libio/libioP.h: Likewise.
11630 * libio/stdio.h: Likewise.
11631 * locale/lc-ctype.c: Likewise.
11632 * locale/locale.h: Likewise.
11633 * login/utmp.h: Likewise.
11634 * malloc/arena.c: Likewise.
11635 * malloc/malloc.c: Likewise.
11636 * malloc/malloc.h: Likewise.
11637 * malloc/mcheck.c: Likewise.
11638 * malloc/mtrace.c: Likewise.
11639 * math/bits/mathcalls.h: Likewise.
11640 * math/fenv.h: Likewise.
11641 * math/math_private.h: Likewise.
11642 * misc/bits/error.h: Likewise.
11643 * misc/bits/syslog.h: Likewise.
11644 * misc/err.h: Likewise.
11645 * misc/error.h: Likewise.
11646 * misc/fstab.h: Likewise.
11647 * misc/mntent.h: Likewise.
11648 * misc/regexp.h: Likewise.
11649 * misc/search.h: Likewise.
11650 * misc/sgtty.h: Likewise.
11651 * misc/sys/mman.h: Likewise.
11652 * misc/sys/syslog.h: Likewise.
11653 * misc/sys/uio.h: Likewise.
11654 * misc/sys/xattr.h: Likewise.
11655 * misc/ttyent.h: Likewise.
11656 * nis/rpcsvc/ypclnt.h: Likewise.
11657 * nss/nss.h: Likewise.
11658 * posix/bits/unistd.h: Likewise.
11659 * posix/fnmatch.h: Likewise.
11660 * posix/glob.h: Likewise.
11661 * posix/sched.h: Likewise.
11662 * posix/spawn.h: Likewise.
11663 * posix/sys/wait.h: Likewise.
11664 * posix/unistd.h: Likewise.
11665 * posix/wordexp.h: Likewise.
11666 * pwd/pwd.h: Likewise.
11667 * resolv/netdb.h: Likewise.
11668 * resource/sys/resource.h: Likewise.
11669 * rt/aio.h: Likewise.
11670 * rt/bits/mqueue2.h: Likewise.
11671 * rt/mqueue.h: Likewise.
11672 * shadow/shadow.h: Likewise.
11673 * signal/signal.h: Likewise.
11674 * socket/send.c: Likewise.
11675 * socket/sendto.c: Likewise.
11676 * socket/sys/socket.h: Likewise.
11677 * stdio-common/printf.h: Likewise.
11678 * stdlib/bits/stdlib.h: Likewise.
11679 * stdlib/fmtmsg.h: Likewise.
11680 * stdlib/monetary.h: Likewise.
11681 * stdlib/stdlib.h: Likewise.
11682 * stdlib/ucontext.h: Likewise.
11683 * streams/stropts.h: Likewise.
11684 * string/argz.h: Likewise.
11685 * string/bits/string2.h: Likewise.
11686 * string/string.h: Likewise.
11687 * string/strings.h: Likewise.
11688 * sunrpc/rpc/auth.h: Likewise.
11689 * sunrpc/rpc/auth_des.h: Likewise.
11690 * sunrpc/rpc/clnt.h: Likewise.
11691 * sunrpc/rpc/netdb.h: Likewise.
11692 * sunrpc/rpc/pmap_clnt.h: Likewise.
11693 * sunrpc/rpc/xdr.h: Likewise.
11694 * sysdeps/generic/inttypes.h: Likewise.
11695 * sysdeps/generic/net/if.h: Likewise.
11696 * sysdeps/generic/sys/swap.h: Likewise.
11697 * sysdeps/gnu/net/if.h: Likewise.
11698 * sysdeps/gnu/utmpx.h: Likewise.
11699 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11700 * sysdeps/i386/i486/bits/string.h: Likewise.
11701 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
11702 * sysdeps/s390/bits/string.h: Likewise.
11703 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
11704 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
11705 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
11706 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11707 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11708 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
11709 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11710 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
11711 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11712 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
11713 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
11714 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11715 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
11716 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11717 * sysdeps/unix/sysv/linux/readv.c: Likewise.
11718 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
11719 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11720 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11721 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11722 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11723 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11724 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
11725 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
11726 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
11727 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
11728 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
11729 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
11730 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11731 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
11732 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
11733 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
11734 * sysvipc/sys/ipc.h: Likewise.
11735 * sysvipc/sys/msg.h: Likewise.
11736 * sysvipc/sys/sem.h: Likewise.
11737 * sysvipc/sys/shm.h: Likewise.
11738 * termios/termios.h: Likewise.
11739 * time/sys/time.h: Likewise.
11740 * time/time.h: Likewise.
11741 * wcsmbs/bits/wchar2.h: Likewise.
11742 * wcsmbs/uchar.h: Likewise.
11743 * wcsmbs/wchar.h: Likewise.
11744 * wctype/wctype.h: Likewise.
11745
11746 [BZ #13551]
11747 * Makeconfig: Remove all but ELF support including AIX support.
11748 * Makerules: Likewise.
11749 * config.h.in: Likewise.
11750 * config.make.in: Likewise.
11751 * configure: Likewise.
11752 * configure.in: Likewise.
11753 * csu/Makefile: Likewise.
11754 * csu/version.c: Likewise.
11755 * debug/Makefile: Likewise.
11756 * dlfcn/Makefile: Likewise.
11757 * elf/Makefile: Likewise.
11758 * extra-lib.mk: Likewise.
11759 * iconv/Makefile: Likewise.
11760 * include/libc-symbols.h: Likewise.
11761 * include/shlib-compat.h: Likewise.
11762 * resolv/Makefile: Likewise.
11763 * resolv/res_libc.c: Likewise.
11764 * rt/Makefile: Likewise.
11765 * sysdeps/i386/asm-syntax.h: Likewise.
11766 * sysdeps/i386/sysdep.h: Likewise.
11767 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11768 * sysdeps/mach/sysdep.h: Likewise.
11769 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
11770 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
11771 * sysdeps/s390/asm-syntax.h: Likewise.
11772 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11773 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11774 * sysdeps/sh/sysdep.h: Likewise.
11775 * sysdeps/unix/sparc/sysdep.h: Likewise.
11776 * sysdeps/wordsize-32/divdi3.c: Likewise.
11777 * sysdeps/x86_64/sysdep.h: Likewise.
11778
11779 * argp/Versions: Remove _argp_unlock_xxx.
11780
11781 [BZ #13559]
11782 * abilist/ld.abilist: Update. Adjust for removal of tls option.
11783 * abilist/libBrokenLocale.abilist: Likewise.
11784 * abilist/libanl.abilist: Likewise.
11785 * abilist/libc.abilist: Likewise.
11786 * abilist/libcrypt.abilist: Likewise.
11787 * abilist/libdl.abilist: Likewise.
11788 * abilist/libm.abilist: Likewise.
11789 * abilist/libnsl.abilist: Likewise.
11790 * abilist/libpthread.abilist: Likewise.
11791 * abilist/libresolv.abilist: Likewise.
11792 * abilist/librt.abilist: Likewise.
11793 * abilist/libthread_db.abilist: Likewise.
11794 * abilist/libutil.abilist: Likewise.
11795 * abilist/libnss_db.abilist: New file.
11796
11797 * scripts/abilist.awk: Add support for indirect functions.
11798
11799 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
11800
11801 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
11802
11803 * shlib-versions: Remove entries for ports architectures.
11804
11805 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
11806 files in ports.
11807 * elf/stackguard-macros.h: Remove support for IA-64.
11808 * elf/tst-auditmod1.c: Likewise.
11809 * sysdeps/generic/ldsodefs.h: Likewise.
11810
11811 * sysdeps/unix/sysv/linux/configure.in: Ports should define
11812 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
11813 configure files.
11814
11815 [BZ #13552]
11816 * configure.in: Remove --enable-omitfp support.
11817 * FAQ.in: Adjust.
11818 * config.make.in: Likewise.
11819 * Makeconfig: Likewise.
11820 * manual/install.texi: Likewise.
11821
11822 In case anyone cares, the IA-64 architecture could move to ports.
11823 * sysdeps/ia64/*: Removed.
11824 * sysdeps/unix/sysv/linux/ia64/*: Removed.
11825 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
11826
11827 [BZ #13555]
11828 * configure.in: Remove entries for unsupported architectures.
11829
11830 [BZ #13533]
11831 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
11832 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
11833 routines.
11834 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
11835 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
11836 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
11837 fall back to using wcrtomb.
11838 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
11839 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
11840 renaming.
11841 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
11842 * wcsmbs/tst-c16c32-1.c: New file.
11843
11844 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
11845 local variable.
11846
11847 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
11848
11849 * elf/tst-unique3.cc: Add explicit declaration of gets.
11850 * elf/tst-unique3lib.cc: Likewise.
11851 * elf/tst-unique3lib2.cc: Likewise.
11852 * elf/tst-unique4.cc: Likewise.
11853
11854 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
11855
11856 2012-01-06 Joseph Myers <joseph@codesourcery.com>
11857
11858 [BZ #13566]
11859 * assert/assert.h (static_assert): Don't define for C++.
11860 * libio/stdio.h (gets): Do declare for C++ <= C++11.
11861 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
11862
11863 2012-01-03 Ulrich Drepper <drepper@gmail.com>
11864
11865 * iconv/loop.c (single loop): Fix assertion in storing of
11866 remaining bytes.
11867
11868 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
11869
11870 2012-01-01 Ulrich Drepper <drepper@gmail.com>
11871
11872 * posix/getconf.c: Update copyright year.
11873 * nss/getent.c: Likewise.
11874 * nss/makedb.c: Likewise.
11875 * iconv/iconvconfig.c: Likewise.
11876 * iconv/iconv_prog.c: Likewise.
11877 * elf/ldconfig.c: Likewise.
11878 * elf/pldd.c: Likewise.
11879 * elf/sotruss.ksh: Likewise.
11880 * catgets/gencat.c: Likewise.
11881 * csu/version.c: Likewise.
11882 * elf/ldd.bash.in: Likewise.
11883 * elf/sprof.c (print_version): Likewise.
11884 * locale/programs/locale.c: Likewise.
11885 * locale/programs/localedef.c: Likewise.
11886 * login/programs/pt_chown.c: Likewise.
11887 * nscd/nscd.c (print_version): Likewise.
11888 * debug/xtrace.sh: Likewise.
11889 * malloc/memusage.sh: Likewise.
11890 * malloc/mtrace.pl: Likewise.
11891 * debug/catchsegv.sh: Likewise.
11892
11893 2011-12-30 Jakub Jelinek <jakub@redhat.com>
11894
11895 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
11896 pure attribute.
11897
11898 2011-12-24 Ulrich Drepper <drepper@gmail.com>
11899
11900 [BZ #13533]
11901 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
11902 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
11903 transformations.
11904 * iconv/gconv_int.h: Likewise.
11905 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
11906 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
11907 from libc for GLIBC_2.16.
11908 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
11909 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
11910 * wcsmbs/uchar.h: Really define mbstate_t.
11911 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
11912 * wcsmbs/c16rtomb.c: New file.
11913 * wcsmbs/mbrtoc16.c: New file.
11914 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
11915 for C/POSIX locale.
11916 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
11917 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
11918
11919 * wcsmbs/wchar.h: Add missing __restrict.
11920
11921 2011-12-23 Ulrich Drepper <drepper@gmail.com>
11922
11923 [BZ #13532]
11924 * time/Makefile (routines): Add timespec_get.
11925 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
11926 * time/time.h: Define TIME_UTC and declare timespec_get. Define
11927 timespec for ISO C11.
11928 * time/timespec_get.c: New file.
11929 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
11930 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
11931
11932 [BZ #13531]
11933 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
11934 * stdlib/stdlib.h: Declare aligned_alloc.
11935 * Versions.def: Add GLIBC_2.16 for libc.
11936 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
11937
11938 [BZ 13527]
11939 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
11940 ISO C11.
11941
11942 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
11943 code.
11944
11945 [BZ #13528]
11946 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
11947
11948 [BZ #13529]
11949 * assert/assert.h (static_assert): Define.
11950
11951 * version.h: Update for 2.16 development version.
11952
11953 [BZ #13526]
11954 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
11955 _ISOC11_SOURCE.
11956
11957 * version.h (RELEASE): Bump for 2.15 release.
11958 * include/features.h (__GLIBC_MINOR__): Bump to 15.
11959
11960 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
11961 Patch by Marek Polacek <mpolacek@redhat.com>.
11962
11963 * bits/byteswap.h: Protect long long constants with __extension__.
11964 * sysdeps/i386/bits/byteswap.h: Likewise.
11965 * sysdeps/ia64/bits/byteswap.h: Likewise.
11966 * sysdeps/s390/bits/byteswap.h: Likewise.
11967 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11968
11969 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11970
11971 [BZ #13540]
11972 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
11973 destination buffer.
11974 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11975
11976 2011-12-23 Marek Polacek <polacek@redhat.com>
11977
11978 * elf/dl-addr.c (determine_info): Add inline keyword.
11979 * elf/tst-auditmod4b.c (check_avx): Likewise.
11980 * elf/tst-auditmod6b.c (check_avx): Likewise.
11981 * elf/tst-auditmod6c.c (check_avx): Likewise.
11982 * elf/tst-auditmod7b.c (check_avx): Likewise.
11983
11984 2011-12-23 Ulrich Drepper <drepper@gmail.com>
11985
11986 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
11987 !__SSE_MATH__.
11988
11989 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11990
11991 [BZ #13540]
11992 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
11993 processing for last bytes.
11994
11995 2011-08-06 Bruno Haible <bruno@clisp.org>
11996
11997 [BZ #13061]
11998 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
11999 U+0385, not to U+1FEE.
12000
12001 [BZ #13062]
12002 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
12003 entry for U+00A5 U+0301.
12004
12005 2011-12-22 Ulrich Drepper <drepper@gmail.com>
12006
12007 [BZ #13166]
12008 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
12009 buffer for the output is too small.
12010
12011 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
12012 optimization.
12013
12014 [BZ #13185]
12015 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
12016 SSE flags if possible.
12017
12018 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12019
12020 [BZ #13540]
12021 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
12022 processing for last bytes.
12023
12024 2011-12-22 Joseph Myers <joseph@codesourcery.com>
12025
12026 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
12027 (syscall-list-default-options, syscall-list-default-condition)
12028 (syscall-list-includes): Define.
12029 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
12030 list of ABIs and options and #if conditions for each ABI. Do not
12031 handle common syscalls between ABIs specially.
12032 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
12033 Remove.
12034 (syscall-list-variants, syscall-list-32bit-options)
12035 (syscall-list-32bit-condition, syscall-list-64bit-options)
12036 (syscall-list-64bit-condition): Define.
12037 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
12038 (syscall-list-variants, syscall-list-32bit-options)
12039 (syscall-list-32bit-condition, syscall-list-64bit-options)
12040 (syscall-list-64bit-condition): Define.
12041 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
12042 Remove.
12043 (syscall-list-variants, syscall-list-32bit-options)
12044 (syscall-list-32bit-condition, syscall-list-64bit-options)
12045 (syscall-list-64bit-condition): Define.
12046 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
12047 Remove.
12048 (syscall-list-variants, syscall-list-32bit-options)
12049 (syscall-list-32bit-condition, syscall-list-64bit-options)
12050 (syscall-list-64bit-condition): Define.
12051
12052 2011-12-22 Ulrich Drepper <drepper@gmail.com>
12053
12054 * locale/iso-639.def: Add brx entry.
12055
12056 [BZ #13328]
12057 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
12058 Proposed by Mariusz_Cukr <marcukr@op.pl>.
12059
12060 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
12061 __feraiseexcept_renamed.
12062
12063 2011-12-21 Ulrich Drepper <drepper@gmail.com>
12064
12065 [BZ #13538]
12066 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
12067 EPOLLET with unsigned values.
12068 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12069 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12070
12071 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
12072 to large cancellation.
12073 * math/s_cacoshf.c: Likewise.
12074 * math/s_cacoshl.c: Likewise.
12075
12076 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
12077
12078 [BZ #13305]
12079 [BZ #12786]
12080 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
12081 * math/s_cacoshf.c: Likewise.
12082 * math/s_cacoshl.c: Likewise.
12083
12084 2011-12-21 Ulrich Drepper <drepper@gmail.com>
12085
12086 [BZ #13439]
12087 * iconv/gconv.h: Define __GCONV_SWAP.
12088 * iconvdata/unicode.c: The swap bit must be stored in __flags.
12089 * iconvdata/utf-16.c: Likewise.
12090 * iconvdata/utf-32.c: Likewise.
12091
12092 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
12093
12094 [BZ #13524]
12095 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
12096 numerator after shifting it by one limb.
12097
12098 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
12099
12100 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
12101 under [__USE_EXTERN_INLINES].
12102
12103 2011-12-17 Ulrich Drepper <drepper@gmail.com>
12104
12105 [BZ #13446]
12106 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
12107
12108 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12109
12110 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
12111 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
12112 optimized code.
12113 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
12114 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
12115 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
12116 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
12117 for strncasecmp/strncasecmp_l compilation.
12118 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
12119 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
12120
12121 2011-12-08 Marek Polacek <mpolacek@redhat.com>
12122
12123 [BZ #13484]
12124 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
12125 of __asm__.
12126
12127 2011-12-17 Ulrich Drepper <drepper@gmail.com>
12128
12129 [BZ #13506]
12130 * time/tzfile.c (__tzfile_read): Check values from file header.
12131
12132 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12133
12134 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
12135 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
12136 * powerpc/powerpc32/dl-start.S: Likewise.
12137 * powerpc/powerpc32/elf/start.S: Likewise.
12138 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12139 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
12140 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
12141 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
12142 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12143 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
12144 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
12145 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12146 * powerpc/powerpc32/fpu/s_round.S: Likewise.
12147 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12148 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12149 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12150 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12151 * powerpc/powerpc32/memset.S: Likewise.
12152 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12153 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12154 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12155 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12156 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12157 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12158 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12159 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12160 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
12161 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
12162 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
12163 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12164 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12165
12166 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12167
12168 * math/libm-test.inc: Added more nearbyint tests.
12169 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
12170 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
12171 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
12172 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
12173
12174 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
12175
12176 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
12177 FD_CLOEXEC.
12178
12179 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12180
12181 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
12182 Add wcscpy-ssse3 wcscpy-c.
12183 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
12184 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
12185 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
12186 * sysdeps/x86_64/wcschr.S: New file.
12187 * sysdeps/x86_64/wcsrchr.S: New file.
12188 * string/test-strcmp.c: Remove checking of wcscmp function for
12189 wrong alignments.
12190 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
12191 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
12192 wcsrchr-sse2 wcsrchr-c.
12193 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
12194 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
12195 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
12196 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
12197 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
12198 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
12199 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
12200 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
12201 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
12202 * wcsmbc/wcschr.c (WCSCHR): New macro.
12203
12204 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12205
12206 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
12207 * wcsmbs/test-wcsrchr.c: New file.
12208 * string/test-strrchr.c: Add wcsrchr support.
12209 (WIDE): New macro.
12210 * wcsmbs/test-wcscpy.c: New file.
12211 * string/test-strcpy.c: Add wcscpy support.
12212 (WIDE): New macro.
12213
12214 2011-12-10 Ulrich Drepper <drepper@gmail.com>
12215
12216 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
12217 the inner loop.
12218
12219 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
12220
12221 [BZ #13472]
12222 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
12223
12224 2011-12-04 Ulrich Drepper <drepper@gmail.com>
12225
12226 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
12227 Minor optimizations.
12228
12229 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
12230 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
12231 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12232
12233 2011-12-03 Ulrich Drepper <drepper@gmail.com>
12234
12235 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
12236 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
12237 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
12238 for gcc to avoid warnings.
12239 * inet/Makefile (tests): Add tst-checks.
12240 * inet/tst-checks.c: New file.
12241
12242 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
12243 warning.
12244
12245 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
12246 __wmemcmp_sse2.
12247
12248 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
12249 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
12250
12251 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
12252
12253 2011-12-02 Ulrich Drepper <drepper@gmail.com>
12254
12255 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
12256 problem.
12257
12258 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
12259
12260 2011-11-29 Joseph Myers <joseph@codesourcery.com>
12261
12262 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
12263 conditional on GCC version.
12264 (__arch_compare_and_exchange_val_8_acq)
12265 (__arch_compare_and_exchange_val_16_acq)
12266 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
12267 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
12268 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
12269
12270 2011-12-02 Joseph Myers <joseph@codesourcery.com>
12271
12272 * sysdeps/sh/backtrace.c: New file.
12273
12274 2011-12-02 Andreas Schwab <schwab@redhat.com>
12275
12276 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
12277 parenthesis.
12278
12279 2011-12-01 Andreas Schwab <schwab@redhat.com>
12280
12281 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
12282 falling back to utime.
12283
12284 2011-11-30 Andreas Schwab <schwab@redhat.com>
12285
12286 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
12287 expectations for float.
12288
12289 2011-11-29 Andreas Schwab <schwab@redhat.com>
12290
12291 * locale/weight.h (findidx): Add parameter len.
12292 * locale/weightwc.h (findidx): Likewise.
12293 * posix/fnmatch_loop.c (FCT): Adjust caller.
12294 * posix/regcomp.c (build_equiv_class): Likewise.
12295 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
12296 * posix/regexec.c (check_node_accept_bytes): Likewise.
12297 * string/strcoll_l.c (STRCOLL): Likewise.
12298 * string/strxfrm_l.c (STRXFRM): Likewise.
12299
12300 2011-11-17 Ulrich Drepper <drepper@gmail.com>
12301
12302 * Makefile.in: Remove CVSOPT handling.
12303 * configure.in: Remove use of AC_REVISION.
12304 * iconvdata/Makefile (distribute): No need to filter out CVS.
12305 * scripts/list-sources.sh: Remove CVS, subversion and monotone
12306 handling.
12307
12308 2011-11-16 Andreas Schwab <schwab@redhat.com>
12309
12310 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
12311 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
12312 [USE_AS_STRNCASECMP_L]: Likewise.
12313 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
12314 NO_TLS_DIRECT_SEG_REFS.
12315 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
12316 Fix argument offsets for non-PIC.
12317 [USE_AS_STRNCASECMP_L]: Likewise.
12318 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
12319 NO_TLS_DIRECT_SEG_REFS.
12320
12321 2011-11-15 Ulrich Drepper <drepper@gmail.com>
12322
12323 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
12324 O_CLOEXEC.
12325 * locale/loadlocale.c (_nl_load_locale): Likewise.
12326
12327 2011-11-15 Andreas Schwab <schwab@redhat.com>
12328
12329 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
12330 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
12331 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
12332 (SYSCALL_GETTIME): Set errno on error.
12333
12334 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
12335 count references to noai6ai_cached.
12336
12337 2011-11-15 Ulrich Drepper <drepper@gmail.com>
12338
12339 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
12340
12341 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
12342 FD_CLOEXEC for /proc/self/maps.
12343
12344 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
12345 FD_CLOEXEC for /proc/meminfo.
12346
12347 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
12348 gai.conf.
12349
12350 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
12351 FD_CLOEXEC for given file.
12352
12353 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
12354
12355 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
12356 FD_CLOEXEC for /etc/hosts.
12357 (_gethtent): Likewise.
12358
12359 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
12360
12361 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
12362 cancellation and set FD_CLOEXEC for /etc/netgroup.
12363
12364 * nss/nss_files/files-key.c (search): Don't allow cancellation when
12365 reading /etc/publickey.
12366
12367 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
12368 allow cancellation when reading /etc/group.
12369
12370 * nss/nss_files/files-alias.c (internal_setent): Don't allow
12371 cancellation.
12372 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
12373
12374 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
12375 when using data file.
12376
12377 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
12378
12379 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
12380 (write_nis_obj): Use "c" and "e" in fopen.
12381
12382 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
12383
12384 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
12385
12386 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
12387
12388 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
12389
12390 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
12391 locale.alias.
12392
12393 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
12394
12395 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
12396
12397 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
12398
12399 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
12400 file parsing and set FD_CLOEXEC.
12401
12402 2011-11-14 Ulrich Drepper <drepper@gmail.com>
12403
12404 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
12405
12406 2011-11-14 Andreas Schwab <schwab@redhat.com>
12407
12408 * malloc/arena.c (arena_get2): Don't call reused_arena when
12409 _int_new_arena failed.
12410
12411 2011-11-14 Ulrich Drepper <drepper@gmail.com>
12412
12413 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
12414 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
12415 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
12416 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12417 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12418 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
12419 to compile strcasecmp and strncasecmp.
12420 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
12421 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
12422
12423 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
12424
12425 2011-11-13 Ulrich Drepper <drepper@gmail.com>
12426
12427 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
12428 locale-defines.sym to gen-as-const-headers.
12429 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
12430 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
12431 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
12432 to compile strcasecmp and strncasecmp.
12433 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
12434 strcasecmp_l and strncasecmp_l.
12435 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
12436 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
12437 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
12438 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
12439 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
12440 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
12441 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
12442 * sysdeps/i386/i686/multiarch/strncase.S: New file.
12443 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
12444 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
12445 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
12446
12447 2011-11-12 Ulrich Drepper <drepper@gmail.com>
12448
12449 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
12450 result of SYSDEP_GETTIME_CPU to retval.
12451 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
12452 parameter list to macro. Remove trailing semicolon. Adjust users.
12453
12454 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
12455 variable.
12456
12457 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
12458 mantissa words.
12459 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12460
12461 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
12462 from unused variable.
12463
12464 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12465 DWARF definitions.
12466 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12467 for assembling.
12468
12469 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12470 over namespaces.
12471
12472 * sunrpc/rpc_prot.c (rejected): Fix case value.
12473
12474 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12475 unsigned long long int to avoid warnings in shift.
12476
12477 * posix/regex_internal.c (re_string_reconstruct): Actually use result
12478 of use of trans.
12479 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12480 variable tmp.
12481
12482 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12483 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12484 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12485
12486 * nis/nis_table.c (nis_list): Use variable of correct type for
12487 result of __follow_path call.
12488
12489 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12490
12491 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12492 of math functions ceil, trunc, floor, round, and sqrt, when
12493 avaliable on the platform.
12494 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12495 name clash.
12496 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12497 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12498 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12499
12500 2011-10-30 Marek Polacek <mpolacek@redhat.com>
12501
12502 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12503 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12504
12505 2011-11-11 Roland McGrath <roland@hack.frob.com>
12506
12507 * include/unistd.h: Fix __readlink return type.
12508 Reported by Chris Metcalf <cmetcalf@tilera.com>.
12509
12510 2011-11-11 Ulrich Drepper <drepper@gmail.com>
12511
12512 * stdlib/ucontext.h: Undo last change for makecontext.
12513
12514 2011-11-11 Andreas Schwab <schwab@redhat.com>
12515
12516 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12517
12518 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12519 * setjmp/setjmp.h: Mark functions as non-leaf.
12520 * setjmp/bits/setjmp2.h: Likewise.
12521 * stdlib/ucontext.h: Likewise.
12522
12523 2011-11-10 Andreas Schwab <schwab@redhat.com>
12524
12525 * malloc/arena.c (_int_new_arena): Don't increment narenas.
12526 (reused_arena): Don't check arena limit.
12527 (arena_get2): Atomically check arena limit.
12528
12529 2011-11-08 Ulrich Drepper <drepper@gmail.com>
12530
12531 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12532 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12533
12534 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12535 instructions.
12536
12537 2011-11-07 Andreas Schwab <schwab@redhat.com>
12538
12539 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12540 handler when locking.
12541
12542 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12543 Fix size of allocated buffer.
12544
12545 2011-11-04 Andreas Schwab <schwab@redhat.com>
12546
12547 [BZ #10103]
12548 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12549 declarations for long double functions.
12550 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12551
12552 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12553
12554 2011-11-03 Andreas Schwab <schwab@redhat.com>
12555
12556 * nscd/nscd.c (main): Don't start AVC thread until credentials are
12557 installed.
12558
12559 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
12560 is disabled.
12561
12562 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12563
12564 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
12565
12566 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
12567
12568 * include/alloca.h (stackinfo_alloca_round): Define.
12569 (extend_alloca): Use it.
12570 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
12571 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
12572 here.
12573
12574 * scripts/check-local-headers.sh: Ignore libaudit.h.
12575
12576 * nscd/Makefile (extra-objs): Make recursively expanded.
12577
12578 2011-11-01 Ulrich Drepper <drepper@gmail.com>
12579
12580 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
12581 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12582
12583 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
12584 * posix/tst-rfc3484-2.c: Likewise.
12585 * posix/tst-rfc3484-3.c: Likewise.
12586
12587 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12588 process_vm_writev.
12589 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
12590 process_vm_writev.
12591 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
12592 process_vm_writev from libc using GLIBC_2.15 version.
12593
12594 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
12595
12596 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12597
12598 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
12599 stack usage.
12600
12601 2011-10-31 Ulrich Drepper <drepper@gmail.com>
12602
12603 [BZ #13367]
12604 * nss/getent.c (initgroups_keys): Show error message in case no group
12605 names are given.
12606
12607 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
12608 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
12609 __bump_nl_timestamp.
12610 * nscd/connections (nscd_init): When host database is served open
12611 netlink socket and request notification about configuration changes.
12612 (main_loop_poll): Track netlink file descriptor and bump timestamp
12613 in case data becomes available.
12614 (main_loop_epoll): Likewise.
12615 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
12616 (database_pers_head): Add extra_data fileds.
12617 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
12618 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
12619 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
12620 Adjust caller.
12621 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
12622 in6ai data, call __free_in6ai.
12623 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
12624 Add -DHAVE_NETLINK.
12625 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
12626 interface information. Reuse previous data if netlink timestamp
12627 is not changed.
12628 (__bump_nl_timestamp): New function.
12629 (__free_in6ai): New function.
12630
12631 2011-10-30 Ulrich Drepper <drepper@gmail.com>
12632
12633 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
12634 close_not_cancel_no_status here.
12635 (__check_pf): Reorganize code a bit to not call close twice if OOM.
12636
12637 2011-10-29 Ulrich Drepper <drepper@gmail.com>
12638
12639 [BZ #13276]
12640 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
12641 return value.
12642
12643 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
12644 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
12645 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
12646
12647 2011-07-03 Andreas Jaeger <aj@suse.de>
12648
12649 [BZ #10709]
12650 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
12651 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
12652 * math/libm-test.inc (sin_test): Add test case.
12653
12654 2011-10-29 Ulrich Drepper <drepper@gmail.com>
12655
12656 [BZ #13337]
12657 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
12658 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12659
12660 * elf/chroot_canon.c (chroot_canon): Cleanups.
12661
12662 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
12663
12664 [BZ #13335]
12665 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
12666 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12667
12668 * string/test-strchr.c: Make usable for strchrnul testing.
12669 * string/test-strchrnul.c: New file.
12670 * string/Makefile (strop-tests): Add strchrnul.
12671
12672 * po/it.po: Update from translation team.
12673 * po/es.po: Likewise.
12674
12675 2011-10-28 Ulrich Drepper <drepper@gmail.com>
12676
12677 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
12678 the three constants needed as parameters. Drop the others.
12679 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
12680 __m128i_strloadu_tolower.
12681 Create and initialize variable zero and use it in all the places
12682 where _mm_setzero_si128 was used.
12683
12684 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
12685 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
12686 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
12687 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
12688 anymore.
12689 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
12690 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
12691 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
12692 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
12693 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
12694 __mpranred, __mptan.
12695 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
12696 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
12697 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
12698 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
12699 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
12700 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
12701 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
12702 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
12703 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
12704
12705 2011-10-28 Andreas Schwab <schwab@redhat.com>
12706
12707 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
12708 redefine if SHARED.
12709 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
12710
12711 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
12712 wide char related routines to wcsmbs subdir.
12713
12714 2011-10-27 Andreas Schwab <schwab@redhat.com>
12715
12716 [BZ #13344]
12717 * misc/sys/cdefs.h (__THROWNL): Define.
12718 * posix/unistd.h: Use __THREADNL instead of __THREAD
12719 for memory synchronization functions.
12720
12721 2011-10-26 Roland McGrath <roland@hack.frob.com>
12722
12723 [BZ #13349]
12724 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
12725 doesn't exist.
12726 * manual/stdio.texi (Obstack Streams): Node removed.
12727
12728 2011-10-26 Andreas Schwab <schwab@redhat.com>
12729
12730 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
12731 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12732 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12733
12734 * math/math_private.h (math_force_eval): Allow non-addressable
12735 arguments.
12736 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
12737
12738 2011-10-25 Ulrich Drepper <drepper@gmail.com>
12739
12740 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
12741 file is not needed.
12742
12743 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
12744 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12745 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12746 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12747 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12748 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12749 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12750 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
12751 Add AVX variants.
12752 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
12753 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
12754 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
12755 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
12756 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
12757 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
12758 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
12759 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
12760 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
12761 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
12762 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
12763 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
12764 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
12765 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
12766 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
12767 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
12768 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
12769 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
12770 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
12771
12772 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
12773 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
12774
12775 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
12776 place. Use VEX encoding when compiling for AVX.
12777
12778 2011-10-25 Andreas Schwab <schwab@redhat.com>
12779
12780 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
12781 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12782
12783 * string/test-strchr.c (do_test): Don't generate NUL bytes.
12784
12785 2011-10-25 Ulrich Drepper <drepper@gmail.com>
12786
12787 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
12788 useless if() expression.
12789 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12790 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12791 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12792 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12793 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12794 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12795 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12796 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12797 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12798 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12799 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12800 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12801 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12802 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12803 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12804 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12805 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12806 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12807 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12808
12809 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
12810
12811 2011-10-25 Andreas Schwab <schwab@redhat.com>
12812
12813 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
12814 condition.
12815 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12816
12817 2011-10-25 Ulrich Drepper <drepper@gmail.com>
12818
12819 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
12820 .text section. Avoid duplicate constants.
12821 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12822 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12823 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12824 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12825 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12826 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12827 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12828 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12829 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12830 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
12831 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12832 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12833 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12834 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12835 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12836 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12837 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12838 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12839 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12840 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12841 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12842 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12843 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12844 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
12845 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
12846 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
12847 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
12848 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
12849 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
12850 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
12851 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
12852 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
12853 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12854 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
12855 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
12856 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
12857 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
12858 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
12859 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
12860 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
12861 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
12862 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
12863 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
12864 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
12865 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
12866
12867 2011-10-24 Ulrich Drepper <drepper@gmail.com>
12868
12869 * sysdeps/x86_64/dla.h: Move to ...
12870 * sysdeps/x86_64/fpu/dla.h: ...here.
12871 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
12872 situations. Use __builtin_fma only for gcc 4.6 and up.
12873
12874 * config.make.in: Add have-mfma4 entry.
12875 * configure.in: Substitute libc_cv_cc_fma4.
12876 * math/Makefile (dbl-only-routines): Add sincostab.
12877 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
12878 Use __sincostab not sincos.
12879 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
12880 name is a macro.
12881 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12882 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12883 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12884 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
12885 using __copysign.
12886 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
12887 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
12888 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
12889 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
12890 and __inv.
12891 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
12892 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
12893 __copysign.
12894 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
12895 define aliases when function name is a macro.
12896 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
12897 sysdeps/ieee754/dbl-64/sincos.tbl.
12898 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
12899 fma4-enabled routines.
12900 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
12901 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
12902 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
12903 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
12904 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
12905 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
12906 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
12907 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
12908 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
12909 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
12910 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
12911 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
12912 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
12913 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
12914 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
12915 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
12916 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
12917 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
12918 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
12919 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
12920 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
12921 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
12922 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
12923 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
12924 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
12925 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
12926 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
12927 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
12928 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
12929 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
12930
12931 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
12932 rename.
12933 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12934 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12935 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12936 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12937 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12938 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12939 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12940 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12941
12942 2011-10-24 Andreas Schwab <schwab@redhat.com>
12943
12944 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
12945
12946 2011-10-23 Ulrich Drepper <drepper@gmail.com>
12947
12948 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
12949
12950 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
12951 prediction.
12952 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
12953
12954 * string/strnlen.c: Don't define STRNLEN, reverse logic.
12955 Remove unused variable magic_bits.
12956 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
12957
12958 * string/strnlen.c: Define and use STRNLEN macro.
12959 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
12960 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
12961 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
12962 * wcsmbs/wcslen.c: Define and use WCSLEN.
12963 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
12964 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
12965 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
12966 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
12967 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
12968 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
12969 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12970
12971 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12972
12973 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12974 strnlen-sse2-no-bsf.
12975 Rename strlen-no-bsf to strlen-sse2-no-bsf.
12976 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
12977 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
12978 Add strnlen support.
12979 (USE_AS_STRNLEN): New macro.
12980 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
12981 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
12982 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
12983 * sysdeps/x86_64/wcslen.S: New file.
12984
12985 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
12986
12987 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12988 XMM-moves are used for copying on small sizes.
12989
12990 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12991
12992 * wcsmbs/Makefile (strop-tests): Add wcschr.
12993 * wcsmbs/test-wcschr.c: New file.
12994 * string/test-strchr.c: Update.
12995 Add wcschr support.
12996 (WIDE): New macro.
12997
12998 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12999
13000 * wcsmbs/Makefile (strop-tests): Add wcslen.
13001 * wcsmbs/test-wcslen.c: New file.
13002 * string/test-strlen.c: Update.
13003 Add wcslen support.
13004 (WIDE): New macro.
13005
13006 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13007
13008 * po/it.po: Update from translation team.
13009
13010 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13011
13012 * sysdeps/x86_64/wcscmp.S: Update.
13013 Fix wrong comparison semantics.
13014 wcscmp shall use signed comparison not unsigned.
13015 Don't use substraction to avoid overflow bug.
13016 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13017 * wcsmbc/wcscmp.c: Likewise.
13018 * string/test-strcmp.c: Likewise.
13019 Add new tests to check cases with negative values.
13020
13021 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13022
13023 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
13024 * sysdeps/x86_64/dla.h: ...here. New file.
13025 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
13026 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13027 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13028 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13029 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13030 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13031 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13032 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13033 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13034
13035 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
13036
13037 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
13038 __ynl_finite aliases.
13039
13040 2011-10-22 Ulrich Drepper <drepper@gmail.com>
13041
13042 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13043
13044 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
13045 define DLA_FMA.
13046 [DLA_FMA] (EMULV): Use DLA_FMA.
13047 [DLA_FMA] (MUL12): Use EMULV.
13048 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
13049 that are not needed.
13050 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13051 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13052 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13053 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13054 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13055 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13056 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13057
13058 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
13059
13060 * math/s_nan.c: Undef __nan.
13061 * math/s_nanf.c: Undef __nanf.
13062 * math/s_nanl.c: Undef __nanl.
13063 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
13064 "math_private.h".
13065
13066 2011-10-22 Ulrich Drepper <drepper@gmail.com>
13067
13068 * math/s_catan.c: Add branch predictions.
13069 * math/s_catanf.c: Likewise.
13070 * math/s_catanh.c: Likewise.
13071 * math/s_catanhf.c: Likewise.
13072 * math/s_catanhl.c: Likewise.
13073 * math/s_catanl.c: Likewise.
13074 * math/s_cexp.c: Likewise.
13075 * math/s_cexpf.c: Likewise.
13076 * math/s_cexpl.c: Likewise.
13077 * math/s_clog.c: Likewise.
13078 * math/s_clog10.c: Likewise.
13079 * math/s_clog10f.c: Likewise.
13080 * math/s_clog10l.c: Likewise.
13081 * math/s_clogf.c: Likewise.
13082 * math/s_clogl.c: Likewise.
13083 * math/s_csqrt.c: Likewise.
13084 * math/s_csqrtf.c: Likewise.
13085 * math/s_csqrtl.c: Likewise.
13086 * math/s_ctanf.c: Likewise.
13087 * math/s_ctanh.c: Likewise.
13088 * math/s_ctanhf.c: Likewise.
13089 * math/s_ctanhl.c: Likewise.
13090 * math/s_ctanl.c: Likewise.
13091
13092 * math/math_private.h: Define __nan, __nanf, __nanl.
13093 * math/s_cacosh.c: Include <math_private.h>.
13094 * math/s_cacoshl.c: Likewise.
13095 * math/s_casinh.c: Likewise.
13096 * math/s_casinhf.c: Likewise.
13097 * math/s_casinhl.c: Likewise.
13098 * math/s_ccos.c: Rely entire on ccosh.
13099 * math/s_ccosf.c: Rely entire on ccoshf.
13100 * math/s_ccosl.c: Rely entirely on ccoshl.
13101 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
13102 Remove tests for FE_INVALID.
13103 * math/s_ccoshf.c: Likewise.
13104 * math/s_ccoshl.c: Likewise.
13105 * math/s_csin.c: Likewise.
13106 * math/s_csinf.c: Likewise.
13107 * math/s_csinh.c Likewise.
13108 * math/s_csinhf.c: Likewise.
13109 * math/s_csinhl.c: Likewise.
13110 * math/s_csinl.c: Likewise.
13111 * math/s_ctan.c: Likewise.
13112 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
13113 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
13114 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
13115
13116 2011-10-21 Ulrich Drepper <drepper@gmail.com>
13117
13118 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
13119 compilation problems.
13120
13121 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
13122 __builtin_expect.
13123
13124 2011-10-20 Ulrich Drepper <drepper@gmail.com>
13125
13126 * sysdeps/i386/configure.in: Test for -mfma4 option.
13127 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
13128 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
13129 COMMON_CPUID_INDEX_80000001.
13130 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
13131 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
13132 use it if FMA3 is not supported.
13133 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13134
13135 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
13136 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13137
13138 2011-10-20 Andreas Schwab <schwab@redhat.com>
13139
13140 [BZ #12892]
13141 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
13142 it would create a cycle with a link time dependency.
13143
13144 2011-10-19 Ulrich Drepper <drepper@gmail.com>
13145
13146 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
13147 instruction.
13148 * string/Makefile (strop-tests): Add rawmemchr.
13149 * string/test-rawmemchr.c: New file.
13150
13151 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
13152 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
13153 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
13154 when compiling str{,n}casecmp and when AVX is available. Hook up
13155 new optimized code in initializers.
13156
13157 2011-10-19 Andreas Schwab <schwab@redhat.com>
13158
13159 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
13160 __feraiseexcept instead of feraiseexcept.
13161
13162 2011-10-18 Ulrich Drepper <drepper@gmail.com>
13163
13164 * math/math_private.h: Define defaults for libc_fetestexcept and
13165 libc_feupdateenv.
13166 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
13167 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13168 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13169 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13170 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13171 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13172 libc_fetestexcept and libc_feupdateenv.
13173
13174 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
13175 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
13176 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
13177 * sysdeps/x86_64/fpu/math_private.h: Define special version of
13178 libc_feholdexcept_setround.
13179
13180 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
13181 Add s_nearbyint-c and s_nearbyintf-c.
13182 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
13183 nearbyintf inlines.
13184 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
13185 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
13186 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
13187 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
13188
13189 * math/math_private.h: Define defaults for libc_fegetround,
13190 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
13191 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
13192 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
13193 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
13194 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
13195 standard functions.
13196 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13197 Remove comments and hacks for old compiler versions.
13198 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13199 libc_fegetround, libc_fesetround, libc_feholdexcept, and
13200 libc_feholdexceptl.
13201
13202 2011-10-18 Andreas Schwab <schwab@redhat.com>
13203
13204 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
13205 (__feraiseexcept_renamed): Add __NTH.
13206 (feraiseexcept): Add __NTH. Rename local variables to fix
13207 namespace violations.
13208
13209 2011-10-17 Ulrich Drepper <drepper@gmail.com>
13210
13211 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
13212
13213 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
13214
13215 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
13216 recently added interfaces.
13217 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
13218
13219 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
13220 about macro parameter expansion.
13221
13222 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
13223 __NO_MATH_INLINES is defined. Cleanups.
13224
13225 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
13226 and __floorf is target has SSE4.1.
13227 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
13228 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
13229 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
13230 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
13231
13232 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
13233 name.
13234 (floorf): Likewise.
13235
13236 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
13237
13238 2011-10-17 Andreas Schwab <schwab@redhat.com>
13239
13240 * misc/sys/cdefs.h: Fix last change.
13241
13242 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
13243 database lookup.
13244
13245 2011-10-16 Ulrich Drepper <drepper@gmail.com>
13246
13247 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
13248
13249 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
13250 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13251 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13252 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13253 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13254 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13255 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13256 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13257 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13258 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
13259 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
13260 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
13261 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
13262 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
13263 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
13264 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
13265 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
13266 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
13267 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
13268 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
13269 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
13270 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
13271
13272 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
13273 ceil, ceilf, floor, floorf.
13274
13275 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
13276 Perform IRELATIVE relocations last.
13277
13278 * elf/do-rel.h: Add another parameter nrelative, replacing the
13279 local variable with the same name. Change name of the function
13280 to end in Rel or Rela (uppercase).
13281 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
13282 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
13283 elf_dynamic_do_##reloc function.
13284
13285 2011-10-15 Ulrich Drepper <drepper@gmail.com>
13286
13287 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
13288 is sufficient, at least on modern CPUs.
13289
13290 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
13291
13292 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
13293 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
13294
13295 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
13296 __expl_finite.
13297 * math/bits/math-finite.h: Add entries for exp.
13298 * math/e_expl.c: Add __*_finite alias.
13299 * sysdeps/i386/fpu/e_exp.S: Likewise.
13300 * sysdeps/i386/fpu/e_expf.S: Likewise.
13301 * sysdeps/i386/fpu/e_expl.c: Likewise.
13302 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13303 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13304 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13305 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13306 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
13307 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13308 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13309
13310 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
13311 is sufficient, at least on modern CPUs.
13312
13313 * ctype/ctype-info.c (__ctype_init): Define.
13314 * include/ctype.h (__ctype_init): Declare.
13315 (__ctype_b_loc): The variable is always initialized.
13316 (__ctype_toupper_loc): Likewise.
13317 (__ctype_tolower_loc): Likewise.
13318 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
13319 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
13320
13321 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
13322
13323 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
13324
13325 * configure.in: Also look in $cxxmachine/include for C++ system
13326 headers.
13327
13328 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13329
13330 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
13331 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
13332 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
13333 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
13334 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
13335 (USE_AS_WMEMCMP): New macro.
13336 Fixing indents.
13337 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
13338 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
13339 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
13340 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
13341 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13342 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
13343 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
13344 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
13345 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
13346 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
13347 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
13348 (USE_AS_WMEMCMP): New macro.
13349 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
13350 * sysdeps/string/test-memcmp.c: Update.
13351 Fix simple_wmemcmp.
13352 Add new tests.
13353 * wcsmbs/wmemcmp.c: Update.
13354 (WMEMCMP): New macro.
13355 Fix overflow bug.
13356
13357 2011-10-12 Andreas Jaeger <aj@suse.de>
13358
13359 [BZ #13268]
13360 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
13361
13362 2011-10-15 Ulrich Drepper <drepper@gmail.com>
13363
13364 * libio/iofwide.c (do_length): Avoid warning.
13365
13366 * ctype/ctype.h (__isctype_f): Add missing __THROW.
13367
13368 2011-10-14 Ulrich Drepper <drepper@gmail.com>
13369
13370 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
13371
13372 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
13373 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
13374 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
13375 * sysdeps/i386/i686/fpu/e_log.S: New file.
13376 * sysdeps/i386/i686/fpu/e_logf.S: New file.
13377 * sysdeps/i386/i686/fpu/e_logl.S: New file.
13378
13379 * ctype/ctype.h: Add support for inlined isXXX functions when
13380 compiling C++ code.
13381
13382 2011-10-14 Andreas Schwab <schwab@redhat.com>
13383
13384 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13385
13386 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
13387
13388 2011-10-13 Roland McGrath <roland@hack.frob.com>
13389
13390 [BZ #13291]
13391 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
13392
13393 2011-10-13 Andreas Schwab <schwab@redhat.com>
13394
13395 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
13396 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
13397 feraiseexcept.
13398
13399 * sysdeps/x86_64/memrchr.S: Check for zero size.
13400
13401 * string/stratcliff.c: Add memrchr tests.
13402
13403 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13404
13405 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13406 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
13407 rawmemchr-sse2 rawmemchr-sse2-bsf.
13408 * sysdeps/i386/i686/multiarch/memchr.S: New file.
13409 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
13410 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
13411 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
13412 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
13413 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
13414 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
13415 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
13416 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
13417 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
13418 * string/memrchr.c (MEMRCHR): New macro.
13419
13420 2011-10-12 Ulrich Drepper <drepper@gmail.com>
13421
13422 Add integration with gcc's -ffinite-math-only and optimize wrapper
13423 functions in libm.
13424 * Versions.def: Define GLIBC_2.15 version for libm.
13425 * math/Makefile (headers): Add bits/math-finite.h.
13426 * math/bits/math-finite.h: New file.
13427 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
13428 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
13429 * math/e_acoshl.c: Add __*_finite alias.
13430 * math/e_acosl.c: Likewise.
13431 * math/e_asinl.c: Likewise.
13432 * math/e_atan2l.c: Likewise.
13433 * math/e_atanhl.c: Likewise.
13434 * math/e_coshl.c: Likewise.
13435 * math/e_exp10.c: Likewise.
13436 * math/e_exp10f.c: Likewise.
13437 * math/e_exp10l.c: Likewise.
13438 * math/e_exp2l.c: Likewise.
13439 * math/e_fmodl.c: Likewise.
13440 * math/e_gammal_r.c: Likewise.
13441 * math/e_hypotl.c: Likewise.
13442 * math/e_j0l.c: Likewise.
13443 * math/e_j1l.c: Likewise.
13444 * math/e_jnl.c: Likewise.
13445 * math/e_lgammal_r.c: Likewise.
13446 * math/e_log10l.c: Likewise.
13447 * math/e_log2l.c: Likewise.
13448 * math/e_logl.c: Likewise.
13449 * math/e_powl.c: Likewise.
13450 * math/e_sinhl.c: Likewise.
13451 * math/e_sqrtl.c: Likewise.
13452 * math/e_scalb.c: Completely rewritten and optimized.
13453 * math/e_scalbf.c: Likewise.
13454 * math/e_scalbl.c: Likewise.
13455 * math/w_acos.c: Likewise.
13456 * math/w_acosf.c: Likewise.
13457 * math/w_acosl.c: Likewise.
13458 * math/w_acosh.c: Likewise.
13459 * math/w_acoshf.c: Likewise.
13460 * math/w_acoshl.c: Likewise.
13461 * math/w_asin.c: Likewise.
13462 * math/w_asinf.c: Likewise.
13463 * math/w_asinl.c: Likewise.
13464 * math/w_atan2.c: Likewise.
13465 * math/w_atan2f.c: Likewise.
13466 * math/w_atan2l.c: Likewise.
13467 * math/w_atanh.c: Likewise.
13468 * math/w_atanhf.c: Likewise.
13469 * math/w_atanhl.c: Likewise.
13470 * math/w_exp10.c: Likewise.
13471 * math/w_exp10f.c: Likewise.
13472 * math/w_exp10l.c: Likewise.
13473 * math/w_fmod.c: Likewise.
13474 * math/w_fmodf.c: Likewise.
13475 * math/w_fmodl.c: Likewise.
13476 * math/w_j0.c: Likewise.
13477 * math/w_j0f.c: Likewise.
13478 * math/w_j0l.c: Likewise.
13479 * math/w_j1.c: Likewise.
13480 * math/w_j1f.c: Likewise.
13481 * math/w_j1l.c: Likewise.
13482 * math/w_jn.c: Likewise.
13483 * math/w_jnf.c: Likewise.
13484 * math/w_log.c: Likewise.
13485 * math/w_logf.c: Likewise.
13486 * math/w_logl.c: Likewise.
13487 * math/w_log10.c: Likewise.
13488 * math/w_log10f.c: Likewise.
13489 * math/w_log10l.c: Likewise.
13490 * math/w_log2.c: Likewise.
13491 * math/w_log2f.c: Likewise.
13492 * math/w_log2l.c: Likewise.
13493 * math/w_pow.c: Likewise.
13494 * math/w_powf.c: Likewise.
13495 * math/w_powl.c: Likewise.
13496 * math/w_remainder.c: Likewise.
13497 * math/w_remainderf.c: Likewise.
13498 * math/w_remainderl.c: Likewise.
13499 * math/w_scalb.c: Likewise.
13500 * math/w_scalbf.c: Likewise.
13501 * math/w_scalbl.c: Likewise.
13502 * math/w_sqrt.c: Likewise.
13503 * math/w_sqrtf.c: Likewise.
13504 * math/w_sqrtl.c: Likewise.
13505 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13506 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
13507 used.
13508 * math/math_private.h: Declare __kernel_standard_f.
13509 * math/w_cosh.c: Remove cruft and optimize a bit.
13510 * math/w_coshf.c: Likewise.
13511 * math/w_coshl.c: Likewise.
13512 * math/w_exp2.c: Likewise.
13513 * math/w_exp2f.c: Likewise.
13514 * math/w_exp2l.c: Likewise.
13515 * math/w_hypot.c: Likewise.
13516 * math/w_hypotf.c: Likewise.
13517 * math/w_hypotl.c: Likewise.
13518 * math/w_lgamma.c: Likewise.
13519 * math/w_lgamma_r.c: Likewise.
13520 * math/w_lgammaf.c: Likewise.
13521 * math/w_lgammaf_r.c: Likewise.
13522 * math/w_lgammal.c: Likewise.
13523 * math/w_lgammal_r.c: Likewise.
13524 * math/w_sinh.c: Likewise.
13525 * math/w_sinhf.c: Likewise.
13526 * math/w_sinhl.c: Likewise.
13527 * math/w_tgamma.c: Likewise.
13528 * math/w_tgammaf.c: Likewise.
13529 * math/w_tgammal.c: Likewise.
13530 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13531 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13532 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13533 Minor optimizations. Pretty printing. Remove cruft.
13534 * sysdeps/i386/fpu/e_acosf.S: Likewise.
13535 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13536 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13537 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13538 * sysdeps/i386/fpu/e_acosl.c: Likewise.
13539 * sysdeps/i386/fpu/e_asin.S: Likewise.
13540 * sysdeps/i386/fpu/e_asinf.S: Likewise.
13541 * sysdeps/i386/fpu/e_atan2.S: Likewise.
13542 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13543 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13544 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13545 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13546 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13547 * sysdeps/i386/fpu/e_exp10.S: Likewise.
13548 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13549 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13550 * sysdeps/i386/fpu/e_exp2.S: Likewise.
13551 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13552 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13553 * sysdeps/i386/fpu/e_fmod.S: Likewise.
13554 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13555 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13556 * sysdeps/i386/fpu/e_hypot.S: Likewise.
13557 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
13558 * sysdeps/i386/fpu/e_log.S: Likewise.
13559 * sysdeps/i386/fpu/e_log10.S: Likewise.
13560 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13561 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13562 * sysdeps/i386/fpu/e_log2.S: Likewise.
13563 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13564 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13565 * sysdeps/i386/fpu/e_logf.S: Likewise.
13566 * sysdeps/i386/fpu/e_logl.S: Likewise.
13567 * sysdeps/i386/fpu/e_pow.S: Likewise.
13568 * sysdeps/i386/fpu/e_powf.S: Likewise.
13569 * sysdeps/i386/fpu/e_powl.S: Likewise.
13570 * sysdeps/i386/fpu/e_remainder.S: Likewise.
13571 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
13572 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
13573 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13574 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13575 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13576 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
13577 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
13578 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
13579 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13580 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13581 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13582 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13583 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13584 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13585 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13586 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13587 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13588 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13589 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13590 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13591 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13592 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13593 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13594 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13595 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13596 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13597 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13598 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13599 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13600 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13601 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13602 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13603 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13604 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13605 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13606 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13607 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13608 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13609 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13610 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13611 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13612 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13613 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13614 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13615 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13616 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13617 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13618 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13619 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13620 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13621 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13622 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13623 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13624 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13625 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13626 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13627 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13628 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13629 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13630 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13631 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13632 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13633 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13634 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13635 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13636 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13637 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13638 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13639 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13640 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13641 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13642 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13643 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13644 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13645 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13646 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13647 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13648 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13649 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13650 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13651 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13652 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13653 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13654 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13655 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13656 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13657 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13658 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13659 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13660 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13661 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13662 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13663 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13664 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13665 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13666 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13667 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13668 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13669 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13670 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13671 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13672 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13673 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13674 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13675 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13676 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13677 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13678 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13679 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
13680 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
13681 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
13682 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
13683 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13684 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13685 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13686 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13687 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
13688 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13689 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
13690 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
13691 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
13692 (__isnanf): Likewise.
13693 (__isinf_ns): Likewise.
13694 (__isinf_nsf): Likewise.
13695 (__finite): Likewise.
13696 (__finitef): Likewise.
13697 (__ieee754_sqrt): Define as macro.
13698 (__ieee754_sqrtf): Define as macro.
13699 (__ieee754_sqrtl): Define as macro.
13700 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
13701 inlined copy.
13702 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
13703 __FINITE_MATH_ONLY__ consistent.
13704 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
13705
13706 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
13707
13708 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
13709 of rawmemchr.
13710
13711 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
13712
13713 2011-10-09 Ulrich Drepper <drepper@gmail.com>
13714
13715 * po/ja.po: Update from translation team.
13716
13717 2011-10-08 Roland McGrath <roland@hack.frob.com>
13718
13719 * locale/programs/locarchive.c (prepare_address_space): New function.
13720 (create_archive, enlarge_archive, open_archive): Use it.
13721
13722 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
13723 inside [SHARED], where it is used.
13724
13725 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
13726
13727 * nss/getent.c (netgroup_keys): Remove unused variable.
13728 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13729
13730 2011-10-08 Ulrich Drepper <drepper@gmail.com>
13731
13732 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
13733 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
13734 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
13735 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
13736 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
13737 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
13738 * math/Makefile (libm-calls): Add s_isinf_ns.
13739 * math/divtc3.c: Use __isinf_nsl instead of isinf.
13740 * math/multc3.c: Likewise.
13741 * math/s_casin.c: Likewise.
13742 * math/s_casinf.c: Likewise.
13743 * math/s_casinl.c: Likewise.
13744 * math/s_ccos.c: Likewise.
13745 * math/s_ccosf.c: Likewise.
13746 * math/s_ccosl.c: Likewise.
13747 * math/s_ctan.c: Likewise.
13748 * math/s_ctanf.c: Likewise.
13749 * math/s_ctanh.c: Likewise.
13750 * math/s_ctanhf.c: Likewise.
13751 * math/s_ctanhl.c: Likewise.
13752 * math/s_ctanl.c: Likewise.
13753 * math/w_fmod.c: Likewise.
13754 * math/w_fmodf.c: Likewise.
13755 * math/w_fmodl.c: Likewise.
13756 * math/w_remainder.c: Likewise.
13757 * math/w_remainderf.c: Likewise.
13758 * math/w_remainderl.c: Likewise.
13759 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
13760 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
13761 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
13762 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
13763 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
13764 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
13765 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
13766 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
13767
13768 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
13769 of the number.
13770 * stdio-common/printf_fphex.c: Likewise.
13771 * stdio-common/printf_size.c: Likewise.
13772
13773 * math/e_exp10.c: Include math_private.h using <...> not "...".
13774 * math/e_exp10f.c: Likewise.
13775 * math/e_exp10l.c: Likewise.
13776 * math/e_exp2l.c: Likewise.
13777 * math/e_j0l.c: Likewise.
13778 * math/e_j1l.c: Likewise.
13779 * math/e_jnl.c: Likewise.
13780 * math/e_lgammal_r.c: Likewise.
13781 * math/e_rem_pio2l.c: Likewise.
13782 * math/e_scalb.c: Likewise.
13783 * math/e_scalbf.c: Likewise.
13784 * math/e_scalbl.c: Likewise.
13785 * math/k_cosl.c: Likewise.
13786 * math/k_sinl.c: Likewise.
13787 * math/k_tanl.c: Likewise.
13788 * math/s_cacoshf.c: Likewise.
13789 * math/s_catan.c: Likewise.
13790 * math/s_catanf.c: Likewise.
13791 * math/s_catanh.c: Likewise.
13792 * math/s_catanhf.c: Likewise.
13793 * math/s_catanhl.c: Likewise.
13794 * math/s_catanl.c: Likewise.
13795 * math/s_ccosh.c: Likewise.
13796 * math/s_ccoshf.c: Likewise.
13797 * math/s_ccoshl.c: Likewise.
13798 * math/s_cexp.c: Likewise.
13799 * math/s_cexpf.c: Likewise.
13800 * math/s_cexpl.c: Likewise.
13801 * math/s_clog.c: Likewise.
13802 * math/s_clog10.c: Likewise.
13803 * math/s_clog10f.c: Likewise.
13804 * math/s_clog10l.c: Likewise.
13805 * math/s_clogf.c: Likewise.
13806 * math/s_clogl.c: Likewise.
13807 * math/s_csin.c: Likewise.
13808 * math/s_csinf.c: Likewise.
13809 * math/s_csinh.c: Likewise.
13810 * math/s_csinhf.c: Likewise.
13811 * math/s_csinhl.c: Likewise.
13812 * math/s_csinl.c: Likewise.
13813 * math/s_csqrt.c: Likewise.
13814 * math/s_csqrtf.c: Likewise.
13815 * math/s_csqrtl.c: Likewise.
13816 * math/s_ctan.c: Likewise.
13817 * math/s_ctanf.c: Likewise.
13818 * math/s_ctanh.c: Likewise.
13819 * math/s_ctanhf.c: Likewise.
13820 * math/s_ctanhl.c: Likewise.
13821 * math/s_ctanl.c: Likewise.
13822 * math/s_ldexp.c: Likewise.
13823 * math/s_ldexpf.c: Likewise.
13824 * math/s_ldexpl.c: Likewise.
13825 * math/s_significand.c: Likewise.
13826 * math/s_significandf.c: Likewise.
13827 * math/s_significandl.c: Likewise.
13828 * math/w_acos.c: Likewise.
13829 * math/w_acosf.c: Likewise.
13830 * math/w_acosh.c: Likewise.
13831 * math/w_acoshf.c: Likewise.
13832 * math/w_acoshl.c: Likewise.
13833 * math/w_acosl.c: Likewise.
13834 * math/w_asin.c: Likewise.
13835 * math/w_asinf.c: Likewise.
13836 * math/w_asinl.c: Likewise.
13837 * math/w_atan2.c: Likewise.
13838 * math/w_atan2f.c: Likewise.
13839 * math/w_atan2l.c: Likewise.
13840 * math/w_atanh.c: Likewise.
13841 * math/w_atanhf.c: Likewise.
13842 * math/w_atanhl.c: Likewise.
13843 * math/w_cosh.c: Likewise.
13844 * math/w_coshf.c: Likewise.
13845 * math/w_coshl.c: Likewise.
13846 * math/w_dremf.c: Likewise.
13847 * math/w_exp10.c: Likewise.
13848 * math/w_exp10f.c: Likewise.
13849 * math/w_exp10l.c: Likewise.
13850 * math/w_exp2.c: Likewise.
13851 * math/w_exp2f.c: Likewise.
13852 * math/w_fmod.c: Likewise.
13853 * math/w_fmodf.c: Likewise.
13854 * math/w_fmodl.c: Likewise.
13855 * math/w_hypot.c: Likewise.
13856 * math/w_hypotf.c: Likewise.
13857 * math/w_hypotl.c: Likewise.
13858 * math/w_j0.c: Likewise.
13859 * math/w_j0f.c: Likewise.
13860 * math/w_j0l.c: Likewise.
13861 * math/w_j1.c: Likewise.
13862 * math/w_j1f.c: Likewise.
13863 * math/w_j1l.c: Likewise.
13864 * math/w_jn.c: Likewise.
13865 * math/w_jnf.c: Likewise.
13866 * math/w_jnl.c: Likewise.
13867 * math/w_lgamma.c: Likewise.
13868 * math/w_lgamma_r.c: Likewise.
13869 * math/w_lgammaf.c: Likewise.
13870 * math/w_lgammaf_r.c: Likewise.
13871 * math/w_lgammal.c: Likewise.
13872 * math/w_lgammal_r.c: Likewise.
13873 * math/w_log.c: Likewise.
13874 * math/w_log10.c: Likewise.
13875 * math/w_log10f.c: Likewise.
13876 * math/w_log10l.c: Likewise.
13877 * math/w_log2.c: Likewise.
13878 * math/w_log2f.c: Likewise.
13879 * math/w_log2l.c: Likewise.
13880 * math/w_logf.c: Likewise.
13881 * math/w_logl.c: Likewise.
13882 * math/w_pow.c: Likewise.
13883 * math/w_powf.c: Likewise.
13884 * math/w_powl.c: Likewise.
13885 * math/w_remainder.c: Likewise.
13886 * math/w_remainderf.c: Likewise.
13887 * math/w_remainderl.c: Likewise.
13888 * math/w_scalb.c: Likewise.
13889 * math/w_scalbf.c: Likewise.
13890 * math/w_scalbl.c: Likewise.
13891 * math/w_sinh.c: Likewise.
13892 * math/w_sinhf.c: Likewise.
13893 * math/w_sinhl.c: Likewise.
13894 * math/w_sqrt.c: Likewise.
13895 * math/w_sqrtf.c: Likewise.
13896 * math/w_sqrtl.c: Likewise.
13897 * math/w_tgamma.c: Likewise.
13898 * math/w_tgammaf.c: Likewise.
13899 * math/w_tgammal.c: Likewise.
13900
13901 * po/ja.po: Update from translation team.
13902
13903 2011-09-29 Andreas Jaeger <aj@suse.de>
13904
13905 [BZ #13179]
13906 * sunrpc/netname.c (netname2host): Fix logic.
13907
13908 [BZ #6779]
13909 [BZ #6783]
13910 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
13911 correctly.
13912 * math/w_remainder.c (__remainder): Likewise.
13913 * math/w_remainderf.c (__remainderf): Likewise.
13914 * math/libm-test.inc (remainder_test): Add test cases.
13915
13916 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13917
13918 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
13919 sdiv_qrnnd.
13920
13921 2011-10-07 Ulrich Drepper <drepper@gmail.com>
13922
13923 * string/test-memcmp.c: Avoid unncessary #defines.
13924 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13925
13926 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13927
13928 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
13929 Use new sse2 version for core i3 - i7 as it's faster
13930 than sse42 version.
13931 (bit_Prefer_PMINUB_for_stringop): New.
13932 * sysdeps/x86_64/rawmemchr.S: Update.
13933 Replace with faster SSE2 version.
13934 * sysdeps/x86_64/memrchr.S: New file.
13935 * sysdeps/x86_64/memchr.S: Update.
13936 Replace with faster SSE2 version.
13937
13938 2011-09-12 Marek Polacek <mpolacek@redhat.com>
13939
13940 * elf/dl-load.c (lose): Add cast to avoid warning.
13941
13942 2011-10-07 Ulrich Drepper <drepper@gmail.com>
13943
13944 * po/ca.po: Update from translation team.
13945
13946 * inet/getnetgrent_r.c: Hook up nscd.
13947 * nscd/Makefile (routines): Add nscd_netgroup.
13948 (nscd-modules): Add netgroupcache.
13949 (CFLAGS-netgroupcache.c): Define.
13950 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
13951 (cache_search): Add const to second parameter.
13952 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
13953 INNETGR.
13954 (dbs): Add netgrdb entry.
13955 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
13956 (verify_persistent_db): Handle netgrdb.
13957 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
13958 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
13959 GETFDNETGR.
13960 (netgroup_response_header): Define.
13961 (innetgroup_response_header): Define.
13962 (datahead): Add netgroup_response_header and innetgroup_response_header
13963 elements.
13964 * nscd/nscd.conf: Add entries for netgroup cache.
13965 * nscd/nscd.h (dbtype): Add netgrdb.
13966 (_PATH_NSCD_NETGROUP_DB): Define.
13967 (netgroup_iov_disabled): Declare.
13968 (xmalloc, xcalloc, xrealloc): Move declarations here.
13969 (cache_search): Adjust prototype.
13970 Add netgroup-related prototypes.
13971 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
13972 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
13973 (__nscd_innetgr): Declare.
13974 * nscd/selinux.c (perms): Use access_vector_t as element type and
13975 add netgroup-related initializers.
13976 * nscd/netgroupcache.c: New file.
13977 * nscd/nscd_netgroup.c: New file.
13978 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
13979 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
13980 For four parameters use innetgr.
13981 * nss/nss_files/files-init.c: Add definition and callback for netgr.
13982 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
13983 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
13984 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
13985
13986 * nscd/connections.c (register_traced_file): Don't register file
13987 for disabled databases.
13988
13989 2011-10-06 Ulrich Drepper <drepper@gmail.com>
13990
13991 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
13992
13993 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
13994 from tree and freeing node.
13995
13996 2011-09-25 Jiri Olsa <jolsa@redhat.com>
13997
13998 * nss/nsswitch.c (__nss_database_lookup): Handle
13999 nss_parse_service_list out of memory case.
14000
14001 2011-09-15 Jiri Olsa <jolsa@redhat.com>
14002
14003 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
14004 out of memory case.
14005
14006 2011-10-04 Andreas Schwab <schwab@redhat.com>
14007
14008 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
14009 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
14010 pass it down.
14011 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
14012 elf_machine_rela, elf_machine_lazy_rel.
14013 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
14014 (ELF_DYNAMIC_DO_REL): Likewise.
14015 (ELF_DYNAMIC_DO_RELA): Likewise.
14016 (ELF_DYNAMIC_RELOCATE): Likewise.
14017 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
14018 to ELF_DYNAMIC_DO_REL.
14019 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
14020 (dl_main): In trace mode always set __RTLD_NOIFUNC.
14021 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
14022 elf_machine_rela.
14023 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
14024 skip_ifunc, don't call ifunc function if non-zero.
14025 (elf_machine_rela): Likewise.
14026 (elf_machine_lazy_rel): Likewise.
14027 (elf_machine_lazy_rela): Likewise.
14028 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14029 (elf_machine_lazy_rel): Likewise.
14030 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14031 Likewise.
14032 (elf_machine_lazy_rel): Likewise.
14033 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14034 Likewise.
14035 (elf_machine_lazy_rel): Likewise.
14036 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
14037 (elf_machine_lazy_rel): Likewise.
14038 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
14039 (elf_machine_lazy_rel): Likewise.
14040 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14041 (elf_machine_lazy_rel): Likewise.
14042 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
14043 (elf_machine_lazy_rel): Likewise.
14044 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
14045 (elf_machine_lazy_rel): Likewise.
14046 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14047 (elf_machine_lazy_rel): Likewise.
14048
14049 2011-09-28 Ulrich Drepper <drepper@gmail.com>
14050
14051 * nss/nss_files/files-init.c (_nss_files_init): Use static
14052 initialization for all the *_traced_file variables.
14053
14054 2011-09-28 Andreas Schwab <schwab@redhat.com>
14055
14056 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14057
14058 2011-09-27 Roland McGrath <roland@hack.frob.com>
14059
14060 [BZ #13226]
14061 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
14062
14063 2011-09-27 Andreas Schwab <schwab@redhat.com>
14064
14065 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14066 Reread the line before reparsing it.
14067
14068 2011-09-26 Andreas Schwab <schwab@redhat.com>
14069
14070 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
14071
14072 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
14073 Maxim Kuvyrkov <maxim@codesourcery.com>
14074 Joseph Myers <joseph@codesourcery.com>
14075
14076 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
14077 if needed for __stack_chk_guard.
14078
14079 2011-09-19 Roland McGrath <roland@hack.frob.com>
14080
14081 * sysdeps/posix/spawni.c (script_execute): Always define it.
14082 It will be optimized away if unused.
14083 (maybe_script_execute): New function.
14084 (__spawni): Call it.
14085
14086 * Makerules: Don't include tls.make.
14087 (config-tls): Always set to thread.
14088 * tls.make.c: File removed.
14089
14090 2011-09-19 Mike Frysinger <vapier@gentoo.org>
14091
14092 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
14093 * config.make.in (CPPFLAGS-config): New substituted variable.
14094
14095 2011-09-15 Ulrich Drepper <drepper@gmail.com>
14096
14097 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
14098
14099 [BZ #13192]
14100 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
14101 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
14102
14103 2011-09-15 Roland McGrath <roland@hack.frob.com>
14104
14105 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
14106 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
14107 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14108 (CALL_FAIL): Likewise.
14109 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
14110 (CALL_FAIL): Macro removed.
14111 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
14112
14113 2011-09-15 Ulrich Drepper <drepper@gmail.com>
14114
14115 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
14116 for __FINITE_MATH_ONLY__ == 1.
14117
14118 2011-09-15 Andreas Schwab <schwab@redhat.com>
14119
14120 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
14121 __ieee754_sqrt instead of sqrt.
14122 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
14123 __ieee754_sqrtf instead of sqrtf.
14124 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
14125 __floorf instead of floorf.
14126 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
14127 __floorf, __truncf instead of floorf, truncf.
14128
14129 2011-09-14 Ulrich Drepper <drepper@gmail.com>
14130
14131 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
14132
14133 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
14134 __extern_always_inline.
14135 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
14136 32-bit.
14137
14138 2011-09-14 Andreas Schwab <schwab@redhat.com>
14139
14140 * elf/rtld.c (dl_main): Also relocate in dependency order when
14141 doing symbol dependency testing.
14142
14143 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
14144
14145 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14146 Always define `refsym'.
14147
14148 2011-09-13 Andreas Schwab <schwab@redhat.com>
14149
14150 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
14151 (__FD_ELT): Renamed from __FDELT.
14152 * misc/bits/select2.h (__FD_ELT): Likewise.
14153 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
14154 __FD_MASK instead of __FDELT, __FDMASK.
14155 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14156 Likewise.
14157 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14158 Likewise.
14159
14160 * elf/Makefile (gen-ldd): Fix pattern.
14161
14162 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
14163 (init_tls): Likewise.
14164
14165 2011-09-12 Ulrich Drepper <drepper@gmail.com>
14166
14167 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
14168
14169 2011-09-12 Andreas Schwab <schwab@redhat.com>
14170
14171 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
14172 `struct cmsghdr *' instead of `void *'.
14173 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
14174 Likewise.
14175
14176 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14177
14178 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
14179 if non-absolute.
14180 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
14181 ldd_rewrite_script.
14182
14183 2011-09-11 Ulrich Drepper <drepper@gmail.com>
14184
14185 * configure.in: Remove --with-tls option.
14186 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
14187 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
14188 out in case it is missing.
14189 * sysdeps/ia64/elf/configure.in: Likewise.
14190 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
14191 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
14192 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
14193 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
14194 * sysdeps/sh/elf/configure.in: Likewise.
14195 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
14196 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14197 * sysdeps/x86_64/elf/configure.in: Likewise.
14198 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
14199 * sysdeps/mach/hurd/tls.h: Likewise.
14200
14201 [BZ #13067]
14202 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
14203
14204 [BZ #13090]
14205 * configure.in: Fix use of AC_INIT.
14206
14207 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
14208
14209 2011-09-10 Ulrich Drepper <drepper@gmail.com>
14210
14211 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
14212 __set_errno.
14213 * malloc/hooks.c: Likewise.
14214
14215 [BZ #11929]
14216 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
14217 variables statically.
14218 (narenas): Initialize.
14219 (list_lock): Initialize.
14220 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
14221 initializtion of main_arena and list_lock. Small cleanups.
14222 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
14223 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
14224 Add initializers to main_arena and mp_.
14225 (malloc_state): Remove pagesize member. Change all users to use
14226 GLRO(dl_pagesize).
14227
14228 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
14229 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
14230 is always initialized.
14231
14232 * malloc/malloc.c: Removed unused configurations and dead code.
14233 * malloc/arena.c: Likewise.
14234 * malloc/hooks.c: Likewise.
14235 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
14236
14237 * include/tls.h: Removed. USE___THREAD must always be defined.
14238 * bits/libc-tsd.h: Don't handle !USE___THREAD.
14239 * elf/dl-libc.c: Likewise.
14240 * elf/dl-tsd.c: Likewise.
14241 * include/errno.h: Likewise.
14242 * include/netdb.h: Likewise.
14243 * include/resolv.h: Likewise.
14244 * inet/herrno-loc.c: Likewise.
14245 * inet/herrno.c: Likewise.
14246 * malloc/arena.c: Likewise.
14247 * malloc/hooks.c: Likewise.
14248 * malloc/malloc.c: Likewise.
14249 * resolv/res-state.c: Likewise.
14250 * resolv/res_libc.c: Likewise.
14251 * sysdeps/i386/dl-machine.h: Likewise.
14252 * sysdeps/ia64/dl-machine.h: Likewise.
14253 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14254 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14255 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14256 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14257 * sysdeps/sh/dl-machine.h: Likewise.
14258 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14259 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14260 * sysdeps/unix/i386/sysdep.S: Likewise.
14261 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14262 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
14263 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
14264 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14265 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
14266 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14267 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14268 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14269 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14270 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14271 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14272 * sysdeps/x86_64/dl-machine.h: Likewise.
14273 * tls.make.c: Likewise.
14274
14275 * configure.in: Remove --with-__thread option. Make tests for
14276 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
14277 tls_model attribute fail if no support is available. Remove
14278 USE_IN_LIBIO.
14279 * Makeconfig: Adjust for dropped configure option. All features are
14280 now mandatory.
14281 * Makerules: Likewise.
14282 * Versions.def: Likewise.
14283 * argp/argp-fmtstream.c: Likewise.
14284 * argp/argp-fmtstream.h: Likewise.
14285 * argp/argp-help.c: Likewise.
14286 * assert/assert.c: Likewise.
14287 * config.h.in: Likewise.
14288 * config.make.in: Likewise.
14289 * configure: Likewise.
14290 * configure.in: Likewise.
14291 * csu/Versions: Likewise.
14292 * csu/init.c: Likewise.
14293 * elf/tst-audit2.c: Likewise.
14294 * elf/tst-tls10.c: Likewise.
14295 * elf/tst-tls10.h: Likewise.
14296 * elf/tst-tls11.c: Likewise.
14297 * elf/tst-tls12.c: Likewise.
14298 * elf/tst-tls14.c: Likewise.
14299 * elf/tst-tlsmod11.c: Likewise.
14300 * elf/tst-tlsmod12.c: Likewise.
14301 * elf/tst-tlsmod13.c: Likewise.
14302 * elf/tst-tlsmod13a.c: Likewise.
14303 * elf/tst-tlsmod14a.c: Likewise.
14304 * elf/tst-tlsmod15b.c: Likewise.
14305 * elf/tst-tlsmod16a.c: Likewise.
14306 * elf/tst-tlsmod16b.c: Likewise.
14307 * elf/tst-tlsmod7.c: Likewise.
14308 * elf/tst-tlsmod8.c: Likewise.
14309 * elf/tst-tlsmod9.c: Likewise.
14310 * gmon/gmon.c: Likewise.
14311 * grp/fgetgrent_r.c: Likewise.
14312 * grp/putgrent.c: Likewise.
14313 * hurd/fopenport.c: Likewise.
14314 * include/libc-symbols.h: Likewise.
14315 * include/tls.h: Likewise.
14316 * intl/gettextP.h: Likewise.
14317 * intl/loadinfo.h: Likewise.
14318 * locale/global-locale.c: Likewise.
14319 * locale/localeinfo.h: Likewise.
14320 * mach/devstream.c: Likewise.
14321 * malloc/arena.c: Likewise.
14322 * malloc/set-freeres.c: Likewise.
14323 * misc/err.c: Likewise.
14324 * misc/getttyent.c: Likewise.
14325 * misc/mntent_r.c: Likewise.
14326 * posix/getopt.c: Likewise.
14327 * posix/wordexp.c: Likewise.
14328 * pwd/fgetpwent_r.c: Likewise.
14329 * resolv/Versions: Likewise.
14330 * resolv/res_hconf.c: Likewise.
14331 * shadow/fgetspent_r.c: Likewise.
14332 * shadow/putspent.c: Likewise.
14333 * stdio-common/printf_fphex.c: Likewise.
14334 * stdio-common/tmpfile.c: Likewise.
14335 * stdlib/abort.c: Likewise.
14336 * stdlib/fmtmsg.c: Likewise.
14337 * sunrpc/auth_unix.c: Likewise.
14338 * sunrpc/clnt_perr.c: Likewise.
14339 * sunrpc/clnt_tcp.c: Likewise.
14340 * sunrpc/clnt_udp.c: Likewise.
14341 * sunrpc/clnt_unix.c: Likewise.
14342 * sunrpc/openchild.c: Likewise.
14343 * sunrpc/svc_simple.c: Likewise.
14344 * sunrpc/svc_tcp.c: Likewise.
14345 * sunrpc/svc_udp.c: Likewise.
14346 * sunrpc/svc_unix.c: Likewise.
14347 * sunrpc/xdr.c: Likewise.
14348 * sunrpc/xdr_array.c: Likewise.
14349 * sunrpc/xdr_rec.c: Likewise.
14350 * sunrpc/xdr_ref.c: Likewise.
14351 * sunrpc/xdr_stdio.c: Likewise.
14352
14353 2011-09-09 Ulrich Drepper <drepper@gmail.com>
14354
14355 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14356
14357 2011-07-03 Andreas Jaeger <aj@suse.de>
14358
14359 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
14360 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
14361 regenerate with gen-libm-tests.pl.
14362
14363 2010-05-12 Petr Baudis <pasky@suse.cz>
14364
14365 [BZ #11589]
14366 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
14367 around j0() zero points by switching to j1().
14368 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14369 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14370 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14371 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14372
14373 2011-09-09 Ulrich Drepper <drepper@gmail.com>
14374
14375 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
14376 instead of 0.
14377 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
14378 instead of 0. .
14379 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14380 Patch in part by Pavel Roskin <proski@gnu.org>.
14381
14382 [BZ #13138]
14383 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
14384 realloc.
14385 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
14386 Free memory block if necessary.
14387
14388 [BZ #12847]
14389 * libio/genops.c (INTDEF): For string streams the _lock pointer can
14390 be NULL. Don't lock in this case.
14391
14392 2011-09-09 Roland McGrath <roland@hack.frob.com>
14393
14394 * elf/elf.h (ELFOSABI_GNU): New macro.
14395 (ELFOSABI_LINUX): Define to that.
14396
14397 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
14398
14399 * string/strncat.c (strncat): Undef the symbol in case it has been
14400 defined in bits/string.h.
14401
14402 2011-09-09 Ulrich Drepper <drepper@gmail.com>
14403
14404 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
14405
14406 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
14407 link map.
14408
14409 2011-08-17 Andreas Jaeger <aj@suse.de>
14410
14411 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
14412
14413 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14414 Ian Lance Taylor <iant@google.com>
14415
14416 * math/libm-test.inc (lround_test): New testcase.
14417 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
14418
14419 2011-09-08 Ulrich Drepper <drepper@gmail.com>
14420
14421 * Makefile: Remove support for automatic cvs check-ins.
14422 * Makerules: Likewise.
14423 * config.make.in: Likewise.
14424 * configure.in: Likewise.
14425 * intl/Makefile: Likewise.
14426 * locale/Makefile: Likewise.
14427 * po/Makefile: Likewise.
14428 * posix/Makefile: Likewise.
14429 * sysdeps/gnu/Makefile: Likewise.
14430 * sysdeps/mach/hurd/Makefile: Likewise.
14431 * sysdeps/sparc/sparc32/Makefile: Likewise.
14432
14433 [BZ #13118]
14434 * posix/Makefile (bug-regex32-ENV): Define.
14435 Patch by John Stanley <jpsinthemix@verizon.net>.
14436
14437 * misc/Makefile (headers): Add bits/select2.h.
14438 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
14439 * misc/bits/select2.h: New file.
14440 * include/bits/select2.h: New file.
14441 * debug/Makefile (routines): Add fdelt_chk.
14442 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
14443 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
14444 FD_ISSET.
14445 * debug/fdelt_chk.c: New file.
14446
14447 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
14448 * wcsmbs/test-wmemcmp.c: Likewise.
14449 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
14450 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
14451
14452 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14453
14454 * string/Makefile (strop-tests): Add memcmp.
14455 * string/test-wmemcmp.c: New file.
14456 * string/test-memcmp.c: Add wmemcmp support.
14457
14458 2011-09-08 Roland McGrath <roland@hack.frob.com>
14459
14460 [BZ #13153]
14461 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
14462 2011-07-19 change.
14463
14464 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14465 garbage value in a __mach_port_mod_refs call in the cases of the
14466 task-self and thread-self ports.
14467
14468 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14469
14470 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14471
14472 2011-09-08 Andreas Schwab <schwab@redhat.com>
14473
14474 * elf/dl-load.c (lose): Check for non-null L.
14475
14476 2011-09-07 Ulrich Drepper <drepper@gmail.com>
14477
14478 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14479
14480 * elf/dl-libc.c (dlerror_run): Pass back error code from
14481 dl_catch_error.
14482
14483 [BZ #13123]
14484 * elf/dl-load.c (lose): Free l_origin if it is valid.
14485
14486 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14487 names.
14488 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14489 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14490 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14491 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14492 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14493 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14494
14495 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14496
14497 * sysdeps/powerpc/fpu/e_hypot.c: New file.
14498 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14499 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14500 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14501 * sysdeps/powerpc/fpu/k_cosf.c: New file.
14502 * sysdeps/powerpc/fpu/k_sinf.c: New file.
14503 * sysdeps/powerpc/fpu/s_cosf.c: New file.
14504 * sysdeps/powerpc/fpu/s_sinf.c: New file.
14505 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14506 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14507
14508 2011-08-15 Alan Modra <amodra@gmail.com>
14509
14510 [BZ #13092]
14511 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14512 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14513 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
14514 ppc_mcount to static-only-routines.
14515 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14516 __mcount_internal.
14517 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14518 __mcount_internal with usual JUMPTARGET. Remove useless nop.
14519
14520 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
14521
14522 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14523 for finite and infinity parameters.
14524
14525 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14526
14527 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14528 and add nop instructions for throughput optimization.
14529 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14530
14531 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
14532
14533 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14534 aligned copy for power7 with vector-scalar instructions.
14535 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14536
14537 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
14538
14539 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14540 AVX check.
14541
14542 2011-09-07 Andreas Schwab <schwab@redhat.com>
14543
14544 [BZ #13144]
14545 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14546 last change.
14547
14548 2011-09-07 Ulrich Drepper <drepper@gmail.com>
14549
14550 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14551 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14552 syscall wrapper around clock_gettime in __vdso_clock_gettime.
14553 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14554 clock_gettime.
14555
14556 2011-09-06 Ulrich Drepper <drepper@gmail.com>
14557
14558 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
14559 Forgot to demangle the pointer.
14560
14561 * sysdeps/i386/sysdep.h: Define atom_text_section.
14562 * sysdeps/x86_64/sysdep.h: Likewise.
14563 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
14564 section with atom_text_section.
14565 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14566 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14567 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14568 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14569 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
14570
14571 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
14572 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
14573 already be defined. Change to take two parameters and don't assign
14574 result to variable. Adjust all users.
14575 Define INTERNAL_GETTIME if not already defined.
14576 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
14577 call.
14578 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
14579 HAVE_CLOCK_GETTIME_VSYSCALL.
14580 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
14581
14582 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
14583 gettimeofday vsyscall, just use time.
14584
14585 2011-09-06 Andreas Schwab <schwab@redhat.com>
14586
14587 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
14588 <errno.h>.
14589
14590 2011-09-06 Ulrich Drepper <drepper@gmail.com>
14591
14592 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
14593 syscall on x86-64.
14594 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
14595 syscall.
14596 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14597 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
14598 syscall if possible.
14599
14600 2011-09-05 Ulrich Drepper <drepper@gmail.com>
14601
14602 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
14603 e_ident. Don't pass to find_mapsXX.
14604 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
14605
14606 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14607
14608 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14609 strchr-sse2-no-bsf strrchr-sse2-no-bsf
14610 * sysdeps/x86_64/multiarch/strchr.S: Update.
14611 Check bit_slow_BSF bit.
14612 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14613 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
14614 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
14615
14616 2011-09-05 Ulrich Drepper <drepper@gmail.com>
14617
14618 [BZ #13134]
14619 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
14620 before glibc 2.15.
14621 (tryshell): Define.
14622 (__spawni): Change last parameter to be flag. Test
14623 SPAWN_XFLAGS_USE_PATH flag to use path or not.
14624 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
14625 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
14626 * posix/spawni.c: Likewise.
14627 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
14628 * posix/spawnp.c: Likewise. Change normal version to use
14629 SPAWN_XFLAGS_USE_PATH.
14630 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
14631 SPAWN_XFLAGS_TRY_SHELL.
14632
14633 [BZ #13150]
14634 * posix/glob.h: Remove gcc 1.x support.
14635
14636 [BZ #13068]
14637 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
14638
14639 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14640
14641 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14642 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
14643 strrchr-sse2-bsf
14644 * sysdeps/i386/i686/multiarch/strchr.S: New file.
14645 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
14646 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
14647 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
14648 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
14649 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
14650
14651 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14652
14653 * sysdeps/x86_64/wcscmp.S: New file.
14654
14655 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
14656 wcscmp-c wcscmp-sse2
14657 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
14658 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
14659 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
14660 * wcsmbs/wcscmp.c: Allow renaming.
14661
14662 2011-09-05 David S. Miller <davem@davemloft.net>
14663
14664 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
14665 stack slot, rather than the struct return pointer slot.
14666 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
14667 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
14668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
14669 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
14670
14671 2011-09-05 Ulrich Drepper <drepper@gmail.com>
14672
14673 * po/ja.po: Update from translation team.
14674
14675 [BZ #13144]
14676 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
14677 kernel in 64-bit binaries.
14678
14679 2011-09-01 David S. Miller <davem@davemloft.net>
14680
14681 * elf/elf.h (HWCAP_SPARC_*): Move to..
14682 * sysdeps/sparc/sysdep.h: this new file and add new values.
14683 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
14684 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
14685 _DL_HWCAP_COUNT to 24.
14686 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14687 entries.
14688 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
14689 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
14690 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
14691 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
14692 instead of magic constants.
14693 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14694
14695 2011-08-31 David S. Miller <davem@davemloft.net>
14696
14697 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
14698 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
14699 Reimplement to do errno handling inline.
14700 (SYSCALL_ERROR_HANDLER): New macro.
14701 (__SYSCALL_STRING): Do not do errno handling in asm.
14702 (__CLONE_SYSCALL_STRING): Delete.
14703 (__INTERNAL_SYSCALL_STRING): Delete.
14704 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
14705 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
14706 (PSEUDO): Reimplement to do errno handling inline.
14707 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
14708 (SYSCALL_ERROR_HANDLER): New macro.
14709 (__SYSCALL_STRING): Do not do errno handling in asm.
14710 (__CLONE_SYSCALL_STRING): Delete.
14711 (__INTERNAL_SYSCALL_STRING): Delete.
14712 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
14713 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
14714 i386.
14715 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
14716 (inline_syscall*): Add 'err' argument.
14717 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
14718 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
14719 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
14720 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
14721
14722 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
14723 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14724
14725 2011-08-30 Andreas Schwab <schwab@redhat.com>
14726
14727 * elf/rtld.c (dl_main): Relocate objects in dependency order.
14728
14729 2011-08-29 Jiri Olsa <jolsa@redhat.com>
14730
14731 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
14732 directive.
14733
14734 2011-08-24 David S. Miller <davem@davemloft.net>
14735
14736 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
14737
14738 2011-08-24 Andreas Schwab <schwab@redhat.com>
14739
14740 * elf/Makefile: Add rules to build and run unload8 test.
14741 * elf/unload8.c: New file.
14742 * elf/unload8mod1.c: New file.
14743 * elf/unload8mod1x.c: New file.
14744 * elf/unload8mod2.c: New file.
14745 * elf/unload8mod3.c: New file.
14746
14747 * elf/dl-close.c (_dl_close_worker): Reset private search list if
14748 it wasn't used.
14749
14750 2011-08-23 David S. Miller <davem@davemloft.net>
14751
14752 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
14753 subtract stack bias.
14754 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
14755 %sp not %fp in calculations.
14756 (_JMPBUF_UNWINDS_ADJ): Likewise.
14757
14758 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
14759 (aio_suspend): Call it to force an exception region around the
14760 AIO_MISC_WAIT() invocation.
14761
14762 2011-08-23 Andreas Schwab <schwab@redhat.com>
14763
14764 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
14765 backslash.
14766
14767 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
14768
14769 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
14770 protection macro.
14771 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
14772 and <dl-machine.h>.
14773 (Elf64_FuncDesc): Remove.
14774
14775 2011-08-22 David S. Miller <davem@davemloft.net>
14776
14777 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
14778 sigaltstack check, add missing cfi directives.
14779 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
14780 missing cfi directives, and sigaltstack handling.
14781
14782 2011-08-16 Andreas Schwab <schwab@redhat.com>
14783
14784 [BZ #11724]
14785 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
14786 object is seen twice.
14787 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14788
14789 * elf/Makefile (distribute): Add tst-initorder2.c.
14790 (tests): Add tst-initorder2.
14791 (modules-names): Add tst-initorder2a tst-initorder2b
14792 tst-initorder2c tst-initorder2d. Add rules to build them.
14793 ($(objpfx)tst-initorder2.out): New rule.
14794 * elf/tst-initorder2.c: New file.
14795 * elf/tst-initorder2.exp: New file.
14796
14797 2011-08-22 Andreas Schwab <schwab@redhat.com>
14798
14799 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
14800
14801 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
14802 dependencies back to end of function.
14803
14804 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14805 $(elfobjdir)/ld.so.
14806
14807 2011-08-21 Ulrich Drepper <drepper@gmail.com>
14808
14809 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
14810 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
14811 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
14812 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
14813 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
14814 of __vdso_gettimeofday.
14815 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
14816 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
14817 attribute_hidden.
14818 (_libc_vdso_platform_setup): Remove initialization of
14819 __vdso_gettimeofday and __vdso_time.
14820
14821 2011-08-20 Ulrich Drepper <drepper@gmail.com>
14822
14823 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
14824 and fgetc_unlocked.
14825 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
14826 getc_unlocked.
14827
14828 * elf/dl-open.c (add_to_global): Report additions to the global scope
14829 for LD_DEBUG=scopes.
14830 (dl_open_worker): Also print scope of newly loaded dependencies.
14831 (_dl_show_scope): Indicate if there is no scope.
14832
14833 [BZ #13114]
14834 * stdio-common/Makefile (tests): Add bug24.
14835 * stdio-common/bug24.c: New file.
14836
14837 2011-08-19 Andreas Jaeger <aj@suse.de>
14838
14839 [BZ #13114]
14840 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
14841 non-existant file when using close-on-exec mode.
14842
14843 2011-08-20 Ulrich Drepper <drepper@gmail.com>
14844
14845 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
14846 the very first instruction.
14847
14848 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
14849 the CFI state in the end.
14850 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
14851 inclusion of dl-trampoline.h.
14852 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
14853
14854 2011-08-19 Andreas Schwab <schwab@redhat.com>
14855
14856 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
14857 expectations for long double.
14858
14859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
14860 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
14861
14862 2011-08-14 David S. Miller <davem@davemloft.net>
14863
14864 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
14865 artificual limit depends upon the system page size.
14866
14867 2011-08-17 Ulrich Drepper <drepper@gmail.com>
14868
14869 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
14870 * resolv/Makefile: Define CFLAGS-libresolv.
14871
14872 2011-08-17 Andreas Schwab <schwab@redhat.com>
14873
14874 * nss/makedb.c (compute_tables): Make variables used in nested
14875 function static.
14876
14877 2011-08-17 Ulrich Drepper <drepper@gmail.com>
14878
14879 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
14880 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
14881 if buffer was too small.
14882
14883 * elf/pldd.c (main): Attach to all threads in the process.
14884 Rewrite /proc handling to use *at functions.
14885
14886 2011-08-16 Ulrich Drepper <drepper@gmail.com>
14887
14888 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
14889 specifies first scope to show.
14890 (dl_open_worker): Update callers. Move printing scope of new
14891 object to before the relocation.
14892 * elf/rtld.c (dl_main): Update _dl_show_scope call.
14893 * sysdeps/generic/ldsodefs.h: Update declaration.
14894
14895 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
14896 string for the scope number.
14897
14898 2011-08-14 Ulrich Drepper <drepper@gmail.com>
14899
14900 * nscd/servicescache.c (cache_addserv): Make sure written is always
14901 initialized.
14902
14903 2011-08-14 Roland McGrath <roland@hack.frob.com>
14904
14905 * sysdeps/i386/i486/bits/atomic.h
14906 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
14907 statement expression, so as to suppress "set but not used" warning.
14908 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
14909
14910 * string/strncat.c (STRNCAT): Use prototype definition.
14911
14912 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
14913 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
14914 -Iprograms here.
14915 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
14916 (localedef-modules): Add localedef.
14917 (locale-modules): Add locale.
14918
14919 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
14920 * elf/rtld.c (dl_main): Invert order of assignment in last change,
14921 to avoid a warning.
14922
14923 2011-08-14 David S. Miller <davem@davemloft.net>
14924
14925 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
14926 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
14927
14928 2011-08-13 Ulrich Drepper <drepper@gmail.com>
14929
14930 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
14931 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
14932 * elf/rtld.c (dl_main): Set l_name of vDSO.
14933 Call _dl_show_scope when DL_DEBUG_SCOPES.
14934 (process_dl_debug): Recognize scopes flag and also set it for all.
14935 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
14936 Declare _dl_show_scope.
14937
14938 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
14939 (do_dlopen): Pass caller_dlopen to dl_open.
14940 (__libc_dlopen_mode): Initialize caller_dlopen.
14941
14942 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
14943 of libc. Make tolower call locale-independent. Optimize a bit by
14944 using isdigit instead of isalnum.
14945 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
14946
14947 2011-08-12 Ulrich Drepper <drepper@gmail.com>
14948
14949 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
14950 was a dependency or dynamically loaded.
14951
14952 2011-08-11 Ulrich Drepper <drepper@gmail.com>
14953
14954 * intl/l10nflist.c: Allow architecture-specific pop function.
14955 * sysdeps/x86_64/l10nflist.c: New file.
14956
14957 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
14958 classification.
14959
14960 2011-08-10 Andreas Schwab <schwab@redhat.com>
14961
14962 * include/dirent.h: Add libc_hidden_proto for scandirat and
14963 scandirat64. Don't declare __scandirat64.
14964 * dirent/scandirat.c: Add libc_hidden_def.
14965 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
14966 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
14967
14968 2011-08-10 David S. Miller <davem@davemloft.net>
14969
14970 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
14971 enum.
14972 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14973 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14974 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14975
14976 2011-08-09 Ulrich Drepper <drepper@gmail.com>
14977
14978 * Versions.def [libc]: Add GLIBC_2.15.
14979 * dirent/Makefile (routines): Add scandirat and scandirat64.
14980 * dirent/Versions [libc]: Export scandirat and scandirat64 for
14981 GLIBC_2.15.
14982 * dirent/dirent.h: Declare scandirat and scandirat64.
14983 * dirent/scandirat.c: New file.
14984 * dirent/scandirat64.c: New file.
14985 * sysdeps/wordsize-64/scandirat.c: New file.
14986 * sysdeps/wordsize-64/scandirat64.c: New file.
14987 * dirent/opendir.c: Define opendirat.
14988 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
14989 using scandirat.
14990 * dirent/scandir64.c: Adjust for scandir.c change.
14991 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
14992 __scandirat64, and __scandir_cancel_handler.
14993 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
14994 additional parameter and use openat instead of open (outside of ld.so).
14995 Add new __opendir as wrapper around __opendirat.
14996 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
14997 here without requiring old scandirat implementation.
14998
14999 2011-08-08 Ulrich Drepper <drepper@gmail.com>
15000
15001 * dirent/scandir.c (cancel_handler): Renamed to
15002 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
15003 defined. Adjust users.
15004 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
15005 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15006
15007 2011-08-04 Ulrich Drepper <drepper@gmail.com>
15008
15009 * string/test-string.h (IMPL): Use __STRING to expand name and then
15010 stringify it.
15011
15012 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
15013 of cleanups.
15014
15015 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15016
15017 * string/Makefile: Update.
15018 (strop-tests): Append strncat.
15019 * string/test-wcscmp.c: New file.
15020 New comprehensive test for wcscmp.
15021 * string/test-strcmp.c: Update.
15022 (WIDE): New define.
15023
15024 2011-07-22 Andreas Schwab <schwab@redhat.com>
15025
15026 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
15027 line.
15028
15029 2011-07-26 Andreas Schwab <schwab@redhat.com>
15030
15031 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15032 encoding to ACE if AI_IDN.
15033
15034 2011-08-01 Jakub Jelinek <jakub@redhat.com>
15035
15036 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
15037 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
15038
15039 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15040
15041 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
15042 Fix overflow bug in strncat.
15043 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
15044
15045 * string/test-strncat.c: Update.
15046 Add new tests for checking overflow bugs.
15047
15048 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15049
15050 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15051 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
15052 * sysdeps/i386/i686/multiarch/strcat.S: New file.
15053 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
15054 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
15055 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
15056 * sysdeps/i386/i686/multiarch/strncat.S: New file.
15057 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
15058 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
15059
15060 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
15061 (USE_AS_STRCAT): Define.
15062 Add strcat and strncat support.
15063 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15064
15065 2011-07-25 Andreas Schwab <schwab@redhat.com>
15066
15067 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
15068 __n bigger than INT_MAX+1.
15069 (__strncmp_g): Likewise.
15070
15071 2011-07-23 Ulrich Drepper <drepper@gmail.com>
15072
15073 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
15074 * libio/stido.h: Likewise.
15075
15076 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
15077 (AF_NFC): Define.
15078 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
15079 (AF_NFC): Define.
15080
15081 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
15082 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15083 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15084 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15085 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15086
15087 [BZ #13021]
15088 * scripts/test-installation.pl: Don't expect libnss_test1 to be
15089 installed.
15090
15091 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
15092 typo.
15093 (_dl_x86_64_save_sse): Likewise.
15094
15095 2011-07-22 Ulrich Drepper <drepper@gmail.com>
15096
15097 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
15098 OSXSAVE.
15099 (_dl_x86_64_save_sse): Likewise.
15100
15101 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
15102
15103 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
15104
15105 2011-07-21 Andreas Schwab <schwab@redhat.com>
15106
15107 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
15108 change.
15109 (_dl_x86_64_save_sse): Use correct AVX check.
15110
15111 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15112
15113 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
15114 bug in strncpy/strncat.
15115 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
15116
15117 2011-07-21 Ulrich Drepper <drepper@gmail.com>
15118
15119 * string/tester.c (test_strcat): Add tests for different alignments
15120 of source and destination.
15121 (test_strncat): Likewise.
15122
15123 2011-07-20 Ulrich Drepper <drepper@gmail.com>
15124
15125 [BZ #12852]
15126 * posix/glob.c (glob): Check passed in values before using them in
15127 expressions to avoid some overflows.
15128 (glob_in_dir): Likewise.
15129
15130 [BZ #13007]
15131 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
15132 check for AVX enablement so that we don't crash with old kernels and
15133 new hardware.
15134 * elf/tst-audit4.c: Add same checks here.
15135 * elf/tst-audit6.c: Likewise.
15136
15137 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
15138
15139 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
15140
15141 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
15142
15143 2011-07-20 Ulrich Drepper <drepper@gmail.com>
15144
15145 * po/cs.po: Update from translation team.
15146 * po/bg.po: Likewise.
15147
15148 2011-07-12 Marek Polacek <mpolacek@redhat.com>
15149
15150 * misc/sys/cdefs.h: Add support for const attribute.
15151 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
15152 to gnu_dev_{major,minor,makedev} functions.
15153
15154 2011-07-20 Marek Polacek <mpolacek@redhat.com>
15155
15156 * intl/dcigettext.c (get_output_charset): Add missing bracket.
15157
15158 2011-07-20 Andreas Schwab <schwab@redhat.com>
15159
15160 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
15161 strlen results.
15162
15163 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15164
15165 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15166 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
15167 register in order to avoid conflicts with the soft frame pointer
15168 being held in r11 when necessary.
15169 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15170 (INTERNAL_VSYSCALL_NCS): Likewise.
15171
15172 2011-07-14 Marek Polacek <mpolacek@redhat.com>
15173
15174 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
15175 * elf/dl-fini.c (_dl_fini): Adjust caller.
15176 * elf/dl-close.c (_dl_close_worker): Likewise.
15177 * sysdeps/generic/ldsodefs.h: Adjust declaration.
15178
15179 2011-07-15 Marek Polacek <mpolacek@redhat.com>
15180
15181 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
15182 "aux_cache->nlibs < 0".
15183
15184 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
15185 in the reload-count case.
15186
15187 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15188
15189 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15190 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
15191 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
15192 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
15193 * sysdeps/x86_64/multiarch/strcat.S: New file.
15194 * sysdeps/x86_64/multiarch/strncat.S: New file.
15195 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
15196 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
15197 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
15198 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
15199 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
15200 (USE_AS_STRCAT): Define.
15201 Add strcat and strncat support.
15202 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15203 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15204 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
15205 * string/strncat.c: Update.
15206 (USE_AS_STRNCAT): Define.
15207 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15208 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
15209 and i7.
15210 * sysdeps/x86_64/multiarch/init-arch.h
15211 (bit_Prefer_PMINUB_for_stringop): New.
15212 (index_Prefer_PMINUB_for_stringop): Likewise.
15213 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
15214 bit_Prefer_PMINUB_for_stringop.
15215
15216 2011-07-19 Ulrich Drepper <drepper@gmail.com>
15217
15218 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
15219 buffer64.
15220 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
15221 of casting of buffer.
15222 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
15223 buffer32 and buffer64.
15224 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
15225 writes instead of casting of buffer.
15226 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
15227 buffer32.
15228 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
15229 casting of buffer.
15230
15231 2011-07-19 Andreas Schwab <schwab@redhat.com>
15232
15233 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
15234
15235 2011-07-19 Ulrich Drepper <drepper@gmail.com>
15236
15237 * nscd/nscd.c (termination_handler): Don't do anything for a database
15238 if it has not yet been initialized.
15239
15240 2011-07-18 Ulrich Drepper <drepper@gmail.com>
15241
15242 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15243
15244 2011-07-15 Marek Polacek <mpolacek@redhat.com>
15245
15246 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15247
15248 2011-07-18 Ulrich Drepper <drepper@gmail.com>
15249
15250 * po/nl.po: Update from translation team.
15251 * po/sv.po: Likewise.
15252
15253 2011-07-16 Roland McGrath <roland@hack.frob.com>
15254
15255 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
15256 now disallowed by GCC.
15257
15258 * configure.in (use-default-link): Default to yes if a test -shared
15259 link meets our qualifications.
15260 * configure: Regenerated.
15261
15262 * config.make.in (output-format): New variable.
15263 * configure.in: Check for ld --print-output-format support.
15264 * configure: Regenerated.
15265 * Makerules ($(common-objpfx)format.lds)
15266 [$(output-format) != unknown]: Just use $(output-format),
15267 instead of the linker-script munging.
15268
15269 2011-07-14 Roland McGrath <roland@hack.frob.com>
15270
15271 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
15272 of $(common-objpfx)shlib.lds.
15273 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
15274
15275 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
15276 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
15277
15278 * configure.in (-z relro check): Adjust test code to add a large
15279 writable data section after it.
15280 * configure: Regenerated.
15281
15282 2011-07-11 Roland McGrath <roland@hack.frob.com>
15283
15284 * configure.in (-z relro check): Fix test code to make the variable
15285 truly const.
15286 * configure: Regenerated.
15287
15288 2011-07-11 Ulrich Drepper <drepper@gmail.com>
15289
15290 * nscd/nscd.h (struct traced_file): Define.
15291 (struct database_dyn): Remove inotify_descr, reset_res, and filename
15292 elements. Add traced_files.
15293 (inotify_fd): Declare.
15294 (register_traced_file): Declare.
15295 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
15296 (inotify_fd): Export.
15297 (resolv_conf_descr): Remove.
15298 (nscd_init): Move inotify descriptor creation to main.
15299 Don't register files for notification here.
15300 (register_traced_file): New function.
15301 (invalidate_cache): Don't use reset_res to determine whether to call
15302 res_init, go through the list of registered files.
15303 (main_loop_poll): The inotify descriptors are now stored in the
15304 structures for the traced files.
15305 (main_loop_epoll): Likewise
15306 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
15307 to __nss_disable_nscd.
15308 * nscd/cache.c (prune_cache): There is no single inotify descriptor
15309 for a database anymore. Check the records for all the registered
15310 files instead.
15311 * nss/Makefile (libnss_files-routines): Add files-init.
15312 (libnss_db-routines): Add db-init.
15313 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
15314 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
15315 * nss/nss_db/db-init.c: New file.
15316 * nss/nss_files/files-init.c: New file.
15317 * nss/nsswitch.c (nss_load_library): New function. Broken out of
15318 __nss_lookup_function.
15319 (__nss_lookup_function): Call nss_load_library.
15320 (nss_load_all_libraries): New function.
15321 (__nss_disable_nscd): Take parameter with callback function for files
15322 to register. Set is_nscd. Load all the DSOs for the NSS modules
15323 used for the cached services.
15324 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
15325 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
15326 options for features to all the files in nscd.
15327
15328 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
15329
15330 2011-07-10 Roland McGrath <roland@hack.frob.com>
15331
15332 * csu/elf-init.c (__libc_csu_init): Comment typo.
15333
15334 2011-07-09 Ulrich Drepper <drepper@gmail.com>
15335
15336 * po/pl.po: Update from translation team.
15337 * po/ja.po: Likewise.
15338 * po/ru.po: Likewise.
15339 * po/ko.po: Likewise.
15340 * po/fr.po: Likewise.
15341
15342 2011-07-09 Roland McGrath <roland@hack.frob.com>
15343
15344 * configure.in (.ctors/.dtors header and trailer check):
15345 Use an empirical test on a built program.
15346 * configure: Regenerated.
15347
15348 * configure.in (-z relro check): Use an empirical test on a built DSO.
15349 Detect, but do not require, on ia64.
15350 * configure: Regenerated.
15351
15352 * configure.in (READELF): Find it with AC_CHECK_TOOL.
15353 Update tests that use readelf to use $READELF instead.
15354 * configure: Regenerated.
15355
15356 2011-07-08 Ulrich Drepper <drepper@gmail.com>
15357
15358 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
15359 if the result is not used.
15360
15361 2011-07-05 Andreas Jaeger <aj@suse.de>
15362
15363 [BZ#9696]
15364 * stdlib/tst-strtod.c: Add testcase.
15365
15366 2011-07-07 Ulrich Drepper <drepper@gmail.com>
15367
15368 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
15369 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
15370 The latter has a higher limit. Take additional parameter to pass to
15371 the new function.
15372 (__pathconf): Pass file to __statfs_link_max.
15373 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
15374 __statfs_link_max.
15375 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
15376 __statfs_link_max.
15377
15378 [BZ #12868]
15379 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
15380 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15381 Handle Lustre.
15382 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
15383 (__statfs_filesize_max): Likewise.
15384 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
15385
15386 2011-07-05 Andreas Jaeger <aj@suse.de>
15387
15388 * resolv/res_comp.c (dn_skipname): Remove unused variable.
15389
15390 2011-07-06 Marek Polacek <mpolacek@redhat.com>
15391
15392 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
15393 `status' variable.
15394 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
15395 Likewise.
15396
15397 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
15398
15399 * Makefile (strop-tests): Add strncat.
15400 * string/test-strncat.c: New file.
15401
15402 2011-06-30 Marek Polacek <mpolacek@redhat.com>
15403
15404 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
15405
15406 2011-06-21 Andreas Jaeger <aj@suse.de>
15407
15408 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
15409 Copy rule from iconvdata/Makefile.
15410
15411 2011-07-06 Ulrich Drepper <drepper@gmail.com>
15412
15413 [BZ #12922]
15414 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
15415 but no long options are defined, just return 'W'.
15416
15417 2011-06-22 Marek Polacek <mpolacek@redhat.com>
15418
15419 [BZ #9696]
15420 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
15421
15422 2011-07-06 Ulrich Drepper <drepper@gmail.com>
15423
15424 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
15425 netgroups to read.
15426 (innetgr): Likewise.
15427
15428 2011-07-05 Roland McGrath <roland@hack.frob.com>
15429
15430 * config.make.in (install_root): Default to $(DESTDIR).
15431
15432 2011-07-05 Ulrich Drepper <drepper@gmail.com>
15433
15434 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
15435
15436 2011-07-02 Roland McGrath <roland@hack.frob.com>
15437
15438 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
15439
15440 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
15441 containing directory rather than embedding absolute directory names.
15442
15443 * scripts/check-local-headers.sh: Rewritten using awk.
15444 Match by word, not by line. Print error messages for matches.
15445 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
15446
15447 * Makerules [shlib-lds-flags empty]:
15448 ($(common-objpfx)libc_pic.opts): New target.
15449 ($(common-objpfx)libc_pic.os.clean): New target.
15450 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
15451
15452 * config.make.in (OBJCOPY): New variable.
15453 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
15454 * configure: Regenerated.
15455
15456 * config.make.in (use-default-link): New variable.
15457 * configure.in (use_default_link): Grok --with-default-link to set it.
15458 * configure: Regenerated.
15459 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
15460 (shlib-lds, shlib-lds-flags): Define to empty.
15461
15462 * Makerules (shlib-lds): New variable.
15463 (shlib-lds-flags): New variable.
15464 (build-shlib, build-moduile, build-module-asneeded): Use it.
15465 ($(common-objpfx)libc.so): Use $(shlib-lds).
15466 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15467 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15468
15469 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15470 DT_FLAGS/DT_FLAGS_1 with zero flags.
15471
15472 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15473 linker script munging.
15474
15475 2011-07-02 Ulrich Drepper <drepper@gmail.com>
15476
15477 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15478 as 128-bit value.
15479 * crypt/sha512.c (sha512_process_block): Perform total addition using
15480 128-bit if possible.
15481 (__sha512_finish_ctx): Likewise.
15482 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15483 as 64-bit value.
15484 * crypt/sha256.c (SWAP64): Define.
15485 (sha256_process_block): Perform total addition using 64-bit if
15486 possible.
15487 (__sha256_finish_ctx): Likewise.
15488
15489 2011-07-01 Ulrich Drepper <drepper@gmail.com>
15490
15491 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
15492 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15493 * nscd/hstcache.c (cache_addhst): Likewise.
15494 * nscd/grpcache.c (cache_addgr): Likewise.
15495 * nscd/aicache.c (addhstaiX): Likewise
15496 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15497
15498 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
15499
15500 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15501 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15502 * nscd/hstcache.c (cache_addhst): Likewise.
15503 * nscd/grpcache.c (cache_addgr): Likewise.
15504 * nscd/aicache.c (addhstaiX): Likewise
15505
15506 2011-07-01 Andreas Schwab <schwab@redhat.com>
15507
15508 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15509 domain only when needed.
15510
15511 2011-06-30 Andreas Schwab <schwab@redhat.com>
15512
15513 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15514 is always restored.
15515
15516 2011-06-29 Ulrich Drepper <drepper@gmail.com>
15517
15518 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15519 are re-adding the entry.
15520 * nscd/servicescache.c (cache_addserv): Likewise.
15521
15522 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
15523
15524 * sysdeps/generic/dl-irel.h: fix protection against multiple
15525 inclusions.
15526 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15527
15528 2011-06-28 Ulrich Drepper <drepper@gmail.com>
15529
15530 [BZ #12935]
15531 * malloc/memusage.sh: Fix quoting in message.
15532 * debug/xtrace.sh: Likewise.
15533
15534 * configure.in: Remove support for --experimental-malloc option, make
15535 it the default.
15536 * config.make.in: Likewise.
15537 * malloc/Makefile: Likewise.
15538
15539 2011-06-27 Andreas Schwab <schwab@redhat.com>
15540
15541 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15542 two-byte characters.
15543
15544 2011-06-27 Roland McGrath <roland@hack.frob.com>
15545
15546 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15547 AC_CACHE_CHECK invocation.
15548 * configure: Regenerated.
15549
15550 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15551
15552 2011-06-27 Ulrich Drepper <drepper@gmail.com>
15553
15554 [BZ #12350]
15555 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
15556 bit from old_res_options.
15557
15558 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
15559
15560 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
15561 value type for setfct.
15562
15563 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
15564
15565 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15566 __gettimeofday instead of gettimeofday.
15567
15568 2011-06-26 Ulrich Drepper <drepper@gmail.com>
15569
15570 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
15571
15572 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
15573
15574 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
15575
15576 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
15577 info.
15578
15579 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15580
15581 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15582 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15583 strcpy-sse2-unaligned strncpy-sse2-unaligned
15584 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
15585 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
15586 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
15587 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
15588 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
15589 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
15590 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
15591 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
15592 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
15593 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
15594 (STRCPY): Support SSE2 and SSSE3 versions.
15595
15596 2011-06-24 Ulrich Drepper <drepper@gmail.com>
15597
15598 [BZ #12874]
15599 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
15600 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
15601 kernels which artificially limit size of requests.
15602
15603 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15604
15605 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15606 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15607 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
15608 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
15609 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
15610 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
15611 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
15612 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
15613 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
15614 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
15615 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
15616 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
15617 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
15618 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
15619 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
15620 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15621 Enable unaligned load optimization for Intel Core i3, i5 and i7
15622 processors.
15623 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
15624 Define.
15625 (index_Fast_Unaligned_Load): Define.
15626 (HAS_FAST_UNALIGNED_LOAD): Define.
15627
15628 2011-06-23 Marek Polacek <mpolacek@redhat.com>
15629
15630 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
15631
15632 2011-06-22 Ulrich Drepper <drepper@gmail.com>
15633
15634 [BZ #12907]
15635 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
15636 until it is clear that the information is realy needed.
15637 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
15638
15639 2011-06-22 Andreas Schwab <schwab@redhat.com>
15640
15641 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
15642
15643 2011-06-22 Ulrich Drepper <drepper@gmail.com>
15644
15645 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15646 /sys/devices/system/cpu/online if it is usable.
15647
15648 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
15649 reading the information from the /proc filesystem to once a second.
15650
15651 2011-06-21 Andreas Jaeger <aj@suse.de>
15652
15653 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
15654 NULL after inclusion of kernel headers.
15655
15656 2011-06-21 Ulrich Drepper <drepper@gmail.com>
15657
15658 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
15659 calls to internal_setent.
15660
15661 [BZ #12885]
15662 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
15663 addresses using gethostbyname4_r ignore IPv4 addresses.
15664
15665 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
15666 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
15667
15668 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
15669
15670 2011-06-20 David S. Miller <davem@davemloft.net>
15671
15672 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
15673 inclusions.
15674 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
15675
15676 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
15677 (elf_irel): Use it.
15678 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
15679 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
15680 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
15681 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
15682 * sysdeps/x86_64/dl-irel.h: Likewise.
15683
15684 * elf/dl-runtime.c: Use elf_ifunc_invoke.
15685 * elf/dl-sym.c: Likewise.
15686
15687 2011-06-15 Ulrich Drepper <drepper@gmail.com>
15688
15689 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
15690 need to dereference resplen2.
15691
15692 2011-06-14 Andreas Schwab <schwab@redhat.com>
15693
15694 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
15695
15696 2011-06-15 Ulrich Drepper <drepper@gmail.com>
15697
15698 * Makeconfig: Define vardbdir and inst_vardbdir.
15699 * nss/Makefile: Add rules to install db-Makefile.
15700
15701 * nss/nss_db/db-XXX.c: Cleanup.
15702
15703 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
15704 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
15705 GLIBC_PRIVATE.
15706 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
15707 * nss/makedb.c: Implement -g option to specify that value strings
15708 are generated and should not be added to table iterated over for
15709 get*ent calls.
15710 * nss/nss_db/db-initgroups.c: New file.
15711
15712 * nss/getent.c: Add support for initgroups lookups through getgrouplist
15713 interface.
15714
15715 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
15716 (internal_getgrouplist): Adjust to name change.
15717 Update use_initgroups_entry if this is not the first call.
15718 * nss/databases.def: Add initgroups entry.
15719
15720 * nss/makedb.c (compute_tables): Check result of multiple hash table
15721 sizes to minimize maximum chain length.
15722
15723 2011-06-14 Ulrich Drepper <drepper@gmail.com>
15724
15725 * Versions.def: Add entry for libnss_db.
15726 * shlib-versions: Likewise.
15727 * nss/Makefile: Add rules to build libnss_db.
15728 * nss/Versions: Add libnss_db information. Organize libnss_files
15729 entries better.
15730 * nss/db-Makefile: Add gshadow support. Change rules for the new
15731 makedb progra. Some minor improvements to generate smaller files.
15732 * nss/nss_db/nss_db.h: Move NSS database header data structures to
15733 here from...
15734 * nss/makedb.c: ...here.
15735 Improve database format to be smaller and require less memory at
15736 runtime.
15737 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
15738 db anymore.
15739 * nss/nss_db/db-netgrp.c: Likewise.
15740 * nss/nss_db/db-open.c: Likewise.
15741 * nss/nss_files/flies-XXX.x: Adjust comments.
15742 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
15743 * nss/nss_files/files-grp.c: Likewise.
15744 * nss/nss_files/files-hosts.c: Likewise.
15745 * nss/nss_files/files-network.c: Likewise.
15746 * nss/nss_files/files-proto.c: Likewise.
15747 * nss/nss_files/files-pwd.c: Likewise.
15748 * nss/nss_files/files-rpc.c: Likewise.
15749 * nss/nss_files/files-service.c: Likewise.
15750 * nss/nss_files/files-sgrp.c: Likewise.
15751 * nss/nss_files/files-spwd.c: Likewise.
15752 * nss/nss_db/db-alias.c: Removed.
15753 * nss/nss_db/dummy-db.h: Removed.
15754
15755 2011-06-02 Ulrich Drepper <drepper@gmail.com>
15756
15757 * nss/makedb.c: Rewritten to not use database library.
15758 * nss/Makefile: Update to build new makedb program.
15759
15760 2011-06-14 Andreas Jaeger <aj@suse.de>
15761
15762 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
15763 memset declaration.
15764
15765 2011-06-10 Andreas Schwab <schwab@redhat.com>
15766
15767 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
15768 tmpbuf.
15769
15770 2011-06-10 Roland McGrath <roland@hack.frob.com>
15771
15772 * Makerules (shlib.lds): Fail if the linker script comes out empty.
15773 * elf/Makefile ($(objpfx)ld.so): Likewise.
15774
15775 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
15776 Don't list ld.so twice in dependencies.
15777
15778 * posix/bug-regex31.c: Include <stdlib.h>.
15779
15780 * nscd/hstcache.c (cache_addhst): Remove unused variable.
15781
15782 * nis/nss_compat/compat-spwd.c
15783 (getspent_next_nss_netgr): Remove unused variable.
15784 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
15785
15786 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
15787 nonmembers" output to use the right array.
15788
15789 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
15790
15791 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
15792
15793 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
15794 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
15795 * catgets/gencat.c (read_input_file): Likewise.
15796 * locale/programs/locarchive.c (enlarge_archive): Likewise.
15797
15798 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
15799 variable definition inside #if's controlling its use.
15800
15801 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
15802
15803 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
15804
15805 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
15806
15807 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
15808 unreachable code.
15809
15810 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
15811
15812 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
15813 * configure: Regenerated.
15814
15815 * Makerules: Revert last change.
15816 * elf/Makefile: Likewise.
15817
15818 2011-06-09 Roland McGrath <roland@hack.frob.com>
15819
15820 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
15821 * elf/Makefile ($(objpfx)librtld.os): Likewise.
15822 (reloc-link): Likewise.
15823
15824 2011-06-09 Ulrich Drepper <drepper@gmail.com>
15825
15826 * elf/Makefile: Add rules to build pldd.
15827 * elf/pldd.c: New file.
15828 * elf/pldd-xx.c: New file.
15829
15830 2011-06-07 Ulrich Drepper <drepper@gmail.com>
15831
15832 * version.h: Update for 2.15 development version.
15833
15834 2011-06-07 David S. Miller <davem@davemloft.net>
15835
15836 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
15837 ifuncs.
15838 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
15839 elf_machine_lazy_rel): Likewise.
15840 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15841 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
15842 elf_machine_lazy_rel): Likewise.
15843 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
15844 dl_hwcap via passed in argument.
15845 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
15846 Likewise.
15847
15848 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15849
15850 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
15851
15852 2011-06-06 Roland McGrath <roland@hack.frob.com>
15853
15854 [BZ #12849]
15855 * manual/fdl-1.1.texi: New file, verbatim from:
15856 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
15857 * manual/lgpl-2.1.texi: New file, verbatim from:
15858 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
15859 * manual/Makefile (licenses): New variable, list those new file names.
15860 (texis): Use it.
15861 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
15862
15863 * manual/fdl.texi: File removed.
15864 * manual/lesser.texi: File removed.
15865 * manual/libc.texinfo (Copying, Documentation License):
15866 Use new @include file names, put @appendix directive before @include.
15867
15868 2011-06-04 Jakub Jelinek <jakub@redhat.com>
15869
15870 [BZ #12841]
15871 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
15872 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
15873 (mq_open): Add __NTH.
15874
15875 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
15876
15877 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15878 Assume Intel Core i3/i5/i7 processor if AVX is available.
15879
15880 2011-05-31 Ulrich Drepper <drepper@gmail.com>
15881
15882 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15883 typo.
15884
15885 2011-05-31 Andreas Schwab <schwab@redhat.com>
15886
15887 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
15888 memory. Use alloca_account. Fix memory leak when retrying.
15889
15890 2011-05-31 Ulrich Drepper <drepper@gmail.com>
15891
15892 * version.h (RELEASE): Bump for 2.14 release.
15893 * include/features.h (__GLIBC_MINOR__): Bump to 14.
15894
15895 * config.make.in (RANLIB): Remove entry.
15896
15897 2011-05-30 Ulrich Drepper <drepper@gmail.com>
15898
15899 * po/Makefile (po-sed-cmd): Add ksh to extensions.
15900 (libc.pot): Work around missing support for .ksh extension in xgettext.
15901
15902 [BZ #12684]
15903 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
15904 if both request failed.
15905 (send_dg): In case of server errors clear resplen or *resplen2.
15906
15907 [BZ #12454]
15908 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
15909 when there are multiple maps.
15910 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
15911 (_dl_fini): Remove test here.
15912
15913 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
15914
15915 2011-05-29 Ulrich Drepper <drepper@gmail.com>
15916
15917 [BZ #12350]
15918 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
15919 bit from old_res_options.
15920 (gaih_inet): Likewise.
15921
15922 [BZ #11099]
15923 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
15924 as signed.
15925
15926 * resolv/res_init.c (res_setoptions): Make the code more compact.
15927
15928 [BZ #11558]
15929 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
15930 set RES_USEVC.
15931
15932 [BZ #11634]
15933 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
15934
15935 * malloc/malloc.h: Mark malloc hook variables as deprecated.
15936
15937 [BZ #11781]
15938 * malloc/malloc.h: Declare malloc hook variables as volatile.
15939
15940 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
15941 in last patch.
15942
15943 [BZ #11799]
15944 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
15945 raise in the comment.
15946 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15947 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15948 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
15949
15950 2011-05-28 Ulrich Drepper <drepper@gmail.com>
15951
15952 [BZ #12811]
15953 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
15954 grow the buffers more if it already has to be sufficient.
15955 (build_wcs_upper_buffer): Likewise.
15956 * posix/regexec.c (check_matching): Likewise.
15957 (clean_state_log_if_needed): Likewise.
15958 (extend_buffers): Don't enlarge buffers beyond size of the input
15959 buffer.
15960 Patches mostly by Emil Wojak <emil@wojak.eu>.
15961 * posix/bug-regex32.c: New file.
15962 * posix/Makefile (tests): Add bug-regex32.
15963
15964 * locale/findlocale.c (_nl_find_locale): Return right away if
15965 _nl_explode_name failed.
15966 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
15967
15968 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
15969
15970 * debug/xtrace.sh: Unify messages.
15971 * malloc/memusage.sh: Likewise.
15972
15973 [BZ #12813]
15974 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
15975 time symbol from vDSO. Substitute with vsyscall if not available.
15976 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
15977 __vdso_time.
15978
15979 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
15980 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
15981 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
15982 Add sendmmsg and internal_sendmmsg.
15983 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
15984 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
15985 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
15986
15987 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
15988 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
15989 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
15990
15991 2011-05-27 Ulrich Drepper <drepper@gmail.com>
15992
15993 [BZ #12813]
15994 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
15995 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
15996 available.
15997 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
15998 __vdso_getcpu.
15999
16000 [BZ #12814]
16001 * iconvdata/Makefile (tests): Add bug-iconv9.
16002 * iconvdata/bug-iconv9.c: New file.
16003
16004 2011-05-27 Andreas Schwab <schwab@redhat.com>
16005
16006 [BZ #12814]
16007 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
16008
16009 2011-05-25 Jakub Jelinek <jakub@redhat.com>
16010
16011 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16012 (struct user_regs_struct): Change intcs field back to cs.
16013
16014 2011-05-25 Ulrich Drepper <drepper@gmail.com>
16015
16016 * po/ja.po: Update from translation team.
16017
16018 2011-05-23 Ulrich Drepper <drepper@gmail.com>
16019
16020 [BZ #12795]
16021 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
16022 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
16023
16024 2011-05-20 Andreas Schwab <schwab@redhat.com>
16025
16026 * stdlib/longlong.h: Update from GCC.
16027
16028 2011-05-23 Andreas Schwab <schwab@redhat.com>
16029
16030 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
16031 parameter name.
16032 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
16033 Add parameter name.
16034 (__sysconf): Pass it down.
16035
16036 2011-05-22 Ulrich Drepper <drepper@gmail.com>
16037
16038 [BZ #12671]
16039 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
16040 some situations.
16041 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16042 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
16043 add in in __libc_use_alloca calls. Adjust callers.
16044 (glob): Use malloc in some situations.
16045
16046 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
16047 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
16048 pltexit.
16049
16050 2011-05-21 Ulrich Drepper <drepper@gmail.com>
16051
16052 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
16053 and CLOCK_BOOTTIME_ALARM.
16054
16055 [BZ #12782]
16056 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
16057 is returned.
16058
16059 * string/_strerror.c (__strerror_r): Print negative errors as signed
16060 numbers.
16061
16062 [BZ #12777]
16063 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
16064 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
16065 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
16066
16067 * configure.in: Fix typo in redirection and correct removal of test
16068 files in two cases.
16069
16070 [BZ #12788]
16071 * locale/setlocale.c (new_composite_name): Fix test to check for
16072 identical name of all categories.
16073
16074 [BZ #12792]
16075 * libio/filedoalloc.c (local_isatty): New function.
16076 (_IO_file_doallocate): Use local_isatty.
16077 * stdio-common/perror.c (perror): In case a new stream is used
16078 forward the stream error.
16079 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
16080 error flag.
16081
16082 2011-05-20 Ulrich Drepper <drepper@gmail.com>
16083
16084 [BZ #11869]
16085 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
16086 alloca.
16087 * include/alloca.h (extend_alloca_account): Define.
16088
16089 [BZ #11857]
16090 * posix/regex.h: Fix comments with documentation of user-accessible
16091 fields after compilation and describe correct free'ing of pattern
16092 after re_compile_pattern.
16093 Patch by Reuben Thomas <rrt@sc3d.org>.
16094
16095 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
16096
16097 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
16098 and -mno-altivec to prevent the compiler from using Altivec and/or
16099 VSX instructions when the corresponding registers are not available.
16100
16101 2011-05-19 Andreas Schwab <schwab@redhat.com>
16102
16103 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
16104
16105 2011-05-19 Ulrich Drepper <drepper@gmail.com>
16106
16107 * libio/freopen.c (freopen): Use __dup2, not dup2.
16108 * libio/freopen64.c (freopen64): Likewise.
16109
16110 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
16111
16112 [BZ #12775]
16113 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
16114 * math/Makefile (tests): Add test-powl.
16115 (CFLAGS-test-powl.c): Define.
16116 * math/test-powl.c: New file.
16117
16118 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
16119
16120 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
16121
16122 2011-05-17 Ulrich Drepper <drepper@gmail.com>
16123
16124 [BZ #11837]
16125 * iconvdata/gb18030.c: Update to GB18020-2005.
16126
16127 2011-05-16 Ulrich Drepper <drepper@gmail.com>
16128
16129 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
16130 RE_SYNTAX_POSIX_AWK): Update to match recent development.
16131 Patch by Aharon Robbins <arnold@skeeve.com>.
16132
16133 [BZ #11892]
16134 * stdlib/putenv.c (putenv): Don't always create copy of the variable
16135 on the stack.
16136
16137 [BZ #11895]
16138 * misc/pselect.c (__pselect): Handle timeout value errors hidden
16139 through underflows.
16140
16141 [BZ #12766]
16142 * misc/error.c (error_at_line): Ensure file_name and old_file_name
16143 point to strings before performing equality test for error_one_per_line
16144 mode.
16145
16146 [BZ #11697]
16147 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
16148
16149 [BZ #11820]
16150 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16151 (struct user_fpregs_struct): Avoid __uint*_t types.
16152
16153 [BZ #6420]
16154 * malloc/mtrace.c (tr_where): Add additional parameter to point to
16155 symbol info. Use it instead of calling _dl_addr locally.
16156 (lock_and_info): New function.
16157 (tr_freehook): Call lock_and_info and pass symbol info as additional
16158 parameter to tr_where.
16159 (tr_mallochook): Likewise.
16160 (tr_reallochook): Likewise.
16161 (tr_memalignhook): Likewise.
16162
16163 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
16164 used and couldn't be at all thread-safe.
16165
16166 2011-05-15 Ulrich Drepper <drepper@gmail.com>
16167
16168 * libio/freopen.c (freopen): Don't close old file descriptor
16169 before the new one is opened. Instead dup the new file descriptor
16170 to the old one after the new stream is created.
16171 * libio/freopen64.c (freopen64): Likewise.
16172 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
16173 * libio/fileops.c (_IO_new_file_close_it): Handle new
16174 _IO_FLAGS2_NOCLOSE flag.
16175 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
16176 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
16177 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
16178 _IO_FLAGS2_NOCLOSE flag.
16179 * include/unistd.h: Add hidden_proto for dup3.
16180 Define __have_dup3.
16181 * io/dup3.c: Define hidden symbol.
16182 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
16183
16184 [BZ #7101]
16185 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
16186 when an incomplete long option is used.
16187 * posix/tst-getopt_long1.c: New file.
16188 * posix/Makefile (tests): Add tst-getopt_long1.
16189
16190 [BZ #10138]
16191 * scripts/config.guess: Update from autoconf-2.68.
16192 * scripts/config.sub: Likewise.
16193
16194 [BZ #10157]
16195 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
16196 tests into ...
16197 (has_cpuclock): ...this. New function.
16198 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
16199 macro here based on has_cpuclock code.
16200
16201 [BZ #10149]
16202 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16203 First byte (not low byte) is now always NUL.
16204 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
16205
16206 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16207 Use non-cancelable interfaces.
16208
16209 [BZ #9809]
16210 * locale/iso-639.def: Add entry for Sorani.
16211
16212 [BZ #11901]
16213 * include/stdlib.h: Move include protection to the right place.
16214 Define abort_msg_s. Declare __abort_msg with it.
16215 * stdlib/abort.c (__abort_msg): Adjust type.
16216 * assert/assert.c (__assert_fail_base): New function. Majority
16217 of code from __assert_fail. Allocate memory for __abort_msg with
16218 mmap.
16219 (__assert_fail): Now call __assert_fail_base.
16220 * assert/assert-perr.c: Remove bulk of implementation. Use
16221 __assert_fail_base.
16222 * include/assert.hL Declare __assert_fail_base.
16223 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
16224 mmap.
16225 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
16226
16227 2011-05-14 Ulrich Drepper <drepper@gmail.com>
16228
16229 [BZ #11952]
16230 [BZ #12453]
16231 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
16232 until all modules are registered in the DTV.
16233 * elf/Makefile: Add rules to build and run tst-tls19.
16234 * elf/tst-tls19.c: New file.
16235 * elf/tst-tls19mod1.c: New file.
16236 * elf/tst-tls19mod2.c: New file.
16237 * elf/tst-tls19mod3.c: New file.
16238 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
16239
16240 [BZ #12083]
16241 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
16242 correctly.
16243
16244 [BZ #12601]
16245 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
16246 two-byte sequence errors.
16247 * iconvdata/Makefile (tests): Add bug-iconv8.
16248 * iconvdata/bug-iconv8.c: New file.
16249
16250 [BZ #12626]
16251 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
16252 buf2 definition.
16253
16254 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
16255
16256 [BZ #12432]
16257 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
16258 (dummy_getcfa): New function.
16259 (init): Get _Unwind_GetCFA address, use dummy if not found.
16260 (backtrace_helper): In recursion check, also check whether CFA changes.
16261 (__backtrace): Completely initialize arg.
16262
16263 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
16264 storing incomplete byte sequence in state object. Avoid testing for
16265 guaranteed too small input if we know there is enough data available.
16266
16267 2011-05-11 Andreas Schwab <schwab@redhat.com>
16268
16269 * Makeconfig (+link-pie): Indent.
16270 * Rules (binaries-pie): Define if $(have-fpie) and
16271 $(build-shared).
16272 (binaries-shared): Also filter out $(binaries-pie).
16273 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
16274 * nscd/Makefile (others-pie): Add nscd.
16275 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
16276 ($(objpfx)nscd): Remove command override.
16277 * login/Makefile (others-pie): Add pt_chown.
16278 ($(objpfx)pt_chown): Remove command override.
16279 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
16280 remove command overrides.
16281
16282 2011-05-13 Ulrich Drepper <drepper@gmail.com>
16283
16284 * libio/tst_putwc.c: Fix error messages.
16285
16286 [BZ #12724]
16287 * libio/fileops.c (_IO_new_file_close_it): Always flush when
16288 currently writing and seek to current position when not.
16289 * libio/Makefile (tests): Add bug-fclose1.
16290 * libio/bug-fclose1.c: New file.
16291
16292 2011-05-12 Ulrich Drepper <drepper@gmail.com>
16293
16294 [BZ #12511]
16295 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
16296 don't set DF_1_NODELETE here.
16297 (do_lookup_x): When entering new entry test for copy relocation
16298 and if necessary set DF_1_NODELETE flag.
16299 * elf/tst-unique4.cc: New file.
16300 * elf/tst-unique4.h: New file.
16301 * elf/tst-unique4lib.cc: New file.
16302 * elf/Makefile: Add rules to build and run tst-unique4.
16303 Patch by Piotr Bury <pbury@goahead.com>.
16304
16305 2011-05-11 Ulrich Drepper <drepper@gmail.com>
16306
16307 [BZ #12052]
16308 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
16309
16310 [BZ #12625]
16311 * misc/mntent_r.c (addmntent): Flush the stream after the output
16312
16313 [BZ #12393]
16314 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
16315 (is_trusted_path_normalize): Skip initial colon. Append slash
16316 to empty buffer. Duplicate is_trusted_path code but allow
16317 constructed patch to be prefix.
16318 (is_dst): Allow $ORIGIN followed by /.
16319 (_dl_dst_substitute): Correct clearing of check_for_trusted.
16320 Correct testing of result of is_trusted_path_normalize
16321 (decompose_rpath): Fix warning.
16322
16323 2011-05-10 Ulrich Drepper <drepper@gmail.com>
16324
16325 [BZ #11257]
16326 * grp/initgroups.c (internal_getgrouplist): When we found the service
16327 list through the initgroups entry in nsswitch.conf do not always
16328 continue on a successful lookup. Don't always use the
16329 __nss_group_database value if it is set.
16330 * nss/nsswitch.conf (initgroups): Change action for successful db
16331 lookup to continue for compatibility.
16332
16333 2011-05-09 Ulrich Drepper <drepper@gmail.com>
16334
16335 [BZ #11532]
16336 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
16337 and CP774 modules.
16338 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
16339 and CP774 modules.
16340 * iconvdata/tst-tables.sh: Likewise.
16341 * iconvdata/cp770.c: New file.
16342 * iconvdata/cp771.c: New file.
16343 * iconvdata/cp772.c: New file.
16344 * iconvdata/cp773.c: New file.
16345 * iconvdata/cp774.c: New file.
16346 * iconvdata/testdata/CP770: New file.
16347 * iconvdata/testdata/CP770..UTF8: New file.
16348 * iconvdata/testdata/CP771: New file.
16349 * iconvdata/testdata/CP771..UTF8: New file.
16350 * iconvdata/testdata/CP772: New file.
16351 * iconvdata/testdata/CP772..UTF8: New file.
16352 * iconvdata/testdata/CP773: New file.
16353 * iconvdata/testdata/CP773..UTF8: New file.
16354 * iconvdata/testdata/CP774: New file.
16355 * iconvdata/testdata/CP774..UTF8: New file.
16356
16357 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
16358 END CHARMAP line.
16359 * iconvdata/gen-8bit-gap.sh: Likewise.
16360 * iconvdata/gen-8bit.sh: Likewise.
16361
16362 * locale/iso-639.def: Add ary entry.
16363
16364 [BZ #11258]
16365 * locale/C-translit.h.in: Add U20A1 transliteration.
16366
16367 [BZ #12178]
16368 * locale/iso-639.def: Add wae entry.
16369 Patch by Kevin Bortis <bortis@translate-wae.ch>.
16370
16371 [BZ #12545]
16372 * locale/programs/localedef.c (construct_output_path): Use ssize_t
16373 for n.
16374
16375 [BZ #12711]
16376 * locale/C-translit.h.in: Add entry for U20B9.
16377 Patch by pravin.d.s@gmail.com.
16378
16379 2011-05-08 Ulrich Drepper <drepper@gmail.com>
16380
16381 [BZ #12713]
16382 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
16383 ENAMETOOLONG use generic getcwd.
16384 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
16385 in rtld. Use *stat64.
16386 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
16387 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
16388 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
16389 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
16390 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
16391 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
16392 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
16393 __fstatat64 macros.
16394 * include/dirent.h: Add libc_hidden_proto for rewinddir.
16395 * dirent/rewinddir.c: Add libc_hidden_def.
16396 * sysdeps/mach/hurd/rewinddir.c: Likewise.
16397 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
16398
16399 * include/dirent.h (__alloc_dir): Add flags parameter.
16400 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
16401 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
16402 __alloc_dir.
16403 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
16404 from fdopendir if O_CLOEXEC is already set.
16405
16406 2011-03-15 Alan Modra <amodra@gmail.com>
16407
16408 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
16409 l_tls_firstbyte_offset non-zero. Save padding offset in
16410 l_tls_firstbyte_offset for later use.
16411 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
16412 freeing static tls block.
16413
16414 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
16415
16416 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
16417 where #ifdef was intended. The intent is to prevent ARG_MAX from
16418 being defined by the kernel headers.
16419
16420 2011-05-07 Ulrich Drepper <drepper@gmail.com>
16421
16422 [BZ #12734]
16423 * resolv/resolv.h: Define RES_NOTLDQUERY.
16424 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
16425 no-tld-query and set RES_NOTLDQUERY.
16426 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
16427 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
16428 modern BIND to search name as TLD unless forbidden.
16429
16430 2011-05-07 Petr Baudis <pasky@suse.cz>
16431 Ulrich Drepper <drepper@gmail.com>
16432
16433 [BZ #12393]
16434 * elf/dl-load.c (fillin_rpath): Move trusted path check...
16435 (is_trusted_path): ...to here.
16436 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
16437 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
16438 using is_trusted_path_normalize() in setuid scripts.
16439
16440 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16441
16442 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
16443 __BEGIN/__END_DECLS.
16444
16445 2011-05-06 Ulrich Drepper <drepper@gmail.com>
16446
16447 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
16448 NSS_STATUS_NOTFOUND if no record was found.
16449
16450 2011-05-05 Andreas Schwab <schwab@redhat.com>
16451
16452 * sunrpc/Makefile (headers): Add rpc/netdb.h.
16453 (headers-not-in-tirpc): Remove rpc/netdb.h
16454 * resolv/netdb.h: Revert last change.
16455
16456 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16457
16458 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
16459 circular dependency between libgcc.a and libc.a.
16460
16461 2011-05-05 Andreas Schwab <schwab@redhat.com>
16462
16463 * resolv/netdb.h: Don't include <rpc/netdb.h>.
16464 * nis/Makefile: Don't install rpcsvc/*.
16465 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16466 instead of <rpc/types.h>.
16467 (MAXHOSTNAMELEN): Define.
16468
16469 2011-05-03 Andreas Schwab <schwab@redhat.com>
16470
16471 * elf/ldconfig.c (add_dir): Don't crash on empty path.
16472
16473 2011-04-28 Maciej Babinski <mbabinski@google.com>
16474
16475 [BZ #12714]
16476 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16477 gethostbyname4_r when IPv6 results are possible.
16478
16479 2011-05-02 Ulrich Drepper <drepper@gmail.com>
16480
16481 [BZ #12723]
16482 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16483 _PC_PIPE_BUF handling.
16484
16485 2011-04-30 Bruno Haible <bruno@clisp.org>
16486
16487 [BZ #12717]
16488 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16489 * resolv/netdb.h (getnameinfo): Change type of flags parameter
16490 to 'int'.
16491 * inet/getnameinfo.c (getnameinfo): Likewise.
16492
16493 2011-04-29 Ulrich Drepper <drepper@gmail.com>
16494
16495 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16496 to groups setting in database lookup.
16497 * nss/nsswitch.conf: Add initgroups entry.
16498
16499 2011-04-22 Ulrich Drepper <drepper@gmail.com>
16500
16501 [BZ #12685]
16502 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16503 mode string.
16504 Patch by Eric Blake <eblake@redhat.com>.
16505
16506 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
16507
16508 * sunrpc/Makefile (need-export-routines): Add svc_run.
16509 (routines): Remove svc_run.
16510 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16511 * sunrpc/clnt_perr.c (clnt_perrno): Export.
16512 * sunrpc/svc_run.c (svc_run): Likewise.
16513 * sunrpc/svc_udp.c (svcudp_create): Likewise.
16514
16515 2011-04-21 Ulrich Drepper <drepper@gmail.com>
16516
16517 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16518 problem in reallocation in last patch.
16519
16520 2011-04-20 Ulrich Drepper <drepper@gmail.com>
16521
16522 * sunrpc/Makefile: Move inclusion of Rules.
16523
16524 2011-04-19 Ulrich Drepper <drepper@gmail.com>
16525
16526 * nss/nss_files/files-initgroups.c: New file.
16527 * nss/Makefile (libnss_files-routines): Add files-initgroups.
16528 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16529 _nss_files_initgroups_dyn.
16530
16531 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
16532
16533 * elf/elf.h (R_ARM_IRELATIVE): Define.
16534
16535 2011-04-19 Ulrich Drepper <drepper@gmail.com>
16536
16537 * po/ru.po: Update from translation team.
16538
16539 2011-04-17 Ulrich Drepper <drepper@gmail.com>
16540
16541 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16542 dependencies.
16543
16544 2011-02-06 Mike Frysinger <vapier@gentoo.org>
16545
16546 [BZ #12653]
16547 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16548 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16549 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16550 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16551 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16552
16553 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
16554
16555 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16556 differing bytes.
16557 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16558 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16559 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16560
16561 2011-04-17 Ulrich Drepper <drepper@gmail.com>
16562
16563 [BZ #12420]
16564 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
16565 storing it.
16566 * stdlib/bug-getcontext.c: New file.
16567 * stdlib/Makefile: Add rules to build and run bug-getcontext.
16568
16569 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16570
16571 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
16572 instructions into .machine "z9-109".
16573 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16574 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16575
16576 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16577
16578 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
16579 between environment variables and auxiliary vector.
16580
16581 2011-04-16 Ulrich Drepper <drepper@gmail.com>
16582
16583 * Makefile: Add rules to build linkobj/libc.so.
16584 * include/libc-symbols.h: Define libc_hidden_nolink.
16585 * include/rpc/auth.h: Mark functions which are to be hidden.
16586 * include/rpc/auth_des.h: Likewise.
16587 * include/rpc/auth_unix.h: Likewise.
16588 * include/rpc/clnt.h: Likewise.
16589 * include/rpc/des_crypt.h: Likewise.
16590 * include/rpc/key_prot.h: Likewise.
16591 * include/rpc/pmap_clnt.h: Likewise.
16592 * include/rpc/pmap_prot.h: Likewise.
16593 * include/rpc/pmap_rmt.h: Likewise.
16594 * include/rpc/rpc_msg.h: Likewise.
16595 * include/rpc/svc.h: Likewise.
16596 * include/rpc/svc_auth.h: Likewise.
16597 * include/rpc/xdr.h: Likewise.
16598 * nis/Makefile: Link all DSOs against linkobj/libc.so.
16599 * nss/Makefile: Likewise.
16600 * sunrpc/Makefile: Don't install headers. Build library with normal
16601 entry points. Don't build rpcinfo. Link RPC tests appropriately.
16602 * sunrpc/auth_des.c: Hide exported symbols by default, export some
16603 for the compat linking library. Remove use of INTDEF/INTUSE.
16604 * sunrpc/auth_none.c: Likewise.
16605 * sunrpc/auth_unix.c: Likewise.
16606 * sunrpc/authdes_prot.c: Likewise.
16607 * sunrpc/authuxprot.c: Likewise.
16608 * sunrpc/clnt_gen.c: Likewise.
16609 * sunrpc/clnt_perr.c: Likewise.
16610 * sunrpc/clnt_raw.c: Likewise.
16611 * sunrpc/clnt_simp.c: Likewise.
16612 * sunrpc/clnt_tcp.c: Likewise.
16613 * sunrpc/clnt_udp.c: Likewise.
16614 * sunrpc/clnt_unix.c: Likewise.
16615 * sunrpc/des_crypt.c: Likewise.
16616 * sunrpc/des_soft.c: Likewise.
16617 * sunrpc/get_myaddr.c: Likewise.
16618 * sunrpc/key_call.c: Likewise.
16619 * sunrpc/key_prot.c: Likewise.
16620 * sunrpc/netname.c: Likewise.
16621 * sunrpc/pm_getmaps.c: Likewise.
16622 * sunrpc/pm_getport.c: Likewise.
16623 * sunrpc/pmap_clnt.c: Likewise.
16624 * sunrpc/pmap_prot.c: Likewise.
16625 * sunrpc/pmap_prot2.c: Likewise.
16626 * sunrpc/pmap_rmt.c: Likewise.
16627 * sunrpc/publickey.c: Likewise.
16628 * sunrpc/rpc_cmsg.c: Likewise.
16629 * sunrpc/rpc_common.c: Likewise.
16630 * sunrpc/rpc_dtable.c: Likewise.
16631 * sunrpc/rpc_prot.c: Likewise.
16632 * sunrpc/rpc_thread.c: Likewise.
16633 * sunrpc/rtime.c: Likewise.
16634 * sunrpc/svc.c: Likewise.
16635 * sunrpc/svc_auth.c: Likewise.
16636 * sunrpc/svc_authux.c: Likewise.
16637 * sunrpc/svc_raw.c: Likewise.
16638 * sunrpc/svc_run.c: Likewise.
16639 * sunrpc/svc_simple.c: Likewise.
16640 * sunrpc/svc_tcp.c: Likewise.
16641 * sunrpc/svc_udp.c: Likewise.
16642 * sunrpc/svc_unix.c: Likewise.
16643 * sunrpc/svcauth_des.c: Likewise.
16644 * sunrpc/xcrypt.c: Likewise.
16645 * sunrpc/xdr.c: Likewise.
16646 * sunrpc/xdr_array.c: Likewise.
16647 * sunrpc/xdr_float.c: Likewise.
16648 * sunrpc/xdr_intXX_t.c: Likewise.
16649 * sunrpc/xdr_mem.c: Likewise.
16650 * sunrpc/xdr_rec.c: Likewise.
16651 * sunrpc/xdr_ref.c: Likewise.
16652 * sunrpc/xdr_sizeof.c: Likewise.
16653 * sunrpc/xdr_stdio.c: Likewise.
16654
16655 2011-04-10 Ulrich Drepper <drepper@gmail.com>
16656
16657 [BZ #12650]
16658 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
16659 * sysdeps/ia64/dl-tls.h: Likewise.
16660 * sysdeps/powerpc/dl-tls.h: Likewise.
16661 * sysdeps/s390/dl-tls.h: Likewise.
16662 * sysdeps/sh/dl-tls.h: Likewise.
16663 * sysdeps/sparc/dl-tls.h: Likewise.
16664 * sysdeps/x86_64/dl-tls.h: Likewise.
16665 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
16666
16667 2011-03-14 Andreas Schwab <schwab@redhat.com>
16668
16669 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
16670 rpath element also skip the following colon.
16671 (expand_dynamic_string_token): Add is_path parameter and pass
16672 down to DL_DST_REQUIRED and _dl_dst_substitute.
16673 (decompose_rpath): Call expand_dynamic_string_token with
16674 non-zero is_path. Ignore empty rpaths.
16675 (_dl_map_object_from_fd): Call expand_dynamic_string_token
16676 with zero is_path.
16677
16678 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
16679
16680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16681 Make cancelable.
16682
16683 2011-04-09 Ulrich Drepper <drepper@gmail.com>
16684
16685 [BZ #12655]
16686 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
16687 Patch by Filipe David Manana <fdmanana@apache.org>.
16688
16689 2011-04-07 Andreas Schwab <schwab@redhat.com>
16690
16691 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
16692 Maintain aligned stack.
16693 (CHECK_RSP): Remove unused macro.
16694
16695 2011-04-03 Ulrich Drepper <drepper@gmail.com>
16696
16697 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
16698 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
16699
16700 2011-04-02 Ulrich Drepper <drepper@gmail.com>
16701
16702 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
16703
16704 * include/features.h: Mention __USE_XOPEN2K8 in comment.
16705
16706 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
16707
16708 [BZ #12518]
16709 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
16710 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
16711 * sysdeps/x86_64/memmove.c: New file.
16712 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
16713 (memcpy): Renamed to ...
16714 (__new_memcpy): This.
16715 (memcpy): Provide GLIBC_2_14 memcpy.
16716 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
16717 (memcpy): Provide GLIBC_2_2_5 memcpy.
16718
16719 2011-04-01 Ulrich Drepper <drepper@gmail.com>
16720
16721 [BZ #12631]
16722 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
16723
16724 2011-03-30 Andreas Schwab <schwab@redhat.com>
16725
16726 * misc/syncfs.c: New file.
16727 * misc/Makefile (routines): Add syncfs.
16728 * posix/unistd.h: Declare syncfs.
16729 * sysdeps/unix/syscalls.list: Add syncfs.
16730
16731 2011-04-01 Andreas Schwab <schwab@redhat.com>
16732
16733 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
16734 open_by_handle_at.
16735 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16736 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16737 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16738 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16739 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16740 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
16741 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16742
16743 2011-04-01 Ulrich Drepper <drepper@gmail.com>
16744
16745 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
16746 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16747 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
16748 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16749 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16750 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16751 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16752
16753 * io/Makefile: Compile fallocate.c, fallocate64.c, and
16754 sync_file_range.c with -fexceptions.
16755 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
16756 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
16757 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16758 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16759 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16760 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16761 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
16762 sync_file_range as cancellation point
16763 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
16764 now a wrapper around __call_sync_file_range with cancellation handling.
16765 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
16766 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
16767 function name to __call_sync_file_range.
16768 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
16769 Add call_sync_file_range.
16770
16771 2011-04-01 Andreas Schwab <schwab@redhat.com>
16772
16773 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16774 bits/timex.h.
16775
16776 2011-04-01 Ulrich Drepper <drepper@gmail.com>
16777
16778 * iconv/iconv.h: Fix typo in comment.
16779 * io/fcntl.h: Likewise.
16780 * libio/stdio.h: Likewise.
16781 * posix/spawn.h: Likewise.
16782 * posix/unistd.h: Likewise.
16783 * stdlib/stdlib.h: Likewise.
16784 * time/time.h: Likewise.
16785 * wcsmbs/wchar.h: Likewise.
16786
16787 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
16788 open_by_handle): Add.
16789 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
16790 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
16791 Augment a few comments.
16792 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16793 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16794 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16795 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16796 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16797 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
16798 open_by_handle.
16799
16800 * io/fcntl.h (AT_EMPTY_PATH): Define.
16801
16802 2011-03-30 Ulrich Drepper <drepper@gmail.com>
16803
16804 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
16805 * sysdeps/unix/sysv/linux/bits/time.h: New file.
16806 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
16807 to...
16808 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
16809 * Versions.def: Add GLIBC_2.14.
16810 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
16811 Export.
16812
16813 2011-03-22 Ulrich Drepper <drepper@gmail.com>
16814
16815 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
16816 round counter.
16817 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16818
16819 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
16820
16821 [BZ #12597]
16822 * string/test-strncmp.c (do_page_test): New function.
16823 (check2): Likewise.
16824 (test_main): Call check2.
16825 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
16826
16827 2011-03-20 Ulrich Drepper <drepper@gmail.com>
16828
16829 [BZ #12587]
16830 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
16831 Handle cache information in CPU leaf 4.
16832 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16833
16834 2011-03-18 Ulrich Drepper <drepper@gmail.com>
16835
16836 [BZ #12583]
16837 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
16838 character representation.
16839 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
16840
16841 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
16842
16843 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
16844 END(__isnan) to END(__isnanf) to match function entry point/label
16845 EALIGN(__isnanf,...).
16846
16847 2011-03-10 Jakub Jelinek <jakub@redhat.com>
16848
16849 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
16850
16851 2011-03-10 Ulrich Drepper <drepper@gmail.com>
16852
16853 [BZ #12510]
16854 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
16855 copy from the symbol referenced in the relocation to initialize the
16856 used variable.
16857 Patch by Piotr Bury <pbury@goahead.com>.
16858 * elf/Makefile: Add rules to build and tst-unique3.
16859 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
16860 * elf/tst-unique3.cc: New file.
16861 * elf/tst-unique3.h: New file.
16862 * elf/tst-unique3lib.cc: New file.
16863 * elf/tst-unique3lib2.cc: New file.
16864
16865 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
16866
16867 2011-03-10 Mike Frysinger <vapier@gentoo.org>
16868
16869 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
16870 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
16871 to _start.
16872
16873 2011-03-06 Ulrich Drepper <drepper@gmail.com>
16874
16875 * elf/dl-load.c (_dl_map_object): If we are looking for the first
16876 to-be-loaded object along a path to loader is ld.so.
16877
16878 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16879 Ulrich Drepper <drepper@gmail.com>
16880
16881 * sysdeps/x86_64/memset.S: After aligning destination, code
16882 branches to different locations depending on the value of
16883 misalignment, when multiarch is enabled. Fix this.
16884
16885 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16886
16887 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
16888 Set _x86_64_preferred_memory_instruction for AMD processsors.
16889 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16890 Set bit_Prefer_SSE_for_memop for AMD processors.
16891
16892 2011-03-04 Ulrich Drepper <drepper@gmail.com>
16893
16894 * libio/fmemopen.c (fmemopen): Optimize a bit.
16895
16896 2011-03-03 Andreas Schwab <schwab@redhat.com>
16897
16898 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
16899
16900 2011-03-03 Roland McGrath <roland@redhat.com>
16901
16902 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
16903
16904 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
16905
16906 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
16907 __bzero_ultra1 instead of __memset_ultra1.
16908
16909 2011-02-23 Andreas Schwab <schwab@redhat.com>
16910 Ulrich Drepper <drepper@gmail.com>
16911
16912 [BZ #12509]
16913 * include/link.h (struct link_map): Add l_orig_initfini.
16914 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
16915 returning unsuccessfully.
16916 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
16917 close of a file loaded at startup, restore the original l_initfini
16918 list.
16919 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
16920 list, store the pointer.
16921 * elf/Makefile ($(objpfx)noload-mem): New rule.
16922 (noload-ENV): Define.
16923 (tests): Add $(objpfx)noload-mem.
16924 * elf/noload.c: Include <memcheck.h>.
16925 (main): Call mtrace. Close all opened handles.
16926
16927 2011-02-17 Andreas Schwab <schwab@redhat.com>
16928
16929 [BZ #12454]
16930 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
16931 dependencies are missing.
16932
16933 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16934
16935 Fix __if_freereq crash: Unlike the generic version which uses free,
16936 Hurd needs munmap.
16937 * sysdeps/mach/hurd/ifreq.h: New file.
16938
16939 2011-01-27 Petr Baudis <pasky@suse.cz>
16940 Ulrich Drepper <drepper@gmail.com>
16941
16942 [BZ 12445]#
16943 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
16944 to extend_alloca().
16945 * stdio-common/bug23.c: New file.
16946 * stdio-common/Makefile (tests): Add bug23.
16947
16948 2010-09-28 Andreas Schwab <schwab@redhat.com>
16949 Ulrich Drepper <drepper@gmail.com>
16950
16951 [BZ #12489]
16952 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
16953 before performing relro protection. At old place add assertion
16954 to make sure nothing changed.
16955
16956 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
16957 Glauber de Oliveira Costa <glommer@gmail.com>
16958
16959 * elf/elf.h: Add new ARM TLS relocs.
16960
16961 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
16962
16963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16964 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
16965 cast from r3.
16966 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
16967 'tests' variable.
16968 * sysdeps/wordsize-64/tst-writev.c: New file.
16969
16970 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
16971
16972 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
16973 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
16974 insns in _dl_start to prevent a TOC reference before relocs are
16975 resolved.
16976
16977 2011-02-15 Ulrich Drepper <drepper@gmail.com>
16978
16979 [BZ #12469]
16980 * Makeconfig: Remove RANLIB definition.
16981 * Makerules: Don't use RANLIB.
16982 * aclocal.m4: Remove ranlib test.
16983 * configure.in: No need to check for ranlib.
16984 * elf/rtld-Rules: Don't use RANLIB.
16985
16986 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16987
16988 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
16989 protection macro.
16990 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
16991 inclusion protection macro.
16992
16993 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
16994 SIGRTMIN and SIGRTMAX and print information in that case only when
16995 SIGRTMIN is defined.
16996
16997 2011-02-11 Jakub Jelinek <jakub@redhat.com>
16998
16999 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
17000 arginfo fn returning -1.
17001
17002 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
17003 and thousands string is zero terminated.
17004
17005 2011-02-03 Andreas Schwab <schwab@redhat.com>
17006
17007 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
17008 sysdeps/unix/sysv/linux/bits/socket.h.
17009
17010 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17011
17012 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
17013 (__CPU_COUNT): Remove old macros.
17014 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
17015 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
17016 (__CPU_ALLOC, __CPU_FREE): Add macros.
17017 (__sched_cpualloc, __sched_cpufree): Add declarations.
17018
17019 2011-02-05 Ulrich Drepper <drepper@gmail.com>
17020
17021 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
17022 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
17023 * nscd/aicache.c (addhstaiX): Return timeout of added value.
17024 (readdhstai): Return value of addhstaiX call.
17025 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
17026 (addgrbyX): Return value returned by cache_addgr.
17027 (readdgrbyname): Return value returned by addgrbyX.
17028 (readdgrbygid): Likewise.
17029 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
17030 (addpwbyX): Return value returned by cache_addpw.
17031 (readdpwbyname): Return value returned by addhstbyX.
17032 (readdpwbyuid): Likewise.
17033 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
17034 (addservbyX): Return value returned by cache_addserv.
17035 (readdservbyname): Return value returned by addservbyX:
17036 (readdservbyport): Likewise.
17037 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
17038 (addhstbyX): Return value returned by cache_addhst.
17039 (readdhstbyname): Return value returned by addhstbyX.
17040 (readdhstbyaddr): Likewise.
17041 (readdhstbynamev6): Likewise.
17042 (readdhstbyaddrv6): Likewise.
17043 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
17044 (readdinitgroups): Return value returned by addinitgroupsX.
17045 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
17046 (prune_cache): Keep track of timeout value of re-added entries.
17047 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
17048 * nscd/nscd.h: Adjust prototypes of readd* functions.
17049
17050 2011-02-04 Roland McGrath <roland@redhat.com>
17051
17052 * nis/nis_server.c (nis_servstate): Use the right name for 0.
17053 (nis_stats): Likewise.
17054 * nis/nis_modify.c (nis_modify): Likewise.
17055 * nis/nis_remove.c (nis_remove): Likewise.
17056 * nis/nis_add.c (nis_add): Likewise.
17057
17058 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
17059
17060 * posix/fnmatch_loop.c: Add some consts.
17061
17062 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
17063
17064 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
17065
17066 [BZ #12460]
17067 * config.make.in (config-cflags-novzeroupper): Define.
17068 * configure.in: Substitute libc_cv_cc_novzeroupper.
17069 * elf/Makefile (AVX-CFLAGS): Define.
17070 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
17071 (CFLAGS-tst-auditmod4a.c): Likewise.
17072 (CFLAGS-tst-auditmod4b.c): Likewise.
17073 (CFLAGS-tst-auditmod6b.c): Likewise.
17074 (CFLAGS-tst-auditmod6c.c): Likewise.
17075 (CFLAGS-tst-auditmod7b.c): Likewise.
17076 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
17077
17078 2011-02-02 Ulrich Drepper <drepper@gmail.com>
17079
17080 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
17081 function to the callback.
17082 Patch partly by Jiri Olsa <jolsa@redhat.com>.
17083
17084 2011-02-02 Andreas Schwab <schwab@redhat.com>
17085
17086 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
17087 of errno.
17088
17089 2011-01-19 Ulrich Drepper <drepper@gmail.com>
17090
17091 [BZ #11724]
17092 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
17093 of constructors.
17094 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
17095 of destructors.
17096 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
17097
17098 [BZ #11724]
17099 * elf/Makefile: Add rules to build and run new test.
17100 * elf/tst-initorder.c: New file.
17101 * elf/tst-initorder.exp: New file.
17102 * elf/tst-initordera1.c: New file.
17103 * elf/tst-initordera2.c: New file.
17104 * elf/tst-initordera3.c: New file.
17105 * elf/tst-initordera4.c: New file.
17106 * elf/tst-initorderb1.c: New file.
17107 * elf/tst-initorderb2.c: New file.
17108 * elf/tst-order-a1.c: New file.
17109 * elf/tst-order-a2.c: New file.
17110 * elf/tst-order-a3.c: New file.
17111 * elf/tst-order-a4.c: New file.
17112 * elf/tst-order-b1.c: New file.
17113 * elf/tst-order-b2.c: New file.
17114 * elf/tst-order-main.c: New file.
17115 New test case by George Gensure <werkt0@gmail.com>.
17116
17117 2010-10-01 Andreas Schwab <schwab@redhat.com>
17118
17119 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17120 decoding ACE if AI_CANONIDN.
17121
17122 2011-01-18 Ulrich Drepper <drepper@gmail.com>
17123
17124 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
17125
17126 2011-01-17 Ulrich Drepper <drepper@gmail.com>
17127
17128 * version.h (RELEASE): Bump for 2.13 release.
17129 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
17130
17131 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
17132
17133 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
17134 MADV_NOHUGEPAGE.
17135 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
17136 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17137 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17138 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17139 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17140 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17141
17142 * posix/getconf.c: Update copyright year.
17143 * catgets/gencat.c: Likewise.
17144 * csu/version.c: Likewise.
17145 * debug/catchsegv.sh: Likewise.
17146 * debug/xtrace.sh: Likewise.
17147 * elf/ldconfig.c: Likewise.
17148 * elf/ldd.bash.in: Likewise.
17149 * elf/sprof.c (print_version): Likewise.
17150 * iconv/iconv_prog.c: Likewise.
17151 * iconv/iconvconfig.c: Likewise.
17152 * locale/programs/locale.c: Likewise.
17153 * locale/programs/localedef.c: Likewise.
17154 * malloc/memusage.sh: Likewise.
17155 * malloc/mtrace.pl: Likewise.
17156 * nscd/nscd.c (print_version): Likewise.
17157 * nss/getent.c: Likewise.
17158
17159 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
17160 PF_CAIF, and PF_ALG.
17161 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17162
17163 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
17164
17165 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
17166 (modules-names): Use them.
17167 (ifunc-test-modules, ifunc-pie-tests): Define.
17168 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
17169 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
17170 (test-extras): Likewise.
17171 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
17172 $(compile-command.c).
17173 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
17174 (all-built-dso): Define.
17175 (check-textrel.out, check-execstack.out): Depend on it.
17176
17177 * configure.in: Don't override --enable-multi-arch.
17178
17179 2011-01-15 Ulrich Drepper <drepper@gmail.com>
17180
17181 [BZ #6812]
17182 * nscd/hstcache.c (tryagain): Define.
17183 (cache_addhst): Return tryagain not notfound for temporary errors.
17184 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
17185 failed.
17186
17187 2011-01-14 Ulrich Drepper <drepper@gmail.com>
17188
17189 [BZ #10563]
17190 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
17191 to make the syscall.
17192 * sysdeps/unix/sysv/linux/setgroups.c: New file.
17193
17194 [BZ #12378]
17195 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
17196 and fall back to matching as normal character if the string ends before
17197 the matching ']' is found. This is what POSIX requires.
17198 * posix/testfnm.c: Adjust test result.
17199 * posix/globtest.sh: Adjust test result. Add new test.
17200 * posix/tst-fnmatch.input: Likewise.
17201 * posix/tst-fnmatch2.c: Add new test.
17202
17203 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
17204
17205 * elf/Makefile (check-execstack): Revert last change. Depend on
17206 check-execstack.h.
17207 (check-execstack.h): New target.
17208 (generated): Add check-execstack.h.
17209 * elf/check-execstack.c: Include "check-execstack.h".
17210 (main): Revert last change.
17211 (handle_file): Return zero if GNU_STACK is absent and
17212 DEFAULT_STACK_PERMS doesn't include PF_X.
17213
17214 2011-01-13 Ulrich Drepper <drepper@gmail.com>
17215
17216 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
17217 in child fails because the descriptor is already closed.
17218 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
17219 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
17220 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
17221
17222 [BZ #12397]
17223 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
17224 syscall.
17225
17226 [BZ #10484]
17227 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
17228 temporary buffer used to handle multi lookups locally.
17229 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
17230
17231 2011-01-12 Ulrich Drepper <drepper@gmail.com>
17232
17233 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
17234 loader is ld.so.
17235
17236 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
17237
17238 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
17239 alignment for SSE2.
17240
17241 2011-01-12 Ulrich Drepper <drepper@gmail.com>
17242
17243 [BZ #12394]
17244 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
17245 characters. When rounding increased number of integer digits recompute
17246 number of groups.
17247 * stdio-common/tst-grouping.c: New file.
17248 * stdio-common/Makefile: Add rules to build and run tst-grouping.
17249
17250 2011-01-09 Ulrich Drepper <drepper@gmail.com>
17251
17252 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
17253 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
17254
17255 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
17256 void.
17257 * bits/select.h: Likewise.
17258
17259 2011-01-08 Ulrich Drepper <drepper@gmail.com>
17260
17261 * po/ja.po: Update from translation team.
17262
17263 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
17264
17265 [BZ #11155]
17266 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
17267 implementation just like for lxstat, fxstatat, et al.
17268
17269 2010-12-27 Jim Meyering <meyering@redhat.com>
17270
17271 [BZ #12348]
17272 * posix/regexec.c (build_trtable): Return failure indication upon
17273 calloc failure. Otherwise, re_search_internal could infloop on OOM.
17274
17275 2010-12-25 Ulrich Drepper <drepper@gmail.com>
17276
17277 [BZ #12201]
17278 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
17279 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
17280 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
17281 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
17282
17283 [BZ #12207]
17284 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
17285
17286 [BZ #12204]
17287 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
17288 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
17289
17290 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
17291
17292 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
17293 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
17294 script has SORT_BY_INIT_PRIORITY.
17295 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
17296 NO_CTORS_DTORS_SECTIONS is defined.
17297 * elf/soinit.c: Likewise.
17298 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
17299 NO_CTORS_DTORS_SECTIONS is defined.
17300 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
17301 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
17302 * sysdeps/sh/init-first.c: Likewise.
17303 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
17304
17305 2010-12-24 Ulrich Drepper <drepper@gmail.com>
17306
17307 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
17308 always use the slow path.
17309
17310 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
17311
17312 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
17313 similar rule which adds the sysdep directories to the header search in
17314 order to pick up the correct platform stackinfo.h.
17315 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
17316 perform test if it is, otherwise return successfully without testing.
17317 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
17318 DEFAULT_STACK_PERMS define in stackinfo.h.
17319 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
17320 defined in stackinfo.h.
17321 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
17322 DEFAULT_STACK_PERMS defined in stackinfo.h.
17323 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
17324 * sysdeps/ia64/stackinfo.h: Likewise.
17325 * sysdeps/s390/stackinfo.h: Likewise.
17326 * sysdeps/sh/stackinfo.h: Likewise.
17327 * sysdeps/sparc/stackinfo.h: Likewise.
17328 * sysdeps/x86_64/stackinfo.h: Likewise.
17329 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
17330 PF_X for powerpc64. Retain PF_X for powerpc32.
17331
17332 2010-12-19 Ulrich Drepper <drepper@gmail.com>
17333
17334 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
17335 accurately.
17336 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
17337 GETDENTS_64BIT_ALIGNED.
17338
17339 2010-12-14 Ulrich Drepper <dreper@gmail.com>
17340
17341 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
17342
17343 2010-12-10 Andreas Schwab <schwab@redhat.com>
17344
17345 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
17346 _GNU_SOURCE.
17347
17348 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
17349 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
17350 Remove __restrict.
17351 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
17352 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
17353
17354 2010-12-09 Ulrich Drepper <drepper@gmail.com>
17355
17356 [BZ #11655]
17357 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
17358 are initialized.
17359
17360 2010-12-09 Jakub Jelinek <jakub@redhat.com>
17361
17362 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
17363
17364 2010-12-03 Ulrich Drepper <drepper@gmail.com>
17365
17366 * po/it.po: Update from translation team.
17367
17368 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
17369
17370 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
17371 unused codes.
17372
17373 2010-11-30 Ulrich Drepper <drepper@gmail.com>
17374
17375 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
17376
17377 2010-11-24 Andreas Schwab <schwab@redhat.com>
17378
17379 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
17380 specially.
17381 (gaih_getanswer_slice): Likewise.
17382
17383 2010-10-20 Jakub Jelinek <jakub@redhat.com>
17384
17385 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
17386
17387 2010-05-31 Petr Baudis <pasky@suse.cz>
17388
17389 [BZ #11149]
17390 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
17391 silently even in the chroot mode.
17392
17393 2010-11-22 Ulrich Drepper <drepper@gmail.com>
17394
17395 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
17396 last patch a bit. Pretty printing
17397
17398 2010-05-31 Petr Baudis <pasky@suse.cz>
17399
17400 [BZ #10085]
17401 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
17402 initialization of skip_initgroups_dyn.
17403
17404 2010-11-19 Ulrich Drepper <drepper@gmail.com>
17405
17406 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
17407 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17408
17409 2010-11-16 Ulrich Drepper <drepper@gmail.com>
17410
17411 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
17412
17413 2010-11-11 Andreas Schwab <schwab@redhat.com>
17414
17415 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
17416 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
17417 (tst-fnmatch-ENV): Set MALLOC_TRACE.
17418 ($(objpfx)tst-fnmatch-mem): New rule.
17419 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
17420 * posix/tst-fnmatch.c (main): Call mtrace.
17421
17422 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
17423
17424 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17425 Support Intel processor model 6 and model 0x2c.
17426
17427 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
17428
17429 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
17430 signed comparison.
17431
17432 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
17433
17434 [BZ #12205]
17435 * string/test-strncasecmp.c (check_result): New function.
17436 (do_one_test): Use it.
17437 (check1): New function.
17438 (test_main): Use it.
17439 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
17440 Support strcasecmp and strncasecmp.
17441
17442 2010-11-08 Ulrich Drepper <drepper@gmail.com>
17443
17444 [BZ #12194]
17445 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
17446 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17447
17448 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
17449
17450 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
17451 IFUNC support.
17452 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17453 memset-x86-64.
17454 * sysdeps/x86_64/multiarch/bzero.S: New file.
17455 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
17456 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
17457 * sysdeps/x86_64/multiarch/memset.S: New file.
17458 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
17459 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17460 Set bit_Prefer_SSE_for_memop for Intel processors.
17461 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
17462 Define.
17463 (index_Prefer_SSE_for_memop): Define.
17464 (HAS_PREFER_SSE_FOR_MEMOP): Define.
17465
17466 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
17467
17468 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17469 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17470
17471 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
17472
17473 [BZ #12191]
17474 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17475 (__x86_64_raw_data_cache_size_half): Likewise.
17476 (__x86_64_raw_shared_cache_size): Likewise.
17477 (__x86_64_raw_shared_cache_size_half): Likewise.
17478
17479 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17480 (__x86_64_raw_data_cache_size_half): Likewise.
17481 (__x86_64_raw_shared_cache_size): Likewise.
17482 (__x86_64_raw_shared_cache_size_half): Likewise.
17483 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17484 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17485 and __x86_64_raw_shared_cache_size_half. Round
17486 __x86_64_data_cache_size_half, __x86_64_data_cache_size
17487 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17488 to multiple of 256 bytes.
17489
17490 2010-11-03 Ulrich Drepper <drepper@gmail.com>
17491
17492 [BZ #12167]
17493 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17494 of inacessible symlinks. Verify result of symlink before returning it.
17495 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17496 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17497
17498 2010-10-28 Erich Ritz <erichritz@gmail.com>
17499
17500 * math/math.h (isinf): Fix typo in comment.
17501
17502 2010-11-01 Ulrich Drepper <drepper@gmail.com>
17503
17504 * po/da.po: Update from translation team.
17505
17506 2010-10-26 Ulrich Drepper <drepper@gmail.com>
17507
17508 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17509 is added to the list.
17510
17511 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17512 Ulrich Drepper <drepper@gmail.com>
17513
17514 * elf/dl-object.c (_dl_new_object): Don't append the new object to
17515 the global list here. Move code to...
17516 (_dl_add_to_namespace_list): ...here. New function.
17517 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17518 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17519 * elf/dl-load.c (lose): Don't remove the element from the list.
17520 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17521 (_dl_map_object): Likewise.
17522
17523 2010-10-25 Ulrich Drepper <drepper@gmail.com>
17524
17525 [BZ #12159]
17526 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17527 into all bytes of SSE register.
17528 Patch by Richard Li <richardpku@gmail.com>.
17529
17530 2010-10-24 Ulrich Drepper <drepper@gmail.com>
17531
17532 [BZ #12140]
17533 * malloc/malloc.c (_int_free): Fill correct number of bytes when
17534 perturbing.
17535
17536 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
17537
17538 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17539 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17540 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17541 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17543 submachine.
17544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17545
17546 2010-10-22 Andreas Schwab <schwab@redhat.com>
17547
17548 * include/dlfcn.h (__RTLD_SECURE): Define.
17549 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
17550 mode & __RTLD_SECURE instead.
17551 (open_path): Rename preloaded parameter to secure.
17552 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17553 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17554 * elf/dl-deps.c (openaux): Likewise.
17555 * elf/rtld.c (struct map_args): Remove is_preloaded.
17556 (map_doit): Don't use it.
17557 (dl_main): Likewise.
17558 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
17559 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
17560
17561 2010-09-09 Andreas Schwab <schwab@redhat.com>
17562
17563 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
17564 (sysd-rules-targets): Remove duplicates.
17565 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
17566 rtld-%.$o dependency.
17567
17568 2010-10-18 Andreas Schwab <schwab@redhat.com>
17569
17570 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
17571 _dl_map_object do it.
17572
17573 2010-10-19 Ulrich Drepper <drepper@gmail.com>
17574
17575 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
17576 fast fma builtins, define the macros in the C99 standard.
17577 (FP_FAST_FMAF): Likewise.
17578 (FP_FAST_FMAL): Likewise.
17579 * sysdeps/x86_64/bits/mathdef.h: Likewise.
17580
17581 * bits/mathdef.h: Update copyright year.
17582 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17583
17584 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
17585
17586 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
17587 builtins, define the macros in the C99 standard.
17588 (FP_FAST_FMAF): Likewise.
17589 (FP_FAST_FMAL): Likewise.
17590 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
17591 multiply/add.
17592 (FP_FAST_FMAF): Likewise.
17593
17594 2010-10-15 Jakub Jelinek <jakub@redhat.com>
17595
17596 [BZ #3268]
17597 * math/libm-test.inc (fma_test): Some new testcases.
17598 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
17599 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
17600 y and infinite z. Do multiplication by C already in long double.
17601 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
17602 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
17603 y and infinite z. Do bitwise or of inexact bit into u.d.
17604 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
17605 * sysdeps/i386/fpu/s_fmaf.S: Removed.
17606 * sysdeps/i386/fpu/s_fma.S: Removed.
17607 * sysdeps/i386/fpu/s_fmal.S: Removed.
17608
17609 2010-10-16 Jakub Jelinek <jakub@redhat.com>
17610
17611 [BZ #3268]
17612 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
17613 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
17614 computation is not scheduled after fetestexcept. Fix value
17615 of minimum denormal long double.
17616
17617 2010-10-14 Jakub Jelinek <jakub@redhat.com>
17618
17619 [BZ #3268]
17620 * math/libm-test.inc (fma_test): Add some more tests.
17621 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
17622 correctly.
17623
17624 2010-10-15 Andreas Schwab <schwab@redhat.com>
17625
17626 * scripts/data/localplt-s390-linux-gnu.data: New file.
17627 * scripts/data/localplt-s390x-linux-gnu.data: New file.
17628
17629 2010-10-13 Jakub Jelinek <jakub@redhat.com>
17630
17631 [BZ #3268]
17632 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
17633 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
17634 instead of dbl-64.
17635 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
17636 inlines.
17637 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
17638 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
17639 if one of x and y is very large and the other is subnormal.
17640 * sysdeps/s390/fpu/s_fmaf.c: New file.
17641 * sysdeps/s390/fpu/s_fma.c: New file.
17642 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
17643 * sysdeps/powerpc/fpu/s_fma.S: New file.
17644 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
17645 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
17646 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
17647
17648 2010-10-12 Jakub Jelinek <jakub@redhat.com>
17649
17650 [BZ #3268]
17651 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
17652 fma tests.
17653 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
17654 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
17655 * sysdeps/i386/i686/multiarch/s_fma.c: Include
17656 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
17657 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
17658 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
17659 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
17660
17661 2010-10-12 Ulrich Drepper <drepper@redhat.com>
17662
17663 [BZ #12078]
17664 * posix/regcomp.c (parse_branch): One more memory leak plugged.
17665 * posix/bug-regex31.input: Add test case.
17666
17667 2010-10-11 Ulrich Drepper <drepper@gmail.com>
17668
17669 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
17670 * posix/bug-regex31.input: New file.
17671
17672 [BZ #12078]
17673 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
17674 (parse_sub_exp): Fix last change, use postorder.
17675
17676 * posix/bug-regex31.c: New file.
17677 * posix/Makefile: Add rules to build and run bug-regex31.
17678
17679 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
17680
17681 [BZ #12078]
17682 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
17683
17684 [BZ #12108]
17685 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
17686 to have entries in sys_siglist.
17687
17688 [BZ #12093]
17689 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
17690 be NULL.
17691
17692 2010-10-07 Jakub Jelinek <jakub@redhat.com>
17693
17694 [BZ #3268]
17695 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
17696 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
17697 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
17698 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
17699 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17700 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
17701 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
17702 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
17703 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
17704 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
17705 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
17706 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
17707 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17708 * math/ftestexcept.c (fetestexcept): Likewise.
17709 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
17710 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
17711 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17712 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
17713 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
17714 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
17715 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17716
17717 2010-10-11 Ulrich Drepper <drepper@gmail.com>
17718
17719 [BZ #12107]
17720 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
17721 newline.
17722
17723 2010-10-06 Ulrich Drepper <drepper@gmail.com>
17724
17725 * string/bug-strstr1.c: New file.
17726 * string/Makefile: Add rules to build and run bug-strstr1.
17727
17728 2010-10-05 Eric Blake <eblake@redhat.com>
17729
17730 [BZ #12092]
17731 * string/str-two-way.h (two_way_long_needle): Always clear memory
17732 when skipping input due to the shift table.
17733
17734 2010-10-03 Ulrich Drepper <drepper@gmail.com>
17735
17736 [BZ #12005]
17737 * malloc/mcheck.c: Handle large requests.
17738
17739 [BZ #12077]
17740 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
17741 for strncmp and strncasecmp.
17742 * string/stratcliff.c: Add tests for strcmp and strncmp.
17743 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
17744
17745 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17746
17747 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
17748 __set_fpscr.
17749
17750 2010-09-30 Andreas Jaeger <aj@suse.de>
17751
17752 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
17753 (CGROUP_SUPER_MAGIC): Define.
17754 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17755 Handle btrfs and cgroup file systems.
17756 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17757 Likewise.
17758
17759 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
17760
17761 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
17762 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
17763
17764 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17765
17766 [BZ #12067]
17767 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
17768 trying to locate the ELF header.
17769
17770 2010-09-27 Andreas Schwab <schwab@redhat.com>
17771
17772 [BZ #11611]
17773 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
17774 Mask out sign-bit copies when constructing f_fsid.
17775
17776 2010-09-24 Petr Baudis <pasky@suse.cz>
17777
17778 * debug/stack_chk_fail_local.c: Add missing licence exception.
17779 * debug/warning-nop.c: Likewise.
17780
17781 2010-09-15 Joseph Myers <joseph@codesourcery.com>
17782
17783 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
17784 implementing getdents64 using getdents syscall, set d_type if
17785 __ASSUME_GETDENTS32_D_TYPE.
17786
17787 2010-09-16 Andreas Schwab <schwab@redhat.com>
17788
17789 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
17790 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
17791
17792 2010-09-21 Ulrich Drepper <drepper@redhat.com>
17793
17794 [BZ #12037]
17795 * posix/unistd.h: Undo change of feature selection for ftruncate from
17796 2010-01-11.
17797
17798 2010-09-20 Ulrich Drepper <drepper@redhat.com>
17799
17800 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
17801 detection.
17802
17803 2010-09-20 Andreas Schwab <schwab@redhat.com>
17804
17805 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
17806 fanotify_mark.
17807 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17808
17809 2010-09-14 Andreas Schwab <schwab@redhat.com>
17810
17811 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
17812 variables after CHECK_SP call.
17813 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
17814
17815 2010-09-13 Andreas Schwab <schwab@redhat.com>
17816 Ulrich Drepper <drepper@redhat.com>
17817
17818 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
17819 re-relocationg ld.so.
17820 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
17821 _dl_init_paths call.
17822 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
17823 here anymore.
17824
17825 2010-09-14 Ulrich Drepper <drepper@redhat.com>
17826
17827 * resolv/res_init.c (__res_vinit): Count the default server we added.
17828
17829 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
17830 Ulrich Drepper <drepper@redhat.com>
17831
17832 [BZ #11968]
17833 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17834 (____longjmp_chk): Use %ebx for saving value across system call.
17835 Add unwind info.
17836
17837 2010-09-06 Andreas Schwab <schwab@redhat.com>
17838
17839 * manual/Makefile: Don't mix pattern rules with normal rules.
17840
17841 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
17842
17843 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
17844 operation.
17845 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17846 * libio/iofopncook.c (_IO_cookie_init): Likewise.
17847 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17848 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17849 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17850 Likewise.
17851
17852 2010-09-04 Ulrich Drepper <drepper@redhat.com>
17853
17854 [BZ #11979]
17855 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
17856 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
17857
17858 2010-09-02 Ulrich Drepper <drepper@redhat.com>
17859
17860 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
17861 * sysdeps/x86_64/addmul_1.S: Likewise.
17862 * sysdeps/x86_64/lshift.S: Likewise.
17863 * sysdeps/x86_64/mul_1.S: Likewise.
17864 * sysdeps/x86_64/rshift.S: Likewise.
17865 * sysdeps/x86_64/sub_n.S: Likewise.
17866 * sysdeps/x86_64/submul_1.S: Likewise.
17867
17868 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
17869
17870 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
17871 Define __sched_param instead of SCHED_* and sched_param when
17872 <bits/sched.h> is included with __need_schedparam defined.
17873 * bits/sched.h [__need_schedparam]
17874 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
17875 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
17876 (__defined_schedparam): Define to 1.
17877 (__sched_param): New structure, identical to sched_param.
17878 (__need_schedparam): Undefine.
17879
17880 2010-08-31 Mike Frysinger <vapier@gentoo.org>
17881
17882 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
17883 (epoll_create1): Declare.
17884
17885 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
17886
17887 2010-08-31 Andreas Schwab <schwab@redhat.com>
17888
17889 [BZ #7066]
17890 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
17891 shifting retval into place.
17892
17893 2010-09-01 Ulrich Drepper <drepper@redhat.com>
17894
17895 * nis/rpcsvc/nis.h: Update copyright notice.
17896 * nis/rpcsvc/nis.x: Likewise.
17897 * nis/rpcsvc/nis_callback.h: Likewise.
17898 * nis/rpcsvc/nis_callback.x: Likewise.
17899 * nis/rpcsvc/nis_object.x: Likewise.
17900 * nis/rpcsvc/nis_tags.h: Likewise.
17901 * nis/rpcsvc/yp.h: Likewise.
17902 * nis/rpcsvc/yp.x: Likewise.
17903 * nis/rpcsvc/ypupd.h: Likewise.
17904 * nis/yp_xdr.c: Likewise.
17905 * nis/ypupdate_xdr.c: Likewise.
17906
17907 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
17908 mainly the body of pmap_getport. Add parameters to specify timeouts.
17909 (pmap_getport): Use __libc_rpc_getport.
17910 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
17911 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
17912 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
17913
17914 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
17915
17916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
17917 fanotify_mark.
17918
17919 2010-08-27 Roland McGrath <roland@redhat.com>
17920
17921 * sysdeps/i386/i686/multiarch/Makefile
17922 (CFLAGS-varshift.c): New variable.
17923
17924 2010-08-27 Ulrich Drepper <drepper@redhat.com>
17925
17926 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
17927 * sysdeps/i386/i686/multiarch/varshift.c: New file.
17928
17929 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
17930
17931 * sysdeps/x86_64/strlen.S: Minimal code improvement.
17932
17933 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
17934
17935 * sysdeps/x86_64/strlen.S: Unroll the loop.
17936 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17937 strlen-sse2 strlen-sse2-bsf.
17938 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
17939 __strlen_no_bsf if bit_Slow_BSF is set.
17940 (__strlen_sse42): Removed.
17941 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
17942 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
17943
17944 2010-08-25 Roland McGrath <roland@redhat.com>
17945
17946 * sysdeps/x86_64/multiarch/varshift.S: File removed.
17947 * sysdeps/x86_64/multiarch/varshift.c: New file.
17948 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
17949 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
17950 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
17951 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17952
17953 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
17954
17955 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17956 strlen-sse2 strlen-sse2-bsf.
17957 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
17958 __strlen_sse2_bsf if bit_Slow_BSF is unset.
17959 (__strlen_sse2): Removed.
17960 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
17961 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
17962 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17963 bit_Slow_BSF for Atom.
17964 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
17965 (index_Slow_BSF): Define.
17966 (HAS_SLOW_BSF): Define.
17967
17968 2010-08-25 Ulrich Drepper <drepper@redhat.com>
17969
17970 [BZ #10851]
17971 * resolv/res_init.c (__res_vinit): When no server address at all
17972 is given default to loopback.
17973
17974 2010-08-24 Roland McGrath <roland@redhat.com>
17975
17976 * configure.in: Remove config-name.h generation.
17977 * configure: Regenerated.
17978 * config-name.in: File removed.
17979 * scripts/config-uname.sh: New file.
17980 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
17981 ($(objdir)config-name.h): New target.
17982
17983 * sunrpc/rpc_parse.h: Avoid nested comment.
17984
17985 2010-08-24 Richard Henderson <rth@redhat.com>
17986 Ulrich Drepper <drepper@redhat.com>
17987 H.J. Lu <hongjiu.lu@intel.com>
17988
17989 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
17990 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
17991 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
17992 Replace _mm_srli_si128 with __m128i_shift_right. Replace
17993 _mm_alignr_epi8 with _mm_loadu_si128.
17994 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
17995 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
17996 (__m128i_shift_right): Removed.
17997 * sysdeps/i386/i686/multiarch/varshift.h: New file.
17998 * sysdeps/i386/i686/multiarch/varshift.S: New file.
17999 * sysdeps/x86_64/multiarch/varshift.h: New file.
18000 * sysdeps/x86_64/multiarch/varshift.S: New file.
18001
18002 2010-08-21 Mike Frysinger <vapier@gentoo.org>
18003
18004 * configure.in: Move assembler checks to before sysdep dir checking.
18005
18006 2010-08-20 Petr Baudis <pasky@suse.cz>
18007
18008 * LICENSES: Sync the sunrpc license.
18009
18010 2010-08-19 Ulrich Drepper <drepper@redhat.com>
18011
18012 * sunrpc/auth_des.c: Update copyright notice once again.
18013 * sunrpc/auth_none.c: Likewise.
18014 * sunrpc/auth_unix.c: Likewise.
18015 * sunrpc/authdes_prot.c: Likewise.
18016 * sunrpc/authuxprot.c: Likewise.
18017 * sunrpc/bindrsvprt.c: Likewise.
18018 * sunrpc/clnt_gen.c: Likewise.
18019 * sunrpc/clnt_perr.c: Likewise.
18020 * sunrpc/clnt_raw.c: Likewise.
18021 * sunrpc/clnt_simp.c: Likewise.
18022 * sunrpc/clnt_tcp.c: Likewise.
18023 * sunrpc/clnt_udp.c: Likewise.
18024 * sunrpc/clnt_unix.c: Likewise.
18025 * sunrpc/des_crypt.c: Likewise.
18026 * sunrpc/des_soft.c: Likewise.
18027 * sunrpc/get_myaddr.c: Likewise.
18028 * sunrpc/getrpcport.c: Likewise.
18029 * sunrpc/key_call.c: Likewise.
18030 * sunrpc/key_prot.c: Likewise.
18031 * sunrpc/openchild.c: Likewise.
18032 * sunrpc/pm_getmaps.c: Likewise.
18033 * sunrpc/pm_getport.c: Likewise.
18034 * sunrpc/pmap_clnt.c: Likewise.
18035 * sunrpc/pmap_prot.c: Likewise.
18036 * sunrpc/pmap_prot2.c: Likewise.
18037 * sunrpc/pmap_rmt.c: Likewise.
18038 * sunrpc/rpc/auth.h: Likewise.
18039 * sunrpc/rpc/auth_unix.h: Likewise.
18040 * sunrpc/rpc/clnt.h: Likewise.
18041 * sunrpc/rpc/des_crypt.h: Likewise.
18042 * sunrpc/rpc/key_prot.h: Likewise.
18043 * sunrpc/rpc/netdb.h: Likewise.
18044 * sunrpc/rpc/pmap_clnt.h: Likewise.
18045 * sunrpc/rpc/pmap_prot.h: Likewise.
18046 * sunrpc/rpc/pmap_rmt.h: Likewise.
18047 * sunrpc/rpc/rpc.h: Likewise.
18048 * sunrpc/rpc/rpc_des.h: Likewise.
18049 * sunrpc/rpc/rpc_msg.h: Likewise.
18050 * sunrpc/rpc/svc.h: Likewise.
18051 * sunrpc/rpc/svc_auth.h: Likewise.
18052 * sunrpc/rpc/types.h: Likewise.
18053 * sunrpc/rpc/xdr.h: Likewise.
18054 * sunrpc/rpc_clntout.c: Likewise.
18055 * sunrpc/rpc_cmsg.c: Likewise.
18056 * sunrpc/rpc_common.c: Likewise.
18057 * sunrpc/rpc_cout.c: Likewise.
18058 * sunrpc/rpc_dtable.c: Likewise.
18059 * sunrpc/rpc_hout.c: Likewise.
18060 * sunrpc/rpc_main.c: Likewise.
18061 * sunrpc/rpc_parse.c: Likewise.
18062 * sunrpc/rpc_parse.h: Likewise.
18063 * sunrpc/rpc_prot.c: Likewise.
18064 * sunrpc/rpc_sample.c: Likewise.
18065 * sunrpc/rpc_scan.c: Likewise.
18066 * sunrpc/rpc_scan.h: Likewise.
18067 * sunrpc/rpc_svcout.c: Likewise.
18068 * sunrpc/rpc_tblout.c: Likewise.
18069 * sunrpc/rpc_util.c: Likewise.
18070 * sunrpc/rpc_util.h: Likewise.
18071 * sunrpc/rpcinfo.c: Likewise.
18072 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
18073 * sunrpc/rpcsvc/key_prot.x: Likewise.
18074 * sunrpc/rpcsvc/klm_prot.x: Likewise.
18075 * sunrpc/rpcsvc/mount.x: Likewise.
18076 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
18077 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
18078 * sunrpc/rpcsvc/rex.x: Likewise.
18079 * sunrpc/rpcsvc/rstat.x: Likewise.
18080 * sunrpc/rpcsvc/rusers.x: Likewise.
18081 * sunrpc/rpcsvc/sm_inter.x: Likewise.
18082 * sunrpc/rpcsvc/spray.x: Likewise.
18083 * sunrpc/rpcsvc/yppasswd.x: Likewise.
18084 * sunrpc/rtime.c: Likewise.
18085 * sunrpc/svc.c: Likewise.
18086 * sunrpc/svc_auth.c: Likewise.
18087 * sunrpc/svc_authux.c: Likewise.
18088 * sunrpc/svc_raw.c: Likewise.
18089 * sunrpc/svc_run.c: Likewise.
18090 * sunrpc/svc_simple.c: Likewise.
18091 * sunrpc/svc_tcp.c: Likewise.
18092 * sunrpc/svc_udp.c: Likewise.
18093 * sunrpc/svc_unix.c: Likewise.
18094 * sunrpc/svcauth_des.c: Likewise.
18095 * sunrpc/xcrypt.c: Likewise.
18096 * sunrpc/xdr.c: Likewise.
18097 * sunrpc/xdr_array.c: Likewise.
18098 * sunrpc/xdr_float.c: Likewise.
18099 * sunrpc/xdr_mem.c: Likewise.
18100 * sunrpc/xdr_rec.c: Likewise.
18101 * sunrpc/xdr_ref.c: Likewise.
18102 * sunrpc/xdr_sizeof.c: Likewise.
18103 * sunrpc/xdr_stdio.c: Likewise.
18104
18105 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
18106 handling.
18107
18108 2010-08-19 Andreas Schwab <schwab@redhat.com>
18109
18110 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
18111
18112 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
18113
18114 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
18115 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
18116 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
18117 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
18118 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
18119 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
18120 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
18121 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
18122 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
18123 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
18124 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
18125 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
18126 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
18127 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
18128
18129 2010-07-26 Anton Blanchard <anton@samba.org>
18130
18131 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
18132 * malloc/arena.c (heap_trim): Likewise.
18133
18134 2010-08-16 Ulrich Drepper <drepper@redhat.com>
18135
18136 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
18137 here. Not...
18138 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
18139 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
18140
18141 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
18142
18143 * sysdeps/i386/elf/Makefile: New file.
18144
18145 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18146
18147 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
18148 from fanotify_init.
18149 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
18150 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18151
18152 2010-08-15 Ulrich Drepper <drepper@redhat.com>
18153
18154 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
18155 of strncasecmp_l.
18156 * sysdeps/multiarch/strcmp.S: Likewise.
18157
18158 2010-08-14 Ulrich Drepper <drepper@redhat.com>
18159
18160 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18161 strncase_l-nonascii.
18162 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18163 Add strncase_l-ssse3.
18164 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
18165 * sysdeps/x86_64/strcmp.S: Likewise.
18166 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
18167 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
18168 * sysdeps/x86_64/strncase.S: New file.
18169 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
18170 * sysdeps/x86_64/strncase_l.S: New file.
18171 * string/Makefile (strop-tests): Add strncasecmp.
18172 * string/test-strncasecmp.c: New file.
18173
18174 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
18175 warning.
18176
18177 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
18178 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
18179
18180 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18181
18182 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
18183
18184 2010-08-12 Ulrich Drepper <drepper@redhat.com>
18185
18186 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
18187 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
18188 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
18189
18190 2010-05-01 Alan Modra <amodra@gmail.com>
18191
18192 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
18193 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
18194 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
18195 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
18196 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
18197 tidying. Don't tail-call __sigjmp_save for static lib.
18198 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
18199 save location.
18200 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
18201 (CALL_MCOUNT): Add eh info, and nop after bl.
18202 (TAIL_CALL_SYSCALL_ERROR): New macro.
18203 (PSEUDO_RET): Use it.
18204 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18205 Correct save location of integer regs and cr.
18206 (_dl_profile_resolve): Correct cr save location. Delete nops
18207 after bl when SHARED. Reduce cfi size a little by better
18208 placement of cfi directives.
18209 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
18210 make a stack frame. Instead use parm save area as a temp.
18211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
18212 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
18213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18214 Don't make a stack frame for parent, use parm save area.
18215 Increase child stack frame to 112 bytes. Don't save unused reg,
18216 and adjust reg usage. Set up cfi on error recovery and
18217 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
18218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18219 (__makecontext): Add dummy nop after jump to exit.
18220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
18221 Use correct parm save area and cr save, reduce stack frame.
18222 Correct cfi for possible PSEUDO_RET frame setup.
18223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
18224 Branch to local label emitted by PSEUDO_RET rather than
18225 __syscall_error.
18226
18227 2010-08-12 Andreas Schwab <schwab@redhat.com>
18228
18229 [BZ #11904]
18230 * locale/programs/locale.c (print_assignment): New function.
18231 (show_locale_vars): Use it.
18232
18233 2010-08-11 Ulrich Drepper <drepper@redhat.com>
18234
18235 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
18236 field.
18237 (struct statfs64): Likewise.
18238 (_STATFS_F_FLAGS): Define.
18239 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
18240 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18241 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
18242 (ST_VALID): Define locally.
18243 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
18244 __statvfs_getflags, use the provided value.
18245 * sysdeps/unix/sysv/linux/kernel-features.h: Define
18246 __ASSUME_STATFS_F_FLAGS.
18247
18248 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
18249
18250 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
18251 Add sys/fanotify.h.
18252 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
18253 fanotify_mask for GLIBC_2.13.
18254 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
18255 fanotify_init and fanotify_mark.
18256 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18257 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
18258
18259 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
18260 Add prlimit.
18261 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
18262 prlimit64 for GLIBC_2.13.
18263 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
18264 prlimit64.
18265 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
18266 syscall.
18267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18268 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18269 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
18270 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
18271 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
18272 add prlimit alias.
18273 * sysdeps/unix/sysv/linux/prlimit.c: New file.
18274
18275 [BZ #11903]
18276 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
18277 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
18278
18279 * nss/Makefile: Add rules to build and run tst-nss-test1.
18280 * shlib-versions: Add entry for libnss_test1.
18281 * nss/nss_test1.c: New file.
18282 * nss/tst-nss-test1.c: New file.
18283
18284 * nss/nsswitch.c (__nss_database_custom): Define new variable.
18285 (__nss_configure_lookup): Set appropriate entry in
18286 __nss_configure_lookup to true.
18287 * nss/nsswitch.h: Define enum with indeces of databases in
18288 databases and __nss_database_custom arrays. Declare
18289 __nss_database_custom.
18290 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
18291 to avoid using nscd when custom rules are installed.
18292 * nss/getXXbyYY_r.c: Likewise.
18293 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18294
18295 * nss/nss_files/files-parse.c: Whitespace fixes.
18296
18297 2010-08-09 Ulrich Drepper <drepper@redhat.com>
18298
18299 [BZ #11883]
18300 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
18301 * posix/fnmatch_loop.c: Likewise.
18302
18303 2010-07-17 Andi Kleen <ak@linux.intel.com>
18304
18305 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
18306 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
18307 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
18308 * Versions.def [GLIBC_2.13]: Add.
18309
18310 2010-08-06 Ulrich Drepper <drepper@redhat.com>
18311
18312 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18313 Also fail if tpwd after pwuid call is NULL.
18314
18315 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
18316
18317 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
18318 when converting to ms.
18319
18320 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18321
18322 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
18323 EOPNOTSUPP errors with ENOTTY.
18324 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
18325 EOPNOTSUPP errors with ENOTTY.
18326
18327 2010-07-31 Ulrich Drepper <drepper@redhat.com>
18328
18329 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18330 Add strcasecmp_l-ssse3.
18331 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
18332 strcasecmp.
18333 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
18334 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
18335 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
18336
18337 2010-07-30 Ulrich Drepper <drepper@redhat.com>
18338
18339 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
18340
18341 * string/Makefile (strop-tests): Add strcasecmp.
18342 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18343 strcasecmp_l-nonascii.
18344 (gen-as-const-headers): Add locale-defines.sym.
18345 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
18346 * sysdeps/x86_64/strcasecmp.S: New file.
18347 * sysdeps/x86_64/strcasecmp_l.S: New file.
18348 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
18349 * sysdeps/x86_64/locale-defines.sym: New file.
18350 * string/test-strcasecmp.c: New file.
18351
18352 * string/test-strcasestr.c: Test both ends of the range of characters.
18353 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
18354
18355 2010-07-29 Roland McGrath <roland@redhat.com>
18356
18357 [BZ #11856]
18358 * manual/locale.texi (Yes-or-No Questions): Fix example code.
18359
18360 2010-07-27 Ulrich Drepper <drepper@redhat.com>
18361
18362 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
18363 for ld.so.
18364
18365 2010-07-27 Andreas Schwab <schwab@redhat.com>
18366
18367 * manual/memory.texi (Malloc Tunable Parameters): Document
18368 M_PERTURB.
18369
18370 2010-07-26 Roland McGrath <roland@redhat.com>
18371
18372 [BZ #11840]
18373 * configure.in (-fgnu89-inline check): Set and substitute
18374 gnu89_inline, not libc_cv_gnu89_inline.
18375 * configure: Regenerated.
18376 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
18377
18378 2010-07-26 Ulrich Drepper <drepper@redhat.com>
18379
18380 * string/test-strnlen.c: New file.
18381 * string/Makefile (strop-tests): Add strnlen.
18382 * string/tester.c (test_strnlen): Add a few more test cases.
18383 * string/tst-strlen.c: Better error reporting.
18384
18385 * sysdeps/x86_64/strnlen.S: New file.
18386
18387 2010-07-24 Ulrich Drepper <drepper@redhat.com>
18388
18389 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
18390 lower-latency instructions.
18391
18392 2010-07-23 Ulrich Drepper <drepper@redhat.com>
18393
18394 * string/test-strcasestr.c: New file.
18395 * string/test-strstr.c: New file.
18396 * string/Makefile (strop-tests): Add strstr and strcasestr.
18397 * string/str-two-way.h: Don't undefine MAX.
18398 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
18399
18400 2010-07-21 Andreas Schwab <schwab@redhat.com>
18401
18402 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18403 strcasestr-nonascii.
18404 (CFLAGS-strcasestr-nonascii.c): Define.
18405 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
18406 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
18407 Remove unused attribute.
18408
18409 2010-07-20 Roland McGrath <roland@redhat.com>
18410
18411 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
18412 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
18413 ld.so.cache was broken. With it, there is no way to disable dsocaps
18414 like LD_HWCAP_MASK can disable hwcaps.
18415
18416 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18417
18418 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
18419
18420 2010-07-16 Ulrich Drepper <drepper@redhat.com>
18421
18422 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
18423 call in strcasestr.
18424 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
18425 __strcasestr_sse42_nonascii.
18426 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
18427 strcasestr-nonascii.c.
18428 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
18429
18430 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
18431
18432 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
18433 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
18434 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
18435 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
18436
18437 2010-07-09 Ulrich Drepper <drepper@redhat.com>
18438
18439 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
18440 fcntl.
18441
18442 2010-07-06 Andreas Schwab <schwab@redhat.com>
18443
18444 [BZ #11577]
18445 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
18446 dl_signal_cerror.
18447
18448 2010-07-06 Ulrich Drepper <drepper@redhat.com>
18449
18450 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
18451 _PC_PIPE_BUF using F_GETPIPE_SZ.
18452
18453 2010-07-05 Roland McGrath <roland@redhat.com>
18454
18455 * manual/arith.texi (Rounding Functions): Fix rint description
18456 implicit in round description.
18457
18458 2010-07-02 Ulrich Drepper <drepper@redhat.com>
18459
18460 * elf/Makefile: Fix linking for a few tests to make recent linker
18461 happy.
18462
18463 2010-06-30 Andreas Schwab <schwab@redhat.com>
18464
18465 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18466 $(common-objpfx)libc_nonshared.a.
18467
18468 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
18469
18470 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18471 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18472 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18473 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18474 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18475 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18476 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18477 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18492 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18493 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18494 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18495 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18496 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18497 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18498 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18499 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18500 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18501 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18502 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18503 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18518
18519 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
18520
18521 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18522 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
18523 * string/memmove.c (memmove): Renamed to ...
18524 (MEMMOVE): ...this. Default to memmove.
18525 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18526 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18527 (END_CHK): Define.
18528 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18529 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18530 mempcpy-ssse3-back memmove-ssse3-back.
18531 * sysdeps/x86_64/multiarch/bcopy.S: New file .
18532 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18533 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18534 * sysdeps/x86_64/multiarch/memcpy.S: New file.
18535 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18536 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18537 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18538 * sysdeps/x86_64/multiarch/memmove.c: New file.
18539 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18540 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18541 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18542 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18543 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18544 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18545 Define.
18546 (index_Fast_Copy_Backward): Define.
18547 (HAS_ARCH_FEATURE): Define.
18548 (HAS_FAST_REP_STRING): Define.
18549 (HAS_FAST_COPY_BACKWARD): Define.
18550
18551 2010-06-21 Andreas Schwab <schwab@redhat.com>
18552
18553 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18554 Restore proper fallback handling.
18555
18556 2010-06-19 Ulrich Drepper <drepper@redhat.com>
18557
18558 [BZ #11701]
18559 * posix/group_member.c (__group_member): Correct checking loop.
18560
18561 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
18562 OOM in getpwuid_r correctly. Return error number when the caller
18563 should return, otherwise -1.
18564 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
18565 call returning > 0 value.
18566 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
18567
18568 2010-06-07 Andreas Schwab <schwab@redhat.com>
18569
18570 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
18571 libc_nonshared.a from targets in modules-names.
18572
18573 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
18574
18575 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
18576 requires it.
18577
18578 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
18579
18580 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
18581 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
18582 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
18583 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
18584
18585 2010-06-02 Andreas Schwab <schwab@redhat.com>
18586
18587 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
18588
18589 2010-06-14 Ulrich Drepper <drepper@redhat.com>
18590
18591 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
18592 and F_GETPIPE_SZ.
18593 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18594 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18595 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18596 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18597 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18598 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
18599
18600 2010-06-14 Roland McGrath <roland@redhat.com>
18601
18602 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
18603
18604 2010-06-07 Jakub Jelinek <jakub@redhat.com>
18605
18606 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
18607 __REDIRECT followed by __THROW.
18608 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
18609 * posix/getopt.h (getopt): Likewise.
18610
18611 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18612
18613 * hurd/lookup-at.c (__file_name_lookup_at): Accept
18614 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
18615 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
18616 in AT_FLAGS.
18617 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
18618 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
18619
18620 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
18621
18622 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
18623
18624 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
18625
18626 [BZ #11640]
18627 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18628 Properly check family and model.
18629
18630 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
18631
18632 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
18633
18634 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
18635
18636 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
18637
18638 2010-05-21 Ulrich Drepper <drepper@redhat.com>
18639
18640 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
18641 symbol reference.
18642
18643 2010-05-19 Andreas Schwab <schwab@redhat.com>
18644
18645 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
18646 symbol reference.
18647
18648 2010-05-21 Andreas Schwab <schwab@redhat.com>
18649
18650 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
18651 and internal_recvmmsg.
18652 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
18653 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
18654 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
18655 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
18656
18657 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
18658 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18659 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18660
18661 2010-05-20 Andreas Schwab <schwab@redhat.com>
18662
18663 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
18664
18665 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
18666
18667 POWER7 optimizations.
18668 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
18669 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
18670
18671 2010-05-19 Ulrich Drepper <drepper@redhat.com>
18672
18673 * version.h: Update for 2.13 development version.
18674
18675 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
18676
18677 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
18678 exceptions. Return 0.
18679
18680 2010-05-07 Roland McGrath <roland@redhat.com>
18681
18682 * elf/ldconfig.c (main): Add a const.
18683
18684 2010-05-06 Ulrich Drepper <drepper@redhat.com>
18685
18686 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
18687 (args_options): Add no-idn option.
18688 (ahosts_keys_int): Add idn_flags to ai_flags.
18689 (parse_option): Handle 'i' option to clear idn_flags.
18690
18691 * malloc/malloc.c (_int_free): Possible race in the most recently
18692 added check. Only act on the data if no current modification
18693 happened.
18694
18695 See ChangeLog.17 for earlier changes.