]> sourceware.org Git - glibc.git/blame - ChangeLog
update linux nice.c include path too after recent file shuffle
[glibc.git] / ChangeLog
CommitLineData
fdab8fd3
MF
12012-08-17 Mike Frysinger <vapier@gentoo.org>
2
3 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
4
31035e80
MP
52012-08-17 Marek Polacek <polacek@redhat.com>
6
7 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
8 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9
3bd9e993
RM
102012-08-17 Roland McGrath <roland@hack.frob.com>
11
c91c505f
RM
12 * configure.in: Add AC_SUBST for sysheaders.
13 * configure: Regenerated.
14 * config.make.in (sysheaders): New substituted variable.
15
7c6f9d53
RM
16 * sysdeps/unix/mkfifo.c: Moved ...
17 * sysdeps/posix/mkfifo.c: ... here.
18 * sysdeps/unix/mkfifoat.c: Moved ...
19 * sysdeps/posix/mkfifoat.c: ... here.
20
21 * sysdeps/unix/utime.c: Moved ...
22 * sysdeps/posix/utime.c: ... here.
23
24 * sysdeps/unix/time.c: Moved ...
25 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
26 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
27 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
28
29 * sysdeps/unix/nice.c: Moved ...
30 * sysdeps/posix/nice.c: ... here.
31
32 * sysdeps/unix/alarm.c: Moved ...
33 * sysdeps/posix/alarm.c: ... here.
34
3bd9e993
RM
35 * intl/Makefile ($(codeset_mo)): Depend on the input file.
36
d1f09384
JL
372012-08-17 Jeff Law <law@redhat.com>
38
39 * intl/Makefile (codeset_mo): New variable.
40 ($(codeset_mo)): New target.
41 (tst-codeset.out): Depend on that. Remove explicit rule.
42 (tst-gettext3.out, tst-gettext5.out): Likewise.
43 (LOCPATH-ENV, tst-codeset-ENV): New variables.
44 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
45 * intl/tst-codeset.sh: Remove.
46 * intl/tst-gettext3.sh: Likewise.
47 * intl/tst-gettext5.sh: Likewise.
48
2ae1ae5c
RM
492012-08-17 Roland McGrath <roland@hack.frob.com>
50
c31fdb83
RM
51 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
52 * sysdeps/unix/syscalls.list: ... here.
53
a0844057
RM
54 * sysdeps/posix/getaddrinfo.c
55 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
56 (gaiconf_init, gaiconf_reload): Use them.
57 [!_STATBUF_ST_NSEC]
58 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
59 Define using time_t rather than struct timespec.
60
750c1f2a
RM
61 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
62 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
63 Macros removed.
64 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
65 [!NO_THREADS].
66 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
67 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
68 Likewise.
69
2ae1ae5c
RM
70 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
71 __libc_cleanup_push argument.
72
e66a42f5
RM
73 * bits/param.h: New file.
74 * misc/sys/param.h: New file.
75 * include/sys/param.h: New file.
76 * misc/Makefile (headers): Add bits/param.h.
77 * sysdeps/generic/sys/param.h: File removed.
78 * sysdeps/unix/sysv/linux/bits/param.h: New file.
79 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
80 * sysdeps/mach/hurd/bits/param.h: New file.
81 * sysdeps/mach/hurd/sys/param.h: New file.
82
b7c08a66
RM
83 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
84 last change.
85
b2e1c562
RM
86 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
87 [_IO_MTSAFE_IO].
88 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
89 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
90 New macros.
91
c75ccd4c
RM
92 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
93 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
94 rather than -D_IO_MTSAFE_IO conditionally.
95 * stdio-common/Makefile (CPPFLAGS): Likewise.
96 * wcsmbs/Makefile (CPPFLAGS): Likewise.
97 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
98 Use $(libio-mtsafe).
99 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
100 of -D_IO_MTSAFE_IO.
101 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
102 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
103 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
104 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
105 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
106 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
107 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
108 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
109 (CFLAGS-fread_u_chk.c): Likewise.
110 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
111 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
112 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
113 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
114 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
115 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
116 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
117 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
118 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
119
120 * libio/Makefile: Test [$(libc-reentrant) = yes]
121 instead of [$(filter %REENTRANT, $(defines)) nonempty].
122
123 * Makeconfig
124 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
125 * sysdeps/pthread/configure: File removed.
126 * sysdeps/pthread/Makeconfig: New file.
127 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
128 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
129
d9195db8
GB
1302012-08-16 Gary Benson <gbenson@redhat.com>
131
132 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
133 unmapping the first object in a namespace.
134
86466cd9
RM
1352012-08-16 Roland McGrath <roland@hack.frob.com>
136
137 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
138 (__internal_setnetgrent): ... this. Add internal_function to
139 definition. Add libc_hidden_def.
140 (setnetgrent): Update caller.
141 (internal_endnetgrent): Renamed to ...
142 (__internal_endnetgrent): ... this. Add internal_function to
143 definition. Add libc_hidden_def.
144 (endnetgrent): Update caller.
145 (internal_getnetgrent_r): Renamed to ...
146 (__internal_getnetgrent_r): ... this. Add internal_function to
147 definition. Add libc_hidden_def.
148 (__getnetgrent_r): Update caller.
149 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
150
c3c8283c
JM
1512012-08-16 Joseph Myers <joseph@codesourcery.com>
152
153 * stdlib/longlong.h: Update from GCC.
154
db1ee0a8
RM
1552012-08-16 Roland McGrath <roland@hack.frob.com>
156
157 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
158 on _QL, which is set by umul_ppmm but never used.
159 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
160 variables, which are set by GMP macros but never used.
161 * stdio-common/_itowa.c (_itowa): Likewise.
162 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
163 * stdlib/mod_1.c (mpn_mod_1): Likewise.
164
30f69637
CD
1652012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
166
167 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
168 struct La_sh_regs is not constant.
169 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
170 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
171 and struct La_sparc64_regs are not constant.
172
93a78ac4
JM
1732012-08-16 Joseph Myers <joseph@codesourcery.com>
174
175 * sysdeps/unix/sysv/linux/kernel-features.h
176 (__ASSUME_POSIX_TIMERS): Remove.
177 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
178 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
179 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
180 Make code unconditional.
181 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
182 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
183 Make code unconditional.
184 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
185 * sysdeps/unix/sysv/linux/clock_nanosleep.c
186 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
187 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
188 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
189 Make code unconditional.
190 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
191 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
192 (__libc_missing_posix_timers): Remove.
193
dd924cd7
RM
1942012-08-15 Roland McGrath <roland@hack.frob.com>
195
4b4f2771
RM
196 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
197 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
198
601c888b
RM
199 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
200
176790a7
RM
201 * elf/dl-sym.c: Include <stdlib.h>.
202
329bc018
RM
203 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
204 constants, which avoids warnings in 32-bit builds.
205
e04e272d
RM
206 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
207 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
208
952bf94a
RM
209 * misc/lseek.c: File moved to ...
210 * io/lseek.c: ... here.
211
7c99b50a
RM
212 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
213
dd924cd7
RM
214 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
215 shifting LEN more than 31 bits at once.
216
b3f479a8
LD
2172012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
218
219 [BZ #14195]
220 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
221 segmentation fault for a case of two empty input strings.
222 * string/test-strncasecmp.c (check1): Renamed to...
223 (bz12205): ...this.
224 (bz14195): Add new testcase for two empty input strings and N > 0.
225 (test_main): Call new testcase, adapt for renamed function.
226
9c55864e
AJ
2272012-08-15 Andreas Jaeger <aj@suse.de>
228
229 [BZ #14090]
230 * crypt/md5test2.c: New test, based on test supplied by Serge
231 Belyshev <belyshev@depni.sinp.msu.ru>.
232 * crypt/Makefile (xtests): Add md5test-giant..
233 * crypt/Makefile ($(objpfx)md5test-giant): Add.
234
02dcb6c5
PE
2352012-08-15 Paul Eggert <eggert@cs.ucla.edu>
236
237 [BZ #14090]
238 * crypt/md5.c (md5_process_block): Don't assume the buffer
239 length is less than 2**32.
240 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
241 length is less than 2**64.
242
a3f95dcc
RM
2432012-08-15 Roland McGrath <roland@hack.frob.com>
244
be75d758
RM
245 * string/str-two-way.h: Include <sys/param.h>.
246 (MAX): Macro removed.
247
7312ca90
RM
248 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
249 Move #define and #undef of memmove to just before and after
250 including <string.h>.
251
9a0a5486
RM
252 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
253 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
254 and after including <string.h>. Move declarations of
255 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
256 to before #include "string/memmove.c".
257
67cc348d
RM
258 * include/dirent.h: Declare __getdirentries.
259
a3f95dcc
RM
260 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
261 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
262
ca98e171
MF
2632012-08-14 Mike Frysinger <vapier@gentoo.org>
264
265 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
266 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
267 * sysdeps/i386/configure: Regenerated.
268 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
269 STABS_CURRENT_FILE, and STABS_FUN.
270 (END): Remove call to STABS_FUN_END.
271 (STABS_CURRENT_FILE1): Delete.
272 (STABS_CURRENT_FILE): Likewise.
273 (STABS_FUN): Likewise.
274 (STABS_FUN_END): Likewise.
275 (STABS_FUN2): Likewise.
276 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
277 * sysdeps/x86_64/configure: Regenerated.
278
5908bf46
RM
2792012-08-14 Roland McGrath <roland@hack.frob.com>
280
281 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 282 * elf/dl-lookup.c: Likewise.
5908bf46 283
f2c05b9e
JM
2842012-08-14 Joseph Myers <joseph@codesourcery.com>
285
286 * sysdeps/unix/sysv/linux/kernel-features.h
287 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
288 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
289 unconditionally.
290 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
291 unconditionally.
292 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
293 condition on __ASSUME_CLONE_THREAD_FLAGS.
294
e11f5155
AJ
2952012-08-14 Andreas Jaeger <aj@suse.de>
296
297 * sysdeps/i386/fpu/libm-test-ulps: Update.
298
51a9ba86
MK
2992012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
300
2fdd4f78
AJ
301 * include/atomic.h (atomic_exchange_and_add): Split into ...
302 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
303 New atomic macros.
51a9ba86 304
ba6cba9e
MT
3052012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
306
307 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
308
42443a47
JL
3092012-08-13 Jeff Law <law@redhat.com>
310
311 * manual/stdio.texi (snprintf): Clarify handling of the trailing
312 null byte in the output string.
313
121dce05
JM
3142012-08-10 Joseph Myers <joseph@codesourcery.com>
315
316 * sysdeps/unix/sysv/linux/kernel-features.h
317 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
318 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
319 (__ASSUME_ARG_MAX_STACK_BASED): Define.
320 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
321 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
322 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
323 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
324
bf51f568
JL
3252012-08-09 Jeff Law <law@redhat.com>
326
327 [BZ #13939]
328 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
329 When avoid_arena is set, don't retry in the that arena. Pick the
330 next one, whatever it might be.
331 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
332 (arena_lock): Pass in new parameter to arena_get2.
333 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
334 arena_get2.
335 (__libc_malloc): Unify retrying after main arena failure with
336 __libc_memalign version.
337 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
338
f85fa270
L
3392012-08-09 H.J. Lu <hongjiu.lu@intel.com>
340
341 [BZ #14166]
342 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
343 to __redirect_strstr.
344 (__strstr_sse42): Use typeof __redirect_strstr.
345 (__strstr_ia32): Likewise.
346 (__libc_strstr): New prototype.
347 (strstr): Renamed to ...
348 (__libc_strstr): This.
349 (strstr): New strong alias of __libc_strstr.
350 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
351 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
352 __redirect_time.
353 Include <time.h>.
354 (__libc_time): New prototype.
355 (time_ifunc): Replace time with __libc_time.
356 (time): New strong alias and hidden definition of __libc_time.
357 (__GI_time): Remove strong alias.
358 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
359 Include <stddef.h>.
360 (memmove): Redefined to __redirect_memmove.
361 (__memmove_sse2): Use typeof __redirect_memmove.
362 (__memmove_ssse3): Likewise.
363 (__memmove_ssse3_back): Likewise.
364 (__libc_memmove): New prototype.
365 (memmove): Renamed to ...
366 (__libc_memmove): This.
367 (memmove): New strong alias of __libc_memmove.
368
33b4a91e
MS
3692012-08-08 Mark Salter <msalter@redhat.com>
370
371 * elf/elf.h
372 (R_MN10300_TLS_GD): Define.
373 (R_MN10300_TLS_LD): Likewise.
374 (R_MN10300_TLS_LDO): Likewise.
375 (R_MN10300_TLS_GOTIE): Likewise.
376 (R_MN10300_TLS_IE): Likewise.
377 (R_MN10300_TLS_LE): Likewise.
378 (R_MN10300_TLS_DTPMOD): Likewise.
379 (R_MN10300_TLS_DTPOFF): Likewise.
380 (R_MN10300_TLS_TPOFF): Likewise.
381 (R_MN10300_SYM_DIFF): Likewise.
382 (R_MN10300_ALIGN): Likewise.
383 (R_MN10300_NUM): Update.
384
b36137f1
JM
3852012-08-08 Joseph Myers <joseph@codesourcery.com>
386
387 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
388 Remove.
389
cdd915fd
RM
3902012-08-08 Roland McGrath <roland@hack.frob.com>
391
a2433aac
RM
392 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
393
cdd915fd
RM
394 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
395 sysdeps/unix -> sysdeps/posix move.
396 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
397
bf9b740a
AM
3982012-08-07 Allan McRae <allan@archlinux.org>
399
400 [BZ #14303]
401 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
402 (SUNOS_CPP): Likewise.
403 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
404 not found.
405 (open_input): Call CPP using execvp.
406
93df14ee
JM
4072012-08-07 Joseph Myers <joseph@codesourcery.com>
408
409 * sysdeps/unix/sysv/linux/kernel-features.h
410 (__ASSUME_PROT_GROWSUPDOWN): Remove.
411 (__ASSUME_NO_CLONE_DETACHED): Likewise.
412 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
413 (__ASSUME_WAITID_SYSCALL): Likewise.
414 * sysdeps/unix/sysv/linux/dl-execstack.c
415 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
416 code unconditional.
417 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
418 conditional code.
419 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
420 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
421 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
422 code.
423 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
424 unconditional.
425 [__ASSUME_WAITID_SYSCALL]: Likewise.
426 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
427
d34689de
RM
4282012-08-07 Roland McGrath <roland@hack.frob.com>
429
a281decc
RM
430 * sysdeps/unix/closedir.c: Renamed to ...
431 * sysdeps/posix/closedir.c: ... here.
432 * sysdeps/unix/dirfd.c: Renamed to ...
433 * sysdeps/posix/dirfd.c: ... here.
434 * sysdeps/unix/dirstream.h: Renamed to ...
435 * sysdeps/posix/dirstream.h: ... here.
436 * sysdeps/unix/fdopendir.c: Renamed to ...
437 * sysdeps/posix/fdopendir.c: ... here.
438 * sysdeps/unix/opendir.c: Renamed to ...
439 * sysdeps/posix/opendir.c: ... here.
440 * sysdeps/unix/readdir.c: Renamed to ...
441 * sysdeps/posix/readdir.c: ... here.
442 * sysdeps/unix/readdir_r.c: Renamed to ...
443 * sysdeps/posix/readdir_r.c: ... here.
444 * sysdeps/unix/rewinddir.c: Renamed to ...
445 * sysdeps/posix/rewinddir.c: ... here.
446 * sysdeps/unix/seekdir.c: Renamed to ...
447 * sysdeps/posix/seekdir.c: ... here.
448 * sysdeps/unix/telldir.c: Renamed to ...
449 * sysdeps/posix/telldir.c: ... here.
450 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
451 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
452 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
453 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
454
22895b47
RM
455 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
456 * bits/fcntl.h: ... here.
457
707a53b6
RM
458 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
459 not 0.
460 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
461 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
462 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
463 (struct flock): Move l_start, l_len to the beginning.
464 Use __pid_t for l_pid.
465 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
466 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
467 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
468 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
469 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
470 [__USE_LARGEFILE64] (struct flock64): New type.
471 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
472
f0bd3e25
RM
473 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
474 * bits/dirent.h: ... here.
475
d34689de
RM
476 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
477 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
478
6dad2c06
JM
4792012-08-07 Joseph Myers <joseph@codesourcery.com>
480
481 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
482 Change from 2.6.0 to 2.6.16.
483 * sysdeps/unix/sysv/linux/configure: Regenerated.
484 * sysdeps/unix/sysv/linux/kernel-features.h
485 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
486 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
487 version.
488 (__ASSUME_UTIMES): Likewise.
489 (__ASSUME_CLONE_STOPPED): Remove.
490 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
491 architectures, not kernel version.
492 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
493 (__ASSUME_NO_CLONE_DETACHED): Likewise.
494 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
495 (__ASSUME_WAITID_SYSCALL): Likewise.
496 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
497 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
498 * README: State 2.6.16 as minimum Linux kernel version. Do not
499 refer to older versions.
500
03af9520
RM
5012012-08-06 Roland McGrath <roland@hack.frob.com>
502
8e49df1d
RM
503 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
504 Define alphasort64 as an alias.
505 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
506 Define versionsort64 as an alias.
507 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
508 Define scandir64 as an alias.
509 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
510 Define scandirat64 as an alias.
511 * dirent/alphasort64.c (alphasort64):
512 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
513 * dirent/versionsort64.c: Likewise.
514 * dirent/scandir64.c: Likewise.
515 * dirent/scandirat64.c: Likewise.
516 * sysdeps/wordsize-64/alphasort.c: File removed.
517 * sysdeps/wordsize-64/alphasort64.c: File removed.
518 * sysdeps/wordsize-64/scandir.c: File removed.
519 * sysdeps/wordsize-64/scandir64.c: File removed.
520 * sysdeps/wordsize-64/scandirat.c: File removed.
521 * sysdeps/wordsize-64/scandirat64.c: File removed.
522 * sysdeps/wordsize-64/versionsort.c: File removed.
523 * sysdeps/wordsize-64/versionsort64.c: File removed.
524 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
525 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
526 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
527 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
528 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
529 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
530 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
531 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
532
533 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
534 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
535 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
536 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
537 [defined __arch64__ || defined __sparcv9]
538 (__INO_T_MATCHES_INO64_T): New macro.
539 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
540 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
541 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
542 * sysdeps/unix/sysv/linux/bits/dirent.h
543 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
544 (_DIRENT_MATCHES_DIRENT64): New macro.
545
03af9520
RM
546 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
547 Define lockf64 as an alias.
548 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
549 Define fseeko64 as an alias.
550 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
551 Define ftello64 as an alias.
552 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
553 Define _IO_fgetpos64 and fgetpos64 as aliases.
554 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
555 Define _IO_fsetpos64 and fsetpos64 as aliases.
556 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
557 Conditionalize body on this.
558 * libio/fseeko64.c: Likewise.
559 * libio/ftello64.c: Likewise.
560 * libio/iofgetpos64.c: Likewise.
561 * libio/iofsetpos64.c: Likewise.
562 * sysdeps/wordsize-64/lockf.c: File removed.
563 * sysdeps/wordsize-64/lockf64.c: File removed.
564 * sysdeps/wordsize-64/fseeko.c: File removed.
565 * sysdeps/wordsize-64/fseeko64.c: File removed.
566 * sysdeps/wordsize-64/ftello.c: File removed.
567 * sysdeps/wordsize-64/ftello64.c: File removed.
568 * sysdeps/wordsize-64/iofgetpos.c: File removed.
569 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
570 * sysdeps/wordsize-64/iofsetpos.c: File removed.
571 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
572 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
573 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
574 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
575 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
576 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
577 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
578 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
579 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
580 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
581 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
582
583 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
584 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
585 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
586 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
587 [defined __arch64__ || defined __sparcv9]
588 (__OFF_T_MATCHES_OFF64_T): New macro.
589 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
590 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
591 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
592 (__OFF_T_MATCHES_OFF64_T): New macro.
593
c5757acd
L
5942012-08-06 H.J. Lu <hongjiu.lu@intel.com>
595
596 * stdlib/secure-getenv.c (__secure_getenv): Replace
597 GLIBC_2_16 with GLIBC_2_17.
598
3a31811e
L
5992012-08-06 H.J. Lu <hongjiu.lu@intel.com>
600
601 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
602 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
603
faa2bccb
DM
6042012-08-03 David S. Miller <davem@davemloft.net>
605
606 * sysdeps/sparc/fpu/libm-test-ulps: Update.
607
85fe1997
JM
6082012-08-03 Joseph Myers <joseph@codesourcery.com>
609
610 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
611 Remove.
612 (__ASSUME_CORRECT_SI_PID): Likewise.
613 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
614 (__ASSUME_TMPFS_NAME): Likewise.
615 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
616 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
617 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
618 (HAVE_AUX_SECURE): Make definition unconditional.
619 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
620 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
621
4f75b7a0
RM
6222012-08-03 Roland McGrath <roland@hack.frob.com>
623
624 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
625 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
626 * sysdeps/mach/hurd/eloop-threshold.h: New file.
627 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
628 __eloop_threshold instead of SYMLOOP_MAX.
629
630 * sysdeps/generic/eloop-threshold.h: New file.
631 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
632 of MAXSYMLINKS.
633 * elf/chroot_canon.c (chroot_canon): Likewise.
634
7aab07e4
JM
6352012-08-03 Joseph Myers <joseph@codesourcery.com>
636
637 [BZ #13717]
638 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
639 Change to 2.6.0 everywhere.
640 * sysdeps/unix/sysv/linux/configure: Regenerated.
641 * sysdeps/unix/sysv/linux/kernel-features.h
642 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
643 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
644 kernel versions.
645 (__ASSUME_POSIX_TIMERS): Define unconditionally.
646 (__ASSUME_FUTEX_REQUEUE): Remove.
647 (__ASSUME_STATFS64): Define unconditionally.
648 (__ASSUME_AT_SECURE): Likewise.
649 (__ASSUME_CORRECT_SI_PID): Likewise.
650 (__ASSUME_TGKILL): Define without depending on kernel version for
651 i386.
652 (__ASSUME_UTIMES): Likewise.
653 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
654 kernel version.
655 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
656 (__ASSUME_TMPFS_NAME): Likewise.
657 * README: Update reference to Linux kernel versions.
658
b67e9372
MP
6592012-08-02 Marek Polacek <polacek@redhat.com>
660
661 [BZ#14150]
662 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
663 libc_cv_asm_type_prefix with %.
664 * configure: Regenerated.
d2441631
RM
665 * include/libc-symbols.h: Remove comment about
666 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
667 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
668 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
669 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
670 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
671 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
672 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
673 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
674 * elf/tst-unique2mod1.c: Likewise.
675 * elf/tst-unique1mod2.c: Likewise.
676 * elf/tst-unique1mod1.c: Likewise.
677 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
678 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
679 Replace ASM_TYPE_DIRECTIVE with .type.
680 * sysdeps/s390/s390-64/sysdep.h: Likewise.
681 * sysdeps/i386/sysdep.h: Likewise.
682 * sysdeps/x86_64/sysdep.h: Likewise.
683 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
685 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 686 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
687 * sysdeps/powerpc/powerpc32/sysdep.h:
688 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
689 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
690 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
691 * sysdeps/i386/fpu/e_powf.S: Likewise.
692 * sysdeps/i386/fpu/e_expl.S: Likewise.
693 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
694 * sysdeps/i386/fpu/e_acosh.S: Likewise.
695 * sysdeps/i386/fpu/e_pow.S: Likewise.
696 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
697 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
698 * sysdeps/i386/fpu/s_expm1.S: Likewise.
699 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
700 * sysdeps/i386/fpu/e_log2.S: Likewise.
701 * sysdeps/i386/fpu/e_log2l.S: Likewise.
702 * sysdeps/i386/fpu/e_scalb.S: Likewise.
703 * sysdeps/i386/fpu/e_powl.S: Likewise.
704 * sysdeps/i386/fpu/e_log10f.S: Likewise.
705 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
706 * sysdeps/i386/fpu/e_logl.S: Likewise.
707 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
708 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
709 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
710 * sysdeps/i386/fpu/e_log2f.S: Likewise.
711 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
712 * sysdeps/i386/fpu/e_log.S: Likewise.
713 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
714 * sysdeps/i386/fpu/e_logf.S: Likewise.
715 * sysdeps/i386/fpu/e_log10l.S: Likewise.
716 * sysdeps/i386/fpu/e_atanh.S: Likewise.
717 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
718 * sysdeps/i386/fpu/e_log10.S: Likewise.
719 * sysdeps/i386/fpu/s_frexp.S: Likewise.
720 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
721 * sysdeps/i386/fpu/s_asinh.S: Likewise.
722 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
723 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
724 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
725 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
726 * sysdeps/i386/i686/strtok.S: Likewise.
727 * sysdeps/i386/i386-mcount.S: Likewise.
728 * sysdeps/i386/strtok.S: Likewise.
729 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
730 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
731 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
732 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
733 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
734 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
735 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
736 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
737 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
738 * sysdeps/x86_64/_mcount.S: Likewise.
739 * sysdeps/x86_64/strtok.S: Likewise.
740 * sysdeps/sh/_mcount.S: Likewise.
741
2747bf9a
RM
7422012-08-01 Roland McGrath <roland@hack.frob.com>
743
744 * libio/iofopen.c: Include <fcntl.h>.
745 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
746 (_IO_fopen64, fopen64): Define as aliases.
747 * libio/iofopen64.c: Include <fcntl.h>.
748 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
749 Conditionalize body on this.
750 * sysdeps/wordsize-64/iofopen.c: File removed.
751 * sysdeps/wordsize-64/iofopen64.c: File removed.
752
3fb791b8
MP
7532012-08-01 Marek Polacek <polacek@redhat.com>
754
755 * libc/Makeconfig: Use elf in place of binfmt-subdir.
756 Use dlfcn directly instead of a variable.
757 (binfmt-subdir): Do not define.
758 (dlfcn): Likewise.
759
a9f1039f
JM
7602012-08-01 Joseph Myers <joseph@codesourcery.com>
761
23bddc06
JM
762 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
763 Remove all definitions.
764 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
765 <kernel-features.h>.
766 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
767 (miss_F_GETOWN_EX): Remove all definitions.
768 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
769 macro definition.
770 [!__ASSUME_FCNTL64]: Remove conditional code.
771 [__ASSUME_FCNTL64]: Make code unconditional.
772 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
773 <kernel-features.h>.
774 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
775 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
776 (lockf64) [__NR_fcntl64]: Make code unconditional.
777 (lockf64) [__ASSUME_FCNTL64]: Likewise.
778
a9f1039f
JM
779 * sysdeps/unix/sysv/linux/kernel-features.h
780 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
781 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
782 Make code unconditional.
783 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
784 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
786 [__NR_vfork]: Make code unconditional.
787 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
788 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
790 [__NR_vfork]: Make code unconditional.
791 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
792 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
793
09c0ee5f
RM
7942012-08-01 Roland McGrath <roland@hack.frob.com>
795
48aec5b9
RM
796 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
797 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
798
cd97c966
RM
799 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
800 Define mkstemp64 as an alias.
3f55550c
RM
801 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
802 Define mkstemps64 as an alias.
cd97c966
RM
803 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
804 Define mkostemp64 as an alias.
b8625cfc
RM
805 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
806 Define mkostemps64 as an alias.
cd97c966
RM
807 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
808 Conditionalize body on this.
809 * misc/mkostemp64.c: Likewise.
b8625cfc 810 * misc/mkostemps64.c: Likewise.
3f55550c 811 * misc/mkstemps64.c: Likewise.
cd97c966
RM
812 * sysdeps/wordsize-64/mkstemp64.c: File removed.
813 * sysdeps/wordsize-64/mkostemp64.c: File removed.
814 * sysdeps/wordsize-64/mkostemp.c: File removed.
815 * sysdeps/wordsize-64/mkstemp.c: File removed.
816 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
817 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
818 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
819 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
820
09c0ee5f
RM
821 [BZ #14138]
822 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
823 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
824 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
825 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
826
827 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
828 compat_symbol macros from <shlib-compat.h> rather than the underlying
829 default_symbol_version and symbol_version macros, so that DEFAULT
830 lines in shlib-versions are respected.
831 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
832
7e66ee51
FW
8332012-08-01 Florian Weimer <fweimer@redhat.com>
834
835 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
836 Declare with warn_unused_result.
837 (setgid, setregid, setegid, setresgid): Likewise.
838 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
839 Likewise.
840 * WUR-REPORT: Remove set*id functions.
841
d2a54255
PT
8422012-07-31 Pino Toscano <toscano.pino@tiscali.it>
843
844 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
845
7ecdb005
RM
8462012-07-31 Roland McGrath <roland@hack.frob.com>
847
789bd351
RM
848 * include/sys/socket.h (__libc_accept, __libc_accept4):
849 Add attribute_hidden.
850 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
851
40ce302d
RM
852 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
853 use of PTR_MANGLE.
854 * inet/getnetgrent_r.c (setup): Likewise.
855
7ecdb005
RM
856 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
857
e2eabb2c
DM
8582012-07-31 David S. Miller <davem@davemloft.net>
859
860 * sysdeps/sparc/fpu/libm-test-ulps: Update.
861
d0419dbf
JM
8622012-07-31 Joseph Myers <joseph@codesourcery.com>
863
864 [BZ #13629]
865 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
866 value between 1.0 and 2.0 and smaller part has absolute value less
867 than 1.0.
868 * math/s_clog10.c (__clog10): Likewise.
869 * math/s_clog10f.c (__clog10f): Likewise.
870 * math/s_clog10l.c (__clog10l): Likewise.
871 * math/s_clogf.c (__clogf): Likewise.
872 * math/s_clogl.c (__clogl): Likewise.
873 * math/libm-test.inc (clog_test): Add more tests.
874 (clog10_test): Likewise.
875 * sysdeps/i386/fpu/libm-test-ulps: Update.
876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
877
2bc13872
FW
8782012-07-31 Florian Weimer <fweimer@redhat.com>
879
880 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
881 Exit with zero in case no suitable GID is found, and write a
882 message to standard error.
883
bea9b193
RM
8842012-07-30 Roland McGrath <roland@hack.frob.com>
885
886 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
887 rather than to 1.
888 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
889 (MAXPATHLEN): Removed.
890 (NOGROUP, NODEV): New macros.
891 (setbit, clrbit, isset, isclr): New macros.
892 (howmany, roundup, powerof2): New macros.
893 (DEV_BSIZE): New macro.
894
895 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
896 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
897
898 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
899 definition on [!__NO_LONG_DOUBLE_MATH].
900
901 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
902 PTR_MANGLE and PTR_DEMANGLE.
903
904 * socket/accept4.c (accept4): Rename to __libc_accept4.
905 Define accept4 as a weak alias.
906
907 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
908 on [_DIRENT_HAVE_D_TYPE].
909 * io/ftw.c (ftw_dir): Likewise.
910
911 * io/xmknod.c (__xmknod): Don't check PATH for being null.
912
913 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
914
915 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
916 Use the BSD numbers rather than the arbitrary ones we had.
917 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
918 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
919 (SIGXCPU, SIGXFSZ): New macros.
920 (_NSIG): Now 32.
921
922 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
923 initializer on [_LIBC_REENTRANT].
924
925 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
926 definitions inside [_POSIX_MAPPED_FILES].
927
928 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
929
930 * dirent/opendir.c: Include <fcntl.h>.
931
932 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
933 (__libc_getspecific): Likewise.
934 (__libc_key_create): Likewise.
935
936 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
937 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
938 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
939 (tmpfile64): Define as alias.
940 * sysdeps/wordsize-64/tmpfile.c: File removed.
941 * sysdeps/wordsize-64/tmpfile64.c: File removed.
942 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
943 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
944
945 * stdio-common/vfscanf.c: Include <stdbool.h>.
946 * nss/makedb.c: Likewise.
947 * stdio-common/_i18n_number.h: Likewise.
948 * argp/argp-help.c: Likewise.
949 * posix/wordexp.c: Likewise.
950 * sysdeps/posix/spawni.c: Likewise.
951 * nss/nss_files/files-initgroups.c: Likewise.
952 * stdio-common/reg-modifier.c: Include <stdlib.h>.
953 * nss/nss_files/files-initgroups.c: Likewise.
954 * nss/nss_db/db-netgrp.c: Likewise.
955 * nss/nss_db/db-initgroups.c: Likewise.
956 * io/fchmodat.c: Include <sys/stat.h>.
957
958 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
959 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
960
961 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
962 [HAVE_MMAP].
963
964 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
965 Add multiple inclusion protection.
966
e5abc686
DM
9672012-07-27 David S. Miller <davem@davemloft.net>
968
969 * sysdeps/sparc/fpu/libm-test-ulps: Update.
970
815e6fa3
GB
9712012-07-27 Gary Benson <gbenson@redhat.com>
972
973 [BZ #14298]
974 * elf/rtld.c: Include <stap-probe.h>.
975 (dl_main): Added static probes "init_start" and "init_complete".
976 * elf/dl-load.c: Include <stap-probe.h>.
977 (lose): Take new parameter "nsid".
978 Added static probe "map_failed".
979 (_dl_map_object_from_fd): Pass namespace id to lose.
980 Added static probe "map_start".
981 (open_verify): Pass namespace id to lose.
982 * elf/dl-open.c: Include <stap-probe.h>.
983 (dl_open_worker) Added static probes "map_complete", "reloc_start"
984 and "reloc_complete".
985 * elf/dl-close.c: Include <stap-probe.h>.
986 (_dl_close_worker): Added static probes "unmap_start" and
987 "unmap_complete".
988 * elf/rtld-debugger-interface.txt: New file documenting the above.
989
9f98c16c
RM
9902012-07-26 Roland McGrath <roland@hack.frob.com>
991
992 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
993 rather than a string variable.
994 * sunrpc/rpc_main.c (h_output): Likewise.
995 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
996
f3c22df3
PT
9972012-07-26 Pino Toscano <toscano.pino@tiscali.it>
998
999 * inet/check_native.c: New file.
1000
3129cfc6
JM
10012012-07-26 Joseph Myers <joseph@codesourcery.com>
1002
da865e95
JM
1003 [BZ #13629]
1004 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
1005 if larger part has absolute value 1.0.
1006 * math/s_clog10.c (__clog10): Likewise.
1007 * math/s_clog10f.c (__clog10f): Likewise.
1008 * math/s_clog10l.c (__clog10l): Likewise.
1009 * math/s_clogf.c (__clogf): Likewise.
1010 * math/s_clogl.c (__clogl): Likewise.
1011 * math/libm-test.inc (clog_test): Add more tests.
1012 (clog10_test): Likewise.
1013 * sysdeps/i386/fpu/libm-test-ulps: Update.
1014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1015
3129cfc6
JM
1016 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
1017 (pltexit): Likewise.
1018 (La_regs): Likewise.
1019 (La_retval): Likewise.
1020 (int_retval): Likewise.
1021 Update #error for removed macros to refer only to definitions in
1022 tst-audit.h.
1023 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
1024 macro.
1025 (pltexit): Likewise.
1026 (La_regs): Likewise.
1027 (La_retval): Likewise.
1028 (int_retval): Likewise.
1029 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
1030 macro.
1031 (pltexit): Likewise.
1032 (La_regs): Likewise.
1033 (La_retval): Likewise.
1034 (int_retval): Likewise.
1035 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
1036 macro.
1037 (pltexit): Likewise.
1038 (La_regs): Likewise.
1039 (La_retval): Likewise.
1040 (int_retval): Likewise.
1041 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
1042 macro.
1043 (pltexit): Likewise.
1044 (La_regs): Likewise.
1045 (La_retval): Likewise.
1046 (int_retval): Likewise.
1047 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
1048 macro.
1049 (pltexit): Likewise.
1050 (La_regs): Likewise.
1051 (La_retval): Likewise.
1052 (int_retval): Likewise.
1053 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
1054 macro.
1055 (pltexit): Likewise.
1056 (La_regs): Likewise.
1057 (La_retval): Likewise.
1058 (int_retval): Likewise.
1059 * sysdeps/generic/tst-audit.h: Update comment to refer only to
1060 macro definitions in tst-audit.h.
1061 * sysdeps/i386/tst-audit.h: New file.
1062 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
1063 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
1064 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
1065 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
1066 * sysdeps/sh/tst-audit.h: Likewise.
1067 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
1068 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
1069 * sysdeps/x86_64/tst-audit.h: Likewise.
1070
bfc07087
AJ
10712012-07-26 Andreas Jaeger <aj@suse.de>
1072
b1b2aaf8
AJ
1073 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
1074 ptrace.
1075
1076 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
1077 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
1078 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
1079 PTRACE_O_MASK.
1080 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
1081 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
1082 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
1083
bfc07087
AJ
1084 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
1085 value.
1086
1087 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
1088 _sigsys.
1089 (si_call_addr, si_syscall, si_arch): Define new macro.
1090 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
1091 _sigsys.
1092 (si_call_addr, si_syscall, si_arch): Define new marcro.
1093 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
1094 _sigsys.
1095 (si_call_addr, si_syscall, si_arch): Define new macro.
1096 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
1097 _sigsys.
1098 (si_call_addr, si_syscall, si_arch): Define new macro.
1099
89b4b02f
JM
11002012-07-25 Joseph Myers <joseph@codesourcery.com>
1101
1102 [BZ #13717]
1103 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1104 Change to 2.4.21 where previously 2.4.1.
1105 * sysdeps/unix/sysv/linux/configure: Regenerated.
1106 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
1107 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
1108 Linux kernel version.
1109 (__ASSUME_STD_AUXV): Remove.
1110 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
1111 kernel version.
1112 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
1113 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
1114 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
1115 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
1116 (__ASSUME_NETLINK_SUPPORT): Likewise.
1117 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
1118 (__no_netlink_support): Remove conditional definition.
1119 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
1120 Remove.
1121 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1122 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
1123 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
1124 (if_nameindex_ioctl): Remove.
1125 (if_nameindex_netlink): Do not handle __no_netlink_support.
1126 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1127 code.
1128 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
1129 Remove conditional code.
1130 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1131 code.
1132 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
1133 unconditional.
1134 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1135 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
1136 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
1137 Remove.
1138 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1139 [!__ASSUME_STD_AUXV]: Remove conditional code.
1140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
1141 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
1142 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
1143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
1144 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
1145 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1146 code.
1147 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1149 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
1150 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1151 conditional code.
1152 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1154 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1155 code.
1156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1157 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1158 conditional code.
1159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
1160 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1161 code unconditional.
1162 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1163 conditional code.
1164 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1165 unconditional.
1166 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1167 conditional code.
1168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1169 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1170 unconditional.
1171 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1172 conditional code.
1173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1174 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1175 code unconditional.
1176 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1177 conditional code.
1178 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1179 unconditional.
1180 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1181 conditional code.
1182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1183 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1184 code unconditional.
1185 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1186 conditional code.
1187 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1188 unconditional.
1189 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1190 conditional code.
1191
842a39cd
AS
11922012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1193
1194 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
1195 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
1196 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1197 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
1198 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1199 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1200 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1201 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1202 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1203 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1204 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
1205 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1206 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
1207 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1208 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1209 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
1210 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1211 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
1212 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
1213 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
1214 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1215 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1216 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1217
84b3fd84
FW
12182012-07-25 Florian Weimer <fweimer@redhat.com>
1219
1220 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
1221 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
1222 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
1223 Introduce __libc_secure_getenv.
0c7936d5
FW
1224 * stdlib/Versions (2.17): Add secure_getenv
1225 (GLIBC_PRIVATE): Add __libc_secure_getenv.
1226 * stdlib/secure-getenv.c: Rename __secure_getenv to
1227 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
1228 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
1229 * stdlib/tst-secure-getenv.c: New.
1230 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
1231 * manual/startup.texi (Environment Access): Document
1232 secure_getenv.
84b3fd84
FW
1233 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
1234 __libc_secure_getenv.
1235 * inet/ruserpass.c (ruserpass): Likewise.
1236 * malloc/mtrace.c (mtrace): Likewise.
1237 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 1238 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
1239 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
1240 * sysdeps/posix/tempname.c: Likewise. Evaluate
1241 HAVE_SECURE_GETENV.
1242 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 1243 __secure_getenv to __libc_secure_getenv.
84b3fd84 1244 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
1245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1246 Likewise.
1247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1248 Likewise.
1249 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1250 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1251 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1252 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1253 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1254 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1255 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 1256
56e49b71
JM
12572012-07-25 Joseph Myers <joseph@codesourcery.com>
1258
1259 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
1260 (struct La_i86_retval): Likewise.
1261 (struct La_x86_64_regs): Likewise.
1262 (struct La_x86_64_retval): Likewise.
1263 (struct La_x32_regs): Likewise.
1264 (struct La_x32_retval): Likewise.
1265 (struct La_ppc32_regs): Likewise.
1266 (struct La_ppc32_retval): Likewise.
1267 (struct La_ppc64_regs): Likewise.
1268 (struct La_ppc64_retval): Likewise.
1269 (struct La_sh_regs): Likewise.
1270 (struct La_sh_retval): Likewise.
1271 (struct La_s390_32_regs): Likewise.
1272 (struct La_s390_32_retval): Likewise.
1273 (struct La_s390_64_regs): Likewise.
1274 (struct La_s390_64_retval): Likewise.
1275 (struct La_sparc32_regs): Likewise.
1276 (struct La_sparc32_retval): Likewise.
1277 (struct La_sparc64_regs): Likewise.
1278 (struct La_sparc64_retval): Likewise.
1279 (struct audit_ifaces): Remove architecture-specific pltenter and
1280 pltexit members.
1281 * sysdeps/i386/ldsodefs.h: New file.
1282 * sysdeps/powerpc/ldsodefs.h: Likewise.
1283 * sysdeps/s390/ldsodefs.h: Likewise.
1284 * sysdeps/sh/ldsodefs.h: Likewise.
1285 * sysdeps/sparc/ldsodefs.h: Likewise.
1286 * sysdeps/x86_64/ldsodefs.h: Likewise.
1287
354691b7
MP
12882012-07-25 Marek Polacek <polacek@redhat.com>
1289
1290 [BZ #6808]
1291 * math/libm-test.inc (yn_test): Add another test.
1292 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
1293 to ERANGE when the result is +-Inf.
1294 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1295 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1296 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
1297 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
1298
bf9e2071
JM
12992012-07-24 Joseph Myers <joseph@codesourcery.com>
1300
1301 * conform/data/time.h-data (NULL): Use macro-constant. Require
1302 equal to 0.
1303 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
1304 clock_t.
1305 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
1306
57633811
TS
13072012-07-23 Thomas Schwinge <thomas@codesourcery.com>
1308
1309 * configure.in <sysdeps resolving>: Correct printing
1310 Implies_before.
1311 * configure: Regenerate.
1312
c23c33b0
TS
13132012-07-22 Thomas Schwinge <thomas@codesourcery.com>
1314
1315 * math/w_ilogb.c: Include <limits.h>.
1316 * math/w_ilogbl.c: Likewise.
1317
b5982523
JM
13182012-07-20 Joseph Myers <joseph@codesourcery.com>
1319
1320 * manual/lang.texi (__va_copy): Document primarily as ISO C99
1321 va_copy. Document allowing for unavailable va_copy only as
1322 pre-C99 compatibility.
1323 * manual/string.texi (Copying and Concatenation): Use va_copy
1324 instead of __va_copy in concat example.
1325
ac4ea442
PT
13262012-07-20 Pino Toscano <toscano.pino@tiscali.it>
1327
1328 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1329 (__sendto): Use create_address_port. Initialize APORT and deallocate
1330 it if not null.
1331
f98eafbd
PT
1332 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1333 with O_NOLINK passed to __file_name_lookup.
1334
898c7aab
PT
1335 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1336 with O_NOLINK passed to __file_name_lookup.
1337
0ced335a
PT
1338 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1339 negative N or less than NGIDS.
1340
b3404dbd
PT
1341 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1342 type to string_t. Set ERANGE as errno and return it if NAME is not big
1343 enough. Use memcpy instead of strncpy.
1344
0f48659e
JM
13452012-07-20 Joseph Myers <joseph@codesourcery.com>
1346
1347 * elf/Makefile (check-data): Remove.
1348 (localplt.data): New vpath directive.
1349 ($(objpfx)check-localplt.out): Use localplt.data from vpath
1350 instead of $(check-data).
1351 * scripts/data/localplt-generic.data: Move to ...
1352 * sysdeps/generic/localplt.data: ... here.
1353 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1354 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1355 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1357 ... here.
1358 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1360 ... here.
1361 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1362 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1363 ... here.
1364 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1365 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1366 ... here.
1367 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1368 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1369 ... here.
1370 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1371 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1372 ... here.
1373
d37cbdaa
AZ
13742012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1375
1376 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1377 PPC32 and PPC64 files.
1378 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1379 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1380
46f85fc2
AK
13812012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1382
1383 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1384 __makecontext_ret to ...
1385 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1386 ... here and call exit if uc_link is NULL. New file.
1387 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1388 __makecontext_ret.S.
1389 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1390 __makecontext_ret to ...
1391 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1392 ... here and call exit if uc_link is NULL. New file.
1393 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1394 __makecontext_ret.S.
1395
08f43f9b
AK
13962012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1397
1398 * elf/elf.h (R_390_IRELATIVE): New definition.
1399 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1400 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
1401 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1402 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1403 (elf_machine_lazy_rel): Likewise.
1404 * sysdeps/s390/dl-irel.h: New file.
1405 * sysdeps/s390/s390-64/memcpy.S: New asm code.
1406 * sysdeps/s390/s390-64/memset.S: New asm code.
1407 * sysdeps/s390/s390-64/memcmp.S: New asm code.
1408 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
1409 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
1410 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
1411 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
1412 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
1413 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
1414 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
1415 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
1416 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
1417 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
1418 * sysdeps/s390/s390-32/memcpy.S: New asm code.
1419 * sysdeps/s390/s390-32/memset.S: New asm code.
1420 * sysdeps/s390/s390-32/memcmp.S: New asm code.
1421
3b05db33
MP
14222012-07-17 Marek Polacek <polacek@redhat.com>
1423
1424 [BZ #14349]
1425 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
1426 * sysdeps/s390/s390-64/configure.in: Likewise.
1427 * sysdeps/sparc/configure.in: Likewise.
1428 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
1429 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
1430 * sysdeps/i386/configure.in: Likewise.
1431 * sysdeps/x86_64/configure.in: Likewise.
1432 * sysdeps/sh/configure.in: Likewise.
1433 * sysdeps/s390/s390-32/configure: Regenerated.
1434 * sysdeps/s390/s390-64/configure: Likewise.
1435 * sysdeps/x86_64/configure: Likewise.
1436 * sysdeps/sh/configure: Likewise.
1437 * sysdeps/powerpc/powerpc64/configure: Likewise.
1438 * sysdeps/powerpc/powerpc32/configure: Likewise.
1439 * sysdeps/sparc/configure: Likwise.
1440 * sysdeps/i386/configure: Likewise.
1441
a66877c6
MP
1442 * elf/dl-open.c: Comment fixes.
1443
cfc82fd8
JM
14442012-07-17 Joseph Myers <joseph@codesourcery.com>
1445
bd29910a
JM
1446 * Makefile [CXX] (check-data): Remove.
1447 [CXX] (c++-types.data): New vpath directive.
1448 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
1449 vpath. Do not allow for C++ type data being missing.
1450 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
1451 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
1452 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
1453 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
1454 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
1455 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
1456 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
1457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1458 ... here.
1459 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
1460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1461 ... here.
1462 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
1463 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
1464 ... here.
1465 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
1466 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
1467 ... here.
1468 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
1469 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
1470 ... here.
1471 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
1472 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
1473 ... here.
1474 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
1475 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
1476 ... here.
1477 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
1478 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
1479
cfc82fd8
JM
1480 * elf/tls-macros.h (TLS_LE): Move architecture-specific
1481 definitions to architecture-specific files.
1482 (TLS_IE): Likewise.
1483 (TLS_LD): Likewise.
1484 (TLS_GD): Likewise.
1485 * sysdeps/i386/tls-macros.h: New file.
1486 * sysdeps/powerpc/tls-macros.h: Likewise.
1487 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1488 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1489 * sysdeps/sh/tls-macros.h: Likewise.
1490 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
1491 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
1492 * sysdeps/x86_64/tls-macros.h: Likewise.
1493
f7db3170
TS
14942012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1495
07cbfc23
TS
1496 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
1497 zero value for regular exit case.
1498
f7db3170
TS
1499 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1500 (__start_context): Preserve zero value for regular exit case.
1501
dc97c227
TS
15022012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1503 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1504
1505 * manual/setjmp.texi (setcontext): Clarify normal process
1506 termination when uc_link is the null pointer.
1507 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
1508 exit call.
1509
d0cd7d02
AS
15102012-07-16 Andreas Schwab <schwab@linux-m68k.org>
1511
1512 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
1513 preprocessor. Test for each exception mask separately.
1514
dd318934
AJ
15152012-07-16 Andreas Jaeger <aj@suse.de>
1516
1517 * po/ru.po: Update from translation team.
1518
8048311a
JM
15192012-07-15 Joseph Myers <joseph@codesourcery.com>
1520
1521 * conform/data/string.h-data (NULL): Use macro-constant. Require
1522 equal to 0.
1523 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1524 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1525 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
1526 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
1527 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1528
b637d46e
AJ
15292012-07-13 Andreas Jaeger <aj@suse.de>
1530
1531 * po/fr.po: Update from translation team.
1532
541428fe
MP
15332012-07-12 Marek Polacek <polacek@redhat.com>
1534
1535 [BZ #14173]
1536 * math/libm-test.inc (yn_test): Add test for BZ #14173.
1537 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
1538 loop condition.
1539
ec332e94
JM
15402012-07-12 Joseph Myers <joseph@codesourcery.com>
1541
1542 [BZ #13717]
1543 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1544 Change to 2.4.1 where previously 2.4.0.
1545 * sysdeps/unix/sysv/linux/configure: Regenerated.
1546 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
1547 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
1548 version.
1549 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
1550 (__ASSUME_AT_CLKTCK): Remove.
1551 (__ASSUME_AT_PAGESIZE): Likewise.
1552 (__ASSUME_AT_XID): Likewise.
1553 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
1554 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
1555 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
1556 unconditionally.
1557 (HAVE_AUX_PAGESIZE): Likewise.
1558 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
1559 [__ASSUME_AT_CLKTCK]: Make code unconditional.
1560 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
1561
7b6e99be
JB
15622012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
1563
1564 [BZ #14307]
1565 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
1566 the temporary buffer used to invoke __gethostbyname2_r,
1567 __gethostbyaddr_r and gethostbyname4_r to make room for struct
1568 host_data / struct gaih_addrtuple.
1569 * resolv/nss_dns/dns-host.c (global scope): Move definition of
1570 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
1571 header file nss/nsswitch.h.
1572 * nss/nsswitch.h (global scope): Add definition of implementation
1573 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
1574 resolv/nss_dns/dns-host.c).
1575
608404eb
AJ
15762012-07-11 Andreas Jaeger <aj@suse.de>
1577
1578 * po/fr.po: Update from translation team.
1579
71220aca
AJ
1580 * po/sv.po: Update from translation team
1581 * po/fr.po: Another update from translation team.
1582
28cfe843
AZ
15832012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1584
1585 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
1586 for subnormals or multiply small sinh result by itself.
1587 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1589
6b90f981
DM
15902012-07-11 David S. Miller <davem@davemloft.net>
1591
1592 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1593
c6825772
AS
15942012-07-10 Andreas Schwab <schwab@linux-m68k.org>
1595
1596 [BZ #14347]
1597 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
1598 (INTERNAL_MARK): Shift it here.
1599
7b8e0d49
MP
16002012-07-10 Marek Polacek <polacek@redhat.com>
1601
1602 [BZ #14151]
1603 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
1604 libc_cv_asm_global_directive with .globl.
1605 * configure: Regenerated.
1606 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
1607 with .globl.
1608 * sysdeps/i386/configure: Regenerated.
1609 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
1610 with .globl.
1611 * sysdeps/x86_64/configure: Regenerated.
1612 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
1613 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
1614 * elf/tst-unique2mod2.c: Likewise.
1615 * elf/tst-unique2mod1.c: Likewise.
1616 * elf/tst-unique1mod2.c: Likewise.
1617 * elf/tst-unique1mod1.c: Likewise.
1618 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1619 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1620 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1621 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1622 * sysdeps/mach/sysdep.h: Likewise.
1623 * sysdeps/i386/sysdep.h: Likewise.
1624 * sysdeps/i386/i386-mcount.S: Likewise.
1625 * sysdeps/x86_64/_mcount.S: Likewise.
1626 * sysdeps/x86_64/sysdep.h: Likewise.
1627 * sysdeps/sh/_mcount.S: Likewise.
1628 * sysdeps/sh/sysdep.h: Likewise.
1629 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
1630 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
1631 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
1632 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1633 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
1634 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
1635 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
1636 * locale/localeinfo.h: Likewise.
1637 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
1638 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
1639
6c55cda3
RM
16402012-07-09 Roland McGrath <roland@hack.frob.com>
1641
1642 [BZ #14336]
1643 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
1644 system".
1645 * manual/message.texi (The Uniforum approach): Likewise.
1646 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
1647 (glibc iconv Implementation): Likewise.
1648
638a572e
JM
16492012-07-09 Joseph Myers <joseph@codesourcery.com>
1650
1651 [BZ #14337]
1652 * math/s_clog.c (__clog): Avoid scaling a value down where that
1653 could result in underflow.
1654 * math/s_clog10.c (__clog10): Likewise.
1655 * math/s_clog10f.c (__clog10f): Likewise.
1656 * math/s_clog10l.c (__clog10l): Likewise.
1657 * math/s_clogf.c (__clogf): Likewise.
1658 * math/s_clogl.c (__clogl): Likewise.
1659 * math/libm-test.inc (clog_test): Add more tests.
1660 (clog10_test): Likewise.
1661 * sysdeps/i386/fpu/libm-test-ulps: Update.
1662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1663
261f4859
AS
16642012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1665
0abaf3e4
AS
1666 [BZ #14283]
1667 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
1668 by 7 not 8 to examine high bit of fractional part.
1669
261f4859
AS
1670 [BZ #14042]
1671 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
1672 for call to __mcount_internal.
1673 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
1674 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
1675 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
1676
f17ac40d
JM
16772012-07-06 Joseph Myers <joseph@codesourcery.com>
1678
9ad63c23
JM
1679 [BZ #14154]
1680 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
1681 approximation for values within 0x1p-13f of an odd multiple of
1682 pi/4.
1683 * math/libm-test.inc (tan_test): Do not allow spurious underflow
1684 exception. Add more tests.
1685 * sysdeps/i386/fpu/libm-test-ulps: Update.
1686
f17ac40d
JM
1687 [BZ #6778]
1688 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
1689 inputs and return -1 for them. Do not check for +Inf in case not
1690 reachable for +Inf.
1691 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1692 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
1693 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1694 and return -1 for them. Do not check for +Inf in case not
1695 reachable for +Inf.
1696 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
1697 define.
1698 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1699 and return -1 for them. Do not check for +Inf in case not
1700 reachable for +Inf.
1701 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
1702 spurious underflow.
1703 * sysdeps/i386/fpu/libm-test-ulps: Update.
1704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1705
fb21f89b
MF
17062012-07-06 Mike Frysinger <vapier@gentoo.org>
1707
1708 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
1709
cdfe2c5e
JM
17102012-07-05 Joseph Myers <joseph@codesourcery.com>
1711
1712 [BZ #14157]
1713 [BZ #14331]
1714 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
1715 could result in spurious underflow. Scale down values above
1716 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
1717 * math/s_csqrtf.c (__csqrtf): Likewise.
1718 * math/s_csqrtl.c (__csqrtl): Likewise.
1719 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
1720 spurious underflow.
1721 * sysdeps/i386/fpu/libm-test-ulps: Update.
1722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1723
70d35b67
AS
17242012-07-04 Andreas Schwab <schwab@linux-m68k.org>
1725
704bc459
AS
1726 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
1727 xopen-msg.sed.
1728 * catgets/xopen-msg.awk: New file.
1729 * catgets/xopen-msg.sed: Removed.
1730
70d35b67
AS
1731 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
1732 po2text.sed.
1733 * intl/po2test.awk: New file.
1734 * intl/po2test.sed: Removed.
1735
ca61cf32
JM
17362012-07-04 Joseph Myers <joseph@codesourcery.com>
1737
1738 [BZ #14328]
1739 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
1740 or multiply small sinh result by itself.
1741 * math/s_ctanf.c (__ctanf): Likewise.
1742 * math/s_ctanh.c (__ctanh): Likewise.
1743 * math/s_ctanhf.c (__ctanhf): Likewise.
1744 * math/s_ctanhl.c (__ctanhl): Likewise.
1745 * math/s_ctanl.c (__ctanl): Likewise.
1746 * math/libm-test.inc (ctan_test_tonearest): New function.
1747 (ctan_test_towardzero): Likewise.
1748 (ctan_test_downward): Likewise.
1749 (ctan_test_upward): Likewise.
1750 (ctanh_test_tonearest): Likewise.
1751 (ctanh_test_towardzero): Likewise.
1752 (ctanh_test_downward): Likewise.
1753 (ctanh_test_upward): Likewise.
1754 (main): Call these new functions.
1755 * sysdeps/i386/fpu/libm-test-ulps: Update.
1756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1757
ca48a46a
MF
17582012-07-03 Mike Frysinger <vapier@gentoo.org>
1759
1760 * .gitignore: Delete /ports entry.
1761
9d63d37d
AJ
17622012-07-03 Andreas Jaeger <aj@suse.de>
1763
1764 * po/bg.po: Update from translation team.
1765 * po/cs.po: Likewise.
1766 * po/de.po: Likewise.
1767 * po/hr.po: Likewise.
1768 * po/nl.pl: Likewise.
1769 * po/pl.po: Likewise.
1770 * po/vi.po: Likewise.
1771
370ca3d2
JM
17722012-07-03 Joseph Myers <joseph@codesourcery.com>
1773
95f5a9a8
JM
1774 * Makeconfig [!+link] (+link-before-libc): New variable.
1775 [!+link] (+link-after-libc): Likewise.
1776 [!+link] (+link-tests): Likewise.
1777 [!+link] (+link): Define in terms of $(+link-before-libc) and
1778 $(+link-after-libc).
1779 [!+link-static] (+link-static-before-libc): New variable.
1780 [!+link-static] (+link-static-after-libc): Likewise.
1781 [!+link-static] (+link-static-tests): Likewise.
1782 [!+link-static] (+link-static): Define in terms of
1783 $(+link-static-before-libc) and $(+link-static-after-libc).
1784 [build-shared] (link-libc-before-gnulib): New variable.
1785 [build-shared] (link-libc-tests): Likewise.
1786 [build-shared] (link-libc): Define in terms of
1787 $(link-libc-before-gnulib).
1788 [!build-shared] (link-libc-tests): New variable.
1789 (link-libc-static-tests): New variable.
1790 [!gnulib] (gnulib-arch): New variable.
1791 [!gnulib] (gnulib-tests): Likewise.
1792 [!gnulib] (static-gnulib-arch): Likewise.
1793 [!gnulib] (static-gnulib-tests): Likewise.
1794 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
1795 Define with "=" instead of ":=".
1796 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
1797 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
1798 * Rules (binaries-all-notests): New variable.
1799 (binaries-all-tests): Likewise.
1800 (binaries-static-notests): Likewise.
1801 (binaries-static-tests): Likewise.
1802 (binaries-all): Define using $(binaries-all-notests) and
1803 $(binaries-all-tests).
1804 (binaries-static): Define using $(binaries-static-notests) and
1805 $(binaries-static-tests).
1806 (binaries-shared-tests): New variable.
1807 (binaries-shared-notests): Likewise.
1808 (binaries-shared): Remove variable.
1809 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
1810 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
1811 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
1812 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
1813 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
1814 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
1815 * elf/Makefile (sln-modules): New variable.
1816 (extra-objs): Add $(sln-modules:=.o).
1817 (ldconfig-modules): Add static-stubs.
1818 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
1819 * elf/static-stubs.c: New file.
1820
7a845b2c
JM
1821 [BZ #14283]
1822 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
1823 by 7 not 8 to examine high bit of fractional part. Use volatile
1824 variables when splitting into final array of floats if
1825 __FLT_EVAL_METHOD__ != 0.
1826 * math/libm-test.inc (cos_test): Add another test.
1827 (sin_test): Likewise.
1828 * sysdeps/i386/fpu/libm-test-ulps: Update.
1829
e2283f38
JM
1830 [BZ #14273]
1831 * math/libm-test.inc (cosh_test): Add more tests.
1832
370ca3d2
JM
1833 * version.h (RELEASE): Set to "development".
1834 (VERSION): Set to "2.16.90".
1835
ee9247c3
CD
18362012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
1837
1838 * NEWS: Update copyright. Remove last-updated date.
1839 Mention math library bug fixes and timezone data changes.
1840 * README: Mention GNU/Hurd, x32, and HPPA support status.
1841
4648c381
TS
18422012-06-28 Thomas Schwinge <thomas@codesourcery.com>
1843
1844 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
1845
aac78a43
AJ
18462012-06-27 Andreas Jaeger <aj@suse.de>
1847
1848 * manual/contrib.texi (Contributors): Add Samuel Thibault.
1849
ed3dbfad
AJ
18502012-06-25 Andreas Jaeger <aj@suse.de>
1851
1852 * sysdeps/s390/fpu/libm-test-ulps: Update.
1853
4d0ee855
AS
18542012-06-23 Andreas Schwab <schwab@linux-m68k.org>
1855 Thomas Schwinge <thomas@codesourcery.com>
1856
1857 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
1858 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
1859 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
1860 fanotify_mark.
1861
af1bce34
TS
18622012-06-23 Thomas Schwinge <thomas@codesourcery.com>
1863
a9fa33ba
TS
1864 * sysdeps/mach/start.c: Remove file.
1865 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
1866 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
1867 * sysdeps/sh/init-first.c: Likewise.
1868
58f902b8
TS
1869 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
1870 registers for frame unwinding purposes, add CFI directives.
1871 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1872 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
1873 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1874 Likewise.
1875
1518f58b
TS
1876 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
1877 __fortify_fail returning.
1878 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1879
db9b5059
TS
1880 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
1881 sysdeps/sh/____longjmp_chk.S.
1882 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
1883 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
1884 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
1885 (gen-as-const-headers): Append sigaltstack-offsets.sym.
1886
967705fe
TS
1887 * sysdeps/sh/abort-instr.h: New file.
1888 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
1889 process in case exit returns.
1890
a9def8c4
TS
1891 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
1892 initialize the GOT register before use.
1893
2a649725
TS
1894 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
1895 calculation of ARGC > 4.
1896
af1bce34
TS
1897 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
1898 meaningful names to some local labels.
1899
d230f50a
KK
19002012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1901 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1902
1903 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
1904 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
1905 (__arch_compare_and_exchange_val_16_acq): Likewise.
1906 (__arch_compare_and_exchange_val_32_acq): Likewise.
1907 (atomic_exchange_and_add): Fix gUSA sequence.
1908 (atomic_add): Likewise.
1909 (atomic_add_negative): Likewise.
1910 (atomic_add_zero): Likewise.
1911 (atomic_bit_test_set): Likewise.
1912
0479b305
AS
19132012-06-22 Andreas Schwab <schwab@redhat.com>
1914
1915 [BZ #13579]
1916 * include/link.h (struct link_map): Add l_free_initfini.
1917 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
1918 l_initfini.
1919 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
1920 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
1921 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
1922 set.
1923
0e3933b9
CD
19242012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
1925
1926 * configure.in: Use AC_LANG_SOURCE.
1927 * configure: Regenerate.
1928
4248b1b1
RM
19292012-06-22 Roland McGrath <roland@hack.frob.com>
1930
1931 * configure.in (libc_cv_localstatedir): New substituted variable.
1932 * configure: Regenerated.
1933 * config.make.in (localstatedir): New variable, substituted from
1934 libc_cv_localstatedir.
1935 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
1936 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
1937 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
1938 * sysdeps/gnu/configure: Regenerated.
1939
006dd861
JL
19402012-06-21 Jeff Law <law@redhat.com>
1941
1942 [BZ #14277]
1943 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
1944 free. Simplify list management for _LIBC case.
1945
79662d42
JM
19462012-06-21 Joseph Myers <joseph@codesourcery.com>
1947
b7abb4bf
JM
1948 [BZ #14273]
1949 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1950 Clear sign bit of 64-bit integer value before comparing against
1951 overflow value.
1952
79662d42
JM
1953 * sysdeps/mach/configure: Regenerated.
1954
1f150908
L
19552012-06-21 H.J. Lu <hongjiu.lu@intel.com>
1956
1957 [BZ #14278]
1958 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
1959
28363bbf
JL
19602012-06-21 Jeff Law <law@redhat.com>
1961
1962 [BZ #13882]
1963 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
1964 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 1965 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
1966 * elf/dl-open.c (dl_open_worker): Likewise.
1967
09615db4
CD
19682012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
1969
1970 * scripts/list-sources.sh: Scan PORTS for translations.
1971 * po/libc.pot: Regenerated.
1972
2174c6dd
AJ
19732012-06-21 Andreas Jaeger <aj@suse.de>
1974
1975 [BZ #12194]
1976 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
1977 warning.
1978 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
1979 * bits/byteswap-16.h (__bswap_16): Likewise.
1980 * bits/byteswap.h (__bswap_constant_16): Likewise.
1981
3ee947b1
L
19822012-06-18 H.J. Lu <hongjiu.lu@intel.com>
1983
1984 [BZ #14117]
a2f34833
L
1985 * sysdeps/i386/fpu_control.h: Removed.
1986 * sysdeps/x86_64/fpu_control.h: Moved to ...
1987 * sysdeps/x86/fpu_control.h: Here.
1988
3ee947b1
L
1989 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
1990 (_FPU_SETCW): Likewise.
1991
ed1825f8
L
19922012-06-15 H.J. Lu <hongjiu.lu@intel.com>
1993
25f1282a
L
1994 [BZ #14117]
1995 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
1996 * sysdeps/x86/fpu/bits/mathinline.h: This.
1997 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
1998
ed1825f8
L
1999 [BZ #14050]
2000 [BZ #14117]
2001 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
2002 functions if __x86_64__ is defined.
2003
36d54b74
CLT
20042012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
2005
2006 * string/endian.h: Add !__ASSEMBLER__ condition for including
2007 conversion interfaces.
2008
10285c21
JM
20092012-06-15 Joseph Myers <joseph@codesourcery.com>
2010
2011 [BZ #14241]
2012 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
2013 of ABS(x) in calculating zero to negative powers other than odd
2014 integers.
2015 * math/libm-test.inc (pow_test): Add more tests.
2016
06c5abbd
AJ
20172012-06-15 Andreas Jaeger <aj@suse.de>
2018
2019 * manual/contrib.texi (Contributors): Update entry of Liubov
2020 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
2021 Machado Filho.
2022
a3aeac40
CH
20232012-06-15 Cyril Hrubis <metan@ucw.cz>
2024
2025 * string/string.h: Add __wur to GNU version of strerror_r.
2026
49bdf4c1
L
20272012-06-14 H.J. Lu <hongjiu.lu@intel.com>
2028
2029 [BZ #14229]
2030 * string/Makefile (tests): Add tst-strtok_r.
2031 * string/tst-strtok_r.c: New file.
2032 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
2033 RAX_LP/RDX_LP on SAVE_PTR.
2034
834f9b8d
RM
20352012-06-14 Roland McGrath <roland@hack.frob.com>
2036
2037 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
2038
75fa1921
JM
20392012-06-14 Joseph Myers <joseph@codesourcery.com>
2040
2041 * libm_test.inc (csqrt_test): Allow more spurious underflow
2042 exceptions.
2043 (j0_test): Likewise.
2044 (j1_test): Likewise.
2045 (y0_test): Likewise.
2046 (y1_test): Likewise.
2047
771766df
CD
20482012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
2049
2050 * po/Makefile (libc.pot): Use UTF-8 charset.
2051
ceb9e56b
PP
20522012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2053
2054 [BZ #14210]
2055 Suppress sign-conversion warning from FD_SET.
2056 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
2057 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
2058 not unsigned long int.
2059 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2060
ddb28975
L
20612012-06-12 H.J. Lu <hongjiu.lu@intel.com>
2062
2063 [BZ #14050]
2064 [BZ #14117]
2065 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
2066 __extern_always_inline instead of __extern_inline.
2067 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
2068 (__signbit): Likewise.
2069 (__signbitl): Support C++ namespace.
2070 (lrintf): New inline function.
2071 (lrint): Likewise.
2072 (llrintf): Likewise.
2073 (llrint): Likewise.
2074 (fmaxf): Likewise.
2075 (fmax): Likewise.
2076 (fminf): Likewise.
2077 (fmin): Likewise.
2078 (rint): Likewise.
2079 (rintf): Likewise.
2080 (ceil): Likewise.
2081 (ceilf): Likewise.
2082 (floor): Likewise.
2083 (floorf): Likewise.
2084 (nearbyint): Likewise.
2085 (nearbyintf): Likewise.
2086
d7b4fb26
TS
20872012-06-12 Thomas Schwinge <thomas@codesourcery.com>
2088
2089 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
2090 non-default versions.
2091
eb55f5c2
RM
20922012-06-11 Roland McGrath <roland@hack.frob.com>
2093
2094 [BZ #14218]
2095 * manual/argp.texi (Argp): Reword argp_parse description slightly.
2096
366af02c
TS
20972012-06-09 Thomas Schwinge <thomas@codesourcery.com>
2098
99ff6e5c
TS
2099 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
2100 (FE_UPWARD, FE_DOWNWARD): Don't define.
2101 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
2102 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2103
366af02c
TS
2104 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
2105 reading it.
2106 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2107 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2108
793ea851
KK
21092012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2110
2111 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2112 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
2113 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
2114 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
2115
a728a38f
L
21162012-06-06 H.J. Lu <hongjiu.lu@intel.com>
2117
2118 [BZ #14117]
c08010c7
L
2119 * sysdeps/i386/fpu/bits/fenv.h: Removed.
2120 * sysdeps/i386/fpu/Implies: New file.
2121 * sysdeps/x86_64/fpu/Implies: Likewise.
2122 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
2123 * sysdeps/x86/fpu/bits/fenv.h: This.
2124
a728a38f
L
2125 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
2126 __SSE_MATH__.
2127
6e230d11
SP
21282012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2129
2130 [BZ #14134]
2131 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
2132 character 0xffff that matches the last element of the
2133 conversion table.
2134
1b671feb
AZ
21352012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2136
2137 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
2138 fmodl commit.
2139
6043738b
AZ
21402012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2141
2142 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
2143 values higher than 25.6283.
2144
34ae0b32
AZ
21452012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2146
2147 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
2148 subnormal exponent extraction and add some __builtin_expect.
2149 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
2150 Fix for subnormal mantissa calculation.
2151
1214ec8f
MF
21522012-06-04 Mike Frysinger <vapier@gentoo.org>
2153
2154 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
2155 cpu2 is -1 and errno is not ENOSYS.
2156
f3d1f93c
L
21572012-06-04 H.J. Lu <hongjiu.lu@intel.com>
2158
2159 [BZ #14117]
0e4a3cd7
L
2160 * sysdeps/i386/i486/bits/string.h: Renamed to ...
2161 * sysdeps/x86/bits/string.h: This.
2162 * sysdeps/x86_64/bits/string.h: Removed.
2163
6704c645
L
2164 * sysdeps/i386/i486/bits/string.h: Define inline functions only
2165 if not compiling for x86-64, but compiling for >= i486.
2166
48495318
L
2167 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
2168 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
2169
14adcbfc
L
2170 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
2171 New macro from Linux kernel 3.4.0.
2172 (FP_XSTATE_MAGIC2): Likewise.
2173 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2174 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
2175 (struct _fpx_sw_bytes): New struct.
2176 (struct _xsave_hdr): Likewise.
2177 (struct _ymmh_state): Likewise.
2178 (struct _xstate): Likewise.
2179
68e408ab
L
2180 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
2181 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
2182 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
2183 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
2184 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
2185 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
2186
f3d1f93c
L
2187 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
2188 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
2189 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
2190 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
2191 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
2192 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
2193
d9dc34cd
TMQMF
21942012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2195
2196 [BZ #13743]
2197 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
2198 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
2199 (sysdep_headers): Include sys/platform/ppc.h.
2200 * sysdeps/powerpc/test-gettimebase.c: Test for
2201 __ppc_get_timebase() to catch future ISA opcode/insn changes.
2202 * manual/Makefile (appendices): Include platform.texi.
2203 * manual/contrib.texi (Contributors): Update @node pointers.
2204 * manual/maint.texi (Maintenance): Likewise.
2205 (Platform): New node.
2206 * manual/platform.texi: New file. Document the new features.
2207
4af3879c
SP
22082012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2209 Jakub Jelinek <jakub@redhat.com>
2210
2211 [BZ #14188]
2212 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
2213 where __builtin_expect is unavailable.
2214
2fd6ff13
DM
22152012-06-03 David S. Miller <davem@davemloft.net>
2216
2217 * stdlib/longlong.h: Updated from GCC.
2218
173f7220
AS
22192012-06-02 Andreas Schwab <schwab@linux-m68k.org>
2220
2221 [BZ #14042]
2222 * sysdeps/powerpc/powerpc32/mcount.c: New file.
2223 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
2224 __mcount_internal.
2225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2226 (GLIBC_2.16): Likewise.
2227
f34a1c6f
L
22282012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2229
2230 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
2231
88a4576f
JM
22322012-06-01 Joseph Myers <joseph@codesourcery.com>
2233
ea32bcdd
JM
2234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2235 (default-abi): New variable.
2236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
2237 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
2238 variable.
2239 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
2240 Likewise.
2241 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
2242 Likewise.
2243 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
2244 Likewise.
2245
88a4576f
JM
2246 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
2247 definition. Document in comment.
2248
402fe938
DM
22492012-06-01 David S. Miller <davem@davemloft.net>
2250
2251 * stdlib/longlong.h: Updated from GCC.
2252
3553723f
L
22532012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2254
2255 [BZ #14117]
3bd872c4
L
2256 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
2257 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
2258 sys/debugreg.h sys/io.h here.
2259 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
2260 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
2261 sys/io.h.
2262 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
2263 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
2264 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
2265 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
2266 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
2267 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
2268
3553723f
L
2269 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
2270 Define only if __x86_64__ is defined.
2271
4842e4fe
JM
22722012-06-01 Joseph Myers <joseph@codesourcery.com>
2273
c5bfe3d5
JM
2274 [BZ #14048]
2275 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
2276 Use int64_t for variable i.
2277 * math/libm-test.inc (fmod_test): Add more tests.
2278
4842e4fe
JM
2279 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
2280 z computation is not scheduled after fetestexcept.
2281 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
2282 Use math_force_eval instead of asm to ensure calculation scheduled
2283 before exception test.
2284 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
2285 Ensure a1 + u.d computation is not scheduled after fetestexcept.
2286
efb73488
AJ
22872012-06-01 Aurelien Jarno <aurelien@aurel32.net>
2288
2289 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
2290 computation is not scheduled after fetestexcept.
2291
29bcce7c
L
22922012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2293
2294 [BZ #14117]
2295 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
2296 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
2297
73a68f94
AZ
22982012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2299
2300 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
2301 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2302
67b6df78
L
23032012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2304
edf2933a 2305 [BZ #14117]
ebc64a18
L
2306 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
2307 <bits/wordsize.h>.
2308 (__WCHAR_MIN): Support __WORDSIZE == 64.
2309 (__WCHAR_MAX): Likewise.
2310
edf2933a
L
2311 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
2312 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2313
57c6cf40
L
2314 [BZ #14183]
2315 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2316 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2317
67b6df78 2318 [BZ #14117]
8eb6281e
L
2319 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2320 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2321
aac639f4
L
2322 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2323 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2324
67b6df78
L
2325 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2326 Defined to 1 if __x86_64__ isn't defined.
2327 (_STAT_VER_LINUX_OLD): New.
2328 (st_atime): Remove duplicate.
2329 (st_mtime): Likewise.
2330 (st_ctime): Likewise.
2331
1c2cfe81
DM
23322012-05-31 David S. Miller <davem@davemloft.net>
2333
2334 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2335 entries.
2336
5be8418c
AS
23372012-06-01 Andreas Schwab <schwab@linux-m68k.org>
2338
e7725326
AS
2339 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2340 gen-libm-test.pl.
2341
5be8418c
AS
2342 [BZ #14132]
2343 * elf/dl-reloc.c: Include <_itoa.h>.
2344 (_dl_reloc_bad_type): Remove use of INTUSE.
2345 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2346 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2347 * stdio-common/psiginfo.c (psiginfo): Likewise.
2348 * stdio-common/psignal.c (psignal): Likewise.
2349 * string/strsignal.c (strsignal): Likewise.
2350 * include/signal.h (_sys_siglist): Declare hidden proto.
2351 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
2352 INTVARDEF with libc_hidden_data_def.
2353 * stdio-common/itoa-udigits.c: Likewise.
2354 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2355 (_itoa_lower_digits_internal): Remove declaration.
2356 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2357 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2358 (_sys_sigabbrev_internal): Remove aliases.
2359 (_sys_siglist): Define hidden alias.
2360
507352f1
MT
23612012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
2362
2363 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2364 bits/sysctl.h.
2365
42bbb1c3
L
23662012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2367
2368 [BZ #14117]
6bd784b6
L
2369 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2370 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2371
8bca20f0
L
2372 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2373 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2374 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2375 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2376 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2377 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2378
f9e890a9
L
2379 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2380 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2381 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2382
471101a1
L
2383 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2384 with __addr.
2385 (insw): Likewise.
2386 (insl): Likewise.
2387 (outsb): Likewise.
2388 (outsw): Likewise.
2389 (outsl): Likewise.
2390
6451c862
L
2391 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2392 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2393 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2394
a254b8c9
L
2395 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2396 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2397 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2398 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2399 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2400 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2401
b8dfdd92
L
2402 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2403 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2404
578cd270
L
2405 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
2406 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
2407
de662f5f
L
2408 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
2409 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
2410 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
2411
25653439
L
2412 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
2413 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
2414 to ...
2415 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
2416
6bad24a0
L
2417 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
2418 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
2419 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
2420
42bbb1c3
L
2421 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
2422 for x86-64.
2423 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2424
2d10d547
JM
24252012-05-31 Joseph Myers <joseph@codesourcery.com>
2426
2427 * math/math.h (M_El): Use two more decimal places.
2428 (M_LOG2El): Likewise.
2429 (M_LOG10El): Likewise.
2430 (M_LN2l): Likewise.
2431 (M_LN10l): Likewise.
2432 (M_PIl): Likewise.
2433 (M_PI_2l): Likewise.
2434 (M_PI_4l): Likewise.
2435 (M_1_PIl): Likewise.
2436 (M_2_PIl): Likewise.
2437 (M_2_SQRTPIl): Likewise.
2438 (M_SQRT2l): Likewise.
2439 (M_SQRT1_2l): Likewise.
2440
f230c29b
DM
24412012-05-31 David S. Miller <davem@davemloft.net>
2442
2443 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
2444 values between float registers.
2445 * sysdeps/sparc/sparc64/memset.S: Likewise.
2446 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2447
fed806c3
MF
24482012-05-31 Mike Frysinger <vapier@gentoo.org>
2449
2450 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
2451 -D_FORTIFY_SOURCE=1.
2452 (CPPFLAGS-tst-longjmp_chk.c): Define.
2453 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
2454 (CPPFLAGS-tst-longjmp_chk2.c): Define.
2455 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
2456 CFLAGS-tst-wchar-h.c.
2457
30917259
MP
24582012-05-31 Marek Polacek <polacek@redhat.com>
2459
2460 [BZ #14132]
2461 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
2462 __endmntent_internal): Remove declaration.
2463 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
2464 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
2465 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
2466
1c58d5dc
DM
24672012-05-30 David S. Miller <davem@davemloft.net>
2468
2469 * sysdeps/sparc/sparc32/soft-fp/q_util.c
2470 (___Q_simulate_exceptions): Use real FP ops rather than writing
2471 into the %fsr.
2472 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
2473 Likewise.
2474
7dc00e0d
L
24752012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2476
2477 [BZ #14117]
0bd53985
L
2478 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
2479 * sysdeps/x86/bits/xtitypes.h: This.
2480
3a257e66
L
2481 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
2482 * sysdeps/x86/bits/wordsize.h: This.
2483
62f62904
L
2484 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
2485 * sysdeps/x86/bits/huge_vall.h: This.
2486
404fe9d9
L
2487 * sysdeps/i386/bits/select.h: Removed.
2488 * sysdeps/x86_64/bits/select.h: Renamed to ...
2489 * sysdeps/x86/bits/select.h: This.
2490
d48d0446
L
2491 * sysdeps/i386/bits/setjmp.h: Removed.
2492 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
2493 * sysdeps/x86/bits/setjmp.h: This.
2494
7dc00e0d
L
2495 * sysdeps/i386/bits/mathdef.h: Removed.
2496 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
2497 * sysdeps/x86/bits/mathdef.h: This.
2498
03277f8f
AS
24992012-05-30 Andreas Schwab <schwab@linux-m68k.org>
2500
2501 [BZ #14132]
2502 * include/sys/socket.h (__connect_internal)
2503 (__libc_sa_len_internal): Remove declaration.
2504 (__connect, __libc_sa_len): Declare hidden_proto.
2505 (SA_LEN): Remove use of INTUSE.
2506 * socket/connect.c: Add libc_hidden_def.
2507 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
2508 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
2509 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
2510 alias.
2511 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2512 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2513 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
2514 of adding _internal alias.
2515
13764867
L
25162012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2517
2518 [BZ #14117]
6bd97696
L
2519 * sysdeps/i386/bits/link.h: Removed.
2520 * sysdeps/i386/bits/linkmap.h: Likewise.
2521 * sysdeps/x86_64/bits/link.h: Renamed to ...
2522 * sysdeps/x86/bits/link.h: This.
2523 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
2524 * sysdeps/x86/bits/linkmap.h: This.
2525
f726f0bb
L
2526 * sysdeps/i386/bits/endian.h: Removed.
2527 * sysdeps/x86_64/bits/endian.h: Renamed to ...
2528 * sysdeps/x86/bits/endian.h: This.
2529
13764867
L
2530 * sysdeps/i386/bits/byteswap.h: Removed.
2531 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2532 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
2533 * sysdeps/x86/bits/byteswap.h: This.
2534 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
2535 * sysdeps/x86/bits/byteswap-16.h: This.
2536 * sysdeps/i386/Implies: Add x86.
2537 * sysdeps/x86_64/Implies: Likewise.
2538
ae251b0b
DM
25392012-05-30 David S. Miller <davem@davemloft.net>
2540
2541 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
2542 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
2543 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2544 (FP_TRAPPING_EXCEPTIONS): Define.
2545 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2546 (FP_TRAPPING_EXCEPTIONS): Define.
2547 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
2548 subnormals only when inexact has been signalled or underflow
2549 exceptions are enabled.
2550 (_FP_PACK_CANONICAL): Likewise.
2551
d5c90867
L
25522012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2553
2554 [BZ #14183]
2555 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
2556 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
2557
63f1549e
RH
25582012-05-30 Richard Henderson <rth@twiddle.net>
2559
8d8f2279
RH
2560 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
2561 with #ifndef NOT_IN_libc.
2562
63f1549e
RH
2563 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
2564 marked to avoid plt entry.
2565
0ab0291b
L
25662012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2567
2568 [BZ #14112]
2569 * Makeconfig (default-abi): New macro.
2570 (abi-includes): Likewise.
2571 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
2572 $(abi-$(default-abi)-lib-soname) for soname if defined.
2573 ($(common-objpfx)gnu/lib-names.stmp): Generate from
2574 abi-variants.
2575 * Makefile (installed-stubs): Likewise.
2576 * include/stubs-biarch.h: Removed.
2577 * scripts/lib-names.awk: Only handle one library at a time.
2578 * scripts/soversions.awk: Remove WORDSIZE support.
2579 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
2580 entries.
2581 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
2582 Removed.
2583 (syscall-list-default-condition): Likewise.
2584 (syscall-list-default-condition): Likewise.
2585 (syscall-list-includes): Likewise.
2586 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
2587 syscall-list-* with abi-*. Handle undefined abi-variants.
2588 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
2589 * sysdeps/unix/sysv/linux/i386/Implies: New file.
2590 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
2591 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
2592 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
2593 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
2594 Removed.
2595 (syscall-list-32-options): Likewise.
2596 (syscall-list-32-condition): Likewise.
2597 (syscall-list-64-options): Likewise.
2598 (syscall-list-64-condition): Likewise.
2599 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
2600 macro.
2601 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
2602 Renamed to ...
2603 (abi-*): This.
2604 (abi-64-ld-soname): New macro.
2605 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
2606 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
2607 Renamed to ...
2608 (abi-*): This.
2609 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
2610 * sysdeps/x86_64/x32/shlib-versions: Likewise.
2611
4da0431d
JM
26122012-05-30 Joseph Myers <joseph@codesourcery.com>
2613
3a85279c
JM
2614 * sysdeps/unix/sysv/linux/kernel-features.h
2615 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
2616 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
2617 include <kernel-features.h>.
2618 [!__NR_ftruncate64]: Remove conditional code.
2619 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2620 [__NR_ftruncate64]: Make code unconditional.
2621 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2622 * sysdeps/unix/sysv/linux/truncate64.c: Do not
2623 include <kernel-features.h>.
2624 [!__NR_ftruncate64]: Remove conditional code.
2625 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2626 [__NR_ftruncate64]: Make code unconditional.
2627 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
2629 include <kernel-features.h>.
2630 [!__NR_ftruncate64]: Remove conditional code.
2631 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2632 [__NR_ftruncate64]: Make code unconditional.
2633 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2635 include <kernel-features.h>.
2636 [!__NR_ftruncate64]: Remove conditional code.
2637 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2638 [__NR_ftruncate64]: Make code unconditional.
2639 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2640
4da0431d
JM
2641 * configure.in (libc_cv_fpie): Weaken to a compile test using
2642 LIBC_TRY_CC_OPTION.
2643 * configure: Regenerated.
2644
11ef492c
AK
26452012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2646
2647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
2648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
2649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
2650 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2651 Refreshed.
2652 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
2653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
2654 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
2655 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
2656 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
2657 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2658 Refreshed.
2659
d66ef399
DM
26602012-05-27 David S. Miller <davem@davemloft.net>
2661
2662 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
2663 (___Q_zero): New.
2664 (__Q_simulate_exceptions): Return void. Change to simulate
2665 exceptions by writing into the %fsr.
2666 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
2667 (__Qp_handle_exceptions): Likewise.
2668 (numbers): Delete.
2669 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
2670 __Qp_handle_exceptions.
2671 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
2672 __Qp_handle_exceptions.
2673 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2674 as unused and give dummy FP_RND_NEAREST initializer.
2675 (FP_INHIBIT_RESULTS): Define.
2676 (___Q_simulate_exceptions): Update declaration.
2677 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
2678 formatting.
2679 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2680 as unused and give dummy FP_RND_NEAREST initializer.
2681 (__Qp_handle_exceptions): Update declaration.
2682 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
2683 formatting.
2684
04fb54b5
TS
26852012-05-27 Thomas Schwinge <thomas@codesourcery.com>
2686
2687 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
2688 the temporary FPU control word.
2689 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2690 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
2691 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2692 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2693 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2694 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2695 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2696 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2697 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2698 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2699 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2700
3f99608f
KK
27012012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2702
2703 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
2704 fields.
2705
65a4de4e
CLT
27062012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
2707
2708 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
2709 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
2710 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
2711 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
2712 Likewise.
2713 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
2714 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
2715 Likewise.
2716
15749d40
UD
27172012-05-27 Ulrich Drepper <drepper@gmail.com>
2718
2719 * po/h.po: Update from translation team.
2720
25dbcb27
AS
27212012-05-26 Andreas Schwab <schwab@linux-m68k.org>
2722
3d3f8e55
AS
2723 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
2724
25dbcb27
AS
2725 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
2726 handling of denormals.
2727 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2728 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2729 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2730 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2731 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2732 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
2733 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
2734 Likewise.
2735
7ad47a80 27362012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
2737
2738 [BZ #14152]
2739 * math/libm-test.inc (fma_test): Don't always expect underflow
2740 exception.
2741
9c6ea9fa
SP
27422012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2743
2744 [BZ #12416]
2745 * elf/tst-execstack.c: Include stackinfo.h.
2746 (do_test): Adjust test case to ensure that pthread_getattr_np
2747 behaviour remains the same after marking stack executable.
2748
a8239222
JM
27492012-05-25 Joseph Myers <joseph@codesourcery.com>
2750
2751 * sysdeps/unix/sysv/linux/kernel-features.h
2752 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
2753 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
2754 kernel-features.h.
2755 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2756 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2757 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
2758 kernel-features.h.
2759 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2760 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2761
918b5606
L
27622012-05-25 H.J. Lu <hongjiu.lu@intel.com>
2763
2764 * configure.in: Define the default includes to being none.
2765 * configure: Regenerated.
2766
3a097cc7
RM
27672012-05-25 Roland McGrath <roland@hack.frob.com>
2768
8422c9a5
RM
2769 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
2770 * sysdeps/x86_64/setjmp.S: Likewise.
2771 * sysdeps/i386/bsd-setjmp.S: Likewise.
2772 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2773 * sysdeps/i386/setjmp.S: Likewise.
2774 * sysdeps/i386/__longjmp.S: Likewise.
2775 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2776 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
2777
3a097cc7
RM
2778 * include/stap-probe.h: New file.
2779 * configure.in: Handle --enable-systemtap.
2780 * configure: Regenerated.
2781 * config.h.in (USE_STAP_PROBE): New #undef.
2782 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
2783 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
2784 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2785
21708942
JM
27862012-05-25 Joseph Myers <joseph@codesourcery.com>
2787
2788 [BZ #13717]
2789 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2790 to 2.4.0 where earlier.
2791 * sysdeps/unix/sysv/linux/configure: Regenerated.
2792 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2793 <kernel-features.h>.
2794 [__ASSUME_32BITUIDS]: Make code unconditional.
2795 [!__ASSUME_32BITUIDS]: Remove conditional code.
2796 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
2797 <kernel-features.h>.
2798 [__ASSUME_32BITUIDS]: Make code unconditional.
2799 [!__ASSUME_32BITUIDS]: Remove conditional code.
2800 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
2801 [__ASSUME_32BITUIDS]: Make code unconditional.
2802 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
2803 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
2804 <kernel-features.h>.
2805 [__ASSUME_32BITUIDS]: Make code unconditional.
2806 [!__ASSUME_32BITUIDS]: Remove conditional code.
2807 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
2808 <kernel-features.h>.
2809 [__ASSUME_32BITUIDS]: Make code unconditional.
2810 [!__ASSUME_32BITUIDS]: Remove conditional code.
2811 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
2812 <kernel-features.h>.
2813 [__ASSUME_32BITUIDS]: Make code unconditional.
2814 [!__ASSUME_32BITUIDS]: Remove conditional code.
2815 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
2816 <kernel-features.h>.
2817 [__ASSUME_32BITUIDS]: Make code unconditional.
2818 [!__ASSUME_32BITUIDS]: Remove conditional code.
2819 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2820 <kernel-features.h>.
2821 [__ASSUME_32BITUIDS]: Make code unconditional.
2822 [!__ASSUME_32BITUIDS]: Remove conditional code.
2823 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2824 <kernel-features.h>.
2825 [__ASSUME_32BITUIDS]: Make code unconditional.
2826 [!__ASSUME_32BITUIDS]: Remove conditional code.
2827 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
2828 <kernel-features.h>.
2829 [__ASSUME_32BITUIDS]: Make code unconditional.
2830 [!__ASSUME_32BITUIDS]: Remove conditional code.
2831 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2832 <kernel-features.h>.
2833 [__ASSUME_32BITUIDS]: Make code unconditional.
2834 [!__ASSUME_32BITUIDS]: Remove conditional code.
2835 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2836 <kernel-features.h>.
2837 [__ASSUME_32BITUIDS]: Make code unconditional.
2838 [!__ASSUME_32BITUIDS]: Remove conditional code.
2839 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
2840 <kernel-features.h>.
2841 [__ASSUME_32BITUIDS]: Make code unconditional.
2842 [!__ASSUME_32BITUIDS]: Remove conditional code.
2843 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
2844 <kernel-features.h>.
2845 [__NR_setresgid] (__setresgid): Do not declare.
2846 [__ASSUME_32BITUIDS]: Make code unconditional.
2847 [!__ASSUME_32BITUIDS]: Remove conditional code.
2848 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
2849 <kernel-features.h>.
2850 [__NR_setresuid] (__setresuid): Do not declare.
2851 [__ASSUME_32BITUIDS]: Make code unconditional.
2852 [!__ASSUME_32BITUIDS]: Remove conditional code.
2853 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
2854 <kernel-features.h>.
2855 [__ASSUME_32BITUIDS]: Make code unconditional.
2856 [!__ASSUME_32BITUIDS]: Remove conditional code.
2857 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
2858 <kernel-features.h>.
2859 [__ASSUME_32BITUIDS]: Make code unconditional.
2860 [!__ASSUME_32BITUIDS]: Remove conditional code.
2861 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
2862 <kernel-features.h>.
2863 [__ASSUME_32BITUIDS]: Make code unconditional.
2864 [!__ASSUME_32BITUIDS]: Remove conditional code.
2865 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
2866 <kernel-features.h>.
2867 [__ASSUME_32BITUIDS]: Make code unconditional.
2868 [!__ASSUME_32BITUIDS]: Remove conditional code.
2869 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
2870 <kernel-features.h>.
2871 [__ASSUME_32BITUIDS]: Make code unconditional.
2872 [!__ASSUME_32BITUIDS]: Remove conditional code.
2873 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
2874 <kernel-features.h>.
2875 [__ASSUME_32BITUIDS]: Make code unconditional.
2876 [!__ASSUME_32BITUIDS]: Remove conditional code.
2877 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
2878 <kernel-features.h>.
2879 [__ASSUME_32BITUIDS]: Make code unconditional.
2880 [!__ASSUME_32BITUIDS]: Remove conditional code.
2881 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
2882 <kernel-features.h>.
2883 [__ASSUME_32BITUIDS]: Make code unconditional.
2884 [!__ASSUME_32BITUIDS]: Remove conditional code.
2885 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
2886 <kernel-features.h>.
2887 [__ASSUME_32BITUIDS]: Make code unconditional.
2888 [!__ASSUME_32BITUIDS]: Remove conditional code.
2889 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2890 <kernel-features.h>.
2891 [__ASSUME_32BITUIDS]: Make code unconditional.
2892 [!__ASSUME_32BITUIDS]: Remove conditional code.
2893 * sysdeps/unix/sysv/linux/kernel-features.h
2894 (__ASSUME_SETRESUID_SYSCALL): Remove.
2895 (__ASSUME_SETRESGID_SYSCALL): Likewise.
2896 (__ASSUME_32BITUIDS): Likewise.
2897 (__ASSUME_LDT_WORKS): Likewise.
2898 (__ASSUME_O_DIRECTORY): Likewise.
2899 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
2900 architecture but not kernel version.
2901 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2902 (__ASSUME_MMAP2_SYSCALL): Likewise.
2903 (__ASSUME_STAT64_SYSCALL): Likewise.
2904 (__ASSUME_IPC64): Likewise.
2905 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
2906 <kernel-features.h>.
2907 [__ASSUME_32BITUIDS]: Make code unconditional.
2908 [!__ASSUME_32BITUIDS]: Remove conditional code.
2909 * sysdeps/unix/sysv/linux/opendir.c: Do not include
2910 <kernel-features.h>.
2911 [__ASSUME_O_DIRECTORY]: Make code unconditional.
2912 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
2913 132096]: Remove conditional code.
2914 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
2915 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2916 <kernel-features.h>.
2917 [__ASSUME_32BITUIDS]: Make code unconditional.
2918 [!__ASSUME_32BITUIDS]: Remove conditional code.
2919 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2920 <kernel-features.h>.
2921 [__ASSUME_32BITUIDS]: Make code unconditional.
2922 [!__ASSUME_32BITUIDS]: Remove conditional code.
2923 * sysdeps/unix/sysv/linux/setegid.c: Do not include
2924 <kernel-features.h>.
2925 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
2926 unconditional.
2927 (__setresgid): Do not declare.
2928 [__ASSUME_32BITUIDS]: Make code unconditional.
2929 [!__ASSUME_32BITUIDS]: Remove conditional code.
2930 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
2931 <kernel-features.h>.
2932 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
2933 unconditional.
2934 (__setresuid): Do not declare.
2935 [__ASSUME_32BITUIDS]: Make code unconditional.
2936 [!__ASSUME_32BITUIDS]: Remove conditional code.
2937 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2938 <kernel-features.h>.
2939 [__ASSUME_32BITUIDS]: Make code unconditional.
2940 [!__ASSUME_32BITUIDS]: Remove conditional code.
2941 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
2942 <kernel-features.h>.
2943 [__ASSUME_32BITUIDS]: Make code unconditional.
2944 [!__ASSUME_32BITUIDS]: Remove conditional code.
2945
a386f1cc
RH
29462012-05-25 Richard Henderson <rth@twiddle.net>
2947
2948 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
2949 dl_hwcap to ifunc resolver.
2950 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
2951 elf_ifunc_invoke.
2952 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
2953 dl_hwcap to ifunc resolver.
2954 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
2955
b6550497
JM
29562012-05-24 Joseph Myers <joseph@codesourcery.com>
2957
2958 [BZ #14153]
2959 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
2960 for |x| <= 2**-26, not 2**-57.
2961 * math/libm-test.inc (acos_test): Do not allow spurious underflow
2962 exception.
2963
b0bc23a1
JL
29642012-05-24 Jeff Law <law@redhat.com>
2965
2966 * stdio-common/Makefile (tests): Add bug25.
2967 * stdio-common/bug25.c: New test.
2968
347c92e9
L
29692012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2970
2971 [BZ #13576]
2972 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
2973 multiple of MALLOC_ALIGNMENT in size.
2974 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
2975
6bcc8b3f
JM
29762012-05-24 Joseph Myers <joseph@codesourcery.com>
2977
2978 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
2979 Require >= 256.
2980 (FILENAME_MAX): Use macro-int-constant.
2981 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
2982 (_IOFBF): Use macro-int-constant.
2983 (_IOLBF): Likewise.
2984 (_IONBF): Likewise.
2985 (SEEK_CUR): Likewise.
2986 (SEEK_END): Likewise.
2987 (SEEK_SET): Likewise.
2988 (TMP_MAX): Likewise.
2989 (EOF): Use macro-int-constant. Require < 0.
2990 (NULL): Use macro-constant. Require == 0.
2991 (stdin): Require type to be FILE *.
2992 (stdout): Likewise.
2993 (stderr): Likewise.
2994 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
2995 macro-int-constant.
2996 (EXIT_SUCCESS): Likewise.
2997 (NULL): Use macro-constant. Require == 0.
2998 (RAND_MAX): Use macro-int-constant.
2999 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
3000 [C99-based standards] (strtof): Require function.
3001 [C99-based standards] (strtold): Likewise.
3002 [C99-based standards] (strtoll): Likewise.
3003 [C99-based standards] (strtoull): Likewise.
3004 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3005 [ISO || ISO99 || ISO11] (limits.h): Likewise.
3006 [ISO || ISO99 || ISO11] (math.h): Likewise.
3007 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
3008 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3009 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3010
d18ea0c5
AS
30112012-05-24 Andreas Schwab <schwab@linux-m68k.org>
3012
3013 [BZ #14132]
56d25bb8
AS
3014 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
3015 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
3016 * intl/dgettext.c (DCGETTEXT): Likewise.
3017 * intl/gettext.c (DCGETTEXT): Likewise.
3018 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
3019 * posix/regex_internal.h (gettext): Likewise.
3020 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
3021 Remove declaration.
3022 * include/argz.h (__argz_count_internal)
3023 (__argz_stringify_internal): Remove declaration.
3024 (__argz_count, __argz_stringify): Declare hidden proto.
3025 * intl/dcgettext.c: Remove use of INTDEF.
3026 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
3027 * string/argz-stringify.c: Likewise.
3028 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3029 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3030 Declare hidden proto.
d18ea0c5
AS
3031 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3032 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3033 Declare hidden proto.
3034 * include/stdio.h (__asprintf_internal): Don't declare.
3035 (__asprintf): Don't define as macro. Declare hidden proto.
3036 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
3037 (__fsetlocking): Declare hidden proto.
3038 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
3039 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
3040 hidden proto.
3041 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
3042 (_IO_setlinebuf): Remove use of INTUSE.
3043 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
3044 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
3045 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
3046 Remove declaration.
3047 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
3048 (_IO_do_flush): Remove use of INTUSE.
3049 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
3050 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
3051 (_IO_adjust_column, _IO_least_wmarker)
3052 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
3053 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
3054 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
3055 (_IO_default_doallocate, _IO_wdefault_doallocate)
3056 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
3057 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
3058 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
3059 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
3060 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
3061 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
3062 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
3063 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
3064 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
3065 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
3066 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
3067 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
3068 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
3069 proto.
3070 (_IO_flush_all_internal, _IO_adjust_column_internal)
3071 (_IO_default_uflow_internal, _IO_default_finish_internal)
3072 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
3073 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
3074 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
3075 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
3076 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
3077 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
3078 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
3079 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
3080 (_IO_file_close_internal, _IO_file_close_it_internal)
3081 (_IO_file_underflow_internal, _IO_file_overflow_internal)
3082 (_IO_file_init_internal, _IO_file_attach_internal)
3083 (_IO_file_fopen_internal, _IO_file_read_internal)
3084 (_IO_file_sync_internal, _IO_file_seek_internal)
3085 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
3086 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
3087 (_IO_str_underflow_internal, _IO_str_overflow_internal)
3088 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
3089 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
3090 (_IO_list_all_internal, _IO_link_in_internal)
3091 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
3092 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
3093 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
3094 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
3095 (_IO_do_write_internal, _IO_padn_internal)
3096 (_IO_getline_info_internal, _IO_getline_internal)
3097 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
3098 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
3099 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
3100 (_IO_vfscanf_internal, _IO_vfprintf_internal)
3101 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
3102 (_IO_init_internal, _IO_un_link_internal): Don't declare.
3103 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
3104 with libc_hidden_ver, remove use of INTUSE.
3105 * libio/genops.c: Likewise.
3106 * libio/freopen.c: Likewise.
3107 * libio/freopen64.c: Likewise.
3108 * libio/iofclose.c: Likewise.
3109 * libio/iofdopen.c: Likewise.
3110 * libio/iofflush.c: Likewise.
3111 * libio/iofflush_u.c: Likewise.
3112 * libio/iofgets.c: Likewise.
3113 * libio/iofgets_u.c: Likewise.
3114 * libio/iofopen.c: Likewise.
3115 * libio/iofopncook.c: Likewise.
3116 * libio/iofread.c: Likewise.
3117 * libio/iofread_u.c: Likewise.
3118 * libio/ioftell.c: Likewise.
3119 * libio/iofwrite.c: Likewise.
3120 * libio/iogetline.c: Likewise.
3121 * libio/iogets.c: Likewise.
3122 * libio/iogetwline.c: Likewise.
3123 * libio/iopadn.c: Likewise.
3124 * libio/iopopen.c: Likewise.
3125 * libio/ioseekoff.c: Likewise.
3126 * libio/ioseekpos.c: Likewise.
3127 * libio/iosetbuffer.c: Likewise.
3128 * libio/iosetvbuf.c: Likewise.
3129 * libio/ioungetc.c: Likewise.
3130 * libio/ioungetwc.c: Likewise.
3131 * libio/iovdprintf.c: Likewise.
3132 * libio/iovsprintf.c: Likewise.
3133 * libio/iovsscanf.c: Likewise.
3134 * libio/memstream.c: Likewise.
3135 * libio/obprintf.c: Likewise.
3136 * libio/oldfileops.c: Likewise.
3137 * libio/oldiofclose.c: Likewise.
3138 * libio/oldiofdopen.c: Likewise.
3139 * libio/oldiofopen.c: Likewise.
3140 * libio/oldiopopen.c: Likewise.
3141 * libio/oldstdfiles.c: Likewise.
3142 * libio/putc.c: Likewise.
3143 * libio/setbuf.c: Likewise.
3144 * libio/setlinebuf.c: Likewise.
3145 * libio/stdfiles.c: Likewise.
3146 * libio/strops.c: Likewise.
3147 * libio/vasprintf.c: Likewise.
3148 * libio/vscanf.c: Likewise.
3149 * libio/vsnprintf.c: Likewise.
3150 * libio/vswprintf.c: Likewise.
3151 * libio/wfiledoalloc.c: Likewise.
3152 * libio/wfileops.c: Likewise.
3153 * libio/wgenops.c: Likewise.
3154 * libio/wmemstream.c: Likewise.
3155 * libio/wstrops.c: Likewise.
3156 * libio/__fpurge.c: Likewise.
3157 * libio/__fsetlocking.c: Likewise.
3158 * assert/assert.c: Likewise.
3159 * debug/fgets_chk.c: Likewise.
3160 * debug/fgets_u_chk.c: Likewise.
3161 * debug/fread_chk.c: Likewise.
3162 * debug/fread_u_chk.c: Likewise.
3163 * debug/gets_chk.c: Likewise.
3164 * debug/obprintf_chk.c: Likewise.
3165 * debug/vasprintf_chk.c: Likewise.
3166 * debug/vdprintf_chk.c: Likewise.
3167 * debug/vsnprintf_chk.c: Likewise.
3168 * debug/vsprintf_chk.c: Likewise.
3169 * malloc/mtrace.c: Likewise.
3170 * misc/error.c: Likewise.
3171 * misc/syslog.c: Likewise.
3172 * stdio-common/asprintf.c: Likewise.
3173 * stdio-common/fxprintf.c: Likewise.
3174 * stdio-common/getw.c: Likewise.
3175 * stdio-common/isoc99_fscanf.c: Likewise.
3176 * stdio-common/isoc99_scanf.c: Likewise.
3177 * stdio-common/isoc99_vfscanf.c: Likewise.
3178 * stdio-common/isoc99_vscanf.c: Likewise.
3179 * stdio-common/isoc99_vsscanf.c: Likewise.
3180 * stdio-common/printf-prs.c: Likewise.
3181 * stdio-common/printf_fp.c: Likewise.
3182 * stdio-common/printf_fphex.c: Likewise.
3183 * stdio-common/printf_size.c: Likewise.
3184 * stdio-common/putw.c: Likewise.
3185 * stdio-common/scanf.c: Likewise.
3186 * stdio-common/sprintf.c: Likewise.
3187 * stdio-common/tmpfile.c: Likewise.
3188 * stdio-common/vfprintf.c: Likewise.
3189 * stdio-common/vfscanf.c: Likewise.
3190 * stdlib/strfmon_l.c: Likewise.
3191 * sunrpc/openchild.c: Likewise.
3192 * sunrpc/xdr_stdio.c: Likewise.
3193 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3194 * sysdeps/mach/hurd/tmpfile.c: Likewise.
3195
d6c33fda
RM
31962012-05-24 Roland McGrath <roland@hack.frob.com>
3197
c1487492
RM
3198 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3199
3200 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
3201 in the third column, to generate for the shared library an IFUNC
3202 that uses _dl_vdso_vsym.
3203 * Makerules (COMPILE.c, compile-stdin.c): New variables.
3204 * Makeconfig (object-suffixes-noshared): New variable.
3205
3206 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
3207 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
3208 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
3209 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
3210
d6c33fda
RM
3211 [BZ #14132]
3212 * include/sys/time.h (__gettimeofday): Remove macro.
3213 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
3214 * time/gettimeofday.c (__gettimeofday): Remove #undef.
3215 Remove INTDEF.
3216 (__gettimeofday): Add libc_hidden_def.
3217 (gettimeofday): Add libc_hidden_weak.
3218 * sysdeps/mach/gettimeofday.c: Likewise.
3219 * sysdeps/posix/gettimeofday.c: Likewise.
3220 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3221 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3222 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
3223 (__gettimeofday_internal): Remove strong_alias.
3224 (__gettimeofday): Add libc_hidden_def.
3225 (gettimeofday): Add libc_hidden_weak.
3226 * sysdeps/unix/syscalls.list (gettimeofday):
3227 Remove __gettimeofday_internal alias.
3228
b5a2bbe6
L
32292012-05-24 Daniel Jacobowitz <drow@false.org>
3230 H.J. Lu <hongjiu.lu@intel.com>
3231
3232 [BZ #12495]
3233 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
3234 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
3235 (largebin_index_32_big): New.
3236 (largebin_index): Use it for 16-byte alignment.
3237 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
3238 correction with front_misalign.
3239
cfba4fda
L
32402012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3241
7f907421
L
3242 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
3243 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3244 Likewise.
3245 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
3246 Likewise.
3247 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3248 Likewise.
3249 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
3250 Likewise.
3251 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
3252 Likewise.
3253 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
3254 Likewise.
3255 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
3256 Likewise.
3257 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3258 Likewise.
3259 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
3260 Likewise.
3261 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
3262 Likewise.
3263 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3264 Likewise.
3265 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
3266 Likewise.
3267
cfba4fda
L
3268 * scripts/data/c++-types-x32-linux-gnu.data: New file.
3269 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
3270
80bad0cc
JM
32712012-05-24 Joseph Myers <joseph@codesourcery.com>
3272
7a25eb06
JM
3273 [BZ #10846]
3274 [BZ #14036]
3275 * math/libm-test.inc (exp_test): Add test from bug 14036.
3276 (pow_test): Add test from bug 10846.
3277
795405f9
JM
3278 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
3279 and other flags.
3280 (special_function): Do not include flags in test name.
3281 (parse_args): Likewise.
3282 * sysdeps/i386/fpu/libm-test-ulps: Update.
3283 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3284 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3285 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3287
80bad0cc
JM
3288 * math/gen-libm-test.pl (%beautify): Add entries for underflow
3289 exceptions.
3290 * math/libm-test.inc ("Philosophy"): Update comment about
3291 exception testing.
3292 (UNDERFLOW_EXCEPTION): New macro.
3293 (UNDERFLOW_EXCEPTION_OK): Likewise.
3294 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3295 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3296 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3297 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3298 (INVALID_EXCEPTION_OK): Update value.
3299 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3300 (OVERFLOW_EXCEPTION_OK): Likewise.
3301 (IGNORE_ZERO_INF_SIGN): Likewise.
3302 (test_exceptions): Handle underflow exceptions.
3303 (acos_test): Update for underflow exception expectations.
3304 (cexp_test): Likewise.
3305 (clog_test): Likewise.
3306 (clog10_test): Likewise.
3307 (csqrt_test): Likewise.
3308 (ctan_test): Likewise.
3309 (ctanh_test): Likewise.
3310 (exp_test): Likewise.
3311 (exp10_test): Likewise.
3312 (exp2_test): Likewise.
3313 (expm1_test): Likewise.
3314 (fma_test): Likewise.
3315 (j0_test): Likewise.
3316 (jn_test): Likewise.
3317 (nexttoward_test): Likewise.
3318 (pow_test): Likewise.
3319 (scalbn_test): Likewise.
3320 (scalbln_test): Likewise.
3321 (tan_test): Likewise.
3322 (y1_test): Likewise.
3323 * sysdeps/i386/fpu/libm-test-ulps: Update.
3324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3325
9e0e3d0b
DM
33262012-05-23 David S. Miller <davem@davemloft.net>
3327
3328 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3329 (__libc_sigaction): Remove unused local variables.
3330
ccd0a08f
L
33312012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3332
3333 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3334
62bdf9a6
PE
33352012-05-23 Paul Eggert <eggert@cs.ucla.edu>
3336
f8591f80
PE
3337 mktime: avoid signed integer overflow
3338 * time/mktime.c (__mktime_internal): Do not mishandle the case
3339 where diff == INT_MIN.
3340
94c7d826
PE
3341 mktime: simplify computation of average
3342 * time/mktime.c (ranged_convert): Use new time_t_avg function
3343 instead of rolling our own (probably-slower) code.
3344
ce73d683
PE
3345 mktime: do not assume signed right shift propagates sign bit
3346 * time/mktime.c (isdst_differ): New static function.
3347 (__mktime_internal): No need to normalize tm_isdst now.
3348 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3349 tm_isdst values.
3350
72a22e59
PE
3351 mktime: merge another wrapv change from gnulib
3352 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3353 from some compilers.
3354
68605433
PE
3355 mktime: remove incorrect attempt at unusual arithmetics
3356 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3357 The code didn't really work on such machines anyway.
3358 (TYPE_MINIMUM): Assume two's complement.
3359 (twos_complement_arithmetic): Verify that long_int and time_t
3360 are two's complement (or unsigned, in the latter case).
3361
03cf7fe3
PE
3362 mktime: check signed shifts on long_int and time_t, too
3363 * time/mktime.c (SHR): Check that shifts work as desired
3364 on the types long_int and time_t too, as SHR is used on
3365 such types.
3366
f04dfbc2
PE
3367 mktime: do not assume 'long' is wide enough
3368 * time/mktime.c (verify): Move decl up.
3369 (long_int): New type.
3370 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3371 to remove assumption in the code that 'long' is wide enough to
3372 store year values. This assumption is not true on x32 and on
3373 some non-glibc platforms.
3374
62bdf9a6
PE
3375 mktime: merge wrapv change from gnulib
3376 * time/mktime.c (WRAPV): New macro.
3377 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3378 (guess_time_tm, __mktime_internal): Do not assume that signed
3379 integer overflow wraps around; modern compilers generate code
3380 where this assumption is no longer valid.
3381
5e292e4f
L
33822012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3383
3384 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3385 Replace "jmp L(pseudo_end)" with "ret".
3386 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3387 Likewise.
3388
8caf8c87
AJ
33892012-05-23 Andreas Jaeger <aj@suse.de>
3390
3391 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3392 * sysdeps/unix/sysv/linux/poll.c: Remove file.
3393
1a09dc56
AJ
33942012-05-23 Andreas Jaeger <aj@suse.de>
3395 Maximilian Attems <max@stro.at>
3396
3397 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3398 New macros.
3399
1c87aba0
L
34002012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3401
3402 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3403 code so that pseudo_end is just ret and the stack pointer is
3404 correct also for static library in error case.
3405
40e45bd5
JM
34062012-05-23 Joseph Myers <joseph@codesourcery.com>
3407
c2670533
JM
3408 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
3409 move to syscalls.list.
3410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3414
40e45bd5
JM
3415 * manual/install.texi (Running make install): Do not mention Linux
3416 kernel version for which pt_chown is not needed.
3417 (Linux): Do not mention problems with nscd with 2.0 kernels.
3418 * INSTALL: Regenerated.
3419
be08eda5
AJ
34202012-05-23 Andreas Jaeger <aj@suse.de>
3421
3422 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3423 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
3424 macro.
3425 * sysdeps/unix/sysv/linux/s390/bits/mman.h
3426 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3427 * sysdeps/unix/sysv/linux/sh/bits/mman.h
3428 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3429 * sysdeps/unix/sysv/linux/i386/bits/mman.h
3430 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3431 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
3432 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3433 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
3434 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3435 * sysdeps/unix/sysv/linux/bits/in.h
3436 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
3437
a6a056bb
RM
34382012-05-22 Roland McGrath <roland@hack.frob.com>
3439
3440 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
3441 (PREPARE_VERSION): Just use assert instead, it will be elided
3442 under [NDEBUG] anyway.
3443
c9009328
L
34442012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3445
3446 * sysdeps/unix/sysv/linux/Makefile: Include
3447 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 3448 (sysdep_routines): Remove sysctl.
c9009328
L
3449 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
3450 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
3451 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
3452 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
3453 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
3454
73338355
AJ
34552012-05-22 Andreas Jaeger <aj@suse.de>
3456
3457 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
3458 that pseudo_end is just ret and the stack pointer is correct also
3459 for static library in error case.
3460
d44638b0
PP
34612012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3462
3463 [BZ #14122]
3464 * nss/nsswitch.c (defconfig_entries): New variable.
3465 (__nss_database_lookup): Don't leak defconfig entries.
3466 (nss_parse_service_list): Don't leak on error paths.
3467 (free_database_entries): New function.
3468 (free_defconfig): New function.
3469 (free_mem): Move common code to free_database_entries.
3470
31a39bd8
L
34712012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3472
da0331a8
L
3473 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
3474 Add arch_prctl.
3475 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
3476
31a39bd8
L
3477 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3478 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
3479 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
3480 New macro.
3481 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3482 (INTERNAL_SYSCALL_TYPES): Likewise.
3483 (LOAD_ARGS_TYPES_[1-6]): Likewise.
3484 (LOAD_REGS_TYPES_[1-6]): Likewise.
3485 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
3486 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
3487
45470df3
AZ
34882012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3489
3490 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
3491 copysignl for GLIBC_2_0.
3492 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
3493 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
3494 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
3495 logbl for GLIBC_2_0.
3496 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3497 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3498
98a61bcb
L
34992012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3500
a4f6e481
L
3501 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
3502 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3503
f63d5db6
L
3504 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3505 Use "neg %eax".
3506
98a61bcb
L
3507 * time/mktime.c: Update copyright years.
3508
95770f14
PE
35092012-05-22 Paul Eggert <eggert@cs.ucla.edu>
3510
6226efbd
PE
3511 mktime: merge comment-quoting-style change from gnulib
3512 * time/mktime.c: Quote 'like this' in comments.
3513 The GNU coding standards suggest that we no longer quote `like this',
3514 as "`" and "'" are typically rendered asymmetrically nowadays.
3515 The typical gnulib style is to quote 'like this' when quoting
3516 code, and "like this" when quoting English.
3517
b99e4f78
PE
3518 * time/mktime.c (compile-command): Add "-I.".
3519
643e01e6
PE
3520 mktime: merge mktime-internal.h change from gnulib
3521 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
3522
2554247d
PE
3523 mktime: merge time_r change from gnulib
3524 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
3525
826dd0ab
PE
3526 mktime: merge DEBUG change from gnulib
3527 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
3528 case system <time.h> has a #define.
3529
bd83aabe
PE
3530 mktime: merge <sys/types.h> change from gnulib
3531 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
3532 since <time.t> is now guaranteed to define time_t.
3533
95770f14
PE
3534 mktime: merge HAVE_CONFIG_H change from gnulib
3535 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
3536
5e1a27a9
L
35372012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3538
0e44a77e
L
3539 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3540 Use "neg %eax".
3541
5e1a27a9
L
3542 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
3543 __rlim_t cast.
3544 (struct rusage): Use anonymous union to pad each field to
3545 __syscall_slong_t.
3546
46259bec
DM
35472012-05-21 David S. Miller <davem@davemloft.net>
3548
3549 * Makefules (o-iterator): Remove .s cases.
3550 (compile-command.s): Delete.
3551 (COMPILE.s): Delete.
3552 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
3553
59f0c22e
JM
35542012-05-21 Joseph Myers <joseph@codesourcery.com>
3555
3556 * configure.in (libc_cv_predef_stack_protector): Only consider
3557 "foobar" and "__stack_chk_fail" lines in libc_undefs.
3558 * configure: Regenerated.
3559
20c07380
L
35602012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3561
bbb3154b
L
3562 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3563 New macro. Use R*LP on int and pointer.
3564 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
3565 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
3566 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
3567 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
3568
20c07380
L
3569 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
3570 [__WORDSIZE_TIME64_COMPAT32] instead of
3571 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
3572 (struct utmp): Likewise.
3573 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
3574 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
3575 Renamed to ...
3576 (__WORDSIZE_TIME64_COMPAT32): This.
3577 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3578 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3579 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
3580 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
3581 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
3582 (__WORDSIZE_TIME64_COMPAT32): New macro.
3583
d8d1017e
AJ
35842012-05-21 Andreas Jaeger <aj@suse.de>
3585
3586 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
3587 only if [SHARED]. Add prototype for __wcschr_ia32.
3588
6c7fb145
RM
35892012-05-21 Roland McGrath <roland@hack.frob.com>
3590
3591 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
3592 of %rbp unmolested in the jmp_buf while mangling the low bits.
3593 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
3594 unmolested high bits of %rbp while demangling the low bits.
3595 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3596
66274218
AJ
35972012-05-21 Andreas Jaeger <aj@suse.de>
3598
07c58f8f
AJ
3599 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
3600 * sunrpc/svc_simple.c: Use it for registerrpc.
3601 * sunrpc/xcrypt.c: Use it for passwd2des.
3602
66274218
AJ
3603 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
3604
61f65140
L
36052012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3606
3607 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
3608 Don't define if [__SYSCALL_WORDSIZE != 32].
3609 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
3610 New macro.
3611
5fefb436
AJ
36122012-05-21 Bruno Haible <bruno@clisp.org>
3613 Andreas Jaeger <aj@suse.de>
3614
3615 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
3616 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
3617 inptr and inend for must_buffer_ch.
3618 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
3619 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
3620 * stdio-common/Makefile (tests): Remove bug15.
3621 (bug15-ENV): Remove macro.
3622 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
3623 anymore.
3624
d8e272ab
AJ
36252012-05-19 Andreas Jaeger <aj@suse.de>
3626 Roland McGrath <roland@hack.frob.com>
3627
3628 * manual/contrib.texi: Completely rewritten. It contains now an
3629 alphabetical list of contributors and their contributions.
3630
4a56a162
RH
36312012-05-21 Richard Henderson <rth@twiddle.net>
3632
3633 * misc/getauxval.c (__getauxval): Use unsigned long int.
3634 * misc/sys/auxv.h: Include <sys/cdefs.h>.
3635 (getauxval): Use unsigned long int.
3636
d024d23c
L
36372012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3638
3639 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3640
cbc00a03
RM
36412012-05-21 Roland McGrath <roland@hack.frob.com>
3642
3643 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
3644 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
3645 __alignof__ (long double).
3646
478143fa
AZ
36472012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3648
3649 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3650
c7683a6d
RH
36512012-05-20 Richard Henderson <rth@twiddle.net>
3652
3653 * misc/getauxval.c: New file.
3654 * misc/sys/auxv.h: New file.
3655 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
3656 (routines): Add getauxval.
3657 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
3658 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
3659 * elf/dl-sysdep.c (_dl_auxv): Remove.
3660 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
3661 * elf/dl-support.c (_dl_auxv): New variable.
3662 (_dl_aux_init): Initialize it.
3663 * manual/startup.texi (Auxiliary Vector): New node.
3664 * sysdeps/generic/bits/hwcap.h: New file.
3665 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
3666 * sysdeps/powerpc/sysdep.h: ... here. Include it.
3667 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
3668 * sysdeps/sparc/sysdep.h: ... here. Include it.
3669 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
3670 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
3671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3672 Update.
c7683a6d
RH
3673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
3674 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
3675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
3676 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
3677 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3678 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3679 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
3680 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
3681
a6f1845d
AZ
36822012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3683
3684 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3685
cbcbe830
DM
36862012-05-19 David S. Miller <davem@davemloft.net>
3687
3688 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3689
e0b16cc2
JM
36902012-05-19 Joseph Myers <joseph@codesourcery.com>
3691
3692 [BZ #14123]
3693 * math/s_ccosh.c: Include <float.h>
3694 (__ccosh): Avoid internal overflow calculating sinh and cosh
3695 values before multiplying by sin and cos values.
3696 * math/s_ccoshf.c: Likewise.
3697 * math/s_ccoshl.c: Likewise.
3698 * math/s_csin.c: Likewise.
3699 * math/s_csinf.c: Likewise.
3700 * math/s_csinl.c: Likewise.
3701 * math/s_csinh.c: Likewise.
3702 * math/s_csinhf.c: Likewise.
3703 * math/s_csinhl.c: Likewise.
3704 * math/libm-test.inc (ccos_test): Add more tests.
3705 (ccosh_test): Likewise.
3706 (csin_test): Likewise.
3707 (csinh_test): Likewise.
3708 * sysdeps/i386/fpu/libm-test-ulps: Update.
3709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3710
6ad13e08
L
37112012-05-19 H.J. Lu <hongjiu.lu@intel.com>
3712
f66f0ce8
L
3713 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
3714 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3715
6ad13e08
L
3716 * sysdeps/x86_64/x32/_itoa.h: Add comment.
3717
b1d072a7
JM
37182012-05-19 Joseph Myers <joseph@codesourcery.com>
3719
3720 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
3721 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
3722 * sysdeps/powerpc/soft-fp/Versions: Likewise.
3723 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
3724 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
3725 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
3726 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
3727 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
3728 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
3729 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
3730 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
3731 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
3732 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
3733 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
3734 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
3735 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
3736 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
3737 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
3738 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
3739 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
3740 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
3741 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
3742 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
3743 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
3744 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
3745 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
3746 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
3747 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
3748 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
3749 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
3750 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
3751
9eae47cb
AJ
37522012-05-18 Andreas Jaeger <aj@suse.de>
3753
3754 * csu/.gitignore: Delete.
3755
bb07f69f
L
37562012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3757
3758 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
3759 (timex): Use __syscall_slong_t.
3760
e6bdb741
AJ
37612012-05-18 Andreas Jaeger <aj@suse.de>
3762 Carlos O'Donell <carlos_odonell@mentor.com>
3763
3764 * manual/install.texi (Configuring and compiling): Update
3765 description about files modified in the source directory.
d6c33fda 3766 * INSTALL: Regenerated.
e6bdb741 3767
1b74487e
L
37682012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3769
3770 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
3771 value. Use "or" to set return value to -1.
3772 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
3773 negate return value.
3774
a88b64b9
TMQMF
37752012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3776
3777 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
3778 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
3779 failure if the compiler has Graphite support disabled.
3780 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
3781 Likewise.
3782 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
3783 CFLAGS-memmove.c): Likewise.
3784 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
3785 Likewise.
3786
3707636e
L
37872012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3788
610b8622
L
3789 * sysdeps/x86_64/x32/_itoa.h: New file.
3790
7cd195df
L
3791 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
3792 getdents system call only if kernel and user dirents have the
3793 same d_ino and d_off.
3794
94b07d20
L
3795 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3796 LLONG_MAX != LONG_MAX.
3797 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3798 (_fitoa_word): Likewise.
3799
18298070
L
3800 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
3801 years.
3802 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
3803 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
3804 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
3805
553c7ea4
L
3806 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
3807 include <bits/wordsize.h>. Check __x86_64__ instead of
3808 __WORDSIZE.
3809 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
3810 if __x86_64__ is defined. Use anonymous union on fpstate.
3811
3707636e
L
3812 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
3813 anonymous union.
3814
b53ef01a
AS
38152012-05-18 Andreas Schwab <schwab@linux-m68k.org>
3816
37fb1dc0
AS
3817 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3818 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
3819 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
3820 Refer to _rtld_local_ro instead of _rtld_global_ro.
3821 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
3822 Likewise.
3823 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
3824 Likewise.
3825 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
3826 Likewise.
3827 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
3828 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
3829 of _rtld_global, and rtld_progname instead of _dl_argv[0].
3830
b53ef01a
AS
3831 * sysdeps/powerpc/powerpc32/dl-machine.c
3832 (__elf_machine_runtime_setup) [PROF]: Don't reference
3833 _dl_prof_resolve.
3834
7a185db2
AJ
38352012-05-18 Andreas Jaeger <aj@suse.de>
3836
3837 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
3838 function only available for GCCs before 3.4 since GCC 3.4
3839 introduced a builtin.
3840 (lrint): Likewise.
3841 (llrintf): Likewise.
3842 (llrint): Likewise.
3843 (fmaxf): Likewise.
3844 (fmax): Likewise.
3845 (fminf): Likewise.
3846 (fmin): Likewise.
3847 (rint): Likewise.
3848 (rintf): Likewise.
3849 (nearbyint): Likewise.
3850 (nearbyintf): Likewise.
3851 (ceil): Likewise.
3852 (ceilf): Likewise.
3853 (floor): Likewise.
3854 (floorf): Likewise.
3855
3e5aef87
L
38562012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3857
428bd707
L
3858 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
3859 on both fields and cast pointer to __syscall_ulong_t.
3860
3e5aef87
L
3861 * bits/types.h (__fsword_t): New type.
3862 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
3863 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
3864 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3865 (__FSWORD_T_TYPE): Likewise.
3866 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3867 (__FSWORD_T_TYPE): Likewise.
3868 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3869 (__FSWORD_T_TYPE): Likewise.
3870 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
3871 (__FSWORD_T_TYPE): Likewise.
3872 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
3873 __SWORD_TYPE with __fsword_t.
3874 (statfs64): Likewise.
3875
1ba7c3dc
DM
38762012-05-17 David S. Miller <davem@davemloft.net>
3877
3878 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
3879
59910343
AJ
38802012-05-17 Andreas Jaeger <aj@suse.de>
3881
3882 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
3883 warning.
3884
2e4c1e9e
L
38852012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3886
3887 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
3888
de7f5ce7
AJ
38892012-05-17 Andreas Jaeger <aj@suse.de>
3890
3891 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
3892 when it is used.
3893
286abc3d
CM
38942012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3895
3896 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
3897
477cc68e
L
38982012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3899
3900 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
3901 * sysdeps/x86_64/tst-mallocalign1.c: New file.
3902
1a0994f5
CD
39032012-05-17 Andreas Jaeger <aj@suse.de>
3904 Carlos O'Donell <carlos_odonell@mentor.com>
3905
3906 [BZ #14059]
3907 * sysdeps/x86_64/multiarch/init-arch.h
3908 (bit_YMM_Usable): Rename to...
3909 (bit_AVX_Usable): ... this.
3910 (bit_FMA4_Usable): New macro.
3911 (bit_XMM_state): New macro.
3912 (bit_YMM_state): New macro.
3913 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
3914 [__ASSEMBLER__] (index_AVX_Usable): ... this.
3915 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
3916 (CPUID_OSXSAVE): New macro.
3917 (CPUID_AVX): New macro.
3918 (CPUID_FMA4): New macro.
3919 (index_YMM_Usable): Rename to...
3920 (index_AVX_Usable): ... this.
3921 (HAS_AVX): Use HAS_ARCH_FEATURE.
3922 (HAS_FMA4): Likewise.
3923 (HAS_YMM_USABLE): Remove.
3924 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3925 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
3926 are present.
3927 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
3928 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
3929 * sysdeps/x86_64/multiarch/Makefile: Likewise.
3930 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
3931 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
3932
0af797de
CM
39332012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3934
3935 * math/libm-test.c: Support platforms without multiple rounding modes.
3936 * math/bug-nextafter.c: Support platforms without FP exceptions.
3937 * math/bug-nexttoward.c: Likewise.
3938 * math/test-fenv.c: Likewise.
3939 * math/test-misc.c: Likewise.
3940 * stdlib/bug-getcontext.c: Likewise.
3941
e39745ff
AJ
39422012-05-17 Andreas Jaeger <aj@suse.de>
3943
3944 * manual/examples/search.c (critter_cmp): Change signature to
3945 avoid warnings.
3946 * manual/string.texi (Collation Functions): Likewise.
3947
48970aba
L
39482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3949
3950 * bits/types.h: Fold copyright years.
3951 * bits/typesizes.h: Likewise.
3952 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
3953 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
3954 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
3955 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
3956 * time/time.h: Likewise.
3957
bedee953
PP
39582012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3959
3960 [BZ #208]
3961 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
3962 in instead of returning them. Return void.
3963 (__libc_mallinfo): Accumulate over all arenas.
3964 (__malloc_stats): Adjust for change in int_mallinfo interface.
3965
61653dfb
RM
39662012-05-16 Roland McGrath <roland@hack.frob.com>
3967
30b99d79
RM
3968 [BZ #10375]
3969 * configure.in (NM): Add AC_CHECK_TOOL for it.
3970 (libc_extra_cflags): New substituted variable.
3971 Check for -fstack-protector being used implicitly.
3972 * configure: Regenerated.
3973 * config.make.in (config-extra-cflags): New variable,
3974 gets @libc_extra_cflags@.
3975 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
3976
61653dfb
RM
3977 [BZ #10375]
3978 * configure.in: Check for _FORTIFY_SOURCE being predefined.
3979 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
3980 * configure: Regenerated.
3981 * config.make.in (CPPUNDEFS): New substituted variable.
3982 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
3983 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
3984 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
3985
661768bb
L
39862012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3987
3988 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
3989 (mq_attr): Use __syscall_slong_t.
3990
d4261567
L
39912012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3992
3993 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
3994 Check __x86_64__ instead of __WORDSIZE.
3995 (_STAT_VER_LINUX): Likewise.
3996 (stat): Check __x86_64__ instead of __WORDSIZE. Use
3997 __syscall_ulong_t and __syscall_slong_t.
3998 (stat64): Likewise.
3999
cf3ff365
L
40002012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4001
4002 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
4003
76cf3e4d
L
40042012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4005
4006 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
4007
a637753a
L
40082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4009
4010 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
4011 __syscall_ulong_t.
4012
d5e05119
L
4013 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
4014 include <bits/wordsize.h>. Check __x86_64__ instead of
4015 __WORDSIZE.
4016 (greg_t): Use "__extension__ long long int" if __x86_64__ is
4017 defined.
4018 (mcontext_t): Replace "unsigned long" with "unsigned long long".
4019
f62ee380
L
4020 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
4021 include <bits/wordsize.h>. Check __x86_64__ instead of
4022 __WORDSIZE.
4023 (user_regs_struct): Use "__extension__ unsigned long long"
4024 instead of "unsigned long" if __x86_64__ is defined.
4025 (user): Likewise. Pad after pointer field if __ILP32__ is
4026 defined.
4027
4e124ced
JM
40282012-05-16 Joseph Myers <joseph@codesourcery.com>
4029
6a3951a0
JM
4030 * configure.in (makeinfo): Require version 4.5 or later. Allow
4031 versions 5 to 9.
4032 * configure: Regenerated.
4033 * manual/install.texi (texinfo): Increase version requirement to
4034 4.5 or later.
4035 * INSTALL: Regenerated.
4036
4e124ced
JM
4037 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
4038
953ca31a
L
40392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4040
4041 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
4042
617aca05
L
4043 * sysdeps/x86_64/x32/ffs.c: New file.
4044
5762f7ae
L
4045 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
4046 __syscall_ulong_t.
4047 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
4048 defined. Use __syscall_ulong_t.
4049 (shminfo): Use __syscall_ulong_t.
4050 (shm_info): Likewise.
4051
a26b6856
L
4052 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
4053 __syscall_ulong_t.
4054
cb2b9ef7
L
4055 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
4056 <bits/wordsize.h>.
4057 (msgqnum_t): Use __syscall_ulong_t.
4058 (msglen_t): Likewise.
4059 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
4060 __syscall_ulong_t.
4061
34683bb0
L
4062 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
4063 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4064
84a68786
L
4065 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
4066
48baa5f1
L
4067 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
4068 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
4069
180be88b
L
4070 * sysvipc/sys/msg.h (msgbuf): Replace long int with
4071 __syscall_slong_t.
4072
5e90c8ad
L
4073 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
4074 include <bits/wordsize.h>. Check __x86_64__ instead of
4075 __WORDSIZE.
4076
23dfb58b
L
4077 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
4078 "unsigned long long int" if __x86_64__ is defined.
4079 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
4080
ce5d54b0
L
4081 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
4082 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4083 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
4084
13dc9eac
L
4085 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
4086 <stdint.h>.
4087 (GET_PC): Cast to uintptr_t first.
4088 (GET_FRAME): Likewise.
4089 (GET_STACK): Likewise.
4090
a7895d15
L
4091 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
4092 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
4093 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
4094 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
4095 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
4096 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
4097 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
4098 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
4099 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4100 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
4101 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
4102 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
4103 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4104 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
4105 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
4106 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
4107 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
4108 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
4109 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
4110 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
4111 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
4112 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
4113 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
4114 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
4115 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
4116 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
4117 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
4118 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
4119 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
4120
656416c9
AS
41212012-05-16 Andreas Schwab <schwab@linux-m68k.org>
4122
5bd66283
AS
4123 * Makerules (+depfiles): Also collect depfiles from .oS in
4124 $(extra-objs).
4125 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
4126 .oS, $(libnldbl-routines)).
4127
656416c9
AS
4128 * Makerules (native-compile-mkdep-flags): Define.
4129 * sunrpc/Makefile (extra-objs): Add $(addprefix
4130 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
4131 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
4132 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
4133 calling $(make-target-directory).
4134
a46f2169
L
41352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4136
4137 * bits/types.h (__snseconds_t): Removed.
4138 * time/time.h (struct timespec): Replace __snseconds_t with
4139 __syscall_slong_t.
4140 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
4141 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
4142 Likewise.
4143 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4144 (__SNSECONDS_T_TYPE): Likewise.
4145 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4146 (__SNSECONDS_T_TYPE): Likewise.
4147 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4148 (__SNSECONDS_T_TYPE): Likewise.
4149
6af6528b
L
41502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4151
4152 * sysdeps/mach/hurd/bits/typesizes.h
4153 (__SYSCALL_SLONG_TYPE): New macro.
4154 (__SYSCALL_ULONG_TYPE): Likewise.
4155
de986b56
L
41562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4157
4158 * bits/types.h (__syscall_slong_t): New type.
4159 (__syscall_ulong_t): Likewise.
4160
4161 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
4162 (__SYSCALL_ULONG_TYPE): Likewise.
4163 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4164 (__SYSCALL_SLONG_TYPE): Likewise.
4165 (__SYSCALL_ULONG_TYPE): Likewise.
4166 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4167 (__SYSCALL_SLONG_TYPE): Likewise.
4168 (__SYSCALL_ULONG_TYPE): Likewise.
4169 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4170 (__SYSCALL_SLONG_TYPE): Likewise.
4171 (__SYSCALL_ULONG_TYPE): Likewise.
4172
85736dc7
L
41732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4174
4175 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
4176 Add sigaltstack-offsets.sym.
4177 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
4178 <sigaltstack-offsets.h>.
4179 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
4180 longjmp_msg pointer.
4181 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
4182 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
4183 signal stack.
4184 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
4185
cc03b296
JM
41862012-05-15 Joseph Myers <joseph@codesourcery.com>
4187
a9538892
JM
4188 * elf/stackguard-macros.h: Remove file.
4189 * sysdeps/generic/stackguard-macros.h: New file.
4190 * sysdeps/i386/stackguard-macros.h: Likewise.
4191 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4192 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4193 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4194 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4195 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4196 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4197 * sysdeps/x86_64/stackguard-macros.h: Likewise.
4198 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
4199 <elf/stackguard-macros.h>.
4200
cc03b296
JM
4201 [BZ #14109]
4202 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
4203 __aligned__ in attribute.
4204 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
4205 (gregset_t): Likewise.
4206
93171016
L
42072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4208
4209 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
4210 * sysdeps/x86_64/64/Implies-after: Here. New file.
4211 * sysdeps/x86_64/x32/Implies-after: New file.
4212
d86813a0
L
42132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4214
4215 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
4216 and access return value for _dl_profile_fixup. Use R10_LP to
4217 load frame size.
4218
2953ec75
L
42192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4220
4221 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
4222
3b550e9e
L
42232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4224
4225 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
4226 * sysdeps/x86_64/x32/sysdep.h: New file.
4227
eda41706
L
42282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4229
4230 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
4231 * sysdeps/x86_64/setjmp.S: Likewise.
4232
9ea01d93
AZ
42332012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4234
4235 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
4236 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
4237 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
4238 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
4239 remove unused global constant.
4240
02a91938
CM
42412012-05-15 Chris Metcalf <cmetcalf@tilera.com>
4242
4243 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
4244 include of <not-cancel.h>.
4245
6540185f
RM
42462012-05-15 Roland McGrath <roland@hack.frob.com>
4247
4248 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
4249
509072a0
AJ
42502012-05-15 Jeff Law <law@redhat.com>
4251 Andreas Jaeger <aj@suse.de>
4252
4253 [BZ #13594]
4254 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
4255 out from...
4256 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
4257 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
4258 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
4259 code changing __hst_map_handle.map.
4260
ba75122d
RM
42612012-05-15 Roland McGrath <roland@hack.frob.com>
4262
4263 * configure.in (sysnames): Look for Implies-before and Implies-after
4264 files.
4265 * configure: Regenerated.
4266
890d8bd8
L
42672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4268
4269 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
4270 8-byte data alignment with LP_SIZE alignment.
4271
f6ee6623
L
42722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4273
4274 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
4275 into R10_LP.
4276
ea2626f6
L
42772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4278
4279 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
4280
085f715e
L
42812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4282
4283 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
4284 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
4285 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
4286 Likewise.
4287 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4288
be8498fc
L
42892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4290
4291 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
4292 (stackinfo_sub_sp): Likewise.
4293
70bc83b9
L
42942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4295
4296 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
4297 RAX_LP.
4298
9bc0b730
L
42992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4300
4301 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
4302 into R*_LP.
4303
6d2850e7
L
43042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4305
4306 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
4307 sizes into R*_LP.
4308
3cb84561
L
43092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4310
4311 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4312
54e2ed81
L
43132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4314
4315 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4316 into R11_LP and load __x86_64_shared_cache_size_half into
4317 R8_LP.
4318
8a17f349
L
43192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4320
4321 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4322 R8_LP.
4323
777b1eea
AZ
43242012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4325
4326 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4327 logb for POWER7.
4328 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4329 logbf for POWER7.
4330 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4331 logbl for POWER7.
4332 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4333 powerpc32/power7/fpu/s_logb.c via #include.
4334 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4335 powerpc32/power7/fpu/s_logbf.c via #include.
4336 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4337 powerpc32/power7/fpu/s_logbl.c via #include.
4338
d20d4ac2
JM
43392012-05-15 Joseph Myers <joseph@codesourcery.com>
4340
4341 * README.libm: Remove file.
4342
6cdef1ab
L
43432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4344
4345 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4346 count for x32. Use R*_LP and omit operand-size suffix.
4347
0b254d8f
L
43482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4349
4350 * shlib-versions: Move x86_64-.*-linux.* entries to ...
4351 * sysdeps/x86_64/64/shlib-versions: Here. New file.
4352 * sysdeps/x86_64/x32/shlib-versions: New file.
4353
ceb809dc
RM
43542012-05-14 Roland McGrath <roland@hack.frob.com>
4355
4356 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4357 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4358 Use _dl_fatal_printf instead.
4359
37f1abd4
JM
43602012-05-14 Joseph Myers <joseph@codesourcery.com>
4361
4362 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4363 set if not set by the user. Do not allow for being unset.
4364 * sysdeps/unix/sysv/linux/configure: Regenerated.
4365
11de3a33
L
43662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4367
4368 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4369 the `q' suffix from lea and replace .quad with ASM_ADDR.
4370
e02f153a
L
43712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4372
4373 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4374 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
4375 instead of $17.
4376 (PTR_DEMANGLE): Likewise.
4377
520ae0fd
L
43782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4379
4380 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4381 (LP_OP): Likewise.
4382 (ASM_ADDR): Likewise.
4383 (RAX_LP): Likewise.
4384 (RBP_LP): Likewise.
4385 (RBX_LP): Likewise.
4386 (RCX_LP): Likewise.
4387 (RDI_LP): Likewise.
4388 (RSI_LP): Likewise.
4389 (RSP_LP): Likewise.
4390 (R8_LP): Likewise.
4391 (R9_LP): Likewise.
4392 (R10_LP): Likewise.
4393 (R10_LP): Likewise.
4394 (R11_LP): Likewise.
4395 (R12_LP): Likewise.
4396 (R13_LP): Likewise.
4397 (R14_LP): Likewise.
4398 (R15_LP): Likewise.
4399
b985be81
L
44002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4401
4402 * sysdeps/x86_64/x32/dl-machine.h: New file.
4403
6a4888ff
AJ
44042012-05-14 Andreas Jaeger <aj@suse.de>
4405
4406 * manual/Makefile (subdir): Remove export of subdir.
4407 (all): Remove target.
4408 (.PHONY): Remove all from list.
4409 (mkinstalldirs): Remove.
4410 (.PHONY): Remove installdirs from list.
4411 ($(inst_infodir)/libc.info): Use make-target-directory.
4412 (installdirs): Remove.
4413 (subdir_%): Remove.
4414 (glibc-targets): Remove.
4415 (lib): Remove.
4416 (stubs): Remove.
4417 ($(objpfx)stubs ../po/manual.pot): Remove.
4418 ($(objpfx)stamp%): Remove.
4419 (make-target-directory): Remove.
4420 (subdir_install): Remove.
4421 (routines): Remove.
4422 (aux): Remove.
4423 (sources): Remove.
4424 (objects): Remove.
4425 (headers): Remove.
4426
4427 [BZ #13750]
4428 * manual/.gitignore: Remove, it's not needed anymore.
4429 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
4430 all files in it.
4431 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
4432 directory.
4433 (texis): Renamed to $(objpfx)texis.
4434 (texis-path): New, contains path to generated files.
4435 (chapters.%): Use texis-path for complete path, add extra argument
4436 libc-texinfo.sh.
4437 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
4438 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
4439 (summary,texi, stamp-summary): Use complete path of
4440 files. Generate files in build dir.
4441 (dir-add.texi): Build in build dir.
4442 (libm-err.texi,stamp-libm-err): Likewise.
4443 (version.texi, stamp-version): Likewise.
4444 (.%c.texi): Likewise.
4445 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
4446 (mostlyclean): Remove target.
4447 (realclean): Remove target.
4448 (generated): Add new variable with contents from mostlyclean and
4449 realclean, remove entries duplicated in common-mostlyclean, add
4450 stamp-libm-err and stamp-version.
4451 (generated-dirs): Add libc directory.
4452 ($(inst_infodir)/libc.info): Install files from build dir.
4453
4454 * manual/install.texi (Configuring and compiling): Adjust since
4455 the info files are not part of the tar ball anymore.
4456
7ac77294
AJ
44572012-05-14 Andreas Jaeger <aj@suse.de>
4458
4459 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
4460 variable.
4461
ffb7875d
JM
44622012-05-14 Joseph Myers <joseph@codesourcery.com>
4463
4464 [BZ #13717]
4465 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4466 to 2.2.0 where earlier.
4467 * sysdeps/unix/sysv/linux/configure: Regenerated.
4468 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
4469 Remove conditional code.
4470 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
4471 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
4472 Remove conditional code.
4473 [!__NR_lchown]: Likewise.
4474 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4475 [__NR_lchown]: Likewise.
4476 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
4477 comment referencing __ASSUME_LCHOWN_SYSCALL.
4478 * sysdeps/unix/sysv/linux/i386/sigaction.c
4479 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4480 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4481 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
4482 Remove conditional code.
4483 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
4484 (__protocol_available): Remove #if 0 code.
4485 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
4486 conditional code.
4487 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
4488 * sysdeps/unix/sysv/linux/kernel-features.h
4489 (__ASSUME_GETCWD_SYSCALL): Don't define.
4490 (__ASSUME_REALTIME_SIGNALS): Likewise.
4491 (__ASSUME_PREAD_SYSCALL): Likewise.
4492 (__ASSUME_PWRITE_SYSCALL): Likewise.
4493 (__ASSUME_POLL_SYSCALL): Likewise.
4494 (__ASSUME_LCHOWN_SYSCALL): Likewise.
4495 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
4496 non-SPARC.
4497 (__ASSUME_SIOCGIFNAME): Don't define.
4498 (__ASSUME_MSG_NOSIGNAL): Likewise.
4499 (__ASSUME_SENDFILE): Define unconditionally.
4500 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
4501 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
4502 conditional code.
4503 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
4504 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
4505 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4506 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4507 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
4508 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4509 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
4511 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4512 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4514 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4515 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
4517 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4518 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4520 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4521 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
4523 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4524 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4526 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4527 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
4529 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4530 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4532 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4533 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4534 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
4535 Remove conditional code.
4536 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4537 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4538 Remove conditional code.
4539 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4540 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
4541 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
4542 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4543 Remove conditional code.
4544 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4545 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
4546 Remove conditional code.
4547 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4548 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
4549 Remove conditional code.
4550 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4551 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4552 Remove conditional code.
4553 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4554 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4555 Remove conditional code.
4556 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4557 * sysdeps/unix/sysv/linux/sh/pwrite64.c
4558 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4559 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4560 * sysdeps/unix/sysv/linux/sigaction.c
4561 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4562 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4563 * sysdeps/unix/sysv/linux/sigpending.c
4564 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4565 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4566 * sysdeps/unix/sysv/linux/sigprocmask.c
4567 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4568 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4569 * sysdeps/unix/sysv/linux/sigsuspend.c
4570 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4571 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4572 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4573 (__libc_missing_rt_sigs): Remove.
4574 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
4575 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
4576 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
4577 Remove conditional code.
4578 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
4579 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
4580 return 1.
4581 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
4582 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
4583 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
4584 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
4585
1bfb7291
AJ
45862012-05-14 Andreas Jaeger <aj@suse.de>
4587
caae5a81
AJ
4588 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
4589 it's not used in glibc.
4590 (__coshm1): Likewise.
4591 (__acosh1p): Likewise.
4592 (__sgn): Likewise.
4593
1bfb7291
AJ
4594 * manual/string.texi (Copying and Concatenation): Add missing
4595 variable in concat example.
4596 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4597
c044d724
L
45982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4599
144c5467 4600 [BZ #14103]
c044d724
L
4601 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
4602 __builtin_clzl with __builtin_clzll.
4603
2523c62b
L
46042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4605
4606 [BZ #14104]
4607 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
4608 libc_freeres_ptr.
4609
d7bb4c42
LD
46102012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4611
4612 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
4613 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
4614 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
4615 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
4616
9dc4e1fb
MF
46172012-05-14 Mike Frysinger <vapier@gentoo.org>
4618
4619 * NEWS: Update ia64 info.
4620
c7df0112
AS
46212012-05-12 Andreas Schwab <schwab@linux-m68k.org>
4622
4623 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
4624 used as bcopy.
4625
dc70356c
TS
46262012-05-12 Thomas Schwinge <thomas@codesourcery.com>
4627
4628 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
4629 * sysdeps/unix/syscalls.list (dup3): Likewise.
4630 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
4631 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
4632
9fb1a21f
L
46332012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4634
4635 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
4636 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
4637
4822a2a5
L
46382012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4639
4640 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
4641 thread pointer.
4642 (TLS_IE): Use mov/add instead of movq/addq to load thread
4643 pointer.
4644 (TLS_GD_PREFIX): New.
4645 (TLS_GD): Use it.
4646
842b81d6
DM
46472012-05-11 David S. Miller <davem@davemloft.net>
4648
4649 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
4650 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
4651 (_FPU_SETCW): Likewise.
4652
1cf463cd
L
46532012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4654
4655 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
4656 is 32-byte aligned.
4657
60cc4a18
AS
46582012-05-11 Andreas Schwab <schwab@linux-m68k.org>
4659
4660 [BZ #11837]
4661 * iconvdata/gb18030.c: Update tables.
4662 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
4663 characters specially.
4664 (BODY for TO_LOOP): Add encoding of missing ranges.
4665
febb44a4
TS
46662012-05-11 Thomas Schwinge <thomas@codesourcery.com>
4667
4668 [BZ #13673]
4669 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
4670 * sysdeps/mach/hurd/dup3.c: Likewise.
4671 * sysdeps/mach/hurd/readlinkat.c: Likewise.
4672 * sysdeps/powerpc/memmove.c:: Likewise.
4673
0a10fb9e
L
46742012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4675
4676 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
4677 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
4678
df8a552f
L
46792012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4680
4681 * elf/elf.h (R_X86_64_RELATIVE64): New.
4682 (R_X86_64_NUM): Updated.
4683 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4684 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
4685 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
4686 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
4687 tst-quad1pie tst-quad2pie
4688 (modules-names): Add tst-quadmod1 tst-quadmod2.
4689 ($(objpfx)tst-quad1): New dependency.
4690 ($(objpfx)tst-quad2): Likewise.
4691 ($(objpfx)tst-quad1pie): Likewise.
4692 ($(objpfx)tst-quad2pie): Likewise.
4693 * sysdeps/x86_64/tst-quad1.c: New file.
4694 * sysdeps/x86_64/tst-quad1pie.c: New file.
4695 * sysdeps/x86_64/tst-quad2.c: Likewise.
4696 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
4697 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
4698 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
4699 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
4700 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
4701
f34d6f84
ST
47022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4703
f42d41d1
ST
4704 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
4705 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
4706 * streams/stropts.h (t_scalar_t): Define type.
4707
3c3571fc
ST
4708 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
4709 (_PATH_PRESERVE): Set to "/var/lib".
4710 (_PATH_RWHODIR): Set to "/var/spool/rwho".
4711
61f06bd3
ST
4712 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
4713 instead of int.
4714
918d4d71
ST
4715 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
4716 if __dir_mkfile succeeded.
4717
f34d6f84
ST
4718 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
4719 checking for _hurd_dtablesize. Unlock it right after having
4720 finished _hurd_dtable allocation.
4721
10589b4a
TS
47222012-05-10 Thomas Schwinge <thomas@schwinge.name>
4723
674cdbc7
TS
4724 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
4725 * sysdeps/mach/hurd/configure: Regenerated.
4726 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
4727 special-casing to...
4728 * sysdeps/gnu/configure.in: ... this new file.
4729 * sysdeps/unix/sysv/linux/configure: Regenerated.
4730 * sysdeps/gnu/configure: New generated file.
4731
8e41b99f
TS
4732 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
4733 for Linux: use nsec instead of usec, as well as:
4734 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
4735 members of type struct timespec.
4736 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
4737 New macros.
4738 (struct stat64): Likewise.
4739 (_STATBUF_ST_NSEC): New macro.
4740 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
4741
10589b4a
TS
4742 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4743 __strtoul_internal rather than strtoul.
4744
63643c85
PT
47452012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4746
4747 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
4748 and reject them.
4749
3faebe6a
ST
47502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4751
4752 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
4753 which preserves existing values.
4754 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
4755
c6474b07
PT
47562012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4757
4758 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
4759 TIMEOUT values. Return EINVAL for NFDS values either negative or
4760 greater than FD_SETSIZE.
4761
1043890b
ST
47622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4763
4764 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
4765 allocated, call __vm_protect to finish enabling the existing space, and
4766 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
4767 allocate the remainder.
4768
37ed8b9b
PT
47692012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4770
4771 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
4772 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
4773
db653660
ST
47742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4775
37ed8b9b
PT
4776 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
4777 sysdeps/mach/hurd/readlink.c.
b29d4053 4778
db653660
ST
4779 * posix/tst-sysconf.c (posix_options): Only use
4780 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
4781 _POSIX_SYNCHRONIZED_IO when they are defined
4782 * sysdeps/mach/hurd/bits/posix_opt.h:
4783 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
4784 (_XOPEN_REALTIME): Undefine macro.
4785 (_XOPEN_REALTIME_THREADS): Undefine macro.
4786 (_XOPEN_SHM): Undefine macro.
4787 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
4788 macro to -1.
4789 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
4790 macro to -1.
4791 (_POSIX_ASYNC_IO): Undefine macro.
4792 (_POSIX_PRIORITIZED_IO): Undefine macro.
4793 (_POSIX_SPIN_LOCKS): Define macro to -1.
4794
ee16e894
ST
4795 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
4796 SA_NODEFER, SA_RESETHAND.
4797 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
4798 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
4799 F_DUPFD_CLOEXEC.
4800
6103ae3b
TS
48012012-05-10 Thomas Schwinge <thomas@schwinge.name>
4802
4803 * elf/Makefile (pldd-modules): Define unconditionally.
4804
80b4e5f3
TS
48052012-05-10 Thomas Schwinge <thomas@schwinge.name>
4806
4807 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
4808
edadcbd6
ST
48092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4810
4811 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
4812 Return ENOENT when name is empty.
4813 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
4814
80694780
TS
48152012-05-10 Thomas Schwinge <thomas@schwinge.name>
4816
1792c087
TS
4817 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
4818
80694780
TS
4819 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
4820
6b645f0d
ST
48212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4822
80694780
TS
4823 Fix mlock in all cases except non-readable pages.
4824 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
4825 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 4826
6b645f0d
ST
4827 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
4828 (__mkdir): When path is `/', just fail with EEXIST.
4829 * sysdeps/mach/hurd/mkdirat.c: Likewise.
4830
e468f8a3
TS
48312012-05-10 Thomas Schwinge <thomas@schwinge.name>
4832
4833 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
4834 <sys/uio.h> (for writev).
4835 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
4836 and <sys/param.h> (for MIN).
4837
a4186cff
PT
48382012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4839
4840 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
4841 REQUESTED_TIME. Properly set the remaining time and return EINTR
4842 if interrupted.
4843
510bbf14
TS
48442012-05-10 Thomas Schwinge <thomas@schwinge.name>
4845
4846 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
4847 Depend on against $(link-rpcuserlibs).
4848
5d5722e8
ST
48492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4850
a4186cff
PT
4851 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
4852 (__libc_stack_end): Do not use attribute_relro.
4853 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
4854 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 4855 to libthread-provided value.
a4186cff
PT
4856 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
4857 attribute_relro.
5d5722e8 4858
37233df9
TS
48592012-05-10 Thomas Schwinge <thomas@schwinge.name>
4860
be971a2b
TS
4861 [BZ #3748]
4862 * bits/libc-lock.h (__libc_once_get): New macro.
4863 * sysdeps/mach/bits/libc-lock.h: Likewise.
4864 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
4865 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
4866 instead of using implementation details.
4867
37233df9
TS
4868 * libio/fileops.c: Unconditionally include <kernel-features.h>.
4869 * libio/freopen.c: Likewise.
4870 * libio/freopen64.c: Likewise.
4871 * misc/syslog.c: Likewise.
4872 * nscd/connections.c: Likewise.
4873 * nscd/netgroupcache.c: Likewise.
4874 * sysdeps/posix/getcwd.c: Likewise.
4875
38de94a5
RM
48762012-05-10 Roland McGrath <roland@hack.frob.com>
4877
4878 * math/w_ilogbf.c: Add #include <limits.h>.
4879
67530489
ST
48802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4881
a4186cff 4882 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
4883 path instead of returning without unlocking.
4884
67530489
ST
4885 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
4886 immediate-write ioctls.
4887 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
4888
5aa3a74a
TS
48892012-05-10 Thomas Schwinge <thomas@schwinge.name>
4890
18bad2ae
TS
4891 * sysdeps/mach/hurd/i386/init-first.c (init): Use
4892 __builtin_frame_address instead of making assumptions about the
4893 location of the return address relative to DATA. Force early load of
4894 the return address.
4895 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
4896 __builtin_frame_address.
4897
5aa3a74a
TS
4898 dup3 for GNU Hurd.
4899 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
4900 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
4901 implement dup3 and do some further code clean-ups.
4902 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
4903 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
4904
ecd0de9a
ST
49052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4906
cd9fa985
ST
4907 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
4908
a4186cff
PT
4909 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
4910 HURD_CRITICAL_END around holding _hurd_dtable_lock.
4911 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
4912 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
4913 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
4914 d->port.lock.
802ca5a5 4915
a4186cff
PT
4916 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
4917 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
4918 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 4919
bcf55240
TS
49202012-05-10 Thomas Schwinge <thomas@schwinge.name>
4921
6960eb42
TS
4922 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
4923 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
4924 definitions.
4925
eb43375f
TS
4926 accept4 for GNU Hurd.
4927 * include/sys/socket.h (__libc_accept4): New prototype.
4928 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
4929 to implement __libc_accept4.
4930 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
4931 __libc_accept4.
4932 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
4933
bcf55240
TS
4934 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
4935 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
4936 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
4937 signal-defines.sym.
4938
6178c55b
ST
49392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4940
a4186cff 4941 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 4942
6f080c2f
TS
49432012-05-10 Thomas Schwinge <thomas@schwinge.name>
4944
4945 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
4946 assertion on O_CLOEXEC flag.
4947 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
4948 * hurd/intern-fd.c: Likewise.
4949 * hurd/port2fd.c: Likewise.
4950
bcfe3a54
ST
49512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4952
4953 [BZ #3906]
4954 * bits/in.h (IPV6_PKTINFO): Define new macro.
4955 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
4956
89c9aa49
AZ
49572012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4958
4959 [BZ #13954]
4960 [BZ #13955]
4961 [BZ #13956]
4962 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
4963 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4964 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
4965 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4966 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4967 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4968 * math/libm-test.inc (logb_test) : Additional logb tests.
4969
021db4be
AJ
49702012-05-09 Andreas Schwab <schwab@linux-m68k.org>
4971 Andreas Jaeger <aj@suse.de>
4972
4973 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
4974 * configure: Regenerated.
4975 * config.h.in (LINK_OBSOLETE_RPC): New macro.
4976 * config.make.in (link-obsolete-rpc): New substituted variable.
4977 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
4978 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
4979 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4980 (shared-only-routines): Don't set it under [link-obsolete-rpc],
4981 so that libc.a contains the symbols.
4982 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4983 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
4984 * sunrpc/auth_none.c: Likewise.
4985 * sunrpc/auth_unix.c: Likewise.
4986 * sunrpc/authdes_prot.c: Likewise.
4987 * sunrpc/authuxprot.c: Likewise.
4988 * sunrpc/clnt_gen.c: Likewise.
4989 * sunrpc/clnt_perr.c: Likewise.
4990 * sunrpc/clnt_raw.c: Likewise.
4991 * sunrpc/clnt_simp.c: Likewise.
4992 * sunrpc/clnt_tcp.c: Likewise.
4993 * sunrpc/clnt_udp.c: Likewise.
4994 * sunrpc/clnt_unix.c: Likewise.
4995 * sunrpc/des_crypt.c: Likewise.
4996 * sunrpc/des_soft.c: Likewise.
4997 * sunrpc/get_myaddr.c: Likewise.
4998 * sunrpc/key_call.c: Likewise.
4999 * sunrpc/key_prot.c: Likewise.
5000 * sunrpc/netname.c: Likewise.
5001 * sunrpc/pm_getmaps.c: Likewise.
5002 * sunrpc/pm_getport.c: Likewise.
5003 * sunrpc/pmap_clnt.c: Likewise.
5004 * sunrpc/pmap_prot.c: Likewise.
5005 * sunrpc/pmap_prot2.c: Likewise.
5006 * sunrpc/pmap_rmt.c: Likewise.
5007 * sunrpc/publickey.c: Likewise.
5008 * sunrpc/rpc_cmsg.c: Likewise.
5009 * sunrpc/rpc_common.c: Likewise.
5010 * sunrpc/rpc_dtable.c: Likewise.
5011 * sunrpc/rpc_prot.c: Likewise.
5012 * sunrpc/rpc_thread.c: Likewise.
5013 * sunrpc/rtime.c: Likewise.
5014 * sunrpc/svc.c: Likewise.
5015 * sunrpc/svc_auth.c: Likewise.
5016 * sunrpc/svc_raw.c: Likewise.
5017 * sunrpc/svc_run.c: Likewise.
5018 * sunrpc/svc_tcp.c: Likewise.
5019 * sunrpc/svc_udp.c: Likewise.
5020 * sunrpc/svc_unix.c: Likewise.
5021 * sunrpc/svcauth_des.c: Likewise.
5022 * sunrpc/xcrypt.c: Likewise.
5023 * sunrpc/xdr.c: Likewise.
5024 * sunrpc/xdr_array.c: Likewise.
5025 * sunrpc/xdr_float.c: Likewise.
5026 * sunrpc/xdr_intXX_t.c: Likewise.
5027 * sunrpc/xdr_mem.c: Likewise.
5028 * sunrpc/xdr_rec.c: Likewise.
5029 * sunrpc/xdr_ref.c: Likewise.
5030 * sunrpc/xdr_sizeof.c: Likewise.
5031 * sunrpc/xdr_stdio.c: Likewise.
5032
b5c086a2
RM
50332012-05-10 Roland McGrath <roland@hack.frob.com>
5034
5035 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
5036 change. Update copyright years.
5037
6d74dd09
JM
50382012-05-10 Joseph Myers <joseph@codesourcery.com>
5039
5040 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
5041
28e72501
MK
50422012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
5043 Joseph Myers <joseph@codesourcery.com>
5044 Paul Pluzhnikov <ppluzhnikov@google.com>
5045
5046 [BZ #14012]
5047 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
5048 requiring rpcgen.
5049 [cross-compiling] (extra-libs): Likewise.
5050 [cross-compiling] (extra-libs-others): Likewise.
5051 [cross-compiling] (librpcsvc-routines): Likewise.
5052 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
5053 [cross-compiling] (omit-deps): Likewise.
5054 (sunrpc-CPPFLAGS): New variable.
5055 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
5056 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
5057 (cross-rpcgen-objs): New variable.
5058 (extra-objs): Append $(cross-rpcgen-objs).
5059 ($(cross-rpcgen-objs)): New rule.
5060 ($(objpfx)cross-rpcgen): Likewise.
5061 (rpcgen-cmd): Define to use $(built-program-file). Expand
5062 comment.
5063 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
5064 ($(objpfx)x%.stmp): Likewise.
5065 * sunrpc/proto.h [IS_IN_build] (_): Define.
5066 [IS_IN_build] (_libc_intl_domainname): Likewise.
5067
c8c59454
L
50682012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5069
5070 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
5071 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
5072 and R_X86_64_TPOFF64.
5073
6f27cd16
JM
50742012-05-10 Joseph Myers <joseph@codesourcery.com>
5075
5076 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
5077 sysdeps/unix/sysv/syscalls.list.
5078 (stime): Likewise.
5079 (utime): Likewise.
5080 * sysdeps/unix/sysv/syscalls.list: Remove file.
5081
02467e1c
PE
50822012-05-10 Paul Eggert <eggert@cs.ucla.edu>
5083
5084 [BZ #3440]
5085 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
5086 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
5087 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
5088 (__LC_IDENTIFICATION): Make these macros useful in #if
5089 expressions, as required by C99.
5090
da392631
AS
50912012-05-10 Andreas Schwab <schwab@linux-m68k.org>
5092
5093 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
5094 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
5095 after this.
5096
8115f29b
L
50972012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5098
5099 * stdlib/longlong.h: Updated from GCC.
5100
bdd74070
AJ
51012012-05-09 Andreas Jaeger <aj@suse.de>
5102
edfe0dbe
AJ
5103 * nscd/nscd.c (run_modes): Make named enum, reorder so that
5104 default is first entry.
5105 (run_mode): Set type.
5106 (main): Remove informal message about syslog.
5107 (options): Fix typo.
5108
bcfe3a54
ST
5109 [BZ #14053]
5110 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 5111 to asm.
bcfe3a54
ST
5112 (lrint): Likewise.
5113 (llrintf): Likewise.
5114 (llrint): Likewise.
5115 (rint): Likewise.
5116 (rintf): Likewise.
5117 (nearbyint): Likewise.
5118 (nearbyintf): Likewise.
bdd74070 5119
91d8d69e
AJ
51202012-05-09 Andreas Jaeger <aj@suse.de>
5121 Pedro Alves <palves@redhat.com>
5122
5123 * nscd/nscd.c (run_mode): Use enum.
5124 (main): Cleanup coding style issue.
5125
bb90b80b
AJ
51262012-05-09 Alexandre Oliva <aoliva@redhat.com>
5127 Andreas Jaeger <aj@suse.de>
5128
bcfe3a54
ST
5129 * nscd/nscd.c (go_background): Replaced with...
5130 (run_mode): ... this.
bb90b80b 5131 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
5132 (options): Add -F --foreground.
5133 (main): Implement it.
5134 (parse_opt): Parse it.
bb90b80b 5135
1a4b75a1
AJ
51362012-05-09 Andreas Jaeger <aj@suse.de>
5137
5138 [BZ #14083]
5139 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
5140 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
5141 -Wconversion warning.
5142 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
5143 Likewise.
5144
b1cc2472
JM
51452012-05-09 Joseph Myers <joseph@codesourcery.com>
5146
5147 * conform/data/locale.h-data (NULL): Use macro-constant. Require
5148 == 0.
5149 (LC_ALL): Use macro-int-constant.
5150 (LC_COLLATE): Likewise.
5151 (LC_CTYPE): Likewise.
5152 (LC_MESSAGES): Likewise.
5153 (LC_MONETARY): Likewise.
5154 (LC_NUMERIC): Likewise.
5155 (LC_TIME): Likewise.
5156 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
5157 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5158 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5159 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
5160 Specify type.
5161 [C99-based standards] (float_t): Expect type.
5162 [C99-based standards] (double_t): Expect type.
5163 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
5164 type.
5165 [C99-based standards] (HUGE_VALL): Likewise.
5166 [C99-based standards] (INFINITY): Likewise.
5167 [C99-based standards] (NAN): Likewise.
5168 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
5169 [C99-based standards] (FP_NAN): Likewise.
5170 [C99-based standards] (FP_NORMAL): Likewise.
5171 [C99-based standards] (FP_SUBNORMAL): Likewise.
5172 [C99-based standards] (FP_ZERO): Likewise.
5173 [C99-based standards] (FP_FAST_FMA): Use
5174 optional-macro-int-constant. Specify type. Require == 1.
5175 [C99-based standards] (FP_FAST_FMAF): Likewise.
5176 [C99-based standards] (FP_FAST_FMAL): Likewise.
5177 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
5178 [C99-based standards] (FP_ILOGBNAN): Likewise.
5179 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
5180 Specify type.
5181 [C99-based standards] (MATH_ERREXCEPT): Likewise.
5182 [C99-based standards] (math_errhandling): Specify type.
5183 [ISO99 || ISO11] (signgam): Do not allow.
5184 [non-C99-based standards] (copysignf): Do not allow.
5185 [non-C99-based standards] (exp2f): Likewise.
5186 [non-C99-based standards] (log2f): Likewise.
5187 [non-C99-based standards] (modff): Allow.
5188 [non-C99-based standards] (erff): Do not allow.
5189 [non-C99-based standards] (erfcf): Likewise.
5190 [non-C99-based standards] (gammaf): Likewise.
5191 [non-C99-based standards] (hypotf): Likewise.
5192 [non-C99-based standards] (j0f): Likewise.
5193 [non-C99-based standards] (j1f): Likewise.
5194 [non-C99-based standards] (jnf): Likewise.
5195 [non-C99-based standards] (lgammaf): Likewise.
5196 [non-C99-based standards] (tgammaf): Likewise.
5197 [non-C99-based standards] (y0f): Likewise.
5198 [non-C99-based standards] (y1f): Likewise.
5199 [non-C99-based standards] (ynf): Likewise.
5200 [non-C99-based standards] (isnanf): Likewise.
5201 [non-C99-based standards] (acoshf): Likewise.
5202 [non-C99-based standards] (asinhf): Likewise.
5203 [non-C99-based standards] (atanhf): Likewise.
5204 [non-C99-based standards] (cbrtf): Likewise.
5205 [non-C99-based standards] (expm1f): Likewise.
5206 [non-C99-based standards] (ilogbf): Likewise.
5207 [non-C99-based standards] (log1pf): Likewise.
5208 [non-C99-based standards] (logbf): Likewise.
5209 [non-C99-based standards] (nextafterf): Likewise.
5210 [non-C99-based standards] (remainderf): Likewise.
5211 [non-C99-based standards] (rintf): Likewise.
5212 [non-C99-based standards] (scalbf): Likewise.
5213 [non-C99-based standards] (copysignl): Likewise.
5214 [non-C99-based standards] (exp2l): Likewise.
5215 [non-C99-based standards] (log2l): Likewise.
5216 [non-C99-based standards] (modfl): Allow.
5217 [non-C99-based standards] (erfl): Do not allow.
5218 [non-C99-based standards] (erfcl): Likewise.
5219 [non-C99-based standards] (gammal): Likewise.
5220 [non-C99-based standards] (hypotl): Likewise.
5221 [non-C99-based standards] (j0l): Likewise.
5222 [non-C99-based standards] (j1l): Likewise.
5223 [non-C99-based standards] (jnl): Likewise.
5224 [non-C99-based standards] (lgammal): Likewise.
5225 [non-C99-based standards] (tgammal): Likewise.
5226 [non-C99-based standards] (y0l): Likewise.
5227 [non-C99-based standards] (y1l): Likewise.
5228 [non-C99-based standards] (ynl): Likewise.
5229 [non-C99-based standards] (isnanl): Likewise.
5230 [non-C99-based standards] (acoshl): Likewise.
5231 [non-C99-based standards] (asinhl): Likewise.
5232 [non-C99-based standards] (atanhl): Likewise.
5233 [non-C99-based standards] (cbrtl): Likewise.
5234 [non-C99-based standards] (expm1l): Likewise.
5235 [non-C99-based standards] (ilogbl): Likewise.
5236 [non-C99-based standards] (log1pl): Likewise.
5237 [non-C99-based standards] (logbl): Likewise.
5238 [non-C99-based standards] (nextafterl): Likewise.
5239 [non-C99-based standards] (remainderl): Likewise.
5240 [non-C99-based standards] (rintl): Likewise.
5241 [non-C99-based standards] (scalbl): Likewise.
5242 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5243 [non-C99-based standards] (FP_*): Do not allow.
5244 [C99-based standards] (FP_*): Change to
5245 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5246 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5247 allow.
5248 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
5249 (SIG_ERR): Likewise.
5250 [X/Open-based standards] (SIG_HOLD): Likewise.
5251 (SIG_IGN): Likewise.
5252 (SIGABRT): Use macro-int-constant. Specify type. Require
5253 positive value.
5254 (SIGFPE): Likewise.
5255 (SIGILL): Likewise.
5256 (SIGINT): Likewise.
5257 (SIGSEGV): Likewise.
5258 (SIGTER): Likewise.
5259 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
5260 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
5261 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
5262 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
5263 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
5264 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
5265 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
5266 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
5267 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
5268 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
5269 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
5270 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
5271 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
5272 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
5273 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
5274 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
5275 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
5276 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
5277 [X/Open-based standards] (SIGTRAP): Likewise.
5278 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
5279 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
5280 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
5281 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
5282 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5283 allow.
5284
b9f1922d
IW
52852012-05-08 Ian Wienand <ianw@vmware.com>
5286
5287 [BZ #14080]
5288 * time/tzset.c (__tzset_parse_tz): Update default rules for
5289 daylight time changes in the Energy Policy Act of 2005.
5290
1db86e88
AJ
52912012-05-09 Andreas Jaeger <aj@suse.de>
5292
5293 [BZ #13983]
5294 * elf/ldconfig.c (parse_conf): Change string to make clear that
5295 ldconfig only issued a warning if ld.so.conf does not exist.
5296
dee4a4e3
DM
52972012-05-08 David S. Miller <davem@davemloft.net>
5298
ee0db190
DM
5299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
5300 movxtod instead of popping the value on the stack.
5301
dee4a4e3
DM
5302 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5303
6a43ec98
CD
53042012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
5305
5306 * config.h.in: Add HAVE_ARM_PCS_VFP.
5307
05c2c961
RMG
53082012-05-08 Roland Mc Grath <roland@hack.frob.com>
5309
bcfe3a54
ST
5310 [BZ #13979]
5311 * include/features.h: Warn if user requests __FORTIFY_SOURCE
5312 checking but the checks are disabled for any reason.
05c2c961 5313
4b30f61a
L
53142012-05-08 H.J. Lu <hongjiu.lu@intel.com>
5315
5316 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5317 and ELF64_R_TYPE with ELFW(R_TYPE).
5318
eee2bc67
JM
53192012-05-08 Joseph Myers <joseph@codesourcery.com>
5320
7ea5391a
JM
5321 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5322 (ulimit): Likewise.
5323
eee2bc67
JM
5324 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5325 (settimeofday): Likewise.
5326
abb66a67
MF
53272012-05-08 Mike Frysinger <vapier@gentoo.org>
5328
5329 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
5330 a struct th_u2 inside the union, and move tu_block/tu_code into
5331 a new th_u3 union of tu_block/tu_code inside of that. Move
5332 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
5333 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
5334 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5335 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5336 (th_stuff): Change to th_u1.tu_stuff.
5337 (th_data): Define.
5338 (th_msg): Change to th_u1.th_u2.tu_data.
5339
7f18b530
DM
53402012-05-07 David S. Miller <davem@davemloft.net>
5341
05760585
DM
5342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5343
7f18b530
DM
5344 [BZ #14074]
5345 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5346 (SETUP_PIC_REG): Use it.
5347 (SETUP_PIC_REG_LEAF): Use it.
5348
495fd99f
JM
53492012-05-07 Joseph Myers <joseph@codesourcery.com>
5350
5351 [BZ #13885]
5352 [BZ #13923]
5353 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5354 USE_AS_EXPM1L.
5355 (EXPL_FINITE): Likewise.
5356 (FLDLOG): Likewise.
5357 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5358 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5359 e_expl.S.
5360 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5361 USE_AS_EXPM1L.
5362 (EXPL_FINITE): Likewise.
5363 (FLDLOG): Likewise.
5364 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5365 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5366 e_expl.S.
5367 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
5368 test of -max_value argument for long double.
5369 * sysdeps/i386/fpu/libm-test-ulps: Update.
5370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5371
6693d694
DM
53722012-05-06 David S. Miller <davem@davemloft.net>
5373
5374 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5375 quad soft-float symbols whose references which are compiler
5376 generated.
5377 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5378
6c23e11c
JM
53792012-05-06 Joseph Myers <joseph@codesourcery.com>
5380
d8b82cad
JM
5381 [BZ #13884]
5382 [BZ #13914]
5383 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5384 USE_AS_EXP10L.
5385 (EXPL_FINITE): Likewise.
5386 (FLDLOG): Likewise.
5387 (c0): Likewise.
5388 (c1): Likewise.
5389 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5390 Adjust comments for base varying.
5391 (__expl_finite): Change alias to EXPL_FINITE.
5392 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5393 e_expl.S.
5394 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5395 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5396 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5397 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5398 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5399 USE_AS_EXP10L.
5400 (EXPL_FINITE): Likewise.
5401 (FLDLOG): Likewise.
5402 (c0): Likewise.
5403 (c1): Likewise.
5404 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5405 Adjust comments for base varying.
5406 (__expl_finite): Change alias to EXPL_FINITE.
5407 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
5408 tests for bugs.
5409 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5410
6c23e11c
JM
5411 [BZ #14064]
5412 * math/libm-test.inc (check_float_internal): Correct ulp
5413 calculation for subnormal expected results.
5414
29ba805c
AJ
54152012-05-06 Andreas Jaeger <aj@suse.de>
5416
5417 * Makeconfig (+math-flags): New, set to -frounding-math.
5418 (+cflags): Add +math-flags so that all of glibc gets compiled with
5419 it.
5420
5421 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
5422
7b17aeda
JM
54232012-05-05 Joseph Myers <joseph@codesourcery.com>
5424
5779f134
JM
5425 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
5426 Disable one test.
5427
41498f4d
JM
5428 [BZ #13787]
5429 [BZ #13922]
5430 [BZ #14036]
5431 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
5432 (__ieee754_expl): Allow for and saturate large arguments.
5433 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
5434 (u_threshold): Likewise.
5435 (__exp): Call __ieee754_exp before checking for overflow and
5436 underflow.
5437 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
5438 (u_threshold): Likewise.
5439 (__expf): Call __ieee754_expf before checking for overflow and
5440 underflow.
5441 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
5442 (u_threshold): Likewise.
5443 (__expl): Call __ieee754_expl before checking for overflow and
5444 underflow.
5445 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
5446 (__ieee754_expl): Allow for and saturate large arguments.
5447 * math/libm-test.inc (exp_test): Add another test. Do not allow
5448 missing overflow exception on overflow.
5449 (expm1_test): Do not allow missing overflow exception on overflow.
5450
6698b8bf
JM
5451 * sysdeps/i386/fpu/e_expl.c: Move to ...
5452 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
5453 rather than using inline asm.
5454 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
5455 * sysdeps/x86_64/fpu/e_expl.S: Copy from
5456 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
5457
7b17aeda
JM
5458 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
5459 (nice): Likewise.
5460 (poll): Likewise.
5461 (signal): Likewise.
5462 (time): Likewise.
5463 (times): Likewise.
5464
f7c85819
JM
54652012-05-04 Joseph Myers <joseph@codesourcery.com>
5466
5467 * sysdeps/unix/syscalls.list (adjtime): Add entry from
5468 sysdeps/unix/common/syscalls.list.
5469 (fchmod): Likewise.
5470 (fchown): Likewise.
5471 (ftruncate): Likewise.
5472 (getrusage): Likewise.
5473 (gettimeofday): Likewise.
5474 (setpgid): Likewise.
5475 (setregid): Likewise.
5476 (setreuid): Likewise.
5477 (sigaction): Likewise.
5478 (truncate): Likewise.
5479 (vhangup): Likewise.
5480 * sysdeps/unix/common/syscalls.list: Remove file.
5481 * sysdeps/unix/bsd/Implies: Don't include unix/common.
5482 * sysdeps/unix/sysv/linux/Implies: Likewise.
5483
336270d0
L
54842012-05-04 H.J. Lu <hongjiu.lu@intel.com>
5485
5486 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
5487 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
5488 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
5489 Moved to ...
5490 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5491 Here.
5492 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
5493 to ...
5494 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
5495 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
5496 to ...
5497 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
5498 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
5499 to ...
5500 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
5501 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
5502 to ...
5503 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
5504 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
5505 to ...
5506 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
5507 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
5508 to ...
5509 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
5510 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
5511 to ...
5512 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5513 Here.
5514 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
5515 to ...
5516 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
5517 Here.
5518 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
5519 to ...
5520 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
5521 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
5522 Moved to ...
5523 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
5524 Here.
5525 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
5526 to ...
5527 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
5528
d128e450
JM
55292012-05-04 Joseph Myers <joseph@codesourcery.com>
5530
fa8ee516
JM
5531 * sysdeps/unix/common/bits/dirent.h: Remove file.
5532 * sysdeps/unix/common/bits/fcntl.h: Likewise.
5533
d128e450
JM
5534 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
5535 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
5536 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
5537 * sysdeps/unix/bsd/isatty.c: Likewise.
5538 * sysdeps/unix/bsd/tcdrain.c: Likewise.
5539 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
5540 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
5541
ff8faaf0 55422012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 5543
62881be4 5544 [BZ #13563]
31dc8730
AZ
5545 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
5546 long double comparison inaccuracies.
5547 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5548 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5549
6fef930c
AS
55502012-05-04 Andreas Schwab <schwab@linux-m68k.org>
5551
5552 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
5553 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
5554
8f203e6c
JM
55552012-05-04 Joseph Myers <joseph@codesourcery.com>
5556
5557 [BZ #14049]
5558 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
5559 nonzero digits before rounding a hex value.
5560 * stdlib/tst-strtod.c (tests): Add another test.
5561
5197d9c2
AK
55622012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5563
5564 * sysdeps/s390/fpu/libm-test-ulps: Update.
5565
f0c1dedf
AJ
55662012-05-03 Andreas Jaeger <aj@suse.de>
5567
5568 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
5569 does not get optimized out.
5570 (malloc_opt_barrier): New.
5571
a65ef2ae 55722012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 5573 Roland McGrath <roland@hack.frob.com>
a65ef2ae 5574
2b942cb7 5575 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 5576 intermediate file deletion.
2b942cb7 5577 (generated): Add .symlist files.
a65ef2ae 5578
54b71e02
JM
55792012-05-03 Joseph Myers <joseph@codesourcery.com>
5580
5581 [BZ #13775]
5582 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
5583 Redirect under this condition.
5584 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5585 [__USE_GNU] (__dprintf_chk): Not under this condition.
5586 [__USE_GNU] (__vdprintf_chk): Likewise.
5587 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
5588 under this condition.
5589 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5590 [__USE_XOPEN2K8] (dprintf): Define under this condition.
5591 [__USE_XOPEN2K8] (vdprintf): Likewise.
5592 [__USE_GNU] (__dprintf_chk): Not under this condition.
5593 [__USE_GNU] (__vdprintf_chk): Likewise.
5594 [__USE_GNU] (dprintf): Likewise.
5595 [__USE_GNU] (vdprintf): Likewise.
5596
d3dfcc41
RM
55972012-05-03 Roland McGrath <roland@hack.frob.com>
5598
5599 * elf/Makefile (common-generated): Set this instead of generated for
5600 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
5601 $(all-built-dso)-derived lists.
5602
7ac30cc5
AJ
56032012-05-03 Andreas Jaeger <aj@suse.de>
5604
0c51e550
AJ
5605 * sysdeps/i386/fpu/libm-test-ulps: Update.
5606
7ac30cc5
AJ
5607 * FAQ: Removed.
5608 * FAQ.in: Likewise.
5609 * scripts/gen-FAQ.pl: Likewise.
5610 * manual/install.texi (Installation): Point to online location of
5611 FAQ.
5612 * Makefile (files-for-dist): Remove FAQ.
5613 (FAQ): Remove.
5614
d4c2917f
AM
56152012-05-02 Allan McRae <allan@archlinux.org>
5616
5617 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
5618 (LDFLAGS-reldepmod5.so): Likewise.
5619 (LDFLAGS-reldep6mod1.so): Likewise.
5620 (LDFLAGS-reldep6mod4.so): Likewise.
5621 (LDFLAGS-reldep8mod3.so): Likewise.
5622 (LDFLAGS-unload4mod1.so): Likewise.
5623 (LDFLAGS-unload4mod2.so): Likewise.
5624 (LDFLAGS-tst-initorder): Likewise.
5625 (LDFLAGS-tst-initordera2.so): Likewise.
5626 (LDFLAGS-tst-initordera3.so): Likewise.
5627 (LDFLAGS-tst-initordera4.so): Likewise.
5628 (LDFLAGS-tst-initorderb2.so): Likewise.
5629 (LDFLAGS-noload): Likewise.
5630 (LDFLAGS-next): Likewise.
5631 (LDFLAGS-order2mod1.so): Likewise.
5632 (LDFLAGS-order2mod2.so): Likewise.
5633 (LDFLAGS-tst-initorder2): Likewise.
5634 (LDFLAGS-tst-initorder2a.so): Likewise.
5635 (LDFLAGS-tst-initorder2b.so): Likewise.
5636 (LDFLAGS-tst-initorder2c.so): Likewise.
5637 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
5638
d77f993f
DM
56392012-05-02 David S. Miller <davem@davemloft.net>
5640
5641 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5642
171a70b4
PP
56432012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
5644
5645 [BZ #14055]
5646 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
5647
0be196ad
AJ
56482012-05-02 Andreas Jaeger <aj@suse.de>
5649
5650 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
5651 since we manipulate rounding mode.
5652 (CPPFLAGS-test-idouble.c): Likewise.
5653 (CPPFLAGS-test-ifloat.c): Likewise.
5654 (CFLAGS-test-ldouble.c): Likewise.
5655 (CFLAGS-test-double.c): Likewise.
5656 (CFLAGS-test-float.c): Likewise.
5657 (CFLAGS-test-misc.c): Likewise.
5658 (CFLAGS-test-test-fenv.c): Likewise.
5659
4f9d04aa
AZ
56602012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5661
2b942cb7
RM
5662 [BZ #2550]
5663 [BZ #2570]
5664 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
5665 comparisons to determine direction to adjust input.
4f9d04aa 5666
82a79e7d
RM
56672012-05-01 Roland McGrath <roland@hack.frob.com>
5668
f5a01ca9
RM
5669 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
5670 output to the target.
5671
90fe4186
RM
5672 * scripts/localplt.awk: New file.
5673 * elf/Makefile ($(objpfx)check-localplt): Target removed.
5674 (check-localplt-CFLAGS): Variable removed.
5675 ($(all-built-dso:=.jmprel)): New static pattern rule.
5676 (generated): Add those targets.
5677 (localplt-built-dso): New variable.
5678 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
5679
5680 * elf/check-localplt.c: File removed.
5681
82397ed6
RM
5682 * scripts/check-execstack.awk: New file.
5683 * elf/Makefile ($(objpfx)check-execstack): Target removed.
5684 (check-execstack-CFLAGS): Variable removed.
5685 ($(objpfx)check-execstack.h): Target removed.
5686 ($(objpfx)execstack-default): New target.
5687 (generated): Add that instead of check-execstack.h.
5688 ($(all-built-dso:=.phdr)): New static pattern rule.
5689 (generated): Add those targets.
5690 * elf/check-execstack.c: File removed.
5691
82a79e7d
RM
5692 * scripts/check-textrel.awk: New file.
5693 * elf/Makefile ($(objpfx)check-textrel): Target removed.
5694 (check-textrel-CFLAGS): Variable removed.
5695 (all-built-dso): Use := to define.o
5696 ($(all-built-dso:=.dyn)): New static pattern rule.
5697 (generated): Add those targets.
5698 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
5699 * config.make.in (READELF): New substituted variable.
5700 * elf/check-textrel.c: File removed.
5701
62fde54f 57022012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 5703
615605c9
JM
5704 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5705 allow.
5706 * conform/data/ctype.h-data [C99-based standards] (isblank):
5707 Expect function.
5708 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
5709 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
5710 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5711 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
5712 Specify type. Require positive value.
5713 (EILSEQ): Likewise.
5714 (ERANGE): Likewise.
5715 [ISO || POSIX] (EILSEQ): Do not expect.
5716 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
5717 Specify type. Require positive value.
5718 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
5719 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
5720 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
5721 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
5722 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
5723 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
5724 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
5725 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
5726 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
5727 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
5728 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
5729 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
5730 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
5731 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
5732 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
5733 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
5734 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
5735 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
5736 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
5737 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
5738 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
5739 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
5740 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
5741 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
5742 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
5743 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
5744 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
5745 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
5746 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
5747 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
5748 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
5749 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
5750 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
5751 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
5752 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
5753 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
5754 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
5755 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
5756 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
5757 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
5758 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
5759 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
5760 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
5761 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
5762 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
5763 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
5764 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
5765 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
5766 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
5767 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
5768 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
5769 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
5770 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
5771 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
5772 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
5773 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
5774 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
5775 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
5776 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
5777 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
5778 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
5779 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
5780 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
5781 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
5782 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
5783 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
5784 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
5785 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
5786 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
5787 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
5788 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
5789 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
5790 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
5791 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
5792 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
5793 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
5794 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
5795 Require >= 2.
5796 (FLT_ROUNDS): Expect as macro, not constant.
5797 (FLT_MANT_DIG): Use macro-int-constant.
5798 (DBL_MANT_DIG): Likewise.
5799 (LDBL_MANT_DIG): Likewise.
5800 (FLT_DIG): Likewise.
5801 (DBL_DIG): Likewise.
5802 (LDBL_DIG): Likewise.
5803 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
5804 (DBL_MIN_EXP): Likewise.
5805 (LDBL_MIN_EXP): Likewise.
5806 (FLT_MAX_EXP): Use macro-int-constant.
5807 (DBL_MAX_EXP): Likewise.
5808 (LDBL_MAX_EXP): Likewise.
5809 (FLT_MAX_10_EXP): Likewise.
5810 (DBL_MAX_10_EXP): Likewise.
5811 (LDBL_MAX_10_EXP): Likewise.
5812 (FLT_MAX): Use macro-constant.
5813 (DBL_MAX): Likewise.
5814 (LDBL_MAX): Likewise.
5815 (FLT_EPSILON): Use macro-constant. Give upper bound.
5816 (DBL_EPSILON): Likewise.
5817 (LDBL_EPSILON): Likewise.
5818 (FLT_MIN): Likewise.
5819 (DBL_MIN): Likewise.
5820 (LDBL_MIN): Likewise.
5821 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
5822 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
5823 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
5824 [ISO11] (FLT_HAS_SUBNORM): Likewise.
5825 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
5826 [ISO11] (DBL_DECIMAL_DIG): Likewise.
5827 [ISO11] (FLT_DECIMAL_DIG): Likewise.
5828 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
5829 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
5830 [ISO11] (FLT_TRUE_MIN): Likewise.
5831 [ISO11] (LDBL_TRUE_MIN): Likewise.
5832 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5833 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
5834 (SCHAR_MIN): Use macro-int-constant. Specify type.
5835 (SCHAR_MAX): Likewise.
5836 (UCHAR_MAX): Likewise.
5837 (CHAR_MIN): Likewise.
5838 (CHAR_MAX): Likewise.
5839 (MB_LEN_MAX): Use macro-int-constant.
5840 (SHRT_MIN): Use macro-int-constant. Specify type.
5841 (SHRT_MAX): Likewise.
5842 (USHRT_MAX): Likewise.
5843 (INT_MAX): Likewise.
5844 (INT_MIN): Use macro-int-constant. Specify type. Make upper
5845 bound negative.
5846 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
5847 bound with "U".
5848 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5849 bound with "L".
5850 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
5851 bound negative. Suffix upper bound with "L".
5852 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5853 bound with "UL".
5854 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
5855 Specify type.
5856 [C99-based standards] (LLONG_MAX): Likewise.
5857 [C99-based standards] (ULLONG_MAX): Likewise.
5858 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
5859 == 0.
5860 [ISO11] (max_align_t): Require type.
5861 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5862
c9140a62
JM
5863 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
5864 from $CFLAGS, without defining away __attribute__ calls.
5865 (checknamespace): Use $CFLAGS_namespace.
5866
9af0bf29
JM
5867 * conform/conformtest.pl (@keywords): Only include C99 keywords
5868 for standards based on C99 or C11.
5869
343222a2
JM
5870 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
5871 Disable tests.
5872 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
5873 UNIX98]: Likewise.
5874
661f8cf0
JM
5875 * conform/conformtest.pl: Handle "macro-int-constant" and test for
5876 usability of symbols in #if.
5877
ee74b9cb
JM
5878 * conform/conformtest.pl: If macro or constant types start
5879 "promoted:", expect the symbol to be of the following type
5880 promoted by the integer promotions.
62fde54f 5881
aafc49b3
JM
5882 * conform/conformtest.pl: Parse all "constant" and "macro" lines
5883 in one place. Also handle "macro-constant".
5884
fefdf574
JM
5885 * conform/conformtest.pl: Only accept expected macro values with
5886 "==". Parse all "macro" lines in one place.
5887 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
5888
f2d922fe
JM
5889 * conform/conformtest.pl: Handle braced types on "constant" lines
5890 instead of handling "typed-constant".
5891 * conform/data/signal.h-data: Use "constant" instead of
5892 "typed-constant".
5893
d22956c9
JM
5894 * conform/conformtest.pl: Handle "optional-" at start of lines in
5895 one place rather than duplicating several cases. Handle each
5896 format of "macro" line with initial "optional-".
5897
028e2e38
JM
5898 * conform/conformtest.pl: Only accept expected constant or
5899 optional-constant values with "==". Parse all "constant" lines in
5900 one place. Parse all "optional-constant" lines in one place.
5901 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
5902 * conform/data/fmtmsg.h-data: Likewise.
5903 * conform/data/netinet/in.h-data: Likewise.
5904 * conform/data/tar.h-data: Likewise.
5905 * conform/data/limits.h-data: Use "==" form on "constant" and
5906 "optional-constant" lines.
5907
1b8f2850
JM
5908 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
5909 Use -std=c99 for XOPEN2K.
5910 (@knownproblems): Remove.
5911 (newtoken): Don't check %isknown.
5912
a05a144b
JM
5913 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
5914 Do not expect macro.
5915 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
5916 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
5917 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
5918 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
5919 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
5920 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
5921 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
5922 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
5923 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
5924 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
5925 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
5926 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
5927 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
5928 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
5929 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
5930 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
5931 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
5932 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
5933 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
5934 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
5935 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
5936 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
5937 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
5938 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
5939 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
5940 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
5941 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
5942 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
5943 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
5944 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
5945 [XPG3] (acosh): Likewise.
5946 [XPG3] (asinh): Likewise.
5947 [XPG3] (atanh): Likewise.
5948 [XPG3] (cbrt): Likewise.
5949 [XPG3] (expm1): Likewise.
5950 [XPG3] (ilogb): Likewise.
5951 [XPG3] (log1p): Likewise.
5952 [XPG3] (logb): Likewise.
5953 [XPG3] (nextafter): Likewise.
5954 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
5955 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
5956 [XPG3] (remainder): Likewise.
5957 [XPG3] (rint): Likewise.
5958 [XPG3 || XPG4 || UNIX98] (round): Likewise.
5959 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
5960 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
5961 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
5962 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
5963 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
5964 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
5965 [UNIX98 || XOPEN2K] (scalb): Expect.
5966 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
5967 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
5968 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
5969 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
5970 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
5971 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
5972 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
5973 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
5974 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
5975 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
5976 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
5977 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
5978 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
5979 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
5980 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
5981 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
5982 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
5983 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
5984 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
5985 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
5986 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
5987 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
5988 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
5989 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
5990 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
5991 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
5992 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
5993 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
5994 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
5995 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
5996 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
5997 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
5998 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
5999 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
6000 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
6001 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
6002 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
6003 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
6004 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
6005 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
6006 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
6007 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
6008 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
6009 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
6010 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
6011 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
6012 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
6013 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
6014 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
6015 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
6016 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
6017 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
6018 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
6019 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
6020 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
6021 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
6022 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
6023 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
6024 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
6025 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
6026 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
6027 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
6028 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
6029 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
6030 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
6031 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
6032 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
6033 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
6034 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
6035 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
6036 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
6037 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
6038 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
6039 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
6040 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
6041 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
6042 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
6043 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
6044 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
6045 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
6046 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
6047 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
6048 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
6049 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
6050 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
6051 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
6052 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
6053 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
6054 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
6055 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
6056 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
6057 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
6058 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
6059 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
6060 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
6061 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
6062 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
6063 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
6064 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
6065 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
6066 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
6067 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
6068 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
6069 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
6070 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
6071 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
6072 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
6073 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
6074 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
6075 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
6076 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
6077 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
6078 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
6079 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
6080 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
6081 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
6082 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
6083 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
6084 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
6085 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
6086 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
6087 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
6088 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
6089 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
6090 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
6091 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
6092 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
6093 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
6094 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
6095 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
6096 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
6097 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
6098 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
6099 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
6100 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
6101 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
6102 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
6103
73c5ebe3
JM
6104 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
6105 _XOPEN_SOURCE_EXTENDED for XPG4.
6106
39c33b6c
JM
6107 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
6108
62fde54f
JM
6109 * Makeconfig (localtime): Remove variable.
6110 (inst_localtime-file): Likewise.
6111
0741d64c
AS
61122012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6113
6114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6115 Update.
6116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6117 Update.
6118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6119 Update.
6120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6121 Update.
6122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6123 Update.
6124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
6125 Update.
6126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6127 Update.
6128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
6129 Update.
6130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6131 Update.
6132
7cb029ee
JM
61332012-05-01 Joseph Myers <joseph@codesourcery.com>
6134
6135 [BZ #2550]
6136 [BZ #2570]
6137 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6138 comparisons to determine direction to adjust input.
6139 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6140 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
6141 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6142 Likewise.
6143 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6144 Likewise.
6145 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6146 Likewise.
6147 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6148 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6149 Likewise.
6150 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6151 Likewise.
6152 * math/libm-test.inc (nexttoward_test): Add more tests.
6153
412bd966
AS
61542012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6155
6156 [BZ #14040]
6157 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
6158 in version GLIBC_2.1, not GLIBC_2.0.
6159 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
6160 Likewise.
6161
9568c0c2
JM
61622012-04-30 Joseph Myers <joseph@codesourcery.com>
6163
adfbc8ac
JM
6164 [BZ #13942]
6165 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
6166 (1 - x) * (1 + x).
6167 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6168 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
6169 * math/libm-test.inc (acos_test): Add more tests.
6170 (asin_test): Likewise.
6171 * sysdeps/i386/fpu/libm-test-ulps: Update.
6172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6173
5ba3cc69
JM
6174 [BZ #14034]
6175 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
6176 of square root.
6177 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
6178 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6179 * math/libm-test.inc (acos_test_tonearest): New function.
6180 (acos_test_towardzero): Likewise.
6181 (acos_test_downward): Likewise.
6182 (acos_test_upward): Likewise.
6183 (asin_test_tonearest): Likewise.
6184 (asin_test_towardzero): Likewise.
6185 (asin_test_downward): Likewise.
6186 (asin_test_upward): Likewise.
6187 (main): Call the new functions.
6188 * sysdeps/i386/fpu/libm-test-ulps: Update.
6189 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6190
9568c0c2
JM
6191 [BZ #13884]
6192 [BZ #13924]
6193 * math/e_exp10.c: Include <float.h>.
6194 (__ieee754_exp10): Handle underflow here rather than multiplying
6195 large negative argument by M_LN10.
6196 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
6197 of __ieee754_expf.
6198 * math/e_exp10l.c: Include <float.h>.
6199 (__ieee754_exp10l): Handle underflow here rather than multiplying
6200 large negative argument by M_LN10l.
6201 * math/libm-test.inc (exp10_test): Add another test. Do not allow
6202 spurious overflow exception on underflow.
6203
5ac3ea17
MP
62042012-04-29 Marek Polacek <polacek@redhat.com>
6205
6206 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
6207 (__fortify_function): New macro.
6208 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
6209 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
6210 __extern_always_inline.
6211 * libio/bits/stdio2.h: Likewise.
6212 * libio/bits/stdio.h: Likewise.
6213 * string/string.h: Likewise.
6214 * string/bits/string3.h: Likewise.
6215 * include/stdio.h: Likewise.
6216 * stdlib/bits/stdlib.h: Likewise.
6217 * stdlib/stdlib.h: Likewise.
6218 * rt/bits/mqueue2.h: Likewise.
6219 * rt/mqueue.h: Likewise.
6220 * posix/bits/unistd.h: Likewise.
6221 * posix/unistd.h: Likewise.
6222 * io/bits/poll2.h: Likewise.
6223 * io/bits/fcntl2.h: Likewise.
6224 * io/fcntl.h: Likewise.
6225 * io/sys/poll.h: Likewise.
6226 * misc/bits/syslog.h: Likewise.
6227 * misc/bits/syslog-ldbl.h: Likewise.
6228 * misc/sys/syslog.h: Likewise.
6229 * socket/bits/socket2.h: Likewise.
6230 * socket/sys/socket.h: Likewise.
6231 * debug/tst-chk1.c: Likewise.
6232 * wcsmbs/bits/wchar2.h: Likewise.
6233 * wcsmbs/bits/wchar-ldbl.h: Likewise.
6234 * wcsmbs/wchar.h: Likewise.
6235
ecf0ebfb
AJ
62362012-04-29 Andreas Jaeger <aj@suse.de>
6237
6238 * Makerules (tests): Remove enable-check-abi protection.
6239 (check-abi-warn): Remove.
6240 (check-abi-%): Remove check-abi-warn usage.
6241
6242 * configure.in: Remove check-abi configure option.
6243 * configure: Regenerated.
6244 * config.make.in (enable-check-abi): Remove.
6245
6d5c57fa
AS
62462012-04-28 Andreas Schwab <schwab@linux-m68k.org>
6247
24c5d07e 6248 [BZ #14033]
ded5180a
AS
6249 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
6250 double functions to double *_finite functions.
6251
7e0d315d
AS
6252 [BZ #13941]
6253 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
6254 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
6255 LDBL_MIN_EXP.
6256 * stdio-common/Makefile (tests): Add tst-sprintf3.
6257 * stdio-common/tst-sprintf3.c: New file.
6258
6d5c57fa
AS
6259 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
6260 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
6261
0749ff8b
JM
62622012-04-28 Joseph Myers <joseph@codesourcery.com>
6263
6264 * conform/conformtest.pl: Remove duplicate typed-constant
6265 handling.
6266
8dbd5d7b
DM
62672012-04-28 David S. Miller <davem@davemloft.net>
6268
6269 * Makerules (%.abilist): Add vpath on sysdep_dirs.
6270 (check-abi-%): Remove AWK script prerequisite and explicit
6271 abilist directory.
6272 (check-abi): Rewrite to just diff the symlist with the abilist.
6273 (config-tls, config-abi-config): Delete, no longer used.
6274 (update-abi-%): Remove AWK script and explicit abilist directory.
6275 (update-abi): Rewrite to simply compare and conditionally copy the
6276 symlist and the sysdep abilist file. Remove update-abi-config
6277 checks.
6278 * abilist/ld.abilist: Remove.
6279 * abilist/libBrokenLocale.abilist: Remove.
6280 * abilist/libanl.abilist: Remove.
6281 * abilist/libcrypt.abilist: Remove.
6282 * abilist/libdl.abilist: Remove.
6283 * abilist/librt.abilist: Remove.
6284 * abilist/libthread_db.abilist: Remove.
6285 * abilist/libutil.abilist: Remove.
6286 * scripts/extract-abilist.awk: Remove.
6287 * scripts/merge-abilist.awk: Remove.
6288 * sysdeps/generic/libcidn.abilist: New file.
6289 * sysdeps/generic/libnss_compat.abilist: New file.
6290 * sysdeps/generic/libnss_db.abilist: New file.
6291 * sysdeps/generic/libnss_dns.abilist: New file.
6292 * sysdeps/generic/libnss_files.abilist: New file.
6293 * sysdeps/generic/libnss_hesiod.abilist: New file.
6294 * sysdeps/generic/libnss_nis.abilist: New file.
6295 * sysdeps/generic/libnss_nisplus.abilist: New file.
6296 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
6297 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
6298 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
6299 file.
6300 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
6301 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
6302 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
6303 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
6304 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
6305 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
6306 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
6307 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
6308 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
6309 file.
6310 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
6311 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
6312 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6313 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6314 file.
6315 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6316 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6317 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6318 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6319 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6320 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6321 file.
6322 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6323 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6324 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6325 file.
6326 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6327 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6328 New file.
6329 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6330 New file.
6331 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6332 New file.
6333 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6334 New file.
6335 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6336 New file.
6337 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6338 New file.
6339 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6340 New file.
6341 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6342 New file.
6343 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6344 New file.
6345 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6346 New file.
6347 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6348 New file.
6349 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6350 New file.
6351 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6352 New file.
6353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6354 file.
6355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6356 New file.
6357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6358 New file.
6359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6360 file.
6361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6362 New file.
6363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6364 New file.
6365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6366 file.
6367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6368 New file.
6369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6370 New file.
6371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6372 New file.
6373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6374 New file.
6375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6376 New file.
6377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6378 New file.
6379 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6381 file.
6382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6383 New file.
6384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6385 file.
6386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6387 file.
6388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6389 file.
6390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6391 file.
6392 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6393 file.
6394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6395 New file.
6396 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6397 file.
6398 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6399 file.
6400 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6401 New file.
6402 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6403 file.
6404 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
6406 file.
6407 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6408 New file.
6409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
6410 file.
6411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
6412 file.
6413 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
6414 file.
6415 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
6416 file.
6417 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
6418 file.
6419 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6420 New file.
6421 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
6422 file.
6423 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
6424 file.
6425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6426 New file.
6427 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
6428 file.
6429 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6430 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
6431 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
6432 file.
6433 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
6434 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
6435 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
6436 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
6437 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
6438 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
6439 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
6440 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
6441 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
6442 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
6443 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
6444 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
6445 file.
6446 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6447 New file.
6448 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
6449 file.
6450 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
6451 file.
6452 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
6453 file.
6454 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
6455 file.
6456 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
6457 file.
6458 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6459 New file.
6460 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6461 New file.
6462 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
6463 file.
6464 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6465 New file.
6466 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
6467 file.
6468 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
6469 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
6470 file.
6471 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6472 New file.
6473 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
6474 file.
6475 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
6476 file.
6477 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
6478 file.
6479 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
6480 file.
6481 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
6482 file.
6483 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6484 New file.
6485 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6486 New file.
6487 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
6488 file.
6489 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6490 New file.
6491 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
6492 file.
6493
41d73a1b
JM
64942012-04-28 Joseph Myers <joseph@codesourcery.com>
6495
6496 * conform/conformtest.pl: Fix typo in handling typed-constant from
6497 allow-header.
6498
28aeeda4
JM
64992012-04-27 Joseph Myers <joseph@codesourcery.com>
6500
adae8f5e
JM
6501 * README: Cut down references to pre-2.6 Linux kernels and
6502 Linuxthreads. Update lists of configurations in libc and ports
6503 and sort alphabetically. Say "or newer" with Linux kernel version
6504 requirements.
6505
28aeeda4
JM
6506 * config.h.in [IS_IN_build]: Allow compiling without optimization.
6507
a462cb63
RA
65082012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6509
6510 [BZ #887]
6511 * math/libm-test.inc (logb_test_downward): New test to expose
6512 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
6513 rounding mode.
6514
6ad3493e
JM
65152012-04-27 Joseph Myers <joseph@codesourcery.com>
6516
6517 [BZ #14027]
6518 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
6519 to be done.
6520 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
6521 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
6522
2ce4f015
JM
65232012-04-26 Joseph Myers <joseph@codesourcery.com>
6524
5aeb141a
JM
6525 * sysdeps/unix/i386/brk.S: Remove file.
6526 * sysdeps/unix/i386/dl-brk.S: Likewise.
6527 * sysdeps/unix/i386/pipe.S: Likewise.
6528 * sysdeps/unix/i386/sigreturn.S: Likewise.
6529 * sysdeps/unix/i386/syscall.S: Likewise.
6530 * sysdeps/unix/i386/vfork.S: Likewise.
6531 * sysdeps/unix/i386/wait.S: Likewise.
6532
7143acae
JM
6533 * sysdeps/unix/common/tcsendbrk.c: Move to ...
6534 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
6535
2ce4f015
JM
6536 * configure.in (arm*-none*): Do not allow without
6537 --enable-hacker-mode.
6538 (netbsd*): Remove case setting base_os.
6539 (386bsd*): Likewise.
6540 (freebsd*): Likewise.
6541 (bsdi*): Likewise.
6542 (osf*): Likewise.
6543 (sunos*): Likewise.
6544 (ultrix*): Likewise.
6545 (newsos*): Likewise.
6546 (dynix*): Likewise.
6547 (*bsd*): Likewise.
6548 (sysv*): Likewise.
6549 (isc*): Likewise.
6550 (esix*): Likewise.
6551 (sco*): Likewise.
6552 (minix*): Likewise.
6553 (irix4*): Likewise.
6554 (irix6*): Likewise.
6555 (solaris[2-9]*): Likewise.
6556 (none): Likewise.
6557 * configure: Regenerated.
6558
0ac229c8
AZ
65592012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6560
6561 [BZ #11521]
6562 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
6563 overflow or cancellation in calculating denominator.
6564 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
6565 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
6566 down expression to avoid unexpected rounding in newer GCCs.
6567 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
6568
33f244f4
DM
65692012-04-26 David S. Miller <davem@davemloft.net>
6570
6571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
6572 long-double compat symbols.
6573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
6577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
6579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
6580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
6581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
6582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
6584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
6585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6586
cfa1f3e8
DM
65872012-04-25 David S. Miller <davem@davemloft.net>
6588
6589 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
6590 HWCAP_* values only after the memory barriers have been defined.
6591 (atomic_full_barrier): Define.
6592 (atomic_read_barrier): Define.
6593 (atomic_write_barrier): Define.
6594
6e236b92
SP
65952012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6596
6597 * shlib-versions: Add libgcc_s version information.
6598 * sysdeps/generic/libgcc_s.h: Remove.
6599 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
6600 libgcc_s.h.
6601 * sysdeps/gnu/unwind-resume.c: Likewise.
6602 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
6603
aab39a09
DM
66042012-04-25 David S. Miller <davem@davemloft.net>
6605
6606 * sysdeps/unix/sparc/brk.S: Delete.
6607 * sysdeps/unix/sparc/dl-brk.S: Delete.
6608 * sysdeps/unix/sparc/pipe.S: Delete.
6609 * sysdeps/unix/sparc/sysdep.S: Delete.
6610 * sysdeps/unix/sparc/sysdep.h: Delete.
6611 * sysdeps/unix/sparc/vfork.S: Delete.
6612 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
6613 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
6614 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
6615 ret_ERRVAL, r0, r1, MOVE): Define.
6616 (JUMPTARGET): Remove.
6617 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
6618 sysdeps/unix/sparc/sysdep.h
6619 (ENTRY, END): Remove.
6620 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6621
a3cc4f48
JM
66222012-04-25 Joseph Myers <joseph@codesourcery.com>
6623
2ed8cda2
JM
6624 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
6625 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
6626 -DIS_IN_build.
6627
35d76d59
JM
6628 * timezone/README: Update upstream location and email address for
6629 tzcode and tzdata.
6630 * timezone/zdump.c: Update from tzcode 2012b.
6631 * timezone/zic.c: Likewise.
6632
a3cc4f48
JM
6633 * configure.in (libc_cv_as_needed): Remove test.
6634 * configure: Regenerated.
6635 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
6636 conditional definition.
6637 [$(have-as-needed) != yes] (no-as-needed): Likewise.
6638 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
6639 * config.make.in (have-as-needed): Remove variable.
6640
ceab42c3
SP
66412012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6642 Paul Pluzhnikov <ppluzhnikov@google.com>
6643
6644 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
6645 strings correctly.
6646
3ce2865f
CLT
66472012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
6648
6649 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
6650 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
6651 * sysdeps/sh/strlen.S: Likewise.
6652
f37e0d68
JM
66532012-04-24 Joseph Myers <joseph@codesourcery.com>
6654
ae186e9a
JM
6655 * sysdeps/unix/fork.S: Remove file.
6656 * sysdeps/unix/i386/fork.S: Likewise.
6657 * sysdeps/unix/sparc/fork.S: Likewise.
6658
b96914af
JM
6659 * sysdeps/unix/system.c: Remove file.
6660 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
6661
f37e0d68
JM
6662 * sysdeps/unix/getegid.S: Remove file.
6663 * sysdeps/unix/geteuid.S: Likewise.
6664
87ef29ca
RM
66652012-04-24 Roland McGrath <roland@hack.frob.com>
6666
83bcd236
RM
6667 * scripts/check-localplt.awk: New file.
6668 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
6669 of diff.
6670 * scripts/data/localplt-generic.data: Add a comment.
6671
87ef29ca
RM
6672 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
6673 NODE when __dir_mkfile failed.
6674 * sysdeps/mach/hurd/symlinkat.c: Likewise.
6675 Reported by Ludovic Courtès <ludo@gnu.org>.
6676
e5a6e567
AJ
66772012-04-24 Andreas Jaeger <aj@suse.de>
6678
6679 * Makerules (common-clean): Also remove gen-as-const-headers
6680 files.
6681
c1820385
JM
66822012-04-24 Joseph Myers <joseph@codesourcery.com>
6683
6684 * Makerules (native-compile): Do not change working directory for
6685 build. Use $(OUTPUT_OPTION) in command.
6686 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
6687
94e02fc4
AZ
66882012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6689
6690 [BZ #13886]
6691 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
6692 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
6693 * math/libm-test.inc (floor_test): Add more tests.
6694 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
6695
3a533ca3
JM
66962012-04-24 Joseph Myers <joseph@codesourcery.com>
6697
940ab4b3
JM
6698 * sysdeps/unix/getdents.c: Remove file.
6699 * sysdeps/unix/sysv/getdents.c: Likewise.
6700 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
6701
90e037bd
JM
6702 * sysdeps/unix/syscalls.list (madvise): Add syscall from
6703 sysdeps/unix/mman/syscalls.list.
6704 (mmap): Likewise.
6705 (mprotect): Likewise.
6706 (msync): Likewise.
6707 (munmap): Likewise.
6708 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
6709 * sysdeps/unix/mman/syscalls.list: Remove.
6710 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
6711
3a533ca3
JM
6712 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
6713 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
6714 * configure: Regenerated.
6715 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
6716 $(libgcc_s_suffix).
6717 * config.make.in (libgcc_s_suffix): Remove variable.
6718
1ad743de
JM
67192012-04-23 Joseph Myers <joseph@codesourcery.com>
6720
4ad451e2
JM
6721 * sysdeps/unix/sysv/gethostname.c: Move to ...
6722 * sysdeps/posix/gethostname.c: ... here.
6723
5e37ce39
JM
6724 * sysdeps/unix/execve.S: Remove file.
6725
1ad743de
JM
6726 * sysdeps/unix/_exit.S: Remove file.
6727
4e681b5b
AJ
67282012-04-23 Andreas Jaeger <aj@suse.de>
6729
6730 [BZ #13739]
6731 * manual/Makefile: Remove make dist support, there's no
6732 need for a stand-alone documentation tar ball.
6733 (TEXI2DVI): Define always, it's not in Makeconfig.
6734 (dist): Removed.
6735 (tar-it): Removed.
6736 (edition): Removed.
6737 (glibc-doc-$(edition).tar): Removed
6738 (%.Z): Removed.
6739 (%.gz): Removed.
6740 (%.uu): Removed.
6741 (ETAGS): Remove, it's in Makeconfig.
6742 (move-if-change): Remove, it's in Makeconfig.
6743
c0baea34
PE
67442013-04-23 Paul Eggert <eggert@cs.ucla.edu>
6745
6746 [BZ #13970]
6747 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
6748 (strtod, strtof, strtold, strtol, strtoul, strtoq)
6749 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
6750 (strtod_l, strtof_l, strtold_l): Remove __wur.
6751 It is not necessarily an error to ignore strtol's return value.
6752 One can reliably look at the stored endptr to decide whether
6753 the number had valid syntax.
6754
7c0616fa
AJ
67552012-04-21 Andreas Jaeger <aj@suse.de>
6756
803cb6b7 6757 [BZ #13739]
7c0616fa
AJ
6758 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
6759
b0fe253f
JM
67602012-04-21 Joseph Myers <joseph@codesourcery.com>
6761
6762 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
6763 * sysdeps/unix/sysv/Versions: Remove file.
6764
8280f22d
MT
67652012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
6766
6767 [BZ #13927]
6768 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6769
75ce411f 67702012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
6771
6772 [BZ #7064]
6773 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
6774 version from __vm86.
6775
097d59fa
JM
67762012-04-20 Joseph Myers <joseph@codesourcery.com>
6777
a90f3bcb
JM
6778 * sysdeps/unix/common/lxstat.c: Remove file.
6779 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
6780
edc7ea78
JM
6781 * sysdeps/unix/sysv/Makefile: Remove file.
6782
cb78c221
JM
6783 * sysdeps/unix/sysv/direct.h: Remove file.
6784
efa6a45f
JM
6785 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
6786 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
6787 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
6788 * sysdeps/unix/sysv/bits/signum.h: Likewise.
6789 * sysdeps/unix/sysv/bits/stat.h: Likewise.
6790 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
6791 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
6792
9c9f2d0c
JM
6793 * sysdeps/unix/sysv/setrlimit.c: Remove file.
6794
4541c83b
JM
6795 * sysdeps/unix/xmknod.c: Remove file.
6796 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
6797
f5d153a0
JM
6798 * sysdeps/unix/sysv/settimeofday.c: Remove file.
6799
aa746595
JM
6800 * sysdeps/unix/sysv/i386/time.S: Remove file.
6801
cce5905e
JM
6802 * sysdeps/unix/fxstat.c: Remove file.
6803 * sysdeps/unix/xstat.c: Likewise.
6804 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
6805
37fa3841
JM
6806 * sysdeps/unix/sysv/sigaction.c: Remove file.
6807
ff1962a3
JM
6808 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
6809 (sysdep_headers): Remove variable.
6810 [termio.h not in sysdep_headers] (generated): Likewise.
6811 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
6812 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
6813 * sysdeps/unix/sysv/tcdrain.c: Likewise.
6814 * sysdeps/unix/sysv/tcflow.c: Likewise.
6815 * sysdeps/unix/sysv/tcflush.c: Likewise.
6816 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
6817 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
6818 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6819 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6820 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
6821
e7740d31
JM
6822 * sysdeps/unix/siglist.c: Remove file.
6823
ee06f18b
JM
6824 * sysdeps/unix/getppid.S: Remove file.
6825
097d59fa
JM
6826 * sysdeps/unix/mkdir.c: Remove file.
6827 * sysdeps/unix/rmdir.c: Likewise.
6828
ff3d51ec
AS
68292012-04-19 Andreas Schwab <schwab@linux-m68k.org>
6830
6831 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
6832 ERR_MAX value.
6833 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
6834 errlist-compat value.
6835
50f81fd7
DM
68362012-04-18 David S. Miller <davem@davemloft.net>
6837
6838 * sysdeps/generic/memcopy.h (reg_char): Delete.
6839 * debug/strcat_chk.c: Use char, not reg_char.
6840 * debug/strcpy_chk.c: Likewise.
6841 * debug/strncat_chk.c: Likewise.
6842 * debug/strncpy_chk.c: Likewise.
6843 * string/memchr.c: Likewise.
6844 * string/memrchr.c: Likewise.
6845 * string/rawmemchr.c: Likewise.
6846 * string/strcat.c: Likewise.
6847 * string/strchr.c: Likewise.
6848 * string/strchrnul.c: Likewise.
6849 * string/strcmp.c: Likewise.
6850 * string/strcpy.c: Likewise.
6851 * string/strncat.c: Likewise.
6852 * string/strncmp.c: Likewise.
6853 * string/strncpy.c: Likewise.
6854
8ff41c46
WS
68552012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6856
6857 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
6858 __builtin_memcopy is called when src and dest ranges are known to not
6859 overlap.
6860
6b652f46
WS
68612012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6862
6863 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
6864 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
6865 fwd_align_merge macro call.
6866 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
6867 bwd_align_merge macro call.
6868 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6869
b282631e
WS
68702012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6871
6872 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
6873 bwd_align_merge macros.
6874 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
6875 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
6876 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6877
95aa737c
DM
68782012-04-18 David S. Miller <davem@davemloft.net>
6879
6880 * sysdeps/sparc/sparc64/memcopy.h: Delete.
6881
7a99a614
AJ
68822012-04-18 Andreas Jaeger <aj@suse.de>
6883
6884 [BZ# 6794]
6885 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
6886 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
6887 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6888
6889 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
6890 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
6891 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6892
6893 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
6894 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
6895 Adjust for changed ldbl-128 files.
6896
6897 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
6898 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
6899 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6900
e5270c23
DM
69012012-04-17 David S. Miller <davem@davemloft.net>
6902
6903 * sysdeps/sparc/sparc32/memcopy.h: Delete.
6904
fb5e92c9
AS
69052012-04-17 Andreas Schwab <schwab@linux-m68k.org>
6906
6907 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
6908 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
6909 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
6910 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
6911 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6912 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
6913
76da7265
AZ
69142012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6915
6916 [BZ #6794]
6917 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
6918 * math/libm-test.inc: Add ilogb errno and exception tests.
6919 * math/w_ilogb.c: New file: ilogb wrapper.
6920 * math/w_ilogbf.c: New file: ilogbf wrapper.
6921 * math/w_ilogbl.c: New file: ilogbl wrapper.
6922 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
6923 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
6924 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
6925 exception being thrown with 0.0 as argument.
6926 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
6927 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
6928 exception being thrown with 0.0 as argument.
6929 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
6930 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6931 exception being thrown with 0.0 as argument.
6932 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
6933 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6934 exception being thrown with 0.0 as argument.
6935 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
6936 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 6937 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
6938 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
6939 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
6940 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
6941 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
6942 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
6943 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
6944
0396e69d
PB
69452012-04-17 Petr Baudis <pasky@ucw.cz>
6946
6947 * include/sys/uio.h: Change __vector to __iovec to avoid clash
6948 with altivec.
6949
750b5926
MP
69502012-04-16 Marek Polacek <polacek@redhat.com>
6951
6952 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
6953
751728a1
MP
69542012-04-16 Marek Polacek <polacek@redhat.com>
6955
6956 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
6957 operands of fdivp instruction.
6958
34a27407
L
69592012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6960
6961 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
6962 * elf/tst-auditmod3b.c: Likewise.
6963 * elf/tst-auditmod4b.c: Likewise.
6964 * elf/tst-auditmod5b.c: Likewise.
6965 * elf/tst-auditmod6b.c: Likewise.
6966 * elf/tst-auditmod6c.c: Likewise.
6967 * elf/tst-auditmod7b.c: Likewise.
6968 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
6969 * sysdeps/x86_64/preconfigure.in: Likewise.
6970 * sysdeps/x86_64/preconfigure: Regenerated.
6971
7e73e17d
L
69722012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6973
6974 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
6975 __ILP32__.
6976
c7a6ab72
AB
69772012-04-13 Antoine Balestrat <merkil33@gmail.com>
6978
6979 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6980 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
6981
a9e8e0e0
CL
69822012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
6983
6984 [BZ #13973]
6985 * locale/iso-639.def: Fix gl language name. Spotted by
6986 Yaron Shahrabani.
6987
ec98af7d
RM
69882012-04-12 Roland McGrath <roland@hack.frob.com>
6989
6990 [BZ #2074]
6991 * libio/libio.h (__io_write_fn): Update comment.
6992
247c3ede
PB
69932012-04-12 Petr Baudis <pasky@ucw.cz>
6994
6995 [BZ #2074]
6996 * stdio.texi (Hook Functions): The user provided writer function
6997 is not allowed to return -1.
6998
55939d6d
DM
69992012-04-11 David S. Miller <davem@davemloft.net>
7000
7001 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7002
90020f5a
MF
70032012-04-11 Mike Frysinger <vapier@gentoo.org>
7004
7005 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
7006 Add a leading slash to rtkaio.
7007
288f9098
JM
70082012-04-11 Jim Meyering <meyering@redhat.com>
7009
90020f5a
MF
7010 [BZ #11959]
7011 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
7012 It is not necessarily an error to ignore fwrite's return
7013 value. One can reliably use ferror to test for errors after
7014 the fact.
288f9098 7015
4be2b570
L
70162012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7017
7018 * bits/types.h (__snseconds_t): New type.
7019 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
7020
7021 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
7022 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7023 (__SNSECONDS_T_TYPE): Likewise.
7024 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7025 (__SNSECONDS_T_TYPE): Likewise.
7026 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7027 (__SNSECONDS_T_TYPE): Likewise.
7028
288f9098 70292012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
7030
7031 [BZ #2636]
7032 * manual/time.texi (Processor Time): Return type of times is
7033 elapsed real time since an arbitrary point in the past.
7034 (CPU Time): Move CLK_TCK from here...
7035 (Processor Time): ...to here. Correct description.
7036 * manual/conf.texi (Constants for Sysconf): Correct description of
7037 _SC_CLK_TCK.
7038
d7dd4413
DM
70392012-04-10 David S. Miller <davem@davemloft.net>
7040
7041 [BZ #13967]
7042 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
7043 where the is a gap between DT_REL(A) and DT_JMPREL.
7044
b46068fc
L
70452012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7046
7047 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
7048 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7049 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7050
73d65cc3
SP
70512012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7052
7053 * elf/dl-support.c (_dl_inhibit_cache): New variable.
7054 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
7055 (dl_main): Handle --inhibit-cache.
7056 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
7057 _dl_inhibit_cache.
7058 * elf/dl-load.c (_dl_map_object): Use it.
7059 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
7060
bcc8d661
JM
70612012-04-09 Joseph Myers <joseph@codesourcery.com>
7062
8f9a2fae
JM
7063 [BZ #13872]
7064 * sysdeps/i386/fpu/e_powl.S (p78): New object.
7065 (__ieee754_powl): Saturate large exponents rather than testing for
7066 overflow of y*log2(x).
7067 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7068 * math/libm-test.inc (pow_test): Do not permit spurious overflow
7069 exceptions.
7070
bcc8d661
JM
7071 [BZ #11521]
7072 * math/s_ctan.c: Include <float.h>.
7073 (__ctan): Avoid internal overflow or cancellation in calculating
7074 denominator.
7075 * math/s_ctanf.c: Likewise.
7076 * math/s_ctanl.c: Likewise.
7077 * math/s_ctanh.c: Likewise.
7078 * math/s_ctanhf.c: Likewise.
7079 * math/s_ctanhl.c: Likewise.
7080 * math/libm-test.inc (ctan_test): Add more tests.
7081 (ctanh_test): Likewise.
7082 * sysdeps/i386/fpu/libm-test-ulps: Update.
7083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7084
823fbbb4
AJ
70852012-04-09 Andreas Jaeger <aj@suse.de>
7086
03879793
AJ
7087 [BZ #6894]
7088 * manual/filesys.texi (Directory Entries): Mention that d_namlen
7089 is an optional BSD extension.
7090
823fbbb4
AJ
7091 [BZ #10254]
7092 * manual/stdio.texi (Opening Streams): Document additional fopen
7093 parameters.
7094
8de131cb
RM
70952012-04-09 Roland McGrath <roland@hack.frob.com>
7096
7097 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
7098 %eax without telling the compiler.
7099
c0ed9d7d
CD
71002012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
7101
7102 [BZ # 13963]
7103 * manual/install.texi: Use sourceware.org.
7104
c483f6b4
JM
71052012-04-09 Joseph Myers <joseph@codesourcery.com>
7106
d7dd9453
JM
7107 [BZ #13873]
7108 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
7109 (__ieee754_pow): Generate overflow and underflow using huge*huge
7110 and tiny*tiny rather than just returning constant infinity or zero
7111 for large exponents.
7112 * math/libm-test.inc (pow_test): Require overflow exceptions for
7113 applicable cases of large exponents.
7114
c483f6b4
JM
7115 [BZ #706]
7116 * sysdeps/i386/fpu/e_pow.S (p10): New object.
7117 (__ieee754_pow): Use iterative multiplication algorithm only for
7118 integer exponents with absolute value below 1024. Check for odd
7119 integer exponents when using algorithm for real exponents.
7120 * math/libm-test.inc (pow_test): Add more tests.
7121 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7122
d2de7579
JM
71232012-04-08 Joseph Myers <joseph@codesourcery.com>
7124
7125 [BZ #13705]
7126 * math/libm-test.inc (exp_test): Do not allow overflow exception
7127 on underflow test.
7128
f77f1232
AJ
71292012-04-08 Aurelien Jarno <aurelien@aurel32.net>
7130
7131 [BZ #13705]
7132 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
7133 instead of __kernel_standard_f.
7134
3884932b
MF
71352012-04-08 Mike Frysinger <vapier@gentoo.org>
7136
7137 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
7138 * sysdeps/x86_64/memset_chk.S: Likewise.
7139
54472e9c
AJ
71402012-04-08 Andreas Jaeger <aj@suse.de>
7141
6ab0fbfc
AJ
7142 [BZ #10153]
7143 * manual/startup.texi (Environment Access): Describe return value
7144 for putenv and setenv.
7145
61efba8c
AJ
7146 [BZ #6895]
7147 * manual/filesys.texi (Directory Entries): Add description for
7148 DT_LNK.
7149
95c3f29a
AJ
7150 [BZ #6890]
7151 * manual/filesys.texi (Directory Entries): Clarify that it's file
7152 system not operating system in the description of DT_UNKNOWN.
7153
54472e9c
AJ
7154 [BZ #6578]
7155 * manual/syslog.texi (closelog): Fix reference, it's openlog.
7156
624254b1
SC
71572012-04-08 Stephen Compall <s11@member.fsf.org>
7158
7159 [BZ #6649]
7160 * manual/llio.texi (Opening and Closing Files): Add cross
7161 reference to explain mode argument.
7162
1e4920e0
MF
71632012-04-07 Mike Frysinger <vapier@gentoo.org>
7164
7165 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
7166 * sysdeps/x86_64/memset_chk.S: Likewise.
7167
5ed848f3
DM
71682012-04-07 David S. Miller <davem@davemloft.net>
7169
7170 * elf/elf.h (R_SPARC_WDISP10): Define.
7171 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
7172 R_SPARC_SIZE32.
7173 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7174 R_SPARC_SIZE64 and R_SPARC_H34.
7175
96154cd8
CD
71762012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
7177
7178 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
7179 conditions and remove no longer applicable assertion.
7180
9904dc47
L
71812012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7182
7183 * bits/byteswap.h: Include <features.h>.
7184 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7185 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7186
f8887d0a
L
71872012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7188
7189 * bits/byteswap.h (__bswap_16): Removed.
7190 Include <bits/byteswap-16.h> to get __bswap_16.
7191 * sysdeps/i386/bits/byteswap.h: Likewise.
7192 * sysdeps/s390/bits/byteswap.h: Likewise.
7193 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7194 * bits/byteswap-16.h: New file.
7195 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7196 * sysdeps/s390/bits/byteswap-16.h: Likewise.
7197 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
7198 * string/Makefile (headers): Add bits/byteswap-16.h.
7199
62470f60
PP
72002012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7201
7202 [BZ #13895]
7203 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
7204 extra indirection.
7205 * nss/Makefile (tests-static, tests): Add tst-nss-static.
7206 * nss/tst-nss-static.c: New.
7207
4dad7bab
RM
72082012-04-06 Robert Millan <rmh@gnu.org>
7209
7210 [BZ #6486]
7211 * manual/llio.texi (File Position Primitive): lseek
7212 refers to WHENCE when it really means OFFSET.
7213
e9142a17
AJ
72142012-04-06 Andreas Jaeger <aj@suse.de>
7215
2c040eff
AJ
7216 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
7217 strncmp declarations.
7218
e9142a17
AJ
7219 * abilist/libc.abilist: Add __poll and __ppoll.
7220
ff9f1c5f
DM
72212012-04-05 David S. Miller <davem@davemloft.net>
7222
dcd2ae90
DM
7223 * scripts/check-local-headers.sh: Accept a host triplet in the
7224 path matched by the exclude regexp.
7225
993eb054
DM
7226 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
7227 definition.
7228 * sysdeps/powerpc/powerpc32/dl-machine.h
7229 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
7230 * sysdeps/s390/s390-32/dl-machine.h
7231 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7232 * sysdeps/sparc/sparc32/dl-machine.h
7233 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7234 * sysdeps/sparc/sparc64/dl-machine.h
7235 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7236
ff9f1c5f
DM
7237 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
7238 lazy binding.
48e2e132 7239 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
7240 undefined symbol errors.
7241
48e2e132 7242 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
7243 DT_NEEDED entries.
7244
e80d6f94
MM
72452012-04-05 Michael Matz <matz@suse.de>
7246
7247 [BZ #13592]
7248 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
7249
349fa79f
AJ
72502012-04-05 Andreas Jaeger <aj@suse.de>
7251
7252 [BZ #13908]
7253 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
7254 comment.
7255
f402708f
KK
72562012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7257
7258 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
7259 which ROUND is no valid rounding mode.
7260
2ecccfc9
KK
72612012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7262
7263 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
7264 read again.
7265 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
7266
8a53f50f
KK
72672012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7268
7269 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
7270 an exception using FPU order intentionally.
7271
72722012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7273
7274 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
7275 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
7276 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
7277 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
7278
d653abb7
SJ
72792012-04-05 Simon Josefsson <simon@josefsson.org>
7280
7281 [BZ #12340]
7282 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
7283 EINVAL when BUFLEN is too smal.
7284
c3b1bf7d
TS
72852012-04-05 Thomas Schwinge <thomas@codesourcery.com>
7286
7287 [BZ #13553]
7288 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
7289 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
7290
b1aa60f3
AJ
72912012-04-03 Andreas Jaeger <aj@suse.de>
7292
c3b1bf7d 7293 [BZ #13938]
67f60a26
AJ
7294 * manual/setjmp.texi (System V contexts): Fix sentence.
7295
b1aa60f3
AJ
7296 [BZ #13926]
7297 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
7298 New macro for this case.
7299 [!__GNUC__] (__bswap_64): New inline function for this case.
7300 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7301 * bits/byteswap.h: Likewise.
7302 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
7303 ull, guard with __GLIBC_HAVE_LONG_LONG.
7304
7305 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
7306 __GLIBC_HAVE_LONG_LONG.
7307
7308 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
7309 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
7310
39c59c35
TMQMF
73112012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7312
7313 [BZ #13691]
7314 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7315 inptr and inend, rather than using last_ch.
7316
135ffda8
DM
73172012-04-02 David S. Miller <davem@davemloft.net>
7318
7319 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7320 * stdio-common/printf-parse.h (read_int): Change return type to
7321 'int', return -1 on INT_MAX overflow.
7322 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7323 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
7324 overflows INT_MAX. Check for overflow of in-format-string precision
7325 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
7326 SIZE_MAX not INT_MAX for integer overflow test.
7327 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7328 skip the construct in the format string but do not record anything.
7329 * stdio-common/bug22.c: Adjust to test both width/prevision
7330 INT_MAX overflow as well as total length INT_MAX overflow. Check
7331 explicitly for proper errno values.
7332
228c019e
TS
73332012-04-02 Thomas Schwinge <thomas@codesourcery.com>
7334
302cadd3
TS
7335 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7336 CHAR_MAX.
7337 * string/test-strcmp.c [! WIDE]: Likewise.
7338 * time/tst-mktime2.c: Likewise for INT_MAX.
7339 * string/test-string.h: #include <sys/param.h> for MIN.
7340
228c019e
TS
7341 * csu/init-first.c (__libc_init_first): Call __ctype_init.
7342 * sysdeps/i386/init-first.c (init): Likewise.
7343 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7344 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7345 * sysdeps/sh/init-first.c (init): Likewise.
7346
cfa633f5
UD
73472012-04-01 Ulrich Drepper <drepper@gmail.com>
7348
7349 * po/ru.po: Update from translation team.
d1635ef8 7350 * po/vi.po: Likewise.
cfa633f5 7351
6cd0a5ea
SP
73522012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7353
7354 * resolv/nss_dns/dns-host.c: Merge copyright years.
7355
4b43400f
LD
73562012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7357
7358 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7359 Optimize memcpy with prefetch if
7360 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
7361 src, dst pointers have unequal 16 byte alignments.
7362
48c41d04
SP
73632012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7364
7365 [BZ #13928]
7366 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7367 from a CNAME entry and return the minimum ttl for the query.
7368 (gaih_getanswer_slice): Likewise.
7369
b8dc394d
JL
73702012-03-30 Jeff Law <law@redhat.com>
7371
7372 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7373 due to long keys.
7374 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7375 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7376
2f5a5ed0
JL
7377 * resolv/nss_dns/dns-host.c: Update copyright year.
7378
1d39e359
UD
73792012-03-30 Ulrich Drepper <drepper@gmail.com>
7380
c030f70c 7381 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 7382 requests to save a system call. Fix check that all bytes are sent.
c030f70c 7383
1d39e359
UD
7384 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7385 comments for sendmmsg.
7386
73872012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
7388
7389 [BZ #13691]
7390 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7391 with only 1 character between 0x0041 and 0x01b0.
7392 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7393 * wcsmbs/tst-mbsnrtowcs.c: New file.
7394
20fde227
DM
73952012-03-29 David S. Miller <davem@davemloft.net>
7396
7397 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7398 small copies by hand.
7399
984a4237
JL
74002012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7401
7402 [BZ #13761]
7403 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7404 _nss_compat_initgroups_dyn): Fall back to malloc/free
7405 for large group memberships.
7406
18c9d62b
DM
74072012-03-28 David S. Miller <davem@davemloft.net>
7408
88d85d4f
DM
7409 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
7410 that branches into memcpy.
7411 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7412 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7413 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7414 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7415 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
7416 bits.
7417 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
7418 implementation too.
7419 * sysdeps/sparc/mempcpy.S: New file.
7420
e5aa83e1
DM
7421 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
7422 the IFUNC routine in the libc case.
7423 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7424
88570753
DM
7425 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
7426 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
7427 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
7428 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7429 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
7430 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
7431 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
7432 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
7433
249d7567
DM
7434 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
7435 loop to 256 bytes instead of 64 bytes and fix test signedness.
7436
18c9d62b
DM
7437 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
7438 * sysdeps/sparc/sparc32/Makefile: rather than here...
7439 * sysdeps/sparc/sparc64/Makefile: and here.
7440
05f3d1f6
UD
74412012-03-28 Ulrich Drepper <drepper@gmail.com>
7442
7443 * malloc/mallocbug.c: Avoid warnings about unused variables.
7444
86ae07a8
JL
74452012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7446
7447 [BZ #13760]
7448 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
7449 in the right place. Discard and retry query if response is
7450 larger than input buffer size.
7451
41bf21a1
JM
74522012-03-28 Joseph Myers <joseph@codesourcery.com>
7453
d6270972
JM
7454 [BZ #369]
7455 [BZ #2678]
7456 [BZ #3866]
7457 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
7458 x for large integer exponent.
7459 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7460 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
7461 sign of result as needed afterwards.
7462 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7463 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
7464 result for underflowing pow the same as for overflow.
7465 (__kernel_standard_l): Handle powl overflow and underflow here
7466 rather than calling __kernel_standard.
7467 * math/libm-test.inc (pow_test): Add more tests.
7468
414fca03 7469 [BZ #3868]
41bf21a1
JM
7470 [BZ #13879]
7471 [BZ #13910]
7472 [BZ #13911]
7473 [BZ #13912]
7474 [BZ #13913]
7475 [BZ #13915]
7476 [BZ #13916]
7477 [BZ #13917]
7478 [BZ #13918]
7479 [BZ #13919]
7480 [BZ #13920]
7481 [BZ #13921]
7482 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
7483 * sysdeps/ieee754/k_standard.c: Include <float.h>.
7484 (__kernel_standard_l): New function.
7485 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
7486 __kernel_standard.
7487 * math/w_acosl.c (__acosl): Likewise.
7488 * math/w_asinl.c (__asinl): Likewise.
7489 * math/w_atan2l.c (__atan2l): Likewise.
7490 * math/w_atanhl.c (__atanhl): Likewise.
7491 * math/w_coshl.c (__coshl): Likewise.
7492 * math/w_exp10l.c (__exp10l): Likewise.
7493 * math/w_exp2l.c (__exp2l): Likewise.
7494 * math/w_fmodl.c (__fmodl): Likewise.
7495 * math/w_hypotl.c (__hypotl): Likewise.
7496 * math/w_j0l.c (__j0l, __y0l): Likewise.
7497 * math/w_j1l.c (__j1l, __y1l): Likewise.
7498 * math/w_jnl.c (__jnl, __ynl): Likewise.
7499 * math/w_lgammal.c (__lgammal): Likewise.
7500 * math/w_log10l.c (__log10l): Likewise.
7501 * math/w_log2l.c (__log2l): Likewise.
7502 * math/w_logl.c (__logl): Likewise.
7503 * math/w_powl.c (__powl): Likewise.
7504 * math/w_remainderl.c (__remainderl): Likewise.
7505 * math/w_scalbl.c (sysv_scalbl): Likewise.
7506 * math/w_sinhl.c (__sinhl): Likewise.
7507 * math/w_sqrtl.c (__sqrtl): Likewise.
7508 * math/w_tgammal.c (__tgammal): Likewise.
7509 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
7510 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
7511 * math/libm-test.inc (acos_test): Add more tests.
7512 (acosh_test): Likewise.
7513 (asin_test): Likewise.
7514 (atanh_test): Likewise.
7515 (exp_test): Likewise.
7516 (exp10_test): Likewise.
7517 (exp2_test): Likewise.
7518 (expm1_test): Likewise.
7519 (lgamma_test): Likewise.
7520 (log_test): Likewise.
7521 (log10_test): Likewise.
7522 (log1p_test): Likewise.
7523 (log2_test): Likewise.
7524 (pow_test): Do not allow some spurious overflow exceptions.
7525 (sqrt_test): Add more tests.
7526 (tgamma_test): Likewise.
7527 (y0_test): Likewise.
7528 (y1_test): Likewise.
7529 (yn_test): Likewise.
7530
dd62fda6
AB
75312012-03-27 Anton Blanchard <anton@samba.org>
7532
7533 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
7534 MAP_HUGETLB.
7535 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7536 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7537 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7538
1e3cdfda
AJ
75392012-03-27 David S. Miller <davem@davemloft.net>
7540
b855ab85
DM
7541 * conform/Makefile: Run run-conformtest.sh using $(BASH).
7542
1e3cdfda
AJ
7543 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
7544 have-as-vis3 check.
7545
75462012-03-27 Andreas Jaeger <aj@suse.de>
7547
7548 * sysdeps/x86_64/elf/configure.in: Moved to ...
7549 * sysdeps/x86_64/configure.in: ... here.
7550 * sysdeps/x86_64/elf/start.S: Moved to ...
7551 * sysdeps/x86_64/start.S: ... here.
7552 * sysdeps/x86_64/elf/configure: Delete.
7553
7554 * sysdeps/x86_64/configure.in: Merge contents from
7555 sysdeps/i386/configure.in (without i686 check).
7556
7557 * sysdeps/i386/elf/Versions: Merge into ...
7558 * sysdeps/i386/Versions: ... this.
7559 * sysdeps/i386/elf/Versions: Delete file.
7560 * sysdeps/i386/elf/start.S: Moved to ...
7561 * sysdeps/i386/start.S: ...here.
7562 * sysdeps/i386/elf/configure.in: Merge into...
7563 * sysdeps/i386/configure.in: ...here.
7564 * sysdeps/i386/elf/configure.in: Delete file.
7565 * sysdeps/i386/elf/configure: Delete file.
7566
7567 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
7568 * debug/backtracesyms.c: ... here.
7569 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
7570 * debug/backtracesymsfd.c: ... here.
7571 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
7572 * sysdeps/generic/ifunc-sel.h: ... here.
7573
7574 * sysdeps/unix/i386/start.c: Delete file.
7575 * sysdeps/unix/sparc/start.c: Delete file.
7576 * sysdeps/unix/start.c: Delete file.
7577
7578 * sysdeps/sh/elf/configure.in: Moved to ...
7579 * sysdeps/sh/configure.in: ... here.
7580 * sysdeps/sh/elf/start.S: Moved to ...
7581 * sysdeps/sh/start.S: ... here.
7582 * sysdeps/sh/elf/configure: Delete file.
7583
7584 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
7585 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
7586 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
7587 * sysdeps/powerpc/powerpc64/entry.h: ... here.
7588 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
7589 * sysdeps/powerpc/powerpc64/start.S: here.
7590 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
7591 * sysdeps/powerpc/powerpc64/Makefile: ... this.
7592 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
7593 * sysdeps/powerpc/powerpc64/configure.in: ... this.
7594 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
7595
7596 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
7597 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
7598 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
7599 * sysdeps/powerpc/powerpc32/start.S: ... here.
7600 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
7601 * sysdeps/powerpc/powerpc32/configure.in: ... this.
7602 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
7603
7604 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
7605 * sysdeps/powerpc/ifunc-sel.h: ... here.
7606 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
7607 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
7608
7609 * sysdeps/sparc/elf/configure.in: Moved to ...
7610 * sysdeps/sparc/configure.in: ... here.
7611 * sysdeps/sparc/elf/configure: Delete file.
7612 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
7613 * sysdeps/sparc/sparc32/start.S: ... here.
7614 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
7615 * sysdeps/sparc/sparc64/start.S: ... here.
7616 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
7617 * sysdeps/sparc/sparc32/Makefile: ... this.
7618 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
7619 * sysdeps/sparc/sparc64/Makefile: ... this.
7620
7621 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
7622 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
7623 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
7624 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
7625 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
7626 * sysdeps/s390/s390-32/setjmp.S: ... here.
7627 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
7628 * sysdeps/s390/s390-32/configure.in: ... here.
7629 * sysdeps/s390/s390-32/elf/configure: Delete file.
7630 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
7631 * sysdeps/s390/s390-32/start.S: ... here.
7632
7633 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
7634 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
7635 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
7636 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
7637 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
7638 * sysdeps/s390/s390-64/setjmp.S: ... here.
7639 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
7640 * sysdeps/s390/s390-64/configure.in: ... here
7641 * sysdeps/s390/s390-64/elf/configure: Delete file.
7642 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
7643 * sysdeps/s390/s390-64/start.S: ... here.
7644 * sysdeps/s390/s390-64/elf/configure: Delete.
7645
7646 * configure.in: Remove support for elf directories in sysdeps.
7647
7648 * configure: Regenerated.
7649 * sysdeps/i386/configure: Regenerated.
7650 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7651 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7652 * sysdeps/s390/s390-32/configure: Regenerated.
7653 * sysdeps/s390/s390-64/configure: Regenerated.
7654 * sysdeps/sh/configure: Regenerated.
7655 * sysdeps/sparc/configure: Regenerated.
7656 * sysdeps/x86_64/configure: Regenerated.
7657
a3f61311
AS
76582012-03-26 Andreas Schwab <schwab@linux-m68k.org>
7659
c876e002
AS
7660 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7661
a3f61311
AS
7662 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
7663 denormal result into account.
7664
ac4c54f0
RM
76652012-03-25 Roland McGrath <roland@hack.frob.com>
7666
7667 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
7668 Reported by Allan McRae <allan@archlinux.org>.
7669
6a9b9c02
JL
76702012-03-23 Jeff Law <law@redhat.com>
7671
7672 * nss/getnssent.c (__nss_getent): Fix typo.
7673
4c42a0c1
DM
76742012-03-23 David S. Miller <davem@davemloft.net>
7675
7676 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7677
1532c7ac
L
76782012-03-23 H.J. Lu <hongjiu.lu@intel.com>
7679
7680 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
7681 to pad to uint64_t for each field.
7682 (dl_tls_index): Replace unsigned long with uint64_t.
7683
3ff42526
PP
76842012-03-23 Daniel Jacobowitz <dmj@google.com>
7685 Paul Pluzhnikov <ppluzhnikov@google.com>
7686
7687 [BZ #6528]
7688 * grp/Makefile (otherlibs): Don't set it.
7689 * inet/Makefile (otherlibs): Likewise.
7690 * login/Makefile (otherlibs): Likewise.
7691 * nscd/Makefile (otherlibs): Likewise.
7692 * posix/Makefile (otherlibs): Likewise.
7693 * pwd/Makefile (otherlibs): Likewise.
7694 * rt/Makefile (otherlibs): Likewise.
7695 * sunrpc/Makefile (otherlibs): Likewise.
7696 * nss/Makefile (otherlibs): Likewise.
7697 Add libnss_files to routines and static-only-routines.
7698 ($(objpfx)getent): Remove rule.
7699 * resolv/Makefile: Add libnss_dns and libresolv to routines and
7700 static-only-routines.
7701
7c69cd14
JM
77022012-03-22 Joseph Myers <joseph@codesourcery.com>
7703
7704 [BZ #13892]
7705 * math/s_cexp.c: Include <float.h>.
7706 (__cexp): Handle exp result overflowing not necessarily
7707 overflowing both real and imaginary parts of result.
7708 * math/s_cexpf.c: Likewise.
7709 * math/s_cexpl.c: Likewise.
7710 * math/libm-test.inc (cexp_test): Add more tests.
7711 * sysdeps/i386/fpu/libm-test-ulps: Update.
7712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7713
81b035fe
L
77142012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7715
7716 * include/link.h (ELFW): New macro.
7717 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
7718 Replace ELF64_R_TYPE with ELFW(R_TYPE).
7719
1da7940c
L
77202012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7721
7722 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
7723 with uint64_t.
7724
b749dbb9
L
77252012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7726
7727 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
7728 declaration.
7729 (struct La_x32_retval): Likewise.
7730
2ff87f3f
L
77312012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7732
7733 * sysdeps/x86_64/preconfigure.in: New file.
7734 * sysdeps/x86_64/preconfigure: New generated file.
7735
c0df8e69
JM
77362012-03-22 Joseph Myers <joseph@codesourcery.com>
7737
48e44791
JM
7738 [BZ #13824]
7739 * math/e_exp2l.c: Include <float.h>.
7740 (__ieee754_exp2l): Handle overflow and underflow cases
7741 separately. Only pass fractional part of argument to
7742 __ieee754_expl.
7743 * math/libm-test.inc (exp2_test): Add more tests.
7744
c0df8e69
JM
7745 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
7746 negating x to take absolute value.
7747 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7748 Likewise.
7749 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7750 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7751 Likewise.
7752 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
7753 computing low part if x was negated.
7754 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7755
c8e43ba7
L
77562012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7757
7758 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
7759 la_x32_gnu_pltexit.
7760 (pltexit): Cast int_retval to ptrdiff_t.
7761 * elf/tst-auditmod3b.c: Likewise.
7762 * elf/tst-auditmod4b.c: Likewise.
7763 * elf/tst-auditmod5b.c: Likewise.
7764 * elf/tst-auditmod6b.c: Likewise.
7765 * elf/tst-auditmod6c.c: Likewise.
7766 * elf/tst-auditmod7b.c: Likewise.
7767
7768 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
7769 and x32_gnu_pltexit.
7770
7771 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
7772 __ELF_NATIVE_CLASS.
7773 (La_x32_regs): New macro.
7774 (La_x32_retval): Likewise.
7775 (la_x32_gnu_pltenter): New function prototype.
7776 (la_x32_gnu_pltexit): Likewise.
7777
7998fa78
AS
77782012-03-21 Andreas Schwab <schwab@linux-m68k.org>
7779
dcb33988
AS
7780 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
7781 exponent.
7782
233fc563
AS
7783 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7784
7998fa78
AS
7785 * configure.in (libc_cv_cc_nofma): Check for option to disable
7786 generation of FMA instructions.
7787 * configure: Regenerate.
7788 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
7789 * sysdeps/ieee754/dbl-64/Makefile: New file.
7790 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7791 Remove brandred-fma4.
7792 (CFLAGS-brandred-fma4.c): Remove.
7793 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
7794 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
7795 define.
7796 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
7797 define.
7798
8e95c99a
L
77992012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7800
7801 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7802 LLONG_MAX != LONG_MAX.
7803 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7804 (_fitoa_word): Likewise.
7805 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
7806 LLONG_MAX != LONG_MAX.
7807 * stdio-common/_itowa.h: Include <_itoa.h>.
7808 (_itowa_word): Use _ITOA_WORD_TYPE on value.
7809 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
7810 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
7811 only if not defined.
7812 (_ITOA_WORD_TYPE): Likewise.
7813 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7814 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
7815
6f4db457
DM
78162012-03-21 David S. Miller <davem@davemloft.net>
7817
7818 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7819
7785fe5a
L
78202012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7821
7822 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
7823 of x86_64 when setting libc_cv_slibdir, libdir and
7824 libc_cv_localedir.
7825 * sysdeps/unix/sysv/linux/configure: Regenerated.
7826
4535cd55
JM
78272012-03-21 Joseph Myers <joseph@codesourcery.com>
7828
7829 * manual/lang.texi (Old Varargs): Remove section.
7830 (How Variadic): Update menu.
7831 (va_start): Do not mention varargs.h.
7832
17228132
TS
78332012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7834 Joseph Myers <joseph@codesourcery.com>
7835
7836 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
7837 link test.
7838 * configure: Regenerated.
7839
8149f976
TS
78402012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7841
05f3d1f6
UD
7842 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
7843 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
7844 conformtest.pl
8149f976 7845
1a4ac776
JM
78462012-03-21 Joseph Myers <joseph@codesourcery.com>
7847
be22ce65
JM
7848 * NOTES: Remove.
7849 * Makefile (files-for-dist): Remove NOTES.
7850 (NOTES): Remove rule.
7851 * README: Don't refer to NOTES.
7852 * manual/creature.texi: Don't include macros.texi.
7853 * manual/intro.texi (creature.texi): Remove comment referring to
7854 NOTES.
7855
40b601fb
JM
7856 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
7857 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
7858 * configure: Regenerated.
7859 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
7860 LIBC_TRY_CC_OPTION.
7861 (libc_cv_as_i686): Likewise.
7862 (libc_cv_cc_avx): Likewise.
7863 (libc_cv_cc_sse2avx): Likewise.
7864 (libc_cv_cc_fma4): Likewise.
7865 (libc_cv_cc_novzeroupper): Likewise.
7866 * sysdeps/i386/configure: Regenerated.
7867
1a4ac776
JM
7868 [BZ #13883]
7869 * sysdeps/i386/fpu/s_cexp.S: Remove.
7870 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7871 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7872 * math/libm-test.inc (cexp_test): Add more tests.
7873 * sysdeps/i386/fpu/libm-test-ulps: Update.
7874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7875
a458e7fe
AM
78762012-03-21 Allan McRae <allan@archlinux.org>
7877
7878 * timezone/Makefile: Do not install iso3166.tab and zone.tab
7879
0cb7efc5
JM
78802012-03-21 Joseph Myers <joseph@codesourcery.com>
7881
7882 [BZ #13871]
7883 * math/w_exp2.c: Do not include <float.h>.
7884 (o_threshold, u_threshold): Remove.
7885 (__exp2): Calculate result before checking finiteness and calling
7886 __kernel_standard.
7887 * math/w_exp2f.c: Likewise.
7888 * math/w_exp2l.c: Likewise.
7889 * math/libm-test.inc (exp2_test): Require overflow exception for
7890 1e6 input.
2460d3aa
JM
7891
7892 [BZ #3866]
7893 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
7894 range of signed 64-bit integers before using fistpll. Remove
7895 checks for whether integers fit in mantissa bits.
7896 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
7897 the range of signed 32-bit integers before using fistpl. Remove
7898 checks for whether integers fit in mantissa bits.
7899 * sysdeps/i386/fpu/e_powl.S (p64): New object.
7900 (__ieee754_powl): Test for y outside the range of signed 64-bit
7901 integers before using fistpll. Reduce 64-bit values to 63-bit
7902 ones as needed.
7903 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
7904 divide-by-zero is raised for zero to large negative powers.
7905 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
7906 (__ieee754_powl): Test for y outside the range of signed 64-bit
7907 integers before using fistpll. Reduce 64-bit values to 63-bit
7908 ones as needed.
7909 * math/libm-test.inc (pow_test): Add more tests.
7910
eb96ffb0
L
79112012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7912
7913 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
7914 <stdio-common/_itoa.h>.
7915 * debug/segfault.c: Likewise.
7916 * elf/dl-cache.c: Likewise.
7917 * elf/dl-minimal.c: Likewise.
7918 * elf/dl-misc.c: Likewise.
7919 * elf/dl-sysdep.c: Likewise.
7920 * elf/dl-version.c: Likewise.
7921 * elf/rtld.c: Likewise.
7922 * hurd/hurdsock.c: Likewise.
7923 * hurd/lookup-retry.c: Likewise.
7924 * malloc/malloc.c: Likewise.
7925 * malloc/mtrace.c: Likewise.
7926 * nscd/nscd_getgr_r.c: Likewise.
7927 * nscd/nscd_getpw_r.c: Likewise.
7928 * nscd/nscd_getserv_r.c: Likewise.
7929 * posix/getopt_init.c: Likewise.
7930 * posix/wordexp.c: Likewise.
7931 * stdio-common/_itoa.c: Likewise.
7932 * stdio-common/printf_fphex.c: Likewise.
7933 * stdio-common/vfprintf.c: Likewise.
7934 * string/_strerror.c: Likewise.
7935 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7936 * sysdeps/i386/i686/hp-timing.h: Likewise.
7937 * sysdeps/mach/_strerror.c: Likewise.
7938 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
7939 * sysdeps/mach/hurd/sethostid.c: Likewise.
7940 * sysdeps/mach/hurd/xmknodat.c: Likewise.
7941 * sysdeps/mach/xpg-strerror.c: Likewise.
7942 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7943 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7944 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
7945 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
7946 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7947 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
7948 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7949 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7950 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
7951 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
7952 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
7953 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7954 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
7955 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7956 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7957 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
7958 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
7959 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
7960 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7961 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7962 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
7963
7964 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
7965
7966 * stdio-common/_itoa.h: Moved to ...
7967 * sysdeps/generic/_itoa.h: Here.
7968
7969 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
7970
7971 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
7972 instead of "_itoa.h" and "_itowa.h".
7973 * stdio-common/vfprintf.: Likewise.
7974
d1af992d
L
79752012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7976
7977 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
7978 <bits/wordsize.h>.
7979 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
7980 (__signbit): Likwise.
7981 (llrintf): Likwise.
7982 (llrint): Likwise.
7983
114883e0
L
79842012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7985
7986 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
7987 __WORDSIZE != 64.
7988
c135cc1b
JM
79892012-03-20 Joseph Myers <joseph@codesourcery.com>
7990
7991 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
7992 OVERFLOW_EXCEPTION_OK.
7993 * math/libm-test.inc ("Philosophy"): Update comment about
7994 exception testing.
7995 (OVERFLOW_EXCEPTION): Define.
7996 (OVERFLOW_EXCEPTION_OK): Likewise.
7997 (INVALID_EXCEPTION_OK): Renumber.
7998 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7999 (IGNORE_ZERO_INF_SIGN): Likewise.
8000 (test_exceptions): Handle FE_OVERFLOW.
8001 (exp10_test): Expect overflow exceptions.
8002 (exp2_test): Likewise.
8003 (expm1_test): Likewise.
8004 (nextafter_test): Likewise.
8005 (pow_test): Likewise.
8006 (scalbn_test): Likewise.
8007 (scalbln_test): Likewise.
8008
95443d88
L
80092012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8010
8011 * sysdeps/x86_64/bits/atomic.h
8012 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
8013 64bit integer.
8014 (atomic_exchange_acq): Likewise.
8015 (__arch_exchange_and_add_body): Likewise.
8016 (__arch_add_body): Likewise.
8017 (atomic_add_negative): Likewise.
8018 (atomic_add_zero): Likewise.
8019
490df6c4
L
80202012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8021
c2722551 8022 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
8023 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
8024
5e52b189
L
80252012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8026
8027 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
8028 Check __x86_64__ instead of __WORDSIZE.
8029
a9879d4c
L
80302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8031
8032 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
8033
5df98260
DM
80342012-03-19 David S. Miller <davem@davemloft.net>
8035
e1497744
DM
8036 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8037
5df98260
DM
8038 * sysdeps/sparc/fpu/fenv_private.h: New file.
8039 * sysdeps/sparc/fpu/math_private.h: Use it.
8040 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
8041 Remove.
8042 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
8043 (libc_feholdexcept_setroundl): Remove.
8044 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
8045 Remove.
8046 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
8047 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
8048
b4c35121
L
80492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8050
8051 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
8052 int64_t instead of long int.
8053 (INSERT_WORDS64): Likwise.
8054
56965fd7
L
80552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8056
8057 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
8058 _Unwind_GetCFA return to _Unwind_Ptr first.
8059
83d1aec8
JM
80602012-03-19 Joseph Myers <joseph@codesourcery.com>
8061
1897ad44
JM
8062 [BZ #13629]
8063 * math/s_clog.c: Include <float.h>.
8064 (__clog): Scale large or subnormal inputs.
8065 * math/s_clogf.c: Likewise.
8066 * math/s_clogl.c: Likewise.
8067 * math/s_clog10.c: Include <float.h>.
8068 (M_LOG10_2): Define.
8069 (__clog10): Scale large or subnormal inputs.
8070 * math/s_clog10f.c: Likewise.
8071 * math/s_clog10l.c: Likewise.
8072 * math/libm-test.inc (clog_test): Add more tests.
8073 (clog10_test): Likewise.
8074 * sysdeps/i386/fpu/libm-test-ulps: Update.
8075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8076
7726d6a9
JM
8077 [BZ #11451]
8078 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
8079 x and y.
8080 * math/libm-test.inc (atan2_test): Add another test.
8081
83d1aec8
JM
8082 * Makerules (common-objdir-compile): Remove.
8083 * sysdeps/unix/Makefile (config-generated): Do not add
8084 $(unix-generated) to variable.
8085 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
8086 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
8087 Remove rule.
8088 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
8089 Likewise.
8090 [generic bits/local_lim.h] (before-compile): Do not append to
8091 variable.
8092 [generic bits/local_lim.h] (common-generated): Likewise.
8093 [generic sys/param.h] (before-compile): Do not append to variable.
8094 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
8095 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
8096 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
8097 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
8098 include.
8099 [generic sys/param.h] (sys/param.h-includes): Remove variable.
8100 [generic sys/param.h] (sys/param.h-includes): Remove rule.
8101 [generic sys/param.h] ($(addprefix
8102 $(common-objpfx),$(sys/param.h-includes))): Likewise.
8103 [generic sys/param.h] (common-generated): Do not append to
8104 variable.
8105 [generic sys/param.h] (sysdep_headers): Likewise.
8106 [generic bits/errno.h] (before-compile): Do not append to
8107 variable.
8108 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
8109 rule.
8110 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
8111 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
8112 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
8113 [generic bits/errno.h] (common-generated): Do not append to
8114 variable.
8115 [generic bits/ioctls.h] (before-compile): Do not append to
8116 variable.
8117 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
8118 rule.
8119 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
8120 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
8121 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
8122 rule.
8123 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
8124 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
8125 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
8126 [generic bits/ioctls.h] (common-generated): Do not append to
8127 variable.
8128 [generic sys/syscall.h] (syscall.h): Remove variable.
8129 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
8130 rule.
8131 [generic sys/syscall.h] (before-compile): Do not append to
8132 variable.
8133 [generic sys/syscall.h] (common-generated): Likewise.
8134 * sysdeps/unix/errnos-tmpl.c: Remove file.
8135 * sysdeps/unix/errnos.awk: Likewise.
8136 * sysdeps/unix/ioctls-tmpl.c: Likewise.
8137 * sysdeps/unix/ioctls.awk: Likewise.
8138 * sysdeps/unix/mk-local_lim.c: Likewise.
8139 * sysdeps/unix/snarf-ioctls: Likewise.
8140
4851a949
RH
81412012-03-19 Richard Henderson <rth@twiddle.net>
8142
bd37f2ee
RH
8143 * sysdeps/i386/fpu/fenv_private.h: New file.
8144 * sysdeps/i386/fpu/math_private.h: Use it.
8145 (math_opt_barrier, math_force_eval): Remove.
8146 (libc_feholdexcept_setround_53bit): Remove.
8147 (libc_feupdateenv_53bit): Remove.
8148 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8149 (math_opt_barrier, math_force_eval): Remove.
8150 (libc_feholdexcept): Remove.
8151 (libc_feholdexcept_setround): Remove.
8152 (libc_fetestexcept, libc_fesetenv): Remove.
8153 (libc_feupdateenv_test): Remove.
8154 (libc_feupdateenv, libc_feholdsetround): Remove.
8155 (libc_feresetround): Remove.
8156
d0adc922
RH
8157 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
8158 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8159
0fe0f1f8
RH
8160 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
8161 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
8162 (libc_feupdateenv_testl): New.
8163 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
8164 (libc_feupdateenv_testf): New.
8165 (libc_feupdateenv): Use libc_feupdateenv_test.
8166 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
8167 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
8168
eb92c487
RH
8169 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
8170 (libc_feholdsetroundf, libc_feholdsetroundl): New.
8171 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
8172 (libc_feresetround_noex): New.
8173 (libc_feresetround_noexf): New.
8174 (libc_feresetround_noexl): New.
8175 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
8176 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
8177 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
8178 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
8179 SET_RESTORE_ROUND.
8180 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8181 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
8182 (__cos): Likewise.
8183 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
8184 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8185 SET_RESTORE_ROUND_NOEX.
8186 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
8187 SET_RESTORE_ROUND_NOEXF.
8188 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
8189 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
8190 (libc_feholdsetroundf): New.
8191 (libc_feresetround, libc_feresetroundf): New.
8192
7d2e8012
RH
8193 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
8194 (libc_feholdexcept_setround_53bit): Convert from macro to function.
8195 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
8196
b4dabbb4
RH
8197 * sysdeps/generic/math_private.h: Include <fenv.h>.
8198 (default_libc_feholdexcept): New.
8199 (default_libc_feholdexcept_setround): New.
8200 (default_libc_fesetenv, default_libc_feupdateenv): New.
8201 (libc_feholdexcept): Only define if undefined.
8202 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
8203 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
8204 (libc_feholdexcept_setroundl): Likewise.
8205 (libc_feholdexcept_setround_53bit): Likewise.
8206 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
8207 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
8208 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
8209 (libc_feupdateenv_53bit): Likewise.
8210 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
8211 (libc_feholdexcept): Convert from macro to inline function.
8212 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
8213 (libc_fesetenv, libc_feupdateenv): Likewise.
8214
4851a949
RH
8215 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
8216 not previously defined.
8217 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
8218 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
8219 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
8220 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
8221 * sysdeps/ieee754/flt-32/math_private.h: New file.
8222 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
8223 math_private.h below SET_FLOAT_WORD.
8224 (__isnan, __isinf_ns, __finite): Remove.
8225 (__isnanf, __isinf_nsf, __finitef): Remove.
8226
e79d442e
AS
82272012-03-18 Andreas Schwab <schwab@linux-m68k.org>
8228
8229 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8230
90b80344
DM
82312012-03-17 David S. Miller <davem@davemloft.net>
8232
8233 [BZ #6471]
8234 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
8235 for 2.16.
8236
edc21804
DM
82372012-03-16 David S. Miller <davem@davemloft.net>
8238
77e927af
DM
8239 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
8240 warnings.
8241
374976dd
DM
8242 [BZ #6471]
8243 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
8244 properly.
8245 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
8246 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
8247 sysdep_routines when subdir is sysvipc.
8248 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
8249 __getshmlba helper.
8250
edc21804
DM
8251 * sysdeps/sparc/fpu/libm-test/ulps: Update.
8252
473c3ef3
L
82532012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8254
8255 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
8256 [__LP64__].
8257
eb0f39b6
L
82582012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8259
8260 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
8261 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
8262 (__lround): Renamed to ...
8263 (__llround): This. Replace long int with long long int.
8264 Define lround functions as aliases of llround functions.
8265 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
8266
6b6cd74b
L
82672012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8268
8269 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
8270 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
8271 adresses to uintptr_t. Replace "long int" and "unsigned long
8272 int" with "greg_t" on va_arg.
8273
f1a77b01
L
82742012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8275
8276 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
8277 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
8278
8279 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
8280 Move e_machine check before EI_CLASS check. Handle x32
8281 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
8282 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
8283 SKIP_EM_IA_64 and include
8284 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
8285
8286 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
8287 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
8288 (add_system_dir): New macro.
8289
8290 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
8291 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
8292
11b90b9f
JM
82932012-03-16 Joseph Myers <joseph@codesourcery.com>
8294
c36e1d23
JM
8295 [BZ #2551]
8296 [BZ #2552]
8297 [BZ #2553]
8298 [BZ #2554]
8299 [BZ #2562]
8300 [BZ #2563]
8301 [BZ #2565]
8302 [BZ #2566]
8303 [BZ #2576]
8304 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
8305 (y0): Likewise.
8306 * math/w_j0f.c (j0f): Likewise.
8307 (y0f): Likewise.
8308 * math/w_j0l.c (__j0l): Likewise.
8309 (__y0l): Likewise.
8310 * math/w_j1.c (j1): Likewise.
8311 (y1): Likewise.
8312 * math/w_j1f.c (j1f): Likewise.
8313 (y1f): Likewise.
8314 * math/w_j1l.c (__j1l): Likewise.
8315 (__y1l): Likewise.
8316 * math/w_jn.c (jn): Likewise.
8317 (yn): Likewise.
8318 * math/w_jnf.c (jnf): Likewise.
8319 (ynf): Likewise.
8320 * math/w_jnl.c (__jnl): Likewise.
8321 (__ynl): Likewise.
8322 * math/libm-test.inc (j0_test): Add more tests.
8323 (j1_test): Likewise.
8324 (jn_test): Likewise. Add trailing semicolon to existing test.
8325 (y0_test): Likewise.
8326 (y1_test): Likewise.
8327 * sysdeps/i386/fpu/libm-test-ulps: Update.
8328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8329
11b90b9f
JM
8330 [BZ #13851]
8331 [BZ #13854]
8332 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8333 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8334 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8335 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8336 (__tanl): Set errno for infinite argument.
8337 * sysdeps/i386/fpu/mptan.c: Remove.
8338 * sysdeps/i386/fpu/s_tan.S: Likewise.
8339 * sysdeps/i386/fpu/s_tanl.S: Likewise.
8340 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8341 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8342 * math/libm-test.inc (tan_test): Add more tests and enable more
8343 tests for double and long double.
8344 * sysdeps/i386/fpu/libm-test-ulps: Update.
8345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8346
6a1bd2a1
JK
83472012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8348
8349 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8350 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8351
10a803e0
RM
83522012-03-16 Roland McGrath <roland@hack.frob.com>
8353
8354 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8355 * configure.in: Use it for both main tree and add-ons.
8356 * configure: Regenerated.
8357
f196c7f7
L
83582012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8359
8360 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8361
8848d99d
JM
83622012-03-16 Joseph Myers <joseph@codesourcery.com>
8363
96cbe7f4
JM
8364 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8365 in comment.
8366
8848d99d
JM
8367 [BZ #13851]
8368 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8369 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8370 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8371 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8372 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8373 infinite argument.
8374 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8375 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8376 != 0 for prec == 2.
8377 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8378 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8379 * sysdeps/i386/fpu/s_cosl.S: Likewise.
8380 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8381 * sysdeps/i386/fpu/s_sinl.S: Likewise.
8382 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8383 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8384 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8385 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8386 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8387 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8388 * math/libm-test.inc (cos_test): Add more tests and enable more
8389 tests for long double.
8390 (sin_test): Likewise.
8391 (sincos_test): Likewise.
8392 * sysdeps/i386/fpu/libm-test-ulps: Update.
8393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8394
dd7f4703
DM
83952012-03-16 David S. Miller <davem@davemloft.net>
8396
8397 * sysdeps/sparc/fpu/math_private.h: New file.
8398
006f1daa
DM
83992012-03-15 David S. Miller <davem@davemloft.net>
8400
c0c83bc8
DM
8401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8402 file.
e6a62e18 8403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
8404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8405 file.
e6a62e18
DM
8406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
8407 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
8408 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
8409 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
8410 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
8411 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
8412 sysdep routines.
8413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8414
88cb87d9
DM
8415 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
8416 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
8417
006f1daa 8418 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
8419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
8420 sparc-ifunc.h
006f1daa 8421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
8422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8423 Likewise.
8424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8425 Likewise.
006f1daa
DM
8426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
8427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
8429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8430 Likewise.
006f1daa
DM
8431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
8435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
8436 Likewise.
8437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
8438 Likewise.
006f1daa
DM
8439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
8441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8443 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8444 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8445 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
8446 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
8447 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8448 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8449 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8450 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8451 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8452 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8453 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
8454 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
8455 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
8456 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
8457 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
8458 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
8459 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
8460 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
8461 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
8462 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
8463
11e0098e
AS
84642012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8465
8466 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
8467 scaling.
8468 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8469
e85b09d0
AJ
84702012-03-15 Andreas Jaeger <aj@suse.de>
8471
8472 [BZ #13852]
8473 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
8474 ieee754/flt-32 implementation for sin, cos and sincos.
8475 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
8476 * sysdeps/i386/fpu/s_cosf.S: Likewise.
8477 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
8478 * sysdeps/i386/fpu/s_sinf.S: Likewise.
8479 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
8480 ieee754/flt-32 implementation for tan.
8481
8482 * math/libm-test.inc (cos_test): Enable some large input tests for
8483 float as well
8484 (sin_test): Likewise.
8485 (sincos_test): Likewise.
8486 (tan_test): Add tests for large input.
8487
8488 * sysdeps/i386/fpu/libm-test-ulps: Update.
8489
81c64153
AJ
84902012-03-15 Andreas Jaeger <aj@suse.de>
8491
8492 [BZ #13658]
8493 * math/libm-test.inc (cos_test): Add more test cases.
8494 (sin_test): Likewise.
8495 (sincos_test): Likewise.
8496
7bbfa5c6
AJ
84972012-03-15 Andreas Jaeger <aj@suse.de>
8498
8499 [BZ #13837]
8500 * math/libm-test.inc (cos_test): Add a test case for large input
8501 value.
8502 (sin_test): Likewise.
8503 (sincos_test): Likewise.
8504
85052012-03-15 Andreas Jaeger <aj@suse.de>,
8506 Joseph Myers <joseph@codesourcery.com>
8507
8508 [BZ #13658]
0671f479 8509 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
8510 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
8511 * sysdeps/i386/fpu/branred.c: Likewise.
8512 * sysdeps/i386/fpu/dosincos.c: Likewise.
8513 * sysdeps/i386/fpu/mpa.c: Likewise.
8514 * sysdeps/i386/fpu/s_cos.S: Likewise.
8515 * sysdeps/i386/fpu/s_sin.S: Likewise.
8516 * sysdeps/i386/fpu/s_sincos.S: Likewise.
8517 * sysdeps/i386/fpu/sincos32.c: Likewise.
8518
8519 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
8520 Define.
8521 (libc_feupdateenv_53bit): Define.
8522 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
8523 Define.
8524 (libc_feupdateenv_53bit): Define.
8525
8526 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
8527 53 bit (without extend i386 double precision).
8528
8529 * math/libm-test.inc (sincos_test): Add tests for large input.
8530 (sin): Likewise.
8531 (cos): Likewise.
8532
8533 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8534
9cad04ea
AS
85352012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8536
8537 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8538
f7062b9a
DM
85392012-03-15 David S. Miller <davem@davemloft.net>
8540
8541 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
8542 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
8543 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
8544 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
8545 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
8546 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
8547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
8548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
8549 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
8550 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
8551 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
8552 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
8553 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
8554 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
8555 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
8556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
8557 file.
f7062b9a 8558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
8559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
8560 file.
f7062b9a 8561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
8562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
8563 file.
f7062b9a 8564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
8565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
8566 file.
f7062b9a
DM
8567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
8568 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
8569 fmin/fmax sysdep routines.
8570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8571
7bd951ff
DM
85722012-03-14 David S. Miller <davem@davemloft.net>
8573
559398ab
DM
8574 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
8575 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
8576 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
8577 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
8578 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
8579 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
8580 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
8581 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
8582 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
8583 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
8584 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
8585 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
8586 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
8587 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
8588 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
8589 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
8590 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
8591 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
8592 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
8593 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
8594 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
8595 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
8596 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
8597 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
8598 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
8599 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
8600 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
8601 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
8602 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
8603 routines.
8604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
8605 file.
559398ab 8606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
8607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
8608 file.
559398ab 8609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
8610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
8611 file.
559398ab 8612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
8613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
8614 file.
559398ab 8615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
8616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
8617 file.
559398ab 8618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
8619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
8620 file.
8621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
8622 file.
8623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
8624 file.
8625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
8626 file.
8627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
8628 New file.
8629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
8630 file.
8631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
8632 file.
559398ab 8633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
8634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
8635 file.
559398ab 8636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
8637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
8638 file.
559398ab 8639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
8640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
8641 file.
559398ab 8642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
8643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
8644 VIS3 routines.
559398ab
DM
8645
8646 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8647 New file.
8648
5a1c1e32
DM
8649 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8650
eae47a36
DM
8651 * sysdeps/sparc/configure.in: New file.
8652 * sysdeps/sparc/configure: Generate.
8653 * configure.in (libc_cv_sparc_as_vis3): Substitute.
8654 * configure: Regenerate.
8655 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
8656 * config.make.in (have-as-vis3): New.
8657 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
8658 available use -Av9d instead of -Av9a.
8659 * sysdeps/sparc/sparc64/Makefile: Likewise.
8660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
8661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
8662 New file.
8663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
8664 file.
8665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
8666 New file.
8667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
8668 file.
eae47a36
DM
8669 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
8670 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
8671 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
8672 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
8673 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
8674
c0c83bc8
DM
8675 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
8676 fzeros/fnegs to load 0x80000000 into a float register instead of
8677 using the stack.
7bd951ff
DM
8678 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
8679
bd951ccb
JM
86802012-03-14 Joseph Myers <joseph@codesourcery.com>
8681
8682 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8683 bits/syscall.h.
8684 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
8685 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
8686 ($(inst_includedir)/bits/syscall.h): Remove rule.
8687 ($(objpfx)bits/syscall.d): Include instead of
8688 $(objpfx)syscall-list.d.
8689 (generated): Change syscall-list.h and syscall-list.d to
8690 bits/syscall.h and bits/syscall.d.
8691
bb4e6db2
RM
86922012-03-14 Roland McGrath <roland@hack.frob.com>
8693
8694 [BZ #13846]
8695 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
8696
aa4a2ae1
JM
86972012-03-14 Joseph Myers <joseph@codesourcery.com>
8698
e456826d
JM
8699 [BZ #13841]
8700 * math/s_csqrt.c: Include <float.h>.
8701 (__csqrt): Scale large or subnormal inputs.
8702 * math/s_csqrtf.c: Likewise.
8703 * math/s_csqrtl.c: Likewise.
8704 * math/libm-test.inc (csqrt_test): Add more tests.
8705 * sysdeps/i386/fpu/libm-test-ulps: Update.
8706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8707
aa4a2ae1
JM
8708 [BZ #13840]
8709 * math/libm-test.inc (hypot_test): Add more tests.
8710
7c10fd35
DM
87112012-03-13 David S. Miller <davem@davemloft.net>
8712
8713 [BZ #13840]
8714 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
8715 double-precision for the calculation instead of scaling.
8716
f453b98b
JM
87172012-03-13 Joseph Myers <joseph@codesourcery.com>
8718
8719 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
8720 manipulate bits before adding and subtracting TWO52[sx].
8721 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
8722 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8723 Likewise.
8724 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
8725
09a3453f
DM
87262012-03-13 David S. Miller <davem@davemloft.net>
8727
8e59da90
DM
8728 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
8729 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
8730 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
8731 rtld-global-offsets.h
8732 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8733
2a8ab7f2
DM
8734 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
8735 large parameters.
8736
10f62770
DM
8737 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
8738
5f0bdb18
DM
8739 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
8740 'err' in the ifdef scope in which it is actually used.
8741
09a3453f
DM
8742 * nss/nss_db/db-init.c: Include string.h
8743
b4b2eb5e
DM
87442012-03-12 David S. Miller <davem@davemloft.net>
8745
98bb2f1c
DM
8746 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8747 masking out of the most significant byte of random value used.
8748 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8749 Fix coding style in previous change.
8750
b4b2eb5e
DM
8751 * sysdeps/unix/sysv/linux/kernel-features.h
8752 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
8753 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
8754 expression.
8755 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
8756 later.
8757
6e226b09
DM
87582012-03-11 David S. Miller <davem@davemloft.net>
8759
a1bcbd40
DM
8760 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8761 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
8762 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
8763 for 'resultvar' otherwise things get truncated on 64-bit.
8764
cb9d6174
DM
8765 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8766 Fix masking out of the most significant byte of random value used.
8767
6e226b09
DM
8768 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8769
058c132d
AS
87702012-03-10 Andreas Schwab <schwab@linux-m68k.org>
8771
8772 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8773
2d2cd515
DM
87742012-03-09 David S. Miller <davem@davemloft.net>
8775
8776 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
8777 variables with appropriate CPP guards.
8778 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
8779 frame pointer, not the stack pointer. Correct layout comments. Fix test
8780 on resulting framesize and the management of the outregs buffer for pltexit.
8781 Preserve floating point return values across _dl_call_pltexit call.
8782 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
8783 framesize and the management of the outregs buffer for pltexit.
8784 Preserve floating point return values across _dl_call_pltexit
8785 call.
8786 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
8787 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
8788 (print_exit): Fix format string for return register value.
8789
9a07f9d0
JM
87902012-03-10 Joseph Myers <joseph@codesourcery.com>
8791
8792 * sunrpc/Makefile (others): Add rpcgen.
8793 ($(objpfx)rpcgen): Remove special build rule and dependency on
8794 libc.
8795 * sunrpc/rpcgen.c: New file.
8796
547b5e30
PE
87972012-03-09 Paul Eggert <eggert@cs.ucla.edu>
8798
c524201a
PE
8799 [BZ #13673]
8800 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
8801 * stdio-common/bug-vfprintf-nargs.c: Likewise.
8802 * sysdeps/i386/crti.S: Likewise.
8803 * sysdeps/i386/crtn.S: Likewise.
8804 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
8805 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
8806 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
8807 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
8808 * sysdeps/sh/crti.S: Likewise.
8809 * sysdeps/sh/crtn.S: Likewise.
8810 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8811
7b6235f2
PE
8812 [BZ #13673]
8813 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
8814 with URL.
8815 * locale/programs/locfile-kw.gperf: Likewise.
8816 * locale/programs/charmap-kw.h: Regenerated.
8817 * locale/programs/locfile-kw.h: Likewise.
8818
547b5e30
PE
8819 [BZ #13673]
8820 * intl/plural.y: Replace FSF snail mail address with URL.
8821 * intl/plural.c: Regenerated.
8822
5f0a5dae
RH
88232012-03-09 Richard Henderson <rth@twiddle.net>
8824
8825 * include/math_private.h: Remove file.
8826 * math/math_private.h: Move file ...
8827 * sysdeps/generic/math_private.h: ... here.
8828
b8c03620
RH
8829 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
8830 * sysdeps/powerpc/fpu/math_private.h: Likewise.
8831 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8832
4e234f5d 8833 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
8834 and <math_private.h>.
8835 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8836 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8837 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8838 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8839 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8840 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
8841 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8842 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8843 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8844 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8845 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8846 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8847 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8848 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8849 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8850 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8851 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8852 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8853 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8854 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8855 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8856 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8857 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8858 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8859 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8860 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8861 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8862 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8863 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8864 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8865 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8866 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8867 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8868 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8869 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8870 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8871 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8872 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8873 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8874 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8875 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
8876 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8877 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8878 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8879 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8880 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8881 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8882 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8883 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8884 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8885 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8886 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8887 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8888 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8889 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8890 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8891 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8892 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8893 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8894 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
8895 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8896 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8897 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8898 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8899 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8900 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8901 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8902 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8903 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
8904 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
8905 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8906 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8907 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8908 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8909 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
8910 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8911 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
8912 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8913 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
8914 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8915 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8916 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8917 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8918 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8919 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8920 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8921 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
8922 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8923 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8924 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8925 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8926 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8927 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8928 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8929 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8930 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8931 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8932 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8933 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8934 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8935 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8936 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8937 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8938 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8939 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8940 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8941 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8942 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8943 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8944 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8945 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8946 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8947 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8948 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8949 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8950 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8951 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8952 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8953 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8954 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8955 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8956 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8957 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8958 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
8959 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8960 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8961 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8962 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
8963 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8964 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8965 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8966 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8967 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8968 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8969 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8970 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8971 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8972 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8973 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
8974 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8975 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8976 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8977 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8978 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
8979 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
8980 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8981 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8982 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8983 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8984 * sysdeps/ieee754/k_standard.c: Likewise.
8985 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8986 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8987 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8988 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8989 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8990 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8991 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8992 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8993 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8994 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8995 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8996 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8997 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8998 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8999 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9000 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9001 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9002 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9003 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9004 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9005 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9006 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9007 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9008 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9009 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9010 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9011 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9012 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9013 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9014 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9015 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9016 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9017 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9018 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9019 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9020 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9021 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9022 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
9023 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9024 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9025 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9026 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9027 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9028 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9029 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9030 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9031 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9032 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9033 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9034 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9035 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9036 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9037 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9038 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9039 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9040 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9041 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
9042 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9043 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9044 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9045 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9046 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9047 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9048 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9049 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9050 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9051 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9052 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9053 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9054 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9055 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9056 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9057 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9058 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9059 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9060 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9061 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
9062 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9063 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9064 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9065 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9066 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9067 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9068 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9069 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9070 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9071 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9072 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9073 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9074 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9075 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
9076 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9077 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9078 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9079 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9080 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9081 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
9082 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9083 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9084 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
9085 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9086 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9087 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9088 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9089 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
9090 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9091 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9092 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9093 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
9094 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9095 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9096 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9097 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9098 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9099 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9100 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9101 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9102 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9103 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9104 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9105 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9106 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9107 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9108 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9109 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9110 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9111 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9112 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9113 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9114 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9115 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9116 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9117 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9118 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9119 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9120 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9121 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
9122 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9123 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9124 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9125 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9126 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9127 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9128 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9129 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9130 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9131 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9132 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9133 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9134 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
9135 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9136 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9137 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9138 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9139 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
9140 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
9141 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9142 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9143 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9144 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9145 * sysdeps/ieee754/s_lib_version.c: Likewise.
9146 * sysdeps/ieee754/s_matherr.c: Likewise.
9147 * sysdeps/ieee754/s_signgam.c: Likewise.
9148 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9149 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9150 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9151 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9152 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9153 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9154 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
9155 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
9156 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
9157 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9158 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9159 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9160 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9161 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9162 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
9163 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9164 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9165 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9166 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9167 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9168 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 9169
1991fa03
JM
91702012-03-09 Joseph Myers <joseph@codesourcery.com>
9171
9172 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
9173 * sunrpc/rpc_main.c: Likewise.
9174 * sunrpc/rpc_svcout.c: Likewise.
9175
60d6f5a6
DM
91762012-03-09 David S. Miller <davem@davemloft.net>
9177
9178 * include/math_private.h: New file.
9179
4962050e
JM
91802012-03-09 Joseph Myers <joseph@codesourcery.com>
9181
02a6f887
JM
9182 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
9183 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
9184 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
9185 from <bits/socket_type.h>.
9186 (enum __socket_type): Don't define here.
9187 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
9188 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9189 bits/socket_type.h.
9190
c6e013c1
JM
9191 [BZ #13566]
9192 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
9193 checking __USE_GNU.
9194
4962050e
JM
9195 * Makerules ($(inst_includedir)/%.h): New rule.
9196 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
9197 (install-others): Remove variable setting.
9198 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
9199
38842f45
RH
92002012-03-08 Richard Henderson <rth@twiddle.net>
9201
67bb6da6
RH
9202 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
9203 from macro to inline function; merge with the
9204 !__LIBC_INTERNAL_MATH_INLINES version.
9205 (__ieee754_sqrtf): Likewise.
9206
15194b4b
RH
9207 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
9208 to inline function.
9209 (__rintf, __floor, __floorf): Likewise.
9210
64e21ede
RH
9211 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
9212 macro to inline function.
9213 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
9214
38842f45
RH
9215 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
9216 not <math/math_private.h>.
9217
c64bf5fe
DM
92182012-03-08 David S. Miller <davem@davemloft.net>
9219
9220 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
9221 copyright year.
9222 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9223
82d86f28
TS
92242012-03-08 Thomas Schwinge <thomas@codesourcery.com>
9225
9226 * resolv/gai_misc.c (handle_requests): Fix struct timespec
9227 normalization.
9228 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
9229 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9230
aea5d727
UD
92312012-03-08 Ulrich Drepper <drepper@gmail.com>
9232
9233 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
9234 be defined individually, they must be defined as a block. Define
9235 S for printing a string instead of hidint the different by using a
9236 macro for adding the 'l'.
9237 * stdio-common/tst-fphex-wide.c: Adjust.
9238
70bca0a3
MP
92392012-03-07 Marek Polacek <polacek@redhat.com>
9240
9241 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
9242
65b81130
MP
92432012-03-08 Marek Polacek <polacek@redhat.com>
9244
9245 [BZ #13806]
9246 * stdio-common/Makefile (tests): Add tst-fphex-wide.
9247 * stdio-common/tst-fphex.c: Define a few macros to make the
9248 test reusable. Use them.
9249 * stdio-common/tst-fphex-wide.c: New file.
9250
07037eeb
JM
92512012-03-08 Joseph Myers <joseph@codesourcery.com>
9252
a7a93d50
JM
9253 [BZ #6911]
9254 * manual/macros.texi (gnusystems): New macro.
9255 (nongnusystems): Likewise.
9256 (gnulinuxhurdsystems): Likewise.
9257 (gnuhurdsystems): Likewise..
9258 (gnulinuxsystems): Likewise.
9259 * manual/charset.texi: Use new macros or @theglibc{} to refer to
9260 variants of the GNU system, not "GNU system".
9261 * manual/conf.texi: Likewise.
9262 * manual/errno.texi: Likewise. Update example of errno macro
9263 expansion.
9264 * manual/filesys.texi: Likewise.
9265 (getumask): Document as specific to GNU/Hurd.
9266 * manual/install.texi: Likewise. Reword some references to
9267 GNU/Linux.
9268 * manual/intro.texi: Likewise.
9269 * manual/io.texi: Likewise.
9270 (File Name Portability): Detail which constraints are inapplicable
9271 to all GNU systems and which are only inapplicable to GNU/Hurd.
9272 * manual/job.texi: Likewise.
9273 * manual/llio.texi: Likewise.
9274 (O_NOCTTY): Document as present on GNU/Linux.
9275 * manual/maint.texi: Likewise.
9276 * manual/memory.texi: Likewise.
9277 * manual/pattern.texi: Likewise.
9278 * manual/pipe.texi: Likewise.
9279 * manual/process.texi: Likewise.
9280 * manual/resource.texi: Likewise.
9281 (RUSAGE_CHILDREN): Remove statement about specifying a particular
9282 child on GNU/Hurd.
9283 * manual/setjmp.texi: Likewise.
9284 * manual/signal.texi: Likewise.
9285 * manual/startup.texi: Likewise.
9286 * manual/stdio.texi: Likewise.
9287 * manual/terminal.texi: Likewise.
9288 (ONLCR): Document as POSIX.
9289 (OXTABS): Document availability on GNU/Linux as XTABS.
9290 (ONOEOT): Document availability separately from other bits.
9291 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
9292 * manual/time.texi: Likewise.
9293 * manual/users.texi: Likewise.
9294 * INSTALL: Regenerated.
9295 * sysdeps/gnu/errlist.c: Regenerated.
9296
07037eeb
JM
9297 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
9298 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
9299 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
9300 puts.
9301 * configure: Regenerated.
9302
d1d3431a
JM
93032012-03-07 Joseph Myers <joseph@codesourcery.com>
9304
af6a1e37
JM
9305 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
9306 default includes instead of AC_HEADER_CHECK.
9307 * sysdeps/i386/configure: Regenerated.
9308
d1d3431a
JM
9309 [BZ #10716]
9310 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
9311 * math/s_cacoshf.c (__cacoshf): Likewise.
9312 * math/s_cacoshl.c (__cacoshl): Likewise.
9313 * math/s_casinh.c (__casinh): Set signs of result from argument.
9314 * math/s_casinhf.c (__casinhf): Likewise.
9315 * math/s_casinhl.c (__casinhl): Likewise.
9316 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9317 (casinh_test): Add more tests.
9318 * sysdeps/i386/fpu/libm-test-ulps: Update.
9319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9320
482ff4da
UD
93212012-03-07 Ulrich Drepper <drepper@gmail.com>
9322
872fda05
UD
9323 * po/zh_TW.po: Update from translation team.
9324
a4300c7a
UD
9325 * login/Makefile (distribute): Remove variable.
9326 * catgets/Makefile: Likewise.
9327 * mach/Makefile: Likewise.
9328 * malloc/Makefile: Likewise.
9329 * misc/Makefile: Likewise.
9330 * iconv/Makefile: Likewise.
9331 * nscd/Makefile: Likewise.
9332 * hurd/Makefile: Likewise.
9333 * manual/Makefile: Likewise.
9334 * locale/Makefile: Likewise.
9335 * intl/Makefile: Likewise.
9336 * conform/Makefile: Likewise.
9337 * nss/Makefile: Likewise.
9338 * time/Makefile: Likewise.
9339 * soft-fp/Makefile: Likewise.
9340 * dirent/Makefile: Likewise.
9341 * gmon/Makefile: Likewise.
9342 * po/Makefile: Likewise.
9343 * rt/Makefile: Likewise.
9344 * socket/Makefile: Likewise.
9345 * math/Makefile: Likewise.
9346 * signal/Makefile: Likewise.
9347 * debug/Makefile: Likewise.
9348 * elf/Makefile: Likewise.
9349 * timezone/Makefile: Likewise.
9350 * stdlib/Makefile: Likewise.
9351 * iconvdata/Makefile: Likewise.
9352 * sunrpc/Makefile: Likewise.
9353 * io/Makefile: Likewise.
9354 * argp/Makefile: Likewise.
9355 * inet/Makefile: Likewise.
9356 * hesiod/Makefile: Likewise.
9357 * grp/Makefile: Likewise.
9358 * csu/Makefile: Likewise.
9359 * wctype/Makefile: Likewise.
9360 * crypt/Makefile: Likewise.
9361 * libio/Makefile: Likewise.
9362 * string/Makefile: Likewise.
9363 * nis/Makefile: Likewise.
9364 * resolv/Makefile: Likewise.
9365 * stdio-common/Makefile: Likewise.
9366 * wcsmbs/Makefile: Likewise.
9367 * dlfcn/Makefile: Likewise.
9368 * posix/Makefile: Likewise.
9369
3b7c4e74 9370 [BZ #6959]
482ff4da
UD
9371 * timezone/Makefile: Don't install timezone files, just the programs
9372 and scripts.
9373
f72ed77d
UD
93742012-03-06 Ulrich Drepper <drepper@gmail.com>
9375
a000466f
UD
9376 * nss/databases.def: Add missing gshadow entry.
9377
f72ed77d
UD
9378 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
9379
a53b7a4e
MP
93802012-03-06 Marek Polacek <polacek@redhat.com>
9381
9382 [BZ #13726]
9383 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9384 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9385 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9386 * stdio-common/tst-long-dbl-fphex.c: New file.
9387
e9258400
DM
93882012-03-06 David S. Miller <davem@davemloft.net>
9389
9390 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9391 (set_obp_int): New function.
9392 (get_obp_int): New function.
9393 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
9394 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9395 Avoid unused variable warnings on 'val' and use builtin_expect.
9396 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9397 __builtin_expect.
e9258400
DM
9398 (INLINE_CLONE_SYSCALL): Likewise.
9399
3bd2c723
DM
94002012-03-05 David S. Miller <davem@davemloft.net>
9401
9402 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9403
bbb78d03
AS
94042012-03-05 Andreas Schwab <schwab@linux-m68k.org>
9405
884c5db4
AS
9406 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9407
bbb78d03
AS
9408 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
9409 only for |x| >= 40.
9410 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9411
1c9f702a 94122012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
9413
9414 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
9415 Replace gettimeofday with __vdso_gettimeofday.
9416
7be16f82
RM
9417 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9418 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
9419 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
9420
9421 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
9422 time with __vdso_time.
9423
ed58a00f
JM
94242012-03-05 Joseph Myers <joseph@codesourcery.com>
9425
9426 * manual/lang.texi (size_t): Note types to which size_t may be
9427 equivalent with the GNU C Library, but do not describe when
9428 differences between them are significant.
9429
30ee4ced
AJ
94302012-03-05 Andreas Jaeger <aj@suse.de>
9431
9432 * sysdeps/i386/fpu/libm-test-ulps: Update.
9433
b7cd39e8
JM
94342012-03-05 Joseph Myers <joseph@codesourcery.com>
9435
9436 [BZ #3976]
9437 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
9438 (__ieee754_pow): Save and restore rounding mode and use
9439 round-to-nearest for main computations.
9440 * math/libm-test.inc (pow_test_tonearest): New function.
9441 (pow_test_towardzero): Likewise.
9442 (pow_test_downward): Likewise.
9443 (pow_test_upward): Likewise.
9444 (main): Call the new functions.
9445 * sysdeps/i386/fpu/libm-test-ulps: Update.
9446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
9447
9448 [BZ #3976]
9449 * math/libm-test.inc (cosh_test_tonearest): New function.
9450 (cosh_test_towardzero): Likewise.
9451 (cosh_test_downward): Likewise.
9452 (cosh_test_upward): Likewise.
9453 (sinh_test_tonearest): Likewise.
9454 (sinh_test_towardzero): Likewise.
9455 (sinh_test_downward): Likewise.
9456 (sinh_test_upward): Likewise.
9457 (main): Call the new functions.
9458 * sysdeps/i386/fpu/libm-test-ulps: Update.
9459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9460
6c6a98c9
TV
94612012-03-05 Tom de Vries <tom@codesourcery.com>
9462
9463 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
9464 default stack guard is set in last bytes.
9465 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
9466
21bb2d2e 94672012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 9468
21bb2d2e 9469 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 9470
21bb2d2e
AJ
9471 [BZ #13656]
9472 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
9473 possibly allocate from heap instead of stack.
9474 * stdio-common/bug-vfprintf-nargs.c: New file.
9475 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 9476
c6922934
AS
94772012-03-03 Andreas Schwab <schwab@linux-m68k.org>
9478
9479 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9480
bc957d53
MP
94812012-03-03 Marek Polacek <polacek@redhat.com>
9482
9483 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
9484 * math/math_private.h: Likewise.
9485 * stdlib/tst-strtod.c: Likewise.
9486 * sysdeps/i386/i486/bits/atomic.h: Likewise.
9487 * sysdeps/x86_64/bits/atomic.h: Likewise.
9488
6358490d
DM
94892012-03-02 David S. Miller <davem@davemloft.net>
9490
9491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
9492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
9493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
9494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
9495 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
9496 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
9497 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
9498 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
9499
01ae168d
RM
95002012-03-02 Roland McGrath <roland@hack.frob.com>
9501
d9a17c07
RM
9502 [BZ #13792]
9503 * manual/examples/README: New file, says the example source files
9504 can be used under GPL>=2.
9505 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
9506 line containing just "*/".
9507 * manual/examples/add.c: Add copyright header (GPL>=2).
9508 * manual/examples/argp-ex1.c: Likewise.
9509 * manual/examples/argp-ex2.c: Likewise.
9510 * manual/examples/argp-ex3.c: Likewise.
9511 * manual/examples/argp-ex4.c: Likewise.
9512 * manual/examples/atexit.c: Likewise.
9513 * manual/examples/db.c: Likewise.
9514 * manual/examples/dir.c: Likewise.
9515 * manual/examples/dir2.c: Likewise.
9516 * manual/examples/execinfo.c: Likewise.
9517 * manual/examples/filecli.c: Likewise.
9518 * manual/examples/filesrv.c: Likewise.
9519 * manual/examples/fmtmsgexpl.c: Likewise.
9520 * manual/examples/genpass.c: Likewise.
9521 * manual/examples/inetcli.c: Likewise.
9522 * manual/examples/inetsrv.c: Likewise.
9523 * manual/examples/isockad.c: Likewise.
9524 * manual/examples/longopt.c: Likewise.
9525 * manual/examples/memopen.c: Likewise.
9526 * manual/examples/memstrm.c: Likewise.
9527 * manual/examples/mkfsock.c: Likewise.
9528 * manual/examples/mkisock.c: Likewise.
9529 * manual/examples/mygetpass.c: Likewise.
9530 * manual/examples/pipe.c: Likewise.
9531 * manual/examples/popen.c: Likewise.
9532 * manual/examples/rprintf.c: Likewise.
9533 * manual/examples/search.c: Likewise.
9534 * manual/examples/select.c: Likewise.
9535 * manual/examples/setjmp.c: Likewise.
9536 * manual/examples/sigh1.c: Likewise.
9537 * manual/examples/sigusr.c: Likewise.
9538 * manual/examples/stpcpy.c: Likewise.
9539 * manual/examples/strdupa.c: Likewise.
9540 * manual/examples/strftim.c: Likewise.
9541 * manual/examples/strncat.c: Likewise.
9542 * manual/examples/subopt.c: Likewise.
9543 * manual/examples/swapcontext.c: Likewise.
9544 * manual/examples/termios.c: Likewise.
9545 * manual/examples/testopt.c: Likewise.
9546 * manual/examples/testpass.c: Likewise.
9547 * manual/examples/timeval_subtract.c: Likewise.
9548
01ae168d
RM
9549 [BZ #13792]
9550 * manual/time.texi (Elapsed Time): Move timeval_subtract example
9551 function to ...
9552 * manual/timeval_subtract.c.texi: ... here, new file.
9553
49efa33d
DM
95542012-03-02 David S. Miller <davem@davemloft.net>
9555
9556 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
9557
28afd92d
JM
95582012-03-02 Joseph Myers <joseph@codesourcery.com>
9559
804360ed
JM
9560 [BZ #3976]
9561 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
9562 (__sin): Save and restore rounding mode and use round-to-nearest
9563 for all computations.
9564 (__cos): Save and restore rounding mode and use round-to-nearest
9565 for all computations.
9566 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
9567 <fenv.h>.
9568 (tan): Save and restore rounding mode and use round-to-nearest for
9569 all computations.
9570 * math/libm-test.inc (cos_test_tonearest): New function.
9571 (cos_test_towardzero): Likewise.
9572 (cos_test_downward): Likewise.
9573 (cos_test_upward): Likewise.
9574 (sin_test_tonearest): Likewise.
9575 (sin_test_towardzero): Likewise.
9576 (sin_test_downward): Likewise.
9577 (sin_test_upward): Likewise.
9578 (tan_test_tonearest): Likewise.
9579 (tan_test_towardzero): Likewise.
9580 (tan_test_downward): Likewise.
9581 (tan_test_upward): Likewise.
9582 (main): Call the new functions.
9583 * sysdeps/i386/fpu/libm-test-ulps: Update.
9584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9585
a6d06d7b
JM
9586 [BZ #10135]
9587 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
9588 small n, then large n, before computing and testing k+n.
9589 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9590 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9591 Likewise.
9592 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9593 Likewise.
9594 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
9595 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9596 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9597 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9598 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9599 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9600 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9601 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
9602 * math/libm-test.inc (scalbn_test): Add more tests.
9603 (scalbln_test): Likewise.
9604
07e12bb3
JM
9605 * manual/filesys.texi (mode_t): Describe constraints on size and
9606 signedness, not exact equivalence to a particular type.
9607 (ino_t): Likewise.
9608 (ino64_t): Likewise.
9609 (dev_t): Likewise.
9610 (nlink_t): Likewise.
9611 (blkcnt_t): Likewise.
9612 (blkcnt64_t): Likewise.
9613 * manual/llio.texi (off_t): Likewise.
9614
28afd92d
JM
9615 [BZ #3976]
9616 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
9617 (__ieee754_exp): Save and restore rounding mode and use
9618 round-to-nearest for all computations.
9619 * math/libm-test.inc (exp_test_tonearest): New function.
9620 (exp_test_towardzero): Likewise.
9621 (exp_test_downward): Likewise.
9622 (exp_test_upward): Likewise.
9623 (main): Call the new functions.
9624 * sysdeps/i386/fpu/libm-test-ulps: Update.
9625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9626
b1eeb65d
CD
96272012-03-01 Chris Demetriou <cgd@google.com>
9628
9629 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
9630 have predictable order.
9631
53362a4b
DM
96322012-03-01 David S. Miller <davem@davemloft.net>
9633
3c969083
DM
9634 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
9635
759707de
DM
9636 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
9637 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
9638 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
9639 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
9640
dfdb8ff2
DM
9641 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
9642 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
9643 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
9644 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
9645 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
9646 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
9647 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
9648 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
9649 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
9650
ead89f96
DM
9651 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9652
7f66bd07
DM
9653 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
9654 * sysdeps/sparc/fpu/libm-test-ulps: to here.
9655 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
9656
53362a4b
DM
9657 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
9658 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9659 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9660 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9661 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9662 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9663 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9664 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9665 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9666 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9667 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9668 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9669 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9670 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9671 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9672 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9673 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
9674 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
9675 * sysdeps/sparc/elf/configure: Regenerated.
9676
7b1902cb
JM
96772012-03-01 Joseph Myers <joseph@codesourcery.com>
9678
bec039bc
JM
9679 * configure.in (AS, LD): Require binutils 2.20 or later.
9680 * configure: Regenerated.
9681 * manual/install.texi (Tools for Compilation): Give binutils 2.20
9682 as required minimum version.
9683 * INSTALL: Regenerated.
9684
7b1902cb
JM
9685 [BZ #2541]
9686 [BZ #4108]
9687 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
9688 before squaring exponent.
9689 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
9690 bottom long double and 27 bits of top long double before squaring
9691 exponent.
9692 * math/libm-test.inc (erfc_test): Add more tests.
9693 * sysdeps/i386/fpu/libm-test-ulps: Update.
9694 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9696
f775c276
KT
96972012-03-01 Kai Tietz <ktietz@redhat.com>
9698
9699 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
9700 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
9701 containing bit-fields.
9702 * soft-fp/extended.h (_FP_UNION_E): Likewise.
9703 * soft-fp/single.h (_FP_UNION_S): Likewise.
9704 * soft-fp/double.h (_FP_UNION_D): Likewise.
9705
5b8a4d4a
JM
97062012-02-29 Joseph Myers <joseph@codesourcery.com>
9707
0bab47b6
JM
9708 [BZ #13786]
9709 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
9710 not include ../strcmp.S.
9711 [USE_AS_STRNCASECMP_L]: Likewise.
9712 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
9713 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
9714 * sysdeps/i386/i686/multiarch/strncase_l-c.c
9715 (__strncasecmp_l_ia32): Define as alias to
9716 __strncasecmp_l_nonascii.
9717
0fcad3e2
JM
9718 [BZ #5794]
9719 * math/libm-test.inc (expm1_test): Add test for bug 5794.
9720 * sysdeps/i386/fpu/libm-test-ulps: Update.
9721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9722
5b8a4d4a
JM
9723 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
9724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9725
8fdceb2e
JL
97262012-02-29 Jeff Law <law@redhat.com>
9727
9728 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
9729 out of bounds read.
9730
1f393a11
MP
97312012-02-29 Marek Polacek <polacek@redhat.com>
9732
9733 [BZ #13706]
9734 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
9735 * elf/Makefile: Add rules to run tst-unused-dep.out.
9736
8847f037
DM
97372012-02-28 David S. Miller <davem@davemloft.net>
9738
9739 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
9740 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
9741 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
9742 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
9743 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
9744 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
9745
169d7f11
JM
97462012-02-29 Joseph Myers <joseph@codesourcery.com>
9747
9748 * math/libm-test.inc (llround_test): Move one test from
9749 lround_test. Use TEST_f_L in moved test.
9750 (lround_test): Move misplaced test to llround_test. Add testcase
9751 from bug 2561.
9752
39adf059
UD
97532012-02-28 Ulrich Drepper <drepper@gmail.com>
9754
9755 * sysdeps/x86_64/fpu/e_expf.S: New file.
9756 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
9757
71b5d1c5
SB
97582012-02-28 Stanislav Brabec <sbrabec@suse.cz>
9759
9760 [BZ #13637]
9761 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
9762 of remain_len that may cause incomplete multi-byte character and
9763 false match.
9764 * posix/bug-regex33.c: New file.
9765 * posix/Makefile (tests): Add bug-regex33.
9766
1f77f049
JM
97672012-02-28 Joseph Myers <joseph@codesourcery.com>
9768
9769 * manual/macros.texi: New file.
9770 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
9771 * manual/libc.texinfo: Include macros.texi.
9772 * manual/creatute.texi: Likewise.
9773 * manual/install.texi: Likewise.
9774 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
9775 @glibcadj{} in references to the GNU C Library.
9776 * manual/charset.texi: Likewise.
9777 * manual/conf.texi: Likewise.
9778 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
9779 when not using those macros.
9780 * manual/creature.texi: Likewise.
9781 * manual/crypt.texi: Likewise.
9782 * manual/errno.texi: Likewise.
9783 * manual/filesys.texi: Likewise.
9784 * manual/header.texi: Likewise.
9785 * manual/install.texi: Likewise.
9786 * manual/intro.texi: Likewise.
9787 * manual/io.texi: Likewise.
9788 * manual/job.texi: Likewise.
9789 * manual/lang.texi: Likewise.
9790 * manual/libc.texiinfo: Likewise.
9791 * manual/llio.texi: Likewise.
9792 * manual/locale.texi: Likewise.
9793 * manual/maint.texi: Likewise.
9794 * manual/math.texi: Likewise.
9795 * manual/memory.texi: Likewise.
9796 * manual/message.texi: Likewise.
9797 * manual/nss.texi: Likewise.
9798 * manual/pattern.texi: Likewise.
9799 * manual/process.texi: Likewise.
9800 * manual/resource.texi: Likewise.
9801 * manual/search.texi: Likewise.
9802 * manual/setjmp.texi: Likewise.
9803 * manual/signal.texi: Likewise.
9804 * manual/socket.texi: Likewise.
9805 * manual/startup.texi: Likewise.
9806 * manual/stdio.texi: Likewise.
9807 * manual/string.texi: Likewise.
9808 * manual/sysinfo.texi: Likewise.
9809 * manual/syslog.texi: Likewise.
9810 * manual/terminal.texi: Likewise.
9811 * manual/time.texi: Likewise.
9812 * manual/users.texi: Likewise.
9813 * INSTALL: Regenerated.
9814 * NOTES: Regenerated.
d40c5d54 9815 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 9816
450bf206
AS
98172012-02-28 Andreas Schwab <schwab@linux-m68k.org>
9818
9819 * include/dirent.h: Include <dirstream.h> before
9820 <dirent/dirent.h>.
9821
741a235b
DM
98222012-02-28 David S. Miller <davem@davemloft.net>
9823
9824 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
9825 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
9826 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
9827 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
9828
d6b5aa58
DM
98292012-02-27 David S. Miller <davem@davemloft.net>
9830
1aff59a3
DM
9831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
9832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
9833 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
9834 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
9835
d6b5aa58
DM
9836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
9837 frame pointer instead of stack pointer relative arg slot.
9838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9839 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9840 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9841
433f48bf
CD
98422012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
9843
9844 [BZ #3992]
9845 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
9846
d674b76d
DM
98472012-02-27 David S. Miller <davem@davemloft.net>
9848
9849 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
9850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9852 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
9853 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9854 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9855 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
9856 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
9857
0e7727f7
JM
98582012-02-27 Joseph Myers <joseph@codesourcery.com>
9859
9860 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
9861 later. Allow versions 5-9.
43be4ca2 9862 * configure: Regenerated.
0e7727f7
JM
9863 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
9864 required minimum version and 4.6 as recommended version. Do not
9865 mention bugs in GCC 2.7 and 2.8.
43be4ca2 9866 * INSTALL: Regenerated.
0e7727f7 9867
a78bc654
DM
98682012-02-27 David S. Miller <davem@davemloft.net>
9869
428d5830
DM
9870 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
9871 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
9872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
9873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
9874 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
9875 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
9876 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
9877 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
9878
a78bc654
DM
9879 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
9880 manipulate bits before adding and subtracting TWO112[sx].
9881 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9882
4579f81c
RM
98832012-02-27 Roland McGrath <roland@hack.frob.com>
9884
36c8acb4
RM
9885 [BZ #13775]
9886 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
9887 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
9888 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
9889 being in POSIX, because they are in 1003.1-2008.
9890
84ad622b
RM
9891 * rt/tst-aio.c: Include <fcntl.h>.
9892 * rt/tst-aio7.c: Likewise.
9893 * rt/tst-aio64.c: Likewise.
9894
4579f81c
RM
9895 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
9896
abd923db
JM
98972012-02-27 Joseph Myers <joseph@codesourcery.com>
9898
9899 * manual/install.texi (--with-headers): Describe headers as
9900 interface headers, not private headers.
9901 (Specific advice for GNU/Linux systems): Describe use of headers
9902 from "make headers_install", not private headers from older
9903 kernels.
43be4ca2 9904 * INSTALL: Regenerated.
abd923db
JM
9905 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
9906 Change to 2.6.19.
9907 * sysdeps/unix/sysv/linux/configure: Regenerated.
9908
6664049b
JM
9909 * manual/llio.texi (fclean): Remove documentation.
9910
bb8b6697
JM
9911 * manual/Makefile (libc-texi-generated): New variable. Include
9912 version.texi.
9913 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
9914 $(libc-texi-generated), not duplicated list of files.
9915 (version.texi, stamp-version): New rules.
9916 (realclean): Remove $(libc-texi-generated), not individual files
9917 from that list. Do not remove dir-add.texinfo.
9918 * manual/libc.texinfo: Comment out uses of edition numbers and
9919 references to printed manual. Remove last-updated dates.
9920 (EDITION): Comment out.
9921 (ISBN): Likewise.
9922 (VERSION, UPDATED): Remove.
9923 (version.texi): Include.
9924
12e5c3b9
AS
99252012-02-27 Andreas Schwab <schwab@linux-m68k.org>
9926
9927 * sysdeps/posix/spawni.c: Include <signal.h>.
9928 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
9929 * sysdeps/pthread/aio_fsync.c: Likewise.
9930
4efeffc1 99312012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 9932
ba63ba08
UD
9933 * conform/Makefile (tests): Run only when not cross-compiling and
9934 when fast-check is not defined.
9935
d94a4670
UD
9936 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
9937 * conform/data/limits.h-data: Fixes for POSIX2008.
9938 * conform/run-conformtest.sh: Run all tests.
9939 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
9940 headers.
9941 * include/bits/dlfcn.h: Likewise.
9942 * include/langinfo.h: Likewise.
9943 * include/monetary.h: Likewise.
9944 * include/sys/poll.h: Likewise.
9945
9946 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
9947 for __USE_GNU.
9948 * posix/spawn.h: Define __need_sigset_t.
9949 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
9950 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
9951 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
9952 to get sigevent_t only.
9953 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
9954 only for __USE_GNU.
9955 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9956 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9957 process_vm_writev only for __USE_GNU.
9958 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
9959
9960 * conform/Makefile: For now ignore errors from run-conformtest.
9961 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
9962 POSIX to avoid namespace pollution. Don't prepend headers.
9963 * conform/data/aio.h-data: Fixes for POSIX testing.
9964 * conform/data/fcntl.h-data: Likewise.
9965 * conform/data/glob.h-data: Likewise.
9966 * conform/data/grp.h-data: Likewise.
9967 * conform/data/pthread.h-data: Likewise.
9968 * conform/data/pwd.h-data: Likewise.
9969 * conform/data/signal.h-data: Likewise.
9970 * conform/data/spawn.h-data: Likewise.
9971 * conform/data/stdio.h-data: Likewise.
9972 * conform/data/stdlib.h-data: Likewise.
9973 * conform/data/stropts.h-data: Likewise.
9974 * conform/data/sys/mman.h-data: Likewise.
9975 * conform/data/sys/stat.h-data: Likewise.
9976 * conform/data/sys/types.h-data: Likewise.
9977 * conform/data/sys/wait.h-data: Likewise.
9978 * conform/data/time.h-data: Likewise.
9979 * conform/data/unistd.h-data: Likewise.
9980 * conform/data/utime.h-data: Likewise.
9981
9982 * io/sys/stat.h: fchmod was always in POSIX.
9983 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
9984 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
9985 * rt/aio.h: Define __need_timespec before including <time.h>.
9986 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
9987 struct. Add forward declaration of pthread_attr_t and use it in
9988 sigevent.
9989 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9990 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9991 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
9992 always remove CLK_TCK definition.
9993
c20105c3
AS
99942012-02-26 Andreas Schwab <schwab@linux-m68k.org>
9995
9996 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
9997
7a270350
UD
99982012-02-25 Ulrich Drepper <drepper@gmail.com>
9999
31341567
UD
10000 * conform/run-conformtest.sh: New file.
10001 * conform/Makefile: Run run-conformtest for tests.
10002 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
10003 support.
10004
10005 * conform/data/uchar.h-data: New file.
10006 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
10007 * conform/data/arpa/inet.h-data: Likewise.
10008 * conform/data/assert.h-data: Likewise.
10009 * conform/data/complex.h-data: Likewise.
10010 * conform/data/cpio.h-data: Likewise.
10011 * conform/data/ctype.h-data: Likewise.
10012 * conform/data/dirent.h-data: Likewise.
10013 * conform/data/dlfcn.h-data: Likewise.
10014 * conform/data/errno.h-data: Likewise.
10015 * conform/data/fcntl.h-data: Likewise.
10016 * conform/data/float.h-data: Likewise.
10017 * conform/data/fmtmsg.h-data: Likewise.
10018 * conform/data/fnmatch.h-data: Likewise.
10019 * conform/data/ftw.h-data: Likewise.
10020 * conform/data/glob.h-data: Likewise.
10021 * conform/data/grp.h-data: Likewise.
10022 * conform/data/iconv.h-data: Likewise.
10023 * conform/data/inttypes.h-data: Likewise.
10024 * conform/data/langinfo.h-data: Likewise.
10025 * conform/data/libgen.h-data: Likewise.
10026 * conform/data/limits.h-data: Likewise.
10027 * conform/data/locale.h-data: Likewise.
10028 * conform/data/math.h-data: Likewise.
10029 * conform/data/monetary.h-data: Likewise.
10030 * conform/data/mqueue.h-data: Likewise.
10031 * conform/data/ndbm.h-data: Likewise.
10032 * conform/data/net/if.h-data: Likewise.
10033 * conform/data/netdb.h-data: Likewise.
10034 * conform/data/netinet/in.h-data: Likewise.
10035 * conform/data/nl_types.h-data: Likewise.
10036 * conform/data/poll.h-data: Likewise.
10037 * conform/data/pthread.h-data: Likewise.
10038 * conform/data/pwd.h-data: Likewise.
10039 * conform/data/regex.h-data: Likewise.
10040 * conform/data/sched.h-data: Likewise.
10041 * conform/data/search.h-data: Likewise.
10042 * conform/data/semaphore.h-data: Likewise.
10043 * conform/data/setjmp.h-data: Likewise.
10044 * conform/data/signal.h-data: Likewise.
10045 * conform/data/spawn.h-data: Likewise.
10046 * conform/data/stdarg.h-data: Likewise.
10047 * conform/data/stdio.h-data: Likewise.
10048 * conform/data/stdlib.h-data: Likewise.
10049 * conform/data/string.h-data: Likewise.
10050 * conform/data/strings.h-data: Likewise.
10051 * conform/data/stropts.h-data: Likewise.
10052 * conform/data/sys/ipc.h-data: Likewise.
10053 * conform/data/sys/mman.h-data: Likewise.
10054 * conform/data/sys/msg.h-data: Likewise.
10055 * conform/data/sys/resource.h-data: Likewise.
10056 * conform/data/sys/select.h-data: Likewise.
10057 * conform/data/sys/sem.h-data: Likewise.
10058 * conform/data/sys/shm.h-data: Likewise.
10059 * conform/data/sys/socket.h-data: Likewise.
10060 * conform/data/sys/stat.h-data: Likewise.
10061 * conform/data/sys/statvfs.h-data: Likewise.
10062 * conform/data/sys/time.h-data: Likewise.
10063 * conform/data/sys/timeb.h-data: Likewise.
10064 * conform/data/sys/times.h-data: Likewise.
10065 * conform/data/sys/types.h-data: Likewise.
10066 * conform/data/sys/uio.h-data: Likewise.
10067 * conform/data/sys/un.h-data: Likewise.
10068 * conform/data/sys/utsname.h-data: Likewise.
10069 * conform/data/sys/wait.h-data: Likewise.
10070 * conform/data/syslog.h-data: Likewise.
10071 * conform/data/tar.h-data: Likewise.
10072 * conform/data/termios.h-data: Likewise.
10073 * conform/data/utime.h-data: Likewise.
10074 * conform/data/utmpx.h-data: Likewise.
10075 * conform/data/varargs.h-data: Likewise.
10076 * conform/data/wchar.h-data: Likewise.
10077 * conform/data/wctype.h-data: Likewise.
10078 * conform/data/wordexp.h-data: Likewise.
10079
10080 * include/stropts.h: New file.
10081 * include/uchar.h: New file.
10082 * include/aio.h: Changes to allow conformtest.pl to use the headers.
10083 * include/assert.h: Likewise.
10084 * include/ctype.h: Likewise.
10085 * include/dirent.h: Likewise.
10086 * include/dlfcn.h: Likewise.
10087 * include/fcntl.h: Likewise.
10088 * include/fnmatch.h: Likewise.
10089 * include/glob.h: Likewise.
10090 * include/grp.h: Likewise.
10091 * include/libio.h: Likewise.
10092 * include/locale.h: Likewise.
10093 * include/math.h: Likewise.
10094 * include/net/if.h: Likewise.
10095 * include/netdb.h: Likewise.
10096 * include/netinet/in.h: Likewise.
10097 * include/pthread.h: Likewise.
10098 * include/pwd.h: Likewise.
10099 * include/regex.h: Likewise.
10100 * include/sched.h: Likewise.
10101 * include/search.h: Likewise.
10102 * include/setjmp.h: Likewise.
10103 * include/signal.h: Likewise.
10104 * include/stdio.h: Likewise.
10105 * include/stdlib.h: Likewise.
10106 * include/string.h: Likewise.
10107 * include/sys/cdefs.h: Likewise.
10108 * include/sys/mman.h: Likewise.
10109 * include/sys/msg.h: Likewise.
10110 * include/sys/resource.h: Likewise.
10111 * include/sys/select.h: Likewise.
10112 * include/sys/socket.h: Likewise.
10113 * include/sys/stat.h: Likewise.
10114 * include/sys/statvfs.h: Likewise.
10115 * include/sys/time.h: Likewise.
10116 * include/sys/times.h: Likewise.
10117 * include/sys/uio.h: Likewise.
10118 * include/sys/utsname.h: Likewise.
10119 * include/sys/wait.h: Likewise.
10120 * include/termios.h: Likewise.
10121 * include/time.h: Likewise.
10122 * include/ulimit.h: Likewise.
10123 * include/unistd.h: Likewise.
10124 * include/utime.h: Likewise.
10125 * include/wchar.h: Likewise.
10126 * include/wctype.h: Likewise.
10127 * include/wordexp.h: Likewise.
10128
10129 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
10130
7a270350
UD
10131 * time/time.h: TIME_UTC must be a macro.
10132 Make timespec_get available for ISO C11 only as well.
10133
7724defc
UD
101342012-02-24 Ulrich Drepper <drepper@gmail.com>
10135
10136 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
10137 Reported by Peng Haitao <penght@cn.fujitsu.com>.
10138
6b1d1d46
JM
101392012-02-24 Joseph Myers <joseph@codesourcery.com>
10140
10141 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 10142
0f8bbd69
JM
101432012-02-24 Joseph Myers <joseph@codesourcery.com>
10144
10145 * manual/texinfo.tex: Update to version 2012-01-19.16.
10146
66ab80bc
JM
101472012-02-24 Joseph Myers <joseph@codesourcery.com>
10148
10149 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
10150
74981cc5
RM
101512012-02-24 Roland McGrath <roland@hack.frob.com>
10152
ee968201
RM
10153 [BZ #13738]
10154 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
10155 * manual/fdl-1.3.texi: New file.
10156 * manual/fdl-1.1.texi: File removed.
10157
74981cc5
RM
10158 [BZ #13738]
10159 * manual/libc.texinfo (FDL_VERSION): New @set.
10160 Use it for mention of FDL in cover text.
10161 (Documentation License): Use it in @include file name.
10162
7bb764bc
JM
101632012-02-22 Joseph Myers <joseph@codesourcery.com>
10164 Roland McGrath <roland@hack.frob.com>
10165
10166 [BZ #5461]
10167 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
10168 not LONG_LONG_MAX and LONG_LONG_MIN.
10169 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
10170 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
10171 name.
10172 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
10173
6cbeae47
JM
101742012-02-22 Joseph Myers <joseph@codesourcery.com>
10175
10176 [BZ #2547]
10177 [BZ #11365]
10178 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
10179 manipulate bits before adding and subtracting TWO23[sx].
10180 * math/libm-test.inc (nearbyint_test): Add more tests.
10181
fe45ce09
JM
101822012-02-22 Joseph Myers <joseph@codesourcery.com>
10183
10184 [BZ #2548]
10185 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
10186 bits before adding and subtracting TWO23[sx].
10187 * math/libm-test.inc (rint_test): Add more tests.
10188 (rint_test_tonearest): Likewise.
10189 (rint_test_towardzero): Likewise.
10190 (rint_test_downward): Likewise.
10191 (rint_test_upward: Likewise.
10192
ff3b3d82
JM
101932012-02-22 Joseph Myers <joseph@codesourcery.com>
10194
10195 [BZ #10110]
10196 * include/stdc-predef.h: New file. Extracted from features.h.
10197 * include/features.h: Include stdc-predef.h.
10198 * Makefile (headers): Add stdc-predef.h.
10199 * CONFORMANCE (Compiler limitations): Update.
10200
ef0aab35
JM
102012012-02-22 Joseph Myers <joseph@codesourcery.com>
10202
10203 * manual/libc.texinfo (VERSION, UPDATED): Revert.
10204
58639409
DM
102052012-02-21 David S. Miller <davem@davemloft.net>
10206
10207 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
10208 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10209
c0e70b25
DM
102102012-02-20 David S. Miller <davem@davemloft.net>
10211
10212 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
10213 using a normal save/restore sequence, rather than allocating a
10214 dummy stack frame just to store a frame pointer and restore.
10215 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10216
fb06851d
JM
102172012-02-21 Joseph Myers <joseph@codesourcery.com>
10218
10219 * manual/install.texi: Fix stray word in line-wrapped comment.
10220
7a8b71c3
DM
102212012-02-20 David S. Miller <davem@davemloft.net>
10222
d510c123
DM
10223 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
10224 both binutils and gcc support GOTDATA.
10225
0722d7c2
DM
10226 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
10227 "rd %pc" in the PIC register setup sequences.
10228
3d2b3019
DM
10229 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
10230 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10231 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10232 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10233 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10234 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10235 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10236 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10237 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
10238 (SYSCALL_ERROR_HANDLER): Likewise.
10239 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10240 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10241 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
10242 (SYSCALL_ERROR_HANDLER): Likewise.
10243
c80098a9
DM
10244 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
10245 (HAVE_GCC_GOTDATA): New.
10246 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
10247 relocation support in both binutils and gcc.
10248 * sysdeps/sparc/elf/configure: Regenerate.
10249
3a2545a0
DM
10250 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
10251 * sysdeps/sparc/sparc32/elf/configure: Delete.
10252 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
10253 * sysdeps/sparc/sparc64/elf/configure: Delete.
10254 * sysdeps/sparc/elf/configure.in: New file.
10255 * sysdeps/sparc/elf/configure: Generate.
10256
7a8b71c3
DM
10257 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
10258 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
10259 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10260 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
10261 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
10262
f1e86fca
JM
102632012-02-21 Joseph Myers <joseph@codesourcery.com>
10264
10265 * manual/install.texi: Do not mention specific glibc version
10266 numbers.
10267 * manual/libc.texinfo (VERSION, UPDATED): Update.
10268 (@copying): Use @copyright{} and range of years.
10269
0e7dfaef
JM
102702012-02-21 Joseph Myers <joseph@codesourcery.com>
10271
10272 [BZ #13695]
10273 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
10274 [crti.S not in sysdirs] (generated): Do not append.
10275 [crti.S not in sysdirs] (omit-deps): Likewise.
10276 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
10277 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
10278 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
10279 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
10280 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
10281 Likewise.
10282 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
10283 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
10284 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
10285 * csu/defs.awk: Remove file.
10286 * sysdeps/generic/initfini.c: Likewise.
10287 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
10288 variable.
10289 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
10290 Likewise.
10291
599af3ca
JM
102922012-02-20 Joseph Myers <joseph@codesourcery.com>
10293
10294 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
10295 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
10296 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
10297 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
10298 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10299 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
10300 <bits/epoll.h>.
10301 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
10302 (__EPOLL_PACKED): Define to empty if not defined by
10303 <bits/epoll.h>.
10304 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
10305 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10306 bits/epoll.h.
10307
0e499750
JM
103082012-02-20 Joseph Myers <joseph@codesourcery.com>
10309
10310 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
10311 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
10312 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10313 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10314 <bits/timerfd.h>.
10315 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10316 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10317 bits/timerfd.h.
10318
5ad91f6e
JM
103192012-02-20 Joseph Myers <joseph@codesourcery.com>
10320
10321 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10322 in C locale.
10323 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10324 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10325 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10327
06b99b02
AJ
103282012-02-20 Aurelien Jarno <aurelien@aurel32.net>
10329
10330 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10331 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10332
7638c0fd
AS
103332012-02-19 Andreas Schwab <schwab@linux-m68k.org>
10334
10335 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10336 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10337 defined.
10338 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10339 Likewise.
10340 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10341 entry for 2.16.
10342
92221550
AJ
103432012-02-19 Aurelien Jarno <aurelien@aurel32.net>
10344
10345 * math/w_acos.c: Use non-signaling floating-point comparisons.
10346 * math/w_acosf.c: Likewise.
10347 * math/w_acosh.c: Likewise.
10348 * math/w_acoshf.c: Likewise.
10349 * math/w_acoshl.c: Likewise.
10350 * math/w_acosl.c: Likewise.
10351 * math/w_asin.c: Likewise.
10352 * math/w_asinf.c: Likewise.
10353 * math/w_asinl.c: Likewise.
10354 * math/w_atanh.c: Likewise.
10355 * math/w_atanhf.c: Likewise.
10356 * math/w_atanhl.c: Likewise.
10357 * math/w_exp2.c: Likewise.
10358 * math/w_exp2f.c: Likewise.
10359 * math/w_exp2l.c: Likewise.
10360 * math/w_j0.c: Likewise.
10361 * math/w_j0f.c: Likewise.
10362 * math/w_j0l.c: Likewise.
10363 * math/w_j1.c: Likewise.
10364 * math/w_j1f.c: Likewise.
10365 * math/w_j1l.c: Likewise.
10366 * math/w_jn.c: Likewise.
10367 * math/w_jnf.c: Likewise.
10368 * math/w_log.c: Likewise.
10369 * math/w_log10.c: Likewise.
10370 * math/w_log10f.c: Likewise.
10371 * math/w_log10l.c: Likewise.
10372 * math/w_log2.c: Likewise.
10373 * math/w_log2f.c: Likewise.
10374 * math/w_log2l.c: Likewise.
10375 * math/w_logf.c: Likewise.
10376 * math/w_logl.c: Likewise.
10377 * math/w_sqrt.c: Likewise.
10378 * math/w_sqrtf.c: Likewise.
10379 * math/w_sqrtl.c: Likewise.
10380 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10381 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10382 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10383 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10384 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10385
ebaf36eb
JM
103862012-02-19 Joseph Myers <joseph@codesourcery.com>
10387
10388 [BZ #9739]
10389 * manual/string.texi (strnlen): Use correct parameter name in
10390 equivalent expression.
10391
71c254a6
JM
103922012-02-19 Joseph Myers <joseph@codesourcery.com>
10393
10394 [BZ #11174]
10395 * manual/users.texi (seteuid): Consistently use neweuid for
10396 argument name.
10397
16d2c631
JM
103982012-02-19 Joseph Myers <joseph@codesourcery.com>
10399
10400 [BZ #13704]
10401 * manual/nss.texi (Services in the NSS configuration): Correct
10402 list of services in example configuration file.
10403
cd837b09
NB
104042012-02-19 Nick Bowler <nbowler@draconx.ca>
10405
10406 [BZ #11322]
10407 * manual/arith.texi: Remove statements about negative zero
10408 behaving identically to zero.
10409
02c4bbad
JM
104102012-02-18 Joseph Myers <joseph@codesourcery.com>
10411
10412 [BZ #5993]
10413 * manual/install.texi: Do not document upgrading from libc5.
10414
366842e7
JM
104152012-02-18 Joseph Myers <joseph@codesourcery.com>
10416
10417 [BZ #4596]
10418 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
10419
dd54084d
DM
104202012-02-18 David S. Miller <davem@davemloft.net>
10421
10422 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
10423 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
10424 %o7 across the call.
10425 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
10426 instead.
10427 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
10428 SETUP_PIC_REG_LEAF.
10429 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10430 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
10431 * sysdeps/sparc/crtn.S: Likewise.
10432
2bcc53a3
UD
104332012-02-17 Ulrich Drepper <drepper@gmail.com>
10434
10435 * aout/Makefile: Remove.
10436
09c093b5
RK
104372012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
10438
10439 [BZ #13058]
10440 * manual/examples/argp-ex1.c (main): Format definition in GNU
10441 style.
10442 * manual/examples/argp-ex2.c (main): Likewise.
10443 * manual/examples/argp-ex3.c (main): Likewise.
10444 * manual/examples/argp-ex4.c (main): Likewise.
10445 * manual/examples/longopt.c (main): Use new-style prototype
10446 definition.
10447 * manual/examples/strncat.c (main): Specify return type and use
10448 (void) for arguments.
10449 * manual/examples/subopt.c (main): Use char **argv argument.
10450
2ee633a2
JM
104512012-02-17 Joseph Myers <joseph@codesourcery.com>
10452
10453 [BZ #5077]
10454 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
10455 rounding modes.
10456
0520adde
FB
104572012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
10458
10459 [BZ #6907]
10460 * manual/string.texi (strchr): Change when strchrnul is
10461 recommended.
10462
3f4081cd
DGM
104632012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
10464
10465 [BZ #174]
10466 * manual/locale.texi (setlocale): Document LOCPATH.
10467
d1b10e78
JM
104682012-02-17 Joseph Myers <joseph@codesourcery.com>
10469
10470 [BZ #10210]
10471 * manual/process.texi (execle): Move @dots{} before last argument.
10472
79c6869c
PB
104732012-02-17 Paul Bolle <pebolle@tiscali.nl>
10474
10475 [BZ #12047]
10476 * manual/charset.texi (Generic Charset Conversion): Fix typo
10477 (LC_TYPE -> LC_CTYPE).
10478
cc6e48bc
NB
104792012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
10480
10481 [BZ #5805]
10482 * manual/arith.texi (scalbn): Use @var{} on parameter names.
10483 (scalbnf): Likewise.
10484 (scalbnl): Likewise.
10485 (scalbln): Likewise.
10486 (scalblnf): Likewise.
10487 (scalblnl): Likewise.
10488 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
10489 (vwarnx): Likewise.
10490 (verr): Likewise.
10491 (verrx): Likewise.
10492 * manual/filesys.texi (telldir): Use braces around return type.
10493 * manual/llio.texi (mmap): Add space after comma.
10494 (mmap64): Likewise.
10495 * manual/math.texi (jn): Use @var{} on parameter names.
10496 (jnf): Likewise.
10497 (jnl): Likewise.
10498 (yn): Likewise.
10499 (ynf): Likewise.
10500 (ynl): Likewise.
10501 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
10502 line.
10503 * manual/resource.texi (ulimit): Use @dots{} instead of literal
10504 "...".
10505 (sched_get_priority_min): Remove semicolon on @deftypefun line.
10506 (sched_get_priority_max): Likewise.
10507 * manual/signal.texi (sigvec): Add space after comma.
10508 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
10509 names.
10510 (if_indextoname): Likewise.
10511 (if_freenameindex): Likewise.
10512 (sendto): Use ',' instead of '.' in prototype.
10513 * manual/startup.texi (syscall): Use @dots{} instead of literal
10514 "...".
10515 * manual/stdio.texi (__fpending): Separate initial words of
10516 paragraph from @deftypefun line.
10517 * manual/syslog.texi (syslog): Use @dots{} instead of literal
10518 "...".
10519 (vsyslog): Use @var{} on parameter names.
10520 * manual/terminal.texi (stty): Use @var{} on parameter names.
10521 * manual/users.texi (getutmp): Use @var{} on parameter names.
10522 (getutmpx): Likewise.
10523
5b23062f
JM
105242012-02-17 Joseph Myers <joseph@codesourcery.com>
10525
10526 [BZ #6884]
10527 * manual/stdio.texi (fopen): Fix typos in description of
10528 ",ccs=STRING".
10529
8dee4833
AJ
105302012-02-17 Aurelien Jarno <aurelien@aurel32.net>
10531
10532 [BZ #4026]
10533 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
10534 get clock_id definition.
10535
9078ce93
TS
105362012-02-17 Thomas Schwinge <thomas@schwinge.name>
10537
10538 [BZ #4822]
10539 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
10540 (madvise): Cast every argument to void on its own.
10541
3835c55f
JM
105422012-02-17 Joseph Myers <joseph@codesourcery.com>
10543
10544 [BZ #9902]
10545 * manual/startup.texi (Exit Status): Fix typo.
10546
35c47e37
JM
105472012-02-17 Joseph Myers <joseph@codesourcery.com>
10548
10549 [BZ #10140]
10550 * manual/examples/argp-ex1.c: Include <stdlib.h>.
10551 * manual/examples/argp-ex2.c: Likewise.
10552 * manual/examples/argp-ex3.c: Likewise.
10553
e3b69ca7
RH
105542012-02-16 Richard Henderson <rth@redhat.com>
10555
10556 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
10557 * sysdeps/s390/s390-32/initfini.c: Remove.
10558 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
10559 * sysdeps/s390/s390-64/initfini.c: Remove.
10560
df83af67
KK
105612012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10562
10563 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
10564 compiler output for sysdeps/generic/initfini.c.
10565 * sysdeps/sh/elf/initfini.c: Remove file.
10566
f63f3380
DM
105672012-02-16 David S. Miller <davem@davemloft.net>
10568
fb59b3a4
DM
10569 [BZ #11494]
10570 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
10571
f63f3380
DM
10572 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
10573 * sysdeps/sparc/crti.S: New file.
10574 * sysdeps/sparc/crtn.S: New file.
10575 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
10576 * sysdeps/sparc/sparc64/Makefile: Likewise.
10577
df6a4a4a
MF
105782012-02-15 Mike Frysinger <vapier@gentoo.org>
10579
6dd8f3dc 10580 [BZ #3335]
df6a4a4a
MF
10581 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
10582
1cac7236
RM
105832012-02-15 Roland McGrath <roland@hack.frob.com>
10584
d2c736f8
RM
10585 [BZ #4822]
10586 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
10587
1cac7236
RM
10588 * mach/devstream.c (cookie_io_functions_t): Macro removed.
10589 (write, read, close): Likewise.
10590 Patch by Aurelien Jarno <aurelien@aurel32.net>.
10591
8e475601
JM
105922012-02-15 Joseph Myers <joseph@codesourcery.com>
10593
10594 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
10595 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
10596 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
10597 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
10598 <bits/signalfd.h>.
10599 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
10600 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10601 bits/signalfd.h.
10602
ed656b40
MP
106032012-02-14 Marek Polacek <polacek@redhat.com>
10604
10605 * sysdeps/x86_64/crti.S: New file.
10606 * sysdeps/x86_64/crtn.S: New file.
10607 * sysdeps/x86_64/elf/initfini.c: Remove file.
10608
2a979d3a
JM
106092012-02-13 Joseph Myers <joseph@codesourcery.com>
10610
10611 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
10612 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
10613 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
10614 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
10615 <bits/inotify.h>.
10616 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
10617 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10618 bits/inotify.h.
10619
2a418ac3
JM
106202012-02-13 Joseph Myers <joseph@codesourcery.com>
10621
10622 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
10623 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
10624 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
10625 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
10626 <bits/eventfd.h>.
10627 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
10628 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10629 bits/eventfd.h.
10630
fb779be7
TS
106312012-02-10 Thomas Schwinge <thomas@codesourcery.com>
10632
e19e83c5
RM
10633 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
10634 __feraiseexcept instead of feraiseexcept.
7c35ffed 10635
fb779be7
TS
10636 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
10637 nanosleep invocations.
10638 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
10639 strings, and add error checking for a nanosleep invocations.
10640
59ba27a6
PE
106412012-02-09 Paul Eggert <eggert@cs.ucla.edu>
10642
10643 Replace FSF snail mail address with URLs, as per GNU coding standards.
10644 Most of the snail mail addresses were wrong anyway, and omitting
10645 them makes the source code easier to maintain. Almost all of the
10646 changes are to license notices and to locale LC_IDENTIFICATION
10647 addresses, except for this one:
10648 * manual/libc.texinfo: In "Published by", give the FSF's URL,
10649 not its snail mail address.
10650
57b957eb
RH
106512012-02-09 Richard Henderson <rth@twiddle.net>
10652
af850b1c
RH
10653 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
10654 of kernel-features.h.
10655
57b957eb
RH
10656 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
10657
6b73181a
MP
106582012-02-08 Marek Polacek <polacek@redhat.com>
10659
10660 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
10661 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
10662 * sysdeps/gnu/_G_config.h: Likewise.
10663 * sysdeps/generic/_G_config.h: Likewise.
10664
26ecc33a
AS
106652012-02-08 Andreas Schwab <schwab@linux-m68k.org>
10666
6c6dbc63
AS
10667 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
10668 tests.
10669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10670
e216c012
AS
10671 * sysdeps/powerpc/powerpc32/crti.S: New file.
10672 * sysdeps/powerpc/powerpc32/crtn.S: New file.
10673 * sysdeps/powerpc/powerpc64/crti.S: New file.
10674 * sysdeps/powerpc/powerpc64/crtn.S: New file.
10675
26ecc33a
AS
10676 * Makeconfig (have-initfini): Don't set.
10677 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
10678 * configure.in (nopic_initfini): Don't substitute.
10679 * config.h.in (HAVE_INITFINI): Don't #undef.
10680 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
10681 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
10682
3add8e13
JM
106832012-02-08 Joseph Myers <joseph@codesourcery.com>
10684
10685 Support crti.S and crtn.S provided directly by architectures.
10686 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
10687 [crti.S in sysdirs] (omit-deps): Likewise.
10688 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
10689 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
10690 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
10691 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
10692 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
10693 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
10694 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
10695 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
10696 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
10697 compiler output for sysdeps/generic/initfini.c.
10698 * sysdeps/i386/elf/Makefile: Remove file.
10699 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
10700
a22f12b4
MP
107012012-02-07 Marek Polacek <polacek@redhat.com>
10702
10703 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
10704 * sysdeps/gnu/_G_config.h: Likewise.
10705 * sysdeps/mach/hurd/_G_config.h: Likewise.
10706
148cf100
MP
107072012-02-07 Marek Polacek <polacek@redhat.com>
10708
10709 * math/Makefile (tests): Add tst-CMPLX2.
10710 * math/tst-CMPLX2.c: New file.
10711
cfdc0dd7
AS
107122012-02-07 Andreas Schwab <schwab@linux-m68k.org>
10713
84ba42c4
AS
10714 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10715
cfdc0dd7
AS
10716 * math/libm-test.inc (jn_test): Add missing L suffix.
10717
622c86f4
MP
107182012-02-06 Marek Polacek <polacek@redhat.com>
10719
10720 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
10721 * sysdeps/i386/fpu/e_powf.S: Likewise.
10722 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10723 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10724 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10725 * sysdeps/i386/fpu/e_pow.S: Likewise.
10726 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10727 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10728 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10729 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10730 * sysdeps/i386/fpu/e_log2.S: Likewise.
10731 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10732 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10733 * sysdeps/i386/fpu/e_powl.S: Likewise.
10734 * sysdeps/i386/fpu/s_log1p.S: Likewise.
10735 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10736 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10737 * sysdeps/i386/fpu/e_logl.S: Likewise.
10738 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10739 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
10740 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10741 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10742 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10743 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10744 * sysdeps/i386/fpu/e_log.S: Likewise.
10745 * sysdeps/i386/fpu/s_cexp.S: Likewise.
10746 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10747 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
10748 * sysdeps/i386/fpu/e_logf.S: Likewise.
10749 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10750 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10751 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
10752 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10753 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10754 * sysdeps/i386/fpu/e_log10.S: Likewise.
10755 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10756 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10757 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10758 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10759 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10760 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10761 * sysdeps/i386/asm-syntax.h: Likewise.
10762 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10763 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10764 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10765 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
10766 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
10767 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10768 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10769 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10770 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10771 * sysdeps/powerpc/sysdep.h: Likewise.
10772 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
10773 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10774
d4a54ac6
JM
107752012-02-06 Joseph Myers <joseph@codesourcery.com>
10776
10777 [BZ #411]
10778 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
10779
314054ea
JM
107802012-02-06 Joseph Myers <joseph@codesourcery.com>
10781
10782 * sysdeps/i386/sysdep.h: Include <features.h>.
10783 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
10784 version.
10785
d8e0ca50
JM
107862012-02-05 Joseph Myers <joseph@codesourcery.com>
10787
10788 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
10789 Define.
10790 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
10791 LOAD_PIC_REG_STR.
10792
b1da7dd9
JM
107932012-02-03 Joseph Myers <joseph@codesourcery.com>
10794
10795 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
10796 (SETUP_PIC_REG): Use GET_PC_THUNK.
10797 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
10798 macro.
10799
9a1d9254
JM
108002012-02-03 Joseph Myers <joseph@codesourcery.com>
10801
10802 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
10803 for non-PIC compilation.
10804 (SETUP_PIC_REG): Add .p2align directive.
10805 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
10806 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10807 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10808 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10809 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10810 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10811 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10812 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10813 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10814 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10815 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10816 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10817 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10818 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10819 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10820 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10821 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10822 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10823 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10824 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10825 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10826 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10827 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10828 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10829 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10830 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10831 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10832 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10833 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10834 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10835 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10836 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10837 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10838 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10839 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10840 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10841 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10842 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10843 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10844 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10845 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10846
65dc3b75
JM
108472012-02-03 Joseph Myers <joseph@codesourcery.com>
10848
10849 * math/tst-CMPLX.c: Include <stdio.h>.
10850
d55bf177
JM
108512012-01-31 Joseph Myers <joseph@codesourcery.com>
10852
10853 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
10854 float.
10855 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10856 * sysdeps/sparc/bits/mathdef.h: Likewise.
10857
69db4f8f
MP
108582012-01-31 Marek Polacek <polacek@redhat.com>
10859
10860 * libio/libio.h: Don't define _PARAMS.
10861 * locale/programs/config.h: Don't define PARAMS.
10862 * stdlib/strtol_l.c: Likewise.
10863 (__strtol_l): Remove PARAMS from the prototype.
10864
41b81892
UD
108652012-01-31 Ulrich Drepper <drepper@gmail.com>
10866
3b49edc0
UD
10867 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
10868 names. Just use the correct names. Remove unnecessary wrapper
10869 functions.
10870 * malloc/arena.c: Likewise.
10871 * malloc/hooks.c: Likewise.
10872
41b81892
UD
10873 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
10874 ARENA_TEST says not to. Simplify test for creation of a new arena.
10875 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
10876
27a25b6e
UD
108772012-01-30 Ulrich Drepper <drepper@gmail.com>
10878
10879 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
10880 into tail calls.
10881 (update_get_addr): New function.
10882 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
10883 GET_ADDR_MODULE parameter.
10884
c8a89e7d
JM
108852012-01-30 Joseph Myers <joseph@codesourcery.com>
10886
10887 * crypt/cert.c: Remove __STDC__ conditionals.
10888 * crypt/crypt-entry.c: Likewise.
10889 * crypt/crypt_util.c: Likewise.
10890 * libio/filedoalloc.c: Likewise.
10891 * libio/fileops.c: Likewise.
10892 * libio/genops.c: Likewise.
10893 * libio/iofclose.c: Likewise.
10894 * libio/iofdopen.c: Likewise.
10895 * libio/iofopen.c: Likewise.
10896 * libio/iofopen64.c: Likewise.
10897 * libio/iogetdelim.c: Likewise.
10898 * libio/iopopen.c: Likewise.
10899 * libio/obprintf.c: Likewise.
10900 * libio/oldfileops.c: Likewise.
10901 * libio/oldiofclose.c: Likewise.
10902 * libio/oldiofdopen.c: Likewise.
10903 * libio/oldiofopen.c: Likewise.
10904 * libio/oldiopopen.c: Likewise.
10905 * libio/wfiledoalloc.c: Likewise.
10906 * libio/wgenops.c: Likewise.
10907 * locale/programs/xmalloc.c: Likewise.
10908 * misc/syslog.c: Likewise.
10909 * stdio-common/xbug.c: Likewise.
10910 * string/memchr.c: Likewise.
10911 * string/memcmp.c: Likewise.
10912 * string/memrchr.c: Likewise.
10913 * string/rawmemchr.c: Likewise.
10914 * sysdeps/posix/getcwd.c: Likewise.
10915 * time/strftime_l.c: Likewise.
10916
3b100462
JM
109172012-01-30 Joseph Myers <joseph@codesourcery.com>
10918
10919 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
10920 * config.make.in (config-cflags-sse2avx): Define.
10921 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
10922 Fix typo.
10923
607998af
CM
109242012-01-29 Chris Metcalf <cmetcalf@tilera.com>
10925
10926 * scripts/config.guess: Update from upstream config git repository.
10927 * scripts/config.sub: Likewise.
10928
3601428f
CM
109292012-01-28 Chris Metcalf <cmetcalf@tilera.com>
10930
3ac8b282
CM
10931 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
10932 (EM_NUM): Update.
10933 (R_TILEPRO_*, R_TILEGX_*): New macros.
10934
e034841e
CM
10935 * scripts/firstversions.awk: Fix bug in version range handling.
10936
540d7568
CM
10937 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
10938
3601428f
CM
10939 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
10940
463de862
CM
10941 * include/sys/epoll.h: New file.
10942 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
10943 libc_hidden_def.
10944
73139a76
UD
109452012-01-28 Ulrich Drepper <drepper@gmail.com>
10946
96bc5b45
UD
10947 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
10948 Avoid unnecessary __WORDSIZE == 64 test.
10949 (fmaxf): Use VEX format if possible.
10950 (fmax): Likewise.
10951 (fminf): Likewise.
10952 (fmin): Likewise.
10953
56f6f6a2
UD
10954 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
10955 * math/math_private.h: Remove libc_fegetround* and
10956 libc_fesetround*.
10957 * sysdeps/i386/configure.in: Check for -msse2avx.
10958 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
10959 also if SSE2AVX is defined.
10960 Remove libc_fegetround* and libc_fesetround*.
10961 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
10962 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
10963 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
10964 of HAS_YMM_USABLE.
10965 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10966 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10967 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10968 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10969 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10970
73139a76
UD
10971 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
10972
d73f93a4
AZ
109732012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10974
10975 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
10976 size is not set.
10977 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10978
6ee65ed6
UD
109792012-01-27 Ulrich Drepper <drepper@gmail.com>
10980
10981 [BZ #13618]
10982 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
10983 relocation.
10984 * Makeconfig (libm): Define.
10985 * elf/Makefile: Add rules to build and run tst-relsort1.
10986 * elf/tst-relsort1.c: New file.
10987 * elf/tst-relsort1mod1.c: New file.
10988 * elf/tst-relsort1mod2.c: New file.
10989
8db21882
JM
109902012-01-27 Joseph Myers <joseph@codesourcery.com>
10991
10992 * math/s_ldexp.c: Remove __STDC__ conditionals.
10993 * math/s_ldexpf.c: Likewise.
10994 * math/s_ldexpl.c: Likewise.
10995 * math/s_nextafter.c: Likewise.
10996 * math/s_nexttowardf.c: Likewise.
10997 * math/s_significand.c: Likewise.
10998 * math/s_significandf.c: Likewise.
10999 * math/s_significandl.c: Likewise.
11000 * math/w_jnl.c: Likewise.
11001 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11002 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11003 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11004 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11005 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11006 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11007 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
11008 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11009 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11010 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11011 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11012 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11013 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11014 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11015 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11016 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11017 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11018 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11019 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11020 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11021 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11022 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11023 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11024 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11025 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11026 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11027 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11028 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11029 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11030 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11031 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11032 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11033 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11034 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11035 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11036 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11037 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11038 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11039 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11040 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11041 * sysdeps/ieee754/k_standard.c: Likewise.
11042 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11043 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11044 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11045 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11046 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11047 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11048 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11049 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11050 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11051 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11052 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11053 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11054 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11055 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11056 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11057 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11058 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11059 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11060 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11061 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11062 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11063 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11064 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11065 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11066 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11067 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11068 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11069 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11070 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11071 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11072 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11073 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11074 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11075 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11076 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11077 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11078 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11079 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11080 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11081 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11082 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11083 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11084 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11085 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11086 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11087 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11088 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11089 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11090 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11091 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11092 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11093 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11094 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11095 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11096 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11097 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11098 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11099 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11100 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11101 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11102 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11103 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11104 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11105 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11106 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11107 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11108 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11109 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11110 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11111 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11112 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11113 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11114 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11115 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11116 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11117 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11118 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11119 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11120 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11121 * sysdeps/ieee754/s_matherr.c: Likewise.
11122 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11123 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11124 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11125 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11126
965a54a4
JM
111272012-01-26 Joseph Myers <joseph@codesourcery.com>
11128
11129 * crypt/md5.h: Remove __STDC__ conditionals.
11130 * libio/libioP.h: Likewise.
11131 * locale/programs/config.h: Likewise.
11132 * sysdeps/generic/sysdep.h: Likewise.
11133 * sysdeps/i386/asm-syntax.h: Likewise.
11134 * sysdeps/s390/asm-syntax.h: Likewise.
11135 * sysdeps/unix/sysdep.h: Likewise.
11136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11138
7071ad79
JM
111392012-01-26 Joseph Myers <joseph@codesourcery.com>
11140
11141 * libio/libio.h: Remove __STDC__ conditionals.
11142 * malloc/obstack.h: Likewise.
11143 * math/complex.h: Likewise.
11144 * math/math.h: Likewise.
11145 * sysdeps/generic/_G_config.h: Likewise.
11146 * sysdeps/gnu/_G_config.h: Likewise.
11147 * sysdeps/mach/hurd/_G_config.h: Likewise.
11148 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11149 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11150 * sysdeps/sparc/bits/mathdef.h: Likewise.
11151
afc5ed09
UD
111522012-01-26 Ulrich Drepper <drepper@gmail.com>
11153
11154 [BZ #13583]
11155 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 11156 Clean up HAS_* macros.
afc5ed09 11157 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
11158 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
11159 possible.
11160 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
11161 HAS_AVX.
11162 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11163 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11164 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11165 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11166 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 11167
bdb6de1d
JM
111682012-01-25 Joseph Myers <joseph@codesourcery.com>
11169
11170 * elf/tst-unique3.cc (gets): Remove declaration.
11171 * elf/tst-unique3lib.cc (gets): Likewise.
11172 * elf/tst-unique3lib2.cc (gets): Likewise.
11173 * elf/tst-unique4.cc (gets): Likewise.
11174
b15549e6
UD
111752012-01-24 Ulrich Drepper <drepper@gmail.com>
11176
11177 * include/stdio.h: Add C++ protection. Add gets declarations and
11178 definitions.
11179 * debug/tst-chk1.c: Don't declare gets here.
11180 * stdio-common/tst-gets.c: Likewise.
11181
a037381f
JM
111822012-01-24 Joseph Myers <joseph@codesourcery.com>
11183
11184 * posix/glob: Remove directory.
11185
f1d4aa75
JM
111862012-01-24 Joseph Myers <joseph@codesourcery.com>
11187
11188 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
11189
81c0c964
PT
111902012-01-22 Pino Toscano <toscano.pino@tiscali.it>
11191
11192 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
11193 of the non-standard EPFNOSUPPORT.
11194
0ea698ae
ST
111952011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
11196
11197 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
11198 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
11199 ANYWHERE set to 1 only on KERN_NO_SPACE error.
11200
d220b117
UD
112012012-01-21 Ulrich Drepper <drepper@gmail.com>
11202
11203 * wcsmbs/uchar.h: Test __STDC_VERSION__.
11204
3e1aa84e
UD
112052012-01-20 Ulrich Drepper <drepper@gmail.com>
11206
11207 * nscd/aicache.c (addhstaiX): Do not cache negative results of
11208 transient errors.
11209 * nscd/grpcache.c (cache_addgr): Likewise.
11210 * nscd/hstcache.c (cache_addhst): Likewise.
11211 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11212 * nscd/pwdcache.c (cache_addpw): Likewise.
11213 * nscd/servicescache.c (cache_addserv): Likewise.
11214
400aa020
UD
112152012-01-16 Ulrich Drepper <drepper@gmail.com>
11216
d77e7869
UD
11217 * malloc/malloc.c: Various cleanups.
11218 * malloc/hooks.c: Likewise.
11219
400aa020
UD
11220 * stdlib/Makefile (tests): Add bug-fmtmsg1.
11221 * stdlib/bug-fmtmsg1.c: New file.
11222
11223 * stdlib/fmtmsg.c (init): Add missing unlock.
11224 Patch by Peng Haitao <penght@cn.fujitsu.com>.
11225
e0a309cf
MP
112262012-01-12 Marek Polacek <polacek@redhat.com>
11227
11228 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
11229 and _GNU_SOURCE.
11230
929d11c7
WS
112312012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11232
11233 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
11234 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
11235 macro to ensure uniqueness of label name.
11236 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11237 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11238
41d0e869
UD
112392012-01-11 Ulrich Drepper <drepper@gmail.com>
11240
0cc5ed3b
UD
11241 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
11242
41d0e869
UD
11243 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
11244 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11245 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11246 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
11247
a47a831a
UD
112482012-01-10 Ulrich Drepper <drepper@gmail.com>
11249
daa891c0
UD
11250 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
11251
11252 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
11253 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11254 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11255
e58ef0f2
UD
11256 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
11257
a47a831a 11258 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
11259 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11260 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 11261 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
11262
11263 * math/bits/math-finite.h: Add ldexp support.
11264
a0bfc9c7
MP
112652012-01-10 Marek Polacek <polacek@redhat.com>
11266
11267 * locale/programs/localedef.h (show_archive_content): Add noreturn
11268 attribute.
11269
d6e97a1d
UD
112702012-01-09 Ulrich Drepper <drepper@gmail.com>
11271
11272 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
11273
d5835c26
UD
112742012-01-08 Ulrich Drepper <drepper@gmail.com>
11275
e5f484c6
UD
11276 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
11277
d5835c26
UD
11278 * io/Makefile (headers): Add bits/poll2.h.
11279
d1f741e9
WS
112802011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
11281
11282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
11283 typo #include statement.
11284
ec09c1c4
UD
112852012-01-08 Ulrich Drepper <drepper@gmail.com>
11286
11287 * include/sys/cdefs.h: Define __attribute_alloc_size.
11288 * catgets/gencat.c: Add alloc_size attribute and apply consistently
11289 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
11290 * elf/pldd.c: Likewise.
11291 * iconv/iconv_charmap.c: Likewise.
11292 * iconv/iconvconfig.c: Likewise.
11293 * iconv/strtab.c: Likewise.
11294 * locale/programs/locale.c: Likewise.
11295 * locale/programs/localedef.h: Likewise.
11296 * locale/programs/simple-hash.c: Likewise.
11297 * nscd/nscd.h: Likewise.
11298 * nss/makedb.c: Likewise.
11299 * sysdeps/generic/ldconfig.h: Likewise.
11300 * locale/programs/localedef.c: Remove xmalloc prototype.
11301 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
11302
20b38e03
PP
113032012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11304
11305 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
11306 appropriate.
11307
a0da5fe1
UD
113082012-01-08 Ulrich Drepper <drepper@gmail.com>
11309
1d5a644a 11310 * math/Makefile (tests): Add tst-CMPLX.
669704fd 11311 * math/tst-CMPLX.c: New file.
1d5a644a 11312
8784a6db
UD
11313 * math/complex.h (CMPLXL): Fix typo.
11314
d9a216c0
UD
11315 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11316 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11317 GLIBC_2.16.
11318 * debug/tst-chk1.c: Add poll and ppoll tests.
11319 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11320 * include/sys/poll.h: Add hidden proto for ppoll.
11321 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11322 * sysdeps/mach/hurd/ppoll.c: Likewise.
11323 * io/ppoll.c: Likewise.
11324 * debug/poll_chk.c: New file.
11325 * debug/ppoll_chk.c: New file.
11326 * include/bits/poll2.h: New file.
11327 * io/bits/poll2.h: New file.
11328
ac097f5c
UD
11329 [BZ #1350]
11330 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11331
2119dcfa
UD
11332 * configure.in: static is always set to yes. Remove.
11333 * config.make.in: Don't set build-static.
11334 * Makeconfig: Remove use of build-static.
11335 * dlfcn/Makefile: Likewise.
11336 * elf/Makefile: Likewise.
11337 * math/Makefile: Likewise.
11338 * misc/Makefile: Likewise.
11339 * nptl/Makefile: Likewise.
11340 * sysdeps/mach/hurd/Makefile: Likewise.
11341
121766a9
UD
11342 * configure.in: PWD_P is not used anymore.
11343 * config.make.in: Remove PWD_P entry.
11344
51a1d39c 11345 * configure.in: Remove last remnants of RANLIB.
8720d066 11346 No need to check for signed size_t anymore.
215f4bdc
UD
11347 Don't set libc_commonpagesize and libc_relro_required here for Alpha
11348 and IA-64.
3857022a 11349 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
11350 * aclocal.m4: Likewise.
11351
d3ed7225
UD
11352 * wcsmbs/mbrtoc16.c: Implement using towc function.
11353 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11354 * wcsmbs/wcsmbsload.c: Likewise.
11355 * iconv/gconv_simple.c: Likewise.
11356 * iconv/gconv_int.h: Likewise.
11357 * iconv/gconv_builtin.h: Likewise.
11358 * iconv/iconv_prog.c: Remove CHAR16 handling.
11359
11360 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11361
11362 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11363
a0da5fe1
UD
11364 * configure.in: Remove --with-elf and --enable-bounded options.
11365 Dont set base_machine for ia64. More non-ELF conditions removed.
11366 Remove testing and setting of leading underscore information.
11367 * config.make.in (build-bounded): Set to no.
11368 * config.h.in: Remove NO_UNDERSCORES entry.
11369 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
11370 them.
11371 * csu/start.c: Remove !NO_UNDERSCORE code.
11372 * locale/localeinfo.h: Likewise.
11373 * sysdeps/generic/machine-gmon.h: Likewise.
11374 * sysdeps/generic/sysdep.h: Likewise.
11375 * sysdeps/i386/sysdep.h: Likewise.
11376 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11377 * sysdeps/mach/sysdep.h: Likewise.
11378 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11379 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11380 * sysdeps/sh/sysdep.h: Likewise.
11381 * sysdeps/sparc/sparc32/alloca.S: Likewise.
11382 * sysdeps/unix/i386/sysdep.S: Likewise.
11383 * sysdeps/unix/sparc/start.c: Likewise.
11384 * sysdeps/unix/sparc/sysdep.S: Likewise.
11385 * sysdeps/unix/sparc/sysdep.h: Likewise.
11386 * sysdeps/unix/start.c: Likewise.
11387 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11388 * sysdeps/x86_64/sysdep.h: Likewise.
11389
df78418a
UD
113902012-01-07 Ulrich Drepper <drepper@gmail.com>
11391
a784e502
UD
11392 [BZ #13553]
11393 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11394 for non-gcc.
11395 * argp/argp-fmtstream.h: Use const instead __const.
11396 * argp/argp.h: Likewise.
11397 * assert/assert.h: Likewise.
11398 * bits/fenv.h: Likewise.
11399 * bits/sched.h: Likewise.
11400 * bits/sigset.h: Likewise.
11401 * bits/sigthread.h: Likewise.
11402 * catgets/nl_types.h: Likewise.
11403 * conform/data/pthread.h-data: Likewise.
11404 * crypt/crypt-private.h: Likewise.
11405 * crypt/crypt.h: Likewise.
11406 * crypt/crypt_util.c: Likewise.
11407 * ctype/ctype.h: Likewise.
11408 * debug/execinfo.h: Likewise.
11409 * debug/mbsnrtowcs_chk.c: Likewise.
11410 * debug/mbsrtowcs_chk.c: Likewise.
11411 * debug/wcsnrtombs_chk.c: Likewise.
11412 * debug/wcsrtombs_chk.c: Likewise.
11413 * debug/wcstombs_chk.c: Likewise.
11414 * dirent/dirent.h: Likewise.
11415 * dlfcn/dlfcn.h: Likewise.
11416 * elf/neededtest4.c: Likewise.
11417 * grp/grp.h: Likewise.
11418 * gshadow/gshadow.h: Likewise.
11419 * iconv/gconv.h: Likewise.
11420 * iconv/gconv_int.h: Likewise.
11421 * iconv/gconv_simple.c: Likewise.
11422 * iconv/iconv.h: Likewise.
11423 * iconv/loop.c: Likewise.
11424 * iconv/skeleton.c: Likewise.
11425 * include/aio.h: Likewise.
11426 * include/aliases.h: Likewise.
11427 * include/argz.h: Likewise.
11428 * include/arpa/inet.h: Likewise.
11429 * include/assert.h: Likewise.
11430 * include/dirent.h: Likewise.
11431 * include/dlfcn.h: Likewise.
11432 * include/execinfo.h: Likewise.
11433 * include/fcntl.h: Likewise.
11434 * include/fenv.h: Likewise.
11435 * include/glob.h: Likewise.
11436 * include/grp.h: Likewise.
11437 * include/libintl.h: Likewise.
11438 * include/mntent.h: Likewise.
11439 * include/netdb.h: Likewise.
11440 * include/pwd.h: Likewise.
11441 * include/rpc/netdb.h: Likewise.
11442 * include/sched.h: Likewise.
11443 * include/search.h: Likewise.
11444 * include/shadow.h: Likewise.
11445 * include/signal.h: Likewise.
11446 * include/stdio.h: Likewise.
11447 * include/stdlib.h: Likewise.
11448 * include/string.h: Likewise.
11449 * include/sys/socket.h: Likewise.
11450 * include/sys/stat.h: Likewise.
11451 * include/sys/statfs.h: Likewise.
11452 * include/sys/statvfs.h: Likewise.
11453 * include/sys/syslog.h: Likewise.
11454 * include/sys/time.h: Likewise.
11455 * include/sys/uio.h: Likewise.
11456 * include/time.h: Likewise.
11457 * include/unistd.h: Likewise.
11458 * include/utmp.h: Likewise.
11459 * include/wchar.h: Likewise.
11460 * include/wctype.h: Likewise.
11461 * inet/aliases.h: Likewise.
11462 * inet/arpa/inet.h: Likewise.
11463 * inet/netinet/ether.h: Likewise.
11464 * inet/netinet/in.h: Likewise.
11465 * intl/libintl.h: Likewise.
11466 * io/bits/fcntl2.h: Likewise.
11467 * io/fcntl.h: Likewise.
11468 * io/ftw.h: Likewise.
11469 * io/sys/poll.h: Likewise.
11470 * io/sys/stat.h: Likewise.
11471 * io/sys/statfs.h: Likewise.
11472 * io/sys/statvfs.h: Likewise.
11473 * io/utime.h: Likewise.
11474 * libio/bits/stdio.h: Likewise.
11475 * libio/bits/stdio2.h: Likewise.
11476 * libio/libio.h: Likewise.
11477 * libio/libioP.h: Likewise.
11478 * libio/stdio.h: Likewise.
11479 * locale/lc-ctype.c: Likewise.
11480 * locale/locale.h: Likewise.
11481 * login/utmp.h: Likewise.
11482 * malloc/arena.c: Likewise.
11483 * malloc/malloc.c: Likewise.
11484 * malloc/malloc.h: Likewise.
11485 * malloc/mcheck.c: Likewise.
11486 * malloc/mtrace.c: Likewise.
11487 * math/bits/mathcalls.h: Likewise.
11488 * math/fenv.h: Likewise.
11489 * math/math_private.h: Likewise.
11490 * misc/bits/error.h: Likewise.
11491 * misc/bits/syslog.h: Likewise.
11492 * misc/err.h: Likewise.
11493 * misc/error.h: Likewise.
11494 * misc/fstab.h: Likewise.
11495 * misc/mntent.h: Likewise.
11496 * misc/regexp.h: Likewise.
11497 * misc/search.h: Likewise.
11498 * misc/sgtty.h: Likewise.
11499 * misc/sys/mman.h: Likewise.
11500 * misc/sys/syslog.h: Likewise.
11501 * misc/sys/uio.h: Likewise.
11502 * misc/sys/xattr.h: Likewise.
11503 * misc/ttyent.h: Likewise.
11504 * nis/rpcsvc/ypclnt.h: Likewise.
11505 * nss/nss.h: Likewise.
11506 * posix/bits/unistd.h: Likewise.
11507 * posix/fnmatch.h: Likewise.
11508 * posix/glob.h: Likewise.
11509 * posix/sched.h: Likewise.
11510 * posix/spawn.h: Likewise.
11511 * posix/sys/wait.h: Likewise.
11512 * posix/unistd.h: Likewise.
11513 * posix/wordexp.h: Likewise.
11514 * pwd/pwd.h: Likewise.
11515 * resolv/netdb.h: Likewise.
11516 * resource/sys/resource.h: Likewise.
11517 * rt/aio.h: Likewise.
11518 * rt/bits/mqueue2.h: Likewise.
11519 * rt/mqueue.h: Likewise.
11520 * shadow/shadow.h: Likewise.
11521 * signal/signal.h: Likewise.
11522 * socket/send.c: Likewise.
11523 * socket/sendto.c: Likewise.
11524 * socket/sys/socket.h: Likewise.
11525 * stdio-common/printf.h: Likewise.
11526 * stdlib/bits/stdlib.h: Likewise.
11527 * stdlib/fmtmsg.h: Likewise.
11528 * stdlib/monetary.h: Likewise.
11529 * stdlib/stdlib.h: Likewise.
11530 * stdlib/ucontext.h: Likewise.
11531 * streams/stropts.h: Likewise.
11532 * string/argz.h: Likewise.
11533 * string/bits/string2.h: Likewise.
11534 * string/string.h: Likewise.
11535 * string/strings.h: Likewise.
11536 * sunrpc/rpc/auth.h: Likewise.
11537 * sunrpc/rpc/auth_des.h: Likewise.
11538 * sunrpc/rpc/clnt.h: Likewise.
11539 * sunrpc/rpc/netdb.h: Likewise.
11540 * sunrpc/rpc/pmap_clnt.h: Likewise.
11541 * sunrpc/rpc/xdr.h: Likewise.
11542 * sysdeps/generic/inttypes.h: Likewise.
11543 * sysdeps/generic/net/if.h: Likewise.
11544 * sysdeps/generic/sys/swap.h: Likewise.
11545 * sysdeps/gnu/net/if.h: Likewise.
11546 * sysdeps/gnu/utmpx.h: Likewise.
11547 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11548 * sysdeps/i386/i486/bits/string.h: Likewise.
11549 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
11550 * sysdeps/s390/bits/string.h: Likewise.
11551 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
11552 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
11553 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
11554 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11555 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11556 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
11557 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11558 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
11559 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11560 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
11561 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
11562 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11563 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
11564 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11565 * sysdeps/unix/sysv/linux/readv.c: Likewise.
11566 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
11567 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11568 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11569 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11570 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11571 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11572 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
11573 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
11574 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
11575 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
11576 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
11577 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
11578 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11579 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
11580 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
11581 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
11582 * sysvipc/sys/ipc.h: Likewise.
11583 * sysvipc/sys/msg.h: Likewise.
11584 * sysvipc/sys/sem.h: Likewise.
11585 * sysvipc/sys/shm.h: Likewise.
11586 * termios/termios.h: Likewise.
11587 * time/sys/time.h: Likewise.
11588 * time/time.h: Likewise.
11589 * wcsmbs/bits/wchar2.h: Likewise.
11590 * wcsmbs/uchar.h: Likewise.
11591 * wcsmbs/wchar.h: Likewise.
11592 * wctype/wctype.h: Likewise.
11593
0269750c
UD
11594 [BZ #13551]
11595 * Makeconfig: Remove all but ELF support including AIX support.
11596 * Makerules: Likewise.
11597 * config.h.in: Likewise.
11598 * config.make.in: Likewise.
11599 * configure: Likewise.
11600 * configure.in: Likewise.
11601 * csu/Makefile: Likewise.
11602 * csu/version.c: Likewise.
11603 * debug/Makefile: Likewise.
11604 * dlfcn/Makefile: Likewise.
11605 * elf/Makefile: Likewise.
11606 * extra-lib.mk: Likewise.
11607 * iconv/Makefile: Likewise.
11608 * include/libc-symbols.h: Likewise.
11609 * include/shlib-compat.h: Likewise.
11610 * resolv/Makefile: Likewise.
11611 * resolv/res_libc.c: Likewise.
11612 * rt/Makefile: Likewise.
11613 * sysdeps/i386/asm-syntax.h: Likewise.
11614 * sysdeps/i386/sysdep.h: Likewise.
11615 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11616 * sysdeps/mach/sysdep.h: Likewise.
11617 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
11618 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
11619 * sysdeps/s390/asm-syntax.h: Likewise.
11620 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11621 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11622 * sysdeps/sh/sysdep.h: Likewise.
11623 * sysdeps/unix/sparc/sysdep.h: Likewise.
11624 * sysdeps/wordsize-32/divdi3.c: Likewise.
11625 * sysdeps/x86_64/sysdep.h: Likewise.
11626
00bbd29b
UD
11627 * argp/Versions: Remove _argp_unlock_xxx.
11628
11629 [BZ #13559]
11630 * abilist/ld.abilist: Update. Adjust for removal of tls option.
11631 * abilist/libBrokenLocale.abilist: Likewise.
11632 * abilist/libanl.abilist: Likewise.
11633 * abilist/libc.abilist: Likewise.
11634 * abilist/libcrypt.abilist: Likewise.
11635 * abilist/libdl.abilist: Likewise.
11636 * abilist/libm.abilist: Likewise.
11637 * abilist/libnsl.abilist: Likewise.
11638 * abilist/libpthread.abilist: Likewise.
11639 * abilist/libresolv.abilist: Likewise.
11640 * abilist/librt.abilist: Likewise.
11641 * abilist/libthread_db.abilist: Likewise.
11642 * abilist/libutil.abilist: Likewise.
11643 * abilist/libnss_db.abilist: New file.
11644
11645 * scripts/abilist.awk: Add support for indirect functions.
11646
a2693a0e
UD
11647 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
11648
3f05895f
UD
11649 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
11650
ecb6fb48
UD
11651 * shlib-versions: Remove entries for ports architectures.
11652
664f8cb9
UD
11653 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
11654 files in ports.
11655 * elf/stackguard-macros.h: Remove support for IA-64.
11656 * elf/tst-auditmod1.c: Likewise.
11657 * sysdeps/generic/ldsodefs.h: Likewise.
11658
7ae81d88
UD
11659 * sysdeps/unix/sysv/linux/configure.in: Ports should define
11660 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
11661 configure files.
11662
bdeba135
UD
11663 [BZ #13552]
11664 * configure.in: Remove --enable-omitfp support.
11665 * FAQ.in: Adjust.
11666 * config.make.in: Likewise.
11667 * Makeconfig: Likewise.
11668 * manual/install.texi: Likewise.
11669
d75a0a62
UD
11670 In case anyone cares, the IA-64 architecture could move to ports.
11671 * sysdeps/ia64/*: Removed.
11672 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 11673 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 11674
dcc9756b
UD
11675 [BZ #13555]
11676 * configure.in: Remove entries for unsupported architectures.
11677
d3761ebc 11678 [BZ #13533]
9954432e
UD
11679 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
11680 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
11681 routines.
11682 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
11683 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
11684 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
11685 fall back to using wcrtomb.
11686 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
11687 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
11688 renaming.
11689 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
11690 * wcsmbs/tst-c16c32-1.c: New file.
11691
11692 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
11693 local variable.
11694
c3a87236
UD
11695 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
11696
28926a1b
UD
11697 * elf/tst-unique3.cc: Add explicit declaration of gets.
11698 * elf/tst-unique3lib.cc: Likewise.
11699 * elf/tst-unique3lib2.cc: Likewise.
11700 * elf/tst-unique4.cc: Likewise.
11701
df78418a
UD
11702 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
11703
8ecd6b2a
JM
117042012-01-06 Joseph Myers <joseph@codesourcery.com>
11705
11706 [BZ #13566]
11707 * assert/assert.h (static_assert): Don't define for C++.
11708 * libio/stdio.h (gets): Do declare for C++ <= C++11.
11709 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
11710
9f115170
UD
117112012-01-03 Ulrich Drepper <drepper@gmail.com>
11712
5e0d0300
UD
11713 * iconv/loop.c (single loop): Fix assertion in storing of
11714 remaining bytes.
11715
9f115170
UD
11716 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
11717
81fb02b0
UD
117182012-01-01 Ulrich Drepper <drepper@gmail.com>
11719
11720 * posix/getconf.c: Update copyright year.
11721 * nss/getent.c: Likewise.
a316c1f6 11722 * nss/makedb.c: Likewise.
81fb02b0
UD
11723 * iconv/iconvconfig.c: Likewise.
11724 * iconv/iconv_prog.c: Likewise.
11725 * elf/ldconfig.c: Likewise.
a316c1f6
UD
11726 * elf/pldd.c: Likewise.
11727 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
11728 * catgets/gencat.c: Likewise.
11729 * csu/version.c: Likewise.
11730 * elf/ldd.bash.in: Likewise.
11731 * elf/sprof.c (print_version): Likewise.
11732 * locale/programs/locale.c: Likewise.
11733 * locale/programs/localedef.c: Likewise.
a316c1f6 11734 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
11735 * nscd/nscd.c (print_version): Likewise.
11736 * debug/xtrace.sh: Likewise.
11737 * malloc/memusage.sh: Likewise.
11738 * malloc/mtrace.pl: Likewise.
11739 * debug/catchsegv.sh: Likewise.
11740
2ba92745
JJ
117412011-12-30 Jakub Jelinek <jakub@redhat.com>
11742
11743 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
11744 pure attribute.
11745
dadebdae
UD
117462011-12-24 Ulrich Drepper <drepper@gmail.com>
11747
d3761ebc 11748 [BZ #13533]
db6af3eb
UD
11749 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
11750 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
11751 transformations.
11752 * iconv/gconv_int.h: Likewise.
11753 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
11754 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
11755 from libc for GLIBC_2.16.
11756 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
11757 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
11758 * wcsmbs/uchar.h: Really define mbstate_t.
11759 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
11760 * wcsmbs/c16rtomb.c: New file.
11761 * wcsmbs/mbrtoc16.c: New file.
11762 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
11763 for C/POSIX locale.
11764 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
11765 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
11766
dadebdae
UD
11767 * wcsmbs/wchar.h: Add missing __restrict.
11768
67371b56
UD
117692011-12-23 Ulrich Drepper <drepper@gmail.com>
11770
74033a25
UD
11771 [BZ #13532]
11772 * time/Makefile (routines): Add timespec_get.
11773 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
11774 * time/time.h: Define TIME_UTC and declare timespec_get. Define
11775 timespec for ISO C11.
11776 * time/timespec_get.c: New file.
11777 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
11778 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
11779
380d7e87
UD
11780 [BZ #13531]
11781 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
11782 * stdlib/stdlib.h: Declare aligned_alloc.
11783 * Versions.def: Add GLIBC_2.16 for libc.
11784 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
11785
4e9e7a35
UD
11786 [BZ 13527]
11787 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
11788 ISO C11.
11789
380d7e87 11790 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
11791 code.
11792
03a71829
UD
11793 [BZ #13528]
11794 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
11795
839e283e
UD
11796 [BZ #13529]
11797 * assert/assert.h (static_assert): Define.
11798
ce5294e2 11799 * version.h: Update for 2.16 development version.
90fa7312 11800
8d44e150 11801 [BZ #13526]
d7809905
UD
11802 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
11803 _ISOC11_SOURCE.
11804
c0da14cd
UD
11805 * version.h (RELEASE): Bump for 2.15 release.
11806 * include/features.h (__GLIBC_MINOR__): Bump to 15.
11807
530a3249
MP
11808 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
11809 Patch by Marek Polacek <mpolacek@redhat.com>.
11810
67371b56
UD
11811 * bits/byteswap.h: Protect long long constants with __extension__.
11812 * sysdeps/i386/bits/byteswap.h: Likewise.
11813 * sysdeps/ia64/bits/byteswap.h: Likewise.
11814 * sysdeps/s390/bits/byteswap.h: Likewise.
11815 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11816
15db4de1
LD
118172011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11818
11819 [BZ #13540]
bbe315ea
LD
11820 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
11821 destination buffer.
15db4de1
LD
11822 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11823
2b2596b1
MP
118242011-12-23 Marek Polacek <polacek@redhat.com>
11825
11826 * elf/dl-addr.c (determine_info): Add inline keyword.
11827 * elf/tst-auditmod4b.c (check_avx): Likewise.
11828 * elf/tst-auditmod6b.c (check_avx): Likewise.
11829 * elf/tst-auditmod6c.c (check_avx): Likewise.
11830 * elf/tst-auditmod7b.c (check_avx): Likewise.
11831
70c6c246
UD
118322011-12-23 Ulrich Drepper <drepper@gmail.com>
11833
11834 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
11835 !__SSE_MATH__.
11836
c044cf14
LD
118372011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11838
15db4de1 11839 [BZ #13540]
c044cf14
LD
11840 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
11841 processing for last bytes.
11842
6b13d9d9
BH
118432011-08-06 Bruno Haible <bruno@clisp.org>
11844
d455f537
BH
11845 [BZ #13061]
11846 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
11847 U+0385, not to U+1FEE.
11848
6b13d9d9
BH
11849 [BZ #13062]
11850 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
11851 entry for U+00A5 U+0301.
11852
db910efd
UD
118532011-12-22 Ulrich Drepper <drepper@gmail.com>
11854
27deeafc
UD
11855 [BZ #13166]
11856 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
11857 buffer for the output is too small.
11858
aed9d171
UD
11859 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
11860 optimization.
11861
db910efd
UD
11862 [BZ #13185]
11863 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
11864 SSE flags if possible.
11865
2bd779ae
LD
118662011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11867
e7f9dac3 11868 [BZ #13540]
2bd779ae
LD
11869 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
11870 processing for last bytes.
11871
154bfc16
JM
118722011-12-22 Joseph Myers <joseph@codesourcery.com>
11873
11874 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
11875 (syscall-list-default-options, syscall-list-default-condition)
11876 (syscall-list-includes): Define.
11877 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
11878 list of ABIs and options and #if conditions for each ABI. Do not
11879 handle common syscalls between ABIs specially.
11880 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
11881 Remove.
11882 (syscall-list-variants, syscall-list-32bit-options)
11883 (syscall-list-32bit-condition, syscall-list-64bit-options)
11884 (syscall-list-64bit-condition): Define.
11885 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
11886 (syscall-list-variants, syscall-list-32bit-options)
11887 (syscall-list-32bit-condition, syscall-list-64bit-options)
11888 (syscall-list-64bit-condition): Define.
11889 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
11890 Remove.
11891 (syscall-list-variants, syscall-list-32bit-options)
11892 (syscall-list-32bit-condition, syscall-list-64bit-options)
11893 (syscall-list-64bit-condition): Define.
11894 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
11895 Remove.
11896 (syscall-list-variants, syscall-list-32bit-options)
11897 (syscall-list-32bit-condition, syscall-list-64bit-options)
11898 (syscall-list-64bit-condition): Define.
11899
21eaf3a5
UD
119002011-12-22 Ulrich Drepper <drepper@gmail.com>
11901
16c6f992
UD
11902 * locale/iso-639.def: Add brx entry.
11903
41043168
UD
11904 [BZ #13328]
11905 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
11906 Proposed by Mariusz_Cukr <marcukr@op.pl>.
11907
21eaf3a5
UD
11908 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
11909 __feraiseexcept_renamed.
11910
e3a851a2
UD
119112011-12-21 Ulrich Drepper <drepper@gmail.com>
11912
4920765e
UD
11913 [BZ #13538]
11914 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
11915 EPOLLET with unsigned values.
11916 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11917 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11918
e3a851a2
UD
11919 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
11920 to large cancellation.
11921 * math/s_cacoshf.c: Likewise.
11922 * math/s_cacoshl.c: Likewise.
11923
b27e24b8
RK
119242011-11-18 Richard B. Kreckel <kreckel@ginac.de>
11925
11926 [BZ #13305]
aebefeee 11927 [BZ #12786]
b27e24b8
RK
11928 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
11929 * math/s_cacoshf.c: Likewise.
11930 * math/s_cacoshl.c: Likewise.
11931
ee190f67
UD
119322011-12-21 Ulrich Drepper <drepper@gmail.com>
11933
11934 [BZ #13439]
11935 * iconv/gconv.h: Define __GCONV_SWAP.
11936 * iconvdata/unicode.c: The swap bit must be stored in __flags.
11937 * iconvdata/utf-16.c: Likewise.
11938 * iconvdata/utf-32.c: Likewise.
11939
707f25df
AS
119402011-12-21 Andreas Schwab <schwab@linux-m68k.org>
11941
11942 [BZ #13524]
11943 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
11944 numerator after shifting it by one limb.
11945
d2daaa1e
RÁE
119462011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
11947
11948 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
11949 under [__USE_EXTERN_INLINES].
11950
a4647e72
UD
119512011-12-17 Ulrich Drepper <drepper@gmail.com>
11952
11953 [BZ #13446]
11954 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
11955
f0b264f1
AZ
119562011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11957
11958 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
11959 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
11960 optimized code.
11961 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
11962 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
11963 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
11964 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
11965 for strncasecmp/strncasecmp_l compilation.
11966 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
11967 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
11968
8ef4f244
MP
119692011-12-08 Marek Polacek <mpolacek@redhat.com>
11970
11971 [BZ #13484]
11972 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
11973 of __asm__.
11974
97ac2654
UD
119752011-12-17 Ulrich Drepper <drepper@gmail.com>
11976
11977 [BZ #13506]
11978 * time/tzfile.c (__tzfile_read): Check values from file header.
11979
91d2a845
WS
119802011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11981
11982 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
11983 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
11984 * powerpc/powerpc32/dl-start.S: Likewise.
11985 * powerpc/powerpc32/elf/start.S: Likewise.
11986 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11987 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
11988 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
11989 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
11990 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11991 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
11992 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
11993 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11994 * powerpc/powerpc32/fpu/s_round.S: Likewise.
11995 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11996 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11997 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11998 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11999 * powerpc/powerpc32/memset.S: Likewise.
12000 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12001 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12002 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12003 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12004 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12005 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12006 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12007 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12008 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
12009 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
12010 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
12011 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12012 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12013
a1267ba1
AZ
120142011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12015
12016 * math/libm-test.inc: Added more nearbyint tests.
12017 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
12018 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
12019 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
12020 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
12021
ad8ac1bd
RL
120222011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
12023
12024 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
12025 FD_CLOEXEC.
12026
1d3e4b61
UD
120272011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12028
12029 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
12030 Add wcscpy-ssse3 wcscpy-c.
12031 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
12032 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
12033 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
12034 * sysdeps/x86_64/wcschr.S: New file.
12035 * sysdeps/x86_64/wcsrchr.S: New file.
12036 * string/test-strcmp.c: Remove checking of wcscmp function for
12037 wrong alignments.
12038 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
12039 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
12040 wcsrchr-sse2 wcsrchr-c.
12041 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
12042 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
12043 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
12044 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
12045 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
12046 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
12047 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
12048 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
12049 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
12050 * wcsmbc/wcschr.c (WCSCHR): New macro.
12051
5b330a2d
UD
120522011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12053
12054 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
12055 * wcsmbs/test-wcsrchr.c: New file.
12056 * string/test-strrchr.c: Add wcsrchr support.
12057 (WIDE): New macro.
12058 * wcsmbs/test-wcscpy.c: New file.
12059 * string/test-strcpy.c: Add wcscpy support.
12060 (WIDE): New macro.
26428b7c 12061
f039c043
UD
120622011-12-10 Ulrich Drepper <drepper@gmail.com>
12063
12064 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
12065 the inner loop.
12066
850fb039
AS
120672011-12-06 Andreas Schwab <schwab@linux-m68k.org>
12068
12069 [BZ #13472]
12070 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
12071
4efbd5cb
UD
120722011-12-04 Ulrich Drepper <drepper@gmail.com>
12073
52ff5dd0 12074 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 12075 Minor optimizations.
52ff5dd0 12076
4efbd5cb
UD
12077 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
12078 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
12079 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12080
8a426e12
UD
120812011-12-03 Ulrich Drepper <drepper@gmail.com>
12082
aff2453d
UD
12083 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
12084 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
12085 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
12086 for gcc to avoid warnings.
12087 * inet/Makefile (tests): Add tst-checks.
12088 * inet/tst-checks.c: New file.
12089
12090 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
12091 warning.
12092
12093 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
12094 __wmemcmp_sse2.
12095
12096 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
12097 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
12098
8a426e12
UD
12099 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
12100
9bea3473
UD
121012011-12-02 Ulrich Drepper <drepper@gmail.com>
12102
3a965496
UD
12103 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
12104 problem.
12105
9bea3473
UD
12106 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
12107
f101631b
UD
121082011-11-29 Joseph Myers <joseph@codesourcery.com>
12109
12110 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
12111 conditional on GCC version.
12112 (__arch_compare_and_exchange_val_8_acq)
12113 (__arch_compare_and_exchange_val_16_acq)
12114 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
12115 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
12116 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
12117
a98275aa
UD
121182011-12-02 Joseph Myers <joseph@codesourcery.com>
12119
12120 * sysdeps/sh/backtrace.c: New file.
12121
d4cc29a2
AS
121222011-12-02 Andreas Schwab <schwab@redhat.com>
12123
12124 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
12125 parenthesis.
12126
6257af2d
AS
121272011-12-01 Andreas Schwab <schwab@redhat.com>
12128
12129 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
12130 falling back to utime.
12131
b5f44c1a
AS
121322011-11-30 Andreas Schwab <schwab@redhat.com>
12133
12134 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
12135 expectations for float.
12136
f3a6cc0a
AS
121372011-11-29 Andreas Schwab <schwab@redhat.com>
12138
12139 * locale/weight.h (findidx): Add parameter len.
12140 * locale/weightwc.h (findidx): Likewise.
12141 * posix/fnmatch_loop.c (FCT): Adjust caller.
12142 * posix/regcomp.c (build_equiv_class): Likewise.
12143 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
12144 * posix/regexec.c (check_node_accept_bytes): Likewise.
12145 * string/strcoll_l.c (STRCOLL): Likewise.
12146 * string/strxfrm_l.c (STRXFRM): Likewise.
12147
9d65ea3a
UD
121482011-11-17 Ulrich Drepper <drepper@gmail.com>
12149
12150 * Makefile.in: Remove CVSOPT handling.
12151 * configure.in: Remove use of AC_REVISION.
12152 * iconvdata/Makefile (distribute): No need to filter out CVS.
12153 * scripts/list-sources.sh: Remove CVS, subversion and monotone
12154 handling.
12155
5583a086
AS
121562011-11-16 Andreas Schwab <schwab@redhat.com>
12157
12158 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
12159 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
12160 [USE_AS_STRNCASECMP_L]: Likewise.
12161 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
12162 NO_TLS_DIRECT_SEG_REFS.
12163 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
12164 Fix argument offsets for non-PIC.
12165 [USE_AS_STRNCASECMP_L]: Likewise.
12166 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
12167 NO_TLS_DIRECT_SEG_REFS.
12168
d62a8200
UD
121692011-11-15 Ulrich Drepper <drepper@gmail.com>
12170
9d65ea3a 12171 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
12172 O_CLOEXEC.
12173 * locale/loadlocale.c (_nl_load_locale): Likewise.
12174
09f93bd3
AS
121752011-11-15 Andreas Schwab <schwab@redhat.com>
12176
446514f9
AS
12177 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
12178 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
12179 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
12180 (SYSCALL_GETTIME): Set errno on error.
12181
09f93bd3
AS
12182 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
12183 count references to noai6ai_cached.
12184
312be3f9
UD
121852011-11-15 Ulrich Drepper <drepper@gmail.com>
12186
12187 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
12188
12189 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
12190 FD_CLOEXEC for /proc/self/maps.
12191
12192 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
12193 FD_CLOEXEC for /proc/meminfo.
12194
12195 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
12196 gai.conf.
12197
12198 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
12199 FD_CLOEXEC for given file.
12200
12201 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
12202
12203 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
12204 FD_CLOEXEC for /etc/hosts.
12205 (_gethtent): Likewise.
12206
12207 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
12208
12209 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
12210 cancellation and set FD_CLOEXEC for /etc/netgroup.
12211
12212 * nss/nss_files/files-key.c (search): Don't allow cancellation when
12213 reading /etc/publickey.
12214
12215 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
12216 allow cancellation when reading /etc/group.
12217
12218 * nss/nss_files/files-alias.c (internal_setent): Don't allow
12219 cancellation.
12220 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
12221
12222 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
12223 when using data file.
12224
12225 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
12226
12227 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
12228 (write_nis_obj): Use "c" and "e" in fopen.
12229
12230 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
12231
12232 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
12233
12234 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
12235
12236 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
12237
12238 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
12239 locale.alias.
12240
12241 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
12242
12243 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
12244
12245 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
12246
12247 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
12248 file parsing and set FD_CLOEXEC.
12249
82af0fa8
UD
122502011-11-14 Ulrich Drepper <drepper@gmail.com>
12251
12252 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
12253
a5fb313c
AS
122542011-11-14 Andreas Schwab <schwab@redhat.com>
12255
12256 * malloc/arena.c (arena_get2): Don't call reused_arena when
12257 _int_new_arena failed.
12258
6abf3465
UD
122592011-11-14 Ulrich Drepper <drepper@gmail.com>
12260
12261 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
12262 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
12263 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
12264 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12265 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12266 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
12267 to compile strcasecmp and strncasecmp.
12268 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
12269 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
12270
12271 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
12272
76e3966e
UD
122732011-11-13 Ulrich Drepper <drepper@gmail.com>
12274
12275 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
12276 locale-defines.sym to gen-as-const-headers.
12277 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
12278 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
12279 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
12280 to compile strcasecmp and strncasecmp.
12281 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
12282 strcasecmp_l and strncasecmp_l.
12283 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
12284 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
12285 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
12286 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
12287 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
12288 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
12289 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
12290 * sysdeps/i386/i686/multiarch/strncase.S: New file.
12291 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
12292 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
12293 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
12294
ab26144e
UD
122952011-11-12 Ulrich Drepper <drepper@gmail.com>
12296
7edb22ef
UD
12297 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
12298 result of SYSDEP_GETTIME_CPU to retval.
12299 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
12300 parameter list to macro. Remove trailing semicolon. Adjust users.
12301
9694fc44
UD
12302 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
12303 variable.
12304
8ad89ef8
UD
12305 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
12306 mantissa words.
12307 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12308
0c822ef9
UD
12309 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
12310 from unused variable.
12311
874e0564
UD
12312 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12313 DWARF definitions.
12314 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12315 for assembling.
12316
3a2edc79
UD
12317 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12318 over namespaces.
12319
f3c2577f
UD
12320 * sunrpc/rpc_prot.c (rejected): Fix case value.
12321
294ce126
UD
12322 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12323 unsigned long long int to avoid warnings in shift.
12324
5e2b63c6
UD
12325 * posix/regex_internal.c (re_string_reconstruct): Actually use result
12326 of use of trans.
12327 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12328 variable tmp.
12329
e7f4b08e
UD
12330 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12331 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12332 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12333
ab26144e
UD
12334 * nis/nis_table.c (nis_list): Use variable of correct type for
12335 result of __follow_path call.
12336
8a6d5255
AZ
123372011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12338
12339 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12340 of math functions ceil, trunc, floor, round, and sqrt, when
12341 avaliable on the platform.
12342 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12343 name clash.
12344 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12345 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12346 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12347
aaddc98c
MP
123482011-10-30 Marek Polacek <mpolacek@redhat.com>
12349
12350 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12351 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12352
95b7042b
RM
123532011-11-11 Roland McGrath <roland@hack.frob.com>
12354
12355 * include/unistd.h: Fix __readlink return type.
12356 Reported by Chris Metcalf <cmetcalf@tilera.com>.
12357
57769839
UD
123582011-11-11 Ulrich Drepper <drepper@gmail.com>
12359
12360 * stdlib/ucontext.h: Undo last change for makecontext.
12361
edc5984d
AS
123622011-11-11 Andreas Schwab <schwab@redhat.com>
12363
98591e58
AS
12364 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12365
edc5984d
AS
12366 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12367 * setjmp/setjmp.h: Mark functions as non-leaf.
12368 * setjmp/bits/setjmp2.h: Likewise.
12369 * stdlib/ucontext.h: Likewise.
12370
77cdc054
AS
123712011-11-10 Andreas Schwab <schwab@redhat.com>
12372
12373 * malloc/arena.c (_int_new_arena): Don't increment narenas.
12374 (reused_arena): Don't check arena limit.
12375 (arena_get2): Atomically check arena limit.
12376
fe72eebd
UD
123772011-11-08 Ulrich Drepper <drepper@gmail.com>
12378
5f078c32
UD
12379 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12380 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12381
fe72eebd
UD
12382 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12383 instructions.
12384
ae1bc2fa
AS
123852011-11-07 Andreas Schwab <schwab@redhat.com>
12386
7583a88d
AS
12387 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12388 handler when locking.
12389
ae1bc2fa
AS
12390 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12391 Fix size of allocated buffer.
12392
10fb0bfa
AS
123932011-11-04 Andreas Schwab <schwab@redhat.com>
12394
998832a4
AS
12395 [BZ #10103]
12396 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12397 declarations for long double functions.
12398 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12399
10fb0bfa
AS
12400 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12401
3d7ba52b
AS
124022011-11-03 Andreas Schwab <schwab@redhat.com>
12403
a9ae54a1
AS
12404 * nscd/nscd.c (main): Don't start AVC thread until credentials are
12405 installed.
12406
3d7ba52b
AS
12407 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
12408 is disabled.
12409
bc8db248
ST
124102011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12411
12412 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
12413
45b96dd6
AS
124142011-11-01 Andreas Schwab <schwab@linux-m68k.org>
12415
647776f6
AS
12416 * include/alloca.h (stackinfo_alloca_round): Define.
12417 (extend_alloca): Use it.
12418 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
12419 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
12420 here.
12421
d91a8b93
AS
12422 * scripts/check-local-headers.sh: Ignore libaudit.h.
12423
45b96dd6
AS
12424 * nscd/Makefile (extra-objs): Make recursively expanded.
12425
432d41ce
UD
124262011-11-01 Ulrich Drepper <drepper@gmail.com>
12427
34372fc6
UD
12428 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
12429 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12430
fadb59f8
UD
12431 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
12432 * posix/tst-rfc3484-2.c: Likewise.
12433 * posix/tst-rfc3484-3.c: Likewise.
12434
78239589
UD
12435 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12436 process_vm_writev.
12437 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
12438 process_vm_writev.
12439 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
12440 process_vm_writev from libc using GLIBC_2.15 version.
12441
432d41ce
UD
12442 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
12443
02f9c6cf
PP
124442011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12445
12446 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
12447 stack usage.
12448
3a2c0242
UD
124492011-10-31 Ulrich Drepper <drepper@gmail.com>
12450
f4ec4833
UD
12451 [BZ #13367]
12452 * nss/getent.c (initgroups_keys): Show error message in case no group
12453 names are given.
12454
3a2c0242
UD
12455 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
12456 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
12457 __bump_nl_timestamp.
12458 * nscd/connections (nscd_init): When host database is served open
12459 netlink socket and request notification about configuration changes.
12460 (main_loop_poll): Track netlink file descriptor and bump timestamp
12461 in case data becomes available.
12462 (main_loop_epoll): Likewise.
12463 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
12464 (database_pers_head): Add extra_data fileds.
12465 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
12466 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
12467 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
12468 Adjust caller.
12469 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
12470 in6ai data, call __free_in6ai.
12471 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
12472 Add -DHAVE_NETLINK.
12473 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
12474 interface information. Reuse previous data if netlink timestamp
12475 is not changed.
12476 (__bump_nl_timestamp): New function.
12477 (__free_in6ai): New function.
12478
636064eb
UD
124792011-10-30 Ulrich Drepper <drepper@gmail.com>
12480
12481 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
12482 close_not_cancel_no_status here.
12483 (__check_pf): Reorganize code a bit to not call close twice if OOM.
12484
9beb2334
UD
124852011-10-29 Ulrich Drepper <drepper@gmail.com>
12486
6ef76f3b
UD
12487 [BZ #13276]
12488 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
12489 return value.
12490
0ffc4f3e 12491 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
12492 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
12493 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
12494
cb95113e
UD
124952011-07-03 Andreas Jaeger <aj@suse.de>
12496
12497 [BZ #10709]
12498 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
12499 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
12500 * math/libm-test.inc (sin_test): Add test case.
12501
a1b560ff
UD
125022011-10-29 Ulrich Drepper <drepper@gmail.com>
12503
c9aaface
UD
12504 [BZ #13337]
12505 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
12506 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12507
d272e7f1
UD
12508 * elf/chroot_canon.c (chroot_canon): Cleanups.
12509
1bc33071
UD
12510 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
12511
1760874d
TJ
12512 [BZ #13335]
12513 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
12514 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12515
51d91b18
UD
12516 * string/test-strchr.c: Make usable for strchrnul testing.
12517 * string/test-strchrnul.c: New file.
12518 * string/Makefile (strop-tests): Add strchrnul.
12519
a1b560ff 12520 * po/it.po: Update from translation team.
b611fb81 12521 * po/es.po: Likewise.
a1b560ff 12522
a5b81e1f
UD
125232011-10-28 Ulrich Drepper <drepper@gmail.com>
12524
fd52bc6d
UD
12525 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
12526 the three constants needed as parameters. Drop the others.
12527 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
12528 __m128i_strloadu_tolower.
52e4b9eb
UD
12529 Create and initialize variable zero and use it in all the places
12530 where _mm_setzero_si128 was used.
fd52bc6d 12531
a5b81e1f
UD
12532 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
12533 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
12534 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
12535 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
12536 anymore.
12537 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
12538 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
12539 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
12540 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
12541 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
12542 __mpranred, __mptan.
12543 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
12544 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
12545 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
12546 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
12547 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
12548 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
12549 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
12550 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
12551 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
12552
b4343346
AS
125532011-10-28 Andreas Schwab <schwab@redhat.com>
12554
0c92d8a8
AS
12555 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
12556 redefine if SHARED.
12557 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
12558
b4343346
AS
12559 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
12560 wide char related routines to wcsmbs subdir.
12561
3871f58f
AS
125622011-10-27 Andreas Schwab <schwab@redhat.com>
12563
12564 [BZ #13344]
12565 * misc/sys/cdefs.h (__THROWNL): Define.
12566 * posix/unistd.h: Use __THREADNL instead of __THREAD
12567 for memory synchronization functions.
12568
94d44d9f
RM
125692011-10-26 Roland McGrath <roland@hack.frob.com>
12570
21b64b15 12571 [BZ #13349]
94d44d9f
RM
12572 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
12573 doesn't exist.
12574 * manual/stdio.texi (Obstack Streams): Node removed.
12575
f6ce9294
AS
125762011-10-26 Andreas Schwab <schwab@redhat.com>
12577
80479147
AS
12578 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
12579 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12580 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12581
f6ce9294
AS
12582 * math/math_private.h (math_force_eval): Allow non-addressable
12583 arguments.
12584 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
12585
618280a1
UD
125862011-10-25 Ulrich Drepper <drepper@gmail.com>
12587
e0016b11
UD
12588 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
12589 file is not needed.
12590
12591 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
12592 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12593 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12594 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12595 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12596 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12597 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12598 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
12599 Add AVX variants.
12600 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
12601 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
12602 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
12603 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
12604 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
12605 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
12606 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
12607 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
12608 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
12609 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
12610 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
12611 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
12612 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
12613 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
12614 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
12615 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
12616 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
12617 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
12618 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
12619
12620 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
12621 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
12622
618280a1
UD
12623 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
12624 place. Use VEX encoding when compiling for AVX.
12625
37822576
AS
126262011-10-25 Andreas Schwab <schwab@redhat.com>
12627
1f1e1947
AS
12628 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
12629 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12630
37822576
AS
12631 * string/test-strchr.c (do_test): Don't generate NUL bytes.
12632
31ea014d
UD
126332011-10-25 Ulrich Drepper <drepper@gmail.com>
12634
d7826aa1 12635 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 12636 useless if() expression.
d7826aa1
UD
12637 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12638 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12639 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12640 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12641 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12642 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12643 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12644 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12645 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12646 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12647 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12648 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12649 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12650 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12651 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12652 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12653 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12654 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12655 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12656
31ea014d
UD
12657 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
12658
16437fec
AS
126592011-10-25 Andreas Schwab <schwab@redhat.com>
12660
12661 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
12662 condition.
12663 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12664
31d3cc00
UD
126652011-10-25 Ulrich Drepper <drepper@gmail.com>
12666
12667 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
12668 .text section. Avoid duplicate constants.
12669 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12670 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12671 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12672 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12673 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12674 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12675 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12676 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12677 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12678 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
12679 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12680 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12681 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12682 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12683 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12684 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12685 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12686 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12687 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12688 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12689 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12690 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12691 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12692 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
12693 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
12694 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
12695 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
12696 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
12697 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
12698 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
12699 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
12700 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
12701 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12702 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
12703 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
12704 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
12705 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
12706 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
12707 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
12708 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
12709 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
12710 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
12711 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
12712 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
12713 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
12714
58985aa9
UD
127152011-10-24 Ulrich Drepper <drepper@gmail.com>
12716
202c9deb
UD
12717 * sysdeps/x86_64/dla.h: Move to ...
12718 * sysdeps/x86_64/fpu/dla.h: ...here.
12719 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
12720 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 12721
af968f62
UD
12722 * config.make.in: Add have-mfma4 entry.
12723 * configure.in: Substitute libc_cv_cc_fma4.
12724 * math/Makefile (dbl-only-routines): Add sincostab.
12725 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
12726 Use __sincostab not sincos.
12727 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
12728 name is a macro.
12729 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12730 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12731 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12732 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
12733 using __copysign.
12734 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
12735 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
12736 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
12737 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
12738 and __inv.
12739 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
12740 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
12741 __copysign.
12742 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
12743 define aliases when function name is a macro.
12744 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
12745 sysdeps/ieee754/dbl-64/sincos.tbl.
12746 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
12747 fma4-enabled routines.
12748 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
12749 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
12750 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
12751 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
12752 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
12753 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
12754 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
12755 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
12756 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
12757 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
12758 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
12759 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
12760 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
12761 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
12762 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
12763 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
12764 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
12765 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
12766 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
12767 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
12768 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
12769 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
12770 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
12771 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
12772 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
12773 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
12774 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
12775 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
12776 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
12777 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
12778
58985aa9
UD
12779 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
12780 rename.
12781 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12782 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12783 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12784 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12785 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12786 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12787 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12788 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12789
a201fbcf
AS
127902011-10-24 Andreas Schwab <schwab@redhat.com>
12791
12792 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
12793
fc2ee42a
LD
127942011-10-23 Ulrich Drepper <drepper@gmail.com>
12795
bb3129bd
UD
12796 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
12797
0275fff8
UD
12798 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
12799 prediction.
12800 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
12801
2fa2ae85
UD
12802 * string/strnlen.c: Don't define STRNLEN, reverse logic.
12803 Remove unused variable magic_bits.
12804 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
12805
fc2ee42a
LD
12806 * string/strnlen.c: Define and use STRNLEN macro.
12807 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
12808 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
12809 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
12810 * wcsmbs/wcslen.c: Define and use WCSLEN.
12811 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
12812 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
12813 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
12814 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
12815 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
12816 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
12817 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12818
ce7dd29f
LD
128192011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12820
12821 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12822 strnlen-sse2-no-bsf.
12823 Rename strlen-no-bsf to strlen-sse2-no-bsf.
12824 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
12825 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
12826 Add strnlen support.
12827 (USE_AS_STRNLEN): New macro.
12828 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
12829 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
12830 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
12831 * sysdeps/x86_64/wcslen.S: New file.
12832
979c70a3
MZ
128332011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
12834
12835 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12836 XMM-moves are used for copying on small sizes.
12837
2d09f82f
LD
128382011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12839
12840 * wcsmbs/Makefile (strop-tests): Add wcschr.
12841 * wcsmbs/test-wcschr.c: New file.
12842 * string/test-strchr.c: Update.
12843 Add wcschr support.
12844 (WIDE): New macro.
12845
619fccca
LD
128462011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12847
2d09f82f 12848 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
12849 * wcsmbs/test-wcslen.c: New file.
12850 * string/test-strlen.c: Update.
12851 Add wcslen support.
12852 (WIDE): New macro.
12853
09f699ea
UD
128542011-10-23 Ulrich Drepper <drepper@gmail.com>
12855
12856 * po/it.po: Update from translation team.
12857
95584d3b
LD
128582011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12859
12860 * sysdeps/x86_64/wcscmp.S: Update.
12861 Fix wrong comparison semantics.
12862 wcscmp shall use signed comparison not unsigned.
12863 Don't use substraction to avoid overflow bug.
12864 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12865 * wcsmbc/wcscmp.c: Likewise.
12866 * string/test-strcmp.c: Likewise.
12867 Add new tests to check cases with negative values.
12868
c8b3296b
UD
128692011-10-23 Ulrich Drepper <drepper@gmail.com>
12870
12871 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
12872 * sysdeps/x86_64/dla.h: ...here. New file.
12873 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
12874 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12875 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12876 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12877 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12878 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12879 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12880 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12881 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12882
246ad57a
AS
128832011-10-23 Andreas Schwab <schwab@linux-m68k.org>
12884
12885 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
12886 __ynl_finite aliases.
12887
a1a87169
UD
128882011-10-22 Ulrich Drepper <drepper@gmail.com>
12889
0d355eb7
UD
12890 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12891
a1a87169
UD
12892 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
12893 define DLA_FMA.
12894 [DLA_FMA] (EMULV): Use DLA_FMA.
12895 [DLA_FMA] (MUL12): Use EMULV.
12896 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
12897 that are not needed.
12898 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12899 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12900 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12901 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12902 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12903 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12904 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12905
ee2aafe0
AS
129062011-10-22 Andreas Schwab <schwab@linux-m68k.org>
12907
12908 * math/s_nan.c: Undef __nan.
12909 * math/s_nanf.c: Undef __nanf.
12910 * math/s_nanl.c: Undef __nanl.
12911 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
12912 "math_private.h".
12913
bc62c2fb
UD
129142011-10-22 Ulrich Drepper <drepper@gmail.com>
12915
77425c63
UD
12916 * math/s_catan.c: Add branch predictions.
12917 * math/s_catanf.c: Likewise.
12918 * math/s_catanh.c: Likewise.
12919 * math/s_catanhf.c: Likewise.
12920 * math/s_catanhl.c: Likewise.
12921 * math/s_catanl.c: Likewise.
12922 * math/s_cexp.c: Likewise.
12923 * math/s_cexpf.c: Likewise.
12924 * math/s_cexpl.c: Likewise.
12925 * math/s_clog.c: Likewise.
12926 * math/s_clog10.c: Likewise.
12927 * math/s_clog10f.c: Likewise.
12928 * math/s_clog10l.c: Likewise.
12929 * math/s_clogf.c: Likewise.
12930 * math/s_clogl.c: Likewise.
12931 * math/s_csqrt.c: Likewise.
12932 * math/s_csqrtf.c: Likewise.
12933 * math/s_csqrtl.c: Likewise.
12934 * math/s_ctanf.c: Likewise.
12935 * math/s_ctanh.c: Likewise.
12936 * math/s_ctanhf.c: Likewise.
12937 * math/s_ctanhl.c: Likewise.
12938 * math/s_ctanl.c: Likewise.
12939
bc62c2fb
UD
12940 * math/math_private.h: Define __nan, __nanf, __nanl.
12941 * math/s_cacosh.c: Include <math_private.h>.
12942 * math/s_cacoshl.c: Likewise.
12943 * math/s_casinh.c: Likewise.
12944 * math/s_casinhf.c: Likewise.
12945 * math/s_casinhl.c: Likewise.
12946 * math/s_ccos.c: Rely entire on ccosh.
12947 * math/s_ccosf.c: Rely entire on ccoshf.
12948 * math/s_ccosl.c: Rely entirely on ccoshl.
12949 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
12950 Remove tests for FE_INVALID.
12951 * math/s_ccoshf.c: Likewise.
12952 * math/s_ccoshl.c: Likewise.
12953 * math/s_csin.c: Likewise.
12954 * math/s_csinf.c: Likewise.
12955 * math/s_csinh.c Likewise.
12956 * math/s_csinhf.c: Likewise.
12957 * math/s_csinhl.c: Likewise.
12958 * math/s_csinl.c: Likewise.
12959 * math/s_ctan.c: Likewise.
12960 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
12961 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
12962 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
12963
8ec250a4
UD
129642011-10-21 Ulrich Drepper <drepper@gmail.com>
12965
c196fed8
UD
12966 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
12967 compilation problems.
12968
8ec250a4
UD
12969 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
12970 __builtin_expect.
12971
8d4f46c6
UD
129722011-10-20 Ulrich Drepper <drepper@gmail.com>
12973
ed72b654
UD
12974 * sysdeps/i386/configure.in: Test for -mfma4 option.
12975 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
12976 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
12977 COMMON_CPUID_INDEX_80000001.
12978 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
12979 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
12980 use it if FMA3 is not supported.
12981 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12982
8d4f46c6
UD
12983 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
12984 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12985
d45c60c2
AS
129862011-10-20 Andreas Schwab <schwab@redhat.com>
12987
12988 [BZ #12892]
12989 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
12990 it would create a cycle with a link time dependency.
12991
d9a4d2ab
UD
129922011-10-19 Ulrich Drepper <drepper@gmail.com>
12993
855d1560
UD
12994 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
12995 instruction.
12996 * string/Makefile (strop-tests): Add rawmemchr.
12997 * string/test-rawmemchr.c: New file.
12998
d9a4d2ab
UD
12999 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
13000 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
13001 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
13002 when compiling str{,n}casecmp and when AVX is available. Hook up
13003 new optimized code in initializers.
13004
8f3b1ffe
AS
130052011-10-19 Andreas Schwab <schwab@redhat.com>
13006
13007 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
13008 __feraiseexcept instead of feraiseexcept.
13009
d38f1dba
UD
130102011-10-18 Ulrich Drepper <drepper@gmail.com>
13011
d9a8d0ab
UD
13012 * math/math_private.h: Define defaults for libc_fetestexcept and
13013 libc_feupdateenv.
13014 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
13015 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13016 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13017 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13018 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13019 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13020 libc_fetestexcept and libc_feupdateenv.
13021
4855e3dd
UD
13022 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
13023 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
13024 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
13025 * sysdeps/x86_64/fpu/math_private.h: Define special version of
13026 libc_feholdexcept_setround.
13027
581d30e3
UD
13028 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
13029 Add s_nearbyint-c and s_nearbyintf-c.
13030 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
13031 nearbyintf inlines.
13032 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
13033 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
13034 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
13035 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
13036
d38f1dba
UD
13037 * math/math_private.h: Define defaults for libc_fegetround,
13038 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
13039 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
13040 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
13041 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
13042 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
13043 standard functions.
13044 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13045 Remove comments and hacks for old compiler versions.
13046 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13047 libc_fegetround, libc_fesetround, libc_feholdexcept, and
13048 libc_feholdexceptl.
13049
caa6c9d8
AS
130502011-10-18 Andreas Schwab <schwab@redhat.com>
13051
13052 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
13053 (__feraiseexcept_renamed): Add __NTH.
13054 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
13055 namespace violations.
13056
97c066e6
UD
130572011-10-17 Ulrich Drepper <drepper@gmail.com>
13058
99ce7b04
UD
13059 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
13060
1004d182
UD
13061 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
13062
228a984d
UD
13063 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
13064 recently added interfaces.
13065 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
13066
c8553a6a
UD
13067 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
13068 about macro parameter expansion.
13069
ed22dcf6
UD
13070 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
13071 __NO_MATH_INLINES is defined. Cleanups.
13072
13073 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
13074 and __floorf is target has SSE4.1.
13075 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
13076 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
13077 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
13078 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
13079
b171c137
UD
13080 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
13081 name.
13082 (floorf): Likewise.
13083
97c066e6
UD
13084 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
13085
629f62ef
AS
130862011-10-17 Andreas Schwab <schwab@redhat.com>
13087
49a43d80
AS
13088 * misc/sys/cdefs.h: Fix last change.
13089
629f62ef
AS
13090 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
13091 database lookup.
13092
e453f6cd
UD
130932011-10-16 Ulrich Drepper <drepper@gmail.com>
13094
aa78043a
UD
13095 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
13096
ad0f5cad
UD
13097 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
13098 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13099 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13100 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13101 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13102 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13103 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13104 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13105 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13106 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
13107 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
13108 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
13109 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
13110 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
13111 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
13112 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
13113 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
13114 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
13115 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
13116 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
13117 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
13118 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
13119
13120 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
13121 ceil, ceilf, floor, floorf.
13122
13123 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
13124 Perform IRELATIVE relocations last.
13125
e453f6cd
UD
13126 * elf/do-rel.h: Add another parameter nrelative, replacing the
13127 local variable with the same name. Change name of the function
13128 to end in Rel or Rela (uppercase).
13129 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
13130 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
13131 elf_dynamic_do_##reloc function.
13132
fd5bdc09
UD
131332011-10-15 Ulrich Drepper <drepper@gmail.com>
13134
79b195b5
UD
13135 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
13136 is sufficient, at least on modern CPUs.
13137
d4a28569
UD
13138 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
13139
b61099b5
UD
13140 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
13141 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
13142
bcf01e6d
UD
13143 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
13144 __expl_finite.
13145 * math/bits/math-finite.h: Add entries for exp.
13146 * math/e_expl.c: Add __*_finite alias.
13147 * sysdeps/i386/fpu/e_exp.S: Likewise.
13148 * sysdeps/i386/fpu/e_expf.S: Likewise.
13149 * sysdeps/i386/fpu/e_expl.c: Likewise.
13150 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13151 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13152 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13153 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13154 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
13155 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13156 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13157
ba1a0d59
UD
13158 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
13159 is sufficient, at least on modern CPUs.
13160
fd5bdc09
UD
13161 * ctype/ctype-info.c (__ctype_init): Define.
13162 * include/ctype.h (__ctype_init): Declare.
13163 (__ctype_b_loc): The variable is always initialized.
13164 (__ctype_toupper_loc): Likewise.
13165 (__ctype_tolower_loc): Likewise.
13166 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
13167 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
13168
7872cfb0
AS
131692011-10-15 Andreas Schwab <schwab@linux-m68k.org>
13170
b468825a
AS
13171 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
13172
7872cfb0
AS
13173 * configure.in: Also look in $cxxmachine/include for C++ system
13174 headers.
13175
be13f7bf
LD
131762011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13177
13178 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
13179 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
13180 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
13181 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
13182 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
13183 (USE_AS_WMEMCMP): New macro.
13184 Fixing indents.
13185 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
13186 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
13187 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
13188 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
13189 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13190 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
13191 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
13192 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
13193 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
13194 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
13195 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
13196 (USE_AS_WMEMCMP): New macro.
13197 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
13198 * sysdeps/string/test-memcmp.c: Update.
13199 Fix simple_wmemcmp.
13200 Add new tests.
13201 * wcsmbs/wmemcmp.c: Update.
13202 (WMEMCMP): New macro.
13203 Fix overflow bug.
13204
556a2007
AJ
132052011-10-12 Andreas Jaeger <aj@suse.de>
13206
13207 [BZ #13268]
13208 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
13209
538faaa7
UD
132102011-10-15 Ulrich Drepper <drepper@gmail.com>
13211
ab6737ff
UD
13212 * libio/iofwide.c (do_length): Avoid warning.
13213
538faaa7
UD
13214 * ctype/ctype.h (__isctype_f): Add missing __THROW.
13215
396a21b1
UD
132162011-10-14 Ulrich Drepper <drepper@gmail.com>
13217
cdf2901f
UD
13218 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
13219
38ad40ce
UD
13220 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
13221 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
13222 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
13223 * sysdeps/i386/i686/fpu/e_log.S: New file.
13224 * sysdeps/i386/i686/fpu/e_logf.S: New file.
13225 * sysdeps/i386/i686/fpu/e_logl.S: New file.
13226
396a21b1
UD
13227 * ctype/ctype.h: Add support for inlined isXXX functions when
13228 compiling C++ code.
13229
6b1f68c9
AS
132302011-10-14 Andreas Schwab <schwab@redhat.com>
13231
349290c0
AS
13232 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13233
6b1f68c9
AS
13234 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
13235
f2282d42
RM
132362011-10-13 Roland McGrath <roland@hack.frob.com>
13237
13238 [BZ #13291]
13239 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
13240
5298ffa8
AS
132412011-10-13 Andreas Schwab <schwab@redhat.com>
13242
714fad23
AS
13243 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
13244 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
13245 feraiseexcept.
13246
81dcc7fb
AS
13247 * sysdeps/x86_64/memrchr.S: Check for zero size.
13248
5298ffa8
AS
13249 * string/stratcliff.c: Add memrchr tests.
13250
951fbcec
LD
132512011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13252
13253 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13254 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
13255 rawmemchr-sse2 rawmemchr-sse2-bsf.
13256 * sysdeps/i386/i686/multiarch/memchr.S: New file.
13257 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
13258 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
13259 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
13260 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
13261 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
13262 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
13263 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
13264 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
13265 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
13266 * string/memrchr.c (MEMRCHR): New macro.
13267
0ac5ae23
UD
132682011-10-12 Ulrich Drepper <drepper@gmail.com>
13269
13270 Add integration with gcc's -ffinite-math-only and optimize wrapper
13271 functions in libm.
13272 * Versions.def: Define GLIBC_2.15 version for libm.
13273 * math/Makefile (headers): Add bits/math-finite.h.
13274 * math/bits/math-finite.h: New file.
13275 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
13276 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
13277 * math/e_acoshl.c: Add __*_finite alias.
13278 * math/e_acosl.c: Likewise.
13279 * math/e_asinl.c: Likewise.
13280 * math/e_atan2l.c: Likewise.
13281 * math/e_atanhl.c: Likewise.
13282 * math/e_coshl.c: Likewise.
13283 * math/e_exp10.c: Likewise.
13284 * math/e_exp10f.c: Likewise.
13285 * math/e_exp10l.c: Likewise.
13286 * math/e_exp2l.c: Likewise.
13287 * math/e_fmodl.c: Likewise.
13288 * math/e_gammal_r.c: Likewise.
13289 * math/e_hypotl.c: Likewise.
13290 * math/e_j0l.c: Likewise.
13291 * math/e_j1l.c: Likewise.
13292 * math/e_jnl.c: Likewise.
13293 * math/e_lgammal_r.c: Likewise.
13294 * math/e_log10l.c: Likewise.
13295 * math/e_log2l.c: Likewise.
13296 * math/e_logl.c: Likewise.
13297 * math/e_powl.c: Likewise.
13298 * math/e_sinhl.c: Likewise.
13299 * math/e_sqrtl.c: Likewise.
13300 * math/e_scalb.c: Completely rewritten and optimized.
13301 * math/e_scalbf.c: Likewise.
13302 * math/e_scalbl.c: Likewise.
13303 * math/w_acos.c: Likewise.
13304 * math/w_acosf.c: Likewise.
13305 * math/w_acosl.c: Likewise.
13306 * math/w_acosh.c: Likewise.
13307 * math/w_acoshf.c: Likewise.
13308 * math/w_acoshl.c: Likewise.
13309 * math/w_asin.c: Likewise.
13310 * math/w_asinf.c: Likewise.
13311 * math/w_asinl.c: Likewise.
13312 * math/w_atan2.c: Likewise.
13313 * math/w_atan2f.c: Likewise.
13314 * math/w_atan2l.c: Likewise.
13315 * math/w_atanh.c: Likewise.
13316 * math/w_atanhf.c: Likewise.
13317 * math/w_atanhl.c: Likewise.
13318 * math/w_exp10.c: Likewise.
13319 * math/w_exp10f.c: Likewise.
13320 * math/w_exp10l.c: Likewise.
13321 * math/w_fmod.c: Likewise.
13322 * math/w_fmodf.c: Likewise.
13323 * math/w_fmodl.c: Likewise.
13324 * math/w_j0.c: Likewise.
13325 * math/w_j0f.c: Likewise.
13326 * math/w_j0l.c: Likewise.
13327 * math/w_j1.c: Likewise.
13328 * math/w_j1f.c: Likewise.
13329 * math/w_j1l.c: Likewise.
13330 * math/w_jn.c: Likewise.
13331 * math/w_jnf.c: Likewise.
13332 * math/w_log.c: Likewise.
13333 * math/w_logf.c: Likewise.
13334 * math/w_logl.c: Likewise.
13335 * math/w_log10.c: Likewise.
13336 * math/w_log10f.c: Likewise.
13337 * math/w_log10l.c: Likewise.
13338 * math/w_log2.c: Likewise.
13339 * math/w_log2f.c: Likewise.
13340 * math/w_log2l.c: Likewise.
13341 * math/w_pow.c: Likewise.
13342 * math/w_powf.c: Likewise.
13343 * math/w_powl.c: Likewise.
13344 * math/w_remainder.c: Likewise.
13345 * math/w_remainderf.c: Likewise.
13346 * math/w_remainderl.c: Likewise.
13347 * math/w_scalb.c: Likewise.
13348 * math/w_scalbf.c: Likewise.
13349 * math/w_scalbl.c: Likewise.
13350 * math/w_sqrt.c: Likewise.
13351 * math/w_sqrtf.c: Likewise.
13352 * math/w_sqrtl.c: Likewise.
13353 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13354 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
13355 used.
13356 * math/math_private.h: Declare __kernel_standard_f.
13357 * math/w_cosh.c: Remove cruft and optimize a bit.
13358 * math/w_coshf.c: Likewise.
13359 * math/w_coshl.c: Likewise.
13360 * math/w_exp2.c: Likewise.
13361 * math/w_exp2f.c: Likewise.
13362 * math/w_exp2l.c: Likewise.
13363 * math/w_hypot.c: Likewise.
13364 * math/w_hypotf.c: Likewise.
13365 * math/w_hypotl.c: Likewise.
13366 * math/w_lgamma.c: Likewise.
13367 * math/w_lgamma_r.c: Likewise.
13368 * math/w_lgammaf.c: Likewise.
13369 * math/w_lgammaf_r.c: Likewise.
13370 * math/w_lgammal.c: Likewise.
13371 * math/w_lgammal_r.c: Likewise.
13372 * math/w_sinh.c: Likewise.
13373 * math/w_sinhf.c: Likewise.
13374 * math/w_sinhl.c: Likewise.
13375 * math/w_tgamma.c: Likewise.
13376 * math/w_tgammaf.c: Likewise.
13377 * math/w_tgammal.c: Likewise.
13378 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13379 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13380 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13381 Minor optimizations. Pretty printing. Remove cruft.
13382 * sysdeps/i386/fpu/e_acosf.S: Likewise.
13383 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13384 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13385 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13386 * sysdeps/i386/fpu/e_acosl.c: Likewise.
13387 * sysdeps/i386/fpu/e_asin.S: Likewise.
13388 * sysdeps/i386/fpu/e_asinf.S: Likewise.
13389 * sysdeps/i386/fpu/e_atan2.S: Likewise.
13390 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13391 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13392 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13393 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13394 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13395 * sysdeps/i386/fpu/e_exp10.S: Likewise.
13396 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13397 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13398 * sysdeps/i386/fpu/e_exp2.S: Likewise.
13399 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13400 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13401 * sysdeps/i386/fpu/e_fmod.S: Likewise.
13402 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13403 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13404 * sysdeps/i386/fpu/e_hypot.S: Likewise.
13405 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
13406 * sysdeps/i386/fpu/e_log.S: Likewise.
13407 * sysdeps/i386/fpu/e_log10.S: Likewise.
13408 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13409 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13410 * sysdeps/i386/fpu/e_log2.S: Likewise.
13411 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13412 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13413 * sysdeps/i386/fpu/e_logf.S: Likewise.
13414 * sysdeps/i386/fpu/e_logl.S: Likewise.
13415 * sysdeps/i386/fpu/e_pow.S: Likewise.
13416 * sysdeps/i386/fpu/e_powf.S: Likewise.
13417 * sysdeps/i386/fpu/e_powl.S: Likewise.
13418 * sysdeps/i386/fpu/e_remainder.S: Likewise.
13419 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
13420 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
13421 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13422 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13423 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13424 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
13425 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
13426 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
13427 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13428 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13429 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13430 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13431 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13432 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13433 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13434 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13435 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13436 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13437 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13438 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13439 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13440 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13441 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13442 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13443 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13444 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13445 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13446 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13447 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13448 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13449 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13450 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13451 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13452 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13453 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13454 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13455 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13456 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13457 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13458 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13459 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13460 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13461 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13462 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13463 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13464 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13465 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13466 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13467 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13468 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13469 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13470 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13471 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13472 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13473 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13474 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13475 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13476 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13477 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13478 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13479 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13480 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13481 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13482 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13483 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13484 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13485 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13486 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13487 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13488 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13489 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13490 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13491 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13492 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13493 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13494 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13495 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13496 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13497 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13498 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13499 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13500 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13501 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13502 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13503 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13504 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13505 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13506 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13507 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13508 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13509 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13510 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13511 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13512 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13513 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13514 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13515 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13516 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13517 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13518 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13519 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13520 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13521 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13522 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13523 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13524 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13525 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13526 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13527 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
13528 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
13529 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
13530 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
13531 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13532 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13533 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13534 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13535 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
13536 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13537 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
13538 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
13539 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
13540 (__isnanf): Likewise.
13541 (__isinf_ns): Likewise.
13542 (__isinf_nsf): Likewise.
13543 (__finite): Likewise.
13544 (__finitef): Likewise.
13545 (__ieee754_sqrt): Define as macro.
13546 (__ieee754_sqrtf): Define as macro.
13547 (__ieee754_sqrtl): Define as macro.
13548 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
13549 inlined copy.
13550 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
13551 __FINITE_MATH_ONLY__ consistent.
13552 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
13553
12cc2fcd
AS
135542011-10-10 Andreas Schwab <schwab@linux-m68k.org>
13555
a843a204
AS
13556 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
13557 of rawmemchr.
13558
12cc2fcd
AS
13559 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
13560
c853acd5
UD
135612011-10-09 Ulrich Drepper <drepper@gmail.com>
13562
13563 * po/ja.po: Update from translation team.
13564
c658d255
RM
135652011-10-08 Roland McGrath <roland@hack.frob.com>
13566
110946e4
RM
13567 * locale/programs/locarchive.c (prepare_address_space): New function.
13568 (create_archive, enlarge_archive, open_archive): Use it.
13569
50604220
RM
13570 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
13571 inside [SHARED], where it is used.
13572
c658d255
RM
13573 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
13574
13575 * nss/getent.c (netgroup_keys): Remove unused variable.
13576 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13577
6a621eb7
UD
135782011-10-08 Ulrich Drepper <drepper@gmail.com>
13579
7edb55ce
UD
13580 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
13581 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
13582 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
13583 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
13584 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
13585 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
13586 * math/Makefile (libm-calls): Add s_isinf_ns.
13587 * math/divtc3.c: Use __isinf_nsl instead of isinf.
13588 * math/multc3.c: Likewise.
13589 * math/s_casin.c: Likewise.
13590 * math/s_casinf.c: Likewise.
13591 * math/s_casinl.c: Likewise.
13592 * math/s_ccos.c: Likewise.
13593 * math/s_ccosf.c: Likewise.
13594 * math/s_ccosl.c: Likewise.
13595 * math/s_ctan.c: Likewise.
13596 * math/s_ctanf.c: Likewise.
13597 * math/s_ctanh.c: Likewise.
13598 * math/s_ctanhf.c: Likewise.
13599 * math/s_ctanhl.c: Likewise.
13600 * math/s_ctanl.c: Likewise.
13601 * math/w_fmod.c: Likewise.
13602 * math/w_fmodf.c: Likewise.
13603 * math/w_fmodl.c: Likewise.
13604 * math/w_remainder.c: Likewise.
13605 * math/w_remainderf.c: Likewise.
13606 * math/w_remainderl.c: Likewise.
13607 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
13608 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
13609 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
13610 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
13611 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
13612 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
13613 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
13614 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
13615
187da0ae
UD
13616 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
13617 of the number.
13618 * stdio-common/printf_fphex.c: Likewise.
13619 * stdio-common/printf_size.c: Likewise.
13620
9277c064
UD
13621 * math/e_exp10.c: Include math_private.h using <...> not "...".
13622 * math/e_exp10f.c: Likewise.
13623 * math/e_exp10l.c: Likewise.
13624 * math/e_exp2l.c: Likewise.
13625 * math/e_j0l.c: Likewise.
13626 * math/e_j1l.c: Likewise.
13627 * math/e_jnl.c: Likewise.
13628 * math/e_lgammal_r.c: Likewise.
13629 * math/e_rem_pio2l.c: Likewise.
13630 * math/e_scalb.c: Likewise.
13631 * math/e_scalbf.c: Likewise.
13632 * math/e_scalbl.c: Likewise.
13633 * math/k_cosl.c: Likewise.
13634 * math/k_sinl.c: Likewise.
13635 * math/k_tanl.c: Likewise.
13636 * math/s_cacoshf.c: Likewise.
13637 * math/s_catan.c: Likewise.
13638 * math/s_catanf.c: Likewise.
13639 * math/s_catanh.c: Likewise.
13640 * math/s_catanhf.c: Likewise.
13641 * math/s_catanhl.c: Likewise.
13642 * math/s_catanl.c: Likewise.
13643 * math/s_ccosh.c: Likewise.
13644 * math/s_ccoshf.c: Likewise.
13645 * math/s_ccoshl.c: Likewise.
13646 * math/s_cexp.c: Likewise.
13647 * math/s_cexpf.c: Likewise.
13648 * math/s_cexpl.c: Likewise.
13649 * math/s_clog.c: Likewise.
13650 * math/s_clog10.c: Likewise.
13651 * math/s_clog10f.c: Likewise.
13652 * math/s_clog10l.c: Likewise.
13653 * math/s_clogf.c: Likewise.
13654 * math/s_clogl.c: Likewise.
13655 * math/s_csin.c: Likewise.
13656 * math/s_csinf.c: Likewise.
13657 * math/s_csinh.c: Likewise.
13658 * math/s_csinhf.c: Likewise.
13659 * math/s_csinhl.c: Likewise.
13660 * math/s_csinl.c: Likewise.
13661 * math/s_csqrt.c: Likewise.
13662 * math/s_csqrtf.c: Likewise.
13663 * math/s_csqrtl.c: Likewise.
13664 * math/s_ctan.c: Likewise.
13665 * math/s_ctanf.c: Likewise.
13666 * math/s_ctanh.c: Likewise.
13667 * math/s_ctanhf.c: Likewise.
13668 * math/s_ctanhl.c: Likewise.
13669 * math/s_ctanl.c: Likewise.
13670 * math/s_ldexp.c: Likewise.
13671 * math/s_ldexpf.c: Likewise.
13672 * math/s_ldexpl.c: Likewise.
13673 * math/s_significand.c: Likewise.
13674 * math/s_significandf.c: Likewise.
13675 * math/s_significandl.c: Likewise.
13676 * math/w_acos.c: Likewise.
13677 * math/w_acosf.c: Likewise.
13678 * math/w_acosh.c: Likewise.
13679 * math/w_acoshf.c: Likewise.
13680 * math/w_acoshl.c: Likewise.
13681 * math/w_acosl.c: Likewise.
13682 * math/w_asin.c: Likewise.
13683 * math/w_asinf.c: Likewise.
13684 * math/w_asinl.c: Likewise.
13685 * math/w_atan2.c: Likewise.
13686 * math/w_atan2f.c: Likewise.
13687 * math/w_atan2l.c: Likewise.
13688 * math/w_atanh.c: Likewise.
13689 * math/w_atanhf.c: Likewise.
13690 * math/w_atanhl.c: Likewise.
13691 * math/w_cosh.c: Likewise.
13692 * math/w_coshf.c: Likewise.
13693 * math/w_coshl.c: Likewise.
13694 * math/w_dremf.c: Likewise.
13695 * math/w_exp10.c: Likewise.
13696 * math/w_exp10f.c: Likewise.
13697 * math/w_exp10l.c: Likewise.
13698 * math/w_exp2.c: Likewise.
13699 * math/w_exp2f.c: Likewise.
13700 * math/w_fmod.c: Likewise.
13701 * math/w_fmodf.c: Likewise.
13702 * math/w_fmodl.c: Likewise.
13703 * math/w_hypot.c: Likewise.
13704 * math/w_hypotf.c: Likewise.
13705 * math/w_hypotl.c: Likewise.
13706 * math/w_j0.c: Likewise.
13707 * math/w_j0f.c: Likewise.
13708 * math/w_j0l.c: Likewise.
13709 * math/w_j1.c: Likewise.
13710 * math/w_j1f.c: Likewise.
13711 * math/w_j1l.c: Likewise.
13712 * math/w_jn.c: Likewise.
13713 * math/w_jnf.c: Likewise.
13714 * math/w_jnl.c: Likewise.
13715 * math/w_lgamma.c: Likewise.
13716 * math/w_lgamma_r.c: Likewise.
13717 * math/w_lgammaf.c: Likewise.
13718 * math/w_lgammaf_r.c: Likewise.
13719 * math/w_lgammal.c: Likewise.
13720 * math/w_lgammal_r.c: Likewise.
13721 * math/w_log.c: Likewise.
13722 * math/w_log10.c: Likewise.
13723 * math/w_log10f.c: Likewise.
13724 * math/w_log10l.c: Likewise.
13725 * math/w_log2.c: Likewise.
13726 * math/w_log2f.c: Likewise.
13727 * math/w_log2l.c: Likewise.
13728 * math/w_logf.c: Likewise.
13729 * math/w_logl.c: Likewise.
13730 * math/w_pow.c: Likewise.
13731 * math/w_powf.c: Likewise.
13732 * math/w_powl.c: Likewise.
13733 * math/w_remainder.c: Likewise.
13734 * math/w_remainderf.c: Likewise.
13735 * math/w_remainderl.c: Likewise.
13736 * math/w_scalb.c: Likewise.
13737 * math/w_scalbf.c: Likewise.
13738 * math/w_scalbl.c: Likewise.
13739 * math/w_sinh.c: Likewise.
13740 * math/w_sinhf.c: Likewise.
13741 * math/w_sinhl.c: Likewise.
13742 * math/w_sqrt.c: Likewise.
13743 * math/w_sqrtf.c: Likewise.
13744 * math/w_sqrtl.c: Likewise.
13745 * math/w_tgamma.c: Likewise.
13746 * math/w_tgammaf.c: Likewise.
13747 * math/w_tgammal.c: Likewise.
13748
6a621eb7
UD
13749 * po/ja.po: Update from translation team.
13750
bf582445
AJ
137512011-09-29 Andreas Jaeger <aj@suse.de>
13752
f9efbf3a
AJ
13753 [BZ #13179]
13754 * sunrpc/netname.c (netname2host): Fix logic.
13755
bf582445
AJ
13756 [BZ #6779]
13757 [BZ #6783]
13758 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
13759 correctly.
13760 * math/w_remainder.c (__remainder): Likewise.
13761 * math/w_remainderf.c (__remainderf): Likewise.
13762 * math/libm-test.inc (remainder_test): Add test cases.
13763
48693bea
AK
137642011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13765
13766 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
13767 sdiv_qrnnd.
13768
42622229
LD
137692011-10-07 Ulrich Drepper <drepper@gmail.com>
13770
13771 * string/test-memcmp.c: Avoid unncessary #defines.
13772 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13773
093ecf92
LD
137742011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13775
13776 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
13777 Use new sse2 version for core i3 - i7 as it's faster
13778 than sse42 version.
13779 (bit_Prefer_PMINUB_for_stringop): New.
13780 * sysdeps/x86_64/rawmemchr.S: Update.
13781 Replace with faster SSE2 version.
13782 * sysdeps/x86_64/memrchr.S: New file.
13783 * sysdeps/x86_64/memchr.S: Update.
13784 Replace with faster SSE2 version.
13785
fde56e5c
MP
137862011-09-12 Marek Polacek <mpolacek@redhat.com>
13787
13788 * elf/dl-load.c (lose): Add cast to avoid warning.
13789
21fd49a9
UD
137902011-10-07 Ulrich Drepper <drepper@gmail.com>
13791
5a06e643
UD
13792 * po/ca.po: Update from translation team.
13793
684ae515
UD
13794 * inet/getnetgrent_r.c: Hook up nscd.
13795 * nscd/Makefile (routines): Add nscd_netgroup.
13796 (nscd-modules): Add netgroupcache.
13797 (CFLAGS-netgroupcache.c): Define.
13798 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
13799 (cache_search): Add const to second parameter.
13800 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
13801 INNETGR.
13802 (dbs): Add netgrdb entry.
13803 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
13804 (verify_persistent_db): Handle netgrdb.
13805 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
13806 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
13807 GETFDNETGR.
13808 (netgroup_response_header): Define.
13809 (innetgroup_response_header): Define.
13810 (datahead): Add netgroup_response_header and innetgroup_response_header
13811 elements.
13812 * nscd/nscd.conf: Add entries for netgroup cache.
13813 * nscd/nscd.h (dbtype): Add netgrdb.
13814 (_PATH_NSCD_NETGROUP_DB): Define.
13815 (netgroup_iov_disabled): Declare.
13816 (xmalloc, xcalloc, xrealloc): Move declarations here.
13817 (cache_search): Adjust prototype.
13818 Add netgroup-related prototypes.
13819 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
13820 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
13821 (__nscd_innetgr): Declare.
13822 * nscd/selinux.c (perms): Use access_vector_t as element type and
13823 add netgroup-related initializers.
13824 * nscd/netgroupcache.c: New file.
13825 * nscd/nscd_netgroup.c: New file.
13826 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
13827 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
13828 For four parameters use innetgr.
13829 * nss/nss_files/files-init.c: Add definition and callback for netgr.
13830 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
13831 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
13832 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
13833
21fd49a9
UD
13834 * nscd/connections.c (register_traced_file): Don't register file
13835 for disabled databases.
13836
054c0457
UD
138372011-10-06 Ulrich Drepper <drepper@gmail.com>
13838
32b63198
UD
13839 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
13840
054c0457
UD
13841 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
13842 from tree and freeing node.
13843
64031225
JO
138442011-09-25 Jiri Olsa <jolsa@redhat.com>
13845
13846 * nss/nsswitch.c (__nss_database_lookup): Handle
13847 nss_parse_service_list out of memory case.
13848
0490345c
JO
138492011-09-15 Jiri Olsa <jolsa@redhat.com>
13850
13851 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
13852 out of memory case.
13853
3a62d00d
AS
138542011-10-04 Andreas Schwab <schwab@redhat.com>
13855
13856 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
13857 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
13858 pass it down.
13859 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
13860 elf_machine_rela, elf_machine_lazy_rel.
13861 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
13862 (ELF_DYNAMIC_DO_REL): Likewise.
13863 (ELF_DYNAMIC_DO_RELA): Likewise.
13864 (ELF_DYNAMIC_RELOCATE): Likewise.
13865 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
13866 to ELF_DYNAMIC_DO_REL.
13867 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
13868 (dl_main): In trace mode always set __RTLD_NOIFUNC.
13869 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
13870 elf_machine_rela.
13871 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
13872 skip_ifunc, don't call ifunc function if non-zero.
13873 (elf_machine_rela): Likewise.
13874 (elf_machine_lazy_rel): Likewise.
13875 (elf_machine_lazy_rela): Likewise.
13876 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13877 (elf_machine_lazy_rel): Likewise.
13878 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13879 Likewise.
13880 (elf_machine_lazy_rel): Likewise.
13881 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13882 Likewise.
13883 (elf_machine_lazy_rel): Likewise.
13884 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
13885 (elf_machine_lazy_rel): Likewise.
13886 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
13887 (elf_machine_lazy_rel): Likewise.
13888 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13889 (elf_machine_lazy_rel): Likewise.
13890 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
13891 (elf_machine_lazy_rel): Likewise.
13892 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
13893 (elf_machine_lazy_rel): Likewise.
13894 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13895 (elf_machine_lazy_rel): Likewise.
13896
68577918
UD
138972011-09-28 Ulrich Drepper <drepper@gmail.com>
13898
13899 * nss/nss_files/files-init.c (_nss_files_init): Use static
13900 initialization for all the *_traced_file variables.
13901
68822d74
AS
139022011-09-28 Andreas Schwab <schwab@redhat.com>
13903
13904 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13905
2056100b
RM
139062011-09-27 Roland McGrath <roland@hack.frob.com>
13907
13908 [BZ #13226]
13909 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
13910
32c76b63
AS
139112011-09-27 Andreas Schwab <schwab@redhat.com>
13912
13913 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13914 Reread the line before reparsing it.
13915
bf972c9d
AS
139162011-09-26 Andreas Schwab <schwab@redhat.com>
13917
13918 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
13919
e057a1b5
JM
139202011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
13921 Maxim Kuvyrkov <maxim@codesourcery.com>
13922 Joseph Myers <joseph@codesourcery.com>
13923
13924 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
13925 if needed for __stack_chk_guard.
13926
bc7e1c36
RM
139272011-09-19 Roland McGrath <roland@hack.frob.com>
13928
ecb1482f
RM
13929 * sysdeps/posix/spawni.c (script_execute): Always define it.
13930 It will be optimized away if unused.
13931 (maybe_script_execute): New function.
13932 (__spawni): Call it.
13933
bc7e1c36
RM
13934 * Makerules: Don't include tls.make.
13935 (config-tls): Always set to thread.
13936 * tls.make.c: File removed.
13937
1c3b002b
MF
139382011-09-19 Mike Frysinger <vapier@gentoo.org>
13939
13940 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
13941 * config.make.in (CPPFLAGS-config): New substituted variable.
13942
2840865d
UD
139432011-09-15 Ulrich Drepper <drepper@gmail.com>
13944
88738eb6
UD
13945 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
13946
cbf645a6 13947 [BZ #13192]
2840865d
UD
13948 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
13949 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
13950
b402e91a
RM
139512011-09-15 Roland McGrath <roland@hack.frob.com>
13952
13953 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
13954 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
13955 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13956 (CALL_FAIL): Likewise.
13957 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
13958 (CALL_FAIL): Macro removed.
13959 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
13960
4c1a1f71
UD
139612011-09-15 Ulrich Drepper <drepper@gmail.com>
13962
13963 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
13964 for __FINITE_MATH_ONLY__ == 1.
13965
edc121be
AS
139662011-09-15 Andreas Schwab <schwab@redhat.com>
13967
13968 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
13969 __ieee754_sqrt instead of sqrt.
13970 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
13971 __ieee754_sqrtf instead of sqrtf.
13972 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
13973 __floorf instead of floorf.
13974 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
13975 __floorf, __truncf instead of floorf, truncf.
13976
cd205654
UD
139772011-09-14 Ulrich Drepper <drepper@gmail.com>
13978
ee4d0315
UD
13979 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
13980
cd205654
UD
13981 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
13982 __extern_always_inline.
13983 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
13984 32-bit.
13985
48b67d71
AS
139862011-09-14 Andreas Schwab <schwab@redhat.com>
13987
13988 * elf/rtld.c (dl_main): Also relocate in dependency order when
13989 doing symbol dependency testing.
13990
1ae12c75
AS
139912011-09-13 Andreas Schwab <schwab@linux-m68k.org>
13992
13993 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13994 Always define `refsym'.
13995
995a80df
AS
139962011-09-13 Andreas Schwab <schwab@redhat.com>
13997
e529793b
AS
13998 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
13999 (__FD_ELT): Renamed from __FDELT.
14000 * misc/bits/select2.h (__FD_ELT): Likewise.
14001 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
14002 __FD_MASK instead of __FDELT, __FDMASK.
14003 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14004 Likewise.
14005 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14006 Likewise.
14007
52d4fef8
AS
14008 * elf/Makefile (gen-ldd): Fix pattern.
14009
995a80df
AS
14010 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
14011 (init_tls): Likewise.
14012
8682f8b0
UD
140132011-09-12 Ulrich Drepper <drepper@gmail.com>
14014
14015 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
14016
de82006d
AS
140172011-09-12 Andreas Schwab <schwab@redhat.com>
14018
a7c8e6a1
AS
14019 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
14020 `struct cmsghdr *' instead of `void *'.
14021 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
14022 Likewise.
14023
0f31fe77
AS
140242011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14025
14026 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
14027 if non-absolute.
14028 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
14029 ldd_rewrite_script.
0f31fe77 14030
32b4c839
UD
140312011-09-11 Ulrich Drepper <drepper@gmail.com>
14032
83cd1420
UD
14033 * configure.in: Remove --with-tls option.
14034 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
14035 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
14036 out in case it is missing.
14037 * sysdeps/ia64/elf/configure.in: Likewise.
14038 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
14039 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
14040 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
14041 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
14042 * sysdeps/sh/elf/configure.in: Likewise.
14043 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
14044 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14045 * sysdeps/x86_64/elf/configure.in: Likewise.
14046 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
14047 * sysdeps/mach/hurd/tls.h: Likewise.
14048
633f745d
UD
14049 [BZ #13067]
14050 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
14051
f318beb8
UD
14052 [BZ #13090]
14053 * configure.in: Fix use of AC_INIT.
14054
32b4c839
UD
14055 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
14056
3ce1f295
UD
140572011-09-10 Ulrich Drepper <drepper@gmail.com>
14058
bb016596
UD
14059 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
14060 __set_errno.
8e58439c
UD
14061 * malloc/hooks.c: Likewise.
14062
aebae053 14063 [BZ #11929]
02d46fc4
UD
14064 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
14065 variables statically.
14066 (narenas): Initialize.
14067 (list_lock): Initialize.
bb016596
UD
14068 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
14069 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
14070 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
14071 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
14072 Add initializers to main_arena and mp_.
14073 (malloc_state): Remove pagesize member. Change all users to use
14074 GLRO(dl_pagesize).
14075
14076 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
14077 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
14078 is always initialized.
14079
22a89187
UD
14080 * malloc/malloc.c: Removed unused configurations and dead code.
14081 * malloc/arena.c: Likewise.
14082 * malloc/hooks.c: Likewise.
02d46fc4 14083 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 14084
d063d164
UD
14085 * include/tls.h: Removed. USE___THREAD must always be defined.
14086 * bits/libc-tsd.h: Don't handle !USE___THREAD.
14087 * elf/dl-libc.c: Likewise.
14088 * elf/dl-tsd.c: Likewise.
14089 * include/errno.h: Likewise.
14090 * include/netdb.h: Likewise.
14091 * include/resolv.h: Likewise.
14092 * inet/herrno-loc.c: Likewise.
14093 * inet/herrno.c: Likewise.
14094 * malloc/arena.c: Likewise.
14095 * malloc/hooks.c: Likewise.
14096 * malloc/malloc.c: Likewise.
14097 * resolv/res-state.c: Likewise.
14098 * resolv/res_libc.c: Likewise.
14099 * sysdeps/i386/dl-machine.h: Likewise.
14100 * sysdeps/ia64/dl-machine.h: Likewise.
14101 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14102 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14103 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14104 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14105 * sysdeps/sh/dl-machine.h: Likewise.
14106 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14107 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14108 * sysdeps/unix/i386/sysdep.S: Likewise.
14109 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14110 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
14111 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
14112 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14113 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
14114 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14115 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14116 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14117 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14118 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14119 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14120 * sysdeps/x86_64/dl-machine.h: Likewise.
14121 * tls.make.c: Likewise.
14122
3ce1f295
UD
14123 * configure.in: Remove --with-__thread option. Make tests for
14124 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
14125 tls_model attribute fail if no support is available. Remove
14126 USE_IN_LIBIO.
14127 * Makeconfig: Adjust for dropped configure option. All features are
14128 now mandatory.
14129 * Makerules: Likewise.
14130 * Versions.def: Likewise.
14131 * argp/argp-fmtstream.c: Likewise.
14132 * argp/argp-fmtstream.h: Likewise.
14133 * argp/argp-help.c: Likewise.
14134 * assert/assert.c: Likewise.
14135 * config.h.in: Likewise.
14136 * config.make.in: Likewise.
14137 * configure: Likewise.
14138 * configure.in: Likewise.
14139 * csu/Versions: Likewise.
14140 * csu/init.c: Likewise.
14141 * elf/tst-audit2.c: Likewise.
14142 * elf/tst-tls10.c: Likewise.
14143 * elf/tst-tls10.h: Likewise.
14144 * elf/tst-tls11.c: Likewise.
14145 * elf/tst-tls12.c: Likewise.
14146 * elf/tst-tls14.c: Likewise.
14147 * elf/tst-tlsmod11.c: Likewise.
14148 * elf/tst-tlsmod12.c: Likewise.
14149 * elf/tst-tlsmod13.c: Likewise.
14150 * elf/tst-tlsmod13a.c: Likewise.
14151 * elf/tst-tlsmod14a.c: Likewise.
14152 * elf/tst-tlsmod15b.c: Likewise.
14153 * elf/tst-tlsmod16a.c: Likewise.
14154 * elf/tst-tlsmod16b.c: Likewise.
14155 * elf/tst-tlsmod7.c: Likewise.
14156 * elf/tst-tlsmod8.c: Likewise.
14157 * elf/tst-tlsmod9.c: Likewise.
14158 * gmon/gmon.c: Likewise.
14159 * grp/fgetgrent_r.c: Likewise.
14160 * grp/putgrent.c: Likewise.
14161 * hurd/fopenport.c: Likewise.
14162 * include/libc-symbols.h: Likewise.
14163 * include/tls.h: Likewise.
14164 * intl/gettextP.h: Likewise.
14165 * intl/loadinfo.h: Likewise.
14166 * locale/global-locale.c: Likewise.
14167 * locale/localeinfo.h: Likewise.
14168 * mach/devstream.c: Likewise.
14169 * malloc/arena.c: Likewise.
14170 * malloc/set-freeres.c: Likewise.
14171 * misc/err.c: Likewise.
14172 * misc/getttyent.c: Likewise.
14173 * misc/mntent_r.c: Likewise.
14174 * posix/getopt.c: Likewise.
14175 * posix/wordexp.c: Likewise.
14176 * pwd/fgetpwent_r.c: Likewise.
14177 * resolv/Versions: Likewise.
14178 * resolv/res_hconf.c: Likewise.
14179 * shadow/fgetspent_r.c: Likewise.
14180 * shadow/putspent.c: Likewise.
14181 * stdio-common/printf_fphex.c: Likewise.
14182 * stdio-common/tmpfile.c: Likewise.
14183 * stdlib/abort.c: Likewise.
14184 * stdlib/fmtmsg.c: Likewise.
14185 * sunrpc/auth_unix.c: Likewise.
14186 * sunrpc/clnt_perr.c: Likewise.
14187 * sunrpc/clnt_tcp.c: Likewise.
14188 * sunrpc/clnt_udp.c: Likewise.
14189 * sunrpc/clnt_unix.c: Likewise.
14190 * sunrpc/openchild.c: Likewise.
14191 * sunrpc/svc_simple.c: Likewise.
14192 * sunrpc/svc_tcp.c: Likewise.
14193 * sunrpc/svc_udp.c: Likewise.
14194 * sunrpc/svc_unix.c: Likewise.
14195 * sunrpc/xdr.c: Likewise.
14196 * sunrpc/xdr_array.c: Likewise.
14197 * sunrpc/xdr_rec.c: Likewise.
14198 * sunrpc/xdr_ref.c: Likewise.
14199 * sunrpc/xdr_stdio.c: Likewise.
14200
1248c1c4
PB
142012011-09-09 Ulrich Drepper <drepper@gmail.com>
14202
14203 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14204
142052011-07-03 Andreas Jaeger <aj@suse.de>
14206
14207 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
14208 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
14209 regenerate with gen-libm-tests.pl.
14210
142112010-05-12 Petr Baudis <pasky@suse.cz>
14212
14213 [BZ #11589]
14214 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
14215 around j0() zero points by switching to j1().
14216 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14217 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14218 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14219 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14220
f22e1074
UD
142212011-09-09 Ulrich Drepper <drepper@gmail.com>
14222
f19009c1
UD
14223 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
14224 instead of 0.
14225 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
14226 instead of 0. .
14227 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14228 Patch in part by Pavel Roskin <proski@gnu.org>.
14229
3f8cc204
UD
14230 [BZ #13138]
14231 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
14232 realloc.
14233 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
14234 Free memory block if necessary.
14235
f22e1074
UD
14236 [BZ #12847]
14237 * libio/genops.c (INTDEF): For string streams the _lock pointer can
14238 be NULL. Don't lock in this case.
14239
0a2349f9
RM
142402011-09-09 Roland McGrath <roland@hack.frob.com>
14241
14242 * elf/elf.h (ELFOSABI_GNU): New macro.
14243 (ELFOSABI_LINUX): Define to that.
14244
f3cdd467
DZ
142452011-07-29 Denis Zaitceff <zaitceff@gmail.com>
14246
14247 * string/strncat.c (strncat): Undef the symbol in case it has been
14248 defined in bits/string.h.
14249
74718d13
UD
142502011-09-09 Ulrich Drepper <drepper@gmail.com>
14251
633e9e0f
UD
14252 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
14253
0a2349f9 14254 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
14255 link map.
14256
f9924780
AJ
142572011-08-17 Andreas Jaeger <aj@suse.de>
14258
14259 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
14260
7f5517aa
PP
142612011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14262 Ian Lance Taylor <iant@google.com>
14263
14264 * math/libm-test.inc (lround_test): New testcase.
14265 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
14266
762011fe
UD
142672011-09-08 Ulrich Drepper <drepper@gmail.com>
14268
92963737
UD
14269 * Makefile: Remove support for automatic cvs check-ins.
14270 * Makerules: Likewise.
14271 * config.make.in: Likewise.
14272 * configure.in: Likewise.
14273 * intl/Makefile: Likewise.
14274 * locale/Makefile: Likewise.
14275 * po/Makefile: Likewise.
14276 * posix/Makefile: Likewise.
14277 * sysdeps/gnu/Makefile: Likewise.
14278 * sysdeps/mach/hurd/Makefile: Likewise.
14279 * sysdeps/sparc/sparc32/Makefile: Likewise.
14280
b0727fd8
JS
14281 [BZ #13118]
14282 * posix/Makefile (bug-regex32-ENV): Define.
14283 Patch by John Stanley <jpsinthemix@verizon.net>.
14284
a0f33f99
UD
14285 * misc/Makefile (headers): Add bits/select2.h.
14286 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
14287 * misc/bits/select2.h: New file.
14288 * include/bits/select2.h: New file.
14289 * debug/Makefile (routines): Add fdelt_chk.
14290 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
14291 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
14292 FD_ISSET.
14293 * debug/fdelt_chk.c: New file.
14294
762011fe
UD
14295 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
14296 * wcsmbs/test-wmemcmp.c: Likewise.
14297 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 14298 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
14299
143002011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14301
14302 * string/Makefile (strop-tests): Add memcmp.
14303 * string/test-wmemcmp.c: New file.
14304 * string/test-memcmp.c: Add wmemcmp support.
14305
7f513ec8
RM
143062011-09-08 Roland McGrath <roland@hack.frob.com>
14307
0442afb4
RM
14308 [BZ #13153]
14309 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
14310 2011-07-19 change.
14311
7f513ec8
RM
14312 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14313 garbage value in a __mach_port_mod_refs call in the cases of the
14314 task-self and thread-self ports.
14315
a12b2239
ST
143162011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14317
14318 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14319
610f9ab4
AS
143202011-09-08 Andreas Schwab <schwab@redhat.com>
14321
7f513ec8 14322 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 14323
48882a1a
LD
143242011-09-07 Ulrich Drepper <drepper@gmail.com>
14325
b49865be
UD
14326 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14327
fdc86bc9
UD
14328 * elf/dl-libc.c (dlerror_run): Pass back error code from
14329 dl_catch_error.
14330
c966526a
UD
14331 [BZ #13123]
14332 * elf/dl-load.c (lose): Free l_origin if it is valid.
14333
48882a1a
LD
14334 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14335 names.
14336 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14337 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14338 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14339 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14340 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14341 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14342
77a2a8b4
AZ
143432011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14344
14345 * sysdeps/powerpc/fpu/e_hypot.c: New file.
14346 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14347 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14348 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14349 * sysdeps/powerpc/fpu/k_cosf.c: New file.
14350 * sysdeps/powerpc/fpu/k_sinf.c: New file.
14351 * sysdeps/powerpc/fpu/s_cosf.c: New file.
14352 * sysdeps/powerpc/fpu/s_sinf.c: New file.
14353 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14354 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14355
24f579d8
AM
143562011-08-15 Alan Modra <amodra@gmail.com>
14357
14358 [BZ #13092]
14359 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14360 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14361 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
14362 ppc_mcount to static-only-routines.
14363 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14364 __mcount_internal.
14365 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14366 __mcount_internal with usual JUMPTARGET. Remove useless nop.
14367
3d4837df
UD
143682011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
14369
14370 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14371 for finite and infinity parameters.
14372
22700377
WS
143732011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14374
14375 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14376 and add nop instructions for throughput optimization.
14377 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14378
5025581e
WS
143792011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
14380
14381 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14382 aligned copy for power7 with vector-scalar instructions.
14383 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14384
08a300c9
L
143852011-07-24 H.J. Lu <hongjiu.lu@intel.com>
14386
14387 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14388 AVX check.
14389
59178ef9
AS
143902011-09-07 Andreas Schwab <schwab@redhat.com>
14391
14392 [BZ #13144]
14393 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14394 last change.
14395
e38ba7ab
UD
143962011-09-07 Ulrich Drepper <drepper@gmail.com>
14397
14398 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14399 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14400 syscall wrapper around clock_gettime in __vdso_clock_gettime.
14401 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14402 clock_gettime.
14403
d53a73ac
UD
144042011-09-06 Ulrich Drepper <drepper@gmail.com>
14405
fc8bffcc
UD
14406 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
14407 Forgot to demangle the pointer.
14408
ceaa0c5d
UD
14409 * sysdeps/i386/sysdep.h: Define atom_text_section.
14410 * sysdeps/x86_64/sysdep.h: Likewise.
14411 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
14412 section with atom_text_section.
14413 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14414 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14415 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14416 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14417 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
14418
a77d3c17
UD
14419 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
14420 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
14421 already be defined. Change to take two parameters and don't assign
14422 result to variable. Adjust all users.
14423 Define INTERNAL_GETTIME if not already defined.
14424 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
14425 call.
14426 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
14427 HAVE_CLOCK_GETTIME_VSYSCALL.
14428 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
14429
d53a73ac
UD
14430 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
14431 gettimeofday vsyscall, just use time.
14432
a8f84144
AS
144332011-09-06 Andreas Schwab <schwab@redhat.com>
14434
14435 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
14436 <errno.h>.
14437
ef606249
UD
144382011-09-06 Ulrich Drepper <drepper@gmail.com>
14439
14440 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
14441 syscall on x86-64.
14442 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
14443 syscall.
14444 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14445 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
14446 syscall if possible.
14447
6585cb60
UD
144482011-09-05 Ulrich Drepper <drepper@gmail.com>
14449
14450 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
14451 e_ident. Don't pass to find_mapsXX.
14452 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
14453
a5f524e4
LD
144542011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14455
14456 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14457 strchr-sse2-no-bsf strrchr-sse2-no-bsf
14458 * sysdeps/x86_64/multiarch/strchr.S: Update.
14459 Check bit_slow_BSF bit.
14460 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14461 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
14462 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
14463
554881ef
UD
144642011-09-05 Ulrich Drepper <drepper@gmail.com>
14465
d96de963
UD
14466 [BZ #13134]
14467 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
14468 before glibc 2.15.
14469 (tryshell): Define.
14470 (__spawni): Change last parameter to be flag. Test
14471 SPAWN_XFLAGS_USE_PATH flag to use path or not.
14472 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
14473 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
14474 * posix/spawni.c: Likewise.
14475 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
14476 * posix/spawnp.c: Likewise. Change normal version to use
14477 SPAWN_XFLAGS_USE_PATH.
14478 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
14479 SPAWN_XFLAGS_TRY_SHELL.
14480
d48e5868
UD
14481 [BZ #13150]
14482 * posix/glob.h: Remove gcc 1.x support.
14483
554881ef
UD
14484 [BZ #13068]
14485 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
14486
693fb948
LD
144872011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14488
14489 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14490 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
14491 strrchr-sse2-bsf
14492 * sysdeps/i386/i686/multiarch/strchr.S: New file.
14493 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
14494 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
14495 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
14496 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
14497 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
14498
1b48c537
UD
144992011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14500
49d42c37
UD
14501 * sysdeps/x86_64/wcscmp.S: New file.
14502
1b48c537
UD
14503 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
14504 wcscmp-c wcscmp-sse2
14505 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
14506 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
14507 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
14508 * wcsmbs/wcscmp.c: Allow renaming.
14509
15c95c5d
DM
145102011-09-05 David S. Miller <davem@davemloft.net>
14511
14512 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
14513 stack slot, rather than the struct return pointer slot.
14514 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
14515 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
14516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
14517 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
14518
2f0ad8f3
UD
145192011-09-05 Ulrich Drepper <drepper@gmail.com>
14520
d88ae418
UD
14521 * po/ja.po: Update from translation team.
14522
2f0ad8f3
UD
14523 [BZ #13144]
14524 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
14525 kernel in 64-bit binaries.
14526
5f4318d1
DM
145272011-09-01 David S. Miller <davem@davemloft.net>
14528
14529 * elf/elf.h (HWCAP_SPARC_*): Move to..
14530 * sysdeps/sparc/sysdep.h: this new file and add new values.
14531 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
14532 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
14533 _DL_HWCAP_COUNT to 24.
14534 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14535 entries.
14536 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
14537 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
14538 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
14539 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
14540 instead of magic constants.
14541 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14542
3ba57516
DM
145432011-08-31 David S. Miller <davem@davemloft.net>
14544
14545 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
14546 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
14547 Reimplement to do errno handling inline.
14548 (SYSCALL_ERROR_HANDLER): New macro.
14549 (__SYSCALL_STRING): Do not do errno handling in asm.
14550 (__CLONE_SYSCALL_STRING): Delete.
14551 (__INTERNAL_SYSCALL_STRING): Delete.
14552 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
14553 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
14554 (PSEUDO): Reimplement to do errno handling inline.
14555 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
14556 (SYSCALL_ERROR_HANDLER): New macro.
14557 (__SYSCALL_STRING): Do not do errno handling in asm.
14558 (__CLONE_SYSCALL_STRING): Delete.
14559 (__INTERNAL_SYSCALL_STRING): Delete.
14560 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
14561 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
14562 i386.
14563 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
14564 (inline_syscall*): Add 'err' argument.
14565 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
14566 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
14567 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
14568 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
14569
14570 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
14571 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14572
2bc17433
AS
145732011-08-30 Andreas Schwab <schwab@redhat.com>
14574
14575 * elf/rtld.c (dl_main): Relocate objects in dependency order.
14576
fbeb5f4d
JO
145772011-08-29 Jiri Olsa <jolsa@redhat.com>
14578
14579 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
14580 directive.
14581
ad69cc26
DM
145822011-08-24 David S. Miller <davem@davemloft.net>
14583
14584 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
14585
39dd69df
AS
145862011-08-24 Andreas Schwab <schwab@redhat.com>
14587
14588 * elf/Makefile: Add rules to build and run unload8 test.
14589 * elf/unload8.c: New file.
14590 * elf/unload8mod1.c: New file.
14591 * elf/unload8mod1x.c: New file.
14592 * elf/unload8mod2.c: New file.
14593 * elf/unload8mod3.c: New file.
14594
14595 * elf/dl-close.c (_dl_close_worker): Reset private search list if
14596 it wasn't used.
14597
2c0b250a
DM
145982011-08-23 David S. Miller <davem@davemloft.net>
14599
14600 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
14601 subtract stack bias.
14602 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
14603 %sp not %fp in calculations.
14604 (_JMPBUF_UNWINDS_ADJ): Likewise.
14605
22044b48
DM
14606 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
14607 (aio_suspend): Call it to force an exception region around the
14608 AIO_MISC_WAIT() invocation.
14609
2cae4995
AS
146102011-08-23 Andreas Schwab <schwab@redhat.com>
14611
14612 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
14613 backslash.
14614
873a772e
AJ
146152011-07-04 Aurelien Jarno <aurelien@aurel32.net>
14616
14617 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
14618 protection macro.
14619 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
14620 and <dl-machine.h>.
14621 (Elf64_FuncDesc): Remove.
14622
25ad0df1
DM
146232011-08-22 David S. Miller <davem@davemloft.net>
14624
14625 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
14626 sigaltstack check, add missing cfi directives.
14627 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
14628 missing cfi directives, and sigaltstack handling.
14629
e888bcbe
AS
146302011-08-16 Andreas Schwab <schwab@redhat.com>
14631
14632 [BZ #11724]
14633 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
14634 object is seen twice.
14635 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14636
14637 * elf/Makefile (distribute): Add tst-initorder2.c.
14638 (tests): Add tst-initorder2.
14639 (modules-names): Add tst-initorder2a tst-initorder2b
14640 tst-initorder2c tst-initorder2d. Add rules to build them.
14641 ($(objpfx)tst-initorder2.out): New rule.
14642 * elf/tst-initorder2.c: New file.
14643 * elf/tst-initorder2.exp: New file.
14644
87162f46
AS
146452011-08-22 Andreas Schwab <schwab@redhat.com>
14646
70538b7f
AS
14647 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
14648
f55ffe58
AS
14649 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
14650 dependencies back to end of function.
14651
87162f46
AS
14652 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14653 $(elfobjdir)/ld.so.
14654
91b392a4
UD
146552011-08-21 Ulrich Drepper <drepper@gmail.com>
14656
14657 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
14658 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
14659 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
14660 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
14661 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
14662 of __vdso_gettimeofday.
14663 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
14664 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
14665 attribute_hidden.
14666 (_libc_vdso_platform_setup): Remove initialization of
14667 __vdso_gettimeofday and __vdso_time.
14668
5c43483f
UD
146692011-08-20 Ulrich Drepper <drepper@gmail.com>
14670
775a77e7
UD
14671 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
14672 and fgetc_unlocked.
14673 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
14674 getc_unlocked.
89f447ed 14675
49c74ba9
UD
14676 * elf/dl-open.c (add_to_global): Report additions to the global scope
14677 for LD_DEBUG=scopes.
14678 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 14679 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 14680
5c43483f
UD
14681 [BZ #13114]
14682 * stdio-common/Makefile (tests): Add bug24.
14683 * stdio-common/bug24.c: New file.
14684
a101b025
AJ
146852011-08-19 Andreas Jaeger <aj@suse.de>
14686
14687 [BZ #13114]
14688 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
14689 non-existant file when using close-on-exec mode.
14690
c88f1766
UD
146912011-08-20 Ulrich Drepper <drepper@gmail.com>
14692
0276a718
UD
14693 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
14694 the very first instruction.
14695
c88f1766
UD
14696 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
14697 the CFI state in the end.
14698 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
14699 inclusion of dl-trampoline.h.
14700 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
14701
51ccffa0
AS
147022011-08-19 Andreas Schwab <schwab@redhat.com>
14703
94d7165f
AS
14704 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
14705 expectations for long double.
14706
51ccffa0
AS
14707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
14708 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
14709
fd708658 147102011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
14711
14712 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
14713 artificual limit depends upon the system page size.
14714
44f0a71e
UD
147152011-08-17 Ulrich Drepper <drepper@gmail.com>
14716
14717 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
14718 * resolv/Makefile: Define CFLAGS-libresolv.
14719
8de79a24
AS
147202011-08-17 Andreas Schwab <schwab@redhat.com>
14721
14722 * nss/makedb.c (compute_tables): Make variables used in nested
14723 function static.
14724
27724598
UD
147252011-08-17 Ulrich Drepper <drepper@gmail.com>
14726
c5305d88
UD
14727 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
14728 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
14729 if buffer was too small.
14730
27724598
UD
14731 * elf/pldd.c (main): Attach to all threads in the process.
14732 Rewrite /proc handling to use *at functions.
14733
076fe015
UD
147342011-08-16 Ulrich Drepper <drepper@gmail.com>
14735
174baab3
UD
14736 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
14737 specifies first scope to show.
14738 (dl_open_worker): Update callers. Move printing scope of new
14739 object to before the relocation.
44f0a71e 14740 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
14741 * sysdeps/generic/ldsodefs.h: Update declaration.
14742
076fe015
UD
14743 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
14744 string for the scope number.
14745
a60df2c3
UD
147462011-08-14 Ulrich Drepper <drepper@gmail.com>
14747
14748 * nscd/servicescache.c (cache_addserv): Make sure written is always
14749 initialized.
14750
5e4287d1
RM
147512011-08-14 Roland McGrath <roland@hack.frob.com>
14752
85ae0589
RM
14753 * sysdeps/i386/i486/bits/atomic.h
14754 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
14755 statement expression, so as to suppress "set but not used" warning.
14756 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
14757
69f63097
RM
14758 * string/strncat.c (STRNCAT): Use prototype definition.
14759
675456ef
RM
14760 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
14761 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
14762 -Iprograms here.
14763 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
14764 (localedef-modules): Add localedef.
14765 (locale-modules): Add locale.
14766
5e4287d1
RM
14767 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
14768 * elf/rtld.c (dl_main): Invert order of assignment in last change,
14769 to avoid a warning.
14770
9c96ff23
DM
147712011-08-14 David S. Miller <davem@davemloft.net>
14772
14773 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
14774 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
14775
f9ddf089
UD
147762011-08-13 Ulrich Drepper <drepper@gmail.com>
14777
44f0a71e 14778 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
14779 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
14780 * elf/rtld.c (dl_main): Set l_name of vDSO.
14781 Call _dl_show_scope when DL_DEBUG_SCOPES.
14782 (process_dl_debug): Recognize scopes flag and also set it for all.
14783 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
14784 Declare _dl_show_scope.
14785
1dc27704
UD
14786 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
14787 (do_dlopen): Pass caller_dlopen to dl_open.
14788 (__libc_dlopen_mode): Initialize caller_dlopen.
14789
f9ddf089
UD
14790 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
14791 of libc. Make tolower call locale-independent. Optimize a bit by
14792 using isdigit instead of isalnum.
14793 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
14794
9ac533d3
UD
147952011-08-12 Ulrich Drepper <drepper@gmail.com>
14796
14797 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
14798 was a dependency or dynamically loaded.
14799
89edf2e9
UD
148002011-08-11 Ulrich Drepper <drepper@gmail.com>
14801
8e999d29
UD
14802 * intl/l10nflist.c: Allow architecture-specific pop function.
14803 * sysdeps/x86_64/l10nflist.c: New file.
14804
89edf2e9
UD
14805 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
14806 classification.
14807
14d96785
AS
148082011-08-10 Andreas Schwab <schwab@redhat.com>
14809
14810 * include/dirent.h: Add libc_hidden_proto for scandirat and
14811 scandirat64. Don't declare __scandirat64.
14812 * dirent/scandirat.c: Add libc_hidden_def.
14813 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
14814 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
14815
6761ac04
DM
148162011-08-10 David S. Miller <davem@davemloft.net>
14817
14818 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
14819 enum.
14820 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14821 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14822 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14823
c55fbd1e
UD
148242011-08-09 Ulrich Drepper <drepper@gmail.com>
14825
14826 * Versions.def [libc]: Add GLIBC_2.15.
14827 * dirent/Makefile (routines): Add scandirat and scandirat64.
14828 * dirent/Versions [libc]: Export scandirat and scandirat64 for
14829 GLIBC_2.15.
14830 * dirent/dirent.h: Declare scandirat and scandirat64.
14831 * dirent/scandirat.c: New file.
14832 * dirent/scandirat64.c: New file.
14833 * sysdeps/wordsize-64/scandirat.c: New file.
14834 * sysdeps/wordsize-64/scandirat64.c: New file.
14835 * dirent/opendir.c: Define opendirat.
14836 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
14837 using scandirat.
14838 * dirent/scandir64.c: Adjust for scandir.c change.
14839 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
14840 __scandirat64, and __scandir_cancel_handler.
14841 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
14842 additional parameter and use openat instead of open (outside of ld.so).
14843 Add new __opendir as wrapper around __opendirat.
14844 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
14845 here without requiring old scandirat implementation.
14846
879165f2
UD
148472011-08-08 Ulrich Drepper <drepper@gmail.com>
14848
14849 * dirent/scandir.c (cancel_handler): Renamed to
14850 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
14851 defined. Adjust users.
14852 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
14853 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14854
cb7e923b
UD
148552011-08-04 Ulrich Drepper <drepper@gmail.com>
14856
16292edd
UD
14857 * string/test-string.h (IMPL): Use __STRING to expand name and then
14858 stringify it.
14859
cb7e923b
UD
14860 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
14861 of cleanups.
14862
cff82933
LD
148632011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14864
14865 * string/Makefile: Update.
14866 (strop-tests): Append strncat.
14867 * string/test-wcscmp.c: New file.
14868 New comprehensive test for wcscmp.
14869 * string/test-strcmp.c: Update.
14870 (WIDE): New define.
14871
9be9bfcc
AS
148722011-07-22 Andreas Schwab <schwab@redhat.com>
14873
14874 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
14875 line.
14876
2e96f1c7
AS
148772011-07-26 Andreas Schwab <schwab@redhat.com>
14878
14879 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14880 encoding to ACE if AI_IDN.
14881
85188888
JJ
148822011-08-01 Jakub Jelinek <jakub@redhat.com>
14883
14884 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
14885 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
14886
5fa16e9b
LD
148872011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14888
14889 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
14890 Fix overflow bug in strncat.
14891 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
14892
14893 * string/test-strncat.c: Update.
14894 Add new tests for checking overflow bugs.
14895
148962011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14897
14898 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14899 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
14900 * sysdeps/i386/i686/multiarch/strcat.S: New file.
14901 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
14902 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
14903 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
14904 * sysdeps/i386/i686/multiarch/strncat.S: New file.
14905 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
14906 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
14907
14908 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
14909 (USE_AS_STRCAT): Define.
14910 Add strcat and strncat support.
14911 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14912
8c1a459f
AS
149132011-07-25 Andreas Schwab <schwab@redhat.com>
14914
14915 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
14916 __n bigger than INT_MAX+1.
14917 (__strncmp_g): Likewise.
14918
bba33c28
UD
149192011-07-23 Ulrich Drepper <drepper@gmail.com>
14920
798be72d
UD
14921 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
14922 * libio/stido.h: Likewise.
14923
8accd4dc
UD
14924 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
14925 (AF_NFC): Define.
14926 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
14927 (AF_NFC): Define.
14928
cbff0d96
UD
14929 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
14930 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14931 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14932 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14933 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14934
9191c04a
UD
14935 [BZ #13021]
14936 * scripts/test-installation.pl: Don't expect libnss_test1 to be
14937 installed.
14938
bba33c28
UD
14939 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
14940 typo.
14941 (_dl_x86_64_save_sse): Likewise.
14942
90f139dd
UD
149432011-07-22 Ulrich Drepper <drepper@gmail.com>
14944
1aae088a
UD
14945 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
14946 OSXSAVE.
14947 (_dl_x86_64_save_sse): Likewise.
14948
8e2045f5
UD
14949 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
14950
90f139dd
UD
14951 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
14952
1d002f25
AS
149532011-07-21 Andreas Schwab <schwab@redhat.com>
14954
14955 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
14956 change.
14957 (_dl_x86_64_save_sse): Use correct AVX check.
14958
21137f89
UD
149592011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14960
14961 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
14962 bug in strncpy/strncat.
14963 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
14964
a65c0b7a
UD
149652011-07-21 Ulrich Drepper <drepper@gmail.com>
14966
14967 * string/tester.c (test_strcat): Add tests for different alignments
14968 of source and destination.
14969 (test_strncat): Likewise.
14970
6986b98a
UD
149712011-07-20 Ulrich Drepper <drepper@gmail.com>
14972
90bb2039
UD
14973 [BZ #12852]
14974 * posix/glob.c (glob): Check passed in values before using them in
14975 expressions to avoid some overflows.
14976 (glob_in_dir): Likewise.
14977
5644ef54
UD
14978 [BZ #13007]
14979 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
14980 check for AVX enablement so that we don't crash with old kernels and
14981 new hardware.
14982 * elf/tst-audit4.c: Add same checks here.
14983 * elf/tst-audit6.c: Likewise.
14984
14985 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 14986
bfc9dc9b
AS
149872011-07-09 Andreas Schwab <schwab@linux-m68k.org>
14988
14989 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
14990
702e64bb
UD
149912011-07-20 Ulrich Drepper <drepper@gmail.com>
14992
14993 * po/cs.po: Update from translation team.
14994 * po/bg.po: Likewise.
14995
295e904f
MP
149962011-07-12 Marek Polacek <mpolacek@redhat.com>
14997
14998 * misc/sys/cdefs.h: Add support for const attribute.
14999 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
15000 to gnu_dev_{major,minor,makedev} functions.
15001
3ff94596
MP
150022011-07-20 Marek Polacek <mpolacek@redhat.com>
15003
15004 * intl/dcigettext.c (get_output_charset): Add missing bracket.
15005
28b59fca
AS
150062011-07-20 Andreas Schwab <schwab@redhat.com>
15007
15008 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
15009 strlen results.
15010
19df733e
AK
150112011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15012
15013 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15014 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
15015 register in order to avoid conflicts with the soft frame pointer
15016 being held in r11 when necessary.
15017 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15018 (INTERNAL_VSYSCALL_NCS): Likewise.
15019
c8835729
MP
150202011-07-14 Marek Polacek <mpolacek@redhat.com>
15021
15022 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
15023 * elf/dl-fini.c (_dl_fini): Adjust caller.
15024 * elf/dl-close.c (_dl_close_worker): Likewise.
15025 * sysdeps/generic/ldsodefs.h: Adjust declaration.
15026
b902330c
MP
150272011-07-15 Marek Polacek <mpolacek@redhat.com>
15028
8991e135
MP
15029 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
15030 "aux_cache->nlibs < 0".
15031
b902330c
MP
15032 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
15033 in the reload-count case.
15034
99710781
LD
150352011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15036
15037 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15038 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
15039 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
15040 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
15041 * sysdeps/x86_64/multiarch/strcat.S: New file.
15042 * sysdeps/x86_64/multiarch/strncat.S: New file.
15043 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
15044 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
15045 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
15046 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
15047 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
15048 (USE_AS_STRCAT): Define.
15049 Add strcat and strncat support.
15050 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15051 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15052 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
15053 * string/strncat.c: Update.
15054 (USE_AS_STRNCAT): Define.
15055 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15056 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
15057 and i7.
15058 * sysdeps/x86_64/multiarch/init-arch.h
15059 (bit_Prefer_PMINUB_for_stringop): New.
15060 (index_Prefer_PMINUB_for_stringop): Likewise.
15061 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
15062 bit_Prefer_PMINUB_for_stringop.
15063
7dc6bd90
UD
150642011-07-19 Ulrich Drepper <drepper@gmail.com>
15065
15066 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
15067 buffer64.
15068 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
15069 of casting of buffer.
15070 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
15071 buffer32 and buffer64.
15072 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
15073 writes instead of casting of buffer.
15074 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
15075 buffer32.
15076 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
15077 casting of buffer.
15078
e0e72284
AS
150792011-07-19 Andreas Schwab <schwab@redhat.com>
15080
15081 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
15082
feb1eb0b
UD
150832011-07-19 Ulrich Drepper <drepper@gmail.com>
15084
15085 * nscd/nscd.c (termination_handler): Don't do anything for a database
15086 if it has not yet been initialized.
15087
298711ff
UD
150882011-07-18 Ulrich Drepper <drepper@gmail.com>
15089
15090 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15091
150922011-07-15 Marek Polacek <mpolacek@redhat.com>
15093
15094 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15095
f9d68389
UD
150962011-07-18 Ulrich Drepper <drepper@gmail.com>
15097
15098 * po/nl.po: Update from translation team.
15099 * po/sv.po: Likewise.
15100
db290cf5
RM
151012011-07-16 Roland McGrath <roland@hack.frob.com>
15102
15103 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
15104 now disallowed by GCC.
5c550700 15105
fd5e21c7
RM
15106 * configure.in (use-default-link): Default to yes if a test -shared
15107 link meets our qualifications.
15108 * configure: Regenerated.
15109
5c550700
RM
15110 * config.make.in (output-format): New variable.
15111 * configure.in: Check for ld --print-output-format support.
15112 * configure: Regenerated.
15113 * Makerules ($(common-objpfx)format.lds)
15114 [$(output-format) != unknown]: Just use $(output-format),
15115 instead of the linker-script munging.
15116
9fa2c032
RM
151172011-07-14 Roland McGrath <roland@hack.frob.com>
15118
a6928d51
RM
15119 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
15120 of $(common-objpfx)shlib.lds.
15121 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
15122
661607b3
RM
15123 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
15124 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
15125
9fa2c032
RM
15126 * configure.in (-z relro check): Adjust test code to add a large
15127 writable data section after it.
15128 * configure: Regenerated.
15129
defe9061
RM
151302011-07-11 Roland McGrath <roland@hack.frob.com>
15131
15132 * configure.in (-z relro check): Fix test code to make the variable
15133 truly const.
15134 * configure: Regenerated.
15135
319b9ad4
UD
151362011-07-11 Ulrich Drepper <drepper@gmail.com>
15137
15138 * nscd/nscd.h (struct traced_file): Define.
15139 (struct database_dyn): Remove inotify_descr, reset_res, and filename
15140 elements. Add traced_files.
15141 (inotify_fd): Declare.
15142 (register_traced_file): Declare.
15143 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
15144 (inotify_fd): Export.
15145 (resolv_conf_descr): Remove.
15146 (nscd_init): Move inotify descriptor creation to main.
15147 Don't register files for notification here.
15148 (register_traced_file): New function.
15149 (invalidate_cache): Don't use reset_res to determine whether to call
15150 res_init, go through the list of registered files.
15151 (main_loop_poll): The inotify descriptors are now stored in the
15152 structures for the traced files.
15153 (main_loop_epoll): Likewise
15154 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
15155 to __nss_disable_nscd.
15156 * nscd/cache.c (prune_cache): There is no single inotify descriptor
15157 for a database anymore. Check the records for all the registered
15158 files instead.
15159 * nss/Makefile (libnss_files-routines): Add files-init.
15160 (libnss_db-routines): Add db-init.
15161 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
15162 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
15163 * nss/nss_db/db-init.c: New file.
15164 * nss/nss_files/files-init.c: New file.
15165 * nss/nsswitch.c (nss_load_library): New function. Broken out of
15166 __nss_lookup_function.
15167 (__nss_lookup_function): Call nss_load_library.
15168 (nss_load_all_libraries): New function.
15169 (__nss_disable_nscd): Take parameter with callback function for files
15170 to register. Set is_nscd. Load all the DSOs for the NSS modules
15171 used for the cached services.
15172 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
15173 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
15174 options for features to all the files in nscd.
15175
15176 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
15177
23bee3e8
RM
151782011-07-10 Roland McGrath <roland@hack.frob.com>
15179
15180 * csu/elf-init.c (__libc_csu_init): Comment typo.
15181
46a5b7f0
UD
151822011-07-09 Ulrich Drepper <drepper@gmail.com>
15183
15184 * po/pl.po: Update from translation team.
15185 * po/ja.po: Likewise.
15186 * po/ru.po: Likewise.
15187 * po/ko.po: Likewise.
15188 * po/fr.po: Likewise.
15189
d30cf5bb
RM
151902011-07-09 Roland McGrath <roland@hack.frob.com>
15191
113ddea4
RM
15192 * configure.in (.ctors/.dtors header and trailer check):
15193 Use an empirical test on a built program.
15194 * configure: Regenerated.
15195
574920b4
RM
15196 * configure.in (-z relro check): Use an empirical test on a built DSO.
15197 Detect, but do not require, on ia64.
15198 * configure: Regenerated.
15199
d30cf5bb
RM
15200 * configure.in (READELF): Find it with AC_CHECK_TOOL.
15201 Update tests that use readelf to use $READELF instead.
15202 * configure: Regenerated.
15203
8538fdb3
UD
152042011-07-08 Ulrich Drepper <drepper@gmail.com>
15205
15206 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
15207 if the result is not used.
15208
04d08991
AJ
152092011-07-05 Andreas Jaeger <aj@suse.de>
15210
15211 [BZ#9696]
15212 * stdlib/tst-strtod.c: Add testcase.
15213
de283087
AD
152142011-07-07 Ulrich Drepper <drepper@gmail.com>
15215
4e5f31c8 15216 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 15217 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
15218 The latter has a higher limit. Take additional parameter to pass to
15219 the new function.
15220 (__pathconf): Pass file to __statfs_link_max.
15221 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
15222 __statfs_link_max.
15223 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
15224 __statfs_link_max.
15225
de283087
AD
15226 [BZ #12868]
15227 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
15228 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15229 Handle Lustre.
15230 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
15231 (__statfs_filesize_max): Likewise.
15232 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
15233
c75fa153
AJ
152342011-07-05 Andreas Jaeger <aj@suse.de>
15235
15236 * resolv/res_comp.c (dn_skipname): Remove unused variable.
15237
1a544854
UD
152382011-07-06 Marek Polacek <mpolacek@redhat.com>
15239
15240 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
15241 `status' variable.
15242 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
15243 Likewise.
15244
6f0eec67
UD
152452011-07-04 H.J. Lu <hongjiu.lu@intel.com>
15246
15247 * Makefile (strop-tests): Add strncat.
15248 * string/test-strncat.c: New file.
15249
aae30307
UD
152502011-06-30 Marek Polacek <mpolacek@redhat.com>
15251
15252 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
15253
c0cfb5eb
UD
152542011-06-21 Andreas Jaeger <aj@suse.de>
15255
15256 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
15257 Copy rule from iconvdata/Makefile.
15258
01636b21
UD
152592011-07-06 Ulrich Drepper <drepper@gmail.com>
15260
15261 [BZ #12922]
15262 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
15263 but no long options are defined, just return 'W'.
15264
9895c8bc
UD
152652011-06-22 Marek Polacek <mpolacek@redhat.com>
15266
15267 [BZ #9696]
15268 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
15269
5d4cf042
UD
152702011-07-06 Ulrich Drepper <drepper@gmail.com>
15271
15272 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
15273 netgroups to read.
960e5535 15274 (innetgr): Likewise.
5d4cf042 15275
751eb97e
RM
152762011-07-05 Roland McGrath <roland@hack.frob.com>
15277
15278 * config.make.in (install_root): Default to $(DESTDIR).
15279
f15f1e45
UD
152802011-07-05 Ulrich Drepper <drepper@gmail.com>
15281
15282 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
15283
4e34ac6a
RM
152842011-07-02 Roland McGrath <roland@hack.frob.com>
15285
5e9b6af4
RM
15286 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
15287
84f9ea0f
RM
15288 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
15289 containing directory rather than embedding absolute directory names.
15290
ea5ee9f7
RM
15291 * scripts/check-local-headers.sh: Rewritten using awk.
15292 Match by word, not by line. Print error messages for matches.
15293 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
15294
1b74661a
RM
15295 * Makerules [shlib-lds-flags empty]:
15296 ($(common-objpfx)libc_pic.opts): New target.
15297 ($(common-objpfx)libc_pic.os.clean): New target.
15298 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
15299
15300 * config.make.in (OBJCOPY): New variable.
15301 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
15302 * configure: Regenerated.
15303
f781ef40
RM
15304 * config.make.in (use-default-link): New variable.
15305 * configure.in (use_default_link): Grok --with-default-link to set it.
15306 * configure: Regenerated.
15307 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
15308 (shlib-lds, shlib-lds-flags): Define to empty.
15309
2d4fa81e
RM
15310 * Makerules (shlib-lds): New variable.
15311 (shlib-lds-flags): New variable.
15312 (build-shlib, build-moduile, build-module-asneeded): Use it.
15313 ($(common-objpfx)libc.so): Use $(shlib-lds).
15314 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15315 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15316
31fffa6b
RM
15317 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15318 DT_FLAGS/DT_FLAGS_1 with zero flags.
15319
4e34ac6a
RM
15320 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15321 linker script munging.
15322
fcfc776b
UD
153232011-07-02 Ulrich Drepper <drepper@gmail.com>
15324
15325 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15326 as 128-bit value.
15327 * crypt/sha512.c (sha512_process_block): Perform total addition using
15328 128-bit if possible.
15329 (__sha512_finish_ctx): Likewise.
15330 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15331 as 64-bit value.
15332 * crypt/sha256.c (SWAP64): Define.
15333 (sha256_process_block): Perform total addition using 64-bit if
15334 possible.
15335 (__sha256_finish_ctx): Likewise.
15336
99231d9a
UD
153372011-07-01 Ulrich Drepper <drepper@gmail.com>
15338
15339 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
15340 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15341 * nscd/hstcache.c (cache_addhst): Likewise.
15342 * nscd/grpcache.c (cache_addgr): Likewise.
15343 * nscd/aicache.c (addhstaiX): Likewise
15344 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15345
445b4a53
TK
153462011-07-01 Thorsten Kukuk <kukuk@suse.de>
15347
15348 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15349 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15350 * nscd/hstcache.c (cache_addhst): Likewise.
15351 * nscd/grpcache.c (cache_addgr): Likewise.
15352 * nscd/aicache.c (addhstaiX): Likewise
15353
6d4d8e8e
AS
153542011-07-01 Andreas Schwab <schwab@redhat.com>
15355
15356 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15357 domain only when needed.
15358
89f654c5
AS
153592011-06-30 Andreas Schwab <schwab@redhat.com>
15360
15361 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15362 is always restored.
15363
cf3b23ff
UD
153642011-06-29 Ulrich Drepper <drepper@gmail.com>
15365
15366 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15367 are re-adding the entry.
15368 * nscd/servicescache.c (cache_addserv): Likewise.
15369
751626f9
AJ
153702011-06-30 Aurelien Jarno <aurelien@aurel32.net>
15371
15372 * sysdeps/generic/dl-irel.h: fix protection against multiple
15373 inclusions.
15374 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15375
9113ea1f
UD
153762011-06-28 Ulrich Drepper <drepper@gmail.com>
15377
5c0b8d90
UD
15378 [BZ #12935]
15379 * malloc/memusage.sh: Fix quoting in message.
15380 * debug/xtrace.sh: Likewise.
15381
9113ea1f
UD
15382 * configure.in: Remove support for --experimental-malloc option, make
15383 it the default.
15384 * config.make.in: Likewise.
15385 * malloc/Makefile: Likewise.
15386
a4172181
AS
153872011-06-27 Andreas Schwab <schwab@redhat.com>
15388
15389 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15390 two-byte characters.
15391
78a7eee7
RM
153922011-06-27 Roland McGrath <roland@hack.frob.com>
15393
62bede13
RM
15394 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15395 AC_CACHE_CHECK invocation.
15396 * configure: Regenerated.
15397
78a7eee7
RM
15398 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15399
5ce33a62
UD
154002011-06-27 Ulrich Drepper <drepper@gmail.com>
15401
034807a9
UD
15402 [BZ #12350]
15403 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
15404 bit from old_res_options.
15405
4902da17
UD
15406 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
15407
5ce33a62
UD
15408 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
15409 value type for setfct.
15410
c2344f56
L
154112011-06-23 H.J. Lu <hongjiu.lu@intel.com>
15412
15413 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15414 __gettimeofday instead of gettimeofday.
15415
68468076
UD
154162011-06-26 Ulrich Drepper <drepper@gmail.com>
15417
15418 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
15419
acb0d739
L
154202011-06-24 H.J. Lu <hongjiu.lu@intel.com>
15421
15422 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
15423
15424 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
15425 info.
15426
8912479f
L
154272011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15428
15429 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15430 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15431 strcpy-sse2-unaligned strncpy-sse2-unaligned
15432 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
15433 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
15434 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
15435 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
15436 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
15437 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
15438 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
15439 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
15440 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
15441 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
15442 (STRCPY): Support SSE2 and SSSE3 versions.
15443
d5495a11
UD
154442011-06-24 Ulrich Drepper <drepper@gmail.com>
15445
15446 [BZ #12874]
15447 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
15448 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
15449 kernels which artificially limit size of requests.
15450
0b1cbaae
L
154512011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15452
15453 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15454 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15455 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
15456 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
15457 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
15458 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
15459 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
15460 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
15461 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
15462 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
15463 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
15464 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
15465 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
15466 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
15467 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
15468 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15469 Enable unaligned load optimization for Intel Core i3, i5 and i7
15470 processors.
15471 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
15472 Define.
15473 (index_Fast_Unaligned_Load): Define.
15474 (HAS_FAST_UNALIGNED_LOAD): Define.
15475
07f494a0
MP
154762011-06-23 Marek Polacek <mpolacek@redhat.com>
15477
15478 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
15479
fa3fc0fe
UD
154802011-06-22 Ulrich Drepper <drepper@gmail.com>
15481
15482 [BZ #12907]
15483 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
15484 until it is clear that the information is realy needed.
15485 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
15486
e12df166
AS
154872011-06-22 Andreas Schwab <schwab@redhat.com>
15488
15489 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
15490
852eb34d
UD
154912011-06-22 Ulrich Drepper <drepper@gmail.com>
15492
84e2a551
UD
15493 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15494 /sys/devices/system/cpu/online if it is usable.
15495
852eb34d
UD
15496 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
15497 reading the information from the /proc filesystem to once a second.
15498
6e502e19
UD
154992011-06-21 Andreas Jaeger <aj@suse.de>
15500
15501 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
15502 NULL after inclusion of kernel headers.
15503
75d39ff2
UD
155042011-06-21 Ulrich Drepper <drepper@gmail.com>
15505
51f9aa6a
UD
15506 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
15507 calls to internal_setent.
15508
c0244a9d
UD
15509 [BZ #12885]
15510 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
15511 addresses using gethostbyname4_r ignore IPv4 addresses.
15512
c5e3c2ae
UD
15513 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
15514 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
15515
75d39ff2
UD
15516 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
15517
42675c6f
DM
155182011-06-20 David S. Miller <davem@davemloft.net>
15519
15520 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
15521 inclusions.
15522 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
15523
15524 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
15525 (elf_irel): Use it.
15526 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
15527 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
15528 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
15529 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
15530 * sysdeps/x86_64/dl-irel.h: Likewise.
15531
15532 * elf/dl-runtime.c: Use elf_ifunc_invoke.
15533 * elf/dl-sym.c: Likewise.
15534
57912a71
UD
155352011-06-15 Ulrich Drepper <drepper@gmail.com>
15536
15537 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
15538 need to dereference resplen2.
15539
ee22793d
AS
155402011-06-14 Andreas Schwab <schwab@redhat.com>
15541
15542 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
15543
a9e836b0
UD
155442011-06-15 Ulrich Drepper <drepper@gmail.com>
15545
77fb9117
UD
15546 * Makeconfig: Define vardbdir and inst_vardbdir.
15547 * nss/Makefile: Add rules to install db-Makefile.
15548
40c1b22c
UD
15549 * nss/nss_db/db-XXX.c: Cleanup.
15550
9f2da732
UD
15551 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
15552 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
15553 GLIBC_PRIVATE.
15554 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
15555 * nss/makedb.c: Implement -g option to specify that value strings
15556 are generated and should not be added to table iterated over for
15557 get*ent calls.
15558 * nss/nss_db/db-initgroups.c: New file.
15559
82e9a1f7
UD
15560 * nss/getent.c: Add support for initgroups lookups through getgrouplist
15561 interface.
15562
c41af17e
UD
15563 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
15564 (internal_getgrouplist): Adjust to name change.
15565 Update use_initgroups_entry if this is not the first call.
15566 * nss/databases.def: Add initgroups entry.
15567
a9e836b0
UD
15568 * nss/makedb.c (compute_tables): Check result of multiple hash table
15569 sizes to minimize maximum chain length.
15570
2666d441
UD
155712011-06-14 Ulrich Drepper <drepper@gmail.com>
15572
15573 * Versions.def: Add entry for libnss_db.
15574 * shlib-versions: Likewise.
15575 * nss/Makefile: Add rules to build libnss_db.
15576 * nss/Versions: Add libnss_db information. Organize libnss_files
15577 entries better.
15578 * nss/db-Makefile: Add gshadow support. Change rules for the new
15579 makedb progra. Some minor improvements to generate smaller files.
15580 * nss/nss_db/nss_db.h: Move NSS database header data structures to
15581 here from...
15582 * nss/makedb.c: ...here.
15583 Improve database format to be smaller and require less memory at
15584 runtime.
15585 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
15586 db anymore.
15587 * nss/nss_db/db-netgrp.c: Likewise.
15588 * nss/nss_db/db-open.c: Likewise.
15589 * nss/nss_files/flies-XXX.x: Adjust comments.
15590 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
15591 * nss/nss_files/files-grp.c: Likewise.
15592 * nss/nss_files/files-hosts.c: Likewise.
15593 * nss/nss_files/files-network.c: Likewise.
15594 * nss/nss_files/files-proto.c: Likewise.
15595 * nss/nss_files/files-pwd.c: Likewise.
15596 * nss/nss_files/files-rpc.c: Likewise.
15597 * nss/nss_files/files-service.c: Likewise.
15598 * nss/nss_files/files-sgrp.c: Likewise.
15599 * nss/nss_files/files-spwd.c: Likewise.
15600 * nss/nss_db/db-alias.c: Removed.
15601 * nss/nss_db/dummy-db.h: Removed.
15602
9ee76b5a
UD
156032011-06-02 Ulrich Drepper <drepper@gmail.com>
15604
15605 * nss/makedb.c: Rewritten to not use database library.
15606 * nss/Makefile: Update to build new makedb program.
15607
c71ca1f8
AJ
156082011-06-14 Andreas Jaeger <aj@suse.de>
15609
15610 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
15611 memset declaration.
15612
3154bfb8
UD
156132011-06-10 Andreas Schwab <schwab@redhat.com>
15614
15615 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
15616 tmpbuf.
15617
b350afab
RM
156182011-06-10 Roland McGrath <roland@hack.frob.com>
15619
decd4e50
RM
15620 * Makerules (shlib.lds): Fail if the linker script comes out empty.
15621 * elf/Makefile ($(objpfx)ld.so): Likewise.
15622
5615eaf2
RM
15623 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
15624 Don't list ld.so twice in dependencies.
15625
15626 * posix/bug-regex31.c: Include <stdlib.h>.
15627
15628 * nscd/hstcache.c (cache_addhst): Remove unused variable.
15629
15630 * nis/nss_compat/compat-spwd.c
15631 (getspent_next_nss_netgr): Remove unused variable.
15632 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
15633
15634 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
15635 nonmembers" output to use the right array.
15636
15637 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
15638
15639 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
15640
15641 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
15642 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
15643 * catgets/gencat.c (read_input_file): Likewise.
15644 * locale/programs/locarchive.c (enlarge_archive): Likewise.
15645
15646 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
15647 variable definition inside #if's controlling its use.
15648
15649 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
15650
15651 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
15652
15653 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
15654
15655 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
15656 unreachable code.
15657
15658 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
15659
b68e08db
RM
15660 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
15661 * configure: Regenerated.
15662
b350afab
RM
15663 * Makerules: Revert last change.
15664 * elf/Makefile: Likewise.
15665
28368601
RM
156662011-06-09 Roland McGrath <roland@hack.frob.com>
15667
15668 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
15669 * elf/Makefile ($(objpfx)librtld.os): Likewise.
15670 (reloc-link): Likewise.
15671
11988f8f
UD
156722011-06-09 Ulrich Drepper <drepper@gmail.com>
15673
15674 * elf/Makefile: Add rules to build pldd.
15675 * elf/pldd.c: New file.
15676 * elf/pldd-xx.c: New file.
15677
e80fab37
UD
156782011-06-07 Ulrich Drepper <drepper@gmail.com>
15679
15680 * version.h: Update for 2.15 development version.
15681
9b849836
DM
156822011-06-07 David S. Miller <davem@davemloft.net>
15683
15684 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
15685 ifuncs.
15686 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
15687 elf_machine_lazy_rel): Likewise.
15688 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15689 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
15690 elf_machine_lazy_rel): Likewise.
15691 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
15692 dl_hwcap via passed in argument.
15693 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
15694 Likewise.
15695
5a31b283
AK
156962011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15697
15698 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
15699
069e52f8
RM
157002011-06-06 Roland McGrath <roland@hack.frob.com>
15701
15702 [BZ #12849]
15703 * manual/fdl-1.1.texi: New file, verbatim from:
15704 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
15705 * manual/lgpl-2.1.texi: New file, verbatim from:
15706 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
15707 * manual/Makefile (licenses): New variable, list those new file names.
15708 (texis): Use it.
15709 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
15710
15711 * manual/fdl.texi: File removed.
15712 * manual/lesser.texi: File removed.
15713 * manual/libc.texinfo (Copying, Documentation License):
15714 Use new @include file names, put @appendix directive before @include.
15715
f16846a5
JJ
157162011-06-04 Jakub Jelinek <jakub@redhat.com>
15717
15718 [BZ #12841]
15719 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
15720 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
15721 (mq_open): Add __NTH.
15722
3d29045b
L
157232011-06-02 H.J. Lu <hongjiu.lu@intel.com>
15724
15725 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15726 Assume Intel Core i3/i5/i7 processor if AVX is available.
15727
8c297311
UD
157282011-05-31 Ulrich Drepper <drepper@gmail.com>
15729
15730 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15731 typo.
15732
c8fc0c91
UD
157332011-05-31 Andreas Schwab <schwab@redhat.com>
15734
15735 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
15736 memory. Use alloca_account. Fix memory leak when retrying.
15737
5b27a807
UD
157382011-05-31 Ulrich Drepper <drepper@gmail.com>
15739
356f8bc6
UD
15740 * version.h (RELEASE): Bump for 2.14 release.
15741 * include/features.h (__GLIBC_MINOR__): Bump to 14.
15742
5b27a807
UD
15743 * config.make.in (RANLIB): Remove entry.
15744
01f16ab0
UD
157452011-05-30 Ulrich Drepper <drepper@gmail.com>
15746
41fce8bd
UD
15747 * po/Makefile (po-sed-cmd): Add ksh to extensions.
15748 (libc.pot): Work around missing support for .ksh extension in xgettext.
15749
4769ae77
UD
15750 [BZ #12684]
15751 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
15752 if both request failed.
15753 (send_dg): In case of server errors clear resplen or *resplen2.
15754
6b1e7d19
UD
15755 [BZ #12454]
15756 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
15757 when there are multiple maps.
15758 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
15759 (_dl_fini): Remove test here.
15760
01f16ab0
UD
15761 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
15762
b1ebd700
UD
157632011-05-29 Ulrich Drepper <drepper@gmail.com>
15764
7ae22829
UD
15765 [BZ #12350]
15766 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
15767 bit from old_res_options.
15768 (gaih_inet): Likewise.
15769
553149f6 15770 [BZ #11099]
18a84741 15771 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
15772 as signed.
15773
652ffab1
UD
15774 * resolv/res_init.c (res_setoptions): Make the code more compact.
15775
16985fd0
UD
15776 [BZ #11558]
15777 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
15778 set RES_USEVC.
15779
0464f746
UD
15780 [BZ #11634]
15781 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
15782
7d17596c
UD
15783 * malloc/malloc.h: Mark malloc hook variables as deprecated.
15784
cf6bbbd7
UD
15785 [BZ #11781]
15786 * malloc/malloc.h: Declare malloc hook variables as volatile.
15787
13f1ab36
UD
15788 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
15789 in last patch.
15790
b1ebd700
UD
15791 [BZ #11799]
15792 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 15793 raise in the comment.
80e2212d
UD
15794 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15795 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15796 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 15797
ce67228d
UD
157982011-05-28 Ulrich Drepper <drepper@gmail.com>
15799
8887a920
UD
15800 [BZ #12811]
15801 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
15802 grow the buffers more if it already has to be sufficient.
15803 (build_wcs_upper_buffer): Likewise.
15804 * posix/regexec.c (check_matching): Likewise.
15805 (clean_state_log_if_needed): Likewise.
15806 (extend_buffers): Don't enlarge buffers beyond size of the input
15807 buffer.
15808 Patches mostly by Emil Wojak <emil@wojak.eu>.
15809 * posix/bug-regex32.c: New file.
15810 * posix/Makefile (tests): Add bug-regex32.
15811
4f031072
UD
15812 * locale/findlocale.c (_nl_find_locale): Return right away if
15813 _nl_explode_name failed.
15814 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
15815
d0478f0c
UD
15816 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
15817
de81b246
UD
15818 * debug/xtrace.sh: Unify messages.
15819 * malloc/memusage.sh: Likewise.
15820
c738465a
UD
15821 [BZ #12813]
15822 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
15823 time symbol from vDSO. Substitute with vsyscall if not available.
15824 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
15825 __vdso_time.
15826
f1f929d7
UD
15827 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
15828 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
15829 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
15830 Add sendmmsg and internal_sendmmsg.
15831 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
15832 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
15833 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
15834
ce67228d
UD
15835 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
15836 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
15837 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
15838
e57420c6
UD
158392011-05-27 Ulrich Drepper <drepper@gmail.com>
15840
a8509ca5
UD
15841 [BZ #12813]
15842 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
15843 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
15844 available.
15845 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
15846 __vdso_getcpu.
15847
e57420c6
UD
15848 [BZ #12814]
15849 * iconvdata/Makefile (tests): Add bug-iconv9.
15850 * iconvdata/bug-iconv9.c: New file.
15851
4d07db15
AS
158522011-05-27 Andreas Schwab <schwab@redhat.com>
15853
15854 [BZ #12814]
15855 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
15856
ea486f69
JJ
158572011-05-25 Jakub Jelinek <jakub@redhat.com>
15858
15859 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15860 (struct user_regs_struct): Change intcs field back to cs.
15861
6f038433
UD
158622011-05-25 Ulrich Drepper <drepper@gmail.com>
15863
15864 * po/ja.po: Update from translation team.
15865
67f86a25
UD
158662011-05-23 Ulrich Drepper <drepper@gmail.com>
15867
15868 [BZ #12795]
15869 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
15870 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
15871
def7fbd6
AS
158722011-05-20 Andreas Schwab <schwab@redhat.com>
15873
15874 * stdlib/longlong.h: Update from GCC.
15875
f50ef8f1
AS
158762011-05-23 Andreas Schwab <schwab@redhat.com>
15877
15878 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
15879 parameter name.
15880 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
15881 Add parameter name.
15882 (__sysconf): Pass it down.
15883
de7ce8f1
UD
158842011-05-22 Ulrich Drepper <drepper@gmail.com>
15885
f2962a71
UD
15886 [BZ #12671]
15887 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
15888 some situations.
15889 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15890 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
15891 add in in __libc_use_alloca calls. Adjust callers.
15892 (glob): Use malloc in some situations.
15893
de7ce8f1
UD
15894 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
15895 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
15896 pltexit.
15897
aec84f53
UD
158982011-05-21 Ulrich Drepper <drepper@gmail.com>
15899
05bb4a68
UD
15900 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
15901 and CLOCK_BOOTTIME_ALARM.
15902
7ea72f99
UD
15903 [BZ #12782]
15904 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
15905 is returned.
15906
7e4afad5
UD
15907 * string/_strerror.c (__strerror_r): Print negative errors as signed
15908 numbers.
15909
8e211fec
UD
15910 [BZ #12777]
15911 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
15912 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
15913 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
15914
f7d82dc9
UD
15915 * configure.in: Fix typo in redirection and correct removal of test
15916 files in two cases.
15917
cc9e536d
UD
15918 [BZ #12788]
15919 * locale/setlocale.c (new_composite_name): Fix test to check for
15920 identical name of all categories.
15921
aec84f53
UD
15922 [BZ #12792]
15923 * libio/filedoalloc.c (local_isatty): New function.
15924 (_IO_file_doallocate): Use local_isatty.
15925 * stdio-common/perror.c (perror): In case a new stream is used
15926 forward the stream error.
15927 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
15928 error flag.
15929
78e64fdc
RT
159302011-05-20 Ulrich Drepper <drepper@gmail.com>
15931
34a9094f
UD
15932 [BZ #11869]
15933 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
15934 alloca.
15935 * include/alloca.h (extend_alloca_account): Define.
15936
78e64fdc
RT
15937 [BZ #11857]
15938 * posix/regex.h: Fix comments with documentation of user-accessible
15939 fields after compilation and describe correct free'ing of pattern
15940 after re_compile_pattern.
15941 Patch by Reuben Thomas <rrt@sc3d.org>.
15942
457bddfc
RA
159432011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
15944
15945 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
15946 and -mno-altivec to prevent the compiler from using Altivec and/or
15947 VSX instructions when the corresponding registers are not available.
15948
a4527b51
AS
159492011-05-19 Andreas Schwab <schwab@redhat.com>
15950
15951 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
15952
ed690b2f
UD
159532011-05-19 Ulrich Drepper <drepper@gmail.com>
15954
15955 * libio/freopen.c (freopen): Use __dup2, not dup2.
15956 * libio/freopen64.c (freopen64): Likewise.
15957
8db73634
L
159582011-05-17 H.J. Lu <hongjiu.lu@intel.com>
15959
15960 [BZ #12775]
15961 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
15962 * math/Makefile (tests): Add test-powl.
15963 (CFLAGS-test-powl.c): Define.
15964 * math/test-powl.c: New file.
15965
0a197a9d
L
159662011-05-16 H.J. Lu <hongjiu.lu@intel.com>
15967
15968 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
15969
ee30c380
UD
159702011-05-17 Ulrich Drepper <drepper@gmail.com>
15971
15972 [BZ #11837]
15973 * iconvdata/gb18030.c: Update to GB18020-2005.
15974
6ce75379
UD
159752011-05-16 Ulrich Drepper <drepper@gmail.com>
15976
a4b89fd8
AR
15977 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
15978 RE_SYNTAX_POSIX_AWK): Update to match recent development.
15979 Patch by Aharon Robbins <arnold@skeeve.com>.
15980
ea389b12
UD
15981 [BZ #11892]
15982 * stdlib/putenv.c (putenv): Don't always create copy of the variable
15983 on the stack.
15984
68a3f91f
UD
15985 [BZ #11895]
15986 * misc/pselect.c (__pselect): Handle timeout value errors hidden
15987 through underflows.
15988
15cc7dd1
UD
15989 [BZ #12766]
15990 * misc/error.c (error_at_line): Ensure file_name and old_file_name
15991 point to strings before performing equality test for error_one_per_line
15992 mode.
15993
f3799213
UD
15994 [BZ #11697]
15995 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
15996
d79a9c94
UD
15997 [BZ #11820]
15998 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15999 (struct user_fpregs_struct): Avoid __uint*_t types.
16000
56e5eb46
UD
16001 [BZ #6420]
16002 * malloc/mtrace.c (tr_where): Add additional parameter to point to
16003 symbol info. Use it instead of calling _dl_addr locally.
16004 (lock_and_info): New function.
16005 (tr_freehook): Call lock_and_info and pass symbol info as additional
16006 parameter to tr_where.
16007 (tr_mallochook): Likewise.
16008 (tr_reallochook): Likewise.
16009 (tr_memalignhook): Likewise.
16010
6ce75379
UD
16011 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
16012 used and couldn't be at all thread-safe.
16013
f8a3b5bf
UD
160142011-05-15 Ulrich Drepper <drepper@gmail.com>
16015
94b7cc37
UD
16016 * libio/freopen.c (freopen): Don't close old file descriptor
16017 before the new one is opened. Instead dup the new file descriptor
16018 to the old one after the new stream is created.
16019 * libio/freopen64.c (freopen64): Likewise.
16020 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
16021 * libio/fileops.c (_IO_new_file_close_it): Handle new
16022 _IO_FLAGS2_NOCLOSE flag.
16023 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
16024 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
16025 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
16026 _IO_FLAGS2_NOCLOSE flag.
16027 * include/unistd.h: Add hidden_proto for dup3.
16028 Define __have_dup3.
16029 * io/dup3.c: Define hidden symbol.
16030 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
16031
bd25564e
UD
16032 [BZ #7101]
16033 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
16034 when an incomplete long option is used.
16035 * posix/tst-getopt_long1.c: New file.
16036 * posix/Makefile (tests): Add tst-getopt_long1.
16037
c84cfef4
UD
16038 [BZ #10138]
16039 * scripts/config.guess: Update from autoconf-2.68.
16040 * scripts/config.sub: Likewise.
16041
3b85df27
UD
16042 [BZ #10157]
16043 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
16044 tests into ...
16045 (has_cpuclock): ...this. New function.
16046 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
16047 macro here based on has_cpuclock code.
16048
15a856b1
UD
16049 [BZ #10149]
16050 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16051 First byte (not low byte) is now always NUL.
16052 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
16053
05f399e6
UD
16054 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16055 Use non-cancelable interfaces.
16056
10a52685 16057 [BZ #9809]
94ecc67d
UD
16058 * locale/iso-639.def: Add entry for Sorani.
16059
f8a3b5bf
UD
16060 [BZ #11901]
16061 * include/stdlib.h: Move include protection to the right place.
16062 Define abort_msg_s. Declare __abort_msg with it.
16063 * stdlib/abort.c (__abort_msg): Adjust type.
16064 * assert/assert.c (__assert_fail_base): New function. Majority
16065 of code from __assert_fail. Allocate memory for __abort_msg with
16066 mmap.
16067 (__assert_fail): Now call __assert_fail_base.
16068 * assert/assert-perr.c: Remove bulk of implementation. Use
16069 __assert_fail_base.
16070 * include/assert.hL Declare __assert_fail_base.
16071 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
16072 mmap.
16073 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
16074
1af4e298
UD
160752011-05-14 Ulrich Drepper <drepper@gmail.com>
16076
f8a3b5bf 16077 [BZ #11952]
d26dfc60
MG
16078 [BZ #12453]
16079 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
16080 until all modules are registered in the DTV.
16081 * elf/Makefile: Add rules to build and run tst-tls19.
16082 * elf/tst-tls19.c: New file.
16083 * elf/tst-tls19mod1.c: New file.
16084 * elf/tst-tls19mod2.c: New file.
16085 * elf/tst-tls19mod3.c: New file.
16086 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
16087
2fc54d6f
UD
16088 [BZ #12083]
16089 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
16090 correctly.
16091
98d76b46
UD
16092 [BZ #12601]
16093 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
16094 two-byte sequence errors.
16095 * iconvdata/Makefile (tests): Add bug-iconv8.
16096 * iconvdata/bug-iconv8.c: New file.
16097
da3c19ef
UD
16098 [BZ #12626]
16099 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
16100 buf2 definition.
16101
ca408c15
UD
16102 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
16103
d6f67f7d
UD
16104 [BZ #12432]
16105 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
16106 (dummy_getcfa): New function.
16107 (init): Get _Unwind_GetCFA address, use dummy if not found.
16108 (backtrace_helper): In recursion check, also check whether CFA changes.
16109 (__backtrace): Completely initialize arg.
16110
1af4e298 16111 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
16112 storing incomplete byte sequence in state object. Avoid testing for
16113 guaranteed too small input if we know there is enough data available.
1af4e298 16114
da62f81b
AS
161152011-05-11 Andreas Schwab <schwab@redhat.com>
16116
16117 * Makeconfig (+link-pie): Indent.
16118 * Rules (binaries-pie): Define if $(have-fpie) and
16119 $(build-shared).
16120 (binaries-shared): Also filter out $(binaries-pie).
16121 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
16122 * nscd/Makefile (others-pie): Add nscd.
16123 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
16124 ($(objpfx)nscd): Remove command override.
16125 * login/Makefile (others-pie): Add pt_chown.
16126 ($(objpfx)pt_chown): Remove command override.
16127 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
16128 remove command overrides.
16129
fcabc0f8
UD
161302011-05-13 Ulrich Drepper <drepper@gmail.com>
16131
20030ae6
UD
16132 * libio/tst_putwc.c: Fix error messages.
16133
fcabc0f8
UD
16134 [BZ #12724]
16135 * libio/fileops.c (_IO_new_file_close_it): Always flush when
16136 currently writing and seek to current position when not.
16137 * libio/Makefile (tests): Add bug-fclose1.
16138 * libio/bug-fclose1.c: New file.
16139
320a5dc0
PB
161402011-05-12 Ulrich Drepper <drepper@gmail.com>
16141
16142 [BZ #12511]
16143 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
16144 don't set DF_1_NODELETE here.
16145 (do_lookup_x): When entering new entry test for copy relocation
16146 and if necessary set DF_1_NODELETE flag.
16147 * elf/tst-unique4.cc: New file.
16148 * elf/tst-unique4.h: New file.
16149 * elf/tst-unique4lib.cc: New file.
16150 * elf/Makefile: Add rules to build and run tst-unique4.
16151 Patch by Piotr Bury <pbury@goahead.com>.
16152
22836f52
UD
161532011-05-11 Ulrich Drepper <drepper@gmail.com>
16154
f574184a
UD
16155 [BZ #12052]
16156 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
16157
e1fb097f
UD
16158 [BZ #12625]
16159 * misc/mntent_r.c (addmntent): Flush the stream after the output
16160
22836f52
UD
16161 [BZ #12393]
16162 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
16163 (is_trusted_path_normalize): Skip initial colon. Append slash
16164 to empty buffer. Duplicate is_trusted_path code but allow
16165 constructed patch to be prefix.
16166 (is_dst): Allow $ORIGIN followed by /.
16167 (_dl_dst_substitute): Correct clearing of check_for_trusted.
16168 Correct testing of result of is_trusted_path_normalize
16169 (decompose_rpath): Fix warning.
16170
7b3b0b2a
UD
161712011-05-10 Ulrich Drepper <drepper@gmail.com>
16172
16173 [BZ #11257]
16174 * grp/initgroups.c (internal_getgrouplist): When we found the service
16175 list through the initgroups entry in nsswitch.conf do not always
16176 continue on a successful lookup. Don't always use the
eac80ce2 16177 __nss_group_database value if it is set.
7b3b0b2a
UD
16178 * nss/nsswitch.conf (initgroups): Change action for successful db
16179 lookup to continue for compatibility.
16180
2a81eaa5
UD
161812011-05-09 Ulrich Drepper <drepper@gmail.com>
16182
be97a69e
UD
16183 [BZ #11532]
16184 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
16185 and CP774 modules.
16186 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
16187 and CP774 modules.
16188 * iconvdata/tst-tables.sh: Likewise.
16189 * iconvdata/cp770.c: New file.
16190 * iconvdata/cp771.c: New file.
16191 * iconvdata/cp772.c: New file.
16192 * iconvdata/cp773.c: New file.
16193 * iconvdata/cp774.c: New file.
16194 * iconvdata/testdata/CP770: New file.
16195 * iconvdata/testdata/CP770..UTF8: New file.
16196 * iconvdata/testdata/CP771: New file.
16197 * iconvdata/testdata/CP771..UTF8: New file.
16198 * iconvdata/testdata/CP772: New file.
16199 * iconvdata/testdata/CP772..UTF8: New file.
16200 * iconvdata/testdata/CP773: New file.
16201 * iconvdata/testdata/CP773..UTF8: New file.
16202 * iconvdata/testdata/CP774: New file.
16203 * iconvdata/testdata/CP774..UTF8: New file.
16204
16205 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
16206 END CHARMAP line.
16207 * iconvdata/gen-8bit-gap.sh: Likewise.
16208 * iconvdata/gen-8bit.sh: Likewise.
16209
c1e9e399
UD
16210 * locale/iso-639.def: Add ary entry.
16211
24c55fb3 16212 [BZ #11258]
96b4b1b0
UD
16213 * locale/C-translit.h.in: Add U20A1 transliteration.
16214
bdc2f971
KB
16215 [BZ #12178]
16216 * locale/iso-639.def: Add wae entry.
16217 Patch by Kevin Bortis <bortis@translate-wae.ch>.
16218
2952b117
UD
16219 [BZ #12545]
16220 * locale/programs/localedef.c (construct_output_path): Use ssize_t
16221 for n.
16222
2a81eaa5
UD
16223 [BZ #12711]
16224 * locale/C-translit.h.in: Add entry for U20B9.
16225 Patch by pravin.d.s@gmail.com.
16226
28377d1b
UD
162272011-05-08 Ulrich Drepper <drepper@gmail.com>
16228
7fb90fb8
UD
16229 [BZ #12713]
16230 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
16231 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
16232 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
16233 in rtld. Use *stat64.
7fb90fb8 16234 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 16235 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 16236 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
16237 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
16238 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
16239 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
16240 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
16241 __fstatat64 macros.
7fb90fb8
UD
16242 * include/dirent.h: Add libc_hidden_proto for rewinddir.
16243 * dirent/rewinddir.c: Add libc_hidden_def.
16244 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 16245 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 16246
28377d1b
UD
16247 * include/dirent.h (__alloc_dir): Add flags parameter.
16248 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
16249 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
16250 __alloc_dir.
16251 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
16252 from fdopendir if O_CLOEXEC is already set.
16253
66bdbaa4
AM
162542011-03-15 Alan Modra <amodra@gmail.com>
16255
16256 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
16257 l_tls_firstbyte_offset non-zero. Save padding offset in
16258 l_tls_firstbyte_offset for later use.
16259 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
16260 freeing static tls block.
16261
95721191
JN
162622011-03-05 Jonathan Nieder <jrnieder@gmail.com>
16263
16264 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
16265 where #ifdef was intended. The intent is to prevent ARG_MAX from
16266 being defined by the kernel headers.
16267
f87dfb1f
UD
162682011-05-07 Ulrich Drepper <drepper@gmail.com>
16269
16270 [BZ #12734]
16271 * resolv/resolv.h: Define RES_NOTLDQUERY.
16272 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
16273 no-tld-query and set RES_NOTLDQUERY.
16274 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
16275 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
16276 modern BIND to search name as TLD unless forbidden.
16277
47c3cd7a
UD
162782011-05-07 Petr Baudis <pasky@suse.cz>
16279 Ulrich Drepper <drepper@gmail.com>
16280
16281 [BZ #12393]
16282 * elf/dl-load.c (fillin_rpath): Move trusted path check...
16283 (is_trusted_path): ...to here.
c1e9ea35 16284 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 16285 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 16286 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 16287
8a35c912
PP
162882011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16289
16290 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
16291 __BEGIN/__END_DECLS.
16292
acd41f47
UD
162932011-05-06 Ulrich Drepper <drepper@gmail.com>
16294
16295 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
16296 NSS_STATUS_NOTFOUND if no record was found.
16297
597df647
AS
162982011-05-05 Andreas Schwab <schwab@redhat.com>
16299
16300 * sunrpc/Makefile (headers): Add rpc/netdb.h.
16301 (headers-not-in-tirpc): Remove rpc/netdb.h
16302 * resolv/netdb.h: Revert last change.
16303
b9af1301
PP
163042011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16305
16306 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
16307 circular dependency between libgcc.a and libc.a.
16308
4e34d5f5
AS
163092011-05-05 Andreas Schwab <schwab@redhat.com>
16310
16311 * resolv/netdb.h: Don't include <rpc/netdb.h>.
16312 * nis/Makefile: Don't install rpcsvc/*.
16313 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16314 instead of <rpc/types.h>.
16315 (MAXHOSTNAMELEN): Define.
16316
00ee369c
AS
163172011-05-03 Andreas Schwab <schwab@redhat.com>
16318
16319 * elf/ldconfig.c (add_dir): Don't crash on empty path.
16320
0b592a30
MB
163212011-04-28 Maciej Babinski <mbabinski@google.com>
16322
16323 [BZ #12714]
16324 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16325 gethostbyname4_r when IPv6 results are possible.
16326
6e04cbbe
UD
163272011-05-02 Ulrich Drepper <drepper@gmail.com>
16328
16329 [BZ #12723]
16330 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16331 _PC_PIPE_BUF handling.
16332
e4ecafe0
BH
163332011-04-30 Bruno Haible <bruno@clisp.org>
16334
16335 [BZ #12717]
16336 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16337 * resolv/netdb.h (getnameinfo): Change type of flags parameter
16338 to 'int'.
16339 * inet/getnameinfo.c (getnameinfo): Likewise.
16340
125ee683
UD
163412011-04-29 Ulrich Drepper <drepper@gmail.com>
16342
16343 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16344 to groups setting in database lookup.
16345 * nss/nsswitch.conf: Add initgroups entry.
16346
b722481a
EB
163472011-04-22 Ulrich Drepper <drepper@gmail.com>
16348
16349 [BZ #12685]
16350 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16351 mode string.
16352 Patch by Eric Blake <eblake@redhat.com>.
16353
4df46dbd
L
163542011-04-20 H.J. Lu <hongjiu.lu@intel.com>
16355
16356 * sunrpc/Makefile (need-export-routines): Add svc_run.
16357 (routines): Remove svc_run.
16358 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16359 * sunrpc/clnt_perr.c (clnt_perrno): Export.
16360 * sunrpc/svc_run.c (svc_run): Likewise.
16361 * sunrpc/svc_udp.c (svcudp_create): Likewise.
16362
e84142d2
UD
163632011-04-21 Ulrich Drepper <drepper@gmail.com>
16364
16365 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16366 problem in reallocation in last patch.
16367
877175d8
UD
163682011-04-20 Ulrich Drepper <drepper@gmail.com>
16369
16370 * sunrpc/Makefile: Move inclusion of Rules.
16371
ab8eed78
UD
163722011-04-19 Ulrich Drepper <drepper@gmail.com>
16373
16374 * nss/nss_files/files-initgroups.c: New file.
16375 * nss/Makefile (libnss_files-routines): Add files-initgroups.
16376 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16377 _nss_files_initgroups_dyn.
16378
e3d8f584
RS
163792011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
16380
16381 * elf/elf.h (R_ARM_IRELATIVE): Define.
16382
af190f45
UD
163832011-04-19 Ulrich Drepper <drepper@gmail.com>
16384
16385 * po/ru.po: Update from translation team.
16386
53cf59ef
UD
163872011-04-17 Ulrich Drepper <drepper@gmail.com>
16388
16389 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16390 dependencies.
16391
4c559bcd
MF
163922011-02-06 Mike Frysinger <vapier@gentoo.org>
16393
16394 [BZ #12653]
16395 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16396 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16397 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16398 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16399 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16400
4420675c
AS
164012011-03-28 Andreas Schwab <schwab@linux-m68k.org>
16402
16403 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16404 differing bytes.
16405 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16406 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16407 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16408
75ea32ab
UD
164092011-04-17 Ulrich Drepper <drepper@gmail.com>
16410
16411 [BZ #12420]
16412 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
16413 storing it.
16414 * stdlib/bug-getcontext.c: New file.
16415 * stdlib/Makefile: Add rules to build and run bug-getcontext.
16416
27390476
AK
164172011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16418
16419 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
16420 instructions into .machine "z9-109".
16421 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16422 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16423
10442705
AK
164242011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16425
16426 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
16427 between environment variables and auxiliary vector.
16428
7b57bfe5
UD
164292011-04-16 Ulrich Drepper <drepper@gmail.com>
16430
16431 * Makefile: Add rules to build linkobj/libc.so.
16432 * include/libc-symbols.h: Define libc_hidden_nolink.
16433 * include/rpc/auth.h: Mark functions which are to be hidden.
16434 * include/rpc/auth_des.h: Likewise.
16435 * include/rpc/auth_unix.h: Likewise.
16436 * include/rpc/clnt.h: Likewise.
16437 * include/rpc/des_crypt.h: Likewise.
16438 * include/rpc/key_prot.h: Likewise.
16439 * include/rpc/pmap_clnt.h: Likewise.
16440 * include/rpc/pmap_prot.h: Likewise.
16441 * include/rpc/pmap_rmt.h: Likewise.
16442 * include/rpc/rpc_msg.h: Likewise.
16443 * include/rpc/svc.h: Likewise.
16444 * include/rpc/svc_auth.h: Likewise.
16445 * include/rpc/xdr.h: Likewise.
16446 * nis/Makefile: Link all DSOs against linkobj/libc.so.
16447 * nss/Makefile: Likewise.
16448 * sunrpc/Makefile: Don't install headers. Build library with normal
16449 entry points. Don't build rpcinfo. Link RPC tests appropriately.
16450 * sunrpc/auth_des.c: Hide exported symbols by default, export some
16451 for the compat linking library. Remove use of INTDEF/INTUSE.
16452 * sunrpc/auth_none.c: Likewise.
16453 * sunrpc/auth_unix.c: Likewise.
16454 * sunrpc/authdes_prot.c: Likewise.
16455 * sunrpc/authuxprot.c: Likewise.
16456 * sunrpc/clnt_gen.c: Likewise.
16457 * sunrpc/clnt_perr.c: Likewise.
16458 * sunrpc/clnt_raw.c: Likewise.
16459 * sunrpc/clnt_simp.c: Likewise.
16460 * sunrpc/clnt_tcp.c: Likewise.
16461 * sunrpc/clnt_udp.c: Likewise.
16462 * sunrpc/clnt_unix.c: Likewise.
16463 * sunrpc/des_crypt.c: Likewise.
16464 * sunrpc/des_soft.c: Likewise.
16465 * sunrpc/get_myaddr.c: Likewise.
16466 * sunrpc/key_call.c: Likewise.
16467 * sunrpc/key_prot.c: Likewise.
16468 * sunrpc/netname.c: Likewise.
16469 * sunrpc/pm_getmaps.c: Likewise.
16470 * sunrpc/pm_getport.c: Likewise.
16471 * sunrpc/pmap_clnt.c: Likewise.
16472 * sunrpc/pmap_prot.c: Likewise.
16473 * sunrpc/pmap_prot2.c: Likewise.
16474 * sunrpc/pmap_rmt.c: Likewise.
16475 * sunrpc/publickey.c: Likewise.
16476 * sunrpc/rpc_cmsg.c: Likewise.
16477 * sunrpc/rpc_common.c: Likewise.
16478 * sunrpc/rpc_dtable.c: Likewise.
16479 * sunrpc/rpc_prot.c: Likewise.
16480 * sunrpc/rpc_thread.c: Likewise.
16481 * sunrpc/rtime.c: Likewise.
16482 * sunrpc/svc.c: Likewise.
16483 * sunrpc/svc_auth.c: Likewise.
16484 * sunrpc/svc_authux.c: Likewise.
16485 * sunrpc/svc_raw.c: Likewise.
16486 * sunrpc/svc_run.c: Likewise.
16487 * sunrpc/svc_simple.c: Likewise.
16488 * sunrpc/svc_tcp.c: Likewise.
16489 * sunrpc/svc_udp.c: Likewise.
16490 * sunrpc/svc_unix.c: Likewise.
16491 * sunrpc/svcauth_des.c: Likewise.
16492 * sunrpc/xcrypt.c: Likewise.
16493 * sunrpc/xdr.c: Likewise.
16494 * sunrpc/xdr_array.c: Likewise.
16495 * sunrpc/xdr_float.c: Likewise.
16496 * sunrpc/xdr_intXX_t.c: Likewise.
16497 * sunrpc/xdr_mem.c: Likewise.
16498 * sunrpc/xdr_rec.c: Likewise.
16499 * sunrpc/xdr_ref.c: Likewise.
16500 * sunrpc/xdr_sizeof.c: Likewise.
16501 * sunrpc/xdr_stdio.c: Likewise.
16502
e6c61494
UD
165032011-04-10 Ulrich Drepper <drepper@gmail.com>
16504
16505 [BZ #12650]
16506 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
16507 * sysdeps/ia64/dl-tls.h: Likewise.
16508 * sysdeps/powerpc/dl-tls.h: Likewise.
16509 * sysdeps/s390/dl-tls.h: Likewise.
16510 * sysdeps/sh/dl-tls.h: Likewise.
16511 * sysdeps/sparc/dl-tls.h: Likewise.
16512 * sysdeps/x86_64/dl-tls.h: Likewise.
16513 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
16514
34fe483e
AS
165152011-03-14 Andreas Schwab <schwab@redhat.com>
16516
16517 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
16518 rpath element also skip the following colon.
16519 (expand_dynamic_string_token): Add is_path parameter and pass
16520 down to DL_DST_REQUIRED and _dl_dst_substitute.
16521 (decompose_rpath): Call expand_dynamic_string_token with
16522 non-zero is_path. Ignore empty rpaths.
16523 (_dl_map_object_from_fd): Call expand_dynamic_string_token
16524 with zero is_path.
16525
f12a32e6
AS
165262011-04-08 Andreas Schwab <schwab@linux-m68k.org>
16527
16528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16529 Make cancelable.
16530
38a7d692
UD
165312011-04-09 Ulrich Drepper <drepper@gmail.com>
16532
16533 [BZ #12655]
16534 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
16535 Patch by Filipe David Manana <fdmanana@apache.org>.
16536
e451d22b
AS
165372011-04-07 Andreas Schwab <schwab@redhat.com>
16538
16539 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
16540 Maintain aligned stack.
16541 (CHECK_RSP): Remove unused macro.
16542
dedc7c7b
UD
165432011-04-03 Ulrich Drepper <drepper@gmail.com>
16544
16545 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
16546 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
16547
94521213
UD
165482011-04-02 Ulrich Drepper <drepper@gmail.com>
16549
16550 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
16551
8cb700c0 16552 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 16553
0354e355
L
165542011-03-26 H.J. Lu <hongjiu.lu@intel.com>
16555
16556 [BZ #12518]
16557 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
16558 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
16559 * sysdeps/x86_64/memmove.c: New file.
16560 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
16561 (memcpy): Renamed to ...
16562 (__new_memcpy): This.
16563 (memcpy): Provide GLIBC_2_14 memcpy.
16564 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
16565 (memcpy): Provide GLIBC_2_2_5 memcpy.
16566
8593482f
UD
165672011-04-01 Ulrich Drepper <drepper@gmail.com>
16568
16569 [BZ #12631]
16570 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
16571
81a5726b
AS
165722011-03-30 Andreas Schwab <schwab@redhat.com>
16573
16574 * misc/syncfs.c: New file.
16575 * misc/Makefile (routines): Add syncfs.
16576 * posix/unistd.h: Declare syncfs.
16577 * sysdeps/unix/syscalls.list: Add syncfs.
16578
00e5419f
AS
165792011-04-01 Andreas Schwab <schwab@redhat.com>
16580
16581 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
16582 open_by_handle_at.
16583 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16584 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16585 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16586 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16587 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16588 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
16589 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16590
748876bf
UD
165912011-04-01 Ulrich Drepper <drepper@gmail.com>
16592
658e451d
UD
16593 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
16594 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16595 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
16596 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16597 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16598 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16599 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16600
748876bf
UD
16601 * io/Makefile: Compile fallocate.c, fallocate64.c, and
16602 sync_file_range.c with -fexceptions.
16603 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
16604 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
16605 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16606 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16607 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16608 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16609 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
16610 sync_file_range as cancellation point
16611 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
16612 now a wrapper around __call_sync_file_range with cancellation handling.
16613 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
16614 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
16615 function name to __call_sync_file_range.
16616 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
16617 Add call_sync_file_range.
748876bf 16618
6e63d5e1
AS
166192011-04-01 Andreas Schwab <schwab@redhat.com>
16620
16621 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 16622 bits/timex.h.
6e63d5e1 16623
46998f74
UD
166242011-04-01 Ulrich Drepper <drepper@gmail.com>
16625
4c1423ed
UD
16626 * iconv/iconv.h: Fix typo in comment.
16627 * io/fcntl.h: Likewise.
16628 * libio/stdio.h: Likewise.
16629 * posix/spawn.h: Likewise.
16630 * posix/unistd.h: Likewise.
16631 * stdlib/stdlib.h: Likewise.
16632 * time/time.h: Likewise.
16633 * wcsmbs/wchar.h: Likewise.
16634
158648c0
UD
16635 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
16636 open_by_handle): Add.
16637 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
16638 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
16639 Augment a few comments.
16640 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16641 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16642 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16643 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16644 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16645 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
16646 open_by_handle.
16647
46998f74
UD
16648 * io/fcntl.h (AT_EMPTY_PATH): Define.
16649
83fe108b
UD
166502011-03-30 Ulrich Drepper <drepper@gmail.com>
16651
16652 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
16653 * sysdeps/unix/sysv/linux/bits/time.h: New file.
16654 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
16655 to...
16656 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
16657 * Versions.def: Add GLIBC_2.14.
16658 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
16659 Export.
83fe108b 16660
bb242059
UD
166612011-03-22 Ulrich Drepper <drepper@gmail.com>
16662
16663 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
16664 round counter.
16665 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16666
c97a1282
L
166672011-03-20 H.J. Lu <hongjiu.lu@intel.com>
16668
16669 [BZ #12597]
16670 * string/test-strncmp.c (do_page_test): New function.
16671 (check2): Likewise.
16672 (test_main): Call check2.
16673 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
16674
2a115601
UD
166752011-03-20 Ulrich Drepper <drepper@gmail.com>
16676
16677 [BZ #12587]
16678 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
16679 Handle cache information in CPU leaf 4.
16680 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16681
8126d904
UD
166822011-03-18 Ulrich Drepper <drepper@gmail.com>
16683
042c49c6 16684 [BZ #12583]
8126d904
UD
16685 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
16686 character representation.
16687 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
16688
ccfe366e
RA
166892011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
16690
16691 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
16692 END(__isnan) to END(__isnanf) to match function entry point/label
16693 EALIGN(__isnanf,...).
16694
c6e13027
JJ
166952011-03-10 Jakub Jelinek <jakub@redhat.com>
16696
16697 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
16698
33f85a3f
UD
166992011-03-10 Ulrich Drepper <drepper@gmail.com>
16700
028478fa
UD
16701 [BZ #12510]
16702 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
16703 copy from the symbol referenced in the relocation to initialize the
16704 used variable.
16705 Patch by Piotr Bury <pbury@goahead.com>.
16706 * elf/Makefile: Add rules to build and tst-unique3.
16707 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
16708 * elf/tst-unique3.cc: New file.
16709 * elf/tst-unique3.h: New file.
16710 * elf/tst-unique3lib.cc: New file.
16711 * elf/tst-unique3lib2.cc: New file.
16712
33f85a3f
UD
16713 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
16714
03592fc7
MF
167152011-03-10 Mike Frysinger <vapier@gentoo.org>
16716
16717 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
16718 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
16719 to _start.
03592fc7 16720
6a5ee102
UD
167212011-03-06 Ulrich Drepper <drepper@gmail.com>
16722
16723 * elf/dl-load.c (_dl_map_object): If we are looking for the first
16724 to-be-loaded object along a path to loader is ld.so.
16725
7e4ba49c
HJ
167262011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16727 Ulrich Drepper <drepper@gmail.com>
16728
16729 * sysdeps/x86_64/memset.S: After aligning destination, code
16730 branches to different locations depending on the value of
16731 misalignment, when multiarch is enabled. Fix this.
16732
167332011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16734
16735 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
16736 Set _x86_64_preferred_memory_instruction for AMD processsors.
16737 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16738 Set bit_Prefer_SSE_for_memop for AMD processors.
16739
13a804de
UD
167402011-03-04 Ulrich Drepper <drepper@gmail.com>
16741
16742 * libio/fmemopen.c (fmemopen): Optimize a bit.
16743
9d25c392
AS
167442011-03-03 Andreas Schwab <schwab@redhat.com>
16745
16746 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
16747
a5543c6a
RM
167482011-03-03 Roland McGrath <roland@redhat.com>
16749
16750 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
16751
012d35f7
DM
167522011-02-28 Aurelien Jarno <aurelien@aurel32.net>
16753
7e4ba49c 16754 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
16755 __bzero_ultra1 instead of __memset_ultra1.
16756
4bff6e01
AS
167572011-02-23 Andreas Schwab <schwab@redhat.com>
16758 Ulrich Drepper <drepper@gmail.com>
16759
16760 [BZ #12509]
16761 * include/link.h (struct link_map): Add l_orig_initfini.
16762 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
16763 returning unsuccessfully.
16764 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
16765 close of a file loaded at startup, restore the original l_initfini
16766 list.
16767 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
16768 list, store the pointer.
16769 * elf/Makefile ($(objpfx)noload-mem): New rule.
16770 (noload-ENV): Define.
16771 (tests): Add $(objpfx)noload-mem.
16772 * elf/noload.c: Include <memcheck.h>.
16773 (main): Call mtrace. Close all opened handles.
16774
f2092faf
AS
167752011-02-17 Andreas Schwab <schwab@redhat.com>
16776
16777 [BZ #12454]
16778 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
16779 dependencies are missing.
16780
6c8a2e88
ST
167812011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16782
f2092faf 16783 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
16784 Hurd needs munmap.
16785 * sysdeps/mach/hurd/ifreq.h: New file.
16786
84a42118
PB
167872011-01-27 Petr Baudis <pasky@suse.cz>
16788 Ulrich Drepper <drepper@gmail.com>
16789
071f805e 16790 [BZ 12445]#
84a42118
PB
16791 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
16792 to extend_alloca().
16793 * stdio-common/bug23.c: New file.
16794 * stdio-common/Makefile (tests): Add bug23.
16795
e23fe25b
AS
167962010-09-28 Andreas Schwab <schwab@redhat.com>
16797 Ulrich Drepper <drepper@gmail.com>
16798
16799 [BZ #12489]
16800 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
16801 before performing relro protection. At old place add assertion
16802 to make sure nothing changed.
16803
d3f02e10
NS
168042011-02-17 Nathan Sidwell <nathan@codesourcery.com>
16805 Glauber de Oliveira Costa <glommer@gmail.com>
16806
16807 * elf/elf.h: Add new ARM TLS relocs.
16808
d55fd7a5
RA
168092011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
16810
16811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16812 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
16813 cast from r3.
16814 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
16815 'tests' variable.
16816 * sysdeps/wordsize-64/tst-writev.c: New file.
16817
2206397e
RA
168182011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
16819
16820 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
16821 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
16822 insns in _dl_start to prevent a TOC reference before relocs are
16823 resolved.
16824
e9433893
UD
168252011-02-15 Ulrich Drepper <drepper@gmail.com>
16826
16827 [BZ #12469]
16828 * Makeconfig: Remove RANLIB definition.
16829 * Makerules: Don't use RANLIB.
16830 * aclocal.m4: Remove ranlib test.
16831 * configure.in: No need to check for ranlib.
16832 * elf/rtld-Rules: Don't use RANLIB.
16833
f75286c6
ST
168342011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16835
8e31c82d
ST
16836 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
16837 protection macro.
16838 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
16839 inclusion protection macro.
16840
f75286c6
ST
16841 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
16842 SIGRTMIN and SIGRTMAX and print information in that case only when
16843 SIGRTMIN is defined.
16844
c1d0e639
JJ
168452011-02-11 Jakub Jelinek <jakub@redhat.com>
16846
16847 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
16848 arginfo fn returning -1.
16849
16850 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
16851 and thousands string is zero terminated.
16852
edf9294e
AS
168532011-02-03 Andreas Schwab <schwab@redhat.com>
16854
16855 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
16856 sysdeps/unix/sysv/linux/bits/socket.h.
16857
2b7e92df
ST
168582011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16859
edf9294e
AS
16860 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
16861 (__CPU_COUNT): Remove old macros.
16862 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
16863 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
16864 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
16865 (__sched_cpualloc, __sched_cpufree): Add declarations.
16866
a4c7ea7b
UD
168672011-02-05 Ulrich Drepper <drepper@gmail.com>
16868
16869 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
16870 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
16871 * nscd/aicache.c (addhstaiX): Return timeout of added value.
16872 (readdhstai): Return value of addhstaiX call.
16873 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
16874 (addgrbyX): Return value returned by cache_addgr.
16875 (readdgrbyname): Return value returned by addgrbyX.
16876 (readdgrbygid): Likewise.
16877 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
16878 (addpwbyX): Return value returned by cache_addpw.
16879 (readdpwbyname): Return value returned by addhstbyX.
16880 (readdpwbyuid): Likewise.
16881 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
16882 (addservbyX): Return value returned by cache_addserv.
16883 (readdservbyname): Return value returned by addservbyX:
16884 (readdservbyport): Likewise.
16885 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
16886 (addhstbyX): Return value returned by cache_addhst.
16887 (readdhstbyname): Return value returned by addhstbyX.
16888 (readdhstbyaddr): Likewise.
16889 (readdhstbynamev6): Likewise.
16890 (readdhstbyaddrv6): Likewise.
16891 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
16892 (readdinitgroups): Return value returned by addinitgroupsX.
16893 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
16894 (prune_cache): Keep track of timeout value of re-added entries.
16895 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
16896 * nscd/nscd.h: Adjust prototypes of readd* functions.
16897
a0bf67cc
RM
168982011-02-04 Roland McGrath <roland@redhat.com>
16899
16900 * nis/nis_server.c (nis_servstate): Use the right name for 0.
16901 (nis_stats): Likewise.
16902 * nis/nis_modify.c (nis_modify): Likewise.
16903 * nis/nis_remove.c (nis_remove): Likewise.
16904 * nis/nis_add.c (nis_add): Likewise.
16905
16906 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
16907
16908 * posix/fnmatch_loop.c: Add some consts.
16909
16910 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
16911
435b95eb
L
169122011-02-02 H.J. Lu <hongjiu.lu@intel.com>
16913
16914 [BZ #12460]
16915 * config.make.in (config-cflags-novzeroupper): Define.
16916 * configure.in: Substitute libc_cv_cc_novzeroupper.
16917 * elf/Makefile (AVX-CFLAGS): Define.
16918 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
16919 (CFLAGS-tst-auditmod4a.c): Likewise.
16920 (CFLAGS-tst-auditmod4b.c): Likewise.
16921 (CFLAGS-tst-auditmod6b.c): Likewise.
16922 (CFLAGS-tst-auditmod6c.c): Likewise.
16923 (CFLAGS-tst-auditmod7b.c): Likewise.
16924 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
16925
8517b15e
UD
169262011-02-02 Ulrich Drepper <drepper@gmail.com>
16927
16928 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
16929 function to the callback.
16930 Patch partly by Jiri Olsa <jolsa@redhat.com>.
16931
10a656fe
AS
169322011-02-02 Andreas Schwab <schwab@redhat.com>
16933
16934 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
16935 of errno.
16936
968dad0a
UD
169372011-01-19 Ulrich Drepper <drepper@gmail.com>
16938
9f94d2ea 16939 [BZ #11724]
968dad0a
UD
16940 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
16941 of constructors.
16942 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
16943 of destructors.
16944 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
16945
16946 [BZ #11724]
16947 * elf/Makefile: Add rules to build and run new test.
16948 * elf/tst-initorder.c: New file.
16949 * elf/tst-initorder.exp: New file.
16950 * elf/tst-initordera1.c: New file.
16951 * elf/tst-initordera2.c: New file.
16952 * elf/tst-initordera3.c: New file.
16953 * elf/tst-initordera4.c: New file.
16954 * elf/tst-initorderb1.c: New file.
16955 * elf/tst-initorderb2.c: New file.
16956 * elf/tst-order-a1.c: New file.
16957 * elf/tst-order-a2.c: New file.
16958 * elf/tst-order-a3.c: New file.
16959 * elf/tst-order-a4.c: New file.
16960 * elf/tst-order-b1.c: New file.
16961 * elf/tst-order-b2.c: New file.
16962 * elf/tst-order-main.c: New file.
16963 New test case by George Gensure <werkt0@gmail.com>.
16964
86e92359
UD
169652010-10-01 Andreas Schwab <schwab@redhat.com>
16966
16967 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16968 decoding ACE if AI_CANONIDN.
16969
5d5732b0
UD
169702011-01-18 Ulrich Drepper <drepper@gmail.com>
16971
16972 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
16973
a77e8cbc
UD
169742011-01-17 Ulrich Drepper <drepper@gmail.com>
16975
6392473f
UD
16976 * version.h (RELEASE): Bump for 2.13 release.
16977 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
16978
620a0529
UD
16979 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
16980
18ba70a5
UD
16981 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
16982 MADV_NOHUGEPAGE.
32465c3e
UD
16983 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
16984 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16985 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16986 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16987 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16988 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16989
c0dafcf1
UD
16990 * posix/getconf.c: Update copyright year.
16991 * catgets/gencat.c: Likewise.
16992 * csu/version.c: Likewise.
16993 * debug/catchsegv.sh: Likewise.
16994 * debug/xtrace.sh: Likewise.
16995 * elf/ldconfig.c: Likewise.
16996 * elf/ldd.bash.in: Likewise.
16997 * elf/sprof.c (print_version): Likewise.
16998 * iconv/iconv_prog.c: Likewise.
16999 * iconv/iconvconfig.c: Likewise.
17000 * locale/programs/locale.c: Likewise.
17001 * locale/programs/localedef.c: Likewise.
17002 * malloc/memusage.sh: Likewise.
17003 * malloc/mtrace.pl: Likewise.
17004 * nscd/nscd.c (print_version): Likewise.
17005 * nss/getent.c: Likewise.
17006
a77e8cbc
UD
17007 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
17008 PF_CAIF, and PF_ALG.
17009 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17010
77e8bddf
AS
170112011-01-16 Andreas Schwab <schwab@linux-m68k.org>
17012
1f20b93a
AS
17013 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
17014 (modules-names): Use them.
17015 (ifunc-test-modules, ifunc-pie-tests): Define.
17016 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
17017 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
17018 (test-extras): Likewise.
17019 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
17020 $(compile-command.c).
17021 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
17022 (all-built-dso): Define.
17023 (check-textrel.out, check-execstack.out): Depend on it.
17024
77e8bddf
AS
17025 * configure.in: Don't override --enable-multi-arch.
17026
bc425b33
UD
170272011-01-15 Ulrich Drepper <drepper@gmail.com>
17028
17029 [BZ #6812]
17030 * nscd/hstcache.c (tryagain): Define.
17031 (cache_addhst): Return tryagain not notfound for temporary errors.
17032 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
17033 failed.
17034
794c3ad3
UD
170352011-01-14 Ulrich Drepper <drepper@gmail.com>
17036
70181fdd
UD
17037 [BZ #10563]
17038 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
17039 to make the syscall.
17040 * sysdeps/unix/sysv/linux/setgroups.c: New file.
17041
794c3ad3
UD
17042 [BZ #12378]
17043 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
17044 and fall back to matching as normal character if the string ends before
17045 the matching ']' is found. This is what POSIX requires.
17046 * posix/testfnm.c: Adjust test result.
17047 * posix/globtest.sh: Adjust test result. Add new test.
17048 * posix/tst-fnmatch.input: Likewise.
17049 * posix/tst-fnmatch2.c: Add new test.
17050
68dc9497
AS
170512010-12-28 Andreas Schwab <schwab@linux-m68k.org>
17052
17053 * elf/Makefile (check-execstack): Revert last change. Depend on
17054 check-execstack.h.
17055 (check-execstack.h): New target.
17056 (generated): Add check-execstack.h.
17057 * elf/check-execstack.c: Include "check-execstack.h".
17058 (main): Revert last change.
17059 (handle_file): Return zero if GNU_STACK is absent and
17060 DEFAULT_STACK_PERMS doesn't include PF_X.
17061
451f001b
UD
170622011-01-13 Ulrich Drepper <drepper@gmail.com>
17063
cfa28e56
UD
17064 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
17065 in child fails because the descriptor is already closed.
8cf8ce17
UD
17066 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
17067 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
17068 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 17069
1086d70d
UD
17070 [BZ #12397]
17071 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
17072 syscall.
17073
451f001b
UD
17074 [BZ #10484]
17075 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
17076 temporary buffer used to handle multi lookups locally.
a85b5cb4 17077 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 17078
08769175
UD
170792011-01-12 Ulrich Drepper <drepper@gmail.com>
17080
17081 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
17082 loader is ld.so.
17083
5e49c52e
UD
170842011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
17085
17086 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
17087 alignment for SSE2.
17088
60522a5f
UD
170892011-01-12 Ulrich Drepper <drepper@gmail.com>
17090
17091 [BZ #12394]
17092 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
17093 characters. When rounding increased number of integer digits recompute
17094 number of groups.
17095 * stdio-common/tst-grouping.c: New file.
17096 * stdio-common/Makefile: Add rules to build and run tst-grouping.
17097
f257bbd7
UD
170982011-01-09 Ulrich Drepper <drepper@gmail.com>
17099
17100 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
17101 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
17102
17103 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
17104 void.
17105 * bits/select.h: Likewise.
17106
fa9c15cb
UD
171072011-01-08 Ulrich Drepper <drepper@gmail.com>
17108
17109 * po/ja.po: Update from translation team.
17110
16c2895f
DM
171112011-01-04 David S. Miller <davem@sunset.davemloft.net>
17112
17113 [BZ #11155]
17114 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
17115 implementation just like for lxstat, fxstatat, et al.
17116
2543fef2
JM
171172010-12-27 Jim Meyering <meyering@redhat.com>
17118
17119 [BZ #12348]
17120 * posix/regexec.c (build_trtable): Return failure indication upon
17121 calloc failure. Otherwise, re_search_internal could infloop on OOM.
17122
98727dbe
UD
171232010-12-25 Ulrich Drepper <drepper@gmail.com>
17124
5bd6dc5c
UD
17125 [BZ #12201]
17126 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
17127 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
17128 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
17129 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
17130
97983464
UD
17131 [BZ #12207]
17132 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
17133
98727dbe
UD
17134 [BZ #12204]
17135 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
17136 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
17137
4a531bb0
L
171382010-12-15 H.J. Lu <hongjiu.lu@intel.com>
17139
17140 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
17141 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
17142 script has SORT_BY_INIT_PRIORITY.
17143 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
17144 NO_CTORS_DTORS_SECTIONS is defined.
17145 * elf/soinit.c: Likewise.
17146 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
17147 NO_CTORS_DTORS_SECTIONS is defined.
17148 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
17149 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
17150 * sysdeps/sh/init-first.c: Likewise.
17151 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
17152
07eb4b71
UD
171532010-12-24 Ulrich Drepper <drepper@gmail.com>
17154
17155 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
17156 always use the slow path.
17157
30950a5f
RA
171582010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
17159
17160 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
17161 similar rule which adds the sysdep directories to the header search in
17162 order to pick up the correct platform stackinfo.h.
17163 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
17164 perform test if it is, otherwise return successfully without testing.
17165 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
17166 DEFAULT_STACK_PERMS define in stackinfo.h.
17167 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
17168 defined in stackinfo.h.
17169 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
17170 DEFAULT_STACK_PERMS defined in stackinfo.h.
17171 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
17172 * sysdeps/ia64/stackinfo.h: Likewise.
17173 * sysdeps/s390/stackinfo.h: Likewise.
17174 * sysdeps/sh/stackinfo.h: Likewise.
17175 * sysdeps/sparc/stackinfo.h: Likewise.
17176 * sysdeps/x86_64/stackinfo.h: Likewise.
17177 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
17178 PF_X for powerpc64. Retain PF_X for powerpc32.
17179
db753e2c
UD
171802010-12-19 Ulrich Drepper <drepper@gmail.com>
17181
14b697f7
UD
17182 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
17183 accurately.
db753e2c
UD
17184 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
17185 GETDENTS_64BIT_ALIGNED.
17186
28300719
UD
171872010-12-14 Ulrich Drepper <dreper@gmail.com>
17188
14b697f7 17189 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 17190
4f197237
AS
171912010-12-10 Andreas Schwab <schwab@redhat.com>
17192
dbb0472f
AS
17193 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
17194 _GNU_SOURCE.
17195
4f197237
AS
17196 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
17197 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
17198 Remove __restrict.
17199 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
17200 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
17201
fb88ac72
UD
172022010-12-09 Ulrich Drepper <drepper@gmail.com>
17203
17204 [BZ #11655]
17205 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
17206 are initialized.
17207
42acbb92
JJ
172082010-12-09 Jakub Jelinek <jakub@redhat.com>
17209
17210 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
17211
c038d98d
UD
172122010-12-03 Ulrich Drepper <drepper@gmail.com>
17213
17214 * po/it.po: Update from translation team.
17215
3a4a2499
L
172162010-12-01 H.J. Lu <hongjiu.lu@intel.com>
17217
17218 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
17219 unused codes.
17220
1e24cf6e
UD
172212010-11-30 Ulrich Drepper <drepper@gmail.com>
17222
17223 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
17224
a7690819
AS
172252010-11-24 Andreas Schwab <schwab@redhat.com>
17226
17227 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
17228 specially.
17229 (gaih_getanswer_slice): Likewise.
17230
3bf8d1b1
JJ
172312010-10-20 Jakub Jelinek <jakub@redhat.com>
17232
17233 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
17234
6db52fbb
PB
172352010-05-31 Petr Baudis <pasky@suse.cz>
17236
17237 [BZ #11149]
17238 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
17239 silently even in the chroot mode.
17240
eaca7569
UD
172412010-11-22 Ulrich Drepper <drepper@gmail.com>
17242
17243 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
17244 last patch a bit. Pretty printing
17245
3056dcdb
UD
172462010-05-31 Petr Baudis <pasky@suse.cz>
17247
17248 [BZ #10085]
17249 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
17250 initialization of skip_initgroups_dyn.
17251
cf7c9078
UD
172522010-11-19 Ulrich Drepper <drepper@gmail.com>
17253
17254 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
17255 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17256
a1fb5e3e
UD
172572010-11-16 Ulrich Drepper <drepper@gmail.com>
17258
17259 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
17260
3540d66b
AS
172612010-11-11 Andreas Schwab <schwab@redhat.com>
17262
17263 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
17264 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
17265 (tst-fnmatch-ENV): Set MALLOC_TRACE.
17266 ($(objpfx)tst-fnmatch-mem): New rule.
17267 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
17268 * posix/tst-fnmatch.c (main): Call mtrace.
17269
13b69574
L
172702010-11-11 H.J. Lu <hongjiu.lu@intel.com>
17271
17272 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17273 Support Intel processor model 6 and model 0x2c.
17274
da93d214
LM
172752010-11-10 Luis Machado <luisgpm@br.ibm.com>
17276
17277 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
17278 signed comparison.
17279
8ca52c6e
L
172802010-11-09 H.J. Lu <hongjiu.lu@intel.com>
17281
17282 [BZ #12205]
17283 * string/test-strncasecmp.c (check_result): New function.
17284 (do_one_test): Use it.
17285 (check1): New function.
17286 (test_main): Use it.
17287 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
17288 Support strcasecmp and strncasecmp.
17289
69da074d
UD
172902010-11-08 Ulrich Drepper <drepper@gmail.com>
17291
17292 [BZ #12194]
17293 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
17294 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17295
ff02d528
L
172962010-11-07 H.J. Lu <hongjiu.lu@intel.com>
17297
17298 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
17299 IFUNC support.
17300 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17301 memset-x86-64.
17302 * sysdeps/x86_64/multiarch/bzero.S: New file.
17303 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
17304 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
17305 * sysdeps/x86_64/multiarch/memset.S: New file.
17306 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
17307 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17308 Set bit_Prefer_SSE_for_memop for Intel processors.
17309 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
17310 Define.
17311 (index_Prefer_SSE_for_memop): Define.
17312 (HAS_PREFER_SSE_FOR_MEMOP): Define.
17313
344d0b54
LM
173142010-11-04 Luis Machado <luisgpm@br.ibm.com>
17315
17316 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17317 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17318
c0dde15b
UD
173192010-11-03 H.J. Lu <hongjiu.lu@intel.com>
17320
17321 [BZ #12191]
17322 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17323 (__x86_64_raw_data_cache_size_half): Likewise.
17324 (__x86_64_raw_shared_cache_size): Likewise.
17325 (__x86_64_raw_shared_cache_size_half): Likewise.
17326
17327 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17328 (__x86_64_raw_data_cache_size_half): Likewise.
17329 (__x86_64_raw_shared_cache_size): Likewise.
17330 (__x86_64_raw_shared_cache_size_half): Likewise.
17331 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17332 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17333 and __x86_64_raw_shared_cache_size_half. Round
17334 __x86_64_data_cache_size_half, __x86_64_data_cache_size
17335 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17336 to multiple of 256 bytes.
17337
0e516e0e
MS
173382010-11-03 Ulrich Drepper <drepper@gmail.com>
17339
17340 [BZ #12167]
17341 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17342 of inacessible symlinks. Verify result of symlink before returning it.
17343 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17344 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17345
0e012e87
ER
173462010-10-28 Erich Ritz <erichritz@gmail.com>
17347
17348 * math/math.h (isinf): Fix typo in comment.
17349
de0ff7bc
UD
173502010-11-01 Ulrich Drepper <drepper@gmail.com>
17351
17352 * po/da.po: Update from translation team.
17353
fa41c84d
UD
173542010-10-26 Ulrich Drepper <drepper@gmail.com>
17355
17356 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17357 is added to the list.
17358
f0967738
AK
173592010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17360 Ulrich Drepper <drepper@gmail.com>
17361
17362 * elf/dl-object.c (_dl_new_object): Don't append the new object to
17363 the global list here. Move code to...
17364 (_dl_add_to_namespace_list): ...here. New function.
17365 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17366 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17367 * elf/dl-load.c (lose): Don't remove the element from the list.
17368 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17369 (_dl_map_object): Likewise.
17370
173712010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
17372
17373 [BZ #12159]
17374 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17375 into all bytes of SSE register.
17376 Patch by Richard Li <richardpku@gmail.com>.
17377
f0967738 173782010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
17379
17380 [BZ #12140]
17381 * malloc/malloc.c (_int_free): Fill correct number of bytes when
17382 perturbing.
17383
d0b9e94f
MB
173842010-10-20 Michael B. Brutman <brutman@us.ibm.com>
17385
17386 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17387 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17388 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17389 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17391 submachine.
17392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17393
8e9f92e9
AS
173942010-10-22 Andreas Schwab <schwab@redhat.com>
17395
17396 * include/dlfcn.h (__RTLD_SECURE): Define.
17397 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
17398 mode & __RTLD_SECURE instead.
17399 (open_path): Rename preloaded parameter to secure.
17400 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17401 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17402 * elf/dl-deps.c (openaux): Likewise.
17403 * elf/rtld.c (struct map_args): Remove is_preloaded.
17404 (map_doit): Don't use it.
17405 (dl_main): Likewise.
17406 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
17407 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
17408
bc96fbda
AS
174092010-09-09 Andreas Schwab <schwab@redhat.com>
17410
17411 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
17412 (sysd-rules-targets): Remove duplicates.
17413 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
17414 rtld-%.$o dependency.
17415
22cd1c9b
AS
174162010-10-18 Andreas Schwab <schwab@redhat.com>
17417
17418 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
17419 _dl_map_object do it.
17420
18edac48
UD
174212010-10-19 Ulrich Drepper <drepper@gmail.com>
17422
17423 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
17424 fast fma builtins, define the macros in the C99 standard.
17425 (FP_FAST_FMAF): Likewise.
17426 (FP_FAST_FMAL): Likewise.
17427 * sysdeps/x86_64/bits/mathdef.h: Likewise.
17428
17429 * bits/mathdef.h: Update copyright year.
17430 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17431
d2050124
MM
174322010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
17433
17434 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
17435 builtins, define the macros in the C99 standard.
17436 (FP_FAST_FMAF): Likewise.
17437 (FP_FAST_FMAL): Likewise.
17438 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
17439 multiply/add.
17440 (FP_FAST_FMAF): Likewise.
17441
475facd1
JJ
174422010-10-15 Jakub Jelinek <jakub@redhat.com>
17443
17444 [BZ #3268]
17445 * math/libm-test.inc (fma_test): Some new testcases.
17446 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
17447 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
17448 y and infinite z. Do multiplication by C already in long double.
17449 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
17450 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
17451 y and infinite z. Do bitwise or of inexact bit into u.d.
17452 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
17453 * sysdeps/i386/fpu/s_fmaf.S: Removed.
17454 * sysdeps/i386/fpu/s_fma.S: Removed.
17455 * sysdeps/i386/fpu/s_fmal.S: Removed.
17456
7c08a05c
JJ
174572010-10-16 Jakub Jelinek <jakub@redhat.com>
17458
17459 [BZ #3268]
17460 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
17461 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
17462 computation is not scheduled after fetestexcept. Fix value
17463 of minimum denormal long double.
17464
f3f7372d
JJ
174652010-10-14 Jakub Jelinek <jakub@redhat.com>
17466
17467 [BZ #3268]
17468 * math/libm-test.inc (fma_test): Add some more tests.
17469 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
17470 correctly.
17471
14d43591
AS
174722010-10-15 Andreas Schwab <schwab@redhat.com>
17473
17474 * scripts/data/localplt-s390-linux-gnu.data: New file.
17475 * scripts/data/localplt-s390x-linux-gnu.data: New file.
17476
5e908464
JJ
174772010-10-13 Jakub Jelinek <jakub@redhat.com>
17478
17479 [BZ #3268]
17480 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
17481 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
17482 instead of dbl-64.
17483 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
17484 inlines.
17485 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
17486 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
17487 if one of x and y is very large and the other is subnormal.
17488 * sysdeps/s390/fpu/s_fmaf.c: New file.
17489 * sysdeps/s390/fpu/s_fma.c: New file.
17490 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
17491 * sysdeps/powerpc/fpu/s_fma.S: New file.
17492 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
17493 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
17494 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
17495
174962010-10-12 Jakub Jelinek <jakub@redhat.com>
17497
17498 [BZ #3268]
17499 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
17500 fma tests.
17501 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
17502 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
17503 * sysdeps/i386/i686/multiarch/s_fma.c: Include
17504 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
17505 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
17506 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
17507 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
17508
b833d51f
UD
175092010-10-12 Ulrich Drepper <drepper@redhat.com>
17510
17511 [BZ #12078]
17512 * posix/regcomp.c (parse_branch): One more memory leak plugged.
17513 * posix/bug-regex31.input: Add test case.
17514
1751705d
UD
175152010-10-11 Ulrich Drepper <drepper@gmail.com>
17516
e9b9cbf5
UD
17517 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
17518 * posix/bug-regex31.input: New file.
17519
17520 [BZ #12078]
17521 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
17522 (parse_sub_exp): Fix last change, use postorder.
17523
ef06edbe
UD
17524 * posix/bug-regex31.c: New file.
17525 * posix/Makefile: Add rules to build and run bug-regex31.
17526
a129c80d
UD
17527 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
17528
17529 [BZ #12078]
17530 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
17531
b76b818e
UD
17532 [BZ #12108]
17533 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
17534 to have entries in sys_siglist.
17535
1751705d
UD
17536 [BZ #12093]
17537 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
17538 be NULL.
17539
9ff8d36f
JJ
175402010-10-07 Jakub Jelinek <jakub@redhat.com>
17541
17542 [BZ #3268]
17543 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
17544 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
17545 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
17546 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
17547 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17548 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
17549 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
17550 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
17551 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
17552 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
17553 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
17554 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
17555 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17556 * math/ftestexcept.c (fetestexcept): Likewise.
17557 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
17558 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
17559 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17560 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
17561 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
17562 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
17563 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17564
af325969
UD
175652010-10-11 Ulrich Drepper <drepper@gmail.com>
17566
c579b202 17567 [BZ #12107]
af325969
UD
17568 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
17569 newline.
17570
67a67b95
UD
175712010-10-06 Ulrich Drepper <drepper@gmail.com>
17572
17573 * string/bug-strstr1.c: New file.
17574 * string/Makefile: Add rules to build and run bug-strstr1.
17575
5fb308bc
EB
175762010-10-05 Eric Blake <eblake@redhat.com>
17577
17578 [BZ #12092]
17579 * string/str-two-way.h (two_way_long_needle): Always clear memory
17580 when skipping input due to the shift table.
17581
45db99c7
UD
175822010-10-03 Ulrich Drepper <drepper@gmail.com>
17583
3b111893
UD
17584 [BZ #12005]
17585 * malloc/mcheck.c: Handle large requests.
17586
45db99c7
UD
17587 [BZ #12077]
17588 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
17589 for strncmp and strncasecmp.
17590 * string/stratcliff.c: Add tests for strcmp and strncmp.
17591 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
17592
cf7a1eb8
NI
175932010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17594
17595 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
17596 __set_fpscr.
17597
6484ba5e
AJ
175982010-09-30 Andreas Jaeger <aj@suse.de>
17599
17600 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
17601 (CGROUP_SUPER_MAGIC): Define.
17602 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17603 Handle btrfs and cgroup file systems.
17604 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17605 Likewise.
17606
91c42559
LM
176072010-09-27 Luis Machado <luisgpm@br.ibm.com>
17608
17609 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
17610 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
17611
87a97932
AK
176122010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17613
17614 [BZ #12067]
17615 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
17616 trying to locate the ELF header.
17617
c21cc9bc
AS
176182010-09-27 Andreas Schwab <schwab@redhat.com>
17619
17620 [BZ #11611]
17621 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
17622 Mask out sign-bit copies when constructing f_fsid.
17623
315970f6
PB
176242010-09-24 Petr Baudis <pasky@suse.cz>
17625
17626 * debug/stack_chk_fail_local.c: Add missing licence exception.
17627 * debug/warning-nop.c: Likewise.
17628
1ac7a2c7
JM
176292010-09-15 Joseph Myers <joseph@codesourcery.com>
17630
17631 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
17632 implementing getdents64 using getdents syscall, set d_type if
17633 __ASSUME_GETDENTS32_D_TYPE.
17634
56801c50
AS
176352010-09-16 Andreas Schwab <schwab@redhat.com>
17636
17637 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
17638 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
17639
dda51327
UD
176402010-09-21 Ulrich Drepper <drepper@redhat.com>
17641
17642 [BZ #12037]
17643 * posix/unistd.h: Undo change of feature selection for ftruncate from
17644 2010-01-11.
17645
8ffcee4a
UD
176462010-09-20 Ulrich Drepper <drepper@redhat.com>
17647
a545ecd9 17648 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
17649 detection.
17650
e24f0a8b
AS
176512010-09-20 Andreas Schwab <schwab@redhat.com>
17652
17653 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
17654 fanotify_mark.
17655 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17656
7291c56f
AS
176572010-09-14 Andreas Schwab <schwab@redhat.com>
17658
17659 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
17660 variables after CHECK_SP call.
17661 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
17662
bc5fb037
AS
176632010-09-13 Andreas Schwab <schwab@redhat.com>
17664 Ulrich Drepper <drepper@redhat.com>
17665
17666 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
17667 re-relocationg ld.so.
17668 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
17669 _dl_init_paths call.
17670 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
17671 here anymore.
17672
e66e7419
UD
176732010-09-14 Ulrich Drepper <drepper@redhat.com>
17674
17675 * resolv/res_init.c (__res_vinit): Count the default server we added.
17676
c044aa75
CLT
176772010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
17678 Ulrich Drepper <drepper@redhat.com>
17679
17680 [BZ #11968]
17681 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17682 (____longjmp_chk): Use %ebx for saving value across system call.
17683 Add unwind info.
17684
32cf4069
AS
176852010-09-06 Andreas Schwab <schwab@redhat.com>
17686
17687 * manual/Makefile: Don't mix pattern rules with normal rules.
17688
817328ee
AS
176892010-09-05 Andreas Schwab <schwab@linux-m68k.org>
17690
17691 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
17692 operation.
17693 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17694 * libio/iofopncook.c (_IO_cookie_init): Likewise.
17695 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17696 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17697 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17698 Likewise.
17699
29fddf61
UD
177002010-09-04 Ulrich Drepper <drepper@redhat.com>
17701
17702 [BZ #11979]
17703 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
17704 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
17705
0959ffc9
UD
177062010-09-02 Ulrich Drepper <drepper@redhat.com>
17707
17708 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
17709 * sysdeps/x86_64/addmul_1.S: Likewise.
17710 * sysdeps/x86_64/lshift.S: Likewise.
17711 * sysdeps/x86_64/mul_1.S: Likewise.
17712 * sysdeps/x86_64/rshift.S: Likewise.
17713 * sysdeps/x86_64/sub_n.S: Likewise.
17714 * sysdeps/x86_64/submul_1.S: Likewise.
17715
ece29840
ST
177162010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
17717
0959ffc9
UD
17718 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
17719 Define __sched_param instead of SCHED_* and sched_param when
ece29840 17720 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 17721 * bits/sched.h [__need_schedparam]
ece29840 17722 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
17723 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
17724 (__defined_schedparam): Define to 1.
ece29840
ST
17725 (__sched_param): New structure, identical to sched_param.
17726 (__need_schedparam): Undefine.
17727
e53a31fe
MF
177282010-08-31 Mike Frysinger <vapier@gentoo.org>
17729
fdc0c10d
MF
17730 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
17731 (epoll_create1): Declare.
17732
e53a31fe
MF
17733 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
17734
a726d796
AS
177352010-08-31 Andreas Schwab <schwab@redhat.com>
17736
17737 [BZ #7066]
17738 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
17739 shifting retval into place.
17740
2f3e3dc7
UD
177412010-09-01 Ulrich Drepper <drepper@redhat.com>
17742
f2933da9
UD
17743 * nis/rpcsvc/nis.h: Update copyright notice.
17744 * nis/rpcsvc/nis.x: Likewise.
17745 * nis/rpcsvc/nis_callback.h: Likewise.
17746 * nis/rpcsvc/nis_callback.x: Likewise.
17747 * nis/rpcsvc/nis_object.x: Likewise.
17748 * nis/rpcsvc/nis_tags.h: Likewise.
17749 * nis/rpcsvc/yp.h: Likewise.
17750 * nis/rpcsvc/yp.x: Likewise.
17751 * nis/rpcsvc/ypupd.h: Likewise.
17752 * nis/yp_xdr.c: Likewise.
17753 * nis/ypupdate_xdr.c: Likewise.
17754
2f3e3dc7
UD
17755 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
17756 mainly the body of pmap_getport. Add parameters to specify timeouts.
17757 (pmap_getport): Use __libc_rpc_getport.
17758 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
17759 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
17760 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
17761
f3dcc2f9
AS
177622010-08-31 Andreas Schwab <schwab@linux-m68k.org>
17763
17764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
17765 fanotify_mark.
17766
6d34eb5b
RM
177672010-08-27 Roland McGrath <roland@redhat.com>
17768
17769 * sysdeps/i386/i686/multiarch/Makefile
17770 (CFLAGS-varshift.c): New variable.
17771
9ea3de11
UD
177722010-08-27 Ulrich Drepper <drepper@redhat.com>
17773
c96d23fc
UD
17774 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
17775 * sysdeps/i386/i686/multiarch/varshift.c: New file.
17776
9ea3de11
UD
17777 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
17778
17779 * sysdeps/x86_64/strlen.S: Minimal code improvement.
17780
623aac7f
L
177812010-08-26 H.J. Lu <hongjiu.lu@intel.com>
17782
17783 * sysdeps/x86_64/strlen.S: Unroll the loop.
17784 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17785 strlen-sse2 strlen-sse2-bsf.
17786 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
17787 __strlen_no_bsf if bit_Slow_BSF is set.
17788 (__strlen_sse42): Removed.
17789 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
17790 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
17791
8b2b7715
RM
177922010-08-25 Roland McGrath <roland@redhat.com>
17793
17794 * sysdeps/x86_64/multiarch/varshift.S: File removed.
17795 * sysdeps/x86_64/multiarch/varshift.c: New file.
17796 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
17797 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
17798 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
17799 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17800
e73015f2
L
178012010-08-25 H.J. Lu <hongjiu.lu@intel.com>
17802
17803 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17804 strlen-sse2 strlen-sse2-bsf.
17805 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
17806 __strlen_sse2_bsf if bit_Slow_BSF is unset.
17807 (__strlen_sse2): Removed.
17808 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
17809 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
17810 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17811 bit_Slow_BSF for Atom.
17812 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
17813 (index_Slow_BSF): Define.
17814 (HAS_SLOW_BSF): Define.
17815
df24a73e
UD
178162010-08-25 Ulrich Drepper <drepper@redhat.com>
17817
17818 [BZ #10851]
17819 * resolv/res_init.c (__res_vinit): When no server address at all
17820 is given default to loopback.
17821
f2ac4868
RM
178222010-08-24 Roland McGrath <roland@redhat.com>
17823
09055553
RM
17824 * configure.in: Remove config-name.h generation.
17825 * configure: Regenerated.
17826 * config-name.in: File removed.
17827 * scripts/config-uname.sh: New file.
17828 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
17829 ($(objdir)config-name.h): New target.
17830
f2ac4868
RM
17831 * sunrpc/rpc_parse.h: Avoid nested comment.
17832
73f27d5e
RH
178332010-08-24 Richard Henderson <rth@redhat.com>
17834 Ulrich Drepper <drepper@redhat.com>
17835 H.J. Lu <hongjiu.lu@intel.com>
17836
17837 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
17838 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
17839 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
17840 Replace _mm_srli_si128 with __m128i_shift_right. Replace
17841 _mm_alignr_epi8 with _mm_loadu_si128.
17842 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
17843 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
17844 (__m128i_shift_right): Removed.
17845 * sysdeps/i386/i686/multiarch/varshift.h: New file.
17846 * sysdeps/i386/i686/multiarch/varshift.S: New file.
17847 * sysdeps/x86_64/multiarch/varshift.h: New file.
17848 * sysdeps/x86_64/multiarch/varshift.S: New file.
17849
84b9230c
MF
178502010-08-21 Mike Frysinger <vapier@gentoo.org>
17851
17852 * configure.in: Move assembler checks to before sysdep dir checking.
17853
9bbd0ddc
PB
178542010-08-20 Petr Baudis <pasky@suse.cz>
17855
17856 * LICENSES: Sync the sunrpc license.
17857
9da4bb31
UD
178582010-08-19 Ulrich Drepper <drepper@redhat.com>
17859
a7ab6ec8
UD
17860 * sunrpc/auth_des.c: Update copyright notice once again.
17861 * sunrpc/auth_none.c: Likewise.
17862 * sunrpc/auth_unix.c: Likewise.
17863 * sunrpc/authdes_prot.c: Likewise.
17864 * sunrpc/authuxprot.c: Likewise.
17865 * sunrpc/bindrsvprt.c: Likewise.
17866 * sunrpc/clnt_gen.c: Likewise.
17867 * sunrpc/clnt_perr.c: Likewise.
17868 * sunrpc/clnt_raw.c: Likewise.
17869 * sunrpc/clnt_simp.c: Likewise.
17870 * sunrpc/clnt_tcp.c: Likewise.
17871 * sunrpc/clnt_udp.c: Likewise.
17872 * sunrpc/clnt_unix.c: Likewise.
17873 * sunrpc/des_crypt.c: Likewise.
17874 * sunrpc/des_soft.c: Likewise.
17875 * sunrpc/get_myaddr.c: Likewise.
17876 * sunrpc/getrpcport.c: Likewise.
17877 * sunrpc/key_call.c: Likewise.
17878 * sunrpc/key_prot.c: Likewise.
17879 * sunrpc/openchild.c: Likewise.
17880 * sunrpc/pm_getmaps.c: Likewise.
17881 * sunrpc/pm_getport.c: Likewise.
17882 * sunrpc/pmap_clnt.c: Likewise.
17883 * sunrpc/pmap_prot.c: Likewise.
17884 * sunrpc/pmap_prot2.c: Likewise.
17885 * sunrpc/pmap_rmt.c: Likewise.
17886 * sunrpc/rpc/auth.h: Likewise.
17887 * sunrpc/rpc/auth_unix.h: Likewise.
17888 * sunrpc/rpc/clnt.h: Likewise.
17889 * sunrpc/rpc/des_crypt.h: Likewise.
17890 * sunrpc/rpc/key_prot.h: Likewise.
17891 * sunrpc/rpc/netdb.h: Likewise.
17892 * sunrpc/rpc/pmap_clnt.h: Likewise.
17893 * sunrpc/rpc/pmap_prot.h: Likewise.
17894 * sunrpc/rpc/pmap_rmt.h: Likewise.
17895 * sunrpc/rpc/rpc.h: Likewise.
17896 * sunrpc/rpc/rpc_des.h: Likewise.
17897 * sunrpc/rpc/rpc_msg.h: Likewise.
17898 * sunrpc/rpc/svc.h: Likewise.
17899 * sunrpc/rpc/svc_auth.h: Likewise.
17900 * sunrpc/rpc/types.h: Likewise.
17901 * sunrpc/rpc/xdr.h: Likewise.
17902 * sunrpc/rpc_clntout.c: Likewise.
17903 * sunrpc/rpc_cmsg.c: Likewise.
17904 * sunrpc/rpc_common.c: Likewise.
17905 * sunrpc/rpc_cout.c: Likewise.
17906 * sunrpc/rpc_dtable.c: Likewise.
17907 * sunrpc/rpc_hout.c: Likewise.
17908 * sunrpc/rpc_main.c: Likewise.
17909 * sunrpc/rpc_parse.c: Likewise.
17910 * sunrpc/rpc_parse.h: Likewise.
17911 * sunrpc/rpc_prot.c: Likewise.
17912 * sunrpc/rpc_sample.c: Likewise.
17913 * sunrpc/rpc_scan.c: Likewise.
17914 * sunrpc/rpc_scan.h: Likewise.
17915 * sunrpc/rpc_svcout.c: Likewise.
17916 * sunrpc/rpc_tblout.c: Likewise.
17917 * sunrpc/rpc_util.c: Likewise.
17918 * sunrpc/rpc_util.h: Likewise.
17919 * sunrpc/rpcinfo.c: Likewise.
17920 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
17921 * sunrpc/rpcsvc/key_prot.x: Likewise.
17922 * sunrpc/rpcsvc/klm_prot.x: Likewise.
17923 * sunrpc/rpcsvc/mount.x: Likewise.
17924 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
17925 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
17926 * sunrpc/rpcsvc/rex.x: Likewise.
17927 * sunrpc/rpcsvc/rstat.x: Likewise.
17928 * sunrpc/rpcsvc/rusers.x: Likewise.
17929 * sunrpc/rpcsvc/sm_inter.x: Likewise.
17930 * sunrpc/rpcsvc/spray.x: Likewise.
17931 * sunrpc/rpcsvc/yppasswd.x: Likewise.
17932 * sunrpc/rtime.c: Likewise.
17933 * sunrpc/svc.c: Likewise.
17934 * sunrpc/svc_auth.c: Likewise.
17935 * sunrpc/svc_authux.c: Likewise.
17936 * sunrpc/svc_raw.c: Likewise.
17937 * sunrpc/svc_run.c: Likewise.
17938 * sunrpc/svc_simple.c: Likewise.
17939 * sunrpc/svc_tcp.c: Likewise.
17940 * sunrpc/svc_udp.c: Likewise.
17941 * sunrpc/svc_unix.c: Likewise.
17942 * sunrpc/svcauth_des.c: Likewise.
17943 * sunrpc/xcrypt.c: Likewise.
17944 * sunrpc/xdr.c: Likewise.
17945 * sunrpc/xdr_array.c: Likewise.
17946 * sunrpc/xdr_float.c: Likewise.
17947 * sunrpc/xdr_mem.c: Likewise.
17948 * sunrpc/xdr_rec.c: Likewise.
17949 * sunrpc/xdr_ref.c: Likewise.
17950 * sunrpc/xdr_sizeof.c: Likewise.
17951 * sunrpc/xdr_stdio.c: Likewise.
17952
9da4bb31
UD
17953 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
17954 handling.
17955
bdaa77bc
AS
179562010-08-19 Andreas Schwab <schwab@redhat.com>
17957
17958 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
17959
fe2f79db
LM
179602010-08-19 Luis Machado <luisgpm@br.ibm.com>
17961
17962 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
17963 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
17964 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
17965 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
17966 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
17967 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
17968 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
17969 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
17970 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
17971 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
17972 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
17973 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
17974 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
17975 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
17976
b9b42ee0
AB
179772010-07-26 Anton Blanchard <anton@samba.org>
17978
17979 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
17980 * malloc/arena.c (heap_trim): Likewise.
17981
1c06ba31
UD
179822010-08-16 Ulrich Drepper <drepper@redhat.com>
17983
17984 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
17985 here. Not...
17986 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
17987 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
17988
f8392f40
L
179892010-08-12 H.J. Lu <hongjiu.lu@intel.com>
17990
17991 * sysdeps/i386/elf/Makefile: New file.
17992
3162f12e
AS
179932010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17994
17995 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
17996 from fanotify_init.
17997 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
17998 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17999
28c90b2c
UD
180002010-08-15 Ulrich Drepper <drepper@redhat.com>
18001
18002 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
18003 of strncasecmp_l.
1feccb6c 18004 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 18005
ca6bb004
UD
180062010-08-14 Ulrich Drepper <drepper@redhat.com>
18007
e9f82e0d
UD
18008 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18009 strncase_l-nonascii.
18010 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18011 Add strncase_l-ssse3.
18012 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
18013 * sysdeps/x86_64/strcmp.S: Likewise.
18014 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
18015 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
18016 * sysdeps/x86_64/strncase.S: New file.
18017 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
18018 * sysdeps/x86_64/strncase_l.S: New file.
18019 * string/Makefile (strop-tests): Add strncasecmp.
18020 * string/test-strncasecmp.c: New file.
18021
18022 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
18023 warning.
18024
ca6bb004
UD
18025 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
18026 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
18027
052fa7b3
AS
180282010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18029
18030 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
18031
962dba78
UD
180322010-08-12 Ulrich Drepper <drepper@redhat.com>
18033
18034 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
18035 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
18036 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
18037
bebff237
AM
180382010-05-01 Alan Modra <amodra@gmail.com>
18039
18040 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
18041 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
18042 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
18043 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
18044 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
18045 tidying. Don't tail-call __sigjmp_save for static lib.
18046 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
18047 save location.
18048 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
18049 (CALL_MCOUNT): Add eh info, and nop after bl.
18050 (TAIL_CALL_SYSCALL_ERROR): New macro.
18051 (PSEUDO_RET): Use it.
18052 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18053 Correct save location of integer regs and cr.
18054 (_dl_profile_resolve): Correct cr save location. Delete nops
18055 after bl when SHARED. Reduce cfi size a little by better
18056 placement of cfi directives.
18057 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
18058 make a stack frame. Instead use parm save area as a temp.
18059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
18060 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
18061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18062 Don't make a stack frame for parent, use parm save area.
18063 Increase child stack frame to 112 bytes. Don't save unused reg,
18064 and adjust reg usage. Set up cfi on error recovery and
18065 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
18066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18067 (__makecontext): Add dummy nop after jump to exit.
18068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
18069 Use correct parm save area and cr save, reduce stack frame.
18070 Correct cfi for possible PSEUDO_RET frame setup.
18071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
18072 Branch to local label emitted by PSEUDO_RET rather than
18073 __syscall_error.
18074
02637374
AS
180752010-08-12 Andreas Schwab <schwab@redhat.com>
18076
18077 [BZ #11904]
18078 * locale/programs/locale.c (print_assignment): New function.
18079 (show_locale_vars): Use it.
18080
c3e2f19b
UD
180812010-08-11 Ulrich Drepper <drepper@redhat.com>
18082
3cdaa6ad
UD
18083 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
18084 field.
18085 (struct statfs64): Likewise.
18086 (_STATFS_F_FLAGS): Define.
18087 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
18088 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18089 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
18090 (ST_VALID): Define locally.
18091 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
18092 __statvfs_getflags, use the provided value.
18093 * sysdeps/unix/sysv/linux/kernel-features.h: Define
18094 __ASSUME_STATFS_F_FLAGS.
18095
754f7da3
UD
18096 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
18097
10b3bedc
UD
18098 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
18099 Add sys/fanotify.h.
18100 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
18101 fanotify_mask for GLIBC_2.13.
18102 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
18103 fanotify_init and fanotify_mark.
18104 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18105 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
18106
c08fb0d7
UD
18107 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
18108 Add prlimit.
18109 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
18110 prlimit64 for GLIBC_2.13.
18111 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
18112 prlimit64.
18113 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
18114 syscall.
18115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18116 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18117 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
18118 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
18119 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
18120 add prlimit alias.
18121 * sysdeps/unix/sysv/linux/prlimit.c: New file.
18122
15bac72b
UD
18123 [BZ #11903]
18124 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
18125 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
18126
c3e2f19b
UD
18127 * nss/Makefile: Add rules to build and run tst-nss-test1.
18128 * shlib-versions: Add entry for libnss_test1.
18129 * nss/nss_test1.c: New file.
18130 * nss/tst-nss-test1.c: New file.
18131
18132 * nss/nsswitch.c (__nss_database_custom): Define new variable.
18133 (__nss_configure_lookup): Set appropriate entry in
18134 __nss_configure_lookup to true.
18135 * nss/nsswitch.h: Define enum with indeces of databases in
18136 databases and __nss_database_custom arrays. Declare
18137 __nss_database_custom.
18138 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
18139 to avoid using nscd when custom rules are installed.
18140 * nss/getXXbyYY_r.c: Likewise.
18141 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18142
18143 * nss/nss_files/files-parse.c: Whitespace fixes.
18144
f15ce4d8
UD
181452010-08-09 Ulrich Drepper <drepper@redhat.com>
18146
18147 [BZ #11883]
18148 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
18149 * posix/fnmatch_loop.c: Likewise.
18150
d22e4cc9
AK
181512010-07-17 Andi Kleen <ak@linux.intel.com>
18152
18153 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
18154 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
18155 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
18156 * Versions.def [GLIBC_2.13]: Add.
18157
805bc17d
UD
181582010-08-06 Ulrich Drepper <drepper@redhat.com>
18159
18160 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18161 Also fail if tpwd after pwuid call is NULL.
18162
5a42321d
ST
181632010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
18164
18165 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
18166 when converting to ms.
18167
fd3ebeda
ST
181682010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18169
18170 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
18171 EOPNOTSUPP errors with ENOTTY.
18172 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
18173 EOPNOTSUPP errors with ENOTTY.
18174
73507d3a
UD
181752010-07-31 Ulrich Drepper <drepper@redhat.com>
18176
18177 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18178 Add strcasecmp_l-ssse3.
18179 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
18180 strcasecmp.
18181 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
18182 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
18183 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
18184
fe36dd02
UD
181852010-07-30 Ulrich Drepper <drepper@redhat.com>
18186
66f6765a
UD
18187 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
18188
42e08a54
UD
18189 * string/Makefile (strop-tests): Add strcasecmp.
18190 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18191 strcasecmp_l-nonascii.
18192 (gen-as-const-headers): Add locale-defines.sym.
18193 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
18194 * sysdeps/x86_64/strcasecmp.S: New file.
18195 * sysdeps/x86_64/strcasecmp_l.S: New file.
18196 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
18197 * sysdeps/x86_64/locale-defines.sym: New file.
18198 * string/test-strcasecmp.c: New file.
18199
fe36dd02
UD
18200 * string/test-strcasestr.c: Test both ends of the range of characters.
18201 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
18202
48cbc0d6
RM
182032010-07-29 Roland McGrath <roland@redhat.com>
18204
76e6d6bc 18205 [BZ #11856]
48cbc0d6
RM
18206 * manual/locale.texi (Yes-or-No Questions): Fix example code.
18207
880113d9
UD
182082010-07-27 Ulrich Drepper <drepper@redhat.com>
18209
18210 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
18211 for ld.so.
18212
deb9cabb
AS
182132010-07-27 Andreas Schwab <schwab@redhat.com>
18214
18215 * manual/memory.texi (Malloc Tunable Parameters): Document
18216 M_PERTURB.
18217
1c7570ff
RM
182182010-07-26 Roland McGrath <roland@redhat.com>
18219
18220 [BZ #11840]
18221 * configure.in (-fgnu89-inline check): Set and substitute
18222 gnu89_inline, not libc_cv_gnu89_inline.
18223 * configure: Regenerated.
18224 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
18225
24fb0f88
UD
182262010-07-26 Ulrich Drepper <drepper@redhat.com>
18227
18228 * string/test-strnlen.c: New file.
18229 * string/Makefile (strop-tests): Add strnlen.
18230 * string/tester.c (test_strnlen): Add a few more test cases.
18231 * string/tst-strlen.c: Better error reporting.
18232
18233 * sysdeps/x86_64/strnlen.S: New file.
18234
8e96b93a
UD
182352010-07-24 Ulrich Drepper <drepper@redhat.com>
18236
18237 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
18238 lower-latency instructions.
18239
dbc676d4
UD
182402010-07-23 Ulrich Drepper <drepper@redhat.com>
18241
18242 * string/test-strcasestr.c: New file.
18243 * string/test-strstr.c: New file.
18244 * string/Makefile (strop-tests): Add strstr and strcasestr.
18245 * string/str-two-way.h: Don't undefine MAX.
18246 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
18247
f6a31e0e
AS
182482010-07-21 Andreas Schwab <schwab@redhat.com>
18249
18250 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18251 strcasestr-nonascii.
18252 (CFLAGS-strcasestr-nonascii.c): Define.
18253 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
18254 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
18255 Remove unused attribute.
18256
5dbc3b6c
RM
182572010-07-20 Roland McGrath <roland@redhat.com>
18258
18259 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
18260 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
18261 ld.so.cache was broken. With it, there is no way to disable dsocaps
18262 like LD_HWCAP_MASK can disable hwcaps.
18263
23d101d8
EPM
182642010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18265
18266 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
18267
cc9f2e47
UD
182682010-07-16 Ulrich Drepper <drepper@redhat.com>
18269
18270 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
18271 call in strcasestr.
18272 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
18273 __strcasestr_sse42_nonascii.
18274 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
18275 strcasestr-nonascii.c.
18276 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
18277
77c1b069
LM
182782010-06-15 Luis Machado <luisgpm@br.ibm.com>
18279
18280 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
18281 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
18282 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
18283 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
18284
440566c3
UD
182852010-07-09 Ulrich Drepper <drepper@redhat.com>
18286
18287 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
18288 fcntl.
18289
5be9d05d
AS
182902010-07-06 Andreas Schwab <schwab@redhat.com>
18291
c30b7ee2 18292 [BZ #11577]
5be9d05d
AS
18293 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
18294 dl_signal_cerror.
18295
8a492a67
UD
182962010-07-06 Ulrich Drepper <drepper@redhat.com>
18297
18298 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
18299 _PC_PIPE_BUF using F_GETPIPE_SZ.
18300
713df3d5
RM
183012010-07-05 Roland McGrath <roland@redhat.com>
18302
18303 * manual/arith.texi (Rounding Functions): Fix rint description
18304 implicit in round description.
18305
702e8f14
UD
183062010-07-02 Ulrich Drepper <drepper@redhat.com>
18307
18308 * elf/Makefile: Fix linking for a few tests to make recent linker
18309 happy.
18310
52ed8be9
AS
183112010-06-30 Andreas Schwab <schwab@redhat.com>
18312
18313 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18314 $(common-objpfx)libc_nonshared.a.
18315
f47c9a11
LM
183162010-06-21 Luis Machado <luisgpm@br.ibm.com>
18317
18318 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18319 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18320 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18321 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18322 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18323 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18324 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18325 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18340 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18341 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18342 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18343 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18344 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18345 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18346 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18347 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18348 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18349 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18350 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18351 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18366
6fb8cbcb
L
183672010-06-25 H.J. Lu <hongjiu.lu@intel.com>
18368
18369 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18370 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
18371 * string/memmove.c (memmove): Renamed to ...
18372 (MEMMOVE): ...this. Default to memmove.
18373 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18374 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18375 (END_CHK): Define.
18376 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18377 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18378 mempcpy-ssse3-back memmove-ssse3-back.
18379 * sysdeps/x86_64/multiarch/bcopy.S: New file .
18380 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18381 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18382 * sysdeps/x86_64/multiarch/memcpy.S: New file.
18383 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18384 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18385 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18386 * sysdeps/x86_64/multiarch/memmove.c: New file.
18387 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18388 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18389 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18390 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18391 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18392 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18393 Define.
18394 (index_Fast_Copy_Backward): Define.
18395 (HAS_ARCH_FEATURE): Define.
18396 (HAS_FAST_REP_STRING): Define.
18397 (HAS_FAST_COPY_BACKWARD): Define.
18398
4e733bac 183992010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
18400
18401 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18402 Restore proper fallback handling.
18403
63c4ed22
UD
184042010-06-19 Ulrich Drepper <drepper@redhat.com>
18405
ac2b484c
UD
18406 [BZ #11701]
18407 * posix/group_member.c (__group_member): Correct checking loop.
18408
63c4ed22
UD
18409 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
18410 OOM in getpwuid_r correctly. Return error number when the caller
18411 should return, otherwise -1.
18412 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
18413 call returning > 0 value.
18414 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
18415
765ade4b
AS
184162010-06-07 Andreas Schwab <schwab@redhat.com>
18417
18418 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
18419 libc_nonshared.a from targets in modules-names.
18420
80da2e09
KS
184212010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
18422
18423 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
18424 requires it.
18425
158db122
LM
184262010-06-10 Luis Machado <luisgpm@br.ibm.com>
18427
18428 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
18429 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
18430 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
18431 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
18432
caa78cf8
AS
184332010-06-02 Andreas Schwab <schwab@redhat.com>
18434
18435 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
18436
b2ef2c01
UD
184372010-06-14 Ulrich Drepper <drepper@redhat.com>
18438
18439 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
18440 and F_GETPIPE_SZ.
18441 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18442 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18443 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18444 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18445 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18446 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
18447
fbd643b6
RM
184482010-06-14 Roland McGrath <roland@redhat.com>
18449
18450 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
18451
f32f2869
JJ
184522010-06-07 Jakub Jelinek <jakub@redhat.com>
18453
18454 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
18455 __REDIRECT followed by __THROW.
18456 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
18457 * posix/getopt.h (getopt): Likewise.
18458
2a50c078
EPM
184592010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18460
18461 * hurd/lookup-at.c (__file_name_lookup_at): Accept
18462 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
18463 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
18464 in AT_FLAGS.
18465 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
18466 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
18467
eb5ad2eb
LM
184682010-05-28 Luis Machado <luisgpm@br.ibm.com>
18469
18470 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
18471
3c88fe1e
L
184722010-05-26 H.J. Lu <hongjiu.lu@intel.com>
18473
18474 [BZ #11640]
18475 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18476 Properly check family and model.
18477
d2f73151
TY
184782010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
18479
18480 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
18481
ebd2e13d
LM
184822010-05-24 Luis Machado <luisgpm@br.ibm.com>
18483
18484 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
18485
b32b8b45
UD
184862010-05-21 Ulrich Drepper <drepper@redhat.com>
18487
18488 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
18489 symbol reference.
18490
9acbe24d
AS
184912010-05-19 Andreas Schwab <schwab@redhat.com>
18492
18493 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
18494 symbol reference.
18495
f0ccf6ea
AS
184962010-05-21 Andreas Schwab <schwab@redhat.com>
18497
3d04ff3a
AS
18498 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
18499 and internal_recvmmsg.
18500 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
18501 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
18502 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
18503 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
18504
f0ccf6ea
AS
18505 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
18506 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18507 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18508
5b08ac57
AS
185092010-05-20 Andreas Schwab <schwab@redhat.com>
18510
18511 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
18512
4828935d
LM
185132010-05-17 Luis Machado <luisgpm@br.ibm.com>
18514
18515 POWER7 optimizations.
18516 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
18517 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
18518
373d545e
UD
185192010-05-19 Ulrich Drepper <drepper@redhat.com>
18520
18521 * version.h: Update for 2.13 development version.
18522
21a2b1ae
AS
185232010-05-12 Andrew Stubbs <ams@codesourcery.com>
18524
18525 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
18526 exceptions. Return 0.
18527
3f7dcb2b
RM
185282010-05-07 Roland McGrath <roland@redhat.com>
18529
18530 * elf/ldconfig.c (main): Add a const.
18531
5f24d53a 185322010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 18533
a160f8d8
UD
18534 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
18535 (args_options): Add no-idn option.
18536 (ahosts_keys_int): Add idn_flags to ai_flags.
18537 (parse_option): Handle 'i' option to clear idn_flags.
18538
5f24d53a
UD
18539 * malloc/malloc.c (_int_free): Possible race in the most recently
18540 added check. Only act on the data if no current modification
18541 happened.
265bb1ce
UD
18542
18543See ChangeLog.17 for earlier changes.
This page took 2.224964 seconds and 5 git commands to generate.