]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
2012-08-17 Jeff Law <law@redhat.com>
[thirdparty/glibc.git] / ChangeLog
CommitLineData
d1f09384
JL
12012-08-17 Jeff Law <law@redhat.com>
2
3 * intl/Makefile (codeset_mo): New variable.
4 ($(codeset_mo)): New target.
5 (tst-codeset.out): Depend on that. Remove explicit rule.
6 (tst-gettext3.out, tst-gettext5.out): Likewise.
7 (LOCPATH-ENV, tst-codeset-ENV): New variables.
8 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9 * intl/tst-codeset.sh: Remove.
10 * intl/tst-gettext3.sh: Likewise.
11 * intl/tst-gettext5.sh: Likewise.
12
2ae1ae5c
RM
132012-08-17 Roland McGrath <roland@hack.frob.com>
14
c31fdb83
RM
15 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
16 * sysdeps/unix/syscalls.list: ... here.
17
a0844057
RM
18 * sysdeps/posix/getaddrinfo.c
19 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
20 (gaiconf_init, gaiconf_reload): Use them.
21 [!_STATBUF_ST_NSEC]
22 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
23 Define using time_t rather than struct timespec.
24
750c1f2a
RM
25 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
26 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
27 Macros removed.
28 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
29 [!NO_THREADS].
30 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
32 Likewise.
33
2ae1ae5c
RM
34 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
35 __libc_cleanup_push argument.
36
e66a42f5
RM
37 * bits/param.h: New file.
38 * misc/sys/param.h: New file.
39 * include/sys/param.h: New file.
40 * misc/Makefile (headers): Add bits/param.h.
41 * sysdeps/generic/sys/param.h: File removed.
42 * sysdeps/unix/sysv/linux/bits/param.h: New file.
43 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
44 * sysdeps/mach/hurd/bits/param.h: New file.
45 * sysdeps/mach/hurd/sys/param.h: New file.
46
b7c08a66
RM
47 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
48 last change.
49
b2e1c562
RM
50 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
51 [_IO_MTSAFE_IO].
52 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
53 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
54 New macros.
55
c75ccd4c
RM
56 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
57 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
58 rather than -D_IO_MTSAFE_IO conditionally.
59 * stdio-common/Makefile (CPPFLAGS): Likewise.
60 * wcsmbs/Makefile (CPPFLAGS): Likewise.
61 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
62 Use $(libio-mtsafe).
63 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
64 of -D_IO_MTSAFE_IO.
65 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
66 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
67 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
68 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
69 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
70 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
71 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
72 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
73 (CFLAGS-fread_u_chk.c): Likewise.
74 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
75 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
76 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
77 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
78 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
79 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
80 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
81 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
82 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
83
84 * libio/Makefile: Test [$(libc-reentrant) = yes]
85 instead of [$(filter %REENTRANT, $(defines)) nonempty].
86
87 * Makeconfig
88 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
89 * sysdeps/pthread/configure: File removed.
90 * sysdeps/pthread/Makeconfig: New file.
91 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
92 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
93
d9195db8
GB
942012-08-16 Gary Benson <gbenson@redhat.com>
95
96 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
97 unmapping the first object in a namespace.
98
86466cd9
RM
992012-08-16 Roland McGrath <roland@hack.frob.com>
100
101 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
102 (__internal_setnetgrent): ... this. Add internal_function to
103 definition. Add libc_hidden_def.
104 (setnetgrent): Update caller.
105 (internal_endnetgrent): Renamed to ...
106 (__internal_endnetgrent): ... this. Add internal_function to
107 definition. Add libc_hidden_def.
108 (endnetgrent): Update caller.
109 (internal_getnetgrent_r): Renamed to ...
110 (__internal_getnetgrent_r): ... this. Add internal_function to
111 definition. Add libc_hidden_def.
112 (__getnetgrent_r): Update caller.
113 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
114
c3c8283c
JM
1152012-08-16 Joseph Myers <joseph@codesourcery.com>
116
117 * stdlib/longlong.h: Update from GCC.
118
db1ee0a8
RM
1192012-08-16 Roland McGrath <roland@hack.frob.com>
120
121 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
122 on _QL, which is set by umul_ppmm but never used.
123 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
124 variables, which are set by GMP macros but never used.
125 * stdio-common/_itowa.c (_itowa): Likewise.
126 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
127 * stdlib/mod_1.c (mpn_mod_1): Likewise.
128
30f69637
CD
1292012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
130
131 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
132 struct La_sh_regs is not constant.
133 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
134 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
135 and struct La_sparc64_regs are not constant.
136
93a78ac4
JM
1372012-08-16 Joseph Myers <joseph@codesourcery.com>
138
139 * sysdeps/unix/sysv/linux/kernel-features.h
140 (__ASSUME_POSIX_TIMERS): Remove.
141 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
142 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
143 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
144 Make code unconditional.
145 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
146 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
147 Make code unconditional.
148 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
149 * sysdeps/unix/sysv/linux/clock_nanosleep.c
150 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
151 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
152 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
153 Make code unconditional.
154 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
155 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
156 (__libc_missing_posix_timers): Remove.
157
dd924cd7
RM
1582012-08-15 Roland McGrath <roland@hack.frob.com>
159
4b4f2771
RM
160 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
161 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
162
601c888b
RM
163 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
164
176790a7
RM
165 * elf/dl-sym.c: Include <stdlib.h>.
166
329bc018
RM
167 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
168 constants, which avoids warnings in 32-bit builds.
169
e04e272d
RM
170 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
171 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
172
952bf94a
RM
173 * misc/lseek.c: File moved to ...
174 * io/lseek.c: ... here.
175
7c99b50a
RM
176 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
177
dd924cd7
RM
178 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
179 shifting LEN more than 31 bits at once.
180
b3f479a8
LD
1812012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
182
183 [BZ #14195]
184 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
185 segmentation fault for a case of two empty input strings.
186 * string/test-strncasecmp.c (check1): Renamed to...
187 (bz12205): ...this.
188 (bz14195): Add new testcase for two empty input strings and N > 0.
189 (test_main): Call new testcase, adapt for renamed function.
190
9c55864e
AJ
1912012-08-15 Andreas Jaeger <aj@suse.de>
192
193 [BZ #14090]
194 * crypt/md5test2.c: New test, based on test supplied by Serge
195 Belyshev <belyshev@depni.sinp.msu.ru>.
196 * crypt/Makefile (xtests): Add md5test-giant..
197 * crypt/Makefile ($(objpfx)md5test-giant): Add.
198
02dcb6c5
PE
1992012-08-15 Paul Eggert <eggert@cs.ucla.edu>
200
201 [BZ #14090]
202 * crypt/md5.c (md5_process_block): Don't assume the buffer
203 length is less than 2**32.
204 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
205 length is less than 2**64.
206
a3f95dcc
RM
2072012-08-15 Roland McGrath <roland@hack.frob.com>
208
be75d758
RM
209 * string/str-two-way.h: Include <sys/param.h>.
210 (MAX): Macro removed.
211
7312ca90
RM
212 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
213 Move #define and #undef of memmove to just before and after
214 including <string.h>.
215
9a0a5486
RM
216 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
217 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
218 and after including <string.h>. Move declarations of
219 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
220 to before #include "string/memmove.c".
221
67cc348d
RM
222 * include/dirent.h: Declare __getdirentries.
223
a3f95dcc
RM
224 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
225 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
226
ca98e171
MF
2272012-08-14 Mike Frysinger <vapier@gentoo.org>
228
229 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
230 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
231 * sysdeps/i386/configure: Regenerated.
232 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
233 STABS_CURRENT_FILE, and STABS_FUN.
234 (END): Remove call to STABS_FUN_END.
235 (STABS_CURRENT_FILE1): Delete.
236 (STABS_CURRENT_FILE): Likewise.
237 (STABS_FUN): Likewise.
238 (STABS_FUN_END): Likewise.
239 (STABS_FUN2): Likewise.
240 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
241 * sysdeps/x86_64/configure: Regenerated.
242
5908bf46
RM
2432012-08-14 Roland McGrath <roland@hack.frob.com>
244
245 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 246 * elf/dl-lookup.c: Likewise.
5908bf46 247
f2c05b9e
JM
2482012-08-14 Joseph Myers <joseph@codesourcery.com>
249
250 * sysdeps/unix/sysv/linux/kernel-features.h
251 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
252 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
253 unconditionally.
254 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
255 unconditionally.
256 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
257 condition on __ASSUME_CLONE_THREAD_FLAGS.
258
e11f5155
AJ
2592012-08-14 Andreas Jaeger <aj@suse.de>
260
261 * sysdeps/i386/fpu/libm-test-ulps: Update.
262
51a9ba86
MK
2632012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
264
2fdd4f78
AJ
265 * include/atomic.h (atomic_exchange_and_add): Split into ...
266 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
267 New atomic macros.
51a9ba86 268
ba6cba9e
MT
2692012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
270
271 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
272
42443a47
JL
2732012-08-13 Jeff Law <law@redhat.com>
274
275 * manual/stdio.texi (snprintf): Clarify handling of the trailing
276 null byte in the output string.
277
121dce05
JM
2782012-08-10 Joseph Myers <joseph@codesourcery.com>
279
280 * sysdeps/unix/sysv/linux/kernel-features.h
281 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
282 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
283 (__ASSUME_ARG_MAX_STACK_BASED): Define.
284 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
285 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
286 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
287 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
288
bf51f568
JL
2892012-08-09 Jeff Law <law@redhat.com>
290
291 [BZ #13939]
292 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
293 When avoid_arena is set, don't retry in the that arena. Pick the
294 next one, whatever it might be.
295 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
296 (arena_lock): Pass in new parameter to arena_get2.
297 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
298 arena_get2.
299 (__libc_malloc): Unify retrying after main arena failure with
300 __libc_memalign version.
301 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
302
f85fa270
L
3032012-08-09 H.J. Lu <hongjiu.lu@intel.com>
304
305 [BZ #14166]
306 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
307 to __redirect_strstr.
308 (__strstr_sse42): Use typeof __redirect_strstr.
309 (__strstr_ia32): Likewise.
310 (__libc_strstr): New prototype.
311 (strstr): Renamed to ...
312 (__libc_strstr): This.
313 (strstr): New strong alias of __libc_strstr.
314 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
315 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
316 __redirect_time.
317 Include <time.h>.
318 (__libc_time): New prototype.
319 (time_ifunc): Replace time with __libc_time.
320 (time): New strong alias and hidden definition of __libc_time.
321 (__GI_time): Remove strong alias.
322 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
323 Include <stddef.h>.
324 (memmove): Redefined to __redirect_memmove.
325 (__memmove_sse2): Use typeof __redirect_memmove.
326 (__memmove_ssse3): Likewise.
327 (__memmove_ssse3_back): Likewise.
328 (__libc_memmove): New prototype.
329 (memmove): Renamed to ...
330 (__libc_memmove): This.
331 (memmove): New strong alias of __libc_memmove.
332
33b4a91e
MS
3332012-08-08 Mark Salter <msalter@redhat.com>
334
335 * elf/elf.h
336 (R_MN10300_TLS_GD): Define.
337 (R_MN10300_TLS_LD): Likewise.
338 (R_MN10300_TLS_LDO): Likewise.
339 (R_MN10300_TLS_GOTIE): Likewise.
340 (R_MN10300_TLS_IE): Likewise.
341 (R_MN10300_TLS_LE): Likewise.
342 (R_MN10300_TLS_DTPMOD): Likewise.
343 (R_MN10300_TLS_DTPOFF): Likewise.
344 (R_MN10300_TLS_TPOFF): Likewise.
345 (R_MN10300_SYM_DIFF): Likewise.
346 (R_MN10300_ALIGN): Likewise.
347 (R_MN10300_NUM): Update.
348
b36137f1
JM
3492012-08-08 Joseph Myers <joseph@codesourcery.com>
350
351 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
352 Remove.
353
cdd915fd
RM
3542012-08-08 Roland McGrath <roland@hack.frob.com>
355
a2433aac
RM
356 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
357
cdd915fd
RM
358 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
359 sysdeps/unix -> sysdeps/posix move.
360 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
361
bf9b740a
AM
3622012-08-07 Allan McRae <allan@archlinux.org>
363
364 [BZ #14303]
365 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
366 (SUNOS_CPP): Likewise.
367 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
368 not found.
369 (open_input): Call CPP using execvp.
370
93df14ee
JM
3712012-08-07 Joseph Myers <joseph@codesourcery.com>
372
373 * sysdeps/unix/sysv/linux/kernel-features.h
374 (__ASSUME_PROT_GROWSUPDOWN): Remove.
375 (__ASSUME_NO_CLONE_DETACHED): Likewise.
376 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
377 (__ASSUME_WAITID_SYSCALL): Likewise.
378 * sysdeps/unix/sysv/linux/dl-execstack.c
379 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
380 code unconditional.
381 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
382 conditional code.
383 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
384 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
385 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
386 code.
387 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
388 unconditional.
389 [__ASSUME_WAITID_SYSCALL]: Likewise.
390 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
391
d34689de
RM
3922012-08-07 Roland McGrath <roland@hack.frob.com>
393
a281decc
RM
394 * sysdeps/unix/closedir.c: Renamed to ...
395 * sysdeps/posix/closedir.c: ... here.
396 * sysdeps/unix/dirfd.c: Renamed to ...
397 * sysdeps/posix/dirfd.c: ... here.
398 * sysdeps/unix/dirstream.h: Renamed to ...
399 * sysdeps/posix/dirstream.h: ... here.
400 * sysdeps/unix/fdopendir.c: Renamed to ...
401 * sysdeps/posix/fdopendir.c: ... here.
402 * sysdeps/unix/opendir.c: Renamed to ...
403 * sysdeps/posix/opendir.c: ... here.
404 * sysdeps/unix/readdir.c: Renamed to ...
405 * sysdeps/posix/readdir.c: ... here.
406 * sysdeps/unix/readdir_r.c: Renamed to ...
407 * sysdeps/posix/readdir_r.c: ... here.
408 * sysdeps/unix/rewinddir.c: Renamed to ...
409 * sysdeps/posix/rewinddir.c: ... here.
410 * sysdeps/unix/seekdir.c: Renamed to ...
411 * sysdeps/posix/seekdir.c: ... here.
412 * sysdeps/unix/telldir.c: Renamed to ...
413 * sysdeps/posix/telldir.c: ... here.
414 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
415 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
416 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
417 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
418
22895b47
RM
419 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
420 * bits/fcntl.h: ... here.
421
707a53b6
RM
422 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
423 not 0.
424 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
425 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
426 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
427 (struct flock): Move l_start, l_len to the beginning.
428 Use __pid_t for l_pid.
429 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
430 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
431 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
432 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
433 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
434 [__USE_LARGEFILE64] (struct flock64): New type.
435 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
436
f0bd3e25
RM
437 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
438 * bits/dirent.h: ... here.
439
d34689de
RM
440 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
441 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
442
6dad2c06
JM
4432012-08-07 Joseph Myers <joseph@codesourcery.com>
444
445 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
446 Change from 2.6.0 to 2.6.16.
447 * sysdeps/unix/sysv/linux/configure: Regenerated.
448 * sysdeps/unix/sysv/linux/kernel-features.h
449 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
450 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
451 version.
452 (__ASSUME_UTIMES): Likewise.
453 (__ASSUME_CLONE_STOPPED): Remove.
454 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
455 architectures, not kernel version.
456 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
457 (__ASSUME_NO_CLONE_DETACHED): Likewise.
458 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
459 (__ASSUME_WAITID_SYSCALL): Likewise.
460 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
461 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
462 * README: State 2.6.16 as minimum Linux kernel version. Do not
463 refer to older versions.
464
03af9520
RM
4652012-08-06 Roland McGrath <roland@hack.frob.com>
466
8e49df1d
RM
467 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
468 Define alphasort64 as an alias.
469 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
470 Define versionsort64 as an alias.
471 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
472 Define scandir64 as an alias.
473 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
474 Define scandirat64 as an alias.
475 * dirent/alphasort64.c (alphasort64):
476 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
477 * dirent/versionsort64.c: Likewise.
478 * dirent/scandir64.c: Likewise.
479 * dirent/scandirat64.c: Likewise.
480 * sysdeps/wordsize-64/alphasort.c: File removed.
481 * sysdeps/wordsize-64/alphasort64.c: File removed.
482 * sysdeps/wordsize-64/scandir.c: File removed.
483 * sysdeps/wordsize-64/scandir64.c: File removed.
484 * sysdeps/wordsize-64/scandirat.c: File removed.
485 * sysdeps/wordsize-64/scandirat64.c: File removed.
486 * sysdeps/wordsize-64/versionsort.c: File removed.
487 * sysdeps/wordsize-64/versionsort64.c: File removed.
488 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
489 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
490 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
491 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
492 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
493 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
494 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
495 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
496
497 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
498 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
499 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
500 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
501 [defined __arch64__ || defined __sparcv9]
502 (__INO_T_MATCHES_INO64_T): New macro.
503 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
504 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
505 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
506 * sysdeps/unix/sysv/linux/bits/dirent.h
507 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
508 (_DIRENT_MATCHES_DIRENT64): New macro.
509
03af9520
RM
510 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
511 Define lockf64 as an alias.
512 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
513 Define fseeko64 as an alias.
514 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
515 Define ftello64 as an alias.
516 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
517 Define _IO_fgetpos64 and fgetpos64 as aliases.
518 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
519 Define _IO_fsetpos64 and fsetpos64 as aliases.
520 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
521 Conditionalize body on this.
522 * libio/fseeko64.c: Likewise.
523 * libio/ftello64.c: Likewise.
524 * libio/iofgetpos64.c: Likewise.
525 * libio/iofsetpos64.c: Likewise.
526 * sysdeps/wordsize-64/lockf.c: File removed.
527 * sysdeps/wordsize-64/lockf64.c: File removed.
528 * sysdeps/wordsize-64/fseeko.c: File removed.
529 * sysdeps/wordsize-64/fseeko64.c: File removed.
530 * sysdeps/wordsize-64/ftello.c: File removed.
531 * sysdeps/wordsize-64/ftello64.c: File removed.
532 * sysdeps/wordsize-64/iofgetpos.c: File removed.
533 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
534 * sysdeps/wordsize-64/iofsetpos.c: File removed.
535 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
536 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
537 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
538 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
539 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
540 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
541 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
542 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
543 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
544 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
545 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
546
547 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
548 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
549 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
550 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
551 [defined __arch64__ || defined __sparcv9]
552 (__OFF_T_MATCHES_OFF64_T): New macro.
553 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
554 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
555 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
556 (__OFF_T_MATCHES_OFF64_T): New macro.
557
c5757acd
L
5582012-08-06 H.J. Lu <hongjiu.lu@intel.com>
559
560 * stdlib/secure-getenv.c (__secure_getenv): Replace
561 GLIBC_2_16 with GLIBC_2_17.
562
3a31811e
L
5632012-08-06 H.J. Lu <hongjiu.lu@intel.com>
564
565 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
566 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
567
faa2bccb
DM
5682012-08-03 David S. Miller <davem@davemloft.net>
569
570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
571
85fe1997
JM
5722012-08-03 Joseph Myers <joseph@codesourcery.com>
573
574 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
575 Remove.
576 (__ASSUME_CORRECT_SI_PID): Likewise.
577 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
578 (__ASSUME_TMPFS_NAME): Likewise.
579 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
580 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
581 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
582 (HAVE_AUX_SECURE): Make definition unconditional.
583 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
584 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
585
4f75b7a0
RM
5862012-08-03 Roland McGrath <roland@hack.frob.com>
587
588 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
589 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
590 * sysdeps/mach/hurd/eloop-threshold.h: New file.
591 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
592 __eloop_threshold instead of SYMLOOP_MAX.
593
594 * sysdeps/generic/eloop-threshold.h: New file.
595 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
596 of MAXSYMLINKS.
597 * elf/chroot_canon.c (chroot_canon): Likewise.
598
7aab07e4
JM
5992012-08-03 Joseph Myers <joseph@codesourcery.com>
600
601 [BZ #13717]
602 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
603 Change to 2.6.0 everywhere.
604 * sysdeps/unix/sysv/linux/configure: Regenerated.
605 * sysdeps/unix/sysv/linux/kernel-features.h
606 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
607 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
608 kernel versions.
609 (__ASSUME_POSIX_TIMERS): Define unconditionally.
610 (__ASSUME_FUTEX_REQUEUE): Remove.
611 (__ASSUME_STATFS64): Define unconditionally.
612 (__ASSUME_AT_SECURE): Likewise.
613 (__ASSUME_CORRECT_SI_PID): Likewise.
614 (__ASSUME_TGKILL): Define without depending on kernel version for
615 i386.
616 (__ASSUME_UTIMES): Likewise.
617 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
618 kernel version.
619 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
620 (__ASSUME_TMPFS_NAME): Likewise.
621 * README: Update reference to Linux kernel versions.
622
b67e9372
MP
6232012-08-02 Marek Polacek <polacek@redhat.com>
624
625 [BZ#14150]
626 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
627 libc_cv_asm_type_prefix with %.
628 * configure: Regenerated.
d2441631
RM
629 * include/libc-symbols.h: Remove comment about
630 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
631 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
632 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
633 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
634 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
635 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
636 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
637 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
638 * elf/tst-unique2mod1.c: Likewise.
639 * elf/tst-unique1mod2.c: Likewise.
640 * elf/tst-unique1mod1.c: Likewise.
641 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
642 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
643 Replace ASM_TYPE_DIRECTIVE with .type.
644 * sysdeps/s390/s390-64/sysdep.h: Likewise.
645 * sysdeps/i386/sysdep.h: Likewise.
646 * sysdeps/x86_64/sysdep.h: Likewise.
647 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
649 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 650 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
651 * sysdeps/powerpc/powerpc32/sysdep.h:
652 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
653 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
654 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
655 * sysdeps/i386/fpu/e_powf.S: Likewise.
656 * sysdeps/i386/fpu/e_expl.S: Likewise.
657 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
658 * sysdeps/i386/fpu/e_acosh.S: Likewise.
659 * sysdeps/i386/fpu/e_pow.S: Likewise.
660 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
661 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
662 * sysdeps/i386/fpu/s_expm1.S: Likewise.
663 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
664 * sysdeps/i386/fpu/e_log2.S: Likewise.
665 * sysdeps/i386/fpu/e_log2l.S: Likewise.
666 * sysdeps/i386/fpu/e_scalb.S: Likewise.
667 * sysdeps/i386/fpu/e_powl.S: Likewise.
668 * sysdeps/i386/fpu/e_log10f.S: Likewise.
669 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
670 * sysdeps/i386/fpu/e_logl.S: Likewise.
671 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
672 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
673 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
674 * sysdeps/i386/fpu/e_log2f.S: Likewise.
675 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
676 * sysdeps/i386/fpu/e_log.S: Likewise.
677 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
678 * sysdeps/i386/fpu/e_logf.S: Likewise.
679 * sysdeps/i386/fpu/e_log10l.S: Likewise.
680 * sysdeps/i386/fpu/e_atanh.S: Likewise.
681 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
682 * sysdeps/i386/fpu/e_log10.S: Likewise.
683 * sysdeps/i386/fpu/s_frexp.S: Likewise.
684 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
685 * sysdeps/i386/fpu/s_asinh.S: Likewise.
686 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
687 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
688 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
689 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
690 * sysdeps/i386/i686/strtok.S: Likewise.
691 * sysdeps/i386/i386-mcount.S: Likewise.
692 * sysdeps/i386/strtok.S: Likewise.
693 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
694 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
695 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
696 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
697 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
698 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
699 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
700 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
701 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
702 * sysdeps/x86_64/_mcount.S: Likewise.
703 * sysdeps/x86_64/strtok.S: Likewise.
704 * sysdeps/sh/_mcount.S: Likewise.
705
2747bf9a
RM
7062012-08-01 Roland McGrath <roland@hack.frob.com>
707
708 * libio/iofopen.c: Include <fcntl.h>.
709 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
710 (_IO_fopen64, fopen64): Define as aliases.
711 * libio/iofopen64.c: Include <fcntl.h>.
712 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
713 Conditionalize body on this.
714 * sysdeps/wordsize-64/iofopen.c: File removed.
715 * sysdeps/wordsize-64/iofopen64.c: File removed.
716
3fb791b8
MP
7172012-08-01 Marek Polacek <polacek@redhat.com>
718
719 * libc/Makeconfig: Use elf in place of binfmt-subdir.
720 Use dlfcn directly instead of a variable.
721 (binfmt-subdir): Do not define.
722 (dlfcn): Likewise.
723
a9f1039f
JM
7242012-08-01 Joseph Myers <joseph@codesourcery.com>
725
23bddc06
JM
726 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
727 Remove all definitions.
728 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
729 <kernel-features.h>.
730 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
731 (miss_F_GETOWN_EX): Remove all definitions.
732 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
733 macro definition.
734 [!__ASSUME_FCNTL64]: Remove conditional code.
735 [__ASSUME_FCNTL64]: Make code unconditional.
736 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
737 <kernel-features.h>.
738 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
739 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
740 (lockf64) [__NR_fcntl64]: Make code unconditional.
741 (lockf64) [__ASSUME_FCNTL64]: Likewise.
742
a9f1039f
JM
743 * sysdeps/unix/sysv/linux/kernel-features.h
744 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
745 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
746 Make code unconditional.
747 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
748 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
750 [__NR_vfork]: Make code unconditional.
751 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
752 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
754 [__NR_vfork]: Make code unconditional.
755 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
756 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
757
09c0ee5f
RM
7582012-08-01 Roland McGrath <roland@hack.frob.com>
759
48aec5b9
RM
760 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
761 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
762
cd97c966
RM
763 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
764 Define mkstemp64 as an alias.
3f55550c
RM
765 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
766 Define mkstemps64 as an alias.
cd97c966
RM
767 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
768 Define mkostemp64 as an alias.
b8625cfc
RM
769 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
770 Define mkostemps64 as an alias.
cd97c966
RM
771 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
772 Conditionalize body on this.
773 * misc/mkostemp64.c: Likewise.
b8625cfc 774 * misc/mkostemps64.c: Likewise.
3f55550c 775 * misc/mkstemps64.c: Likewise.
cd97c966
RM
776 * sysdeps/wordsize-64/mkstemp64.c: File removed.
777 * sysdeps/wordsize-64/mkostemp64.c: File removed.
778 * sysdeps/wordsize-64/mkostemp.c: File removed.
779 * sysdeps/wordsize-64/mkstemp.c: File removed.
780 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
781 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
782 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
783 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
784
09c0ee5f
RM
785 [BZ #14138]
786 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
787 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
788 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
789 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
790
791 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
792 compat_symbol macros from <shlib-compat.h> rather than the underlying
793 default_symbol_version and symbol_version macros, so that DEFAULT
794 lines in shlib-versions are respected.
795 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
796
7e66ee51
FW
7972012-08-01 Florian Weimer <fweimer@redhat.com>
798
799 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
800 Declare with warn_unused_result.
801 (setgid, setregid, setegid, setresgid): Likewise.
802 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
803 Likewise.
804 * WUR-REPORT: Remove set*id functions.
805
d2a54255
PT
8062012-07-31 Pino Toscano <toscano.pino@tiscali.it>
807
808 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
809
7ecdb005
RM
8102012-07-31 Roland McGrath <roland@hack.frob.com>
811
789bd351
RM
812 * include/sys/socket.h (__libc_accept, __libc_accept4):
813 Add attribute_hidden.
814 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
815
40ce302d
RM
816 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
817 use of PTR_MANGLE.
818 * inet/getnetgrent_r.c (setup): Likewise.
819
7ecdb005
RM
820 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
821
e2eabb2c
DM
8222012-07-31 David S. Miller <davem@davemloft.net>
823
824 * sysdeps/sparc/fpu/libm-test-ulps: Update.
825
d0419dbf
JM
8262012-07-31 Joseph Myers <joseph@codesourcery.com>
827
828 [BZ #13629]
829 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
830 value between 1.0 and 2.0 and smaller part has absolute value less
831 than 1.0.
832 * math/s_clog10.c (__clog10): Likewise.
833 * math/s_clog10f.c (__clog10f): Likewise.
834 * math/s_clog10l.c (__clog10l): Likewise.
835 * math/s_clogf.c (__clogf): Likewise.
836 * math/s_clogl.c (__clogl): Likewise.
837 * math/libm-test.inc (clog_test): Add more tests.
838 (clog10_test): Likewise.
839 * sysdeps/i386/fpu/libm-test-ulps: Update.
840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
841
2bc13872
FW
8422012-07-31 Florian Weimer <fweimer@redhat.com>
843
844 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
845 Exit with zero in case no suitable GID is found, and write a
846 message to standard error.
847
bea9b193
RM
8482012-07-30 Roland McGrath <roland@hack.frob.com>
849
850 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
851 rather than to 1.
852 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
853 (MAXPATHLEN): Removed.
854 (NOGROUP, NODEV): New macros.
855 (setbit, clrbit, isset, isclr): New macros.
856 (howmany, roundup, powerof2): New macros.
857 (DEV_BSIZE): New macro.
858
859 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
860 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
861
862 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
863 definition on [!__NO_LONG_DOUBLE_MATH].
864
865 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
866 PTR_MANGLE and PTR_DEMANGLE.
867
868 * socket/accept4.c (accept4): Rename to __libc_accept4.
869 Define accept4 as a weak alias.
870
871 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
872 on [_DIRENT_HAVE_D_TYPE].
873 * io/ftw.c (ftw_dir): Likewise.
874
875 * io/xmknod.c (__xmknod): Don't check PATH for being null.
876
877 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
878
879 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
880 Use the BSD numbers rather than the arbitrary ones we had.
881 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
882 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
883 (SIGXCPU, SIGXFSZ): New macros.
884 (_NSIG): Now 32.
885
886 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
887 initializer on [_LIBC_REENTRANT].
888
889 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
890 definitions inside [_POSIX_MAPPED_FILES].
891
892 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
893
894 * dirent/opendir.c: Include <fcntl.h>.
895
896 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
897 (__libc_getspecific): Likewise.
898 (__libc_key_create): Likewise.
899
900 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
901 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
902 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
903 (tmpfile64): Define as alias.
904 * sysdeps/wordsize-64/tmpfile.c: File removed.
905 * sysdeps/wordsize-64/tmpfile64.c: File removed.
906 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
907 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
908
909 * stdio-common/vfscanf.c: Include <stdbool.h>.
910 * nss/makedb.c: Likewise.
911 * stdio-common/_i18n_number.h: Likewise.
912 * argp/argp-help.c: Likewise.
913 * posix/wordexp.c: Likewise.
914 * sysdeps/posix/spawni.c: Likewise.
915 * nss/nss_files/files-initgroups.c: Likewise.
916 * stdio-common/reg-modifier.c: Include <stdlib.h>.
917 * nss/nss_files/files-initgroups.c: Likewise.
918 * nss/nss_db/db-netgrp.c: Likewise.
919 * nss/nss_db/db-initgroups.c: Likewise.
920 * io/fchmodat.c: Include <sys/stat.h>.
921
922 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
923 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
924
925 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
926 [HAVE_MMAP].
927
928 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
929 Add multiple inclusion protection.
930
e5abc686
DM
9312012-07-27 David S. Miller <davem@davemloft.net>
932
933 * sysdeps/sparc/fpu/libm-test-ulps: Update.
934
815e6fa3
GB
9352012-07-27 Gary Benson <gbenson@redhat.com>
936
937 [BZ #14298]
938 * elf/rtld.c: Include <stap-probe.h>.
939 (dl_main): Added static probes "init_start" and "init_complete".
940 * elf/dl-load.c: Include <stap-probe.h>.
941 (lose): Take new parameter "nsid".
942 Added static probe "map_failed".
943 (_dl_map_object_from_fd): Pass namespace id to lose.
944 Added static probe "map_start".
945 (open_verify): Pass namespace id to lose.
946 * elf/dl-open.c: Include <stap-probe.h>.
947 (dl_open_worker) Added static probes "map_complete", "reloc_start"
948 and "reloc_complete".
949 * elf/dl-close.c: Include <stap-probe.h>.
950 (_dl_close_worker): Added static probes "unmap_start" and
951 "unmap_complete".
952 * elf/rtld-debugger-interface.txt: New file documenting the above.
953
9f98c16c
RM
9542012-07-26 Roland McGrath <roland@hack.frob.com>
955
956 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
957 rather than a string variable.
958 * sunrpc/rpc_main.c (h_output): Likewise.
959 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
960
f3c22df3
PT
9612012-07-26 Pino Toscano <toscano.pino@tiscali.it>
962
963 * inet/check_native.c: New file.
964
3129cfc6
JM
9652012-07-26 Joseph Myers <joseph@codesourcery.com>
966
da865e95
JM
967 [BZ #13629]
968 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
969 if larger part has absolute value 1.0.
970 * math/s_clog10.c (__clog10): Likewise.
971 * math/s_clog10f.c (__clog10f): Likewise.
972 * math/s_clog10l.c (__clog10l): Likewise.
973 * math/s_clogf.c (__clogf): Likewise.
974 * math/s_clogl.c (__clogl): Likewise.
975 * math/libm-test.inc (clog_test): Add more tests.
976 (clog10_test): Likewise.
977 * sysdeps/i386/fpu/libm-test-ulps: Update.
978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
979
3129cfc6
JM
980 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
981 (pltexit): Likewise.
982 (La_regs): Likewise.
983 (La_retval): Likewise.
984 (int_retval): Likewise.
985 Update #error for removed macros to refer only to definitions in
986 tst-audit.h.
987 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
988 macro.
989 (pltexit): Likewise.
990 (La_regs): Likewise.
991 (La_retval): Likewise.
992 (int_retval): Likewise.
993 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
994 macro.
995 (pltexit): Likewise.
996 (La_regs): Likewise.
997 (La_retval): Likewise.
998 (int_retval): Likewise.
999 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
1000 macro.
1001 (pltexit): Likewise.
1002 (La_regs): Likewise.
1003 (La_retval): Likewise.
1004 (int_retval): Likewise.
1005 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
1006 macro.
1007 (pltexit): Likewise.
1008 (La_regs): Likewise.
1009 (La_retval): Likewise.
1010 (int_retval): Likewise.
1011 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
1012 macro.
1013 (pltexit): Likewise.
1014 (La_regs): Likewise.
1015 (La_retval): Likewise.
1016 (int_retval): Likewise.
1017 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
1018 macro.
1019 (pltexit): Likewise.
1020 (La_regs): Likewise.
1021 (La_retval): Likewise.
1022 (int_retval): Likewise.
1023 * sysdeps/generic/tst-audit.h: Update comment to refer only to
1024 macro definitions in tst-audit.h.
1025 * sysdeps/i386/tst-audit.h: New file.
1026 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
1027 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
1028 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
1029 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
1030 * sysdeps/sh/tst-audit.h: Likewise.
1031 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
1032 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
1033 * sysdeps/x86_64/tst-audit.h: Likewise.
1034
bfc07087
AJ
10352012-07-26 Andreas Jaeger <aj@suse.de>
1036
b1b2aaf8
AJ
1037 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
1038 ptrace.
1039
1040 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
1041 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
1042 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
1043 PTRACE_O_MASK.
1044 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
1045 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
1046 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
1047
bfc07087
AJ
1048 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
1049 value.
1050
1051 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
1052 _sigsys.
1053 (si_call_addr, si_syscall, si_arch): Define new macro.
1054 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
1055 _sigsys.
1056 (si_call_addr, si_syscall, si_arch): Define new marcro.
1057 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
1058 _sigsys.
1059 (si_call_addr, si_syscall, si_arch): Define new macro.
1060 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
1061 _sigsys.
1062 (si_call_addr, si_syscall, si_arch): Define new macro.
1063
89b4b02f
JM
10642012-07-25 Joseph Myers <joseph@codesourcery.com>
1065
1066 [BZ #13717]
1067 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1068 Change to 2.4.21 where previously 2.4.1.
1069 * sysdeps/unix/sysv/linux/configure: Regenerated.
1070 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
1071 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
1072 Linux kernel version.
1073 (__ASSUME_STD_AUXV): Remove.
1074 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
1075 kernel version.
1076 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
1077 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
1078 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
1079 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
1080 (__ASSUME_NETLINK_SUPPORT): Likewise.
1081 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
1082 (__no_netlink_support): Remove conditional definition.
1083 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
1084 Remove.
1085 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1086 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
1087 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
1088 (if_nameindex_ioctl): Remove.
1089 (if_nameindex_netlink): Do not handle __no_netlink_support.
1090 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1091 code.
1092 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
1093 Remove conditional code.
1094 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1095 code.
1096 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
1097 unconditional.
1098 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1099 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
1100 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
1101 Remove.
1102 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1103 [!__ASSUME_STD_AUXV]: Remove conditional code.
1104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
1105 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
1106 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
1107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
1108 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
1109 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1110 code.
1111 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1113 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
1114 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1115 conditional code.
1116 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1118 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1119 code.
1120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1121 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1122 conditional code.
1123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
1124 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1125 code unconditional.
1126 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1127 conditional code.
1128 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1129 unconditional.
1130 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1131 conditional code.
1132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1133 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1134 unconditional.
1135 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1136 conditional code.
1137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1138 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1139 code unconditional.
1140 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1141 conditional code.
1142 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1143 unconditional.
1144 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1145 conditional code.
1146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1147 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1148 code unconditional.
1149 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1150 conditional code.
1151 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1152 unconditional.
1153 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1154 conditional code.
1155
842a39cd
AS
11562012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1157
1158 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
1159 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
1160 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1161 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
1162 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1163 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1164 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1165 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1166 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1167 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1168 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
1169 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1170 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
1171 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1172 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1173 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
1174 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1175 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
1176 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
1177 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
1178 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1179 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1180 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1181
84b3fd84
FW
11822012-07-25 Florian Weimer <fweimer@redhat.com>
1183
1184 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
1185 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
1186 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
1187 Introduce __libc_secure_getenv.
0c7936d5
FW
1188 * stdlib/Versions (2.17): Add secure_getenv
1189 (GLIBC_PRIVATE): Add __libc_secure_getenv.
1190 * stdlib/secure-getenv.c: Rename __secure_getenv to
1191 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
1192 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
1193 * stdlib/tst-secure-getenv.c: New.
1194 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
1195 * manual/startup.texi (Environment Access): Document
1196 secure_getenv.
84b3fd84
FW
1197 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
1198 __libc_secure_getenv.
1199 * inet/ruserpass.c (ruserpass): Likewise.
1200 * malloc/mtrace.c (mtrace): Likewise.
1201 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 1202 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
1203 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
1204 * sysdeps/posix/tempname.c: Likewise. Evaluate
1205 HAVE_SECURE_GETENV.
1206 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 1207 __secure_getenv to __libc_secure_getenv.
84b3fd84 1208 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
1209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1210 Likewise.
1211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1212 Likewise.
1213 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1214 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1215 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1216 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1217 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1218 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1219 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 1220
56e49b71
JM
12212012-07-25 Joseph Myers <joseph@codesourcery.com>
1222
1223 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
1224 (struct La_i86_retval): Likewise.
1225 (struct La_x86_64_regs): Likewise.
1226 (struct La_x86_64_retval): Likewise.
1227 (struct La_x32_regs): Likewise.
1228 (struct La_x32_retval): Likewise.
1229 (struct La_ppc32_regs): Likewise.
1230 (struct La_ppc32_retval): Likewise.
1231 (struct La_ppc64_regs): Likewise.
1232 (struct La_ppc64_retval): Likewise.
1233 (struct La_sh_regs): Likewise.
1234 (struct La_sh_retval): Likewise.
1235 (struct La_s390_32_regs): Likewise.
1236 (struct La_s390_32_retval): Likewise.
1237 (struct La_s390_64_regs): Likewise.
1238 (struct La_s390_64_retval): Likewise.
1239 (struct La_sparc32_regs): Likewise.
1240 (struct La_sparc32_retval): Likewise.
1241 (struct La_sparc64_regs): Likewise.
1242 (struct La_sparc64_retval): Likewise.
1243 (struct audit_ifaces): Remove architecture-specific pltenter and
1244 pltexit members.
1245 * sysdeps/i386/ldsodefs.h: New file.
1246 * sysdeps/powerpc/ldsodefs.h: Likewise.
1247 * sysdeps/s390/ldsodefs.h: Likewise.
1248 * sysdeps/sh/ldsodefs.h: Likewise.
1249 * sysdeps/sparc/ldsodefs.h: Likewise.
1250 * sysdeps/x86_64/ldsodefs.h: Likewise.
1251
354691b7
MP
12522012-07-25 Marek Polacek <polacek@redhat.com>
1253
1254 [BZ #6808]
1255 * math/libm-test.inc (yn_test): Add another test.
1256 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
1257 to ERANGE when the result is +-Inf.
1258 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1259 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1260 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
1261 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
1262
bf9e2071
JM
12632012-07-24 Joseph Myers <joseph@codesourcery.com>
1264
1265 * conform/data/time.h-data (NULL): Use macro-constant. Require
1266 equal to 0.
1267 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
1268 clock_t.
1269 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
1270
57633811
TS
12712012-07-23 Thomas Schwinge <thomas@codesourcery.com>
1272
1273 * configure.in <sysdeps resolving>: Correct printing
1274 Implies_before.
1275 * configure: Regenerate.
1276
c23c33b0
TS
12772012-07-22 Thomas Schwinge <thomas@codesourcery.com>
1278
1279 * math/w_ilogb.c: Include <limits.h>.
1280 * math/w_ilogbl.c: Likewise.
1281
b5982523
JM
12822012-07-20 Joseph Myers <joseph@codesourcery.com>
1283
1284 * manual/lang.texi (__va_copy): Document primarily as ISO C99
1285 va_copy. Document allowing for unavailable va_copy only as
1286 pre-C99 compatibility.
1287 * manual/string.texi (Copying and Concatenation): Use va_copy
1288 instead of __va_copy in concat example.
1289
ac4ea442
PT
12902012-07-20 Pino Toscano <toscano.pino@tiscali.it>
1291
1292 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1293 (__sendto): Use create_address_port. Initialize APORT and deallocate
1294 it if not null.
1295
f98eafbd
PT
1296 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1297 with O_NOLINK passed to __file_name_lookup.
1298
898c7aab
PT
1299 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1300 with O_NOLINK passed to __file_name_lookup.
1301
0ced335a
PT
1302 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1303 negative N or less than NGIDS.
1304
b3404dbd
PT
1305 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1306 type to string_t. Set ERANGE as errno and return it if NAME is not big
1307 enough. Use memcpy instead of strncpy.
1308
0f48659e
JM
13092012-07-20 Joseph Myers <joseph@codesourcery.com>
1310
1311 * elf/Makefile (check-data): Remove.
1312 (localplt.data): New vpath directive.
1313 ($(objpfx)check-localplt.out): Use localplt.data from vpath
1314 instead of $(check-data).
1315 * scripts/data/localplt-generic.data: Move to ...
1316 * sysdeps/generic/localplt.data: ... here.
1317 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1318 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1319 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1321 ... here.
1322 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1324 ... here.
1325 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1326 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1327 ... here.
1328 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1329 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1330 ... here.
1331 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1332 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1333 ... here.
1334 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1335 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1336 ... here.
1337
d37cbdaa
AZ
13382012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1339
1340 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1341 PPC32 and PPC64 files.
1342 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1343 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1344
46f85fc2
AK
13452012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1346
1347 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1348 __makecontext_ret to ...
1349 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1350 ... here and call exit if uc_link is NULL. New file.
1351 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1352 __makecontext_ret.S.
1353 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1354 __makecontext_ret to ...
1355 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1356 ... here and call exit if uc_link is NULL. New file.
1357 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1358 __makecontext_ret.S.
1359
08f43f9b
AK
13602012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1361
1362 * elf/elf.h (R_390_IRELATIVE): New definition.
1363 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1364 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
1365 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1366 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1367 (elf_machine_lazy_rel): Likewise.
1368 * sysdeps/s390/dl-irel.h: New file.
1369 * sysdeps/s390/s390-64/memcpy.S: New asm code.
1370 * sysdeps/s390/s390-64/memset.S: New asm code.
1371 * sysdeps/s390/s390-64/memcmp.S: New asm code.
1372 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
1373 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
1374 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
1375 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
1376 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
1377 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
1378 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
1379 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
1380 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
1381 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
1382 * sysdeps/s390/s390-32/memcpy.S: New asm code.
1383 * sysdeps/s390/s390-32/memset.S: New asm code.
1384 * sysdeps/s390/s390-32/memcmp.S: New asm code.
1385
3b05db33
MP
13862012-07-17 Marek Polacek <polacek@redhat.com>
1387
1388 [BZ #14349]
1389 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
1390 * sysdeps/s390/s390-64/configure.in: Likewise.
1391 * sysdeps/sparc/configure.in: Likewise.
1392 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
1393 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
1394 * sysdeps/i386/configure.in: Likewise.
1395 * sysdeps/x86_64/configure.in: Likewise.
1396 * sysdeps/sh/configure.in: Likewise.
1397 * sysdeps/s390/s390-32/configure: Regenerated.
1398 * sysdeps/s390/s390-64/configure: Likewise.
1399 * sysdeps/x86_64/configure: Likewise.
1400 * sysdeps/sh/configure: Likewise.
1401 * sysdeps/powerpc/powerpc64/configure: Likewise.
1402 * sysdeps/powerpc/powerpc32/configure: Likewise.
1403 * sysdeps/sparc/configure: Likwise.
1404 * sysdeps/i386/configure: Likewise.
1405
a66877c6
MP
1406 * elf/dl-open.c: Comment fixes.
1407
cfc82fd8
JM
14082012-07-17 Joseph Myers <joseph@codesourcery.com>
1409
bd29910a
JM
1410 * Makefile [CXX] (check-data): Remove.
1411 [CXX] (c++-types.data): New vpath directive.
1412 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
1413 vpath. Do not allow for C++ type data being missing.
1414 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
1415 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
1416 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
1417 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
1418 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
1419 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
1420 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
1421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1422 ... here.
1423 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
1424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1425 ... here.
1426 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
1427 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
1428 ... here.
1429 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
1430 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
1431 ... here.
1432 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
1433 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
1434 ... here.
1435 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
1436 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
1437 ... here.
1438 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
1439 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
1440 ... here.
1441 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
1442 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
1443
cfc82fd8
JM
1444 * elf/tls-macros.h (TLS_LE): Move architecture-specific
1445 definitions to architecture-specific files.
1446 (TLS_IE): Likewise.
1447 (TLS_LD): Likewise.
1448 (TLS_GD): Likewise.
1449 * sysdeps/i386/tls-macros.h: New file.
1450 * sysdeps/powerpc/tls-macros.h: Likewise.
1451 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1452 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1453 * sysdeps/sh/tls-macros.h: Likewise.
1454 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
1455 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
1456 * sysdeps/x86_64/tls-macros.h: Likewise.
1457
f7db3170
TS
14582012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1459
07cbfc23
TS
1460 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
1461 zero value for regular exit case.
1462
f7db3170
TS
1463 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1464 (__start_context): Preserve zero value for regular exit case.
1465
dc97c227
TS
14662012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1467 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1468
1469 * manual/setjmp.texi (setcontext): Clarify normal process
1470 termination when uc_link is the null pointer.
1471 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
1472 exit call.
1473
d0cd7d02
AS
14742012-07-16 Andreas Schwab <schwab@linux-m68k.org>
1475
1476 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
1477 preprocessor. Test for each exception mask separately.
1478
dd318934
AJ
14792012-07-16 Andreas Jaeger <aj@suse.de>
1480
1481 * po/ru.po: Update from translation team.
1482
8048311a
JM
14832012-07-15 Joseph Myers <joseph@codesourcery.com>
1484
1485 * conform/data/string.h-data (NULL): Use macro-constant. Require
1486 equal to 0.
1487 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1488 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1489 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
1490 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
1491 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1492
b637d46e
AJ
14932012-07-13 Andreas Jaeger <aj@suse.de>
1494
1495 * po/fr.po: Update from translation team.
1496
541428fe
MP
14972012-07-12 Marek Polacek <polacek@redhat.com>
1498
1499 [BZ #14173]
1500 * math/libm-test.inc (yn_test): Add test for BZ #14173.
1501 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
1502 loop condition.
1503
ec332e94
JM
15042012-07-12 Joseph Myers <joseph@codesourcery.com>
1505
1506 [BZ #13717]
1507 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1508 Change to 2.4.1 where previously 2.4.0.
1509 * sysdeps/unix/sysv/linux/configure: Regenerated.
1510 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
1511 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
1512 version.
1513 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
1514 (__ASSUME_AT_CLKTCK): Remove.
1515 (__ASSUME_AT_PAGESIZE): Likewise.
1516 (__ASSUME_AT_XID): Likewise.
1517 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
1518 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
1519 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
1520 unconditionally.
1521 (HAVE_AUX_PAGESIZE): Likewise.
1522 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
1523 [__ASSUME_AT_CLKTCK]: Make code unconditional.
1524 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
1525
7b6e99be
JB
15262012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
1527
1528 [BZ #14307]
1529 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
1530 the temporary buffer used to invoke __gethostbyname2_r,
1531 __gethostbyaddr_r and gethostbyname4_r to make room for struct
1532 host_data / struct gaih_addrtuple.
1533 * resolv/nss_dns/dns-host.c (global scope): Move definition of
1534 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
1535 header file nss/nsswitch.h.
1536 * nss/nsswitch.h (global scope): Add definition of implementation
1537 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
1538 resolv/nss_dns/dns-host.c).
1539
608404eb
AJ
15402012-07-11 Andreas Jaeger <aj@suse.de>
1541
1542 * po/fr.po: Update from translation team.
1543
71220aca
AJ
1544 * po/sv.po: Update from translation team
1545 * po/fr.po: Another update from translation team.
1546
28cfe843
AZ
15472012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1548
1549 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
1550 for subnormals or multiply small sinh result by itself.
1551 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1552 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1553
6b90f981
DM
15542012-07-11 David S. Miller <davem@davemloft.net>
1555
1556 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1557
c6825772
AS
15582012-07-10 Andreas Schwab <schwab@linux-m68k.org>
1559
1560 [BZ #14347]
1561 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
1562 (INTERNAL_MARK): Shift it here.
1563
7b8e0d49
MP
15642012-07-10 Marek Polacek <polacek@redhat.com>
1565
1566 [BZ #14151]
1567 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
1568 libc_cv_asm_global_directive with .globl.
1569 * configure: Regenerated.
1570 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
1571 with .globl.
1572 * sysdeps/i386/configure: Regenerated.
1573 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
1574 with .globl.
1575 * sysdeps/x86_64/configure: Regenerated.
1576 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
1577 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
1578 * elf/tst-unique2mod2.c: Likewise.
1579 * elf/tst-unique2mod1.c: Likewise.
1580 * elf/tst-unique1mod2.c: Likewise.
1581 * elf/tst-unique1mod1.c: Likewise.
1582 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1583 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1584 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1585 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1586 * sysdeps/mach/sysdep.h: Likewise.
1587 * sysdeps/i386/sysdep.h: Likewise.
1588 * sysdeps/i386/i386-mcount.S: Likewise.
1589 * sysdeps/x86_64/_mcount.S: Likewise.
1590 * sysdeps/x86_64/sysdep.h: Likewise.
1591 * sysdeps/sh/_mcount.S: Likewise.
1592 * sysdeps/sh/sysdep.h: Likewise.
1593 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
1594 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
1595 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
1596 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1597 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
1598 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
1599 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
1600 * locale/localeinfo.h: Likewise.
1601 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
1602 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
1603
6c55cda3
RM
16042012-07-09 Roland McGrath <roland@hack.frob.com>
1605
1606 [BZ #14336]
1607 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
1608 system".
1609 * manual/message.texi (The Uniforum approach): Likewise.
1610 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
1611 (glibc iconv Implementation): Likewise.
1612
638a572e
JM
16132012-07-09 Joseph Myers <joseph@codesourcery.com>
1614
1615 [BZ #14337]
1616 * math/s_clog.c (__clog): Avoid scaling a value down where that
1617 could result in underflow.
1618 * math/s_clog10.c (__clog10): Likewise.
1619 * math/s_clog10f.c (__clog10f): Likewise.
1620 * math/s_clog10l.c (__clog10l): Likewise.
1621 * math/s_clogf.c (__clogf): Likewise.
1622 * math/s_clogl.c (__clogl): Likewise.
1623 * math/libm-test.inc (clog_test): Add more tests.
1624 (clog10_test): Likewise.
1625 * sysdeps/i386/fpu/libm-test-ulps: Update.
1626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1627
261f4859
AS
16282012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1629
0abaf3e4
AS
1630 [BZ #14283]
1631 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
1632 by 7 not 8 to examine high bit of fractional part.
1633
261f4859
AS
1634 [BZ #14042]
1635 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
1636 for call to __mcount_internal.
1637 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
1638 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
1639 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
1640
f17ac40d
JM
16412012-07-06 Joseph Myers <joseph@codesourcery.com>
1642
9ad63c23
JM
1643 [BZ #14154]
1644 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
1645 approximation for values within 0x1p-13f of an odd multiple of
1646 pi/4.
1647 * math/libm-test.inc (tan_test): Do not allow spurious underflow
1648 exception. Add more tests.
1649 * sysdeps/i386/fpu/libm-test-ulps: Update.
1650
f17ac40d
JM
1651 [BZ #6778]
1652 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
1653 inputs and return -1 for them. Do not check for +Inf in case not
1654 reachable for +Inf.
1655 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1656 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
1657 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1658 and return -1 for them. Do not check for +Inf in case not
1659 reachable for +Inf.
1660 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
1661 define.
1662 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1663 and return -1 for them. Do not check for +Inf in case not
1664 reachable for +Inf.
1665 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
1666 spurious underflow.
1667 * sysdeps/i386/fpu/libm-test-ulps: Update.
1668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1669
fb21f89b
MF
16702012-07-06 Mike Frysinger <vapier@gentoo.org>
1671
1672 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
1673
cdfe2c5e
JM
16742012-07-05 Joseph Myers <joseph@codesourcery.com>
1675
1676 [BZ #14157]
1677 [BZ #14331]
1678 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
1679 could result in spurious underflow. Scale down values above
1680 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
1681 * math/s_csqrtf.c (__csqrtf): Likewise.
1682 * math/s_csqrtl.c (__csqrtl): Likewise.
1683 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
1684 spurious underflow.
1685 * sysdeps/i386/fpu/libm-test-ulps: Update.
1686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1687
70d35b67
AS
16882012-07-04 Andreas Schwab <schwab@linux-m68k.org>
1689
704bc459
AS
1690 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
1691 xopen-msg.sed.
1692 * catgets/xopen-msg.awk: New file.
1693 * catgets/xopen-msg.sed: Removed.
1694
70d35b67
AS
1695 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
1696 po2text.sed.
1697 * intl/po2test.awk: New file.
1698 * intl/po2test.sed: Removed.
1699
ca61cf32
JM
17002012-07-04 Joseph Myers <joseph@codesourcery.com>
1701
1702 [BZ #14328]
1703 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
1704 or multiply small sinh result by itself.
1705 * math/s_ctanf.c (__ctanf): Likewise.
1706 * math/s_ctanh.c (__ctanh): Likewise.
1707 * math/s_ctanhf.c (__ctanhf): Likewise.
1708 * math/s_ctanhl.c (__ctanhl): Likewise.
1709 * math/s_ctanl.c (__ctanl): Likewise.
1710 * math/libm-test.inc (ctan_test_tonearest): New function.
1711 (ctan_test_towardzero): Likewise.
1712 (ctan_test_downward): Likewise.
1713 (ctan_test_upward): Likewise.
1714 (ctanh_test_tonearest): Likewise.
1715 (ctanh_test_towardzero): Likewise.
1716 (ctanh_test_downward): Likewise.
1717 (ctanh_test_upward): Likewise.
1718 (main): Call these new functions.
1719 * sysdeps/i386/fpu/libm-test-ulps: Update.
1720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1721
ca48a46a
MF
17222012-07-03 Mike Frysinger <vapier@gentoo.org>
1723
1724 * .gitignore: Delete /ports entry.
1725
9d63d37d
AJ
17262012-07-03 Andreas Jaeger <aj@suse.de>
1727
1728 * po/bg.po: Update from translation team.
1729 * po/cs.po: Likewise.
1730 * po/de.po: Likewise.
1731 * po/hr.po: Likewise.
1732 * po/nl.pl: Likewise.
1733 * po/pl.po: Likewise.
1734 * po/vi.po: Likewise.
1735
370ca3d2
JM
17362012-07-03 Joseph Myers <joseph@codesourcery.com>
1737
95f5a9a8
JM
1738 * Makeconfig [!+link] (+link-before-libc): New variable.
1739 [!+link] (+link-after-libc): Likewise.
1740 [!+link] (+link-tests): Likewise.
1741 [!+link] (+link): Define in terms of $(+link-before-libc) and
1742 $(+link-after-libc).
1743 [!+link-static] (+link-static-before-libc): New variable.
1744 [!+link-static] (+link-static-after-libc): Likewise.
1745 [!+link-static] (+link-static-tests): Likewise.
1746 [!+link-static] (+link-static): Define in terms of
1747 $(+link-static-before-libc) and $(+link-static-after-libc).
1748 [build-shared] (link-libc-before-gnulib): New variable.
1749 [build-shared] (link-libc-tests): Likewise.
1750 [build-shared] (link-libc): Define in terms of
1751 $(link-libc-before-gnulib).
1752 [!build-shared] (link-libc-tests): New variable.
1753 (link-libc-static-tests): New variable.
1754 [!gnulib] (gnulib-arch): New variable.
1755 [!gnulib] (gnulib-tests): Likewise.
1756 [!gnulib] (static-gnulib-arch): Likewise.
1757 [!gnulib] (static-gnulib-tests): Likewise.
1758 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
1759 Define with "=" instead of ":=".
1760 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
1761 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
1762 * Rules (binaries-all-notests): New variable.
1763 (binaries-all-tests): Likewise.
1764 (binaries-static-notests): Likewise.
1765 (binaries-static-tests): Likewise.
1766 (binaries-all): Define using $(binaries-all-notests) and
1767 $(binaries-all-tests).
1768 (binaries-static): Define using $(binaries-static-notests) and
1769 $(binaries-static-tests).
1770 (binaries-shared-tests): New variable.
1771 (binaries-shared-notests): Likewise.
1772 (binaries-shared): Remove variable.
1773 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
1774 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
1775 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
1776 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
1777 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
1778 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
1779 * elf/Makefile (sln-modules): New variable.
1780 (extra-objs): Add $(sln-modules:=.o).
1781 (ldconfig-modules): Add static-stubs.
1782 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
1783 * elf/static-stubs.c: New file.
1784
7a845b2c
JM
1785 [BZ #14283]
1786 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
1787 by 7 not 8 to examine high bit of fractional part. Use volatile
1788 variables when splitting into final array of floats if
1789 __FLT_EVAL_METHOD__ != 0.
1790 * math/libm-test.inc (cos_test): Add another test.
1791 (sin_test): Likewise.
1792 * sysdeps/i386/fpu/libm-test-ulps: Update.
1793
e2283f38
JM
1794 [BZ #14273]
1795 * math/libm-test.inc (cosh_test): Add more tests.
1796
370ca3d2
JM
1797 * version.h (RELEASE): Set to "development".
1798 (VERSION): Set to "2.16.90".
1799
ee9247c3
CD
18002012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
1801
1802 * NEWS: Update copyright. Remove last-updated date.
1803 Mention math library bug fixes and timezone data changes.
1804 * README: Mention GNU/Hurd, x32, and HPPA support status.
1805
4648c381
TS
18062012-06-28 Thomas Schwinge <thomas@codesourcery.com>
1807
1808 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
1809
aac78a43
AJ
18102012-06-27 Andreas Jaeger <aj@suse.de>
1811
1812 * manual/contrib.texi (Contributors): Add Samuel Thibault.
1813
ed3dbfad
AJ
18142012-06-25 Andreas Jaeger <aj@suse.de>
1815
1816 * sysdeps/s390/fpu/libm-test-ulps: Update.
1817
4d0ee855
AS
18182012-06-23 Andreas Schwab <schwab@linux-m68k.org>
1819 Thomas Schwinge <thomas@codesourcery.com>
1820
1821 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
1822 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
1823 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
1824 fanotify_mark.
1825
af1bce34
TS
18262012-06-23 Thomas Schwinge <thomas@codesourcery.com>
1827
a9fa33ba
TS
1828 * sysdeps/mach/start.c: Remove file.
1829 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
1830 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
1831 * sysdeps/sh/init-first.c: Likewise.
1832
58f902b8
TS
1833 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
1834 registers for frame unwinding purposes, add CFI directives.
1835 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1836 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
1837 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1838 Likewise.
1839
1518f58b
TS
1840 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
1841 __fortify_fail returning.
1842 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1843
db9b5059
TS
1844 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
1845 sysdeps/sh/____longjmp_chk.S.
1846 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
1847 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
1848 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
1849 (gen-as-const-headers): Append sigaltstack-offsets.sym.
1850
967705fe
TS
1851 * sysdeps/sh/abort-instr.h: New file.
1852 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
1853 process in case exit returns.
1854
a9def8c4
TS
1855 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
1856 initialize the GOT register before use.
1857
2a649725
TS
1858 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
1859 calculation of ARGC > 4.
1860
af1bce34
TS
1861 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
1862 meaningful names to some local labels.
1863
d230f50a
KK
18642012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1865 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1866
1867 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
1868 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
1869 (__arch_compare_and_exchange_val_16_acq): Likewise.
1870 (__arch_compare_and_exchange_val_32_acq): Likewise.
1871 (atomic_exchange_and_add): Fix gUSA sequence.
1872 (atomic_add): Likewise.
1873 (atomic_add_negative): Likewise.
1874 (atomic_add_zero): Likewise.
1875 (atomic_bit_test_set): Likewise.
1876
0479b305
AS
18772012-06-22 Andreas Schwab <schwab@redhat.com>
1878
1879 [BZ #13579]
1880 * include/link.h (struct link_map): Add l_free_initfini.
1881 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
1882 l_initfini.
1883 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
1884 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
1885 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
1886 set.
1887
0e3933b9
CD
18882012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
1889
1890 * configure.in: Use AC_LANG_SOURCE.
1891 * configure: Regenerate.
1892
4248b1b1
RM
18932012-06-22 Roland McGrath <roland@hack.frob.com>
1894
1895 * configure.in (libc_cv_localstatedir): New substituted variable.
1896 * configure: Regenerated.
1897 * config.make.in (localstatedir): New variable, substituted from
1898 libc_cv_localstatedir.
1899 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
1900 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
1901 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
1902 * sysdeps/gnu/configure: Regenerated.
1903
006dd861
JL
19042012-06-21 Jeff Law <law@redhat.com>
1905
1906 [BZ #14277]
1907 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
1908 free. Simplify list management for _LIBC case.
1909
79662d42
JM
19102012-06-21 Joseph Myers <joseph@codesourcery.com>
1911
b7abb4bf
JM
1912 [BZ #14273]
1913 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1914 Clear sign bit of 64-bit integer value before comparing against
1915 overflow value.
1916
79662d42
JM
1917 * sysdeps/mach/configure: Regenerated.
1918
1f150908
L
19192012-06-21 H.J. Lu <hongjiu.lu@intel.com>
1920
1921 [BZ #14278]
1922 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
1923
28363bbf
JL
19242012-06-21 Jeff Law <law@redhat.com>
1925
1926 [BZ #13882]
1927 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
1928 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 1929 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
1930 * elf/dl-open.c (dl_open_worker): Likewise.
1931
09615db4
CD
19322012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
1933
1934 * scripts/list-sources.sh: Scan PORTS for translations.
1935 * po/libc.pot: Regenerated.
1936
2174c6dd
AJ
19372012-06-21 Andreas Jaeger <aj@suse.de>
1938
1939 [BZ #12194]
1940 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
1941 warning.
1942 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
1943 * bits/byteswap-16.h (__bswap_16): Likewise.
1944 * bits/byteswap.h (__bswap_constant_16): Likewise.
1945
3ee947b1
L
19462012-06-18 H.J. Lu <hongjiu.lu@intel.com>
1947
1948 [BZ #14117]
a2f34833
L
1949 * sysdeps/i386/fpu_control.h: Removed.
1950 * sysdeps/x86_64/fpu_control.h: Moved to ...
1951 * sysdeps/x86/fpu_control.h: Here.
1952
3ee947b1
L
1953 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
1954 (_FPU_SETCW): Likewise.
1955
ed1825f8
L
19562012-06-15 H.J. Lu <hongjiu.lu@intel.com>
1957
25f1282a
L
1958 [BZ #14117]
1959 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
1960 * sysdeps/x86/fpu/bits/mathinline.h: This.
1961 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
1962
ed1825f8
L
1963 [BZ #14050]
1964 [BZ #14117]
1965 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
1966 functions if __x86_64__ is defined.
1967
36d54b74
CLT
19682012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
1969
1970 * string/endian.h: Add !__ASSEMBLER__ condition for including
1971 conversion interfaces.
1972
10285c21
JM
19732012-06-15 Joseph Myers <joseph@codesourcery.com>
1974
1975 [BZ #14241]
1976 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
1977 of ABS(x) in calculating zero to negative powers other than odd
1978 integers.
1979 * math/libm-test.inc (pow_test): Add more tests.
1980
06c5abbd
AJ
19812012-06-15 Andreas Jaeger <aj@suse.de>
1982
1983 * manual/contrib.texi (Contributors): Update entry of Liubov
1984 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
1985 Machado Filho.
1986
a3aeac40
CH
19872012-06-15 Cyril Hrubis <metan@ucw.cz>
1988
1989 * string/string.h: Add __wur to GNU version of strerror_r.
1990
49bdf4c1
L
19912012-06-14 H.J. Lu <hongjiu.lu@intel.com>
1992
1993 [BZ #14229]
1994 * string/Makefile (tests): Add tst-strtok_r.
1995 * string/tst-strtok_r.c: New file.
1996 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
1997 RAX_LP/RDX_LP on SAVE_PTR.
1998
834f9b8d
RM
19992012-06-14 Roland McGrath <roland@hack.frob.com>
2000
2001 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
2002
75fa1921
JM
20032012-06-14 Joseph Myers <joseph@codesourcery.com>
2004
2005 * libm_test.inc (csqrt_test): Allow more spurious underflow
2006 exceptions.
2007 (j0_test): Likewise.
2008 (j1_test): Likewise.
2009 (y0_test): Likewise.
2010 (y1_test): Likewise.
2011
771766df
CD
20122012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
2013
2014 * po/Makefile (libc.pot): Use UTF-8 charset.
2015
ceb9e56b
PP
20162012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2017
2018 [BZ #14210]
2019 Suppress sign-conversion warning from FD_SET.
2020 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
2021 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
2022 not unsigned long int.
2023 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2024
ddb28975
L
20252012-06-12 H.J. Lu <hongjiu.lu@intel.com>
2026
2027 [BZ #14050]
2028 [BZ #14117]
2029 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
2030 __extern_always_inline instead of __extern_inline.
2031 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
2032 (__signbit): Likewise.
2033 (__signbitl): Support C++ namespace.
2034 (lrintf): New inline function.
2035 (lrint): Likewise.
2036 (llrintf): Likewise.
2037 (llrint): Likewise.
2038 (fmaxf): Likewise.
2039 (fmax): Likewise.
2040 (fminf): Likewise.
2041 (fmin): Likewise.
2042 (rint): Likewise.
2043 (rintf): Likewise.
2044 (ceil): Likewise.
2045 (ceilf): Likewise.
2046 (floor): Likewise.
2047 (floorf): Likewise.
2048 (nearbyint): Likewise.
2049 (nearbyintf): Likewise.
2050
d7b4fb26
TS
20512012-06-12 Thomas Schwinge <thomas@codesourcery.com>
2052
2053 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
2054 non-default versions.
2055
eb55f5c2
RM
20562012-06-11 Roland McGrath <roland@hack.frob.com>
2057
2058 [BZ #14218]
2059 * manual/argp.texi (Argp): Reword argp_parse description slightly.
2060
366af02c
TS
20612012-06-09 Thomas Schwinge <thomas@codesourcery.com>
2062
99ff6e5c
TS
2063 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
2064 (FE_UPWARD, FE_DOWNWARD): Don't define.
2065 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
2066 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2067
366af02c
TS
2068 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
2069 reading it.
2070 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2071 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2072
793ea851
KK
20732012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2074
2075 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2076 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
2077 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
2078 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
2079
a728a38f
L
20802012-06-06 H.J. Lu <hongjiu.lu@intel.com>
2081
2082 [BZ #14117]
c08010c7
L
2083 * sysdeps/i386/fpu/bits/fenv.h: Removed.
2084 * sysdeps/i386/fpu/Implies: New file.
2085 * sysdeps/x86_64/fpu/Implies: Likewise.
2086 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
2087 * sysdeps/x86/fpu/bits/fenv.h: This.
2088
a728a38f
L
2089 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
2090 __SSE_MATH__.
2091
6e230d11
SP
20922012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2093
2094 [BZ #14134]
2095 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
2096 character 0xffff that matches the last element of the
2097 conversion table.
2098
1b671feb
AZ
20992012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2100
2101 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
2102 fmodl commit.
2103
6043738b
AZ
21042012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2105
2106 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
2107 values higher than 25.6283.
2108
34ae0b32
AZ
21092012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2110
2111 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
2112 subnormal exponent extraction and add some __builtin_expect.
2113 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
2114 Fix for subnormal mantissa calculation.
2115
1214ec8f
MF
21162012-06-04 Mike Frysinger <vapier@gentoo.org>
2117
2118 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
2119 cpu2 is -1 and errno is not ENOSYS.
2120
f3d1f93c
L
21212012-06-04 H.J. Lu <hongjiu.lu@intel.com>
2122
2123 [BZ #14117]
0e4a3cd7
L
2124 * sysdeps/i386/i486/bits/string.h: Renamed to ...
2125 * sysdeps/x86/bits/string.h: This.
2126 * sysdeps/x86_64/bits/string.h: Removed.
2127
6704c645
L
2128 * sysdeps/i386/i486/bits/string.h: Define inline functions only
2129 if not compiling for x86-64, but compiling for >= i486.
2130
48495318
L
2131 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
2132 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
2133
14adcbfc
L
2134 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
2135 New macro from Linux kernel 3.4.0.
2136 (FP_XSTATE_MAGIC2): Likewise.
2137 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2138 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
2139 (struct _fpx_sw_bytes): New struct.
2140 (struct _xsave_hdr): Likewise.
2141 (struct _ymmh_state): Likewise.
2142 (struct _xstate): Likewise.
2143
68e408ab
L
2144 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
2145 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
2146 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
2147 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
2148 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
2149 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
2150
f3d1f93c
L
2151 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
2152 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
2153 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
2154 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
2155 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
2156 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
2157
d9dc34cd
TMQMF
21582012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2159
2160 [BZ #13743]
2161 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
2162 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
2163 (sysdep_headers): Include sys/platform/ppc.h.
2164 * sysdeps/powerpc/test-gettimebase.c: Test for
2165 __ppc_get_timebase() to catch future ISA opcode/insn changes.
2166 * manual/Makefile (appendices): Include platform.texi.
2167 * manual/contrib.texi (Contributors): Update @node pointers.
2168 * manual/maint.texi (Maintenance): Likewise.
2169 (Platform): New node.
2170 * manual/platform.texi: New file. Document the new features.
2171
4af3879c
SP
21722012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2173 Jakub Jelinek <jakub@redhat.com>
2174
2175 [BZ #14188]
2176 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
2177 where __builtin_expect is unavailable.
2178
2fd6ff13
DM
21792012-06-03 David S. Miller <davem@davemloft.net>
2180
2181 * stdlib/longlong.h: Updated from GCC.
2182
173f7220
AS
21832012-06-02 Andreas Schwab <schwab@linux-m68k.org>
2184
2185 [BZ #14042]
2186 * sysdeps/powerpc/powerpc32/mcount.c: New file.
2187 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
2188 __mcount_internal.
2189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2190 (GLIBC_2.16): Likewise.
2191
f34a1c6f
L
21922012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2193
2194 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
2195
88a4576f
JM
21962012-06-01 Joseph Myers <joseph@codesourcery.com>
2197
ea32bcdd
JM
2198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2199 (default-abi): New variable.
2200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
2201 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
2202 variable.
2203 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
2204 Likewise.
2205 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
2206 Likewise.
2207 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
2208 Likewise.
2209
88a4576f
JM
2210 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
2211 definition. Document in comment.
2212
402fe938
DM
22132012-06-01 David S. Miller <davem@davemloft.net>
2214
2215 * stdlib/longlong.h: Updated from GCC.
2216
3553723f
L
22172012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2218
2219 [BZ #14117]
3bd872c4
L
2220 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
2221 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
2222 sys/debugreg.h sys/io.h here.
2223 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
2224 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
2225 sys/io.h.
2226 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
2227 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
2228 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
2229 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
2230 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
2231 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
2232
3553723f
L
2233 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
2234 Define only if __x86_64__ is defined.
2235
4842e4fe
JM
22362012-06-01 Joseph Myers <joseph@codesourcery.com>
2237
c5bfe3d5
JM
2238 [BZ #14048]
2239 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
2240 Use int64_t for variable i.
2241 * math/libm-test.inc (fmod_test): Add more tests.
2242
4842e4fe
JM
2243 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
2244 z computation is not scheduled after fetestexcept.
2245 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
2246 Use math_force_eval instead of asm to ensure calculation scheduled
2247 before exception test.
2248 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
2249 Ensure a1 + u.d computation is not scheduled after fetestexcept.
2250
efb73488
AJ
22512012-06-01 Aurelien Jarno <aurelien@aurel32.net>
2252
2253 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
2254 computation is not scheduled after fetestexcept.
2255
29bcce7c
L
22562012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2257
2258 [BZ #14117]
2259 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
2260 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
2261
73a68f94
AZ
22622012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2263
2264 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
2265 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2266
67b6df78
L
22672012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2268
edf2933a 2269 [BZ #14117]
ebc64a18
L
2270 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
2271 <bits/wordsize.h>.
2272 (__WCHAR_MIN): Support __WORDSIZE == 64.
2273 (__WCHAR_MAX): Likewise.
2274
edf2933a
L
2275 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
2276 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2277
57c6cf40
L
2278 [BZ #14183]
2279 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2280 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2281
67b6df78 2282 [BZ #14117]
8eb6281e
L
2283 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2284 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2285
aac639f4
L
2286 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2287 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2288
67b6df78
L
2289 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2290 Defined to 1 if __x86_64__ isn't defined.
2291 (_STAT_VER_LINUX_OLD): New.
2292 (st_atime): Remove duplicate.
2293 (st_mtime): Likewise.
2294 (st_ctime): Likewise.
2295
1c2cfe81
DM
22962012-05-31 David S. Miller <davem@davemloft.net>
2297
2298 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2299 entries.
2300
5be8418c
AS
23012012-06-01 Andreas Schwab <schwab@linux-m68k.org>
2302
e7725326
AS
2303 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2304 gen-libm-test.pl.
2305
5be8418c
AS
2306 [BZ #14132]
2307 * elf/dl-reloc.c: Include <_itoa.h>.
2308 (_dl_reloc_bad_type): Remove use of INTUSE.
2309 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2310 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2311 * stdio-common/psiginfo.c (psiginfo): Likewise.
2312 * stdio-common/psignal.c (psignal): Likewise.
2313 * string/strsignal.c (strsignal): Likewise.
2314 * include/signal.h (_sys_siglist): Declare hidden proto.
2315 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
2316 INTVARDEF with libc_hidden_data_def.
2317 * stdio-common/itoa-udigits.c: Likewise.
2318 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2319 (_itoa_lower_digits_internal): Remove declaration.
2320 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2321 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2322 (_sys_sigabbrev_internal): Remove aliases.
2323 (_sys_siglist): Define hidden alias.
2324
507352f1
MT
23252012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
2326
2327 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2328 bits/sysctl.h.
2329
42bbb1c3
L
23302012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2331
2332 [BZ #14117]
6bd784b6
L
2333 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2334 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2335
8bca20f0
L
2336 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2337 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2338 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2339 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2340 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2341 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2342
f9e890a9
L
2343 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2344 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2345 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2346
471101a1
L
2347 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2348 with __addr.
2349 (insw): Likewise.
2350 (insl): Likewise.
2351 (outsb): Likewise.
2352 (outsw): Likewise.
2353 (outsl): Likewise.
2354
6451c862
L
2355 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2356 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2357 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2358
a254b8c9
L
2359 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2360 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2361 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2362 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2363 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2364 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2365
b8dfdd92
L
2366 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2367 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2368
578cd270
L
2369 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
2370 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
2371
de662f5f
L
2372 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
2373 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
2374 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
2375
25653439
L
2376 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
2377 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
2378 to ...
2379 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
2380
6bad24a0
L
2381 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
2382 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
2383 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
2384
42bbb1c3
L
2385 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
2386 for x86-64.
2387 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2388
2d10d547
JM
23892012-05-31 Joseph Myers <joseph@codesourcery.com>
2390
2391 * math/math.h (M_El): Use two more decimal places.
2392 (M_LOG2El): Likewise.
2393 (M_LOG10El): Likewise.
2394 (M_LN2l): Likewise.
2395 (M_LN10l): Likewise.
2396 (M_PIl): Likewise.
2397 (M_PI_2l): Likewise.
2398 (M_PI_4l): Likewise.
2399 (M_1_PIl): Likewise.
2400 (M_2_PIl): Likewise.
2401 (M_2_SQRTPIl): Likewise.
2402 (M_SQRT2l): Likewise.
2403 (M_SQRT1_2l): Likewise.
2404
f230c29b
DM
24052012-05-31 David S. Miller <davem@davemloft.net>
2406
2407 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
2408 values between float registers.
2409 * sysdeps/sparc/sparc64/memset.S: Likewise.
2410 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2411
fed806c3
MF
24122012-05-31 Mike Frysinger <vapier@gentoo.org>
2413
2414 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
2415 -D_FORTIFY_SOURCE=1.
2416 (CPPFLAGS-tst-longjmp_chk.c): Define.
2417 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
2418 (CPPFLAGS-tst-longjmp_chk2.c): Define.
2419 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
2420 CFLAGS-tst-wchar-h.c.
2421
30917259
MP
24222012-05-31 Marek Polacek <polacek@redhat.com>
2423
2424 [BZ #14132]
2425 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
2426 __endmntent_internal): Remove declaration.
2427 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
2428 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
2429 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
2430
1c58d5dc
DM
24312012-05-30 David S. Miller <davem@davemloft.net>
2432
2433 * sysdeps/sparc/sparc32/soft-fp/q_util.c
2434 (___Q_simulate_exceptions): Use real FP ops rather than writing
2435 into the %fsr.
2436 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
2437 Likewise.
2438
7dc00e0d
L
24392012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2440
2441 [BZ #14117]
0bd53985
L
2442 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
2443 * sysdeps/x86/bits/xtitypes.h: This.
2444
3a257e66
L
2445 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
2446 * sysdeps/x86/bits/wordsize.h: This.
2447
62f62904
L
2448 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
2449 * sysdeps/x86/bits/huge_vall.h: This.
2450
404fe9d9
L
2451 * sysdeps/i386/bits/select.h: Removed.
2452 * sysdeps/x86_64/bits/select.h: Renamed to ...
2453 * sysdeps/x86/bits/select.h: This.
2454
d48d0446
L
2455 * sysdeps/i386/bits/setjmp.h: Removed.
2456 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
2457 * sysdeps/x86/bits/setjmp.h: This.
2458
7dc00e0d
L
2459 * sysdeps/i386/bits/mathdef.h: Removed.
2460 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
2461 * sysdeps/x86/bits/mathdef.h: This.
2462
03277f8f
AS
24632012-05-30 Andreas Schwab <schwab@linux-m68k.org>
2464
2465 [BZ #14132]
2466 * include/sys/socket.h (__connect_internal)
2467 (__libc_sa_len_internal): Remove declaration.
2468 (__connect, __libc_sa_len): Declare hidden_proto.
2469 (SA_LEN): Remove use of INTUSE.
2470 * socket/connect.c: Add libc_hidden_def.
2471 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
2472 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
2473 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
2474 alias.
2475 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2476 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2477 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
2478 of adding _internal alias.
2479
13764867
L
24802012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2481
2482 [BZ #14117]
6bd97696
L
2483 * sysdeps/i386/bits/link.h: Removed.
2484 * sysdeps/i386/bits/linkmap.h: Likewise.
2485 * sysdeps/x86_64/bits/link.h: Renamed to ...
2486 * sysdeps/x86/bits/link.h: This.
2487 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
2488 * sysdeps/x86/bits/linkmap.h: This.
2489
f726f0bb
L
2490 * sysdeps/i386/bits/endian.h: Removed.
2491 * sysdeps/x86_64/bits/endian.h: Renamed to ...
2492 * sysdeps/x86/bits/endian.h: This.
2493
13764867
L
2494 * sysdeps/i386/bits/byteswap.h: Removed.
2495 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2496 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
2497 * sysdeps/x86/bits/byteswap.h: This.
2498 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
2499 * sysdeps/x86/bits/byteswap-16.h: This.
2500 * sysdeps/i386/Implies: Add x86.
2501 * sysdeps/x86_64/Implies: Likewise.
2502
ae251b0b
DM
25032012-05-30 David S. Miller <davem@davemloft.net>
2504
2505 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
2506 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
2507 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2508 (FP_TRAPPING_EXCEPTIONS): Define.
2509 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2510 (FP_TRAPPING_EXCEPTIONS): Define.
2511 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
2512 subnormals only when inexact has been signalled or underflow
2513 exceptions are enabled.
2514 (_FP_PACK_CANONICAL): Likewise.
2515
d5c90867
L
25162012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2517
2518 [BZ #14183]
2519 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
2520 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
2521
63f1549e
RH
25222012-05-30 Richard Henderson <rth@twiddle.net>
2523
8d8f2279
RH
2524 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
2525 with #ifndef NOT_IN_libc.
2526
63f1549e
RH
2527 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
2528 marked to avoid plt entry.
2529
0ab0291b
L
25302012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2531
2532 [BZ #14112]
2533 * Makeconfig (default-abi): New macro.
2534 (abi-includes): Likewise.
2535 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
2536 $(abi-$(default-abi)-lib-soname) for soname if defined.
2537 ($(common-objpfx)gnu/lib-names.stmp): Generate from
2538 abi-variants.
2539 * Makefile (installed-stubs): Likewise.
2540 * include/stubs-biarch.h: Removed.
2541 * scripts/lib-names.awk: Only handle one library at a time.
2542 * scripts/soversions.awk: Remove WORDSIZE support.
2543 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
2544 entries.
2545 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
2546 Removed.
2547 (syscall-list-default-condition): Likewise.
2548 (syscall-list-default-condition): Likewise.
2549 (syscall-list-includes): Likewise.
2550 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
2551 syscall-list-* with abi-*. Handle undefined abi-variants.
2552 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
2553 * sysdeps/unix/sysv/linux/i386/Implies: New file.
2554 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
2555 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
2556 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
2557 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
2558 Removed.
2559 (syscall-list-32-options): Likewise.
2560 (syscall-list-32-condition): Likewise.
2561 (syscall-list-64-options): Likewise.
2562 (syscall-list-64-condition): Likewise.
2563 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
2564 macro.
2565 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
2566 Renamed to ...
2567 (abi-*): This.
2568 (abi-64-ld-soname): New macro.
2569 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
2570 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
2571 Renamed to ...
2572 (abi-*): This.
2573 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
2574 * sysdeps/x86_64/x32/shlib-versions: Likewise.
2575
4da0431d
JM
25762012-05-30 Joseph Myers <joseph@codesourcery.com>
2577
3a85279c
JM
2578 * sysdeps/unix/sysv/linux/kernel-features.h
2579 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
2580 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
2581 include <kernel-features.h>.
2582 [!__NR_ftruncate64]: Remove conditional code.
2583 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2584 [__NR_ftruncate64]: Make code unconditional.
2585 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2586 * sysdeps/unix/sysv/linux/truncate64.c: Do not
2587 include <kernel-features.h>.
2588 [!__NR_ftruncate64]: Remove conditional code.
2589 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2590 [__NR_ftruncate64]: Make code unconditional.
2591 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
2593 include <kernel-features.h>.
2594 [!__NR_ftruncate64]: Remove conditional code.
2595 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2596 [__NR_ftruncate64]: Make code unconditional.
2597 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2599 include <kernel-features.h>.
2600 [!__NR_ftruncate64]: Remove conditional code.
2601 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2602 [__NR_ftruncate64]: Make code unconditional.
2603 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2604
4da0431d
JM
2605 * configure.in (libc_cv_fpie): Weaken to a compile test using
2606 LIBC_TRY_CC_OPTION.
2607 * configure: Regenerated.
2608
11ef492c
AK
26092012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2610
2611 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
2612 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
2613 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
2614 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2615 Refreshed.
2616 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
2617 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
2618 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
2619 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
2620 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
2621 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2622 Refreshed.
2623
d66ef399
DM
26242012-05-27 David S. Miller <davem@davemloft.net>
2625
2626 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
2627 (___Q_zero): New.
2628 (__Q_simulate_exceptions): Return void. Change to simulate
2629 exceptions by writing into the %fsr.
2630 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
2631 (__Qp_handle_exceptions): Likewise.
2632 (numbers): Delete.
2633 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
2634 __Qp_handle_exceptions.
2635 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
2636 __Qp_handle_exceptions.
2637 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2638 as unused and give dummy FP_RND_NEAREST initializer.
2639 (FP_INHIBIT_RESULTS): Define.
2640 (___Q_simulate_exceptions): Update declaration.
2641 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
2642 formatting.
2643 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2644 as unused and give dummy FP_RND_NEAREST initializer.
2645 (__Qp_handle_exceptions): Update declaration.
2646 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
2647 formatting.
2648
04fb54b5
TS
26492012-05-27 Thomas Schwinge <thomas@codesourcery.com>
2650
2651 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
2652 the temporary FPU control word.
2653 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2654 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
2655 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2656 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2657 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2658 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2659 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2660 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2661 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2662 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2663 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2664
3f99608f
KK
26652012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2666
2667 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
2668 fields.
2669
65a4de4e
CLT
26702012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
2671
2672 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
2673 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
2674 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
2675 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
2676 Likewise.
2677 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
2678 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
2679 Likewise.
2680
15749d40
UD
26812012-05-27 Ulrich Drepper <drepper@gmail.com>
2682
2683 * po/h.po: Update from translation team.
2684
25dbcb27
AS
26852012-05-26 Andreas Schwab <schwab@linux-m68k.org>
2686
3d3f8e55
AS
2687 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
2688
25dbcb27
AS
2689 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
2690 handling of denormals.
2691 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2692 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2693 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2694 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2695 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2696 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
2697 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
2698 Likewise.
2699
7ad47a80 27002012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
2701
2702 [BZ #14152]
2703 * math/libm-test.inc (fma_test): Don't always expect underflow
2704 exception.
2705
9c6ea9fa
SP
27062012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2707
2708 [BZ #12416]
2709 * elf/tst-execstack.c: Include stackinfo.h.
2710 (do_test): Adjust test case to ensure that pthread_getattr_np
2711 behaviour remains the same after marking stack executable.
2712
a8239222
JM
27132012-05-25 Joseph Myers <joseph@codesourcery.com>
2714
2715 * sysdeps/unix/sysv/linux/kernel-features.h
2716 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
2717 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
2718 kernel-features.h.
2719 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2720 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2721 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
2722 kernel-features.h.
2723 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2724 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2725
918b5606
L
27262012-05-25 H.J. Lu <hongjiu.lu@intel.com>
2727
2728 * configure.in: Define the default includes to being none.
2729 * configure: Regenerated.
2730
3a097cc7
RM
27312012-05-25 Roland McGrath <roland@hack.frob.com>
2732
8422c9a5
RM
2733 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
2734 * sysdeps/x86_64/setjmp.S: Likewise.
2735 * sysdeps/i386/bsd-setjmp.S: Likewise.
2736 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2737 * sysdeps/i386/setjmp.S: Likewise.
2738 * sysdeps/i386/__longjmp.S: Likewise.
2739 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2740 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
2741
3a097cc7
RM
2742 * include/stap-probe.h: New file.
2743 * configure.in: Handle --enable-systemtap.
2744 * configure: Regenerated.
2745 * config.h.in (USE_STAP_PROBE): New #undef.
2746 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
2747 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
2748 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2749
21708942
JM
27502012-05-25 Joseph Myers <joseph@codesourcery.com>
2751
2752 [BZ #13717]
2753 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2754 to 2.4.0 where earlier.
2755 * sysdeps/unix/sysv/linux/configure: Regenerated.
2756 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2757 <kernel-features.h>.
2758 [__ASSUME_32BITUIDS]: Make code unconditional.
2759 [!__ASSUME_32BITUIDS]: Remove conditional code.
2760 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
2761 <kernel-features.h>.
2762 [__ASSUME_32BITUIDS]: Make code unconditional.
2763 [!__ASSUME_32BITUIDS]: Remove conditional code.
2764 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
2765 [__ASSUME_32BITUIDS]: Make code unconditional.
2766 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
2767 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
2768 <kernel-features.h>.
2769 [__ASSUME_32BITUIDS]: Make code unconditional.
2770 [!__ASSUME_32BITUIDS]: Remove conditional code.
2771 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
2772 <kernel-features.h>.
2773 [__ASSUME_32BITUIDS]: Make code unconditional.
2774 [!__ASSUME_32BITUIDS]: Remove conditional code.
2775 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
2776 <kernel-features.h>.
2777 [__ASSUME_32BITUIDS]: Make code unconditional.
2778 [!__ASSUME_32BITUIDS]: Remove conditional code.
2779 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
2780 <kernel-features.h>.
2781 [__ASSUME_32BITUIDS]: Make code unconditional.
2782 [!__ASSUME_32BITUIDS]: Remove conditional code.
2783 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2784 <kernel-features.h>.
2785 [__ASSUME_32BITUIDS]: Make code unconditional.
2786 [!__ASSUME_32BITUIDS]: Remove conditional code.
2787 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2788 <kernel-features.h>.
2789 [__ASSUME_32BITUIDS]: Make code unconditional.
2790 [!__ASSUME_32BITUIDS]: Remove conditional code.
2791 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
2792 <kernel-features.h>.
2793 [__ASSUME_32BITUIDS]: Make code unconditional.
2794 [!__ASSUME_32BITUIDS]: Remove conditional code.
2795 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2796 <kernel-features.h>.
2797 [__ASSUME_32BITUIDS]: Make code unconditional.
2798 [!__ASSUME_32BITUIDS]: Remove conditional code.
2799 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2800 <kernel-features.h>.
2801 [__ASSUME_32BITUIDS]: Make code unconditional.
2802 [!__ASSUME_32BITUIDS]: Remove conditional code.
2803 * sysdeps/unix/sysv/linux/i386/semctl.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/setegid.c: Do not include
2808 <kernel-features.h>.
2809 [__NR_setresgid] (__setresgid): Do not declare.
2810 [__ASSUME_32BITUIDS]: Make code unconditional.
2811 [!__ASSUME_32BITUIDS]: Remove conditional code.
2812 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
2813 <kernel-features.h>.
2814 [__NR_setresuid] (__setresuid): Do not declare.
2815 [__ASSUME_32BITUIDS]: Make code unconditional.
2816 [!__ASSUME_32BITUIDS]: Remove conditional code.
2817 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
2818 <kernel-features.h>.
2819 [__ASSUME_32BITUIDS]: Make code unconditional.
2820 [!__ASSUME_32BITUIDS]: Remove conditional code.
2821 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
2822 <kernel-features.h>.
2823 [__ASSUME_32BITUIDS]: Make code unconditional.
2824 [!__ASSUME_32BITUIDS]: Remove conditional code.
2825 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
2826 <kernel-features.h>.
2827 [__ASSUME_32BITUIDS]: Make code unconditional.
2828 [!__ASSUME_32BITUIDS]: Remove conditional code.
2829 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
2830 <kernel-features.h>.
2831 [__ASSUME_32BITUIDS]: Make code unconditional.
2832 [!__ASSUME_32BITUIDS]: Remove conditional code.
2833 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
2834 <kernel-features.h>.
2835 [__ASSUME_32BITUIDS]: Make code unconditional.
2836 [!__ASSUME_32BITUIDS]: Remove conditional code.
2837 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
2838 <kernel-features.h>.
2839 [__ASSUME_32BITUIDS]: Make code unconditional.
2840 [!__ASSUME_32BITUIDS]: Remove conditional code.
2841 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
2842 <kernel-features.h>.
2843 [__ASSUME_32BITUIDS]: Make code unconditional.
2844 [!__ASSUME_32BITUIDS]: Remove conditional code.
2845 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
2846 <kernel-features.h>.
2847 [__ASSUME_32BITUIDS]: Make code unconditional.
2848 [!__ASSUME_32BITUIDS]: Remove conditional code.
2849 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
2850 <kernel-features.h>.
2851 [__ASSUME_32BITUIDS]: Make code unconditional.
2852 [!__ASSUME_32BITUIDS]: Remove conditional code.
2853 * sysdeps/unix/sysv/linux/i386/shmctl.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/kernel-features.h
2858 (__ASSUME_SETRESUID_SYSCALL): Remove.
2859 (__ASSUME_SETRESGID_SYSCALL): Likewise.
2860 (__ASSUME_32BITUIDS): Likewise.
2861 (__ASSUME_LDT_WORKS): Likewise.
2862 (__ASSUME_O_DIRECTORY): Likewise.
2863 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
2864 architecture but not kernel version.
2865 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2866 (__ASSUME_MMAP2_SYSCALL): Likewise.
2867 (__ASSUME_STAT64_SYSCALL): Likewise.
2868 (__ASSUME_IPC64): Likewise.
2869 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
2870 <kernel-features.h>.
2871 [__ASSUME_32BITUIDS]: Make code unconditional.
2872 [!__ASSUME_32BITUIDS]: Remove conditional code.
2873 * sysdeps/unix/sysv/linux/opendir.c: Do not include
2874 <kernel-features.h>.
2875 [__ASSUME_O_DIRECTORY]: Make code unconditional.
2876 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
2877 132096]: Remove conditional code.
2878 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
2879 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2880 <kernel-features.h>.
2881 [__ASSUME_32BITUIDS]: Make code unconditional.
2882 [!__ASSUME_32BITUIDS]: Remove conditional code.
2883 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2884 <kernel-features.h>.
2885 [__ASSUME_32BITUIDS]: Make code unconditional.
2886 [!__ASSUME_32BITUIDS]: Remove conditional code.
2887 * sysdeps/unix/sysv/linux/setegid.c: Do not include
2888 <kernel-features.h>.
2889 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
2890 unconditional.
2891 (__setresgid): Do not declare.
2892 [__ASSUME_32BITUIDS]: Make code unconditional.
2893 [!__ASSUME_32BITUIDS]: Remove conditional code.
2894 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
2895 <kernel-features.h>.
2896 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
2897 unconditional.
2898 (__setresuid): Do not declare.
2899 [__ASSUME_32BITUIDS]: Make code unconditional.
2900 [!__ASSUME_32BITUIDS]: Remove conditional code.
2901 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2902 <kernel-features.h>.
2903 [__ASSUME_32BITUIDS]: Make code unconditional.
2904 [!__ASSUME_32BITUIDS]: Remove conditional code.
2905 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
2906 <kernel-features.h>.
2907 [__ASSUME_32BITUIDS]: Make code unconditional.
2908 [!__ASSUME_32BITUIDS]: Remove conditional code.
2909
a386f1cc
RH
29102012-05-25 Richard Henderson <rth@twiddle.net>
2911
2912 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
2913 dl_hwcap to ifunc resolver.
2914 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
2915 elf_ifunc_invoke.
2916 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
2917 dl_hwcap to ifunc resolver.
2918 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
2919
b6550497
JM
29202012-05-24 Joseph Myers <joseph@codesourcery.com>
2921
2922 [BZ #14153]
2923 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
2924 for |x| <= 2**-26, not 2**-57.
2925 * math/libm-test.inc (acos_test): Do not allow spurious underflow
2926 exception.
2927
b0bc23a1
JL
29282012-05-24 Jeff Law <law@redhat.com>
2929
2930 * stdio-common/Makefile (tests): Add bug25.
2931 * stdio-common/bug25.c: New test.
2932
347c92e9
L
29332012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2934
2935 [BZ #13576]
2936 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
2937 multiple of MALLOC_ALIGNMENT in size.
2938 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
2939
6bcc8b3f
JM
29402012-05-24 Joseph Myers <joseph@codesourcery.com>
2941
2942 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
2943 Require >= 256.
2944 (FILENAME_MAX): Use macro-int-constant.
2945 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
2946 (_IOFBF): Use macro-int-constant.
2947 (_IOLBF): Likewise.
2948 (_IONBF): Likewise.
2949 (SEEK_CUR): Likewise.
2950 (SEEK_END): Likewise.
2951 (SEEK_SET): Likewise.
2952 (TMP_MAX): Likewise.
2953 (EOF): Use macro-int-constant. Require < 0.
2954 (NULL): Use macro-constant. Require == 0.
2955 (stdin): Require type to be FILE *.
2956 (stdout): Likewise.
2957 (stderr): Likewise.
2958 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
2959 macro-int-constant.
2960 (EXIT_SUCCESS): Likewise.
2961 (NULL): Use macro-constant. Require == 0.
2962 (RAND_MAX): Use macro-int-constant.
2963 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
2964 [C99-based standards] (strtof): Require function.
2965 [C99-based standards] (strtold): Likewise.
2966 [C99-based standards] (strtoll): Likewise.
2967 [C99-based standards] (strtoull): Likewise.
2968 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2969 [ISO || ISO99 || ISO11] (limits.h): Likewise.
2970 [ISO || ISO99 || ISO11] (math.h): Likewise.
2971 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
2972 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2973 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2974
d18ea0c5
AS
29752012-05-24 Andreas Schwab <schwab@linux-m68k.org>
2976
2977 [BZ #14132]
56d25bb8
AS
2978 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
2979 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
2980 * intl/dgettext.c (DCGETTEXT): Likewise.
2981 * intl/gettext.c (DCGETTEXT): Likewise.
2982 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
2983 * posix/regex_internal.h (gettext): Likewise.
2984 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
2985 Remove declaration.
2986 * include/argz.h (__argz_count_internal)
2987 (__argz_stringify_internal): Remove declaration.
2988 (__argz_count, __argz_stringify): Declare hidden proto.
2989 * intl/dcgettext.c: Remove use of INTDEF.
2990 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
2991 * string/argz-stringify.c: Likewise.
2992 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2993 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2994 Declare hidden proto.
d18ea0c5
AS
2995 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2996 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2997 Declare hidden proto.
2998 * include/stdio.h (__asprintf_internal): Don't declare.
2999 (__asprintf): Don't define as macro. Declare hidden proto.
3000 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
3001 (__fsetlocking): Declare hidden proto.
3002 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
3003 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
3004 hidden proto.
3005 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
3006 (_IO_setlinebuf): Remove use of INTUSE.
3007 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
3008 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
3009 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
3010 Remove declaration.
3011 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
3012 (_IO_do_flush): Remove use of INTUSE.
3013 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
3014 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
3015 (_IO_adjust_column, _IO_least_wmarker)
3016 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
3017 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
3018 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
3019 (_IO_default_doallocate, _IO_wdefault_doallocate)
3020 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
3021 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
3022 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
3023 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
3024 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
3025 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
3026 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
3027 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
3028 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
3029 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
3030 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
3031 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
3032 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
3033 proto.
3034 (_IO_flush_all_internal, _IO_adjust_column_internal)
3035 (_IO_default_uflow_internal, _IO_default_finish_internal)
3036 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
3037 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
3038 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
3039 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
3040 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
3041 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
3042 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
3043 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
3044 (_IO_file_close_internal, _IO_file_close_it_internal)
3045 (_IO_file_underflow_internal, _IO_file_overflow_internal)
3046 (_IO_file_init_internal, _IO_file_attach_internal)
3047 (_IO_file_fopen_internal, _IO_file_read_internal)
3048 (_IO_file_sync_internal, _IO_file_seek_internal)
3049 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
3050 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
3051 (_IO_str_underflow_internal, _IO_str_overflow_internal)
3052 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
3053 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
3054 (_IO_list_all_internal, _IO_link_in_internal)
3055 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
3056 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
3057 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
3058 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
3059 (_IO_do_write_internal, _IO_padn_internal)
3060 (_IO_getline_info_internal, _IO_getline_internal)
3061 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
3062 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
3063 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
3064 (_IO_vfscanf_internal, _IO_vfprintf_internal)
3065 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
3066 (_IO_init_internal, _IO_un_link_internal): Don't declare.
3067 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
3068 with libc_hidden_ver, remove use of INTUSE.
3069 * libio/genops.c: Likewise.
3070 * libio/freopen.c: Likewise.
3071 * libio/freopen64.c: Likewise.
3072 * libio/iofclose.c: Likewise.
3073 * libio/iofdopen.c: Likewise.
3074 * libio/iofflush.c: Likewise.
3075 * libio/iofflush_u.c: Likewise.
3076 * libio/iofgets.c: Likewise.
3077 * libio/iofgets_u.c: Likewise.
3078 * libio/iofopen.c: Likewise.
3079 * libio/iofopncook.c: Likewise.
3080 * libio/iofread.c: Likewise.
3081 * libio/iofread_u.c: Likewise.
3082 * libio/ioftell.c: Likewise.
3083 * libio/iofwrite.c: Likewise.
3084 * libio/iogetline.c: Likewise.
3085 * libio/iogets.c: Likewise.
3086 * libio/iogetwline.c: Likewise.
3087 * libio/iopadn.c: Likewise.
3088 * libio/iopopen.c: Likewise.
3089 * libio/ioseekoff.c: Likewise.
3090 * libio/ioseekpos.c: Likewise.
3091 * libio/iosetbuffer.c: Likewise.
3092 * libio/iosetvbuf.c: Likewise.
3093 * libio/ioungetc.c: Likewise.
3094 * libio/ioungetwc.c: Likewise.
3095 * libio/iovdprintf.c: Likewise.
3096 * libio/iovsprintf.c: Likewise.
3097 * libio/iovsscanf.c: Likewise.
3098 * libio/memstream.c: Likewise.
3099 * libio/obprintf.c: Likewise.
3100 * libio/oldfileops.c: Likewise.
3101 * libio/oldiofclose.c: Likewise.
3102 * libio/oldiofdopen.c: Likewise.
3103 * libio/oldiofopen.c: Likewise.
3104 * libio/oldiopopen.c: Likewise.
3105 * libio/oldstdfiles.c: Likewise.
3106 * libio/putc.c: Likewise.
3107 * libio/setbuf.c: Likewise.
3108 * libio/setlinebuf.c: Likewise.
3109 * libio/stdfiles.c: Likewise.
3110 * libio/strops.c: Likewise.
3111 * libio/vasprintf.c: Likewise.
3112 * libio/vscanf.c: Likewise.
3113 * libio/vsnprintf.c: Likewise.
3114 * libio/vswprintf.c: Likewise.
3115 * libio/wfiledoalloc.c: Likewise.
3116 * libio/wfileops.c: Likewise.
3117 * libio/wgenops.c: Likewise.
3118 * libio/wmemstream.c: Likewise.
3119 * libio/wstrops.c: Likewise.
3120 * libio/__fpurge.c: Likewise.
3121 * libio/__fsetlocking.c: Likewise.
3122 * assert/assert.c: Likewise.
3123 * debug/fgets_chk.c: Likewise.
3124 * debug/fgets_u_chk.c: Likewise.
3125 * debug/fread_chk.c: Likewise.
3126 * debug/fread_u_chk.c: Likewise.
3127 * debug/gets_chk.c: Likewise.
3128 * debug/obprintf_chk.c: Likewise.
3129 * debug/vasprintf_chk.c: Likewise.
3130 * debug/vdprintf_chk.c: Likewise.
3131 * debug/vsnprintf_chk.c: Likewise.
3132 * debug/vsprintf_chk.c: Likewise.
3133 * malloc/mtrace.c: Likewise.
3134 * misc/error.c: Likewise.
3135 * misc/syslog.c: Likewise.
3136 * stdio-common/asprintf.c: Likewise.
3137 * stdio-common/fxprintf.c: Likewise.
3138 * stdio-common/getw.c: Likewise.
3139 * stdio-common/isoc99_fscanf.c: Likewise.
3140 * stdio-common/isoc99_scanf.c: Likewise.
3141 * stdio-common/isoc99_vfscanf.c: Likewise.
3142 * stdio-common/isoc99_vscanf.c: Likewise.
3143 * stdio-common/isoc99_vsscanf.c: Likewise.
3144 * stdio-common/printf-prs.c: Likewise.
3145 * stdio-common/printf_fp.c: Likewise.
3146 * stdio-common/printf_fphex.c: Likewise.
3147 * stdio-common/printf_size.c: Likewise.
3148 * stdio-common/putw.c: Likewise.
3149 * stdio-common/scanf.c: Likewise.
3150 * stdio-common/sprintf.c: Likewise.
3151 * stdio-common/tmpfile.c: Likewise.
3152 * stdio-common/vfprintf.c: Likewise.
3153 * stdio-common/vfscanf.c: Likewise.
3154 * stdlib/strfmon_l.c: Likewise.
3155 * sunrpc/openchild.c: Likewise.
3156 * sunrpc/xdr_stdio.c: Likewise.
3157 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3158 * sysdeps/mach/hurd/tmpfile.c: Likewise.
3159
d6c33fda
RM
31602012-05-24 Roland McGrath <roland@hack.frob.com>
3161
c1487492
RM
3162 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3163
3164 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
3165 in the third column, to generate for the shared library an IFUNC
3166 that uses _dl_vdso_vsym.
3167 * Makerules (COMPILE.c, compile-stdin.c): New variables.
3168 * Makeconfig (object-suffixes-noshared): New variable.
3169
3170 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
3171 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
3172 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
3173 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
3174
d6c33fda
RM
3175 [BZ #14132]
3176 * include/sys/time.h (__gettimeofday): Remove macro.
3177 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
3178 * time/gettimeofday.c (__gettimeofday): Remove #undef.
3179 Remove INTDEF.
3180 (__gettimeofday): Add libc_hidden_def.
3181 (gettimeofday): Add libc_hidden_weak.
3182 * sysdeps/mach/gettimeofday.c: Likewise.
3183 * sysdeps/posix/gettimeofday.c: Likewise.
3184 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3185 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3186 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
3187 (__gettimeofday_internal): Remove strong_alias.
3188 (__gettimeofday): Add libc_hidden_def.
3189 (gettimeofday): Add libc_hidden_weak.
3190 * sysdeps/unix/syscalls.list (gettimeofday):
3191 Remove __gettimeofday_internal alias.
3192
b5a2bbe6
L
31932012-05-24 Daniel Jacobowitz <drow@false.org>
3194 H.J. Lu <hongjiu.lu@intel.com>
3195
3196 [BZ #12495]
3197 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
3198 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
3199 (largebin_index_32_big): New.
3200 (largebin_index): Use it for 16-byte alignment.
3201 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
3202 correction with front_misalign.
3203
cfba4fda
L
32042012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3205
7f907421
L
3206 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
3207 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3208 Likewise.
3209 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
3210 Likewise.
3211 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3212 Likewise.
3213 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
3214 Likewise.
3215 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
3216 Likewise.
3217 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
3218 Likewise.
3219 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
3220 Likewise.
3221 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3222 Likewise.
3223 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
3224 Likewise.
3225 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
3226 Likewise.
3227 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3228 Likewise.
3229 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
3230 Likewise.
3231
cfba4fda
L
3232 * scripts/data/c++-types-x32-linux-gnu.data: New file.
3233 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
3234
80bad0cc
JM
32352012-05-24 Joseph Myers <joseph@codesourcery.com>
3236
7a25eb06
JM
3237 [BZ #10846]
3238 [BZ #14036]
3239 * math/libm-test.inc (exp_test): Add test from bug 14036.
3240 (pow_test): Add test from bug 10846.
3241
795405f9
JM
3242 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
3243 and other flags.
3244 (special_function): Do not include flags in test name.
3245 (parse_args): Likewise.
3246 * sysdeps/i386/fpu/libm-test-ulps: Update.
3247 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3248 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3249 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3251
80bad0cc
JM
3252 * math/gen-libm-test.pl (%beautify): Add entries for underflow
3253 exceptions.
3254 * math/libm-test.inc ("Philosophy"): Update comment about
3255 exception testing.
3256 (UNDERFLOW_EXCEPTION): New macro.
3257 (UNDERFLOW_EXCEPTION_OK): Likewise.
3258 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3259 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3260 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3261 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3262 (INVALID_EXCEPTION_OK): Update value.
3263 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3264 (OVERFLOW_EXCEPTION_OK): Likewise.
3265 (IGNORE_ZERO_INF_SIGN): Likewise.
3266 (test_exceptions): Handle underflow exceptions.
3267 (acos_test): Update for underflow exception expectations.
3268 (cexp_test): Likewise.
3269 (clog_test): Likewise.
3270 (clog10_test): Likewise.
3271 (csqrt_test): Likewise.
3272 (ctan_test): Likewise.
3273 (ctanh_test): Likewise.
3274 (exp_test): Likewise.
3275 (exp10_test): Likewise.
3276 (exp2_test): Likewise.
3277 (expm1_test): Likewise.
3278 (fma_test): Likewise.
3279 (j0_test): Likewise.
3280 (jn_test): Likewise.
3281 (nexttoward_test): Likewise.
3282 (pow_test): Likewise.
3283 (scalbn_test): Likewise.
3284 (scalbln_test): Likewise.
3285 (tan_test): Likewise.
3286 (y1_test): Likewise.
3287 * sysdeps/i386/fpu/libm-test-ulps: Update.
3288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3289
9e0e3d0b
DM
32902012-05-23 David S. Miller <davem@davemloft.net>
3291
3292 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3293 (__libc_sigaction): Remove unused local variables.
3294
ccd0a08f
L
32952012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3296
3297 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3298
62bdf9a6
PE
32992012-05-23 Paul Eggert <eggert@cs.ucla.edu>
3300
f8591f80
PE
3301 mktime: avoid signed integer overflow
3302 * time/mktime.c (__mktime_internal): Do not mishandle the case
3303 where diff == INT_MIN.
3304
94c7d826
PE
3305 mktime: simplify computation of average
3306 * time/mktime.c (ranged_convert): Use new time_t_avg function
3307 instead of rolling our own (probably-slower) code.
3308
ce73d683
PE
3309 mktime: do not assume signed right shift propagates sign bit
3310 * time/mktime.c (isdst_differ): New static function.
3311 (__mktime_internal): No need to normalize tm_isdst now.
3312 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3313 tm_isdst values.
3314
72a22e59
PE
3315 mktime: merge another wrapv change from gnulib
3316 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3317 from some compilers.
3318
68605433
PE
3319 mktime: remove incorrect attempt at unusual arithmetics
3320 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3321 The code didn't really work on such machines anyway.
3322 (TYPE_MINIMUM): Assume two's complement.
3323 (twos_complement_arithmetic): Verify that long_int and time_t
3324 are two's complement (or unsigned, in the latter case).
3325
03cf7fe3
PE
3326 mktime: check signed shifts on long_int and time_t, too
3327 * time/mktime.c (SHR): Check that shifts work as desired
3328 on the types long_int and time_t too, as SHR is used on
3329 such types.
3330
f04dfbc2
PE
3331 mktime: do not assume 'long' is wide enough
3332 * time/mktime.c (verify): Move decl up.
3333 (long_int): New type.
3334 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3335 to remove assumption in the code that 'long' is wide enough to
3336 store year values. This assumption is not true on x32 and on
3337 some non-glibc platforms.
3338
62bdf9a6
PE
3339 mktime: merge wrapv change from gnulib
3340 * time/mktime.c (WRAPV): New macro.
3341 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3342 (guess_time_tm, __mktime_internal): Do not assume that signed
3343 integer overflow wraps around; modern compilers generate code
3344 where this assumption is no longer valid.
3345
5e292e4f
L
33462012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3347
3348 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3349 Replace "jmp L(pseudo_end)" with "ret".
3350 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3351 Likewise.
3352
8caf8c87
AJ
33532012-05-23 Andreas Jaeger <aj@suse.de>
3354
3355 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3356 * sysdeps/unix/sysv/linux/poll.c: Remove file.
3357
1a09dc56
AJ
33582012-05-23 Andreas Jaeger <aj@suse.de>
3359 Maximilian Attems <max@stro.at>
3360
3361 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3362 New macros.
3363
1c87aba0
L
33642012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3365
3366 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3367 code so that pseudo_end is just ret and the stack pointer is
3368 correct also for static library in error case.
3369
40e45bd5
JM
33702012-05-23 Joseph Myers <joseph@codesourcery.com>
3371
c2670533
JM
3372 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
3373 move to syscalls.list.
3374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3378
40e45bd5
JM
3379 * manual/install.texi (Running make install): Do not mention Linux
3380 kernel version for which pt_chown is not needed.
3381 (Linux): Do not mention problems with nscd with 2.0 kernels.
3382 * INSTALL: Regenerated.
3383
be08eda5
AJ
33842012-05-23 Andreas Jaeger <aj@suse.de>
3385
3386 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3387 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
3388 macro.
3389 * sysdeps/unix/sysv/linux/s390/bits/mman.h
3390 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3391 * sysdeps/unix/sysv/linux/sh/bits/mman.h
3392 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3393 * sysdeps/unix/sysv/linux/i386/bits/mman.h
3394 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3395 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
3396 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3397 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
3398 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3399 * sysdeps/unix/sysv/linux/bits/in.h
3400 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
3401
a6a056bb
RM
34022012-05-22 Roland McGrath <roland@hack.frob.com>
3403
3404 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
3405 (PREPARE_VERSION): Just use assert instead, it will be elided
3406 under [NDEBUG] anyway.
3407
c9009328
L
34082012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3409
3410 * sysdeps/unix/sysv/linux/Makefile: Include
3411 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 3412 (sysdep_routines): Remove sysctl.
c9009328
L
3413 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
3414 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
3415 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
3416 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
3417 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
3418
73338355
AJ
34192012-05-22 Andreas Jaeger <aj@suse.de>
3420
3421 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
3422 that pseudo_end is just ret and the stack pointer is correct also
3423 for static library in error case.
3424
d44638b0
PP
34252012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3426
3427 [BZ #14122]
3428 * nss/nsswitch.c (defconfig_entries): New variable.
3429 (__nss_database_lookup): Don't leak defconfig entries.
3430 (nss_parse_service_list): Don't leak on error paths.
3431 (free_database_entries): New function.
3432 (free_defconfig): New function.
3433 (free_mem): Move common code to free_database_entries.
3434
31a39bd8
L
34352012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3436
da0331a8
L
3437 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
3438 Add arch_prctl.
3439 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
3440
31a39bd8
L
3441 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3442 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
3443 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
3444 New macro.
3445 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3446 (INTERNAL_SYSCALL_TYPES): Likewise.
3447 (LOAD_ARGS_TYPES_[1-6]): Likewise.
3448 (LOAD_REGS_TYPES_[1-6]): Likewise.
3449 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
3450 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
3451
45470df3
AZ
34522012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3453
3454 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
3455 copysignl for GLIBC_2_0.
3456 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
3457 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
3458 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
3459 logbl for GLIBC_2_0.
3460 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3461 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3462
98a61bcb
L
34632012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3464
a4f6e481
L
3465 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
3466 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3467
f63d5db6
L
3468 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3469 Use "neg %eax".
3470
98a61bcb
L
3471 * time/mktime.c: Update copyright years.
3472
95770f14
PE
34732012-05-22 Paul Eggert <eggert@cs.ucla.edu>
3474
6226efbd
PE
3475 mktime: merge comment-quoting-style change from gnulib
3476 * time/mktime.c: Quote 'like this' in comments.
3477 The GNU coding standards suggest that we no longer quote `like this',
3478 as "`" and "'" are typically rendered asymmetrically nowadays.
3479 The typical gnulib style is to quote 'like this' when quoting
3480 code, and "like this" when quoting English.
3481
b99e4f78
PE
3482 * time/mktime.c (compile-command): Add "-I.".
3483
643e01e6
PE
3484 mktime: merge mktime-internal.h change from gnulib
3485 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
3486
2554247d
PE
3487 mktime: merge time_r change from gnulib
3488 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
3489
826dd0ab
PE
3490 mktime: merge DEBUG change from gnulib
3491 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
3492 case system <time.h> has a #define.
3493
bd83aabe
PE
3494 mktime: merge <sys/types.h> change from gnulib
3495 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
3496 since <time.t> is now guaranteed to define time_t.
3497
95770f14
PE
3498 mktime: merge HAVE_CONFIG_H change from gnulib
3499 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
3500
5e1a27a9
L
35012012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3502
0e44a77e
L
3503 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3504 Use "neg %eax".
3505
5e1a27a9
L
3506 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
3507 __rlim_t cast.
3508 (struct rusage): Use anonymous union to pad each field to
3509 __syscall_slong_t.
3510
46259bec
DM
35112012-05-21 David S. Miller <davem@davemloft.net>
3512
3513 * Makefules (o-iterator): Remove .s cases.
3514 (compile-command.s): Delete.
3515 (COMPILE.s): Delete.
3516 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
3517
59f0c22e
JM
35182012-05-21 Joseph Myers <joseph@codesourcery.com>
3519
3520 * configure.in (libc_cv_predef_stack_protector): Only consider
3521 "foobar" and "__stack_chk_fail" lines in libc_undefs.
3522 * configure: Regenerated.
3523
20c07380
L
35242012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3525
bbb3154b
L
3526 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3527 New macro. Use R*LP on int and pointer.
3528 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
3529 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
3530 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
3531 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
3532
20c07380
L
3533 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
3534 [__WORDSIZE_TIME64_COMPAT32] instead of
3535 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
3536 (struct utmp): Likewise.
3537 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
3538 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
3539 Renamed to ...
3540 (__WORDSIZE_TIME64_COMPAT32): This.
3541 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3542 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3543 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
3544 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
3545 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
3546 (__WORDSIZE_TIME64_COMPAT32): New macro.
3547
d8d1017e
AJ
35482012-05-21 Andreas Jaeger <aj@suse.de>
3549
3550 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
3551 only if [SHARED]. Add prototype for __wcschr_ia32.
3552
6c7fb145
RM
35532012-05-21 Roland McGrath <roland@hack.frob.com>
3554
3555 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
3556 of %rbp unmolested in the jmp_buf while mangling the low bits.
3557 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
3558 unmolested high bits of %rbp while demangling the low bits.
3559 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3560
66274218
AJ
35612012-05-21 Andreas Jaeger <aj@suse.de>
3562
07c58f8f
AJ
3563 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
3564 * sunrpc/svc_simple.c: Use it for registerrpc.
3565 * sunrpc/xcrypt.c: Use it for passwd2des.
3566
66274218
AJ
3567 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
3568
61f65140
L
35692012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3570
3571 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
3572 Don't define if [__SYSCALL_WORDSIZE != 32].
3573 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
3574 New macro.
3575
5fefb436
AJ
35762012-05-21 Bruno Haible <bruno@clisp.org>
3577 Andreas Jaeger <aj@suse.de>
3578
3579 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
3580 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
3581 inptr and inend for must_buffer_ch.
3582 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
3583 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
3584 * stdio-common/Makefile (tests): Remove bug15.
3585 (bug15-ENV): Remove macro.
3586 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
3587 anymore.
3588
d8e272ab
AJ
35892012-05-19 Andreas Jaeger <aj@suse.de>
3590 Roland McGrath <roland@hack.frob.com>
3591
3592 * manual/contrib.texi: Completely rewritten. It contains now an
3593 alphabetical list of contributors and their contributions.
3594
4a56a162
RH
35952012-05-21 Richard Henderson <rth@twiddle.net>
3596
3597 * misc/getauxval.c (__getauxval): Use unsigned long int.
3598 * misc/sys/auxv.h: Include <sys/cdefs.h>.
3599 (getauxval): Use unsigned long int.
3600
d024d23c
L
36012012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3602
3603 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3604
cbc00a03
RM
36052012-05-21 Roland McGrath <roland@hack.frob.com>
3606
3607 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
3608 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
3609 __alignof__ (long double).
3610
478143fa
AZ
36112012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3612
3613 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3614
c7683a6d
RH
36152012-05-20 Richard Henderson <rth@twiddle.net>
3616
3617 * misc/getauxval.c: New file.
3618 * misc/sys/auxv.h: New file.
3619 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
3620 (routines): Add getauxval.
3621 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
3622 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
3623 * elf/dl-sysdep.c (_dl_auxv): Remove.
3624 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
3625 * elf/dl-support.c (_dl_auxv): New variable.
3626 (_dl_aux_init): Initialize it.
3627 * manual/startup.texi (Auxiliary Vector): New node.
3628 * sysdeps/generic/bits/hwcap.h: New file.
3629 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
3630 * sysdeps/powerpc/sysdep.h: ... here. Include it.
3631 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
3632 * sysdeps/sparc/sysdep.h: ... here. Include it.
3633 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
3634 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
3635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3636 Update.
c7683a6d
RH
3637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
3638 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
3639 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
3640 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
3641 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3642 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3643 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
3644 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
3645
a6f1845d
AZ
36462012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3647
3648 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3649
cbcbe830
DM
36502012-05-19 David S. Miller <davem@davemloft.net>
3651
3652 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3653
e0b16cc2
JM
36542012-05-19 Joseph Myers <joseph@codesourcery.com>
3655
3656 [BZ #14123]
3657 * math/s_ccosh.c: Include <float.h>
3658 (__ccosh): Avoid internal overflow calculating sinh and cosh
3659 values before multiplying by sin and cos values.
3660 * math/s_ccoshf.c: Likewise.
3661 * math/s_ccoshl.c: Likewise.
3662 * math/s_csin.c: Likewise.
3663 * math/s_csinf.c: Likewise.
3664 * math/s_csinl.c: Likewise.
3665 * math/s_csinh.c: Likewise.
3666 * math/s_csinhf.c: Likewise.
3667 * math/s_csinhl.c: Likewise.
3668 * math/libm-test.inc (ccos_test): Add more tests.
3669 (ccosh_test): Likewise.
3670 (csin_test): Likewise.
3671 (csinh_test): Likewise.
3672 * sysdeps/i386/fpu/libm-test-ulps: Update.
3673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3674
6ad13e08
L
36752012-05-19 H.J. Lu <hongjiu.lu@intel.com>
3676
f66f0ce8
L
3677 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
3678 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3679
6ad13e08
L
3680 * sysdeps/x86_64/x32/_itoa.h: Add comment.
3681
b1d072a7
JM
36822012-05-19 Joseph Myers <joseph@codesourcery.com>
3683
3684 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
3685 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
3686 * sysdeps/powerpc/soft-fp/Versions: Likewise.
3687 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
3688 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
3689 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
3690 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
3691 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
3692 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
3693 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
3694 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
3695 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
3696 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
3697 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
3698 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
3699 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
3700 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
3701 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
3702 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
3703 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
3704 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
3705 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
3706 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
3707 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
3708 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
3709 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
3710 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
3711 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
3712 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
3713 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
3714 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
3715
9eae47cb
AJ
37162012-05-18 Andreas Jaeger <aj@suse.de>
3717
3718 * csu/.gitignore: Delete.
3719
bb07f69f
L
37202012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3721
3722 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
3723 (timex): Use __syscall_slong_t.
3724
e6bdb741
AJ
37252012-05-18 Andreas Jaeger <aj@suse.de>
3726 Carlos O'Donell <carlos_odonell@mentor.com>
3727
3728 * manual/install.texi (Configuring and compiling): Update
3729 description about files modified in the source directory.
d6c33fda 3730 * INSTALL: Regenerated.
e6bdb741 3731
1b74487e
L
37322012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3733
3734 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
3735 value. Use "or" to set return value to -1.
3736 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
3737 negate return value.
3738
a88b64b9
TMQMF
37392012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3740
3741 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
3742 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
3743 failure if the compiler has Graphite support disabled.
3744 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
3745 Likewise.
3746 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
3747 CFLAGS-memmove.c): Likewise.
3748 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
3749 Likewise.
3750
3707636e
L
37512012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3752
610b8622
L
3753 * sysdeps/x86_64/x32/_itoa.h: New file.
3754
7cd195df
L
3755 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
3756 getdents system call only if kernel and user dirents have the
3757 same d_ino and d_off.
3758
94b07d20
L
3759 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3760 LLONG_MAX != LONG_MAX.
3761 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3762 (_fitoa_word): Likewise.
3763
18298070
L
3764 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
3765 years.
3766 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
3767 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
3768 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
3769
553c7ea4
L
3770 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
3771 include <bits/wordsize.h>. Check __x86_64__ instead of
3772 __WORDSIZE.
3773 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
3774 if __x86_64__ is defined. Use anonymous union on fpstate.
3775
3707636e
L
3776 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
3777 anonymous union.
3778
b53ef01a
AS
37792012-05-18 Andreas Schwab <schwab@linux-m68k.org>
3780
37fb1dc0
AS
3781 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3782 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
3783 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
3784 Refer to _rtld_local_ro instead of _rtld_global_ro.
3785 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
3786 Likewise.
3787 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
3788 Likewise.
3789 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
3790 Likewise.
3791 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
3792 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
3793 of _rtld_global, and rtld_progname instead of _dl_argv[0].
3794
b53ef01a
AS
3795 * sysdeps/powerpc/powerpc32/dl-machine.c
3796 (__elf_machine_runtime_setup) [PROF]: Don't reference
3797 _dl_prof_resolve.
3798
7a185db2
AJ
37992012-05-18 Andreas Jaeger <aj@suse.de>
3800
3801 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
3802 function only available for GCCs before 3.4 since GCC 3.4
3803 introduced a builtin.
3804 (lrint): Likewise.
3805 (llrintf): Likewise.
3806 (llrint): Likewise.
3807 (fmaxf): Likewise.
3808 (fmax): Likewise.
3809 (fminf): Likewise.
3810 (fmin): Likewise.
3811 (rint): Likewise.
3812 (rintf): Likewise.
3813 (nearbyint): Likewise.
3814 (nearbyintf): Likewise.
3815 (ceil): Likewise.
3816 (ceilf): Likewise.
3817 (floor): Likewise.
3818 (floorf): Likewise.
3819
3e5aef87
L
38202012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3821
428bd707
L
3822 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
3823 on both fields and cast pointer to __syscall_ulong_t.
3824
3e5aef87
L
3825 * bits/types.h (__fsword_t): New type.
3826 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
3827 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
3828 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3829 (__FSWORD_T_TYPE): Likewise.
3830 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3831 (__FSWORD_T_TYPE): Likewise.
3832 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3833 (__FSWORD_T_TYPE): Likewise.
3834 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
3835 (__FSWORD_T_TYPE): Likewise.
3836 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
3837 __SWORD_TYPE with __fsword_t.
3838 (statfs64): Likewise.
3839
1ba7c3dc
DM
38402012-05-17 David S. Miller <davem@davemloft.net>
3841
3842 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
3843
59910343
AJ
38442012-05-17 Andreas Jaeger <aj@suse.de>
3845
3846 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
3847 warning.
3848
2e4c1e9e
L
38492012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3850
3851 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
3852
de7f5ce7
AJ
38532012-05-17 Andreas Jaeger <aj@suse.de>
3854
3855 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
3856 when it is used.
3857
286abc3d
CM
38582012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3859
3860 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
3861
477cc68e
L
38622012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3863
3864 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
3865 * sysdeps/x86_64/tst-mallocalign1.c: New file.
3866
1a0994f5
CD
38672012-05-17 Andreas Jaeger <aj@suse.de>
3868 Carlos O'Donell <carlos_odonell@mentor.com>
3869
3870 [BZ #14059]
3871 * sysdeps/x86_64/multiarch/init-arch.h
3872 (bit_YMM_Usable): Rename to...
3873 (bit_AVX_Usable): ... this.
3874 (bit_FMA4_Usable): New macro.
3875 (bit_XMM_state): New macro.
3876 (bit_YMM_state): New macro.
3877 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
3878 [__ASSEMBLER__] (index_AVX_Usable): ... this.
3879 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
3880 (CPUID_OSXSAVE): New macro.
3881 (CPUID_AVX): New macro.
3882 (CPUID_FMA4): New macro.
3883 (index_YMM_Usable): Rename to...
3884 (index_AVX_Usable): ... this.
3885 (HAS_AVX): Use HAS_ARCH_FEATURE.
3886 (HAS_FMA4): Likewise.
3887 (HAS_YMM_USABLE): Remove.
3888 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3889 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
3890 are present.
3891 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
3892 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
3893 * sysdeps/x86_64/multiarch/Makefile: Likewise.
3894 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
3895 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
3896
0af797de
CM
38972012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3898
3899 * math/libm-test.c: Support platforms without multiple rounding modes.
3900 * math/bug-nextafter.c: Support platforms without FP exceptions.
3901 * math/bug-nexttoward.c: Likewise.
3902 * math/test-fenv.c: Likewise.
3903 * math/test-misc.c: Likewise.
3904 * stdlib/bug-getcontext.c: Likewise.
3905
e39745ff
AJ
39062012-05-17 Andreas Jaeger <aj@suse.de>
3907
3908 * manual/examples/search.c (critter_cmp): Change signature to
3909 avoid warnings.
3910 * manual/string.texi (Collation Functions): Likewise.
3911
48970aba
L
39122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3913
3914 * bits/types.h: Fold copyright years.
3915 * bits/typesizes.h: Likewise.
3916 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
3917 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
3918 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
3919 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
3920 * time/time.h: Likewise.
3921
bedee953
PP
39222012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3923
3924 [BZ #208]
3925 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
3926 in instead of returning them. Return void.
3927 (__libc_mallinfo): Accumulate over all arenas.
3928 (__malloc_stats): Adjust for change in int_mallinfo interface.
3929
61653dfb
RM
39302012-05-16 Roland McGrath <roland@hack.frob.com>
3931
30b99d79
RM
3932 [BZ #10375]
3933 * configure.in (NM): Add AC_CHECK_TOOL for it.
3934 (libc_extra_cflags): New substituted variable.
3935 Check for -fstack-protector being used implicitly.
3936 * configure: Regenerated.
3937 * config.make.in (config-extra-cflags): New variable,
3938 gets @libc_extra_cflags@.
3939 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
3940
61653dfb
RM
3941 [BZ #10375]
3942 * configure.in: Check for _FORTIFY_SOURCE being predefined.
3943 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
3944 * configure: Regenerated.
3945 * config.make.in (CPPUNDEFS): New substituted variable.
3946 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
3947 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
3948 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
3949
661768bb
L
39502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3951
3952 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
3953 (mq_attr): Use __syscall_slong_t.
3954
d4261567
L
39552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3956
3957 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
3958 Check __x86_64__ instead of __WORDSIZE.
3959 (_STAT_VER_LINUX): Likewise.
3960 (stat): Check __x86_64__ instead of __WORDSIZE. Use
3961 __syscall_ulong_t and __syscall_slong_t.
3962 (stat64): Likewise.
3963
cf3ff365
L
39642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3965
3966 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
3967
76cf3e4d
L
39682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3969
3970 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
3971
a637753a
L
39722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3973
3974 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
3975 __syscall_ulong_t.
3976
d5e05119
L
3977 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
3978 include <bits/wordsize.h>. Check __x86_64__ instead of
3979 __WORDSIZE.
3980 (greg_t): Use "__extension__ long long int" if __x86_64__ is
3981 defined.
3982 (mcontext_t): Replace "unsigned long" with "unsigned long long".
3983
f62ee380
L
3984 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
3985 include <bits/wordsize.h>. Check __x86_64__ instead of
3986 __WORDSIZE.
3987 (user_regs_struct): Use "__extension__ unsigned long long"
3988 instead of "unsigned long" if __x86_64__ is defined.
3989 (user): Likewise. Pad after pointer field if __ILP32__ is
3990 defined.
3991
4e124ced
JM
39922012-05-16 Joseph Myers <joseph@codesourcery.com>
3993
6a3951a0
JM
3994 * configure.in (makeinfo): Require version 4.5 or later. Allow
3995 versions 5 to 9.
3996 * configure: Regenerated.
3997 * manual/install.texi (texinfo): Increase version requirement to
3998 4.5 or later.
3999 * INSTALL: Regenerated.
4000
4e124ced
JM
4001 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
4002
953ca31a
L
40032012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4004
4005 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
4006
617aca05
L
4007 * sysdeps/x86_64/x32/ffs.c: New file.
4008
5762f7ae
L
4009 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
4010 __syscall_ulong_t.
4011 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
4012 defined. Use __syscall_ulong_t.
4013 (shminfo): Use __syscall_ulong_t.
4014 (shm_info): Likewise.
4015
a26b6856
L
4016 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
4017 __syscall_ulong_t.
4018
cb2b9ef7
L
4019 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
4020 <bits/wordsize.h>.
4021 (msgqnum_t): Use __syscall_ulong_t.
4022 (msglen_t): Likewise.
4023 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
4024 __syscall_ulong_t.
4025
34683bb0
L
4026 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
4027 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4028
84a68786
L
4029 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
4030
48baa5f1
L
4031 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
4032 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
4033
180be88b
L
4034 * sysvipc/sys/msg.h (msgbuf): Replace long int with
4035 __syscall_slong_t.
4036
5e90c8ad
L
4037 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
4038 include <bits/wordsize.h>. Check __x86_64__ instead of
4039 __WORDSIZE.
4040
23dfb58b
L
4041 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
4042 "unsigned long long int" if __x86_64__ is defined.
4043 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
4044
ce5d54b0
L
4045 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
4046 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4047 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
4048
13dc9eac
L
4049 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
4050 <stdint.h>.
4051 (GET_PC): Cast to uintptr_t first.
4052 (GET_FRAME): Likewise.
4053 (GET_STACK): Likewise.
4054
a7895d15
L
4055 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
4056 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
4057 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
4058 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
4059 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
4060 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
4061 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
4062 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
4063 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4064 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
4065 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
4066 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
4067 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4068 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
4069 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
4070 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
4071 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
4072 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
4073 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
4074 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
4075 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
4076 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
4077 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
4078 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
4079 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
4080 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
4081 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
4082 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
4083 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
4084
656416c9
AS
40852012-05-16 Andreas Schwab <schwab@linux-m68k.org>
4086
5bd66283
AS
4087 * Makerules (+depfiles): Also collect depfiles from .oS in
4088 $(extra-objs).
4089 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
4090 .oS, $(libnldbl-routines)).
4091
656416c9
AS
4092 * Makerules (native-compile-mkdep-flags): Define.
4093 * sunrpc/Makefile (extra-objs): Add $(addprefix
4094 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
4095 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
4096 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
4097 calling $(make-target-directory).
4098
a46f2169
L
40992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4100
4101 * bits/types.h (__snseconds_t): Removed.
4102 * time/time.h (struct timespec): Replace __snseconds_t with
4103 __syscall_slong_t.
4104 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
4105 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
4106 Likewise.
4107 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4108 (__SNSECONDS_T_TYPE): Likewise.
4109 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4110 (__SNSECONDS_T_TYPE): Likewise.
4111 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4112 (__SNSECONDS_T_TYPE): Likewise.
4113
6af6528b
L
41142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4115
4116 * sysdeps/mach/hurd/bits/typesizes.h
4117 (__SYSCALL_SLONG_TYPE): New macro.
4118 (__SYSCALL_ULONG_TYPE): Likewise.
4119
de986b56
L
41202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4121
4122 * bits/types.h (__syscall_slong_t): New type.
4123 (__syscall_ulong_t): Likewise.
4124
4125 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
4126 (__SYSCALL_ULONG_TYPE): Likewise.
4127 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4128 (__SYSCALL_SLONG_TYPE): Likewise.
4129 (__SYSCALL_ULONG_TYPE): Likewise.
4130 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4131 (__SYSCALL_SLONG_TYPE): Likewise.
4132 (__SYSCALL_ULONG_TYPE): Likewise.
4133 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4134 (__SYSCALL_SLONG_TYPE): Likewise.
4135 (__SYSCALL_ULONG_TYPE): Likewise.
4136
85736dc7
L
41372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4138
4139 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
4140 Add sigaltstack-offsets.sym.
4141 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
4142 <sigaltstack-offsets.h>.
4143 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
4144 longjmp_msg pointer.
4145 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
4146 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
4147 signal stack.
4148 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
4149
cc03b296
JM
41502012-05-15 Joseph Myers <joseph@codesourcery.com>
4151
a9538892
JM
4152 * elf/stackguard-macros.h: Remove file.
4153 * sysdeps/generic/stackguard-macros.h: New file.
4154 * sysdeps/i386/stackguard-macros.h: Likewise.
4155 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4156 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4157 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4158 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4159 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4160 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4161 * sysdeps/x86_64/stackguard-macros.h: Likewise.
4162 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
4163 <elf/stackguard-macros.h>.
4164
cc03b296
JM
4165 [BZ #14109]
4166 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
4167 __aligned__ in attribute.
4168 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
4169 (gregset_t): Likewise.
4170
93171016
L
41712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4172
4173 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
4174 * sysdeps/x86_64/64/Implies-after: Here. New file.
4175 * sysdeps/x86_64/x32/Implies-after: New file.
4176
d86813a0
L
41772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4178
4179 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
4180 and access return value for _dl_profile_fixup. Use R10_LP to
4181 load frame size.
4182
2953ec75
L
41832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4184
4185 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
4186
3b550e9e
L
41872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4188
4189 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
4190 * sysdeps/x86_64/x32/sysdep.h: New file.
4191
eda41706
L
41922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4193
4194 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
4195 * sysdeps/x86_64/setjmp.S: Likewise.
4196
9ea01d93
AZ
41972012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4198
4199 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
4200 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
4201 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
4202 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
4203 remove unused global constant.
4204
02a91938
CM
42052012-05-15 Chris Metcalf <cmetcalf@tilera.com>
4206
4207 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
4208 include of <not-cancel.h>.
4209
6540185f
RM
42102012-05-15 Roland McGrath <roland@hack.frob.com>
4211
4212 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
4213
509072a0
AJ
42142012-05-15 Jeff Law <law@redhat.com>
4215 Andreas Jaeger <aj@suse.de>
4216
4217 [BZ #13594]
4218 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
4219 out from...
4220 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
4221 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
4222 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
4223 code changing __hst_map_handle.map.
4224
ba75122d
RM
42252012-05-15 Roland McGrath <roland@hack.frob.com>
4226
4227 * configure.in (sysnames): Look for Implies-before and Implies-after
4228 files.
4229 * configure: Regenerated.
4230
890d8bd8
L
42312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4232
4233 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
4234 8-byte data alignment with LP_SIZE alignment.
4235
f6ee6623
L
42362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4237
4238 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
4239 into R10_LP.
4240
ea2626f6
L
42412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4242
4243 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
4244
085f715e
L
42452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4246
4247 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
4248 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
4249 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
4250 Likewise.
4251 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4252
be8498fc
L
42532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4254
4255 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
4256 (stackinfo_sub_sp): Likewise.
4257
70bc83b9
L
42582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4259
4260 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
4261 RAX_LP.
4262
9bc0b730
L
42632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4264
4265 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
4266 into R*_LP.
4267
6d2850e7
L
42682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4269
4270 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
4271 sizes into R*_LP.
4272
3cb84561
L
42732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4274
4275 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4276
54e2ed81
L
42772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4278
4279 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4280 into R11_LP and load __x86_64_shared_cache_size_half into
4281 R8_LP.
4282
8a17f349
L
42832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4284
4285 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4286 R8_LP.
4287
777b1eea
AZ
42882012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4289
4290 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4291 logb for POWER7.
4292 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4293 logbf for POWER7.
4294 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4295 logbl for POWER7.
4296 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4297 powerpc32/power7/fpu/s_logb.c via #include.
4298 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4299 powerpc32/power7/fpu/s_logbf.c via #include.
4300 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4301 powerpc32/power7/fpu/s_logbl.c via #include.
4302
d20d4ac2
JM
43032012-05-15 Joseph Myers <joseph@codesourcery.com>
4304
4305 * README.libm: Remove file.
4306
6cdef1ab
L
43072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4308
4309 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4310 count for x32. Use R*_LP and omit operand-size suffix.
4311
0b254d8f
L
43122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4313
4314 * shlib-versions: Move x86_64-.*-linux.* entries to ...
4315 * sysdeps/x86_64/64/shlib-versions: Here. New file.
4316 * sysdeps/x86_64/x32/shlib-versions: New file.
4317
ceb809dc
RM
43182012-05-14 Roland McGrath <roland@hack.frob.com>
4319
4320 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4321 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4322 Use _dl_fatal_printf instead.
4323
37f1abd4
JM
43242012-05-14 Joseph Myers <joseph@codesourcery.com>
4325
4326 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4327 set if not set by the user. Do not allow for being unset.
4328 * sysdeps/unix/sysv/linux/configure: Regenerated.
4329
11de3a33
L
43302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4331
4332 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4333 the `q' suffix from lea and replace .quad with ASM_ADDR.
4334
e02f153a
L
43352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4336
4337 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4338 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
4339 instead of $17.
4340 (PTR_DEMANGLE): Likewise.
4341
520ae0fd
L
43422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4343
4344 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4345 (LP_OP): Likewise.
4346 (ASM_ADDR): Likewise.
4347 (RAX_LP): Likewise.
4348 (RBP_LP): Likewise.
4349 (RBX_LP): Likewise.
4350 (RCX_LP): Likewise.
4351 (RDI_LP): Likewise.
4352 (RSI_LP): Likewise.
4353 (RSP_LP): Likewise.
4354 (R8_LP): Likewise.
4355 (R9_LP): Likewise.
4356 (R10_LP): Likewise.
4357 (R10_LP): Likewise.
4358 (R11_LP): Likewise.
4359 (R12_LP): Likewise.
4360 (R13_LP): Likewise.
4361 (R14_LP): Likewise.
4362 (R15_LP): Likewise.
4363
b985be81
L
43642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4365
4366 * sysdeps/x86_64/x32/dl-machine.h: New file.
4367
6a4888ff
AJ
43682012-05-14 Andreas Jaeger <aj@suse.de>
4369
4370 * manual/Makefile (subdir): Remove export of subdir.
4371 (all): Remove target.
4372 (.PHONY): Remove all from list.
4373 (mkinstalldirs): Remove.
4374 (.PHONY): Remove installdirs from list.
4375 ($(inst_infodir)/libc.info): Use make-target-directory.
4376 (installdirs): Remove.
4377 (subdir_%): Remove.
4378 (glibc-targets): Remove.
4379 (lib): Remove.
4380 (stubs): Remove.
4381 ($(objpfx)stubs ../po/manual.pot): Remove.
4382 ($(objpfx)stamp%): Remove.
4383 (make-target-directory): Remove.
4384 (subdir_install): Remove.
4385 (routines): Remove.
4386 (aux): Remove.
4387 (sources): Remove.
4388 (objects): Remove.
4389 (headers): Remove.
4390
4391 [BZ #13750]
4392 * manual/.gitignore: Remove, it's not needed anymore.
4393 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
4394 all files in it.
4395 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
4396 directory.
4397 (texis): Renamed to $(objpfx)texis.
4398 (texis-path): New, contains path to generated files.
4399 (chapters.%): Use texis-path for complete path, add extra argument
4400 libc-texinfo.sh.
4401 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
4402 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
4403 (summary,texi, stamp-summary): Use complete path of
4404 files. Generate files in build dir.
4405 (dir-add.texi): Build in build dir.
4406 (libm-err.texi,stamp-libm-err): Likewise.
4407 (version.texi, stamp-version): Likewise.
4408 (.%c.texi): Likewise.
4409 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
4410 (mostlyclean): Remove target.
4411 (realclean): Remove target.
4412 (generated): Add new variable with contents from mostlyclean and
4413 realclean, remove entries duplicated in common-mostlyclean, add
4414 stamp-libm-err and stamp-version.
4415 (generated-dirs): Add libc directory.
4416 ($(inst_infodir)/libc.info): Install files from build dir.
4417
4418 * manual/install.texi (Configuring and compiling): Adjust since
4419 the info files are not part of the tar ball anymore.
4420
7ac77294
AJ
44212012-05-14 Andreas Jaeger <aj@suse.de>
4422
4423 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
4424 variable.
4425
ffb7875d
JM
44262012-05-14 Joseph Myers <joseph@codesourcery.com>
4427
4428 [BZ #13717]
4429 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4430 to 2.2.0 where earlier.
4431 * sysdeps/unix/sysv/linux/configure: Regenerated.
4432 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
4433 Remove conditional code.
4434 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
4435 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
4436 Remove conditional code.
4437 [!__NR_lchown]: Likewise.
4438 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4439 [__NR_lchown]: Likewise.
4440 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
4441 comment referencing __ASSUME_LCHOWN_SYSCALL.
4442 * sysdeps/unix/sysv/linux/i386/sigaction.c
4443 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4444 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4445 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
4446 Remove conditional code.
4447 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
4448 (__protocol_available): Remove #if 0 code.
4449 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
4450 conditional code.
4451 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
4452 * sysdeps/unix/sysv/linux/kernel-features.h
4453 (__ASSUME_GETCWD_SYSCALL): Don't define.
4454 (__ASSUME_REALTIME_SIGNALS): Likewise.
4455 (__ASSUME_PREAD_SYSCALL): Likewise.
4456 (__ASSUME_PWRITE_SYSCALL): Likewise.
4457 (__ASSUME_POLL_SYSCALL): Likewise.
4458 (__ASSUME_LCHOWN_SYSCALL): Likewise.
4459 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
4460 non-SPARC.
4461 (__ASSUME_SIOCGIFNAME): Don't define.
4462 (__ASSUME_MSG_NOSIGNAL): Likewise.
4463 (__ASSUME_SENDFILE): Define unconditionally.
4464 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
4465 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
4466 conditional code.
4467 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
4468 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
4469 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4470 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4471 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
4472 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4473 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
4475 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4476 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4478 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4479 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
4481 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4482 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4484 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4485 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
4487 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4488 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4490 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4491 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
4493 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4494 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4496 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4497 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4498 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
4499 Remove conditional code.
4500 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4501 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4502 Remove conditional code.
4503 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4504 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
4505 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
4506 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4507 Remove conditional code.
4508 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4509 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
4510 Remove conditional code.
4511 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4512 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
4513 Remove conditional code.
4514 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4515 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4516 Remove conditional code.
4517 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4518 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4519 Remove conditional code.
4520 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4521 * sysdeps/unix/sysv/linux/sh/pwrite64.c
4522 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4523 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4524 * sysdeps/unix/sysv/linux/sigaction.c
4525 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4526 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4527 * sysdeps/unix/sysv/linux/sigpending.c
4528 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4529 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4530 * sysdeps/unix/sysv/linux/sigprocmask.c
4531 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4532 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4533 * sysdeps/unix/sysv/linux/sigsuspend.c
4534 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4535 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4536 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4537 (__libc_missing_rt_sigs): Remove.
4538 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
4539 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
4540 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
4541 Remove conditional code.
4542 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
4543 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
4544 return 1.
4545 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
4546 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
4547 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
4548 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
4549
1bfb7291
AJ
45502012-05-14 Andreas Jaeger <aj@suse.de>
4551
caae5a81
AJ
4552 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
4553 it's not used in glibc.
4554 (__coshm1): Likewise.
4555 (__acosh1p): Likewise.
4556 (__sgn): Likewise.
4557
1bfb7291
AJ
4558 * manual/string.texi (Copying and Concatenation): Add missing
4559 variable in concat example.
4560 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4561
c044d724
L
45622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4563
144c5467 4564 [BZ #14103]
c044d724
L
4565 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
4566 __builtin_clzl with __builtin_clzll.
4567
2523c62b
L
45682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4569
4570 [BZ #14104]
4571 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
4572 libc_freeres_ptr.
4573
d7bb4c42
LD
45742012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4575
4576 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
4577 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
4578 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
4579 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
4580
9dc4e1fb
MF
45812012-05-14 Mike Frysinger <vapier@gentoo.org>
4582
4583 * NEWS: Update ia64 info.
4584
c7df0112
AS
45852012-05-12 Andreas Schwab <schwab@linux-m68k.org>
4586
4587 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
4588 used as bcopy.
4589
dc70356c
TS
45902012-05-12 Thomas Schwinge <thomas@codesourcery.com>
4591
4592 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
4593 * sysdeps/unix/syscalls.list (dup3): Likewise.
4594 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
4595 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
4596
9fb1a21f
L
45972012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4598
4599 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
4600 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
4601
4822a2a5
L
46022012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4603
4604 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
4605 thread pointer.
4606 (TLS_IE): Use mov/add instead of movq/addq to load thread
4607 pointer.
4608 (TLS_GD_PREFIX): New.
4609 (TLS_GD): Use it.
4610
842b81d6
DM
46112012-05-11 David S. Miller <davem@davemloft.net>
4612
4613 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
4614 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
4615 (_FPU_SETCW): Likewise.
4616
1cf463cd
L
46172012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4618
4619 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
4620 is 32-byte aligned.
4621
60cc4a18
AS
46222012-05-11 Andreas Schwab <schwab@linux-m68k.org>
4623
4624 [BZ #11837]
4625 * iconvdata/gb18030.c: Update tables.
4626 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
4627 characters specially.
4628 (BODY for TO_LOOP): Add encoding of missing ranges.
4629
febb44a4
TS
46302012-05-11 Thomas Schwinge <thomas@codesourcery.com>
4631
4632 [BZ #13673]
4633 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
4634 * sysdeps/mach/hurd/dup3.c: Likewise.
4635 * sysdeps/mach/hurd/readlinkat.c: Likewise.
4636 * sysdeps/powerpc/memmove.c:: Likewise.
4637
0a10fb9e
L
46382012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4639
4640 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
4641 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
4642
df8a552f
L
46432012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4644
4645 * elf/elf.h (R_X86_64_RELATIVE64): New.
4646 (R_X86_64_NUM): Updated.
4647 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4648 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
4649 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
4650 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
4651 tst-quad1pie tst-quad2pie
4652 (modules-names): Add tst-quadmod1 tst-quadmod2.
4653 ($(objpfx)tst-quad1): New dependency.
4654 ($(objpfx)tst-quad2): Likewise.
4655 ($(objpfx)tst-quad1pie): Likewise.
4656 ($(objpfx)tst-quad2pie): Likewise.
4657 * sysdeps/x86_64/tst-quad1.c: New file.
4658 * sysdeps/x86_64/tst-quad1pie.c: New file.
4659 * sysdeps/x86_64/tst-quad2.c: Likewise.
4660 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
4661 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
4662 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
4663 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
4664 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
4665
f34d6f84
ST
46662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4667
f42d41d1
ST
4668 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
4669 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
4670 * streams/stropts.h (t_scalar_t): Define type.
4671
3c3571fc
ST
4672 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
4673 (_PATH_PRESERVE): Set to "/var/lib".
4674 (_PATH_RWHODIR): Set to "/var/spool/rwho".
4675
61f06bd3
ST
4676 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
4677 instead of int.
4678
918d4d71
ST
4679 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
4680 if __dir_mkfile succeeded.
4681
f34d6f84
ST
4682 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
4683 checking for _hurd_dtablesize. Unlock it right after having
4684 finished _hurd_dtable allocation.
4685
10589b4a
TS
46862012-05-10 Thomas Schwinge <thomas@schwinge.name>
4687
674cdbc7
TS
4688 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
4689 * sysdeps/mach/hurd/configure: Regenerated.
4690 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
4691 special-casing to...
4692 * sysdeps/gnu/configure.in: ... this new file.
4693 * sysdeps/unix/sysv/linux/configure: Regenerated.
4694 * sysdeps/gnu/configure: New generated file.
4695
8e41b99f
TS
4696 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
4697 for Linux: use nsec instead of usec, as well as:
4698 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
4699 members of type struct timespec.
4700 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
4701 New macros.
4702 (struct stat64): Likewise.
4703 (_STATBUF_ST_NSEC): New macro.
4704 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
4705
10589b4a
TS
4706 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4707 __strtoul_internal rather than strtoul.
4708
63643c85
PT
47092012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4710
4711 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
4712 and reject them.
4713
3faebe6a
ST
47142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4715
4716 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
4717 which preserves existing values.
4718 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
4719
c6474b07
PT
47202012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4721
4722 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
4723 TIMEOUT values. Return EINVAL for NFDS values either negative or
4724 greater than FD_SETSIZE.
4725
1043890b
ST
47262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4727
4728 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
4729 allocated, call __vm_protect to finish enabling the existing space, and
4730 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
4731 allocate the remainder.
4732
37ed8b9b
PT
47332012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4734
4735 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
4736 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
4737
db653660
ST
47382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4739
37ed8b9b
PT
4740 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
4741 sysdeps/mach/hurd/readlink.c.
b29d4053 4742
db653660
ST
4743 * posix/tst-sysconf.c (posix_options): Only use
4744 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
4745 _POSIX_SYNCHRONIZED_IO when they are defined
4746 * sysdeps/mach/hurd/bits/posix_opt.h:
4747 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
4748 (_XOPEN_REALTIME): Undefine macro.
4749 (_XOPEN_REALTIME_THREADS): Undefine macro.
4750 (_XOPEN_SHM): Undefine macro.
4751 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
4752 macro to -1.
4753 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
4754 macro to -1.
4755 (_POSIX_ASYNC_IO): Undefine macro.
4756 (_POSIX_PRIORITIZED_IO): Undefine macro.
4757 (_POSIX_SPIN_LOCKS): Define macro to -1.
4758
ee16e894
ST
4759 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
4760 SA_NODEFER, SA_RESETHAND.
4761 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
4762 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
4763 F_DUPFD_CLOEXEC.
4764
6103ae3b
TS
47652012-05-10 Thomas Schwinge <thomas@schwinge.name>
4766
4767 * elf/Makefile (pldd-modules): Define unconditionally.
4768
80b4e5f3
TS
47692012-05-10 Thomas Schwinge <thomas@schwinge.name>
4770
4771 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
4772
edadcbd6
ST
47732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4774
4775 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
4776 Return ENOENT when name is empty.
4777 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
4778
80694780
TS
47792012-05-10 Thomas Schwinge <thomas@schwinge.name>
4780
1792c087
TS
4781 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
4782
80694780
TS
4783 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
4784
6b645f0d
ST
47852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4786
80694780
TS
4787 Fix mlock in all cases except non-readable pages.
4788 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
4789 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 4790
6b645f0d
ST
4791 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
4792 (__mkdir): When path is `/', just fail with EEXIST.
4793 * sysdeps/mach/hurd/mkdirat.c: Likewise.
4794
e468f8a3
TS
47952012-05-10 Thomas Schwinge <thomas@schwinge.name>
4796
4797 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
4798 <sys/uio.h> (for writev).
4799 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
4800 and <sys/param.h> (for MIN).
4801
a4186cff
PT
48022012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4803
4804 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
4805 REQUESTED_TIME. Properly set the remaining time and return EINTR
4806 if interrupted.
4807
510bbf14
TS
48082012-05-10 Thomas Schwinge <thomas@schwinge.name>
4809
4810 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
4811 Depend on against $(link-rpcuserlibs).
4812
5d5722e8
ST
48132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4814
a4186cff
PT
4815 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
4816 (__libc_stack_end): Do not use attribute_relro.
4817 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
4818 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 4819 to libthread-provided value.
a4186cff
PT
4820 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
4821 attribute_relro.
5d5722e8 4822
37233df9
TS
48232012-05-10 Thomas Schwinge <thomas@schwinge.name>
4824
be971a2b
TS
4825 [BZ #3748]
4826 * bits/libc-lock.h (__libc_once_get): New macro.
4827 * sysdeps/mach/bits/libc-lock.h: Likewise.
4828 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
4829 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
4830 instead of using implementation details.
4831
37233df9
TS
4832 * libio/fileops.c: Unconditionally include <kernel-features.h>.
4833 * libio/freopen.c: Likewise.
4834 * libio/freopen64.c: Likewise.
4835 * misc/syslog.c: Likewise.
4836 * nscd/connections.c: Likewise.
4837 * nscd/netgroupcache.c: Likewise.
4838 * sysdeps/posix/getcwd.c: Likewise.
4839
38de94a5
RM
48402012-05-10 Roland McGrath <roland@hack.frob.com>
4841
4842 * math/w_ilogbf.c: Add #include <limits.h>.
4843
67530489
ST
48442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4845
a4186cff 4846 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
4847 path instead of returning without unlocking.
4848
67530489
ST
4849 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
4850 immediate-write ioctls.
4851 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
4852
5aa3a74a
TS
48532012-05-10 Thomas Schwinge <thomas@schwinge.name>
4854
18bad2ae
TS
4855 * sysdeps/mach/hurd/i386/init-first.c (init): Use
4856 __builtin_frame_address instead of making assumptions about the
4857 location of the return address relative to DATA. Force early load of
4858 the return address.
4859 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
4860 __builtin_frame_address.
4861
5aa3a74a
TS
4862 dup3 for GNU Hurd.
4863 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
4864 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
4865 implement dup3 and do some further code clean-ups.
4866 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
4867 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
4868
ecd0de9a
ST
48692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4870
cd9fa985
ST
4871 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
4872
a4186cff
PT
4873 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
4874 HURD_CRITICAL_END around holding _hurd_dtable_lock.
4875 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
4876 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
4877 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
4878 d->port.lock.
802ca5a5 4879
a4186cff
PT
4880 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
4881 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
4882 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 4883
bcf55240
TS
48842012-05-10 Thomas Schwinge <thomas@schwinge.name>
4885
6960eb42
TS
4886 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
4887 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
4888 definitions.
4889
eb43375f
TS
4890 accept4 for GNU Hurd.
4891 * include/sys/socket.h (__libc_accept4): New prototype.
4892 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
4893 to implement __libc_accept4.
4894 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
4895 __libc_accept4.
4896 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
4897
bcf55240
TS
4898 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
4899 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
4900 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
4901 signal-defines.sym.
4902
6178c55b
ST
49032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4904
a4186cff 4905 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 4906
6f080c2f
TS
49072012-05-10 Thomas Schwinge <thomas@schwinge.name>
4908
4909 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
4910 assertion on O_CLOEXEC flag.
4911 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
4912 * hurd/intern-fd.c: Likewise.
4913 * hurd/port2fd.c: Likewise.
4914
bcfe3a54
ST
49152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4916
4917 [BZ #3906]
4918 * bits/in.h (IPV6_PKTINFO): Define new macro.
4919 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
4920
89c9aa49
AZ
49212012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4922
4923 [BZ #13954]
4924 [BZ #13955]
4925 [BZ #13956]
4926 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
4927 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4928 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
4929 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4930 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4931 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4932 * math/libm-test.inc (logb_test) : Additional logb tests.
4933
021db4be
AJ
49342012-05-09 Andreas Schwab <schwab@linux-m68k.org>
4935 Andreas Jaeger <aj@suse.de>
4936
4937 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
4938 * configure: Regenerated.
4939 * config.h.in (LINK_OBSOLETE_RPC): New macro.
4940 * config.make.in (link-obsolete-rpc): New substituted variable.
4941 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
4942 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
4943 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4944 (shared-only-routines): Don't set it under [link-obsolete-rpc],
4945 so that libc.a contains the symbols.
4946 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4947 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
4948 * sunrpc/auth_none.c: Likewise.
4949 * sunrpc/auth_unix.c: Likewise.
4950 * sunrpc/authdes_prot.c: Likewise.
4951 * sunrpc/authuxprot.c: Likewise.
4952 * sunrpc/clnt_gen.c: Likewise.
4953 * sunrpc/clnt_perr.c: Likewise.
4954 * sunrpc/clnt_raw.c: Likewise.
4955 * sunrpc/clnt_simp.c: Likewise.
4956 * sunrpc/clnt_tcp.c: Likewise.
4957 * sunrpc/clnt_udp.c: Likewise.
4958 * sunrpc/clnt_unix.c: Likewise.
4959 * sunrpc/des_crypt.c: Likewise.
4960 * sunrpc/des_soft.c: Likewise.
4961 * sunrpc/get_myaddr.c: Likewise.
4962 * sunrpc/key_call.c: Likewise.
4963 * sunrpc/key_prot.c: Likewise.
4964 * sunrpc/netname.c: Likewise.
4965 * sunrpc/pm_getmaps.c: Likewise.
4966 * sunrpc/pm_getport.c: Likewise.
4967 * sunrpc/pmap_clnt.c: Likewise.
4968 * sunrpc/pmap_prot.c: Likewise.
4969 * sunrpc/pmap_prot2.c: Likewise.
4970 * sunrpc/pmap_rmt.c: Likewise.
4971 * sunrpc/publickey.c: Likewise.
4972 * sunrpc/rpc_cmsg.c: Likewise.
4973 * sunrpc/rpc_common.c: Likewise.
4974 * sunrpc/rpc_dtable.c: Likewise.
4975 * sunrpc/rpc_prot.c: Likewise.
4976 * sunrpc/rpc_thread.c: Likewise.
4977 * sunrpc/rtime.c: Likewise.
4978 * sunrpc/svc.c: Likewise.
4979 * sunrpc/svc_auth.c: Likewise.
4980 * sunrpc/svc_raw.c: Likewise.
4981 * sunrpc/svc_run.c: Likewise.
4982 * sunrpc/svc_tcp.c: Likewise.
4983 * sunrpc/svc_udp.c: Likewise.
4984 * sunrpc/svc_unix.c: Likewise.
4985 * sunrpc/svcauth_des.c: Likewise.
4986 * sunrpc/xcrypt.c: Likewise.
4987 * sunrpc/xdr.c: Likewise.
4988 * sunrpc/xdr_array.c: Likewise.
4989 * sunrpc/xdr_float.c: Likewise.
4990 * sunrpc/xdr_intXX_t.c: Likewise.
4991 * sunrpc/xdr_mem.c: Likewise.
4992 * sunrpc/xdr_rec.c: Likewise.
4993 * sunrpc/xdr_ref.c: Likewise.
4994 * sunrpc/xdr_sizeof.c: Likewise.
4995 * sunrpc/xdr_stdio.c: Likewise.
4996
b5c086a2
RM
49972012-05-10 Roland McGrath <roland@hack.frob.com>
4998
4999 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
5000 change. Update copyright years.
5001
6d74dd09
JM
50022012-05-10 Joseph Myers <joseph@codesourcery.com>
5003
5004 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
5005
28e72501
MK
50062012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
5007 Joseph Myers <joseph@codesourcery.com>
5008 Paul Pluzhnikov <ppluzhnikov@google.com>
5009
5010 [BZ #14012]
5011 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
5012 requiring rpcgen.
5013 [cross-compiling] (extra-libs): Likewise.
5014 [cross-compiling] (extra-libs-others): Likewise.
5015 [cross-compiling] (librpcsvc-routines): Likewise.
5016 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
5017 [cross-compiling] (omit-deps): Likewise.
5018 (sunrpc-CPPFLAGS): New variable.
5019 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
5020 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
5021 (cross-rpcgen-objs): New variable.
5022 (extra-objs): Append $(cross-rpcgen-objs).
5023 ($(cross-rpcgen-objs)): New rule.
5024 ($(objpfx)cross-rpcgen): Likewise.
5025 (rpcgen-cmd): Define to use $(built-program-file). Expand
5026 comment.
5027 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
5028 ($(objpfx)x%.stmp): Likewise.
5029 * sunrpc/proto.h [IS_IN_build] (_): Define.
5030 [IS_IN_build] (_libc_intl_domainname): Likewise.
5031
c8c59454
L
50322012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5033
5034 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
5035 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
5036 and R_X86_64_TPOFF64.
5037
6f27cd16
JM
50382012-05-10 Joseph Myers <joseph@codesourcery.com>
5039
5040 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
5041 sysdeps/unix/sysv/syscalls.list.
5042 (stime): Likewise.
5043 (utime): Likewise.
5044 * sysdeps/unix/sysv/syscalls.list: Remove file.
5045
02467e1c
PE
50462012-05-10 Paul Eggert <eggert@cs.ucla.edu>
5047
5048 [BZ #3440]
5049 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
5050 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
5051 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
5052 (__LC_IDENTIFICATION): Make these macros useful in #if
5053 expressions, as required by C99.
5054
da392631
AS
50552012-05-10 Andreas Schwab <schwab@linux-m68k.org>
5056
5057 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
5058 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
5059 after this.
5060
8115f29b
L
50612012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5062
5063 * stdlib/longlong.h: Updated from GCC.
5064
bdd74070
AJ
50652012-05-09 Andreas Jaeger <aj@suse.de>
5066
edfe0dbe
AJ
5067 * nscd/nscd.c (run_modes): Make named enum, reorder so that
5068 default is first entry.
5069 (run_mode): Set type.
5070 (main): Remove informal message about syslog.
5071 (options): Fix typo.
5072
bcfe3a54
ST
5073 [BZ #14053]
5074 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 5075 to asm.
bcfe3a54
ST
5076 (lrint): Likewise.
5077 (llrintf): Likewise.
5078 (llrint): Likewise.
5079 (rint): Likewise.
5080 (rintf): Likewise.
5081 (nearbyint): Likewise.
5082 (nearbyintf): Likewise.
bdd74070 5083
91d8d69e
AJ
50842012-05-09 Andreas Jaeger <aj@suse.de>
5085 Pedro Alves <palves@redhat.com>
5086
5087 * nscd/nscd.c (run_mode): Use enum.
5088 (main): Cleanup coding style issue.
5089
bb90b80b
AJ
50902012-05-09 Alexandre Oliva <aoliva@redhat.com>
5091 Andreas Jaeger <aj@suse.de>
5092
bcfe3a54
ST
5093 * nscd/nscd.c (go_background): Replaced with...
5094 (run_mode): ... this.
bb90b80b 5095 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
5096 (options): Add -F --foreground.
5097 (main): Implement it.
5098 (parse_opt): Parse it.
bb90b80b 5099
1a4b75a1
AJ
51002012-05-09 Andreas Jaeger <aj@suse.de>
5101
5102 [BZ #14083]
5103 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
5104 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
5105 -Wconversion warning.
5106 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
5107 Likewise.
5108
b1cc2472
JM
51092012-05-09 Joseph Myers <joseph@codesourcery.com>
5110
5111 * conform/data/locale.h-data (NULL): Use macro-constant. Require
5112 == 0.
5113 (LC_ALL): Use macro-int-constant.
5114 (LC_COLLATE): Likewise.
5115 (LC_CTYPE): Likewise.
5116 (LC_MESSAGES): Likewise.
5117 (LC_MONETARY): Likewise.
5118 (LC_NUMERIC): Likewise.
5119 (LC_TIME): Likewise.
5120 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
5121 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5122 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5123 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
5124 Specify type.
5125 [C99-based standards] (float_t): Expect type.
5126 [C99-based standards] (double_t): Expect type.
5127 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
5128 type.
5129 [C99-based standards] (HUGE_VALL): Likewise.
5130 [C99-based standards] (INFINITY): Likewise.
5131 [C99-based standards] (NAN): Likewise.
5132 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
5133 [C99-based standards] (FP_NAN): Likewise.
5134 [C99-based standards] (FP_NORMAL): Likewise.
5135 [C99-based standards] (FP_SUBNORMAL): Likewise.
5136 [C99-based standards] (FP_ZERO): Likewise.
5137 [C99-based standards] (FP_FAST_FMA): Use
5138 optional-macro-int-constant. Specify type. Require == 1.
5139 [C99-based standards] (FP_FAST_FMAF): Likewise.
5140 [C99-based standards] (FP_FAST_FMAL): Likewise.
5141 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
5142 [C99-based standards] (FP_ILOGBNAN): Likewise.
5143 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
5144 Specify type.
5145 [C99-based standards] (MATH_ERREXCEPT): Likewise.
5146 [C99-based standards] (math_errhandling): Specify type.
5147 [ISO99 || ISO11] (signgam): Do not allow.
5148 [non-C99-based standards] (copysignf): Do not allow.
5149 [non-C99-based standards] (exp2f): Likewise.
5150 [non-C99-based standards] (log2f): Likewise.
5151 [non-C99-based standards] (modff): Allow.
5152 [non-C99-based standards] (erff): Do not allow.
5153 [non-C99-based standards] (erfcf): Likewise.
5154 [non-C99-based standards] (gammaf): Likewise.
5155 [non-C99-based standards] (hypotf): Likewise.
5156 [non-C99-based standards] (j0f): Likewise.
5157 [non-C99-based standards] (j1f): Likewise.
5158 [non-C99-based standards] (jnf): Likewise.
5159 [non-C99-based standards] (lgammaf): Likewise.
5160 [non-C99-based standards] (tgammaf): Likewise.
5161 [non-C99-based standards] (y0f): Likewise.
5162 [non-C99-based standards] (y1f): Likewise.
5163 [non-C99-based standards] (ynf): Likewise.
5164 [non-C99-based standards] (isnanf): Likewise.
5165 [non-C99-based standards] (acoshf): Likewise.
5166 [non-C99-based standards] (asinhf): Likewise.
5167 [non-C99-based standards] (atanhf): Likewise.
5168 [non-C99-based standards] (cbrtf): Likewise.
5169 [non-C99-based standards] (expm1f): Likewise.
5170 [non-C99-based standards] (ilogbf): Likewise.
5171 [non-C99-based standards] (log1pf): Likewise.
5172 [non-C99-based standards] (logbf): Likewise.
5173 [non-C99-based standards] (nextafterf): Likewise.
5174 [non-C99-based standards] (remainderf): Likewise.
5175 [non-C99-based standards] (rintf): Likewise.
5176 [non-C99-based standards] (scalbf): Likewise.
5177 [non-C99-based standards] (copysignl): Likewise.
5178 [non-C99-based standards] (exp2l): Likewise.
5179 [non-C99-based standards] (log2l): Likewise.
5180 [non-C99-based standards] (modfl): Allow.
5181 [non-C99-based standards] (erfl): Do not allow.
5182 [non-C99-based standards] (erfcl): Likewise.
5183 [non-C99-based standards] (gammal): Likewise.
5184 [non-C99-based standards] (hypotl): Likewise.
5185 [non-C99-based standards] (j0l): Likewise.
5186 [non-C99-based standards] (j1l): Likewise.
5187 [non-C99-based standards] (jnl): Likewise.
5188 [non-C99-based standards] (lgammal): Likewise.
5189 [non-C99-based standards] (tgammal): Likewise.
5190 [non-C99-based standards] (y0l): Likewise.
5191 [non-C99-based standards] (y1l): Likewise.
5192 [non-C99-based standards] (ynl): Likewise.
5193 [non-C99-based standards] (isnanl): Likewise.
5194 [non-C99-based standards] (acoshl): Likewise.
5195 [non-C99-based standards] (asinhl): Likewise.
5196 [non-C99-based standards] (atanhl): Likewise.
5197 [non-C99-based standards] (cbrtl): Likewise.
5198 [non-C99-based standards] (expm1l): Likewise.
5199 [non-C99-based standards] (ilogbl): Likewise.
5200 [non-C99-based standards] (log1pl): Likewise.
5201 [non-C99-based standards] (logbl): Likewise.
5202 [non-C99-based standards] (nextafterl): Likewise.
5203 [non-C99-based standards] (remainderl): Likewise.
5204 [non-C99-based standards] (rintl): Likewise.
5205 [non-C99-based standards] (scalbl): Likewise.
5206 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5207 [non-C99-based standards] (FP_*): Do not allow.
5208 [C99-based standards] (FP_*): Change to
5209 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5210 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5211 allow.
5212 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
5213 (SIG_ERR): Likewise.
5214 [X/Open-based standards] (SIG_HOLD): Likewise.
5215 (SIG_IGN): Likewise.
5216 (SIGABRT): Use macro-int-constant. Specify type. Require
5217 positive value.
5218 (SIGFPE): Likewise.
5219 (SIGILL): Likewise.
5220 (SIGINT): Likewise.
5221 (SIGSEGV): Likewise.
5222 (SIGTER): Likewise.
5223 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
5224 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
5225 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
5226 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
5227 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
5228 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
5229 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
5230 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
5231 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
5232 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
5233 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
5234 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
5235 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
5236 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
5237 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
5238 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
5239 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
5240 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
5241 [X/Open-based standards] (SIGTRAP): Likewise.
5242 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
5243 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
5244 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
5245 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
5246 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5247 allow.
5248
b9f1922d
IW
52492012-05-08 Ian Wienand <ianw@vmware.com>
5250
5251 [BZ #14080]
5252 * time/tzset.c (__tzset_parse_tz): Update default rules for
5253 daylight time changes in the Energy Policy Act of 2005.
5254
1db86e88
AJ
52552012-05-09 Andreas Jaeger <aj@suse.de>
5256
5257 [BZ #13983]
5258 * elf/ldconfig.c (parse_conf): Change string to make clear that
5259 ldconfig only issued a warning if ld.so.conf does not exist.
5260
dee4a4e3
DM
52612012-05-08 David S. Miller <davem@davemloft.net>
5262
ee0db190
DM
5263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
5264 movxtod instead of popping the value on the stack.
5265
dee4a4e3
DM
5266 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5267
6a43ec98
CD
52682012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
5269
5270 * config.h.in: Add HAVE_ARM_PCS_VFP.
5271
05c2c961
RMG
52722012-05-08 Roland Mc Grath <roland@hack.frob.com>
5273
bcfe3a54
ST
5274 [BZ #13979]
5275 * include/features.h: Warn if user requests __FORTIFY_SOURCE
5276 checking but the checks are disabled for any reason.
05c2c961 5277
4b30f61a
L
52782012-05-08 H.J. Lu <hongjiu.lu@intel.com>
5279
5280 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5281 and ELF64_R_TYPE with ELFW(R_TYPE).
5282
eee2bc67
JM
52832012-05-08 Joseph Myers <joseph@codesourcery.com>
5284
7ea5391a
JM
5285 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5286 (ulimit): Likewise.
5287
eee2bc67
JM
5288 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5289 (settimeofday): Likewise.
5290
abb66a67
MF
52912012-05-08 Mike Frysinger <vapier@gentoo.org>
5292
5293 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
5294 a struct th_u2 inside the union, and move tu_block/tu_code into
5295 a new th_u3 union of tu_block/tu_code inside of that. Move
5296 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
5297 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
5298 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5299 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5300 (th_stuff): Change to th_u1.tu_stuff.
5301 (th_data): Define.
5302 (th_msg): Change to th_u1.th_u2.tu_data.
5303
7f18b530
DM
53042012-05-07 David S. Miller <davem@davemloft.net>
5305
05760585
DM
5306 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5307
7f18b530
DM
5308 [BZ #14074]
5309 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5310 (SETUP_PIC_REG): Use it.
5311 (SETUP_PIC_REG_LEAF): Use it.
5312
495fd99f
JM
53132012-05-07 Joseph Myers <joseph@codesourcery.com>
5314
5315 [BZ #13885]
5316 [BZ #13923]
5317 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5318 USE_AS_EXPM1L.
5319 (EXPL_FINITE): Likewise.
5320 (FLDLOG): Likewise.
5321 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5322 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5323 e_expl.S.
5324 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5325 USE_AS_EXPM1L.
5326 (EXPL_FINITE): Likewise.
5327 (FLDLOG): Likewise.
5328 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5329 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5330 e_expl.S.
5331 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
5332 test of -max_value argument for long double.
5333 * sysdeps/i386/fpu/libm-test-ulps: Update.
5334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5335
6693d694
DM
53362012-05-06 David S. Miller <davem@davemloft.net>
5337
5338 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5339 quad soft-float symbols whose references which are compiler
5340 generated.
5341 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5342
6c23e11c
JM
53432012-05-06 Joseph Myers <joseph@codesourcery.com>
5344
d8b82cad
JM
5345 [BZ #13884]
5346 [BZ #13914]
5347 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5348 USE_AS_EXP10L.
5349 (EXPL_FINITE): Likewise.
5350 (FLDLOG): Likewise.
5351 (c0): Likewise.
5352 (c1): Likewise.
5353 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5354 Adjust comments for base varying.
5355 (__expl_finite): Change alias to EXPL_FINITE.
5356 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5357 e_expl.S.
5358 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5359 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5360 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5361 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5362 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5363 USE_AS_EXP10L.
5364 (EXPL_FINITE): Likewise.
5365 (FLDLOG): Likewise.
5366 (c0): Likewise.
5367 (c1): Likewise.
5368 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5369 Adjust comments for base varying.
5370 (__expl_finite): Change alias to EXPL_FINITE.
5371 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
5372 tests for bugs.
5373 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5374
6c23e11c
JM
5375 [BZ #14064]
5376 * math/libm-test.inc (check_float_internal): Correct ulp
5377 calculation for subnormal expected results.
5378
29ba805c
AJ
53792012-05-06 Andreas Jaeger <aj@suse.de>
5380
5381 * Makeconfig (+math-flags): New, set to -frounding-math.
5382 (+cflags): Add +math-flags so that all of glibc gets compiled with
5383 it.
5384
5385 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
5386
7b17aeda
JM
53872012-05-05 Joseph Myers <joseph@codesourcery.com>
5388
5779f134
JM
5389 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
5390 Disable one test.
5391
41498f4d
JM
5392 [BZ #13787]
5393 [BZ #13922]
5394 [BZ #14036]
5395 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
5396 (__ieee754_expl): Allow for and saturate large arguments.
5397 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
5398 (u_threshold): Likewise.
5399 (__exp): Call __ieee754_exp before checking for overflow and
5400 underflow.
5401 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
5402 (u_threshold): Likewise.
5403 (__expf): Call __ieee754_expf before checking for overflow and
5404 underflow.
5405 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
5406 (u_threshold): Likewise.
5407 (__expl): Call __ieee754_expl before checking for overflow and
5408 underflow.
5409 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
5410 (__ieee754_expl): Allow for and saturate large arguments.
5411 * math/libm-test.inc (exp_test): Add another test. Do not allow
5412 missing overflow exception on overflow.
5413 (expm1_test): Do not allow missing overflow exception on overflow.
5414
6698b8bf
JM
5415 * sysdeps/i386/fpu/e_expl.c: Move to ...
5416 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
5417 rather than using inline asm.
5418 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
5419 * sysdeps/x86_64/fpu/e_expl.S: Copy from
5420 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
5421
7b17aeda
JM
5422 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
5423 (nice): Likewise.
5424 (poll): Likewise.
5425 (signal): Likewise.
5426 (time): Likewise.
5427 (times): Likewise.
5428
f7c85819
JM
54292012-05-04 Joseph Myers <joseph@codesourcery.com>
5430
5431 * sysdeps/unix/syscalls.list (adjtime): Add entry from
5432 sysdeps/unix/common/syscalls.list.
5433 (fchmod): Likewise.
5434 (fchown): Likewise.
5435 (ftruncate): Likewise.
5436 (getrusage): Likewise.
5437 (gettimeofday): Likewise.
5438 (setpgid): Likewise.
5439 (setregid): Likewise.
5440 (setreuid): Likewise.
5441 (sigaction): Likewise.
5442 (truncate): Likewise.
5443 (vhangup): Likewise.
5444 * sysdeps/unix/common/syscalls.list: Remove file.
5445 * sysdeps/unix/bsd/Implies: Don't include unix/common.
5446 * sysdeps/unix/sysv/linux/Implies: Likewise.
5447
336270d0
L
54482012-05-04 H.J. Lu <hongjiu.lu@intel.com>
5449
5450 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
5451 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
5452 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
5453 Moved to ...
5454 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5455 Here.
5456 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
5457 to ...
5458 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
5459 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
5460 to ...
5461 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
5462 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
5463 to ...
5464 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
5465 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
5466 to ...
5467 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
5468 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
5469 to ...
5470 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
5471 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
5472 to ...
5473 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
5474 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
5475 to ...
5476 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5477 Here.
5478 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
5479 to ...
5480 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
5481 Here.
5482 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
5483 to ...
5484 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
5485 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
5486 Moved to ...
5487 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
5488 Here.
5489 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
5490 to ...
5491 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
5492
d128e450
JM
54932012-05-04 Joseph Myers <joseph@codesourcery.com>
5494
fa8ee516
JM
5495 * sysdeps/unix/common/bits/dirent.h: Remove file.
5496 * sysdeps/unix/common/bits/fcntl.h: Likewise.
5497
d128e450
JM
5498 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
5499 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
5500 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
5501 * sysdeps/unix/bsd/isatty.c: Likewise.
5502 * sysdeps/unix/bsd/tcdrain.c: Likewise.
5503 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
5504 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
5505
ff8faaf0 55062012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 5507
62881be4 5508 [BZ #13563]
31dc8730
AZ
5509 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
5510 long double comparison inaccuracies.
5511 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5512 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5513
6fef930c
AS
55142012-05-04 Andreas Schwab <schwab@linux-m68k.org>
5515
5516 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
5517 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
5518
8f203e6c
JM
55192012-05-04 Joseph Myers <joseph@codesourcery.com>
5520
5521 [BZ #14049]
5522 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
5523 nonzero digits before rounding a hex value.
5524 * stdlib/tst-strtod.c (tests): Add another test.
5525
5197d9c2
AK
55262012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5527
5528 * sysdeps/s390/fpu/libm-test-ulps: Update.
5529
f0c1dedf
AJ
55302012-05-03 Andreas Jaeger <aj@suse.de>
5531
5532 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
5533 does not get optimized out.
5534 (malloc_opt_barrier): New.
5535
a65ef2ae 55362012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 5537 Roland McGrath <roland@hack.frob.com>
a65ef2ae 5538
2b942cb7 5539 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 5540 intermediate file deletion.
2b942cb7 5541 (generated): Add .symlist files.
a65ef2ae 5542
54b71e02
JM
55432012-05-03 Joseph Myers <joseph@codesourcery.com>
5544
5545 [BZ #13775]
5546 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
5547 Redirect under this condition.
5548 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5549 [__USE_GNU] (__dprintf_chk): Not under this condition.
5550 [__USE_GNU] (__vdprintf_chk): Likewise.
5551 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
5552 under this condition.
5553 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5554 [__USE_XOPEN2K8] (dprintf): Define under this condition.
5555 [__USE_XOPEN2K8] (vdprintf): Likewise.
5556 [__USE_GNU] (__dprintf_chk): Not under this condition.
5557 [__USE_GNU] (__vdprintf_chk): Likewise.
5558 [__USE_GNU] (dprintf): Likewise.
5559 [__USE_GNU] (vdprintf): Likewise.
5560
d3dfcc41
RM
55612012-05-03 Roland McGrath <roland@hack.frob.com>
5562
5563 * elf/Makefile (common-generated): Set this instead of generated for
5564 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
5565 $(all-built-dso)-derived lists.
5566
7ac30cc5
AJ
55672012-05-03 Andreas Jaeger <aj@suse.de>
5568
0c51e550
AJ
5569 * sysdeps/i386/fpu/libm-test-ulps: Update.
5570
7ac30cc5
AJ
5571 * FAQ: Removed.
5572 * FAQ.in: Likewise.
5573 * scripts/gen-FAQ.pl: Likewise.
5574 * manual/install.texi (Installation): Point to online location of
5575 FAQ.
5576 * Makefile (files-for-dist): Remove FAQ.
5577 (FAQ): Remove.
5578
d4c2917f
AM
55792012-05-02 Allan McRae <allan@archlinux.org>
5580
5581 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
5582 (LDFLAGS-reldepmod5.so): Likewise.
5583 (LDFLAGS-reldep6mod1.so): Likewise.
5584 (LDFLAGS-reldep6mod4.so): Likewise.
5585 (LDFLAGS-reldep8mod3.so): Likewise.
5586 (LDFLAGS-unload4mod1.so): Likewise.
5587 (LDFLAGS-unload4mod2.so): Likewise.
5588 (LDFLAGS-tst-initorder): Likewise.
5589 (LDFLAGS-tst-initordera2.so): Likewise.
5590 (LDFLAGS-tst-initordera3.so): Likewise.
5591 (LDFLAGS-tst-initordera4.so): Likewise.
5592 (LDFLAGS-tst-initorderb2.so): Likewise.
5593 (LDFLAGS-noload): Likewise.
5594 (LDFLAGS-next): Likewise.
5595 (LDFLAGS-order2mod1.so): Likewise.
5596 (LDFLAGS-order2mod2.so): Likewise.
5597 (LDFLAGS-tst-initorder2): Likewise.
5598 (LDFLAGS-tst-initorder2a.so): Likewise.
5599 (LDFLAGS-tst-initorder2b.so): Likewise.
5600 (LDFLAGS-tst-initorder2c.so): Likewise.
5601 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
5602
d77f993f
DM
56032012-05-02 David S. Miller <davem@davemloft.net>
5604
5605 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5606
171a70b4
PP
56072012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
5608
5609 [BZ #14055]
5610 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
5611
0be196ad
AJ
56122012-05-02 Andreas Jaeger <aj@suse.de>
5613
5614 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
5615 since we manipulate rounding mode.
5616 (CPPFLAGS-test-idouble.c): Likewise.
5617 (CPPFLAGS-test-ifloat.c): Likewise.
5618 (CFLAGS-test-ldouble.c): Likewise.
5619 (CFLAGS-test-double.c): Likewise.
5620 (CFLAGS-test-float.c): Likewise.
5621 (CFLAGS-test-misc.c): Likewise.
5622 (CFLAGS-test-test-fenv.c): Likewise.
5623
4f9d04aa
AZ
56242012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5625
2b942cb7
RM
5626 [BZ #2550]
5627 [BZ #2570]
5628 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
5629 comparisons to determine direction to adjust input.
4f9d04aa 5630
82a79e7d
RM
56312012-05-01 Roland McGrath <roland@hack.frob.com>
5632
f5a01ca9
RM
5633 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
5634 output to the target.
5635
90fe4186
RM
5636 * scripts/localplt.awk: New file.
5637 * elf/Makefile ($(objpfx)check-localplt): Target removed.
5638 (check-localplt-CFLAGS): Variable removed.
5639 ($(all-built-dso:=.jmprel)): New static pattern rule.
5640 (generated): Add those targets.
5641 (localplt-built-dso): New variable.
5642 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
5643
5644 * elf/check-localplt.c: File removed.
5645
82397ed6
RM
5646 * scripts/check-execstack.awk: New file.
5647 * elf/Makefile ($(objpfx)check-execstack): Target removed.
5648 (check-execstack-CFLAGS): Variable removed.
5649 ($(objpfx)check-execstack.h): Target removed.
5650 ($(objpfx)execstack-default): New target.
5651 (generated): Add that instead of check-execstack.h.
5652 ($(all-built-dso:=.phdr)): New static pattern rule.
5653 (generated): Add those targets.
5654 * elf/check-execstack.c: File removed.
5655
82a79e7d
RM
5656 * scripts/check-textrel.awk: New file.
5657 * elf/Makefile ($(objpfx)check-textrel): Target removed.
5658 (check-textrel-CFLAGS): Variable removed.
5659 (all-built-dso): Use := to define.o
5660 ($(all-built-dso:=.dyn)): New static pattern rule.
5661 (generated): Add those targets.
5662 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
5663 * config.make.in (READELF): New substituted variable.
5664 * elf/check-textrel.c: File removed.
5665
62fde54f 56662012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 5667
615605c9
JM
5668 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5669 allow.
5670 * conform/data/ctype.h-data [C99-based standards] (isblank):
5671 Expect function.
5672 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
5673 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
5674 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5675 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
5676 Specify type. Require positive value.
5677 (EILSEQ): Likewise.
5678 (ERANGE): Likewise.
5679 [ISO || POSIX] (EILSEQ): Do not expect.
5680 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
5681 Specify type. Require positive value.
5682 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
5683 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
5684 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
5685 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
5686 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
5687 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
5688 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
5689 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
5690 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
5691 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
5692 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
5693 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
5694 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
5695 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
5696 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
5697 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
5698 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
5699 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
5700 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
5701 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
5702 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
5703 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
5704 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
5705 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
5706 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
5707 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
5708 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
5709 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
5710 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
5711 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
5712 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
5713 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
5714 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
5715 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
5716 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
5717 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
5718 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
5719 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
5720 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
5721 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
5722 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
5723 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
5724 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
5725 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
5726 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
5727 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
5728 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
5729 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
5730 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
5731 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
5732 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
5733 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
5734 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
5735 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
5736 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
5737 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
5738 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
5739 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
5740 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
5741 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
5742 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
5743 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
5744 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
5745 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
5746 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
5747 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
5748 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
5749 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
5750 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
5751 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
5752 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
5753 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
5754 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
5755 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
5756 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
5757 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
5758 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
5759 Require >= 2.
5760 (FLT_ROUNDS): Expect as macro, not constant.
5761 (FLT_MANT_DIG): Use macro-int-constant.
5762 (DBL_MANT_DIG): Likewise.
5763 (LDBL_MANT_DIG): Likewise.
5764 (FLT_DIG): Likewise.
5765 (DBL_DIG): Likewise.
5766 (LDBL_DIG): Likewise.
5767 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
5768 (DBL_MIN_EXP): Likewise.
5769 (LDBL_MIN_EXP): Likewise.
5770 (FLT_MAX_EXP): Use macro-int-constant.
5771 (DBL_MAX_EXP): Likewise.
5772 (LDBL_MAX_EXP): Likewise.
5773 (FLT_MAX_10_EXP): Likewise.
5774 (DBL_MAX_10_EXP): Likewise.
5775 (LDBL_MAX_10_EXP): Likewise.
5776 (FLT_MAX): Use macro-constant.
5777 (DBL_MAX): Likewise.
5778 (LDBL_MAX): Likewise.
5779 (FLT_EPSILON): Use macro-constant. Give upper bound.
5780 (DBL_EPSILON): Likewise.
5781 (LDBL_EPSILON): Likewise.
5782 (FLT_MIN): Likewise.
5783 (DBL_MIN): Likewise.
5784 (LDBL_MIN): Likewise.
5785 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
5786 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
5787 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
5788 [ISO11] (FLT_HAS_SUBNORM): Likewise.
5789 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
5790 [ISO11] (DBL_DECIMAL_DIG): Likewise.
5791 [ISO11] (FLT_DECIMAL_DIG): Likewise.
5792 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
5793 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
5794 [ISO11] (FLT_TRUE_MIN): Likewise.
5795 [ISO11] (LDBL_TRUE_MIN): Likewise.
5796 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5797 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
5798 (SCHAR_MIN): Use macro-int-constant. Specify type.
5799 (SCHAR_MAX): Likewise.
5800 (UCHAR_MAX): Likewise.
5801 (CHAR_MIN): Likewise.
5802 (CHAR_MAX): Likewise.
5803 (MB_LEN_MAX): Use macro-int-constant.
5804 (SHRT_MIN): Use macro-int-constant. Specify type.
5805 (SHRT_MAX): Likewise.
5806 (USHRT_MAX): Likewise.
5807 (INT_MAX): Likewise.
5808 (INT_MIN): Use macro-int-constant. Specify type. Make upper
5809 bound negative.
5810 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
5811 bound with "U".
5812 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5813 bound with "L".
5814 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
5815 bound negative. Suffix upper bound with "L".
5816 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5817 bound with "UL".
5818 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
5819 Specify type.
5820 [C99-based standards] (LLONG_MAX): Likewise.
5821 [C99-based standards] (ULLONG_MAX): Likewise.
5822 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
5823 == 0.
5824 [ISO11] (max_align_t): Require type.
5825 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5826
c9140a62
JM
5827 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
5828 from $CFLAGS, without defining away __attribute__ calls.
5829 (checknamespace): Use $CFLAGS_namespace.
5830
9af0bf29
JM
5831 * conform/conformtest.pl (@keywords): Only include C99 keywords
5832 for standards based on C99 or C11.
5833
343222a2
JM
5834 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
5835 Disable tests.
5836 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
5837 UNIX98]: Likewise.
5838
661f8cf0
JM
5839 * conform/conformtest.pl: Handle "macro-int-constant" and test for
5840 usability of symbols in #if.
5841
ee74b9cb
JM
5842 * conform/conformtest.pl: If macro or constant types start
5843 "promoted:", expect the symbol to be of the following type
5844 promoted by the integer promotions.
62fde54f 5845
aafc49b3
JM
5846 * conform/conformtest.pl: Parse all "constant" and "macro" lines
5847 in one place. Also handle "macro-constant".
5848
fefdf574
JM
5849 * conform/conformtest.pl: Only accept expected macro values with
5850 "==". Parse all "macro" lines in one place.
5851 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
5852
f2d922fe
JM
5853 * conform/conformtest.pl: Handle braced types on "constant" lines
5854 instead of handling "typed-constant".
5855 * conform/data/signal.h-data: Use "constant" instead of
5856 "typed-constant".
5857
d22956c9
JM
5858 * conform/conformtest.pl: Handle "optional-" at start of lines in
5859 one place rather than duplicating several cases. Handle each
5860 format of "macro" line with initial "optional-".
5861
028e2e38
JM
5862 * conform/conformtest.pl: Only accept expected constant or
5863 optional-constant values with "==". Parse all "constant" lines in
5864 one place. Parse all "optional-constant" lines in one place.
5865 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
5866 * conform/data/fmtmsg.h-data: Likewise.
5867 * conform/data/netinet/in.h-data: Likewise.
5868 * conform/data/tar.h-data: Likewise.
5869 * conform/data/limits.h-data: Use "==" form on "constant" and
5870 "optional-constant" lines.
5871
1b8f2850
JM
5872 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
5873 Use -std=c99 for XOPEN2K.
5874 (@knownproblems): Remove.
5875 (newtoken): Don't check %isknown.
5876
a05a144b
JM
5877 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
5878 Do not expect macro.
5879 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
5880 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
5881 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
5882 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
5883 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
5884 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
5885 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
5886 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
5887 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
5888 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
5889 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
5890 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
5891 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
5892 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
5893 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
5894 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
5895 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
5896 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
5897 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
5898 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
5899 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
5900 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
5901 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
5902 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
5903 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
5904 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
5905 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
5906 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
5907 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
5908 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
5909 [XPG3] (acosh): Likewise.
5910 [XPG3] (asinh): Likewise.
5911 [XPG3] (atanh): Likewise.
5912 [XPG3] (cbrt): Likewise.
5913 [XPG3] (expm1): Likewise.
5914 [XPG3] (ilogb): Likewise.
5915 [XPG3] (log1p): Likewise.
5916 [XPG3] (logb): Likewise.
5917 [XPG3] (nextafter): Likewise.
5918 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
5919 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
5920 [XPG3] (remainder): Likewise.
5921 [XPG3] (rint): Likewise.
5922 [XPG3 || XPG4 || UNIX98] (round): Likewise.
5923 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
5924 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
5925 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
5926 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
5927 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
5928 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
5929 [UNIX98 || XOPEN2K] (scalb): Expect.
5930 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
5931 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
5932 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
5933 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
5934 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
5935 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
5936 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
5937 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
5938 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
5939 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
5940 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
5941 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
5942 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
5943 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
5944 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
5945 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
5946 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
5947 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
5948 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
5949 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
5950 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
5951 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
5952 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
5953 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
5954 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
5955 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
5956 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
5957 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
5958 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
5959 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
5960 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
5961 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
5962 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
5963 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
5964 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
5965 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
5966 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
5967 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
5968 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
5969 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
5970 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
5971 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
5972 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
5973 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
5974 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
5975 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
5976 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
5977 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
5978 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
5979 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
5980 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
5981 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
5982 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
5983 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
5984 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
5985 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
5986 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
5987 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
5988 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
5989 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
5990 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
5991 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
5992 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
5993 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
5994 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
5995 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
5996 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
5997 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
5998 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
5999 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
6000 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
6001 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
6002 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
6003 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
6004 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
6005 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
6006 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
6007 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
6008 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
6009 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
6010 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
6011 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
6012 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
6013 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
6014 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
6015 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
6016 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
6017 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
6018 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
6019 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
6020 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
6021 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
6022 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
6023 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
6024 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
6025 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
6026 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
6027 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
6028 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
6029 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
6030 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
6031 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
6032 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
6033 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
6034 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
6035 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
6036 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
6037 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
6038 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
6039 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
6040 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
6041 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
6042 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
6043 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
6044 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
6045 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
6046 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
6047 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
6048 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
6049 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
6050 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
6051 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
6052 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
6053 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
6054 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
6055 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
6056 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
6057 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
6058 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
6059 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
6060 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
6061 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
6062 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
6063 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
6064 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
6065 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
6066 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
6067
73c5ebe3
JM
6068 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
6069 _XOPEN_SOURCE_EXTENDED for XPG4.
6070
39c33b6c
JM
6071 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
6072
62fde54f
JM
6073 * Makeconfig (localtime): Remove variable.
6074 (inst_localtime-file): Likewise.
6075
0741d64c
AS
60762012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6077
6078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6079 Update.
6080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6081 Update.
6082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6083 Update.
6084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6085 Update.
6086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6087 Update.
6088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
6089 Update.
6090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6091 Update.
6092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
6093 Update.
6094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6095 Update.
6096
7cb029ee
JM
60972012-05-01 Joseph Myers <joseph@codesourcery.com>
6098
6099 [BZ #2550]
6100 [BZ #2570]
6101 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6102 comparisons to determine direction to adjust input.
6103 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6104 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
6105 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6106 Likewise.
6107 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6108 Likewise.
6109 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6110 Likewise.
6111 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6112 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6113 Likewise.
6114 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6115 Likewise.
6116 * math/libm-test.inc (nexttoward_test): Add more tests.
6117
412bd966
AS
61182012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6119
6120 [BZ #14040]
6121 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
6122 in version GLIBC_2.1, not GLIBC_2.0.
6123 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
6124 Likewise.
6125
9568c0c2
JM
61262012-04-30 Joseph Myers <joseph@codesourcery.com>
6127
adfbc8ac
JM
6128 [BZ #13942]
6129 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
6130 (1 - x) * (1 + x).
6131 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6132 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
6133 * math/libm-test.inc (acos_test): Add more tests.
6134 (asin_test): Likewise.
6135 * sysdeps/i386/fpu/libm-test-ulps: Update.
6136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6137
5ba3cc69
JM
6138 [BZ #14034]
6139 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
6140 of square root.
6141 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
6142 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6143 * math/libm-test.inc (acos_test_tonearest): New function.
6144 (acos_test_towardzero): Likewise.
6145 (acos_test_downward): Likewise.
6146 (acos_test_upward): Likewise.
6147 (asin_test_tonearest): Likewise.
6148 (asin_test_towardzero): Likewise.
6149 (asin_test_downward): Likewise.
6150 (asin_test_upward): Likewise.
6151 (main): Call the new functions.
6152 * sysdeps/i386/fpu/libm-test-ulps: Update.
6153 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6154
9568c0c2
JM
6155 [BZ #13884]
6156 [BZ #13924]
6157 * math/e_exp10.c: Include <float.h>.
6158 (__ieee754_exp10): Handle underflow here rather than multiplying
6159 large negative argument by M_LN10.
6160 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
6161 of __ieee754_expf.
6162 * math/e_exp10l.c: Include <float.h>.
6163 (__ieee754_exp10l): Handle underflow here rather than multiplying
6164 large negative argument by M_LN10l.
6165 * math/libm-test.inc (exp10_test): Add another test. Do not allow
6166 spurious overflow exception on underflow.
6167
5ac3ea17
MP
61682012-04-29 Marek Polacek <polacek@redhat.com>
6169
6170 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
6171 (__fortify_function): New macro.
6172 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
6173 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
6174 __extern_always_inline.
6175 * libio/bits/stdio2.h: Likewise.
6176 * libio/bits/stdio.h: Likewise.
6177 * string/string.h: Likewise.
6178 * string/bits/string3.h: Likewise.
6179 * include/stdio.h: Likewise.
6180 * stdlib/bits/stdlib.h: Likewise.
6181 * stdlib/stdlib.h: Likewise.
6182 * rt/bits/mqueue2.h: Likewise.
6183 * rt/mqueue.h: Likewise.
6184 * posix/bits/unistd.h: Likewise.
6185 * posix/unistd.h: Likewise.
6186 * io/bits/poll2.h: Likewise.
6187 * io/bits/fcntl2.h: Likewise.
6188 * io/fcntl.h: Likewise.
6189 * io/sys/poll.h: Likewise.
6190 * misc/bits/syslog.h: Likewise.
6191 * misc/bits/syslog-ldbl.h: Likewise.
6192 * misc/sys/syslog.h: Likewise.
6193 * socket/bits/socket2.h: Likewise.
6194 * socket/sys/socket.h: Likewise.
6195 * debug/tst-chk1.c: Likewise.
6196 * wcsmbs/bits/wchar2.h: Likewise.
6197 * wcsmbs/bits/wchar-ldbl.h: Likewise.
6198 * wcsmbs/wchar.h: Likewise.
6199
ecf0ebfb
AJ
62002012-04-29 Andreas Jaeger <aj@suse.de>
6201
6202 * Makerules (tests): Remove enable-check-abi protection.
6203 (check-abi-warn): Remove.
6204 (check-abi-%): Remove check-abi-warn usage.
6205
6206 * configure.in: Remove check-abi configure option.
6207 * configure: Regenerated.
6208 * config.make.in (enable-check-abi): Remove.
6209
6d5c57fa
AS
62102012-04-28 Andreas Schwab <schwab@linux-m68k.org>
6211
24c5d07e 6212 [BZ #14033]
ded5180a
AS
6213 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
6214 double functions to double *_finite functions.
6215
7e0d315d
AS
6216 [BZ #13941]
6217 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
6218 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
6219 LDBL_MIN_EXP.
6220 * stdio-common/Makefile (tests): Add tst-sprintf3.
6221 * stdio-common/tst-sprintf3.c: New file.
6222
6d5c57fa
AS
6223 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
6224 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
6225
0749ff8b
JM
62262012-04-28 Joseph Myers <joseph@codesourcery.com>
6227
6228 * conform/conformtest.pl: Remove duplicate typed-constant
6229 handling.
6230
8dbd5d7b
DM
62312012-04-28 David S. Miller <davem@davemloft.net>
6232
6233 * Makerules (%.abilist): Add vpath on sysdep_dirs.
6234 (check-abi-%): Remove AWK script prerequisite and explicit
6235 abilist directory.
6236 (check-abi): Rewrite to just diff the symlist with the abilist.
6237 (config-tls, config-abi-config): Delete, no longer used.
6238 (update-abi-%): Remove AWK script and explicit abilist directory.
6239 (update-abi): Rewrite to simply compare and conditionally copy the
6240 symlist and the sysdep abilist file. Remove update-abi-config
6241 checks.
6242 * abilist/ld.abilist: Remove.
6243 * abilist/libBrokenLocale.abilist: Remove.
6244 * abilist/libanl.abilist: Remove.
6245 * abilist/libcrypt.abilist: Remove.
6246 * abilist/libdl.abilist: Remove.
6247 * abilist/librt.abilist: Remove.
6248 * abilist/libthread_db.abilist: Remove.
6249 * abilist/libutil.abilist: Remove.
6250 * scripts/extract-abilist.awk: Remove.
6251 * scripts/merge-abilist.awk: Remove.
6252 * sysdeps/generic/libcidn.abilist: New file.
6253 * sysdeps/generic/libnss_compat.abilist: New file.
6254 * sysdeps/generic/libnss_db.abilist: New file.
6255 * sysdeps/generic/libnss_dns.abilist: New file.
6256 * sysdeps/generic/libnss_files.abilist: New file.
6257 * sysdeps/generic/libnss_hesiod.abilist: New file.
6258 * sysdeps/generic/libnss_nis.abilist: New file.
6259 * sysdeps/generic/libnss_nisplus.abilist: New file.
6260 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
6261 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
6262 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
6263 file.
6264 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
6265 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
6266 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
6267 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
6268 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
6269 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
6270 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
6271 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
6272 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
6273 file.
6274 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
6275 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
6276 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6277 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6278 file.
6279 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6280 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6281 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6282 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6283 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6284 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6285 file.
6286 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6287 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6288 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6289 file.
6290 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6291 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6292 New file.
6293 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6294 New file.
6295 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6296 New file.
6297 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6298 New file.
6299 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6300 New file.
6301 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6302 New file.
6303 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6304 New file.
6305 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6306 New file.
6307 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6308 New file.
6309 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6310 New file.
6311 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6312 New file.
6313 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6314 New file.
6315 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6316 New file.
6317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6318 file.
6319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6320 New file.
6321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6322 New file.
6323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6324 file.
6325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6326 New file.
6327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6328 New file.
6329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6330 file.
6331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6332 New file.
6333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6334 New file.
6335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6336 New file.
6337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6338 New file.
6339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6340 New file.
6341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6342 New file.
6343 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6344 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6345 file.
6346 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6347 New file.
6348 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6349 file.
6350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6351 file.
6352 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6353 file.
6354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6355 file.
6356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6357 file.
6358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6359 New file.
6360 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6361 file.
6362 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6363 file.
6364 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6365 New file.
6366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6367 file.
6368 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6369 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
6370 file.
6371 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6372 New file.
6373 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
6374 file.
6375 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
6376 file.
6377 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
6378 file.
6379 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
6380 file.
6381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
6382 file.
6383 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6384 New file.
6385 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
6386 file.
6387 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
6388 file.
6389 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6390 New file.
6391 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
6392 file.
6393 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6394 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
6395 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
6396 file.
6397 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
6398 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
6399 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
6400 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
6401 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
6402 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
6403 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
6404 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
6405 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
6406 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
6407 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
6408 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
6409 file.
6410 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6411 New file.
6412 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
6413 file.
6414 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
6415 file.
6416 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
6417 file.
6418 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
6419 file.
6420 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
6421 file.
6422 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6423 New file.
6424 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6425 New file.
6426 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
6427 file.
6428 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6429 New file.
6430 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
6431 file.
6432 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
6433 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
6434 file.
6435 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6436 New file.
6437 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
6438 file.
6439 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
6440 file.
6441 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
6442 file.
6443 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
6444 file.
6445 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
6446 file.
6447 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6448 New file.
6449 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6450 New file.
6451 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
6452 file.
6453 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6454 New file.
6455 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
6456 file.
6457
41d73a1b
JM
64582012-04-28 Joseph Myers <joseph@codesourcery.com>
6459
6460 * conform/conformtest.pl: Fix typo in handling typed-constant from
6461 allow-header.
6462
28aeeda4
JM
64632012-04-27 Joseph Myers <joseph@codesourcery.com>
6464
adae8f5e
JM
6465 * README: Cut down references to pre-2.6 Linux kernels and
6466 Linuxthreads. Update lists of configurations in libc and ports
6467 and sort alphabetically. Say "or newer" with Linux kernel version
6468 requirements.
6469
28aeeda4
JM
6470 * config.h.in [IS_IN_build]: Allow compiling without optimization.
6471
a462cb63
RA
64722012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6473
6474 [BZ #887]
6475 * math/libm-test.inc (logb_test_downward): New test to expose
6476 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
6477 rounding mode.
6478
6ad3493e
JM
64792012-04-27 Joseph Myers <joseph@codesourcery.com>
6480
6481 [BZ #14027]
6482 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
6483 to be done.
6484 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
6485 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
6486
2ce4f015
JM
64872012-04-26 Joseph Myers <joseph@codesourcery.com>
6488
5aeb141a
JM
6489 * sysdeps/unix/i386/brk.S: Remove file.
6490 * sysdeps/unix/i386/dl-brk.S: Likewise.
6491 * sysdeps/unix/i386/pipe.S: Likewise.
6492 * sysdeps/unix/i386/sigreturn.S: Likewise.
6493 * sysdeps/unix/i386/syscall.S: Likewise.
6494 * sysdeps/unix/i386/vfork.S: Likewise.
6495 * sysdeps/unix/i386/wait.S: Likewise.
6496
7143acae
JM
6497 * sysdeps/unix/common/tcsendbrk.c: Move to ...
6498 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
6499
2ce4f015
JM
6500 * configure.in (arm*-none*): Do not allow without
6501 --enable-hacker-mode.
6502 (netbsd*): Remove case setting base_os.
6503 (386bsd*): Likewise.
6504 (freebsd*): Likewise.
6505 (bsdi*): Likewise.
6506 (osf*): Likewise.
6507 (sunos*): Likewise.
6508 (ultrix*): Likewise.
6509 (newsos*): Likewise.
6510 (dynix*): Likewise.
6511 (*bsd*): Likewise.
6512 (sysv*): Likewise.
6513 (isc*): Likewise.
6514 (esix*): Likewise.
6515 (sco*): Likewise.
6516 (minix*): Likewise.
6517 (irix4*): Likewise.
6518 (irix6*): Likewise.
6519 (solaris[2-9]*): Likewise.
6520 (none): Likewise.
6521 * configure: Regenerated.
6522
0ac229c8
AZ
65232012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6524
6525 [BZ #11521]
6526 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
6527 overflow or cancellation in calculating denominator.
6528 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
6529 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
6530 down expression to avoid unexpected rounding in newer GCCs.
6531 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
6532
33f244f4
DM
65332012-04-26 David S. Miller <davem@davemloft.net>
6534
6535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
6536 long-double compat symbols.
6537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
6541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
6543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
6544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
6545 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
6546 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
6548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
6549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6550
cfa1f3e8
DM
65512012-04-25 David S. Miller <davem@davemloft.net>
6552
6553 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
6554 HWCAP_* values only after the memory barriers have been defined.
6555 (atomic_full_barrier): Define.
6556 (atomic_read_barrier): Define.
6557 (atomic_write_barrier): Define.
6558
6e236b92
SP
65592012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6560
6561 * shlib-versions: Add libgcc_s version information.
6562 * sysdeps/generic/libgcc_s.h: Remove.
6563 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
6564 libgcc_s.h.
6565 * sysdeps/gnu/unwind-resume.c: Likewise.
6566 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
6567
aab39a09
DM
65682012-04-25 David S. Miller <davem@davemloft.net>
6569
6570 * sysdeps/unix/sparc/brk.S: Delete.
6571 * sysdeps/unix/sparc/dl-brk.S: Delete.
6572 * sysdeps/unix/sparc/pipe.S: Delete.
6573 * sysdeps/unix/sparc/sysdep.S: Delete.
6574 * sysdeps/unix/sparc/sysdep.h: Delete.
6575 * sysdeps/unix/sparc/vfork.S: Delete.
6576 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
6577 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
6578 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
6579 ret_ERRVAL, r0, r1, MOVE): Define.
6580 (JUMPTARGET): Remove.
6581 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
6582 sysdeps/unix/sparc/sysdep.h
6583 (ENTRY, END): Remove.
6584 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6585
a3cc4f48
JM
65862012-04-25 Joseph Myers <joseph@codesourcery.com>
6587
2ed8cda2
JM
6588 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
6589 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
6590 -DIS_IN_build.
6591
35d76d59
JM
6592 * timezone/README: Update upstream location and email address for
6593 tzcode and tzdata.
6594 * timezone/zdump.c: Update from tzcode 2012b.
6595 * timezone/zic.c: Likewise.
6596
a3cc4f48
JM
6597 * configure.in (libc_cv_as_needed): Remove test.
6598 * configure: Regenerated.
6599 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
6600 conditional definition.
6601 [$(have-as-needed) != yes] (no-as-needed): Likewise.
6602 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
6603 * config.make.in (have-as-needed): Remove variable.
6604
ceab42c3
SP
66052012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6606 Paul Pluzhnikov <ppluzhnikov@google.com>
6607
6608 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
6609 strings correctly.
6610
3ce2865f
CLT
66112012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
6612
6613 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
6614 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
6615 * sysdeps/sh/strlen.S: Likewise.
6616
f37e0d68
JM
66172012-04-24 Joseph Myers <joseph@codesourcery.com>
6618
ae186e9a
JM
6619 * sysdeps/unix/fork.S: Remove file.
6620 * sysdeps/unix/i386/fork.S: Likewise.
6621 * sysdeps/unix/sparc/fork.S: Likewise.
6622
b96914af
JM
6623 * sysdeps/unix/system.c: Remove file.
6624 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
6625
f37e0d68
JM
6626 * sysdeps/unix/getegid.S: Remove file.
6627 * sysdeps/unix/geteuid.S: Likewise.
6628
87ef29ca
RM
66292012-04-24 Roland McGrath <roland@hack.frob.com>
6630
83bcd236
RM
6631 * scripts/check-localplt.awk: New file.
6632 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
6633 of diff.
6634 * scripts/data/localplt-generic.data: Add a comment.
6635
87ef29ca
RM
6636 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
6637 NODE when __dir_mkfile failed.
6638 * sysdeps/mach/hurd/symlinkat.c: Likewise.
6639 Reported by Ludovic Courtès <ludo@gnu.org>.
6640
e5a6e567
AJ
66412012-04-24 Andreas Jaeger <aj@suse.de>
6642
6643 * Makerules (common-clean): Also remove gen-as-const-headers
6644 files.
6645
c1820385
JM
66462012-04-24 Joseph Myers <joseph@codesourcery.com>
6647
6648 * Makerules (native-compile): Do not change working directory for
6649 build. Use $(OUTPUT_OPTION) in command.
6650 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
6651
94e02fc4
AZ
66522012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6653
6654 [BZ #13886]
6655 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
6656 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
6657 * math/libm-test.inc (floor_test): Add more tests.
6658 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
6659
3a533ca3
JM
66602012-04-24 Joseph Myers <joseph@codesourcery.com>
6661
940ab4b3
JM
6662 * sysdeps/unix/getdents.c: Remove file.
6663 * sysdeps/unix/sysv/getdents.c: Likewise.
6664 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
6665
90e037bd
JM
6666 * sysdeps/unix/syscalls.list (madvise): Add syscall from
6667 sysdeps/unix/mman/syscalls.list.
6668 (mmap): Likewise.
6669 (mprotect): Likewise.
6670 (msync): Likewise.
6671 (munmap): Likewise.
6672 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
6673 * sysdeps/unix/mman/syscalls.list: Remove.
6674 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
6675
3a533ca3
JM
6676 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
6677 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
6678 * configure: Regenerated.
6679 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
6680 $(libgcc_s_suffix).
6681 * config.make.in (libgcc_s_suffix): Remove variable.
6682
1ad743de
JM
66832012-04-23 Joseph Myers <joseph@codesourcery.com>
6684
4ad451e2
JM
6685 * sysdeps/unix/sysv/gethostname.c: Move to ...
6686 * sysdeps/posix/gethostname.c: ... here.
6687
5e37ce39
JM
6688 * sysdeps/unix/execve.S: Remove file.
6689
1ad743de
JM
6690 * sysdeps/unix/_exit.S: Remove file.
6691
4e681b5b
AJ
66922012-04-23 Andreas Jaeger <aj@suse.de>
6693
6694 [BZ #13739]
6695 * manual/Makefile: Remove make dist support, there's no
6696 need for a stand-alone documentation tar ball.
6697 (TEXI2DVI): Define always, it's not in Makeconfig.
6698 (dist): Removed.
6699 (tar-it): Removed.
6700 (edition): Removed.
6701 (glibc-doc-$(edition).tar): Removed
6702 (%.Z): Removed.
6703 (%.gz): Removed.
6704 (%.uu): Removed.
6705 (ETAGS): Remove, it's in Makeconfig.
6706 (move-if-change): Remove, it's in Makeconfig.
6707
c0baea34
PE
67082013-04-23 Paul Eggert <eggert@cs.ucla.edu>
6709
6710 [BZ #13970]
6711 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
6712 (strtod, strtof, strtold, strtol, strtoul, strtoq)
6713 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
6714 (strtod_l, strtof_l, strtold_l): Remove __wur.
6715 It is not necessarily an error to ignore strtol's return value.
6716 One can reliably look at the stored endptr to decide whether
6717 the number had valid syntax.
6718
7c0616fa
AJ
67192012-04-21 Andreas Jaeger <aj@suse.de>
6720
803cb6b7 6721 [BZ #13739]
7c0616fa
AJ
6722 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
6723
b0fe253f
JM
67242012-04-21 Joseph Myers <joseph@codesourcery.com>
6725
6726 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
6727 * sysdeps/unix/sysv/Versions: Remove file.
6728
8280f22d
MT
67292012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
6730
6731 [BZ #13927]
6732 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6733
75ce411f 67342012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
6735
6736 [BZ #7064]
6737 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
6738 version from __vm86.
6739
097d59fa
JM
67402012-04-20 Joseph Myers <joseph@codesourcery.com>
6741
a90f3bcb
JM
6742 * sysdeps/unix/common/lxstat.c: Remove file.
6743 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
6744
edc7ea78
JM
6745 * sysdeps/unix/sysv/Makefile: Remove file.
6746
cb78c221
JM
6747 * sysdeps/unix/sysv/direct.h: Remove file.
6748
efa6a45f
JM
6749 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
6750 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
6751 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
6752 * sysdeps/unix/sysv/bits/signum.h: Likewise.
6753 * sysdeps/unix/sysv/bits/stat.h: Likewise.
6754 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
6755 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
6756
9c9f2d0c
JM
6757 * sysdeps/unix/sysv/setrlimit.c: Remove file.
6758
4541c83b
JM
6759 * sysdeps/unix/xmknod.c: Remove file.
6760 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
6761
f5d153a0
JM
6762 * sysdeps/unix/sysv/settimeofday.c: Remove file.
6763
aa746595
JM
6764 * sysdeps/unix/sysv/i386/time.S: Remove file.
6765
cce5905e
JM
6766 * sysdeps/unix/fxstat.c: Remove file.
6767 * sysdeps/unix/xstat.c: Likewise.
6768 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
6769
37fa3841
JM
6770 * sysdeps/unix/sysv/sigaction.c: Remove file.
6771
ff1962a3
JM
6772 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
6773 (sysdep_headers): Remove variable.
6774 [termio.h not in sysdep_headers] (generated): Likewise.
6775 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
6776 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
6777 * sysdeps/unix/sysv/tcdrain.c: Likewise.
6778 * sysdeps/unix/sysv/tcflow.c: Likewise.
6779 * sysdeps/unix/sysv/tcflush.c: Likewise.
6780 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
6781 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
6782 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6783 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6784 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
6785
e7740d31
JM
6786 * sysdeps/unix/siglist.c: Remove file.
6787
ee06f18b
JM
6788 * sysdeps/unix/getppid.S: Remove file.
6789
097d59fa
JM
6790 * sysdeps/unix/mkdir.c: Remove file.
6791 * sysdeps/unix/rmdir.c: Likewise.
6792
ff3d51ec
AS
67932012-04-19 Andreas Schwab <schwab@linux-m68k.org>
6794
6795 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
6796 ERR_MAX value.
6797 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
6798 errlist-compat value.
6799
50f81fd7
DM
68002012-04-18 David S. Miller <davem@davemloft.net>
6801
6802 * sysdeps/generic/memcopy.h (reg_char): Delete.
6803 * debug/strcat_chk.c: Use char, not reg_char.
6804 * debug/strcpy_chk.c: Likewise.
6805 * debug/strncat_chk.c: Likewise.
6806 * debug/strncpy_chk.c: Likewise.
6807 * string/memchr.c: Likewise.
6808 * string/memrchr.c: Likewise.
6809 * string/rawmemchr.c: Likewise.
6810 * string/strcat.c: Likewise.
6811 * string/strchr.c: Likewise.
6812 * string/strchrnul.c: Likewise.
6813 * string/strcmp.c: Likewise.
6814 * string/strcpy.c: Likewise.
6815 * string/strncat.c: Likewise.
6816 * string/strncmp.c: Likewise.
6817 * string/strncpy.c: Likewise.
6818
8ff41c46
WS
68192012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6820
6821 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
6822 __builtin_memcopy is called when src and dest ranges are known to not
6823 overlap.
6824
6b652f46
WS
68252012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6826
6827 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
6828 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
6829 fwd_align_merge macro call.
6830 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
6831 bwd_align_merge macro call.
6832 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6833
b282631e
WS
68342012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6835
6836 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
6837 bwd_align_merge macros.
6838 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
6839 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
6840 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6841
95aa737c
DM
68422012-04-18 David S. Miller <davem@davemloft.net>
6843
6844 * sysdeps/sparc/sparc64/memcopy.h: Delete.
6845
7a99a614
AJ
68462012-04-18 Andreas Jaeger <aj@suse.de>
6847
6848 [BZ# 6794]
6849 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
6850 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
6851 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6852
6853 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
6854 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
6855 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6856
6857 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
6858 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
6859 Adjust for changed ldbl-128 files.
6860
6861 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
6862 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
6863 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6864
e5270c23
DM
68652012-04-17 David S. Miller <davem@davemloft.net>
6866
6867 * sysdeps/sparc/sparc32/memcopy.h: Delete.
6868
fb5e92c9
AS
68692012-04-17 Andreas Schwab <schwab@linux-m68k.org>
6870
6871 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
6872 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
6873 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
6874 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
6875 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6876 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
6877
76da7265
AZ
68782012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6879
6880 [BZ #6794]
6881 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
6882 * math/libm-test.inc: Add ilogb errno and exception tests.
6883 * math/w_ilogb.c: New file: ilogb wrapper.
6884 * math/w_ilogbf.c: New file: ilogbf wrapper.
6885 * math/w_ilogbl.c: New file: ilogbl wrapper.
6886 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
6887 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
6888 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
6889 exception being thrown with 0.0 as argument.
6890 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
6891 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
6892 exception being thrown with 0.0 as argument.
6893 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
6894 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6895 exception being thrown with 0.0 as argument.
6896 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
6897 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6898 exception being thrown with 0.0 as argument.
6899 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
6900 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 6901 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
6902 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
6903 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
6904 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
6905 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
6906 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
6907 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
6908
0396e69d
PB
69092012-04-17 Petr Baudis <pasky@ucw.cz>
6910
6911 * include/sys/uio.h: Change __vector to __iovec to avoid clash
6912 with altivec.
6913
750b5926
MP
69142012-04-16 Marek Polacek <polacek@redhat.com>
6915
6916 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
6917
751728a1
MP
69182012-04-16 Marek Polacek <polacek@redhat.com>
6919
6920 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
6921 operands of fdivp instruction.
6922
34a27407
L
69232012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6924
6925 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
6926 * elf/tst-auditmod3b.c: Likewise.
6927 * elf/tst-auditmod4b.c: Likewise.
6928 * elf/tst-auditmod5b.c: Likewise.
6929 * elf/tst-auditmod6b.c: Likewise.
6930 * elf/tst-auditmod6c.c: Likewise.
6931 * elf/tst-auditmod7b.c: Likewise.
6932 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
6933 * sysdeps/x86_64/preconfigure.in: Likewise.
6934 * sysdeps/x86_64/preconfigure: Regenerated.
6935
7e73e17d
L
69362012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6937
6938 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
6939 __ILP32__.
6940
c7a6ab72
AB
69412012-04-13 Antoine Balestrat <merkil33@gmail.com>
6942
6943 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6944 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
6945
a9e8e0e0
CL
69462012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
6947
6948 [BZ #13973]
6949 * locale/iso-639.def: Fix gl language name. Spotted by
6950 Yaron Shahrabani.
6951
ec98af7d
RM
69522012-04-12 Roland McGrath <roland@hack.frob.com>
6953
6954 [BZ #2074]
6955 * libio/libio.h (__io_write_fn): Update comment.
6956
247c3ede
PB
69572012-04-12 Petr Baudis <pasky@ucw.cz>
6958
6959 [BZ #2074]
6960 * stdio.texi (Hook Functions): The user provided writer function
6961 is not allowed to return -1.
6962
55939d6d
DM
69632012-04-11 David S. Miller <davem@davemloft.net>
6964
6965 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6966
90020f5a
MF
69672012-04-11 Mike Frysinger <vapier@gentoo.org>
6968
6969 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
6970 Add a leading slash to rtkaio.
6971
288f9098
JM
69722012-04-11 Jim Meyering <meyering@redhat.com>
6973
90020f5a
MF
6974 [BZ #11959]
6975 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
6976 It is not necessarily an error to ignore fwrite's return
6977 value. One can reliably use ferror to test for errors after
6978 the fact.
288f9098 6979
4be2b570
L
69802012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6981
6982 * bits/types.h (__snseconds_t): New type.
6983 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
6984
6985 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
6986 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6987 (__SNSECONDS_T_TYPE): Likewise.
6988 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6989 (__SNSECONDS_T_TYPE): Likewise.
6990 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6991 (__SNSECONDS_T_TYPE): Likewise.
6992
288f9098 69932012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
6994
6995 [BZ #2636]
6996 * manual/time.texi (Processor Time): Return type of times is
6997 elapsed real time since an arbitrary point in the past.
6998 (CPU Time): Move CLK_TCK from here...
6999 (Processor Time): ...to here. Correct description.
7000 * manual/conf.texi (Constants for Sysconf): Correct description of
7001 _SC_CLK_TCK.
7002
d7dd4413
DM
70032012-04-10 David S. Miller <davem@davemloft.net>
7004
7005 [BZ #13967]
7006 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
7007 where the is a gap between DT_REL(A) and DT_JMPREL.
7008
b46068fc
L
70092012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7010
7011 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
7012 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7013 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7014
73d65cc3
SP
70152012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7016
7017 * elf/dl-support.c (_dl_inhibit_cache): New variable.
7018 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
7019 (dl_main): Handle --inhibit-cache.
7020 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
7021 _dl_inhibit_cache.
7022 * elf/dl-load.c (_dl_map_object): Use it.
7023 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
7024
bcc8d661
JM
70252012-04-09 Joseph Myers <joseph@codesourcery.com>
7026
8f9a2fae
JM
7027 [BZ #13872]
7028 * sysdeps/i386/fpu/e_powl.S (p78): New object.
7029 (__ieee754_powl): Saturate large exponents rather than testing for
7030 overflow of y*log2(x).
7031 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7032 * math/libm-test.inc (pow_test): Do not permit spurious overflow
7033 exceptions.
7034
bcc8d661
JM
7035 [BZ #11521]
7036 * math/s_ctan.c: Include <float.h>.
7037 (__ctan): Avoid internal overflow or cancellation in calculating
7038 denominator.
7039 * math/s_ctanf.c: Likewise.
7040 * math/s_ctanl.c: Likewise.
7041 * math/s_ctanh.c: Likewise.
7042 * math/s_ctanhf.c: Likewise.
7043 * math/s_ctanhl.c: Likewise.
7044 * math/libm-test.inc (ctan_test): Add more tests.
7045 (ctanh_test): Likewise.
7046 * sysdeps/i386/fpu/libm-test-ulps: Update.
7047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7048
823fbbb4
AJ
70492012-04-09 Andreas Jaeger <aj@suse.de>
7050
03879793
AJ
7051 [BZ #6894]
7052 * manual/filesys.texi (Directory Entries): Mention that d_namlen
7053 is an optional BSD extension.
7054
823fbbb4
AJ
7055 [BZ #10254]
7056 * manual/stdio.texi (Opening Streams): Document additional fopen
7057 parameters.
7058
8de131cb
RM
70592012-04-09 Roland McGrath <roland@hack.frob.com>
7060
7061 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
7062 %eax without telling the compiler.
7063
c0ed9d7d
CD
70642012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
7065
7066 [BZ # 13963]
7067 * manual/install.texi: Use sourceware.org.
7068
c483f6b4
JM
70692012-04-09 Joseph Myers <joseph@codesourcery.com>
7070
d7dd9453
JM
7071 [BZ #13873]
7072 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
7073 (__ieee754_pow): Generate overflow and underflow using huge*huge
7074 and tiny*tiny rather than just returning constant infinity or zero
7075 for large exponents.
7076 * math/libm-test.inc (pow_test): Require overflow exceptions for
7077 applicable cases of large exponents.
7078
c483f6b4
JM
7079 [BZ #706]
7080 * sysdeps/i386/fpu/e_pow.S (p10): New object.
7081 (__ieee754_pow): Use iterative multiplication algorithm only for
7082 integer exponents with absolute value below 1024. Check for odd
7083 integer exponents when using algorithm for real exponents.
7084 * math/libm-test.inc (pow_test): Add more tests.
7085 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7086
d2de7579
JM
70872012-04-08 Joseph Myers <joseph@codesourcery.com>
7088
7089 [BZ #13705]
7090 * math/libm-test.inc (exp_test): Do not allow overflow exception
7091 on underflow test.
7092
f77f1232
AJ
70932012-04-08 Aurelien Jarno <aurelien@aurel32.net>
7094
7095 [BZ #13705]
7096 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
7097 instead of __kernel_standard_f.
7098
3884932b
MF
70992012-04-08 Mike Frysinger <vapier@gentoo.org>
7100
7101 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
7102 * sysdeps/x86_64/memset_chk.S: Likewise.
7103
54472e9c
AJ
71042012-04-08 Andreas Jaeger <aj@suse.de>
7105
6ab0fbfc
AJ
7106 [BZ #10153]
7107 * manual/startup.texi (Environment Access): Describe return value
7108 for putenv and setenv.
7109
61efba8c
AJ
7110 [BZ #6895]
7111 * manual/filesys.texi (Directory Entries): Add description for
7112 DT_LNK.
7113
95c3f29a
AJ
7114 [BZ #6890]
7115 * manual/filesys.texi (Directory Entries): Clarify that it's file
7116 system not operating system in the description of DT_UNKNOWN.
7117
54472e9c
AJ
7118 [BZ #6578]
7119 * manual/syslog.texi (closelog): Fix reference, it's openlog.
7120
624254b1
SC
71212012-04-08 Stephen Compall <s11@member.fsf.org>
7122
7123 [BZ #6649]
7124 * manual/llio.texi (Opening and Closing Files): Add cross
7125 reference to explain mode argument.
7126
1e4920e0
MF
71272012-04-07 Mike Frysinger <vapier@gentoo.org>
7128
7129 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
7130 * sysdeps/x86_64/memset_chk.S: Likewise.
7131
5ed848f3
DM
71322012-04-07 David S. Miller <davem@davemloft.net>
7133
7134 * elf/elf.h (R_SPARC_WDISP10): Define.
7135 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
7136 R_SPARC_SIZE32.
7137 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7138 R_SPARC_SIZE64 and R_SPARC_H34.
7139
96154cd8
CD
71402012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
7141
7142 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
7143 conditions and remove no longer applicable assertion.
7144
9904dc47
L
71452012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7146
7147 * bits/byteswap.h: Include <features.h>.
7148 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7149 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7150
f8887d0a
L
71512012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7152
7153 * bits/byteswap.h (__bswap_16): Removed.
7154 Include <bits/byteswap-16.h> to get __bswap_16.
7155 * sysdeps/i386/bits/byteswap.h: Likewise.
7156 * sysdeps/s390/bits/byteswap.h: Likewise.
7157 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7158 * bits/byteswap-16.h: New file.
7159 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7160 * sysdeps/s390/bits/byteswap-16.h: Likewise.
7161 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
7162 * string/Makefile (headers): Add bits/byteswap-16.h.
7163
62470f60
PP
71642012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7165
7166 [BZ #13895]
7167 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
7168 extra indirection.
7169 * nss/Makefile (tests-static, tests): Add tst-nss-static.
7170 * nss/tst-nss-static.c: New.
7171
4dad7bab
RM
71722012-04-06 Robert Millan <rmh@gnu.org>
7173
7174 [BZ #6486]
7175 * manual/llio.texi (File Position Primitive): lseek
7176 refers to WHENCE when it really means OFFSET.
7177
e9142a17
AJ
71782012-04-06 Andreas Jaeger <aj@suse.de>
7179
2c040eff
AJ
7180 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
7181 strncmp declarations.
7182
e9142a17
AJ
7183 * abilist/libc.abilist: Add __poll and __ppoll.
7184
ff9f1c5f
DM
71852012-04-05 David S. Miller <davem@davemloft.net>
7186
dcd2ae90
DM
7187 * scripts/check-local-headers.sh: Accept a host triplet in the
7188 path matched by the exclude regexp.
7189
993eb054
DM
7190 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
7191 definition.
7192 * sysdeps/powerpc/powerpc32/dl-machine.h
7193 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
7194 * sysdeps/s390/s390-32/dl-machine.h
7195 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7196 * sysdeps/sparc/sparc32/dl-machine.h
7197 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7198 * sysdeps/sparc/sparc64/dl-machine.h
7199 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7200
ff9f1c5f
DM
7201 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
7202 lazy binding.
48e2e132 7203 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
7204 undefined symbol errors.
7205
48e2e132 7206 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
7207 DT_NEEDED entries.
7208
e80d6f94
MM
72092012-04-05 Michael Matz <matz@suse.de>
7210
7211 [BZ #13592]
7212 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
7213
349fa79f
AJ
72142012-04-05 Andreas Jaeger <aj@suse.de>
7215
7216 [BZ #13908]
7217 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
7218 comment.
7219
f402708f
KK
72202012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7221
7222 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
7223 which ROUND is no valid rounding mode.
7224
2ecccfc9
KK
72252012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7226
7227 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
7228 read again.
7229 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
7230
8a53f50f
KK
72312012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7232
7233 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
7234 an exception using FPU order intentionally.
7235
72362012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7237
7238 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
7239 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
7240 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
7241 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
7242
d653abb7
SJ
72432012-04-05 Simon Josefsson <simon@josefsson.org>
7244
7245 [BZ #12340]
7246 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
7247 EINVAL when BUFLEN is too smal.
7248
c3b1bf7d
TS
72492012-04-05 Thomas Schwinge <thomas@codesourcery.com>
7250
7251 [BZ #13553]
7252 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
7253 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
7254
b1aa60f3
AJ
72552012-04-03 Andreas Jaeger <aj@suse.de>
7256
c3b1bf7d 7257 [BZ #13938]
67f60a26
AJ
7258 * manual/setjmp.texi (System V contexts): Fix sentence.
7259
b1aa60f3
AJ
7260 [BZ #13926]
7261 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
7262 New macro for this case.
7263 [!__GNUC__] (__bswap_64): New inline function for this case.
7264 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7265 * bits/byteswap.h: Likewise.
7266 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
7267 ull, guard with __GLIBC_HAVE_LONG_LONG.
7268
7269 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
7270 __GLIBC_HAVE_LONG_LONG.
7271
7272 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
7273 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
7274
39c59c35
TMQMF
72752012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7276
7277 [BZ #13691]
7278 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7279 inptr and inend, rather than using last_ch.
7280
135ffda8
DM
72812012-04-02 David S. Miller <davem@davemloft.net>
7282
7283 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7284 * stdio-common/printf-parse.h (read_int): Change return type to
7285 'int', return -1 on INT_MAX overflow.
7286 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7287 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
7288 overflows INT_MAX. Check for overflow of in-format-string precision
7289 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
7290 SIZE_MAX not INT_MAX for integer overflow test.
7291 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7292 skip the construct in the format string but do not record anything.
7293 * stdio-common/bug22.c: Adjust to test both width/prevision
7294 INT_MAX overflow as well as total length INT_MAX overflow. Check
7295 explicitly for proper errno values.
7296
228c019e
TS
72972012-04-02 Thomas Schwinge <thomas@codesourcery.com>
7298
302cadd3
TS
7299 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7300 CHAR_MAX.
7301 * string/test-strcmp.c [! WIDE]: Likewise.
7302 * time/tst-mktime2.c: Likewise for INT_MAX.
7303 * string/test-string.h: #include <sys/param.h> for MIN.
7304
228c019e
TS
7305 * csu/init-first.c (__libc_init_first): Call __ctype_init.
7306 * sysdeps/i386/init-first.c (init): Likewise.
7307 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7308 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7309 * sysdeps/sh/init-first.c (init): Likewise.
7310
cfa633f5
UD
73112012-04-01 Ulrich Drepper <drepper@gmail.com>
7312
7313 * po/ru.po: Update from translation team.
d1635ef8 7314 * po/vi.po: Likewise.
cfa633f5 7315
6cd0a5ea
SP
73162012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7317
7318 * resolv/nss_dns/dns-host.c: Merge copyright years.
7319
4b43400f
LD
73202012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7321
7322 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7323 Optimize memcpy with prefetch if
7324 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
7325 src, dst pointers have unequal 16 byte alignments.
7326
48c41d04
SP
73272012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7328
7329 [BZ #13928]
7330 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7331 from a CNAME entry and return the minimum ttl for the query.
7332 (gaih_getanswer_slice): Likewise.
7333
b8dc394d
JL
73342012-03-30 Jeff Law <law@redhat.com>
7335
7336 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7337 due to long keys.
7338 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7339 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7340
2f5a5ed0
JL
7341 * resolv/nss_dns/dns-host.c: Update copyright year.
7342
1d39e359
UD
73432012-03-30 Ulrich Drepper <drepper@gmail.com>
7344
c030f70c 7345 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 7346 requests to save a system call. Fix check that all bytes are sent.
c030f70c 7347
1d39e359
UD
7348 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7349 comments for sendmmsg.
7350
73512012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
7352
7353 [BZ #13691]
7354 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7355 with only 1 character between 0x0041 and 0x01b0.
7356 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7357 * wcsmbs/tst-mbsnrtowcs.c: New file.
7358
20fde227
DM
73592012-03-29 David S. Miller <davem@davemloft.net>
7360
7361 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7362 small copies by hand.
7363
984a4237
JL
73642012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7365
7366 [BZ #13761]
7367 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7368 _nss_compat_initgroups_dyn): Fall back to malloc/free
7369 for large group memberships.
7370
18c9d62b
DM
73712012-03-28 David S. Miller <davem@davemloft.net>
7372
88d85d4f
DM
7373 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
7374 that branches into memcpy.
7375 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7376 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7377 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7378 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7379 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
7380 bits.
7381 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
7382 implementation too.
7383 * sysdeps/sparc/mempcpy.S: New file.
7384
e5aa83e1
DM
7385 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
7386 the IFUNC routine in the libc case.
7387 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7388
88570753
DM
7389 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
7390 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
7391 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
7392 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7393 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
7394 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
7395 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
7396 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
7397
249d7567
DM
7398 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
7399 loop to 256 bytes instead of 64 bytes and fix test signedness.
7400
18c9d62b
DM
7401 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
7402 * sysdeps/sparc/sparc32/Makefile: rather than here...
7403 * sysdeps/sparc/sparc64/Makefile: and here.
7404
05f3d1f6
UD
74052012-03-28 Ulrich Drepper <drepper@gmail.com>
7406
7407 * malloc/mallocbug.c: Avoid warnings about unused variables.
7408
86ae07a8
JL
74092012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7410
7411 [BZ #13760]
7412 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
7413 in the right place. Discard and retry query if response is
7414 larger than input buffer size.
7415
41bf21a1
JM
74162012-03-28 Joseph Myers <joseph@codesourcery.com>
7417
d6270972
JM
7418 [BZ #369]
7419 [BZ #2678]
7420 [BZ #3866]
7421 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
7422 x for large integer exponent.
7423 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7424 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
7425 sign of result as needed afterwards.
7426 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7427 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
7428 result for underflowing pow the same as for overflow.
7429 (__kernel_standard_l): Handle powl overflow and underflow here
7430 rather than calling __kernel_standard.
7431 * math/libm-test.inc (pow_test): Add more tests.
7432
414fca03 7433 [BZ #3868]
41bf21a1
JM
7434 [BZ #13879]
7435 [BZ #13910]
7436 [BZ #13911]
7437 [BZ #13912]
7438 [BZ #13913]
7439 [BZ #13915]
7440 [BZ #13916]
7441 [BZ #13917]
7442 [BZ #13918]
7443 [BZ #13919]
7444 [BZ #13920]
7445 [BZ #13921]
7446 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
7447 * sysdeps/ieee754/k_standard.c: Include <float.h>.
7448 (__kernel_standard_l): New function.
7449 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
7450 __kernel_standard.
7451 * math/w_acosl.c (__acosl): Likewise.
7452 * math/w_asinl.c (__asinl): Likewise.
7453 * math/w_atan2l.c (__atan2l): Likewise.
7454 * math/w_atanhl.c (__atanhl): Likewise.
7455 * math/w_coshl.c (__coshl): Likewise.
7456 * math/w_exp10l.c (__exp10l): Likewise.
7457 * math/w_exp2l.c (__exp2l): Likewise.
7458 * math/w_fmodl.c (__fmodl): Likewise.
7459 * math/w_hypotl.c (__hypotl): Likewise.
7460 * math/w_j0l.c (__j0l, __y0l): Likewise.
7461 * math/w_j1l.c (__j1l, __y1l): Likewise.
7462 * math/w_jnl.c (__jnl, __ynl): Likewise.
7463 * math/w_lgammal.c (__lgammal): Likewise.
7464 * math/w_log10l.c (__log10l): Likewise.
7465 * math/w_log2l.c (__log2l): Likewise.
7466 * math/w_logl.c (__logl): Likewise.
7467 * math/w_powl.c (__powl): Likewise.
7468 * math/w_remainderl.c (__remainderl): Likewise.
7469 * math/w_scalbl.c (sysv_scalbl): Likewise.
7470 * math/w_sinhl.c (__sinhl): Likewise.
7471 * math/w_sqrtl.c (__sqrtl): Likewise.
7472 * math/w_tgammal.c (__tgammal): Likewise.
7473 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
7474 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
7475 * math/libm-test.inc (acos_test): Add more tests.
7476 (acosh_test): Likewise.
7477 (asin_test): Likewise.
7478 (atanh_test): Likewise.
7479 (exp_test): Likewise.
7480 (exp10_test): Likewise.
7481 (exp2_test): Likewise.
7482 (expm1_test): Likewise.
7483 (lgamma_test): Likewise.
7484 (log_test): Likewise.
7485 (log10_test): Likewise.
7486 (log1p_test): Likewise.
7487 (log2_test): Likewise.
7488 (pow_test): Do not allow some spurious overflow exceptions.
7489 (sqrt_test): Add more tests.
7490 (tgamma_test): Likewise.
7491 (y0_test): Likewise.
7492 (y1_test): Likewise.
7493 (yn_test): Likewise.
7494
dd62fda6
AB
74952012-03-27 Anton Blanchard <anton@samba.org>
7496
7497 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
7498 MAP_HUGETLB.
7499 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7500 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7501 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7502
1e3cdfda
AJ
75032012-03-27 David S. Miller <davem@davemloft.net>
7504
b855ab85
DM
7505 * conform/Makefile: Run run-conformtest.sh using $(BASH).
7506
1e3cdfda
AJ
7507 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
7508 have-as-vis3 check.
7509
75102012-03-27 Andreas Jaeger <aj@suse.de>
7511
7512 * sysdeps/x86_64/elf/configure.in: Moved to ...
7513 * sysdeps/x86_64/configure.in: ... here.
7514 * sysdeps/x86_64/elf/start.S: Moved to ...
7515 * sysdeps/x86_64/start.S: ... here.
7516 * sysdeps/x86_64/elf/configure: Delete.
7517
7518 * sysdeps/x86_64/configure.in: Merge contents from
7519 sysdeps/i386/configure.in (without i686 check).
7520
7521 * sysdeps/i386/elf/Versions: Merge into ...
7522 * sysdeps/i386/Versions: ... this.
7523 * sysdeps/i386/elf/Versions: Delete file.
7524 * sysdeps/i386/elf/start.S: Moved to ...
7525 * sysdeps/i386/start.S: ...here.
7526 * sysdeps/i386/elf/configure.in: Merge into...
7527 * sysdeps/i386/configure.in: ...here.
7528 * sysdeps/i386/elf/configure.in: Delete file.
7529 * sysdeps/i386/elf/configure: Delete file.
7530
7531 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
7532 * debug/backtracesyms.c: ... here.
7533 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
7534 * debug/backtracesymsfd.c: ... here.
7535 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
7536 * sysdeps/generic/ifunc-sel.h: ... here.
7537
7538 * sysdeps/unix/i386/start.c: Delete file.
7539 * sysdeps/unix/sparc/start.c: Delete file.
7540 * sysdeps/unix/start.c: Delete file.
7541
7542 * sysdeps/sh/elf/configure.in: Moved to ...
7543 * sysdeps/sh/configure.in: ... here.
7544 * sysdeps/sh/elf/start.S: Moved to ...
7545 * sysdeps/sh/start.S: ... here.
7546 * sysdeps/sh/elf/configure: Delete file.
7547
7548 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
7549 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
7550 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
7551 * sysdeps/powerpc/powerpc64/entry.h: ... here.
7552 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
7553 * sysdeps/powerpc/powerpc64/start.S: here.
7554 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
7555 * sysdeps/powerpc/powerpc64/Makefile: ... this.
7556 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
7557 * sysdeps/powerpc/powerpc64/configure.in: ... this.
7558 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
7559
7560 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
7561 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
7562 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
7563 * sysdeps/powerpc/powerpc32/start.S: ... here.
7564 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
7565 * sysdeps/powerpc/powerpc32/configure.in: ... this.
7566 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
7567
7568 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
7569 * sysdeps/powerpc/ifunc-sel.h: ... here.
7570 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
7571 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
7572
7573 * sysdeps/sparc/elf/configure.in: Moved to ...
7574 * sysdeps/sparc/configure.in: ... here.
7575 * sysdeps/sparc/elf/configure: Delete file.
7576 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
7577 * sysdeps/sparc/sparc32/start.S: ... here.
7578 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
7579 * sysdeps/sparc/sparc64/start.S: ... here.
7580 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
7581 * sysdeps/sparc/sparc32/Makefile: ... this.
7582 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
7583 * sysdeps/sparc/sparc64/Makefile: ... this.
7584
7585 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
7586 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
7587 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
7588 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
7589 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
7590 * sysdeps/s390/s390-32/setjmp.S: ... here.
7591 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
7592 * sysdeps/s390/s390-32/configure.in: ... here.
7593 * sysdeps/s390/s390-32/elf/configure: Delete file.
7594 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
7595 * sysdeps/s390/s390-32/start.S: ... here.
7596
7597 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
7598 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
7599 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
7600 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
7601 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
7602 * sysdeps/s390/s390-64/setjmp.S: ... here.
7603 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
7604 * sysdeps/s390/s390-64/configure.in: ... here
7605 * sysdeps/s390/s390-64/elf/configure: Delete file.
7606 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
7607 * sysdeps/s390/s390-64/start.S: ... here.
7608 * sysdeps/s390/s390-64/elf/configure: Delete.
7609
7610 * configure.in: Remove support for elf directories in sysdeps.
7611
7612 * configure: Regenerated.
7613 * sysdeps/i386/configure: Regenerated.
7614 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7615 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7616 * sysdeps/s390/s390-32/configure: Regenerated.
7617 * sysdeps/s390/s390-64/configure: Regenerated.
7618 * sysdeps/sh/configure: Regenerated.
7619 * sysdeps/sparc/configure: Regenerated.
7620 * sysdeps/x86_64/configure: Regenerated.
7621
a3f61311
AS
76222012-03-26 Andreas Schwab <schwab@linux-m68k.org>
7623
c876e002
AS
7624 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7625
a3f61311
AS
7626 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
7627 denormal result into account.
7628
ac4c54f0
RM
76292012-03-25 Roland McGrath <roland@hack.frob.com>
7630
7631 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
7632 Reported by Allan McRae <allan@archlinux.org>.
7633
6a9b9c02
JL
76342012-03-23 Jeff Law <law@redhat.com>
7635
7636 * nss/getnssent.c (__nss_getent): Fix typo.
7637
4c42a0c1
DM
76382012-03-23 David S. Miller <davem@davemloft.net>
7639
7640 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7641
1532c7ac
L
76422012-03-23 H.J. Lu <hongjiu.lu@intel.com>
7643
7644 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
7645 to pad to uint64_t for each field.
7646 (dl_tls_index): Replace unsigned long with uint64_t.
7647
3ff42526
PP
76482012-03-23 Daniel Jacobowitz <dmj@google.com>
7649 Paul Pluzhnikov <ppluzhnikov@google.com>
7650
7651 [BZ #6528]
7652 * grp/Makefile (otherlibs): Don't set it.
7653 * inet/Makefile (otherlibs): Likewise.
7654 * login/Makefile (otherlibs): Likewise.
7655 * nscd/Makefile (otherlibs): Likewise.
7656 * posix/Makefile (otherlibs): Likewise.
7657 * pwd/Makefile (otherlibs): Likewise.
7658 * rt/Makefile (otherlibs): Likewise.
7659 * sunrpc/Makefile (otherlibs): Likewise.
7660 * nss/Makefile (otherlibs): Likewise.
7661 Add libnss_files to routines and static-only-routines.
7662 ($(objpfx)getent): Remove rule.
7663 * resolv/Makefile: Add libnss_dns and libresolv to routines and
7664 static-only-routines.
7665
7c69cd14
JM
76662012-03-22 Joseph Myers <joseph@codesourcery.com>
7667
7668 [BZ #13892]
7669 * math/s_cexp.c: Include <float.h>.
7670 (__cexp): Handle exp result overflowing not necessarily
7671 overflowing both real and imaginary parts of result.
7672 * math/s_cexpf.c: Likewise.
7673 * math/s_cexpl.c: Likewise.
7674 * math/libm-test.inc (cexp_test): Add more tests.
7675 * sysdeps/i386/fpu/libm-test-ulps: Update.
7676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7677
81b035fe
L
76782012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7679
7680 * include/link.h (ELFW): New macro.
7681 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
7682 Replace ELF64_R_TYPE with ELFW(R_TYPE).
7683
1da7940c
L
76842012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7685
7686 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
7687 with uint64_t.
7688
b749dbb9
L
76892012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7690
7691 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
7692 declaration.
7693 (struct La_x32_retval): Likewise.
7694
2ff87f3f
L
76952012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7696
7697 * sysdeps/x86_64/preconfigure.in: New file.
7698 * sysdeps/x86_64/preconfigure: New generated file.
7699
c0df8e69
JM
77002012-03-22 Joseph Myers <joseph@codesourcery.com>
7701
48e44791
JM
7702 [BZ #13824]
7703 * math/e_exp2l.c: Include <float.h>.
7704 (__ieee754_exp2l): Handle overflow and underflow cases
7705 separately. Only pass fractional part of argument to
7706 __ieee754_expl.
7707 * math/libm-test.inc (exp2_test): Add more tests.
7708
c0df8e69
JM
7709 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
7710 negating x to take absolute value.
7711 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7712 Likewise.
7713 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7714 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7715 Likewise.
7716 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
7717 computing low part if x was negated.
7718 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7719
c8e43ba7
L
77202012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7721
7722 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
7723 la_x32_gnu_pltexit.
7724 (pltexit): Cast int_retval to ptrdiff_t.
7725 * elf/tst-auditmod3b.c: Likewise.
7726 * elf/tst-auditmod4b.c: Likewise.
7727 * elf/tst-auditmod5b.c: Likewise.
7728 * elf/tst-auditmod6b.c: Likewise.
7729 * elf/tst-auditmod6c.c: Likewise.
7730 * elf/tst-auditmod7b.c: Likewise.
7731
7732 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
7733 and x32_gnu_pltexit.
7734
7735 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
7736 __ELF_NATIVE_CLASS.
7737 (La_x32_regs): New macro.
7738 (La_x32_retval): Likewise.
7739 (la_x32_gnu_pltenter): New function prototype.
7740 (la_x32_gnu_pltexit): Likewise.
7741
7998fa78
AS
77422012-03-21 Andreas Schwab <schwab@linux-m68k.org>
7743
dcb33988
AS
7744 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
7745 exponent.
7746
233fc563
AS
7747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7748
7998fa78
AS
7749 * configure.in (libc_cv_cc_nofma): Check for option to disable
7750 generation of FMA instructions.
7751 * configure: Regenerate.
7752 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
7753 * sysdeps/ieee754/dbl-64/Makefile: New file.
7754 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7755 Remove brandred-fma4.
7756 (CFLAGS-brandred-fma4.c): Remove.
7757 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
7758 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
7759 define.
7760 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
7761 define.
7762
8e95c99a
L
77632012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7764
7765 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7766 LLONG_MAX != LONG_MAX.
7767 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7768 (_fitoa_word): Likewise.
7769 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
7770 LLONG_MAX != LONG_MAX.
7771 * stdio-common/_itowa.h: Include <_itoa.h>.
7772 (_itowa_word): Use _ITOA_WORD_TYPE on value.
7773 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
7774 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
7775 only if not defined.
7776 (_ITOA_WORD_TYPE): Likewise.
7777 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7778 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
7779
6f4db457
DM
77802012-03-21 David S. Miller <davem@davemloft.net>
7781
7782 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7783
7785fe5a
L
77842012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7785
7786 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
7787 of x86_64 when setting libc_cv_slibdir, libdir and
7788 libc_cv_localedir.
7789 * sysdeps/unix/sysv/linux/configure: Regenerated.
7790
4535cd55
JM
77912012-03-21 Joseph Myers <joseph@codesourcery.com>
7792
7793 * manual/lang.texi (Old Varargs): Remove section.
7794 (How Variadic): Update menu.
7795 (va_start): Do not mention varargs.h.
7796
17228132
TS
77972012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7798 Joseph Myers <joseph@codesourcery.com>
7799
7800 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
7801 link test.
7802 * configure: Regenerated.
7803
8149f976
TS
78042012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7805
05f3d1f6
UD
7806 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
7807 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
7808 conformtest.pl
8149f976 7809
1a4ac776
JM
78102012-03-21 Joseph Myers <joseph@codesourcery.com>
7811
be22ce65
JM
7812 * NOTES: Remove.
7813 * Makefile (files-for-dist): Remove NOTES.
7814 (NOTES): Remove rule.
7815 * README: Don't refer to NOTES.
7816 * manual/creature.texi: Don't include macros.texi.
7817 * manual/intro.texi (creature.texi): Remove comment referring to
7818 NOTES.
7819
40b601fb
JM
7820 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
7821 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
7822 * configure: Regenerated.
7823 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
7824 LIBC_TRY_CC_OPTION.
7825 (libc_cv_as_i686): Likewise.
7826 (libc_cv_cc_avx): Likewise.
7827 (libc_cv_cc_sse2avx): Likewise.
7828 (libc_cv_cc_fma4): Likewise.
7829 (libc_cv_cc_novzeroupper): Likewise.
7830 * sysdeps/i386/configure: Regenerated.
7831
1a4ac776
JM
7832 [BZ #13883]
7833 * sysdeps/i386/fpu/s_cexp.S: Remove.
7834 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7835 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7836 * math/libm-test.inc (cexp_test): Add more tests.
7837 * sysdeps/i386/fpu/libm-test-ulps: Update.
7838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7839
a458e7fe
AM
78402012-03-21 Allan McRae <allan@archlinux.org>
7841
7842 * timezone/Makefile: Do not install iso3166.tab and zone.tab
7843
0cb7efc5
JM
78442012-03-21 Joseph Myers <joseph@codesourcery.com>
7845
7846 [BZ #13871]
7847 * math/w_exp2.c: Do not include <float.h>.
7848 (o_threshold, u_threshold): Remove.
7849 (__exp2): Calculate result before checking finiteness and calling
7850 __kernel_standard.
7851 * math/w_exp2f.c: Likewise.
7852 * math/w_exp2l.c: Likewise.
7853 * math/libm-test.inc (exp2_test): Require overflow exception for
7854 1e6 input.
2460d3aa
JM
7855
7856 [BZ #3866]
7857 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
7858 range of signed 64-bit integers before using fistpll. Remove
7859 checks for whether integers fit in mantissa bits.
7860 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
7861 the range of signed 32-bit integers before using fistpl. Remove
7862 checks for whether integers fit in mantissa bits.
7863 * sysdeps/i386/fpu/e_powl.S (p64): New object.
7864 (__ieee754_powl): Test for y outside the range of signed 64-bit
7865 integers before using fistpll. Reduce 64-bit values to 63-bit
7866 ones as needed.
7867 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
7868 divide-by-zero is raised for zero to large negative powers.
7869 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
7870 (__ieee754_powl): Test for y outside the range of signed 64-bit
7871 integers before using fistpll. Reduce 64-bit values to 63-bit
7872 ones as needed.
7873 * math/libm-test.inc (pow_test): Add more tests.
7874
eb96ffb0
L
78752012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7876
7877 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
7878 <stdio-common/_itoa.h>.
7879 * debug/segfault.c: Likewise.
7880 * elf/dl-cache.c: Likewise.
7881 * elf/dl-minimal.c: Likewise.
7882 * elf/dl-misc.c: Likewise.
7883 * elf/dl-sysdep.c: Likewise.
7884 * elf/dl-version.c: Likewise.
7885 * elf/rtld.c: Likewise.
7886 * hurd/hurdsock.c: Likewise.
7887 * hurd/lookup-retry.c: Likewise.
7888 * malloc/malloc.c: Likewise.
7889 * malloc/mtrace.c: Likewise.
7890 * nscd/nscd_getgr_r.c: Likewise.
7891 * nscd/nscd_getpw_r.c: Likewise.
7892 * nscd/nscd_getserv_r.c: Likewise.
7893 * posix/getopt_init.c: Likewise.
7894 * posix/wordexp.c: Likewise.
7895 * stdio-common/_itoa.c: Likewise.
7896 * stdio-common/printf_fphex.c: Likewise.
7897 * stdio-common/vfprintf.c: Likewise.
7898 * string/_strerror.c: Likewise.
7899 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7900 * sysdeps/i386/i686/hp-timing.h: Likewise.
7901 * sysdeps/mach/_strerror.c: Likewise.
7902 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
7903 * sysdeps/mach/hurd/sethostid.c: Likewise.
7904 * sysdeps/mach/hurd/xmknodat.c: Likewise.
7905 * sysdeps/mach/xpg-strerror.c: Likewise.
7906 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7907 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7908 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
7909 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
7910 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7911 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
7912 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7913 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7914 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
7915 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
7916 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
7917 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7918 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
7919 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7920 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7921 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
7922 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
7923 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
7924 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7925 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7926 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
7927
7928 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
7929
7930 * stdio-common/_itoa.h: Moved to ...
7931 * sysdeps/generic/_itoa.h: Here.
7932
7933 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
7934
7935 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
7936 instead of "_itoa.h" and "_itowa.h".
7937 * stdio-common/vfprintf.: Likewise.
7938
d1af992d
L
79392012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7940
7941 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
7942 <bits/wordsize.h>.
7943 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
7944 (__signbit): Likwise.
7945 (llrintf): Likwise.
7946 (llrint): Likwise.
7947
114883e0
L
79482012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7949
7950 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
7951 __WORDSIZE != 64.
7952
c135cc1b
JM
79532012-03-20 Joseph Myers <joseph@codesourcery.com>
7954
7955 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
7956 OVERFLOW_EXCEPTION_OK.
7957 * math/libm-test.inc ("Philosophy"): Update comment about
7958 exception testing.
7959 (OVERFLOW_EXCEPTION): Define.
7960 (OVERFLOW_EXCEPTION_OK): Likewise.
7961 (INVALID_EXCEPTION_OK): Renumber.
7962 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7963 (IGNORE_ZERO_INF_SIGN): Likewise.
7964 (test_exceptions): Handle FE_OVERFLOW.
7965 (exp10_test): Expect overflow exceptions.
7966 (exp2_test): Likewise.
7967 (expm1_test): Likewise.
7968 (nextafter_test): Likewise.
7969 (pow_test): Likewise.
7970 (scalbn_test): Likewise.
7971 (scalbln_test): Likewise.
7972
95443d88
L
79732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7974
7975 * sysdeps/x86_64/bits/atomic.h
7976 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
7977 64bit integer.
7978 (atomic_exchange_acq): Likewise.
7979 (__arch_exchange_and_add_body): Likewise.
7980 (__arch_add_body): Likewise.
7981 (atomic_add_negative): Likewise.
7982 (atomic_add_zero): Likewise.
7983
490df6c4
L
79842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7985
c2722551 7986 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
7987 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
7988
5e52b189
L
79892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7990
7991 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
7992 Check __x86_64__ instead of __WORDSIZE.
7993
a9879d4c
L
79942012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7995
7996 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
7997
5df98260
DM
79982012-03-19 David S. Miller <davem@davemloft.net>
7999
e1497744
DM
8000 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8001
5df98260
DM
8002 * sysdeps/sparc/fpu/fenv_private.h: New file.
8003 * sysdeps/sparc/fpu/math_private.h: Use it.
8004 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
8005 Remove.
8006 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
8007 (libc_feholdexcept_setroundl): Remove.
8008 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
8009 Remove.
8010 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
8011 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
8012
b4c35121
L
80132012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8014
8015 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
8016 int64_t instead of long int.
8017 (INSERT_WORDS64): Likwise.
8018
56965fd7
L
80192012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8020
8021 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
8022 _Unwind_GetCFA return to _Unwind_Ptr first.
8023
83d1aec8
JM
80242012-03-19 Joseph Myers <joseph@codesourcery.com>
8025
1897ad44
JM
8026 [BZ #13629]
8027 * math/s_clog.c: Include <float.h>.
8028 (__clog): Scale large or subnormal inputs.
8029 * math/s_clogf.c: Likewise.
8030 * math/s_clogl.c: Likewise.
8031 * math/s_clog10.c: Include <float.h>.
8032 (M_LOG10_2): Define.
8033 (__clog10): Scale large or subnormal inputs.
8034 * math/s_clog10f.c: Likewise.
8035 * math/s_clog10l.c: Likewise.
8036 * math/libm-test.inc (clog_test): Add more tests.
8037 (clog10_test): Likewise.
8038 * sysdeps/i386/fpu/libm-test-ulps: Update.
8039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8040
7726d6a9
JM
8041 [BZ #11451]
8042 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
8043 x and y.
8044 * math/libm-test.inc (atan2_test): Add another test.
8045
83d1aec8
JM
8046 * Makerules (common-objdir-compile): Remove.
8047 * sysdeps/unix/Makefile (config-generated): Do not add
8048 $(unix-generated) to variable.
8049 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
8050 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
8051 Remove rule.
8052 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
8053 Likewise.
8054 [generic bits/local_lim.h] (before-compile): Do not append to
8055 variable.
8056 [generic bits/local_lim.h] (common-generated): Likewise.
8057 [generic sys/param.h] (before-compile): Do not append to variable.
8058 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
8059 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
8060 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
8061 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
8062 include.
8063 [generic sys/param.h] (sys/param.h-includes): Remove variable.
8064 [generic sys/param.h] (sys/param.h-includes): Remove rule.
8065 [generic sys/param.h] ($(addprefix
8066 $(common-objpfx),$(sys/param.h-includes))): Likewise.
8067 [generic sys/param.h] (common-generated): Do not append to
8068 variable.
8069 [generic sys/param.h] (sysdep_headers): Likewise.
8070 [generic bits/errno.h] (before-compile): Do not append to
8071 variable.
8072 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
8073 rule.
8074 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
8075 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
8076 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
8077 [generic bits/errno.h] (common-generated): Do not append to
8078 variable.
8079 [generic bits/ioctls.h] (before-compile): Do not append to
8080 variable.
8081 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
8082 rule.
8083 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
8084 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
8085 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
8086 rule.
8087 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
8088 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
8089 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
8090 [generic bits/ioctls.h] (common-generated): Do not append to
8091 variable.
8092 [generic sys/syscall.h] (syscall.h): Remove variable.
8093 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
8094 rule.
8095 [generic sys/syscall.h] (before-compile): Do not append to
8096 variable.
8097 [generic sys/syscall.h] (common-generated): Likewise.
8098 * sysdeps/unix/errnos-tmpl.c: Remove file.
8099 * sysdeps/unix/errnos.awk: Likewise.
8100 * sysdeps/unix/ioctls-tmpl.c: Likewise.
8101 * sysdeps/unix/ioctls.awk: Likewise.
8102 * sysdeps/unix/mk-local_lim.c: Likewise.
8103 * sysdeps/unix/snarf-ioctls: Likewise.
8104
4851a949
RH
81052012-03-19 Richard Henderson <rth@twiddle.net>
8106
bd37f2ee
RH
8107 * sysdeps/i386/fpu/fenv_private.h: New file.
8108 * sysdeps/i386/fpu/math_private.h: Use it.
8109 (math_opt_barrier, math_force_eval): Remove.
8110 (libc_feholdexcept_setround_53bit): Remove.
8111 (libc_feupdateenv_53bit): Remove.
8112 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8113 (math_opt_barrier, math_force_eval): Remove.
8114 (libc_feholdexcept): Remove.
8115 (libc_feholdexcept_setround): Remove.
8116 (libc_fetestexcept, libc_fesetenv): Remove.
8117 (libc_feupdateenv_test): Remove.
8118 (libc_feupdateenv, libc_feholdsetround): Remove.
8119 (libc_feresetround): Remove.
8120
d0adc922
RH
8121 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
8122 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8123
0fe0f1f8
RH
8124 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
8125 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
8126 (libc_feupdateenv_testl): New.
8127 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
8128 (libc_feupdateenv_testf): New.
8129 (libc_feupdateenv): Use libc_feupdateenv_test.
8130 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
8131 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
8132
eb92c487
RH
8133 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
8134 (libc_feholdsetroundf, libc_feholdsetroundl): New.
8135 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
8136 (libc_feresetround_noex): New.
8137 (libc_feresetround_noexf): New.
8138 (libc_feresetround_noexl): New.
8139 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
8140 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
8141 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
8142 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
8143 SET_RESTORE_ROUND.
8144 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8145 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
8146 (__cos): Likewise.
8147 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
8148 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8149 SET_RESTORE_ROUND_NOEX.
8150 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
8151 SET_RESTORE_ROUND_NOEXF.
8152 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
8153 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
8154 (libc_feholdsetroundf): New.
8155 (libc_feresetround, libc_feresetroundf): New.
8156
7d2e8012
RH
8157 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
8158 (libc_feholdexcept_setround_53bit): Convert from macro to function.
8159 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
8160
b4dabbb4
RH
8161 * sysdeps/generic/math_private.h: Include <fenv.h>.
8162 (default_libc_feholdexcept): New.
8163 (default_libc_feholdexcept_setround): New.
8164 (default_libc_fesetenv, default_libc_feupdateenv): New.
8165 (libc_feholdexcept): Only define if undefined.
8166 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
8167 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
8168 (libc_feholdexcept_setroundl): Likewise.
8169 (libc_feholdexcept_setround_53bit): Likewise.
8170 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
8171 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
8172 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
8173 (libc_feupdateenv_53bit): Likewise.
8174 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
8175 (libc_feholdexcept): Convert from macro to inline function.
8176 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
8177 (libc_fesetenv, libc_feupdateenv): Likewise.
8178
4851a949
RH
8179 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
8180 not previously defined.
8181 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
8182 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
8183 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
8184 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
8185 * sysdeps/ieee754/flt-32/math_private.h: New file.
8186 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
8187 math_private.h below SET_FLOAT_WORD.
8188 (__isnan, __isinf_ns, __finite): Remove.
8189 (__isnanf, __isinf_nsf, __finitef): Remove.
8190
e79d442e
AS
81912012-03-18 Andreas Schwab <schwab@linux-m68k.org>
8192
8193 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8194
90b80344
DM
81952012-03-17 David S. Miller <davem@davemloft.net>
8196
8197 [BZ #6471]
8198 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
8199 for 2.16.
8200
edc21804
DM
82012012-03-16 David S. Miller <davem@davemloft.net>
8202
77e927af
DM
8203 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
8204 warnings.
8205
374976dd
DM
8206 [BZ #6471]
8207 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
8208 properly.
8209 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
8210 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
8211 sysdep_routines when subdir is sysvipc.
8212 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
8213 __getshmlba helper.
8214
edc21804
DM
8215 * sysdeps/sparc/fpu/libm-test/ulps: Update.
8216
473c3ef3
L
82172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8218
8219 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
8220 [__LP64__].
8221
eb0f39b6
L
82222012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8223
8224 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
8225 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
8226 (__lround): Renamed to ...
8227 (__llround): This. Replace long int with long long int.
8228 Define lround functions as aliases of llround functions.
8229 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
8230
6b6cd74b
L
82312012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8232
8233 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
8234 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
8235 adresses to uintptr_t. Replace "long int" and "unsigned long
8236 int" with "greg_t" on va_arg.
8237
f1a77b01
L
82382012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8239
8240 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
8241 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
8242
8243 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
8244 Move e_machine check before EI_CLASS check. Handle x32
8245 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
8246 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
8247 SKIP_EM_IA_64 and include
8248 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
8249
8250 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
8251 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
8252 (add_system_dir): New macro.
8253
8254 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
8255 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
8256
11b90b9f
JM
82572012-03-16 Joseph Myers <joseph@codesourcery.com>
8258
c36e1d23
JM
8259 [BZ #2551]
8260 [BZ #2552]
8261 [BZ #2553]
8262 [BZ #2554]
8263 [BZ #2562]
8264 [BZ #2563]
8265 [BZ #2565]
8266 [BZ #2566]
8267 [BZ #2576]
8268 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
8269 (y0): Likewise.
8270 * math/w_j0f.c (j0f): Likewise.
8271 (y0f): Likewise.
8272 * math/w_j0l.c (__j0l): Likewise.
8273 (__y0l): Likewise.
8274 * math/w_j1.c (j1): Likewise.
8275 (y1): Likewise.
8276 * math/w_j1f.c (j1f): Likewise.
8277 (y1f): Likewise.
8278 * math/w_j1l.c (__j1l): Likewise.
8279 (__y1l): Likewise.
8280 * math/w_jn.c (jn): Likewise.
8281 (yn): Likewise.
8282 * math/w_jnf.c (jnf): Likewise.
8283 (ynf): Likewise.
8284 * math/w_jnl.c (__jnl): Likewise.
8285 (__ynl): Likewise.
8286 * math/libm-test.inc (j0_test): Add more tests.
8287 (j1_test): Likewise.
8288 (jn_test): Likewise. Add trailing semicolon to existing test.
8289 (y0_test): Likewise.
8290 (y1_test): Likewise.
8291 * sysdeps/i386/fpu/libm-test-ulps: Update.
8292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8293
11b90b9f
JM
8294 [BZ #13851]
8295 [BZ #13854]
8296 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8297 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8298 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8299 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8300 (__tanl): Set errno for infinite argument.
8301 * sysdeps/i386/fpu/mptan.c: Remove.
8302 * sysdeps/i386/fpu/s_tan.S: Likewise.
8303 * sysdeps/i386/fpu/s_tanl.S: Likewise.
8304 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8305 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8306 * math/libm-test.inc (tan_test): Add more tests and enable more
8307 tests for double and long double.
8308 * sysdeps/i386/fpu/libm-test-ulps: Update.
8309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8310
6a1bd2a1
JK
83112012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8312
8313 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8314 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8315
10a803e0
RM
83162012-03-16 Roland McGrath <roland@hack.frob.com>
8317
8318 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8319 * configure.in: Use it for both main tree and add-ons.
8320 * configure: Regenerated.
8321
f196c7f7
L
83222012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8323
8324 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8325
8848d99d
JM
83262012-03-16 Joseph Myers <joseph@codesourcery.com>
8327
96cbe7f4
JM
8328 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8329 in comment.
8330
8848d99d
JM
8331 [BZ #13851]
8332 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8333 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8334 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8335 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8336 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8337 infinite argument.
8338 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8339 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8340 != 0 for prec == 2.
8341 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8342 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8343 * sysdeps/i386/fpu/s_cosl.S: Likewise.
8344 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8345 * sysdeps/i386/fpu/s_sinl.S: Likewise.
8346 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8347 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8348 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8349 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8350 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8351 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8352 * math/libm-test.inc (cos_test): Add more tests and enable more
8353 tests for long double.
8354 (sin_test): Likewise.
8355 (sincos_test): Likewise.
8356 * sysdeps/i386/fpu/libm-test-ulps: Update.
8357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8358
dd7f4703
DM
83592012-03-16 David S. Miller <davem@davemloft.net>
8360
8361 * sysdeps/sparc/fpu/math_private.h: New file.
8362
006f1daa
DM
83632012-03-15 David S. Miller <davem@davemloft.net>
8364
c0c83bc8
DM
8365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8366 file.
e6a62e18 8367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
8368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8369 file.
e6a62e18
DM
8370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
8371 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
8372 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
8373 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
8374 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
8375 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
8376 sysdep routines.
8377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8378
88cb87d9
DM
8379 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
8380 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
8381
006f1daa 8382 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
8383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
8384 sparc-ifunc.h
006f1daa 8385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
8386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8387 Likewise.
8388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8389 Likewise.
006f1daa
DM
8390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
8391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
8393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8394 Likewise.
006f1daa
DM
8395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
8399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
8400 Likewise.
8401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
8402 Likewise.
006f1daa
DM
8403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
8405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8407 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8408 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8409 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
8410 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
8411 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8412 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8413 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8414 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8415 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8416 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8417 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
8418 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
8419 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
8420 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
8421 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
8422 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
8423 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
8424 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
8425 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
8426 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
8427
11e0098e
AS
84282012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8429
8430 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
8431 scaling.
8432 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8433
e85b09d0
AJ
84342012-03-15 Andreas Jaeger <aj@suse.de>
8435
8436 [BZ #13852]
8437 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
8438 ieee754/flt-32 implementation for sin, cos and sincos.
8439 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
8440 * sysdeps/i386/fpu/s_cosf.S: Likewise.
8441 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
8442 * sysdeps/i386/fpu/s_sinf.S: Likewise.
8443 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
8444 ieee754/flt-32 implementation for tan.
8445
8446 * math/libm-test.inc (cos_test): Enable some large input tests for
8447 float as well
8448 (sin_test): Likewise.
8449 (sincos_test): Likewise.
8450 (tan_test): Add tests for large input.
8451
8452 * sysdeps/i386/fpu/libm-test-ulps: Update.
8453
81c64153
AJ
84542012-03-15 Andreas Jaeger <aj@suse.de>
8455
8456 [BZ #13658]
8457 * math/libm-test.inc (cos_test): Add more test cases.
8458 (sin_test): Likewise.
8459 (sincos_test): Likewise.
8460
7bbfa5c6
AJ
84612012-03-15 Andreas Jaeger <aj@suse.de>
8462
8463 [BZ #13837]
8464 * math/libm-test.inc (cos_test): Add a test case for large input
8465 value.
8466 (sin_test): Likewise.
8467 (sincos_test): Likewise.
8468
84692012-03-15 Andreas Jaeger <aj@suse.de>,
8470 Joseph Myers <joseph@codesourcery.com>
8471
8472 [BZ #13658]
0671f479 8473 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
8474 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
8475 * sysdeps/i386/fpu/branred.c: Likewise.
8476 * sysdeps/i386/fpu/dosincos.c: Likewise.
8477 * sysdeps/i386/fpu/mpa.c: Likewise.
8478 * sysdeps/i386/fpu/s_cos.S: Likewise.
8479 * sysdeps/i386/fpu/s_sin.S: Likewise.
8480 * sysdeps/i386/fpu/s_sincos.S: Likewise.
8481 * sysdeps/i386/fpu/sincos32.c: Likewise.
8482
8483 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
8484 Define.
8485 (libc_feupdateenv_53bit): Define.
8486 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
8487 Define.
8488 (libc_feupdateenv_53bit): Define.
8489
8490 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
8491 53 bit (without extend i386 double precision).
8492
8493 * math/libm-test.inc (sincos_test): Add tests for large input.
8494 (sin): Likewise.
8495 (cos): Likewise.
8496
8497 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8498
9cad04ea
AS
84992012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8500
8501 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8502
f7062b9a
DM
85032012-03-15 David S. Miller <davem@davemloft.net>
8504
8505 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
8506 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
8507 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
8508 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
8509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
8510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
8511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
8512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
8513 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
8514 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
8515 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
8516 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
8517 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
8518 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
8519 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
8520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
8521 file.
f7062b9a 8522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
8523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
8524 file.
f7062b9a 8525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
8526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
8527 file.
f7062b9a 8528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
8529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
8530 file.
f7062b9a
DM
8531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
8532 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
8533 fmin/fmax sysdep routines.
8534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8535
7bd951ff
DM
85362012-03-14 David S. Miller <davem@davemloft.net>
8537
559398ab
DM
8538 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
8539 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
8540 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
8541 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
8542 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
8543 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
8544 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
8545 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
8546 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
8547 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
8548 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
8549 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
8550 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
8551 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
8552 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
8553 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
8554 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
8555 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
8556 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
8557 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
8558 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
8559 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
8560 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
8561 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
8562 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
8563 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
8564 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
8565 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
8566 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
8567 routines.
8568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
8569 file.
559398ab 8570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
8571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
8572 file.
559398ab 8573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
8574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
8575 file.
559398ab 8576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
8577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
8578 file.
559398ab 8579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
8580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
8581 file.
559398ab 8582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
8583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
8584 file.
8585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
8586 file.
8587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
8588 file.
8589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
8590 file.
8591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
8592 New file.
8593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
8594 file.
8595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
8596 file.
559398ab 8597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
8598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
8599 file.
559398ab 8600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
8601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
8602 file.
559398ab 8603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
8604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
8605 file.
559398ab 8606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
8607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
8608 VIS3 routines.
559398ab
DM
8609
8610 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8611 New file.
8612
5a1c1e32
DM
8613 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8614
eae47a36
DM
8615 * sysdeps/sparc/configure.in: New file.
8616 * sysdeps/sparc/configure: Generate.
8617 * configure.in (libc_cv_sparc_as_vis3): Substitute.
8618 * configure: Regenerate.
8619 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
8620 * config.make.in (have-as-vis3): New.
8621 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
8622 available use -Av9d instead of -Av9a.
8623 * sysdeps/sparc/sparc64/Makefile: Likewise.
8624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
8625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
8626 New file.
8627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
8628 file.
8629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
8630 New file.
8631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
8632 file.
eae47a36
DM
8633 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
8634 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
8635 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
8636 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
8637 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
8638
c0c83bc8
DM
8639 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
8640 fzeros/fnegs to load 0x80000000 into a float register instead of
8641 using the stack.
7bd951ff
DM
8642 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
8643
bd951ccb
JM
86442012-03-14 Joseph Myers <joseph@codesourcery.com>
8645
8646 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8647 bits/syscall.h.
8648 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
8649 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
8650 ($(inst_includedir)/bits/syscall.h): Remove rule.
8651 ($(objpfx)bits/syscall.d): Include instead of
8652 $(objpfx)syscall-list.d.
8653 (generated): Change syscall-list.h and syscall-list.d to
8654 bits/syscall.h and bits/syscall.d.
8655
bb4e6db2
RM
86562012-03-14 Roland McGrath <roland@hack.frob.com>
8657
8658 [BZ #13846]
8659 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
8660
aa4a2ae1
JM
86612012-03-14 Joseph Myers <joseph@codesourcery.com>
8662
e456826d
JM
8663 [BZ #13841]
8664 * math/s_csqrt.c: Include <float.h>.
8665 (__csqrt): Scale large or subnormal inputs.
8666 * math/s_csqrtf.c: Likewise.
8667 * math/s_csqrtl.c: Likewise.
8668 * math/libm-test.inc (csqrt_test): Add more tests.
8669 * sysdeps/i386/fpu/libm-test-ulps: Update.
8670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8671
aa4a2ae1
JM
8672 [BZ #13840]
8673 * math/libm-test.inc (hypot_test): Add more tests.
8674
7c10fd35
DM
86752012-03-13 David S. Miller <davem@davemloft.net>
8676
8677 [BZ #13840]
8678 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
8679 double-precision for the calculation instead of scaling.
8680
f453b98b
JM
86812012-03-13 Joseph Myers <joseph@codesourcery.com>
8682
8683 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
8684 manipulate bits before adding and subtracting TWO52[sx].
8685 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
8686 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8687 Likewise.
8688 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
8689
09a3453f
DM
86902012-03-13 David S. Miller <davem@davemloft.net>
8691
8e59da90
DM
8692 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
8693 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
8694 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
8695 rtld-global-offsets.h
8696 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8697
2a8ab7f2
DM
8698 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
8699 large parameters.
8700
10f62770
DM
8701 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
8702
5f0bdb18
DM
8703 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
8704 'err' in the ifdef scope in which it is actually used.
8705
09a3453f
DM
8706 * nss/nss_db/db-init.c: Include string.h
8707
b4b2eb5e
DM
87082012-03-12 David S. Miller <davem@davemloft.net>
8709
98bb2f1c
DM
8710 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8711 masking out of the most significant byte of random value used.
8712 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8713 Fix coding style in previous change.
8714
b4b2eb5e
DM
8715 * sysdeps/unix/sysv/linux/kernel-features.h
8716 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
8717 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
8718 expression.
8719 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
8720 later.
8721
6e226b09
DM
87222012-03-11 David S. Miller <davem@davemloft.net>
8723
a1bcbd40
DM
8724 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8725 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
8726 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
8727 for 'resultvar' otherwise things get truncated on 64-bit.
8728
cb9d6174
DM
8729 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8730 Fix masking out of the most significant byte of random value used.
8731
6e226b09
DM
8732 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8733
058c132d
AS
87342012-03-10 Andreas Schwab <schwab@linux-m68k.org>
8735
8736 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8737
2d2cd515
DM
87382012-03-09 David S. Miller <davem@davemloft.net>
8739
8740 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
8741 variables with appropriate CPP guards.
8742 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
8743 frame pointer, not the stack pointer. Correct layout comments. Fix test
8744 on resulting framesize and the management of the outregs buffer for pltexit.
8745 Preserve floating point return values across _dl_call_pltexit call.
8746 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
8747 framesize and the management of the outregs buffer for pltexit.
8748 Preserve floating point return values across _dl_call_pltexit
8749 call.
8750 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
8751 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
8752 (print_exit): Fix format string for return register value.
8753
9a07f9d0
JM
87542012-03-10 Joseph Myers <joseph@codesourcery.com>
8755
8756 * sunrpc/Makefile (others): Add rpcgen.
8757 ($(objpfx)rpcgen): Remove special build rule and dependency on
8758 libc.
8759 * sunrpc/rpcgen.c: New file.
8760
547b5e30
PE
87612012-03-09 Paul Eggert <eggert@cs.ucla.edu>
8762
c524201a
PE
8763 [BZ #13673]
8764 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
8765 * stdio-common/bug-vfprintf-nargs.c: Likewise.
8766 * sysdeps/i386/crti.S: Likewise.
8767 * sysdeps/i386/crtn.S: Likewise.
8768 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
8769 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
8770 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
8771 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
8772 * sysdeps/sh/crti.S: Likewise.
8773 * sysdeps/sh/crtn.S: Likewise.
8774 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8775
7b6235f2
PE
8776 [BZ #13673]
8777 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
8778 with URL.
8779 * locale/programs/locfile-kw.gperf: Likewise.
8780 * locale/programs/charmap-kw.h: Regenerated.
8781 * locale/programs/locfile-kw.h: Likewise.
8782
547b5e30
PE
8783 [BZ #13673]
8784 * intl/plural.y: Replace FSF snail mail address with URL.
8785 * intl/plural.c: Regenerated.
8786
5f0a5dae
RH
87872012-03-09 Richard Henderson <rth@twiddle.net>
8788
8789 * include/math_private.h: Remove file.
8790 * math/math_private.h: Move file ...
8791 * sysdeps/generic/math_private.h: ... here.
8792
b8c03620
RH
8793 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
8794 * sysdeps/powerpc/fpu/math_private.h: Likewise.
8795 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8796
4e234f5d 8797 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
8798 and <math_private.h>.
8799 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8800 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8801 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8802 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8803 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8804 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
8805 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8806 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8807 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8808 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8809 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8810 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8811 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8812 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8813 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8814 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8815 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8816 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8817 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8818 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8819 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8820 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8821 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8822 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8823 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8824 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8825 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8826 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8827 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8828 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8829 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8830 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8831 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8832 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8833 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8834 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8835 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8836 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8837 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8838 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8839 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
8840 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8841 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8842 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8843 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8844 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8845 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8846 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8847 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8848 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8849 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8850 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8851 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8852 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8853 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8854 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8855 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8856 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8857 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8858 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
8859 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8860 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8861 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8862 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8863 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8864 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8865 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8866 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8867 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
8868 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
8869 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8870 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8871 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8872 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8873 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
8874 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8875 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
8876 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8877 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
8878 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8879 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8880 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8881 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8882 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8883 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8884 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8885 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
8886 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8887 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8888 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8889 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8890 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8891 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8892 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8893 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8894 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8895 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8896 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8897 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8898 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8899 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8900 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8901 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8902 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8903 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8904 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8905 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8906 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8907 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8908 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8909 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8910 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8911 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8912 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8913 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8914 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8915 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8916 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8917 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8918 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8919 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8920 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8921 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8922 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
8923 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8924 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8925 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8926 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
8927 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8928 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8929 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8930 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8931 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8932 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8933 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8934 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8935 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8936 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8937 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
8938 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8939 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8940 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8941 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8942 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
8943 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
8944 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8945 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8946 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8947 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8948 * sysdeps/ieee754/k_standard.c: Likewise.
8949 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8950 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8951 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8952 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8953 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8954 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8955 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8956 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8957 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8958 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8959 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8960 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8961 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8962 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8963 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8964 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8965 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8966 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8967 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8968 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8969 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8970 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8971 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8972 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8973 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8974 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8975 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8976 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8977 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8978 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8979 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8980 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8981 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8982 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8983 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8984 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8985 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8986 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
8987 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8988 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8989 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8990 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8991 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8992 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8993 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8994 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8995 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8996 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8997 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8998 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8999 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9000 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9001 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9002 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9003 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9004 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9005 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
9006 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9007 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9008 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9009 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9010 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9011 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9012 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9013 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9014 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9015 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9016 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9017 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9018 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9019 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9020 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9021 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9022 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9023 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9024 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9025 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
9026 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9027 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9028 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9029 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9030 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9031 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9032 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9033 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9034 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9035 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9036 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9037 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9038 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9039 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
9040 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9041 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9042 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9043 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9044 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9045 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
9046 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9047 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9048 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
9049 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9050 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9051 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9052 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9053 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
9054 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9055 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9056 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9057 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
9058 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9059 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9060 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9061 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9062 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9063 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9064 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9065 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9066 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9067 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9068 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9069 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9070 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9071 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9072 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9073 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9074 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9075 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9076 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9077 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9078 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9079 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9080 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9081 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9082 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9083 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9084 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9085 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
9086 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9087 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9088 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9089 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9090 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9091 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9092 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9093 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9094 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9095 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9096 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9097 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9098 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
9099 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9100 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9101 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9102 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9103 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
9104 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
9105 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9106 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9107 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9108 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9109 * sysdeps/ieee754/s_lib_version.c: Likewise.
9110 * sysdeps/ieee754/s_matherr.c: Likewise.
9111 * sysdeps/ieee754/s_signgam.c: Likewise.
9112 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9113 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9114 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9115 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9116 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9117 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9118 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
9119 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
9120 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
9121 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9122 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9123 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9124 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9125 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9126 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
9127 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9128 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9129 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9130 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9131 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9132 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 9133
1991fa03
JM
91342012-03-09 Joseph Myers <joseph@codesourcery.com>
9135
9136 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
9137 * sunrpc/rpc_main.c: Likewise.
9138 * sunrpc/rpc_svcout.c: Likewise.
9139
60d6f5a6
DM
91402012-03-09 David S. Miller <davem@davemloft.net>
9141
9142 * include/math_private.h: New file.
9143
4962050e
JM
91442012-03-09 Joseph Myers <joseph@codesourcery.com>
9145
02a6f887
JM
9146 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
9147 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
9148 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
9149 from <bits/socket_type.h>.
9150 (enum __socket_type): Don't define here.
9151 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
9152 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9153 bits/socket_type.h.
9154
c6e013c1
JM
9155 [BZ #13566]
9156 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
9157 checking __USE_GNU.
9158
4962050e
JM
9159 * Makerules ($(inst_includedir)/%.h): New rule.
9160 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
9161 (install-others): Remove variable setting.
9162 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
9163
38842f45
RH
91642012-03-08 Richard Henderson <rth@twiddle.net>
9165
67bb6da6
RH
9166 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
9167 from macro to inline function; merge with the
9168 !__LIBC_INTERNAL_MATH_INLINES version.
9169 (__ieee754_sqrtf): Likewise.
9170
15194b4b
RH
9171 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
9172 to inline function.
9173 (__rintf, __floor, __floorf): Likewise.
9174
64e21ede
RH
9175 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
9176 macro to inline function.
9177 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
9178
38842f45
RH
9179 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
9180 not <math/math_private.h>.
9181
c64bf5fe
DM
91822012-03-08 David S. Miller <davem@davemloft.net>
9183
9184 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
9185 copyright year.
9186 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9187
82d86f28
TS
91882012-03-08 Thomas Schwinge <thomas@codesourcery.com>
9189
9190 * resolv/gai_misc.c (handle_requests): Fix struct timespec
9191 normalization.
9192 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
9193 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9194
aea5d727
UD
91952012-03-08 Ulrich Drepper <drepper@gmail.com>
9196
9197 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
9198 be defined individually, they must be defined as a block. Define
9199 S for printing a string instead of hidint the different by using a
9200 macro for adding the 'l'.
9201 * stdio-common/tst-fphex-wide.c: Adjust.
9202
70bca0a3
MP
92032012-03-07 Marek Polacek <polacek@redhat.com>
9204
9205 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
9206
65b81130
MP
92072012-03-08 Marek Polacek <polacek@redhat.com>
9208
9209 [BZ #13806]
9210 * stdio-common/Makefile (tests): Add tst-fphex-wide.
9211 * stdio-common/tst-fphex.c: Define a few macros to make the
9212 test reusable. Use them.
9213 * stdio-common/tst-fphex-wide.c: New file.
9214
07037eeb
JM
92152012-03-08 Joseph Myers <joseph@codesourcery.com>
9216
a7a93d50
JM
9217 [BZ #6911]
9218 * manual/macros.texi (gnusystems): New macro.
9219 (nongnusystems): Likewise.
9220 (gnulinuxhurdsystems): Likewise.
9221 (gnuhurdsystems): Likewise..
9222 (gnulinuxsystems): Likewise.
9223 * manual/charset.texi: Use new macros or @theglibc{} to refer to
9224 variants of the GNU system, not "GNU system".
9225 * manual/conf.texi: Likewise.
9226 * manual/errno.texi: Likewise. Update example of errno macro
9227 expansion.
9228 * manual/filesys.texi: Likewise.
9229 (getumask): Document as specific to GNU/Hurd.
9230 * manual/install.texi: Likewise. Reword some references to
9231 GNU/Linux.
9232 * manual/intro.texi: Likewise.
9233 * manual/io.texi: Likewise.
9234 (File Name Portability): Detail which constraints are inapplicable
9235 to all GNU systems and which are only inapplicable to GNU/Hurd.
9236 * manual/job.texi: Likewise.
9237 * manual/llio.texi: Likewise.
9238 (O_NOCTTY): Document as present on GNU/Linux.
9239 * manual/maint.texi: Likewise.
9240 * manual/memory.texi: Likewise.
9241 * manual/pattern.texi: Likewise.
9242 * manual/pipe.texi: Likewise.
9243 * manual/process.texi: Likewise.
9244 * manual/resource.texi: Likewise.
9245 (RUSAGE_CHILDREN): Remove statement about specifying a particular
9246 child on GNU/Hurd.
9247 * manual/setjmp.texi: Likewise.
9248 * manual/signal.texi: Likewise.
9249 * manual/startup.texi: Likewise.
9250 * manual/stdio.texi: Likewise.
9251 * manual/terminal.texi: Likewise.
9252 (ONLCR): Document as POSIX.
9253 (OXTABS): Document availability on GNU/Linux as XTABS.
9254 (ONOEOT): Document availability separately from other bits.
9255 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
9256 * manual/time.texi: Likewise.
9257 * manual/users.texi: Likewise.
9258 * INSTALL: Regenerated.
9259 * sysdeps/gnu/errlist.c: Regenerated.
9260
07037eeb
JM
9261 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
9262 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
9263 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
9264 puts.
9265 * configure: Regenerated.
9266
d1d3431a
JM
92672012-03-07 Joseph Myers <joseph@codesourcery.com>
9268
af6a1e37
JM
9269 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
9270 default includes instead of AC_HEADER_CHECK.
9271 * sysdeps/i386/configure: Regenerated.
9272
d1d3431a
JM
9273 [BZ #10716]
9274 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
9275 * math/s_cacoshf.c (__cacoshf): Likewise.
9276 * math/s_cacoshl.c (__cacoshl): Likewise.
9277 * math/s_casinh.c (__casinh): Set signs of result from argument.
9278 * math/s_casinhf.c (__casinhf): Likewise.
9279 * math/s_casinhl.c (__casinhl): Likewise.
9280 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9281 (casinh_test): Add more tests.
9282 * sysdeps/i386/fpu/libm-test-ulps: Update.
9283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9284
482ff4da
UD
92852012-03-07 Ulrich Drepper <drepper@gmail.com>
9286
872fda05
UD
9287 * po/zh_TW.po: Update from translation team.
9288
a4300c7a
UD
9289 * login/Makefile (distribute): Remove variable.
9290 * catgets/Makefile: Likewise.
9291 * mach/Makefile: Likewise.
9292 * malloc/Makefile: Likewise.
9293 * misc/Makefile: Likewise.
9294 * iconv/Makefile: Likewise.
9295 * nscd/Makefile: Likewise.
9296 * hurd/Makefile: Likewise.
9297 * manual/Makefile: Likewise.
9298 * locale/Makefile: Likewise.
9299 * intl/Makefile: Likewise.
9300 * conform/Makefile: Likewise.
9301 * nss/Makefile: Likewise.
9302 * time/Makefile: Likewise.
9303 * soft-fp/Makefile: Likewise.
9304 * dirent/Makefile: Likewise.
9305 * gmon/Makefile: Likewise.
9306 * po/Makefile: Likewise.
9307 * rt/Makefile: Likewise.
9308 * socket/Makefile: Likewise.
9309 * math/Makefile: Likewise.
9310 * signal/Makefile: Likewise.
9311 * debug/Makefile: Likewise.
9312 * elf/Makefile: Likewise.
9313 * timezone/Makefile: Likewise.
9314 * stdlib/Makefile: Likewise.
9315 * iconvdata/Makefile: Likewise.
9316 * sunrpc/Makefile: Likewise.
9317 * io/Makefile: Likewise.
9318 * argp/Makefile: Likewise.
9319 * inet/Makefile: Likewise.
9320 * hesiod/Makefile: Likewise.
9321 * grp/Makefile: Likewise.
9322 * csu/Makefile: Likewise.
9323 * wctype/Makefile: Likewise.
9324 * crypt/Makefile: Likewise.
9325 * libio/Makefile: Likewise.
9326 * string/Makefile: Likewise.
9327 * nis/Makefile: Likewise.
9328 * resolv/Makefile: Likewise.
9329 * stdio-common/Makefile: Likewise.
9330 * wcsmbs/Makefile: Likewise.
9331 * dlfcn/Makefile: Likewise.
9332 * posix/Makefile: Likewise.
9333
3b7c4e74 9334 [BZ #6959]
482ff4da
UD
9335 * timezone/Makefile: Don't install timezone files, just the programs
9336 and scripts.
9337
f72ed77d
UD
93382012-03-06 Ulrich Drepper <drepper@gmail.com>
9339
a000466f
UD
9340 * nss/databases.def: Add missing gshadow entry.
9341
f72ed77d
UD
9342 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
9343
a53b7a4e
MP
93442012-03-06 Marek Polacek <polacek@redhat.com>
9345
9346 [BZ #13726]
9347 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9348 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9349 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9350 * stdio-common/tst-long-dbl-fphex.c: New file.
9351
e9258400
DM
93522012-03-06 David S. Miller <davem@davemloft.net>
9353
9354 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9355 (set_obp_int): New function.
9356 (get_obp_int): New function.
9357 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
9358 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9359 Avoid unused variable warnings on 'val' and use builtin_expect.
9360 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9361 __builtin_expect.
e9258400
DM
9362 (INLINE_CLONE_SYSCALL): Likewise.
9363
3bd2c723
DM
93642012-03-05 David S. Miller <davem@davemloft.net>
9365
9366 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9367
bbb78d03
AS
93682012-03-05 Andreas Schwab <schwab@linux-m68k.org>
9369
884c5db4
AS
9370 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9371
bbb78d03
AS
9372 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
9373 only for |x| >= 40.
9374 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9375
1c9f702a 93762012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
9377
9378 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
9379 Replace gettimeofday with __vdso_gettimeofday.
9380
7be16f82
RM
9381 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9382 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
9383 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
9384
9385 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
9386 time with __vdso_time.
9387
ed58a00f
JM
93882012-03-05 Joseph Myers <joseph@codesourcery.com>
9389
9390 * manual/lang.texi (size_t): Note types to which size_t may be
9391 equivalent with the GNU C Library, but do not describe when
9392 differences between them are significant.
9393
30ee4ced
AJ
93942012-03-05 Andreas Jaeger <aj@suse.de>
9395
9396 * sysdeps/i386/fpu/libm-test-ulps: Update.
9397
b7cd39e8
JM
93982012-03-05 Joseph Myers <joseph@codesourcery.com>
9399
9400 [BZ #3976]
9401 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
9402 (__ieee754_pow): Save and restore rounding mode and use
9403 round-to-nearest for main computations.
9404 * math/libm-test.inc (pow_test_tonearest): New function.
9405 (pow_test_towardzero): Likewise.
9406 (pow_test_downward): Likewise.
9407 (pow_test_upward): Likewise.
9408 (main): Call the new functions.
9409 * sysdeps/i386/fpu/libm-test-ulps: Update.
9410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
9411
9412 [BZ #3976]
9413 * math/libm-test.inc (cosh_test_tonearest): New function.
9414 (cosh_test_towardzero): Likewise.
9415 (cosh_test_downward): Likewise.
9416 (cosh_test_upward): Likewise.
9417 (sinh_test_tonearest): Likewise.
9418 (sinh_test_towardzero): Likewise.
9419 (sinh_test_downward): Likewise.
9420 (sinh_test_upward): Likewise.
9421 (main): Call the new functions.
9422 * sysdeps/i386/fpu/libm-test-ulps: Update.
9423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9424
6c6a98c9
TV
94252012-03-05 Tom de Vries <tom@codesourcery.com>
9426
9427 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
9428 default stack guard is set in last bytes.
9429 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
9430
21bb2d2e 94312012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 9432
21bb2d2e 9433 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 9434
21bb2d2e
AJ
9435 [BZ #13656]
9436 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
9437 possibly allocate from heap instead of stack.
9438 * stdio-common/bug-vfprintf-nargs.c: New file.
9439 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 9440
c6922934
AS
94412012-03-03 Andreas Schwab <schwab@linux-m68k.org>
9442
9443 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9444
bc957d53
MP
94452012-03-03 Marek Polacek <polacek@redhat.com>
9446
9447 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
9448 * math/math_private.h: Likewise.
9449 * stdlib/tst-strtod.c: Likewise.
9450 * sysdeps/i386/i486/bits/atomic.h: Likewise.
9451 * sysdeps/x86_64/bits/atomic.h: Likewise.
9452
6358490d
DM
94532012-03-02 David S. Miller <davem@davemloft.net>
9454
9455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
9456 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
9457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
9458 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
9459 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
9460 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
9461 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
9462 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
9463
01ae168d
RM
94642012-03-02 Roland McGrath <roland@hack.frob.com>
9465
d9a17c07
RM
9466 [BZ #13792]
9467 * manual/examples/README: New file, says the example source files
9468 can be used under GPL>=2.
9469 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
9470 line containing just "*/".
9471 * manual/examples/add.c: Add copyright header (GPL>=2).
9472 * manual/examples/argp-ex1.c: Likewise.
9473 * manual/examples/argp-ex2.c: Likewise.
9474 * manual/examples/argp-ex3.c: Likewise.
9475 * manual/examples/argp-ex4.c: Likewise.
9476 * manual/examples/atexit.c: Likewise.
9477 * manual/examples/db.c: Likewise.
9478 * manual/examples/dir.c: Likewise.
9479 * manual/examples/dir2.c: Likewise.
9480 * manual/examples/execinfo.c: Likewise.
9481 * manual/examples/filecli.c: Likewise.
9482 * manual/examples/filesrv.c: Likewise.
9483 * manual/examples/fmtmsgexpl.c: Likewise.
9484 * manual/examples/genpass.c: Likewise.
9485 * manual/examples/inetcli.c: Likewise.
9486 * manual/examples/inetsrv.c: Likewise.
9487 * manual/examples/isockad.c: Likewise.
9488 * manual/examples/longopt.c: Likewise.
9489 * manual/examples/memopen.c: Likewise.
9490 * manual/examples/memstrm.c: Likewise.
9491 * manual/examples/mkfsock.c: Likewise.
9492 * manual/examples/mkisock.c: Likewise.
9493 * manual/examples/mygetpass.c: Likewise.
9494 * manual/examples/pipe.c: Likewise.
9495 * manual/examples/popen.c: Likewise.
9496 * manual/examples/rprintf.c: Likewise.
9497 * manual/examples/search.c: Likewise.
9498 * manual/examples/select.c: Likewise.
9499 * manual/examples/setjmp.c: Likewise.
9500 * manual/examples/sigh1.c: Likewise.
9501 * manual/examples/sigusr.c: Likewise.
9502 * manual/examples/stpcpy.c: Likewise.
9503 * manual/examples/strdupa.c: Likewise.
9504 * manual/examples/strftim.c: Likewise.
9505 * manual/examples/strncat.c: Likewise.
9506 * manual/examples/subopt.c: Likewise.
9507 * manual/examples/swapcontext.c: Likewise.
9508 * manual/examples/termios.c: Likewise.
9509 * manual/examples/testopt.c: Likewise.
9510 * manual/examples/testpass.c: Likewise.
9511 * manual/examples/timeval_subtract.c: Likewise.
9512
01ae168d
RM
9513 [BZ #13792]
9514 * manual/time.texi (Elapsed Time): Move timeval_subtract example
9515 function to ...
9516 * manual/timeval_subtract.c.texi: ... here, new file.
9517
49efa33d
DM
95182012-03-02 David S. Miller <davem@davemloft.net>
9519
9520 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
9521
28afd92d
JM
95222012-03-02 Joseph Myers <joseph@codesourcery.com>
9523
804360ed
JM
9524 [BZ #3976]
9525 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
9526 (__sin): Save and restore rounding mode and use round-to-nearest
9527 for all computations.
9528 (__cos): Save and restore rounding mode and use round-to-nearest
9529 for all computations.
9530 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
9531 <fenv.h>.
9532 (tan): Save and restore rounding mode and use round-to-nearest for
9533 all computations.
9534 * math/libm-test.inc (cos_test_tonearest): New function.
9535 (cos_test_towardzero): Likewise.
9536 (cos_test_downward): Likewise.
9537 (cos_test_upward): Likewise.
9538 (sin_test_tonearest): Likewise.
9539 (sin_test_towardzero): Likewise.
9540 (sin_test_downward): Likewise.
9541 (sin_test_upward): Likewise.
9542 (tan_test_tonearest): Likewise.
9543 (tan_test_towardzero): Likewise.
9544 (tan_test_downward): Likewise.
9545 (tan_test_upward): Likewise.
9546 (main): Call the new functions.
9547 * sysdeps/i386/fpu/libm-test-ulps: Update.
9548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9549
a6d06d7b
JM
9550 [BZ #10135]
9551 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
9552 small n, then large n, before computing and testing k+n.
9553 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9554 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9555 Likewise.
9556 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9557 Likewise.
9558 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
9559 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9560 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9561 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9562 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9563 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9564 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9565 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
9566 * math/libm-test.inc (scalbn_test): Add more tests.
9567 (scalbln_test): Likewise.
9568
07e12bb3
JM
9569 * manual/filesys.texi (mode_t): Describe constraints on size and
9570 signedness, not exact equivalence to a particular type.
9571 (ino_t): Likewise.
9572 (ino64_t): Likewise.
9573 (dev_t): Likewise.
9574 (nlink_t): Likewise.
9575 (blkcnt_t): Likewise.
9576 (blkcnt64_t): Likewise.
9577 * manual/llio.texi (off_t): Likewise.
9578
28afd92d
JM
9579 [BZ #3976]
9580 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
9581 (__ieee754_exp): Save and restore rounding mode and use
9582 round-to-nearest for all computations.
9583 * math/libm-test.inc (exp_test_tonearest): New function.
9584 (exp_test_towardzero): Likewise.
9585 (exp_test_downward): Likewise.
9586 (exp_test_upward): Likewise.
9587 (main): Call the new functions.
9588 * sysdeps/i386/fpu/libm-test-ulps: Update.
9589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9590
b1eeb65d
CD
95912012-03-01 Chris Demetriou <cgd@google.com>
9592
9593 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
9594 have predictable order.
9595
53362a4b
DM
95962012-03-01 David S. Miller <davem@davemloft.net>
9597
3c969083
DM
9598 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
9599
759707de
DM
9600 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
9601 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
9602 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
9603 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
9604
dfdb8ff2
DM
9605 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
9606 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
9607 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
9608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
9609 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
9610 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
9611 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
9612 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
9613 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
9614
ead89f96
DM
9615 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9616
7f66bd07
DM
9617 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
9618 * sysdeps/sparc/fpu/libm-test-ulps: to here.
9619 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
9620
53362a4b
DM
9621 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
9622 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9623 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9624 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9625 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9626 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9627 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9628 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9629 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9630 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9631 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9632 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9633 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9634 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9635 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9636 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9637 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
9638 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
9639 * sysdeps/sparc/elf/configure: Regenerated.
9640
7b1902cb
JM
96412012-03-01 Joseph Myers <joseph@codesourcery.com>
9642
bec039bc
JM
9643 * configure.in (AS, LD): Require binutils 2.20 or later.
9644 * configure: Regenerated.
9645 * manual/install.texi (Tools for Compilation): Give binutils 2.20
9646 as required minimum version.
9647 * INSTALL: Regenerated.
9648
7b1902cb
JM
9649 [BZ #2541]
9650 [BZ #4108]
9651 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
9652 before squaring exponent.
9653 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
9654 bottom long double and 27 bits of top long double before squaring
9655 exponent.
9656 * math/libm-test.inc (erfc_test): Add more tests.
9657 * sysdeps/i386/fpu/libm-test-ulps: Update.
9658 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9660
f775c276
KT
96612012-03-01 Kai Tietz <ktietz@redhat.com>
9662
9663 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
9664 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
9665 containing bit-fields.
9666 * soft-fp/extended.h (_FP_UNION_E): Likewise.
9667 * soft-fp/single.h (_FP_UNION_S): Likewise.
9668 * soft-fp/double.h (_FP_UNION_D): Likewise.
9669
5b8a4d4a
JM
96702012-02-29 Joseph Myers <joseph@codesourcery.com>
9671
0bab47b6
JM
9672 [BZ #13786]
9673 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
9674 not include ../strcmp.S.
9675 [USE_AS_STRNCASECMP_L]: Likewise.
9676 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
9677 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
9678 * sysdeps/i386/i686/multiarch/strncase_l-c.c
9679 (__strncasecmp_l_ia32): Define as alias to
9680 __strncasecmp_l_nonascii.
9681
0fcad3e2
JM
9682 [BZ #5794]
9683 * math/libm-test.inc (expm1_test): Add test for bug 5794.
9684 * sysdeps/i386/fpu/libm-test-ulps: Update.
9685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9686
5b8a4d4a
JM
9687 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
9688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9689
8fdceb2e
JL
96902012-02-29 Jeff Law <law@redhat.com>
9691
9692 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
9693 out of bounds read.
9694
1f393a11
MP
96952012-02-29 Marek Polacek <polacek@redhat.com>
9696
9697 [BZ #13706]
9698 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
9699 * elf/Makefile: Add rules to run tst-unused-dep.out.
9700
8847f037
DM
97012012-02-28 David S. Miller <davem@davemloft.net>
9702
9703 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
9704 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
9705 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
9706 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
9707 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
9708 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
9709
169d7f11
JM
97102012-02-29 Joseph Myers <joseph@codesourcery.com>
9711
9712 * math/libm-test.inc (llround_test): Move one test from
9713 lround_test. Use TEST_f_L in moved test.
9714 (lround_test): Move misplaced test to llround_test. Add testcase
9715 from bug 2561.
9716
39adf059
UD
97172012-02-28 Ulrich Drepper <drepper@gmail.com>
9718
9719 * sysdeps/x86_64/fpu/e_expf.S: New file.
9720 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
9721
71b5d1c5
SB
97222012-02-28 Stanislav Brabec <sbrabec@suse.cz>
9723
9724 [BZ #13637]
9725 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
9726 of remain_len that may cause incomplete multi-byte character and
9727 false match.
9728 * posix/bug-regex33.c: New file.
9729 * posix/Makefile (tests): Add bug-regex33.
9730
1f77f049
JM
97312012-02-28 Joseph Myers <joseph@codesourcery.com>
9732
9733 * manual/macros.texi: New file.
9734 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
9735 * manual/libc.texinfo: Include macros.texi.
9736 * manual/creatute.texi: Likewise.
9737 * manual/install.texi: Likewise.
9738 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
9739 @glibcadj{} in references to the GNU C Library.
9740 * manual/charset.texi: Likewise.
9741 * manual/conf.texi: Likewise.
9742 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
9743 when not using those macros.
9744 * manual/creature.texi: Likewise.
9745 * manual/crypt.texi: Likewise.
9746 * manual/errno.texi: Likewise.
9747 * manual/filesys.texi: Likewise.
9748 * manual/header.texi: Likewise.
9749 * manual/install.texi: Likewise.
9750 * manual/intro.texi: Likewise.
9751 * manual/io.texi: Likewise.
9752 * manual/job.texi: Likewise.
9753 * manual/lang.texi: Likewise.
9754 * manual/libc.texiinfo: Likewise.
9755 * manual/llio.texi: Likewise.
9756 * manual/locale.texi: Likewise.
9757 * manual/maint.texi: Likewise.
9758 * manual/math.texi: Likewise.
9759 * manual/memory.texi: Likewise.
9760 * manual/message.texi: Likewise.
9761 * manual/nss.texi: Likewise.
9762 * manual/pattern.texi: Likewise.
9763 * manual/process.texi: Likewise.
9764 * manual/resource.texi: Likewise.
9765 * manual/search.texi: Likewise.
9766 * manual/setjmp.texi: Likewise.
9767 * manual/signal.texi: Likewise.
9768 * manual/socket.texi: Likewise.
9769 * manual/startup.texi: Likewise.
9770 * manual/stdio.texi: Likewise.
9771 * manual/string.texi: Likewise.
9772 * manual/sysinfo.texi: Likewise.
9773 * manual/syslog.texi: Likewise.
9774 * manual/terminal.texi: Likewise.
9775 * manual/time.texi: Likewise.
9776 * manual/users.texi: Likewise.
9777 * INSTALL: Regenerated.
9778 * NOTES: Regenerated.
d40c5d54 9779 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 9780
450bf206
AS
97812012-02-28 Andreas Schwab <schwab@linux-m68k.org>
9782
9783 * include/dirent.h: Include <dirstream.h> before
9784 <dirent/dirent.h>.
9785
741a235b
DM
97862012-02-28 David S. Miller <davem@davemloft.net>
9787
9788 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
9789 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
9790 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
9791 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
9792
d6b5aa58
DM
97932012-02-27 David S. Miller <davem@davemloft.net>
9794
1aff59a3
DM
9795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
9796 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
9797 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
9798 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
9799
d6b5aa58
DM
9800 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
9801 frame pointer instead of stack pointer relative arg slot.
9802 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9803 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9804 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9805
433f48bf
CD
98062012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
9807
9808 [BZ #3992]
9809 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
9810
d674b76d
DM
98112012-02-27 David S. Miller <davem@davemloft.net>
9812
9813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
9814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
9817 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9818 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9819 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
9820 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
9821
0e7727f7
JM
98222012-02-27 Joseph Myers <joseph@codesourcery.com>
9823
9824 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
9825 later. Allow versions 5-9.
43be4ca2 9826 * configure: Regenerated.
0e7727f7
JM
9827 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
9828 required minimum version and 4.6 as recommended version. Do not
9829 mention bugs in GCC 2.7 and 2.8.
43be4ca2 9830 * INSTALL: Regenerated.
0e7727f7 9831
a78bc654
DM
98322012-02-27 David S. Miller <davem@davemloft.net>
9833
428d5830
DM
9834 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
9835 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
9836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
9837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
9838 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
9839 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
9840 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
9841 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
9842
a78bc654
DM
9843 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
9844 manipulate bits before adding and subtracting TWO112[sx].
9845 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9846
4579f81c
RM
98472012-02-27 Roland McGrath <roland@hack.frob.com>
9848
36c8acb4
RM
9849 [BZ #13775]
9850 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
9851 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
9852 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
9853 being in POSIX, because they are in 1003.1-2008.
9854
84ad622b
RM
9855 * rt/tst-aio.c: Include <fcntl.h>.
9856 * rt/tst-aio7.c: Likewise.
9857 * rt/tst-aio64.c: Likewise.
9858
4579f81c
RM
9859 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
9860
abd923db
JM
98612012-02-27 Joseph Myers <joseph@codesourcery.com>
9862
9863 * manual/install.texi (--with-headers): Describe headers as
9864 interface headers, not private headers.
9865 (Specific advice for GNU/Linux systems): Describe use of headers
9866 from "make headers_install", not private headers from older
9867 kernels.
43be4ca2 9868 * INSTALL: Regenerated.
abd923db
JM
9869 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
9870 Change to 2.6.19.
9871 * sysdeps/unix/sysv/linux/configure: Regenerated.
9872
6664049b
JM
9873 * manual/llio.texi (fclean): Remove documentation.
9874
bb8b6697
JM
9875 * manual/Makefile (libc-texi-generated): New variable. Include
9876 version.texi.
9877 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
9878 $(libc-texi-generated), not duplicated list of files.
9879 (version.texi, stamp-version): New rules.
9880 (realclean): Remove $(libc-texi-generated), not individual files
9881 from that list. Do not remove dir-add.texinfo.
9882 * manual/libc.texinfo: Comment out uses of edition numbers and
9883 references to printed manual. Remove last-updated dates.
9884 (EDITION): Comment out.
9885 (ISBN): Likewise.
9886 (VERSION, UPDATED): Remove.
9887 (version.texi): Include.
9888
12e5c3b9
AS
98892012-02-27 Andreas Schwab <schwab@linux-m68k.org>
9890
9891 * sysdeps/posix/spawni.c: Include <signal.h>.
9892 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
9893 * sysdeps/pthread/aio_fsync.c: Likewise.
9894
4efeffc1 98952012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 9896
ba63ba08
UD
9897 * conform/Makefile (tests): Run only when not cross-compiling and
9898 when fast-check is not defined.
9899
d94a4670
UD
9900 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
9901 * conform/data/limits.h-data: Fixes for POSIX2008.
9902 * conform/run-conformtest.sh: Run all tests.
9903 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
9904 headers.
9905 * include/bits/dlfcn.h: Likewise.
9906 * include/langinfo.h: Likewise.
9907 * include/monetary.h: Likewise.
9908 * include/sys/poll.h: Likewise.
9909
9910 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
9911 for __USE_GNU.
9912 * posix/spawn.h: Define __need_sigset_t.
9913 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
9914 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
9915 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
9916 to get sigevent_t only.
9917 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
9918 only for __USE_GNU.
9919 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9920 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9921 process_vm_writev only for __USE_GNU.
9922 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
9923
9924 * conform/Makefile: For now ignore errors from run-conformtest.
9925 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
9926 POSIX to avoid namespace pollution. Don't prepend headers.
9927 * conform/data/aio.h-data: Fixes for POSIX testing.
9928 * conform/data/fcntl.h-data: Likewise.
9929 * conform/data/glob.h-data: Likewise.
9930 * conform/data/grp.h-data: Likewise.
9931 * conform/data/pthread.h-data: Likewise.
9932 * conform/data/pwd.h-data: Likewise.
9933 * conform/data/signal.h-data: Likewise.
9934 * conform/data/spawn.h-data: Likewise.
9935 * conform/data/stdio.h-data: Likewise.
9936 * conform/data/stdlib.h-data: Likewise.
9937 * conform/data/stropts.h-data: Likewise.
9938 * conform/data/sys/mman.h-data: Likewise.
9939 * conform/data/sys/stat.h-data: Likewise.
9940 * conform/data/sys/types.h-data: Likewise.
9941 * conform/data/sys/wait.h-data: Likewise.
9942 * conform/data/time.h-data: Likewise.
9943 * conform/data/unistd.h-data: Likewise.
9944 * conform/data/utime.h-data: Likewise.
9945
9946 * io/sys/stat.h: fchmod was always in POSIX.
9947 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
9948 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
9949 * rt/aio.h: Define __need_timespec before including <time.h>.
9950 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
9951 struct. Add forward declaration of pthread_attr_t and use it in
9952 sigevent.
9953 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9954 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9955 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
9956 always remove CLK_TCK definition.
9957
c20105c3
AS
99582012-02-26 Andreas Schwab <schwab@linux-m68k.org>
9959
9960 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
9961
7a270350
UD
99622012-02-25 Ulrich Drepper <drepper@gmail.com>
9963
31341567
UD
9964 * conform/run-conformtest.sh: New file.
9965 * conform/Makefile: Run run-conformtest for tests.
9966 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
9967 support.
9968
9969 * conform/data/uchar.h-data: New file.
9970 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
9971 * conform/data/arpa/inet.h-data: Likewise.
9972 * conform/data/assert.h-data: Likewise.
9973 * conform/data/complex.h-data: Likewise.
9974 * conform/data/cpio.h-data: Likewise.
9975 * conform/data/ctype.h-data: Likewise.
9976 * conform/data/dirent.h-data: Likewise.
9977 * conform/data/dlfcn.h-data: Likewise.
9978 * conform/data/errno.h-data: Likewise.
9979 * conform/data/fcntl.h-data: Likewise.
9980 * conform/data/float.h-data: Likewise.
9981 * conform/data/fmtmsg.h-data: Likewise.
9982 * conform/data/fnmatch.h-data: Likewise.
9983 * conform/data/ftw.h-data: Likewise.
9984 * conform/data/glob.h-data: Likewise.
9985 * conform/data/grp.h-data: Likewise.
9986 * conform/data/iconv.h-data: Likewise.
9987 * conform/data/inttypes.h-data: Likewise.
9988 * conform/data/langinfo.h-data: Likewise.
9989 * conform/data/libgen.h-data: Likewise.
9990 * conform/data/limits.h-data: Likewise.
9991 * conform/data/locale.h-data: Likewise.
9992 * conform/data/math.h-data: Likewise.
9993 * conform/data/monetary.h-data: Likewise.
9994 * conform/data/mqueue.h-data: Likewise.
9995 * conform/data/ndbm.h-data: Likewise.
9996 * conform/data/net/if.h-data: Likewise.
9997 * conform/data/netdb.h-data: Likewise.
9998 * conform/data/netinet/in.h-data: Likewise.
9999 * conform/data/nl_types.h-data: Likewise.
10000 * conform/data/poll.h-data: Likewise.
10001 * conform/data/pthread.h-data: Likewise.
10002 * conform/data/pwd.h-data: Likewise.
10003 * conform/data/regex.h-data: Likewise.
10004 * conform/data/sched.h-data: Likewise.
10005 * conform/data/search.h-data: Likewise.
10006 * conform/data/semaphore.h-data: Likewise.
10007 * conform/data/setjmp.h-data: Likewise.
10008 * conform/data/signal.h-data: Likewise.
10009 * conform/data/spawn.h-data: Likewise.
10010 * conform/data/stdarg.h-data: Likewise.
10011 * conform/data/stdio.h-data: Likewise.
10012 * conform/data/stdlib.h-data: Likewise.
10013 * conform/data/string.h-data: Likewise.
10014 * conform/data/strings.h-data: Likewise.
10015 * conform/data/stropts.h-data: Likewise.
10016 * conform/data/sys/ipc.h-data: Likewise.
10017 * conform/data/sys/mman.h-data: Likewise.
10018 * conform/data/sys/msg.h-data: Likewise.
10019 * conform/data/sys/resource.h-data: Likewise.
10020 * conform/data/sys/select.h-data: Likewise.
10021 * conform/data/sys/sem.h-data: Likewise.
10022 * conform/data/sys/shm.h-data: Likewise.
10023 * conform/data/sys/socket.h-data: Likewise.
10024 * conform/data/sys/stat.h-data: Likewise.
10025 * conform/data/sys/statvfs.h-data: Likewise.
10026 * conform/data/sys/time.h-data: Likewise.
10027 * conform/data/sys/timeb.h-data: Likewise.
10028 * conform/data/sys/times.h-data: Likewise.
10029 * conform/data/sys/types.h-data: Likewise.
10030 * conform/data/sys/uio.h-data: Likewise.
10031 * conform/data/sys/un.h-data: Likewise.
10032 * conform/data/sys/utsname.h-data: Likewise.
10033 * conform/data/sys/wait.h-data: Likewise.
10034 * conform/data/syslog.h-data: Likewise.
10035 * conform/data/tar.h-data: Likewise.
10036 * conform/data/termios.h-data: Likewise.
10037 * conform/data/utime.h-data: Likewise.
10038 * conform/data/utmpx.h-data: Likewise.
10039 * conform/data/varargs.h-data: Likewise.
10040 * conform/data/wchar.h-data: Likewise.
10041 * conform/data/wctype.h-data: Likewise.
10042 * conform/data/wordexp.h-data: Likewise.
10043
10044 * include/stropts.h: New file.
10045 * include/uchar.h: New file.
10046 * include/aio.h: Changes to allow conformtest.pl to use the headers.
10047 * include/assert.h: Likewise.
10048 * include/ctype.h: Likewise.
10049 * include/dirent.h: Likewise.
10050 * include/dlfcn.h: Likewise.
10051 * include/fcntl.h: Likewise.
10052 * include/fnmatch.h: Likewise.
10053 * include/glob.h: Likewise.
10054 * include/grp.h: Likewise.
10055 * include/libio.h: Likewise.
10056 * include/locale.h: Likewise.
10057 * include/math.h: Likewise.
10058 * include/net/if.h: Likewise.
10059 * include/netdb.h: Likewise.
10060 * include/netinet/in.h: Likewise.
10061 * include/pthread.h: Likewise.
10062 * include/pwd.h: Likewise.
10063 * include/regex.h: Likewise.
10064 * include/sched.h: Likewise.
10065 * include/search.h: Likewise.
10066 * include/setjmp.h: Likewise.
10067 * include/signal.h: Likewise.
10068 * include/stdio.h: Likewise.
10069 * include/stdlib.h: Likewise.
10070 * include/string.h: Likewise.
10071 * include/sys/cdefs.h: Likewise.
10072 * include/sys/mman.h: Likewise.
10073 * include/sys/msg.h: Likewise.
10074 * include/sys/resource.h: Likewise.
10075 * include/sys/select.h: Likewise.
10076 * include/sys/socket.h: Likewise.
10077 * include/sys/stat.h: Likewise.
10078 * include/sys/statvfs.h: Likewise.
10079 * include/sys/time.h: Likewise.
10080 * include/sys/times.h: Likewise.
10081 * include/sys/uio.h: Likewise.
10082 * include/sys/utsname.h: Likewise.
10083 * include/sys/wait.h: Likewise.
10084 * include/termios.h: Likewise.
10085 * include/time.h: Likewise.
10086 * include/ulimit.h: Likewise.
10087 * include/unistd.h: Likewise.
10088 * include/utime.h: Likewise.
10089 * include/wchar.h: Likewise.
10090 * include/wctype.h: Likewise.
10091 * include/wordexp.h: Likewise.
10092
10093 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
10094
7a270350
UD
10095 * time/time.h: TIME_UTC must be a macro.
10096 Make timespec_get available for ISO C11 only as well.
10097
7724defc
UD
100982012-02-24 Ulrich Drepper <drepper@gmail.com>
10099
10100 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
10101 Reported by Peng Haitao <penght@cn.fujitsu.com>.
10102
6b1d1d46
JM
101032012-02-24 Joseph Myers <joseph@codesourcery.com>
10104
10105 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 10106
0f8bbd69
JM
101072012-02-24 Joseph Myers <joseph@codesourcery.com>
10108
10109 * manual/texinfo.tex: Update to version 2012-01-19.16.
10110
66ab80bc
JM
101112012-02-24 Joseph Myers <joseph@codesourcery.com>
10112
10113 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
10114
74981cc5
RM
101152012-02-24 Roland McGrath <roland@hack.frob.com>
10116
ee968201
RM
10117 [BZ #13738]
10118 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
10119 * manual/fdl-1.3.texi: New file.
10120 * manual/fdl-1.1.texi: File removed.
10121
74981cc5
RM
10122 [BZ #13738]
10123 * manual/libc.texinfo (FDL_VERSION): New @set.
10124 Use it for mention of FDL in cover text.
10125 (Documentation License): Use it in @include file name.
10126
7bb764bc
JM
101272012-02-22 Joseph Myers <joseph@codesourcery.com>
10128 Roland McGrath <roland@hack.frob.com>
10129
10130 [BZ #5461]
10131 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
10132 not LONG_LONG_MAX and LONG_LONG_MIN.
10133 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
10134 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
10135 name.
10136 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
10137
6cbeae47
JM
101382012-02-22 Joseph Myers <joseph@codesourcery.com>
10139
10140 [BZ #2547]
10141 [BZ #11365]
10142 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
10143 manipulate bits before adding and subtracting TWO23[sx].
10144 * math/libm-test.inc (nearbyint_test): Add more tests.
10145
fe45ce09
JM
101462012-02-22 Joseph Myers <joseph@codesourcery.com>
10147
10148 [BZ #2548]
10149 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
10150 bits before adding and subtracting TWO23[sx].
10151 * math/libm-test.inc (rint_test): Add more tests.
10152 (rint_test_tonearest): Likewise.
10153 (rint_test_towardzero): Likewise.
10154 (rint_test_downward): Likewise.
10155 (rint_test_upward: Likewise.
10156
ff3b3d82
JM
101572012-02-22 Joseph Myers <joseph@codesourcery.com>
10158
10159 [BZ #10110]
10160 * include/stdc-predef.h: New file. Extracted from features.h.
10161 * include/features.h: Include stdc-predef.h.
10162 * Makefile (headers): Add stdc-predef.h.
10163 * CONFORMANCE (Compiler limitations): Update.
10164
ef0aab35
JM
101652012-02-22 Joseph Myers <joseph@codesourcery.com>
10166
10167 * manual/libc.texinfo (VERSION, UPDATED): Revert.
10168
58639409
DM
101692012-02-21 David S. Miller <davem@davemloft.net>
10170
10171 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
10172 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10173
c0e70b25
DM
101742012-02-20 David S. Miller <davem@davemloft.net>
10175
10176 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
10177 using a normal save/restore sequence, rather than allocating a
10178 dummy stack frame just to store a frame pointer and restore.
10179 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10180
fb06851d
JM
101812012-02-21 Joseph Myers <joseph@codesourcery.com>
10182
10183 * manual/install.texi: Fix stray word in line-wrapped comment.
10184
7a8b71c3
DM
101852012-02-20 David S. Miller <davem@davemloft.net>
10186
d510c123
DM
10187 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
10188 both binutils and gcc support GOTDATA.
10189
0722d7c2
DM
10190 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
10191 "rd %pc" in the PIC register setup sequences.
10192
3d2b3019
DM
10193 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
10194 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10195 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10196 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10197 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10198 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10199 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10200 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10201 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
10202 (SYSCALL_ERROR_HANDLER): Likewise.
10203 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10204 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10205 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
10206 (SYSCALL_ERROR_HANDLER): Likewise.
10207
c80098a9
DM
10208 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
10209 (HAVE_GCC_GOTDATA): New.
10210 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
10211 relocation support in both binutils and gcc.
10212 * sysdeps/sparc/elf/configure: Regenerate.
10213
3a2545a0
DM
10214 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
10215 * sysdeps/sparc/sparc32/elf/configure: Delete.
10216 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
10217 * sysdeps/sparc/sparc64/elf/configure: Delete.
10218 * sysdeps/sparc/elf/configure.in: New file.
10219 * sysdeps/sparc/elf/configure: Generate.
10220
7a8b71c3
DM
10221 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
10222 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
10223 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10224 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
10225 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
10226
f1e86fca
JM
102272012-02-21 Joseph Myers <joseph@codesourcery.com>
10228
10229 * manual/install.texi: Do not mention specific glibc version
10230 numbers.
10231 * manual/libc.texinfo (VERSION, UPDATED): Update.
10232 (@copying): Use @copyright{} and range of years.
10233
0e7dfaef
JM
102342012-02-21 Joseph Myers <joseph@codesourcery.com>
10235
10236 [BZ #13695]
10237 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
10238 [crti.S not in sysdirs] (generated): Do not append.
10239 [crti.S not in sysdirs] (omit-deps): Likewise.
10240 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
10241 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
10242 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
10243 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
10244 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
10245 Likewise.
10246 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
10247 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
10248 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
10249 * csu/defs.awk: Remove file.
10250 * sysdeps/generic/initfini.c: Likewise.
10251 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
10252 variable.
10253 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
10254 Likewise.
10255
599af3ca
JM
102562012-02-20 Joseph Myers <joseph@codesourcery.com>
10257
10258 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
10259 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
10260 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
10261 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
10262 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10263 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
10264 <bits/epoll.h>.
10265 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
10266 (__EPOLL_PACKED): Define to empty if not defined by
10267 <bits/epoll.h>.
10268 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
10269 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10270 bits/epoll.h.
10271
0e499750
JM
102722012-02-20 Joseph Myers <joseph@codesourcery.com>
10273
10274 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
10275 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
10276 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10277 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10278 <bits/timerfd.h>.
10279 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10280 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10281 bits/timerfd.h.
10282
5ad91f6e
JM
102832012-02-20 Joseph Myers <joseph@codesourcery.com>
10284
10285 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10286 in C locale.
10287 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10288 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10289 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10291
06b99b02
AJ
102922012-02-20 Aurelien Jarno <aurelien@aurel32.net>
10293
10294 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10295 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10296
7638c0fd
AS
102972012-02-19 Andreas Schwab <schwab@linux-m68k.org>
10298
10299 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10300 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10301 defined.
10302 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10303 Likewise.
10304 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10305 entry for 2.16.
10306
92221550
AJ
103072012-02-19 Aurelien Jarno <aurelien@aurel32.net>
10308
10309 * math/w_acos.c: Use non-signaling floating-point comparisons.
10310 * math/w_acosf.c: Likewise.
10311 * math/w_acosh.c: Likewise.
10312 * math/w_acoshf.c: Likewise.
10313 * math/w_acoshl.c: Likewise.
10314 * math/w_acosl.c: Likewise.
10315 * math/w_asin.c: Likewise.
10316 * math/w_asinf.c: Likewise.
10317 * math/w_asinl.c: Likewise.
10318 * math/w_atanh.c: Likewise.
10319 * math/w_atanhf.c: Likewise.
10320 * math/w_atanhl.c: Likewise.
10321 * math/w_exp2.c: Likewise.
10322 * math/w_exp2f.c: Likewise.
10323 * math/w_exp2l.c: Likewise.
10324 * math/w_j0.c: Likewise.
10325 * math/w_j0f.c: Likewise.
10326 * math/w_j0l.c: Likewise.
10327 * math/w_j1.c: Likewise.
10328 * math/w_j1f.c: Likewise.
10329 * math/w_j1l.c: Likewise.
10330 * math/w_jn.c: Likewise.
10331 * math/w_jnf.c: Likewise.
10332 * math/w_log.c: Likewise.
10333 * math/w_log10.c: Likewise.
10334 * math/w_log10f.c: Likewise.
10335 * math/w_log10l.c: Likewise.
10336 * math/w_log2.c: Likewise.
10337 * math/w_log2f.c: Likewise.
10338 * math/w_log2l.c: Likewise.
10339 * math/w_logf.c: Likewise.
10340 * math/w_logl.c: Likewise.
10341 * math/w_sqrt.c: Likewise.
10342 * math/w_sqrtf.c: Likewise.
10343 * math/w_sqrtl.c: Likewise.
10344 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10345 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10346 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10347 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10348 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10349
ebaf36eb
JM
103502012-02-19 Joseph Myers <joseph@codesourcery.com>
10351
10352 [BZ #9739]
10353 * manual/string.texi (strnlen): Use correct parameter name in
10354 equivalent expression.
10355
71c254a6
JM
103562012-02-19 Joseph Myers <joseph@codesourcery.com>
10357
10358 [BZ #11174]
10359 * manual/users.texi (seteuid): Consistently use neweuid for
10360 argument name.
10361
16d2c631
JM
103622012-02-19 Joseph Myers <joseph@codesourcery.com>
10363
10364 [BZ #13704]
10365 * manual/nss.texi (Services in the NSS configuration): Correct
10366 list of services in example configuration file.
10367
cd837b09
NB
103682012-02-19 Nick Bowler <nbowler@draconx.ca>
10369
10370 [BZ #11322]
10371 * manual/arith.texi: Remove statements about negative zero
10372 behaving identically to zero.
10373
02c4bbad
JM
103742012-02-18 Joseph Myers <joseph@codesourcery.com>
10375
10376 [BZ #5993]
10377 * manual/install.texi: Do not document upgrading from libc5.
10378
366842e7
JM
103792012-02-18 Joseph Myers <joseph@codesourcery.com>
10380
10381 [BZ #4596]
10382 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
10383
dd54084d
DM
103842012-02-18 David S. Miller <davem@davemloft.net>
10385
10386 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
10387 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
10388 %o7 across the call.
10389 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
10390 instead.
10391 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
10392 SETUP_PIC_REG_LEAF.
10393 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10394 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
10395 * sysdeps/sparc/crtn.S: Likewise.
10396
2bcc53a3
UD
103972012-02-17 Ulrich Drepper <drepper@gmail.com>
10398
10399 * aout/Makefile: Remove.
10400
09c093b5
RK
104012012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
10402
10403 [BZ #13058]
10404 * manual/examples/argp-ex1.c (main): Format definition in GNU
10405 style.
10406 * manual/examples/argp-ex2.c (main): Likewise.
10407 * manual/examples/argp-ex3.c (main): Likewise.
10408 * manual/examples/argp-ex4.c (main): Likewise.
10409 * manual/examples/longopt.c (main): Use new-style prototype
10410 definition.
10411 * manual/examples/strncat.c (main): Specify return type and use
10412 (void) for arguments.
10413 * manual/examples/subopt.c (main): Use char **argv argument.
10414
2ee633a2
JM
104152012-02-17 Joseph Myers <joseph@codesourcery.com>
10416
10417 [BZ #5077]
10418 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
10419 rounding modes.
10420
0520adde
FB
104212012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
10422
10423 [BZ #6907]
10424 * manual/string.texi (strchr): Change when strchrnul is
10425 recommended.
10426
3f4081cd
DGM
104272012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
10428
10429 [BZ #174]
10430 * manual/locale.texi (setlocale): Document LOCPATH.
10431
d1b10e78
JM
104322012-02-17 Joseph Myers <joseph@codesourcery.com>
10433
10434 [BZ #10210]
10435 * manual/process.texi (execle): Move @dots{} before last argument.
10436
79c6869c
PB
104372012-02-17 Paul Bolle <pebolle@tiscali.nl>
10438
10439 [BZ #12047]
10440 * manual/charset.texi (Generic Charset Conversion): Fix typo
10441 (LC_TYPE -> LC_CTYPE).
10442
cc6e48bc
NB
104432012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
10444
10445 [BZ #5805]
10446 * manual/arith.texi (scalbn): Use @var{} on parameter names.
10447 (scalbnf): Likewise.
10448 (scalbnl): Likewise.
10449 (scalbln): Likewise.
10450 (scalblnf): Likewise.
10451 (scalblnl): Likewise.
10452 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
10453 (vwarnx): Likewise.
10454 (verr): Likewise.
10455 (verrx): Likewise.
10456 * manual/filesys.texi (telldir): Use braces around return type.
10457 * manual/llio.texi (mmap): Add space after comma.
10458 (mmap64): Likewise.
10459 * manual/math.texi (jn): Use @var{} on parameter names.
10460 (jnf): Likewise.
10461 (jnl): Likewise.
10462 (yn): Likewise.
10463 (ynf): Likewise.
10464 (ynl): Likewise.
10465 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
10466 line.
10467 * manual/resource.texi (ulimit): Use @dots{} instead of literal
10468 "...".
10469 (sched_get_priority_min): Remove semicolon on @deftypefun line.
10470 (sched_get_priority_max): Likewise.
10471 * manual/signal.texi (sigvec): Add space after comma.
10472 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
10473 names.
10474 (if_indextoname): Likewise.
10475 (if_freenameindex): Likewise.
10476 (sendto): Use ',' instead of '.' in prototype.
10477 * manual/startup.texi (syscall): Use @dots{} instead of literal
10478 "...".
10479 * manual/stdio.texi (__fpending): Separate initial words of
10480 paragraph from @deftypefun line.
10481 * manual/syslog.texi (syslog): Use @dots{} instead of literal
10482 "...".
10483 (vsyslog): Use @var{} on parameter names.
10484 * manual/terminal.texi (stty): Use @var{} on parameter names.
10485 * manual/users.texi (getutmp): Use @var{} on parameter names.
10486 (getutmpx): Likewise.
10487
5b23062f
JM
104882012-02-17 Joseph Myers <joseph@codesourcery.com>
10489
10490 [BZ #6884]
10491 * manual/stdio.texi (fopen): Fix typos in description of
10492 ",ccs=STRING".
10493
8dee4833
AJ
104942012-02-17 Aurelien Jarno <aurelien@aurel32.net>
10495
10496 [BZ #4026]
10497 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
10498 get clock_id definition.
10499
9078ce93
TS
105002012-02-17 Thomas Schwinge <thomas@schwinge.name>
10501
10502 [BZ #4822]
10503 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
10504 (madvise): Cast every argument to void on its own.
10505
3835c55f
JM
105062012-02-17 Joseph Myers <joseph@codesourcery.com>
10507
10508 [BZ #9902]
10509 * manual/startup.texi (Exit Status): Fix typo.
10510
35c47e37
JM
105112012-02-17 Joseph Myers <joseph@codesourcery.com>
10512
10513 [BZ #10140]
10514 * manual/examples/argp-ex1.c: Include <stdlib.h>.
10515 * manual/examples/argp-ex2.c: Likewise.
10516 * manual/examples/argp-ex3.c: Likewise.
10517
e3b69ca7
RH
105182012-02-16 Richard Henderson <rth@redhat.com>
10519
10520 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
10521 * sysdeps/s390/s390-32/initfini.c: Remove.
10522 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
10523 * sysdeps/s390/s390-64/initfini.c: Remove.
10524
df83af67
KK
105252012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10526
10527 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
10528 compiler output for sysdeps/generic/initfini.c.
10529 * sysdeps/sh/elf/initfini.c: Remove file.
10530
f63f3380
DM
105312012-02-16 David S. Miller <davem@davemloft.net>
10532
fb59b3a4
DM
10533 [BZ #11494]
10534 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
10535
f63f3380
DM
10536 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
10537 * sysdeps/sparc/crti.S: New file.
10538 * sysdeps/sparc/crtn.S: New file.
10539 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
10540 * sysdeps/sparc/sparc64/Makefile: Likewise.
10541
df6a4a4a
MF
105422012-02-15 Mike Frysinger <vapier@gentoo.org>
10543
6dd8f3dc 10544 [BZ #3335]
df6a4a4a
MF
10545 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
10546
1cac7236
RM
105472012-02-15 Roland McGrath <roland@hack.frob.com>
10548
d2c736f8
RM
10549 [BZ #4822]
10550 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
10551
1cac7236
RM
10552 * mach/devstream.c (cookie_io_functions_t): Macro removed.
10553 (write, read, close): Likewise.
10554 Patch by Aurelien Jarno <aurelien@aurel32.net>.
10555
8e475601
JM
105562012-02-15 Joseph Myers <joseph@codesourcery.com>
10557
10558 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
10559 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
10560 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
10561 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
10562 <bits/signalfd.h>.
10563 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
10564 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10565 bits/signalfd.h.
10566
ed656b40
MP
105672012-02-14 Marek Polacek <polacek@redhat.com>
10568
10569 * sysdeps/x86_64/crti.S: New file.
10570 * sysdeps/x86_64/crtn.S: New file.
10571 * sysdeps/x86_64/elf/initfini.c: Remove file.
10572
2a979d3a
JM
105732012-02-13 Joseph Myers <joseph@codesourcery.com>
10574
10575 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
10576 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
10577 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
10578 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
10579 <bits/inotify.h>.
10580 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
10581 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10582 bits/inotify.h.
10583
2a418ac3
JM
105842012-02-13 Joseph Myers <joseph@codesourcery.com>
10585
10586 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
10587 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
10588 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
10589 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
10590 <bits/eventfd.h>.
10591 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
10592 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10593 bits/eventfd.h.
10594
fb779be7
TS
105952012-02-10 Thomas Schwinge <thomas@codesourcery.com>
10596
e19e83c5
RM
10597 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
10598 __feraiseexcept instead of feraiseexcept.
7c35ffed 10599
fb779be7
TS
10600 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
10601 nanosleep invocations.
10602 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
10603 strings, and add error checking for a nanosleep invocations.
10604
59ba27a6
PE
106052012-02-09 Paul Eggert <eggert@cs.ucla.edu>
10606
10607 Replace FSF snail mail address with URLs, as per GNU coding standards.
10608 Most of the snail mail addresses were wrong anyway, and omitting
10609 them makes the source code easier to maintain. Almost all of the
10610 changes are to license notices and to locale LC_IDENTIFICATION
10611 addresses, except for this one:
10612 * manual/libc.texinfo: In "Published by", give the FSF's URL,
10613 not its snail mail address.
10614
57b957eb
RH
106152012-02-09 Richard Henderson <rth@twiddle.net>
10616
af850b1c
RH
10617 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
10618 of kernel-features.h.
10619
57b957eb
RH
10620 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
10621
6b73181a
MP
106222012-02-08 Marek Polacek <polacek@redhat.com>
10623
10624 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
10625 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
10626 * sysdeps/gnu/_G_config.h: Likewise.
10627 * sysdeps/generic/_G_config.h: Likewise.
10628
26ecc33a
AS
106292012-02-08 Andreas Schwab <schwab@linux-m68k.org>
10630
6c6dbc63
AS
10631 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
10632 tests.
10633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10634
e216c012
AS
10635 * sysdeps/powerpc/powerpc32/crti.S: New file.
10636 * sysdeps/powerpc/powerpc32/crtn.S: New file.
10637 * sysdeps/powerpc/powerpc64/crti.S: New file.
10638 * sysdeps/powerpc/powerpc64/crtn.S: New file.
10639
26ecc33a
AS
10640 * Makeconfig (have-initfini): Don't set.
10641 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
10642 * configure.in (nopic_initfini): Don't substitute.
10643 * config.h.in (HAVE_INITFINI): Don't #undef.
10644 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
10645 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
10646
3add8e13
JM
106472012-02-08 Joseph Myers <joseph@codesourcery.com>
10648
10649 Support crti.S and crtn.S provided directly by architectures.
10650 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
10651 [crti.S in sysdirs] (omit-deps): Likewise.
10652 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
10653 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
10654 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
10655 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
10656 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
10657 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
10658 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
10659 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
10660 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
10661 compiler output for sysdeps/generic/initfini.c.
10662 * sysdeps/i386/elf/Makefile: Remove file.
10663 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
10664
a22f12b4
MP
106652012-02-07 Marek Polacek <polacek@redhat.com>
10666
10667 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
10668 * sysdeps/gnu/_G_config.h: Likewise.
10669 * sysdeps/mach/hurd/_G_config.h: Likewise.
10670
148cf100
MP
106712012-02-07 Marek Polacek <polacek@redhat.com>
10672
10673 * math/Makefile (tests): Add tst-CMPLX2.
10674 * math/tst-CMPLX2.c: New file.
10675
cfdc0dd7
AS
106762012-02-07 Andreas Schwab <schwab@linux-m68k.org>
10677
84ba42c4
AS
10678 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10679
cfdc0dd7
AS
10680 * math/libm-test.inc (jn_test): Add missing L suffix.
10681
622c86f4
MP
106822012-02-06 Marek Polacek <polacek@redhat.com>
10683
10684 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
10685 * sysdeps/i386/fpu/e_powf.S: Likewise.
10686 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10687 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10688 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10689 * sysdeps/i386/fpu/e_pow.S: Likewise.
10690 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10691 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10692 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10693 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10694 * sysdeps/i386/fpu/e_log2.S: Likewise.
10695 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10696 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10697 * sysdeps/i386/fpu/e_powl.S: Likewise.
10698 * sysdeps/i386/fpu/s_log1p.S: Likewise.
10699 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10700 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10701 * sysdeps/i386/fpu/e_logl.S: Likewise.
10702 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10703 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
10704 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10705 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10706 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10707 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10708 * sysdeps/i386/fpu/e_log.S: Likewise.
10709 * sysdeps/i386/fpu/s_cexp.S: Likewise.
10710 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10711 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
10712 * sysdeps/i386/fpu/e_logf.S: Likewise.
10713 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10714 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10715 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
10716 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10717 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10718 * sysdeps/i386/fpu/e_log10.S: Likewise.
10719 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10720 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10721 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10722 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10723 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10724 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10725 * sysdeps/i386/asm-syntax.h: Likewise.
10726 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10727 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10728 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10729 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
10730 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
10731 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10732 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10733 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10734 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10735 * sysdeps/powerpc/sysdep.h: Likewise.
10736 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
10737 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10738
d4a54ac6
JM
107392012-02-06 Joseph Myers <joseph@codesourcery.com>
10740
10741 [BZ #411]
10742 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
10743
314054ea
JM
107442012-02-06 Joseph Myers <joseph@codesourcery.com>
10745
10746 * sysdeps/i386/sysdep.h: Include <features.h>.
10747 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
10748 version.
10749
d8e0ca50
JM
107502012-02-05 Joseph Myers <joseph@codesourcery.com>
10751
10752 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
10753 Define.
10754 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
10755 LOAD_PIC_REG_STR.
10756
b1da7dd9
JM
107572012-02-03 Joseph Myers <joseph@codesourcery.com>
10758
10759 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
10760 (SETUP_PIC_REG): Use GET_PC_THUNK.
10761 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
10762 macro.
10763
9a1d9254
JM
107642012-02-03 Joseph Myers <joseph@codesourcery.com>
10765
10766 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
10767 for non-PIC compilation.
10768 (SETUP_PIC_REG): Add .p2align directive.
10769 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
10770 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10771 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10772 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10773 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10774 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10775 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10776 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10777 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10778 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10779 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10780 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10781 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10782 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10783 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10784 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10785 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10786 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10787 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10788 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10789 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10790 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10791 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10792 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10793 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10794 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10795 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10796 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10797 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10798 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10799 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10800 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10801 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10802 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10803 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10804 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10805 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10806 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10807 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10808 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10809 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10810
65dc3b75
JM
108112012-02-03 Joseph Myers <joseph@codesourcery.com>
10812
10813 * math/tst-CMPLX.c: Include <stdio.h>.
10814
d55bf177
JM
108152012-01-31 Joseph Myers <joseph@codesourcery.com>
10816
10817 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
10818 float.
10819 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10820 * sysdeps/sparc/bits/mathdef.h: Likewise.
10821
69db4f8f
MP
108222012-01-31 Marek Polacek <polacek@redhat.com>
10823
10824 * libio/libio.h: Don't define _PARAMS.
10825 * locale/programs/config.h: Don't define PARAMS.
10826 * stdlib/strtol_l.c: Likewise.
10827 (__strtol_l): Remove PARAMS from the prototype.
10828
41b81892
UD
108292012-01-31 Ulrich Drepper <drepper@gmail.com>
10830
3b49edc0
UD
10831 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
10832 names. Just use the correct names. Remove unnecessary wrapper
10833 functions.
10834 * malloc/arena.c: Likewise.
10835 * malloc/hooks.c: Likewise.
10836
41b81892
UD
10837 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
10838 ARENA_TEST says not to. Simplify test for creation of a new arena.
10839 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
10840
27a25b6e
UD
108412012-01-30 Ulrich Drepper <drepper@gmail.com>
10842
10843 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
10844 into tail calls.
10845 (update_get_addr): New function.
10846 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
10847 GET_ADDR_MODULE parameter.
10848
c8a89e7d
JM
108492012-01-30 Joseph Myers <joseph@codesourcery.com>
10850
10851 * crypt/cert.c: Remove __STDC__ conditionals.
10852 * crypt/crypt-entry.c: Likewise.
10853 * crypt/crypt_util.c: Likewise.
10854 * libio/filedoalloc.c: Likewise.
10855 * libio/fileops.c: Likewise.
10856 * libio/genops.c: Likewise.
10857 * libio/iofclose.c: Likewise.
10858 * libio/iofdopen.c: Likewise.
10859 * libio/iofopen.c: Likewise.
10860 * libio/iofopen64.c: Likewise.
10861 * libio/iogetdelim.c: Likewise.
10862 * libio/iopopen.c: Likewise.
10863 * libio/obprintf.c: Likewise.
10864 * libio/oldfileops.c: Likewise.
10865 * libio/oldiofclose.c: Likewise.
10866 * libio/oldiofdopen.c: Likewise.
10867 * libio/oldiofopen.c: Likewise.
10868 * libio/oldiopopen.c: Likewise.
10869 * libio/wfiledoalloc.c: Likewise.
10870 * libio/wgenops.c: Likewise.
10871 * locale/programs/xmalloc.c: Likewise.
10872 * misc/syslog.c: Likewise.
10873 * stdio-common/xbug.c: Likewise.
10874 * string/memchr.c: Likewise.
10875 * string/memcmp.c: Likewise.
10876 * string/memrchr.c: Likewise.
10877 * string/rawmemchr.c: Likewise.
10878 * sysdeps/posix/getcwd.c: Likewise.
10879 * time/strftime_l.c: Likewise.
10880
3b100462
JM
108812012-01-30 Joseph Myers <joseph@codesourcery.com>
10882
10883 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
10884 * config.make.in (config-cflags-sse2avx): Define.
10885 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
10886 Fix typo.
10887
607998af
CM
108882012-01-29 Chris Metcalf <cmetcalf@tilera.com>
10889
10890 * scripts/config.guess: Update from upstream config git repository.
10891 * scripts/config.sub: Likewise.
10892
3601428f
CM
108932012-01-28 Chris Metcalf <cmetcalf@tilera.com>
10894
3ac8b282
CM
10895 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
10896 (EM_NUM): Update.
10897 (R_TILEPRO_*, R_TILEGX_*): New macros.
10898
e034841e
CM
10899 * scripts/firstversions.awk: Fix bug in version range handling.
10900
540d7568
CM
10901 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
10902
3601428f
CM
10903 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
10904
463de862
CM
10905 * include/sys/epoll.h: New file.
10906 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
10907 libc_hidden_def.
10908
73139a76
UD
109092012-01-28 Ulrich Drepper <drepper@gmail.com>
10910
96bc5b45
UD
10911 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
10912 Avoid unnecessary __WORDSIZE == 64 test.
10913 (fmaxf): Use VEX format if possible.
10914 (fmax): Likewise.
10915 (fminf): Likewise.
10916 (fmin): Likewise.
10917
56f6f6a2
UD
10918 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
10919 * math/math_private.h: Remove libc_fegetround* and
10920 libc_fesetround*.
10921 * sysdeps/i386/configure.in: Check for -msse2avx.
10922 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
10923 also if SSE2AVX is defined.
10924 Remove libc_fegetround* and libc_fesetround*.
10925 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
10926 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
10927 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
10928 of HAS_YMM_USABLE.
10929 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10930 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10931 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10932 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10933 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10934
73139a76
UD
10935 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
10936
d73f93a4
AZ
109372012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10938
10939 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
10940 size is not set.
10941 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10942
6ee65ed6
UD
109432012-01-27 Ulrich Drepper <drepper@gmail.com>
10944
10945 [BZ #13618]
10946 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
10947 relocation.
10948 * Makeconfig (libm): Define.
10949 * elf/Makefile: Add rules to build and run tst-relsort1.
10950 * elf/tst-relsort1.c: New file.
10951 * elf/tst-relsort1mod1.c: New file.
10952 * elf/tst-relsort1mod2.c: New file.
10953
8db21882
JM
109542012-01-27 Joseph Myers <joseph@codesourcery.com>
10955
10956 * math/s_ldexp.c: Remove __STDC__ conditionals.
10957 * math/s_ldexpf.c: Likewise.
10958 * math/s_ldexpl.c: Likewise.
10959 * math/s_nextafter.c: Likewise.
10960 * math/s_nexttowardf.c: Likewise.
10961 * math/s_significand.c: Likewise.
10962 * math/s_significandf.c: Likewise.
10963 * math/s_significandl.c: Likewise.
10964 * math/w_jnl.c: Likewise.
10965 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10966 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10967 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10968 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10969 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10970 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10971 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
10972 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10973 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10974 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10975 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10976 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10977 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10978 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10979 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10980 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10981 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10982 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10983 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10984 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10985 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10986 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10987 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10988 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10989 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10990 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10991 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10992 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10993 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10994 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10995 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10996 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10997 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10998 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10999 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11000 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11001 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11002 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11003 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11004 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11005 * sysdeps/ieee754/k_standard.c: Likewise.
11006 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11007 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11008 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11009 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11010 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11011 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11012 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11013 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11014 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11015 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11016 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11017 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11018 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11019 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11020 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11021 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11022 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11023 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11024 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11025 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11026 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11027 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11028 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11029 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11030 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11031 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11032 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11033 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11034 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11035 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11036 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11037 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11038 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11039 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11040 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11041 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11042 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11043 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11044 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11045 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11046 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11047 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11048 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11049 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11050 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11051 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11052 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11053 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11054 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11055 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11056 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11057 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11058 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11059 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11060 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11061 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11062 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11063 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11064 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11065 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11066 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11067 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11068 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11069 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11070 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11071 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11072 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11073 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11074 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11075 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11076 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11077 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11078 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11079 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11080 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11081 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11082 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11083 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11084 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11085 * sysdeps/ieee754/s_matherr.c: Likewise.
11086 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11087 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11088 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11089 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11090
965a54a4
JM
110912012-01-26 Joseph Myers <joseph@codesourcery.com>
11092
11093 * crypt/md5.h: Remove __STDC__ conditionals.
11094 * libio/libioP.h: Likewise.
11095 * locale/programs/config.h: Likewise.
11096 * sysdeps/generic/sysdep.h: Likewise.
11097 * sysdeps/i386/asm-syntax.h: Likewise.
11098 * sysdeps/s390/asm-syntax.h: Likewise.
11099 * sysdeps/unix/sysdep.h: Likewise.
11100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11102
7071ad79
JM
111032012-01-26 Joseph Myers <joseph@codesourcery.com>
11104
11105 * libio/libio.h: Remove __STDC__ conditionals.
11106 * malloc/obstack.h: Likewise.
11107 * math/complex.h: Likewise.
11108 * math/math.h: Likewise.
11109 * sysdeps/generic/_G_config.h: Likewise.
11110 * sysdeps/gnu/_G_config.h: Likewise.
11111 * sysdeps/mach/hurd/_G_config.h: Likewise.
11112 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11113 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11114 * sysdeps/sparc/bits/mathdef.h: Likewise.
11115
afc5ed09
UD
111162012-01-26 Ulrich Drepper <drepper@gmail.com>
11117
11118 [BZ #13583]
11119 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 11120 Clean up HAS_* macros.
afc5ed09 11121 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
11122 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
11123 possible.
11124 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
11125 HAS_AVX.
11126 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11127 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11128 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11129 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11130 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 11131
bdb6de1d
JM
111322012-01-25 Joseph Myers <joseph@codesourcery.com>
11133
11134 * elf/tst-unique3.cc (gets): Remove declaration.
11135 * elf/tst-unique3lib.cc (gets): Likewise.
11136 * elf/tst-unique3lib2.cc (gets): Likewise.
11137 * elf/tst-unique4.cc (gets): Likewise.
11138
b15549e6
UD
111392012-01-24 Ulrich Drepper <drepper@gmail.com>
11140
11141 * include/stdio.h: Add C++ protection. Add gets declarations and
11142 definitions.
11143 * debug/tst-chk1.c: Don't declare gets here.
11144 * stdio-common/tst-gets.c: Likewise.
11145
a037381f
JM
111462012-01-24 Joseph Myers <joseph@codesourcery.com>
11147
11148 * posix/glob: Remove directory.
11149
f1d4aa75
JM
111502012-01-24 Joseph Myers <joseph@codesourcery.com>
11151
11152 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
11153
81c0c964
PT
111542012-01-22 Pino Toscano <toscano.pino@tiscali.it>
11155
11156 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
11157 of the non-standard EPFNOSUPPORT.
11158
0ea698ae
ST
111592011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
11160
11161 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
11162 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
11163 ANYWHERE set to 1 only on KERN_NO_SPACE error.
11164
d220b117
UD
111652012-01-21 Ulrich Drepper <drepper@gmail.com>
11166
11167 * wcsmbs/uchar.h: Test __STDC_VERSION__.
11168
3e1aa84e
UD
111692012-01-20 Ulrich Drepper <drepper@gmail.com>
11170
11171 * nscd/aicache.c (addhstaiX): Do not cache negative results of
11172 transient errors.
11173 * nscd/grpcache.c (cache_addgr): Likewise.
11174 * nscd/hstcache.c (cache_addhst): Likewise.
11175 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11176 * nscd/pwdcache.c (cache_addpw): Likewise.
11177 * nscd/servicescache.c (cache_addserv): Likewise.
11178
400aa020
UD
111792012-01-16 Ulrich Drepper <drepper@gmail.com>
11180
d77e7869
UD
11181 * malloc/malloc.c: Various cleanups.
11182 * malloc/hooks.c: Likewise.
11183
400aa020
UD
11184 * stdlib/Makefile (tests): Add bug-fmtmsg1.
11185 * stdlib/bug-fmtmsg1.c: New file.
11186
11187 * stdlib/fmtmsg.c (init): Add missing unlock.
11188 Patch by Peng Haitao <penght@cn.fujitsu.com>.
11189
e0a309cf
MP
111902012-01-12 Marek Polacek <polacek@redhat.com>
11191
11192 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
11193 and _GNU_SOURCE.
11194
929d11c7
WS
111952012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11196
11197 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
11198 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
11199 macro to ensure uniqueness of label name.
11200 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11201 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11202
41d0e869
UD
112032012-01-11 Ulrich Drepper <drepper@gmail.com>
11204
0cc5ed3b
UD
11205 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
11206
41d0e869
UD
11207 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
11208 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11209 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11210 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
11211
a47a831a
UD
112122012-01-10 Ulrich Drepper <drepper@gmail.com>
11213
daa891c0
UD
11214 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
11215
11216 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
11217 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11218 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11219
e58ef0f2
UD
11220 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
11221
a47a831a 11222 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
11223 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11224 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 11225 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
11226
11227 * math/bits/math-finite.h: Add ldexp support.
11228
a0bfc9c7
MP
112292012-01-10 Marek Polacek <polacek@redhat.com>
11230
11231 * locale/programs/localedef.h (show_archive_content): Add noreturn
11232 attribute.
11233
d6e97a1d
UD
112342012-01-09 Ulrich Drepper <drepper@gmail.com>
11235
11236 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
11237
d5835c26
UD
112382012-01-08 Ulrich Drepper <drepper@gmail.com>
11239
e5f484c6
UD
11240 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
11241
d5835c26
UD
11242 * io/Makefile (headers): Add bits/poll2.h.
11243
d1f741e9
WS
112442011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
11245
11246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
11247 typo #include statement.
11248
ec09c1c4
UD
112492012-01-08 Ulrich Drepper <drepper@gmail.com>
11250
11251 * include/sys/cdefs.h: Define __attribute_alloc_size.
11252 * catgets/gencat.c: Add alloc_size attribute and apply consistently
11253 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
11254 * elf/pldd.c: Likewise.
11255 * iconv/iconv_charmap.c: Likewise.
11256 * iconv/iconvconfig.c: Likewise.
11257 * iconv/strtab.c: Likewise.
11258 * locale/programs/locale.c: Likewise.
11259 * locale/programs/localedef.h: Likewise.
11260 * locale/programs/simple-hash.c: Likewise.
11261 * nscd/nscd.h: Likewise.
11262 * nss/makedb.c: Likewise.
11263 * sysdeps/generic/ldconfig.h: Likewise.
11264 * locale/programs/localedef.c: Remove xmalloc prototype.
11265 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
11266
20b38e03
PP
112672012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11268
11269 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
11270 appropriate.
11271
a0da5fe1
UD
112722012-01-08 Ulrich Drepper <drepper@gmail.com>
11273
1d5a644a 11274 * math/Makefile (tests): Add tst-CMPLX.
669704fd 11275 * math/tst-CMPLX.c: New file.
1d5a644a 11276
8784a6db
UD
11277 * math/complex.h (CMPLXL): Fix typo.
11278
d9a216c0
UD
11279 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11280 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11281 GLIBC_2.16.
11282 * debug/tst-chk1.c: Add poll and ppoll tests.
11283 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11284 * include/sys/poll.h: Add hidden proto for ppoll.
11285 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11286 * sysdeps/mach/hurd/ppoll.c: Likewise.
11287 * io/ppoll.c: Likewise.
11288 * debug/poll_chk.c: New file.
11289 * debug/ppoll_chk.c: New file.
11290 * include/bits/poll2.h: New file.
11291 * io/bits/poll2.h: New file.
11292
ac097f5c
UD
11293 [BZ #1350]
11294 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11295
2119dcfa
UD
11296 * configure.in: static is always set to yes. Remove.
11297 * config.make.in: Don't set build-static.
11298 * Makeconfig: Remove use of build-static.
11299 * dlfcn/Makefile: Likewise.
11300 * elf/Makefile: Likewise.
11301 * math/Makefile: Likewise.
11302 * misc/Makefile: Likewise.
11303 * nptl/Makefile: Likewise.
11304 * sysdeps/mach/hurd/Makefile: Likewise.
11305
121766a9
UD
11306 * configure.in: PWD_P is not used anymore.
11307 * config.make.in: Remove PWD_P entry.
11308
51a1d39c 11309 * configure.in: Remove last remnants of RANLIB.
8720d066 11310 No need to check for signed size_t anymore.
215f4bdc
UD
11311 Don't set libc_commonpagesize and libc_relro_required here for Alpha
11312 and IA-64.
3857022a 11313 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
11314 * aclocal.m4: Likewise.
11315
d3ed7225
UD
11316 * wcsmbs/mbrtoc16.c: Implement using towc function.
11317 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11318 * wcsmbs/wcsmbsload.c: Likewise.
11319 * iconv/gconv_simple.c: Likewise.
11320 * iconv/gconv_int.h: Likewise.
11321 * iconv/gconv_builtin.h: Likewise.
11322 * iconv/iconv_prog.c: Remove CHAR16 handling.
11323
11324 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11325
11326 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11327
a0da5fe1
UD
11328 * configure.in: Remove --with-elf and --enable-bounded options.
11329 Dont set base_machine for ia64. More non-ELF conditions removed.
11330 Remove testing and setting of leading underscore information.
11331 * config.make.in (build-bounded): Set to no.
11332 * config.h.in: Remove NO_UNDERSCORES entry.
11333 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
11334 them.
11335 * csu/start.c: Remove !NO_UNDERSCORE code.
11336 * locale/localeinfo.h: Likewise.
11337 * sysdeps/generic/machine-gmon.h: Likewise.
11338 * sysdeps/generic/sysdep.h: Likewise.
11339 * sysdeps/i386/sysdep.h: Likewise.
11340 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11341 * sysdeps/mach/sysdep.h: Likewise.
11342 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11343 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11344 * sysdeps/sh/sysdep.h: Likewise.
11345 * sysdeps/sparc/sparc32/alloca.S: Likewise.
11346 * sysdeps/unix/i386/sysdep.S: Likewise.
11347 * sysdeps/unix/sparc/start.c: Likewise.
11348 * sysdeps/unix/sparc/sysdep.S: Likewise.
11349 * sysdeps/unix/sparc/sysdep.h: Likewise.
11350 * sysdeps/unix/start.c: Likewise.
11351 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11352 * sysdeps/x86_64/sysdep.h: Likewise.
11353
df78418a
UD
113542012-01-07 Ulrich Drepper <drepper@gmail.com>
11355
a784e502
UD
11356 [BZ #13553]
11357 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11358 for non-gcc.
11359 * argp/argp-fmtstream.h: Use const instead __const.
11360 * argp/argp.h: Likewise.
11361 * assert/assert.h: Likewise.
11362 * bits/fenv.h: Likewise.
11363 * bits/sched.h: Likewise.
11364 * bits/sigset.h: Likewise.
11365 * bits/sigthread.h: Likewise.
11366 * catgets/nl_types.h: Likewise.
11367 * conform/data/pthread.h-data: Likewise.
11368 * crypt/crypt-private.h: Likewise.
11369 * crypt/crypt.h: Likewise.
11370 * crypt/crypt_util.c: Likewise.
11371 * ctype/ctype.h: Likewise.
11372 * debug/execinfo.h: Likewise.
11373 * debug/mbsnrtowcs_chk.c: Likewise.
11374 * debug/mbsrtowcs_chk.c: Likewise.
11375 * debug/wcsnrtombs_chk.c: Likewise.
11376 * debug/wcsrtombs_chk.c: Likewise.
11377 * debug/wcstombs_chk.c: Likewise.
11378 * dirent/dirent.h: Likewise.
11379 * dlfcn/dlfcn.h: Likewise.
11380 * elf/neededtest4.c: Likewise.
11381 * grp/grp.h: Likewise.
11382 * gshadow/gshadow.h: Likewise.
11383 * iconv/gconv.h: Likewise.
11384 * iconv/gconv_int.h: Likewise.
11385 * iconv/gconv_simple.c: Likewise.
11386 * iconv/iconv.h: Likewise.
11387 * iconv/loop.c: Likewise.
11388 * iconv/skeleton.c: Likewise.
11389 * include/aio.h: Likewise.
11390 * include/aliases.h: Likewise.
11391 * include/argz.h: Likewise.
11392 * include/arpa/inet.h: Likewise.
11393 * include/assert.h: Likewise.
11394 * include/dirent.h: Likewise.
11395 * include/dlfcn.h: Likewise.
11396 * include/execinfo.h: Likewise.
11397 * include/fcntl.h: Likewise.
11398 * include/fenv.h: Likewise.
11399 * include/glob.h: Likewise.
11400 * include/grp.h: Likewise.
11401 * include/libintl.h: Likewise.
11402 * include/mntent.h: Likewise.
11403 * include/netdb.h: Likewise.
11404 * include/pwd.h: Likewise.
11405 * include/rpc/netdb.h: Likewise.
11406 * include/sched.h: Likewise.
11407 * include/search.h: Likewise.
11408 * include/shadow.h: Likewise.
11409 * include/signal.h: Likewise.
11410 * include/stdio.h: Likewise.
11411 * include/stdlib.h: Likewise.
11412 * include/string.h: Likewise.
11413 * include/sys/socket.h: Likewise.
11414 * include/sys/stat.h: Likewise.
11415 * include/sys/statfs.h: Likewise.
11416 * include/sys/statvfs.h: Likewise.
11417 * include/sys/syslog.h: Likewise.
11418 * include/sys/time.h: Likewise.
11419 * include/sys/uio.h: Likewise.
11420 * include/time.h: Likewise.
11421 * include/unistd.h: Likewise.
11422 * include/utmp.h: Likewise.
11423 * include/wchar.h: Likewise.
11424 * include/wctype.h: Likewise.
11425 * inet/aliases.h: Likewise.
11426 * inet/arpa/inet.h: Likewise.
11427 * inet/netinet/ether.h: Likewise.
11428 * inet/netinet/in.h: Likewise.
11429 * intl/libintl.h: Likewise.
11430 * io/bits/fcntl2.h: Likewise.
11431 * io/fcntl.h: Likewise.
11432 * io/ftw.h: Likewise.
11433 * io/sys/poll.h: Likewise.
11434 * io/sys/stat.h: Likewise.
11435 * io/sys/statfs.h: Likewise.
11436 * io/sys/statvfs.h: Likewise.
11437 * io/utime.h: Likewise.
11438 * libio/bits/stdio.h: Likewise.
11439 * libio/bits/stdio2.h: Likewise.
11440 * libio/libio.h: Likewise.
11441 * libio/libioP.h: Likewise.
11442 * libio/stdio.h: Likewise.
11443 * locale/lc-ctype.c: Likewise.
11444 * locale/locale.h: Likewise.
11445 * login/utmp.h: Likewise.
11446 * malloc/arena.c: Likewise.
11447 * malloc/malloc.c: Likewise.
11448 * malloc/malloc.h: Likewise.
11449 * malloc/mcheck.c: Likewise.
11450 * malloc/mtrace.c: Likewise.
11451 * math/bits/mathcalls.h: Likewise.
11452 * math/fenv.h: Likewise.
11453 * math/math_private.h: Likewise.
11454 * misc/bits/error.h: Likewise.
11455 * misc/bits/syslog.h: Likewise.
11456 * misc/err.h: Likewise.
11457 * misc/error.h: Likewise.
11458 * misc/fstab.h: Likewise.
11459 * misc/mntent.h: Likewise.
11460 * misc/regexp.h: Likewise.
11461 * misc/search.h: Likewise.
11462 * misc/sgtty.h: Likewise.
11463 * misc/sys/mman.h: Likewise.
11464 * misc/sys/syslog.h: Likewise.
11465 * misc/sys/uio.h: Likewise.
11466 * misc/sys/xattr.h: Likewise.
11467 * misc/ttyent.h: Likewise.
11468 * nis/rpcsvc/ypclnt.h: Likewise.
11469 * nss/nss.h: Likewise.
11470 * posix/bits/unistd.h: Likewise.
11471 * posix/fnmatch.h: Likewise.
11472 * posix/glob.h: Likewise.
11473 * posix/sched.h: Likewise.
11474 * posix/spawn.h: Likewise.
11475 * posix/sys/wait.h: Likewise.
11476 * posix/unistd.h: Likewise.
11477 * posix/wordexp.h: Likewise.
11478 * pwd/pwd.h: Likewise.
11479 * resolv/netdb.h: Likewise.
11480 * resource/sys/resource.h: Likewise.
11481 * rt/aio.h: Likewise.
11482 * rt/bits/mqueue2.h: Likewise.
11483 * rt/mqueue.h: Likewise.
11484 * shadow/shadow.h: Likewise.
11485 * signal/signal.h: Likewise.
11486 * socket/send.c: Likewise.
11487 * socket/sendto.c: Likewise.
11488 * socket/sys/socket.h: Likewise.
11489 * stdio-common/printf.h: Likewise.
11490 * stdlib/bits/stdlib.h: Likewise.
11491 * stdlib/fmtmsg.h: Likewise.
11492 * stdlib/monetary.h: Likewise.
11493 * stdlib/stdlib.h: Likewise.
11494 * stdlib/ucontext.h: Likewise.
11495 * streams/stropts.h: Likewise.
11496 * string/argz.h: Likewise.
11497 * string/bits/string2.h: Likewise.
11498 * string/string.h: Likewise.
11499 * string/strings.h: Likewise.
11500 * sunrpc/rpc/auth.h: Likewise.
11501 * sunrpc/rpc/auth_des.h: Likewise.
11502 * sunrpc/rpc/clnt.h: Likewise.
11503 * sunrpc/rpc/netdb.h: Likewise.
11504 * sunrpc/rpc/pmap_clnt.h: Likewise.
11505 * sunrpc/rpc/xdr.h: Likewise.
11506 * sysdeps/generic/inttypes.h: Likewise.
11507 * sysdeps/generic/net/if.h: Likewise.
11508 * sysdeps/generic/sys/swap.h: Likewise.
11509 * sysdeps/gnu/net/if.h: Likewise.
11510 * sysdeps/gnu/utmpx.h: Likewise.
11511 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11512 * sysdeps/i386/i486/bits/string.h: Likewise.
11513 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
11514 * sysdeps/s390/bits/string.h: Likewise.
11515 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
11516 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
11517 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
11518 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11519 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11520 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
11521 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11522 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
11523 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11524 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
11525 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
11526 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11527 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
11528 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11529 * sysdeps/unix/sysv/linux/readv.c: Likewise.
11530 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
11531 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11532 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11533 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11534 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11535 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11536 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
11537 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
11538 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
11539 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
11540 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
11541 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
11542 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11543 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
11544 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
11545 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
11546 * sysvipc/sys/ipc.h: Likewise.
11547 * sysvipc/sys/msg.h: Likewise.
11548 * sysvipc/sys/sem.h: Likewise.
11549 * sysvipc/sys/shm.h: Likewise.
11550 * termios/termios.h: Likewise.
11551 * time/sys/time.h: Likewise.
11552 * time/time.h: Likewise.
11553 * wcsmbs/bits/wchar2.h: Likewise.
11554 * wcsmbs/uchar.h: Likewise.
11555 * wcsmbs/wchar.h: Likewise.
11556 * wctype/wctype.h: Likewise.
11557
0269750c
UD
11558 [BZ #13551]
11559 * Makeconfig: Remove all but ELF support including AIX support.
11560 * Makerules: Likewise.
11561 * config.h.in: Likewise.
11562 * config.make.in: Likewise.
11563 * configure: Likewise.
11564 * configure.in: Likewise.
11565 * csu/Makefile: Likewise.
11566 * csu/version.c: Likewise.
11567 * debug/Makefile: Likewise.
11568 * dlfcn/Makefile: Likewise.
11569 * elf/Makefile: Likewise.
11570 * extra-lib.mk: Likewise.
11571 * iconv/Makefile: Likewise.
11572 * include/libc-symbols.h: Likewise.
11573 * include/shlib-compat.h: Likewise.
11574 * resolv/Makefile: Likewise.
11575 * resolv/res_libc.c: Likewise.
11576 * rt/Makefile: Likewise.
11577 * sysdeps/i386/asm-syntax.h: Likewise.
11578 * sysdeps/i386/sysdep.h: Likewise.
11579 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11580 * sysdeps/mach/sysdep.h: Likewise.
11581 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
11582 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
11583 * sysdeps/s390/asm-syntax.h: Likewise.
11584 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11585 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11586 * sysdeps/sh/sysdep.h: Likewise.
11587 * sysdeps/unix/sparc/sysdep.h: Likewise.
11588 * sysdeps/wordsize-32/divdi3.c: Likewise.
11589 * sysdeps/x86_64/sysdep.h: Likewise.
11590
00bbd29b
UD
11591 * argp/Versions: Remove _argp_unlock_xxx.
11592
11593 [BZ #13559]
11594 * abilist/ld.abilist: Update. Adjust for removal of tls option.
11595 * abilist/libBrokenLocale.abilist: Likewise.
11596 * abilist/libanl.abilist: Likewise.
11597 * abilist/libc.abilist: Likewise.
11598 * abilist/libcrypt.abilist: Likewise.
11599 * abilist/libdl.abilist: Likewise.
11600 * abilist/libm.abilist: Likewise.
11601 * abilist/libnsl.abilist: Likewise.
11602 * abilist/libpthread.abilist: Likewise.
11603 * abilist/libresolv.abilist: Likewise.
11604 * abilist/librt.abilist: Likewise.
11605 * abilist/libthread_db.abilist: Likewise.
11606 * abilist/libutil.abilist: Likewise.
11607 * abilist/libnss_db.abilist: New file.
11608
11609 * scripts/abilist.awk: Add support for indirect functions.
11610
a2693a0e
UD
11611 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
11612
3f05895f
UD
11613 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
11614
ecb6fb48
UD
11615 * shlib-versions: Remove entries for ports architectures.
11616
664f8cb9
UD
11617 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
11618 files in ports.
11619 * elf/stackguard-macros.h: Remove support for IA-64.
11620 * elf/tst-auditmod1.c: Likewise.
11621 * sysdeps/generic/ldsodefs.h: Likewise.
11622
7ae81d88
UD
11623 * sysdeps/unix/sysv/linux/configure.in: Ports should define
11624 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
11625 configure files.
11626
bdeba135
UD
11627 [BZ #13552]
11628 * configure.in: Remove --enable-omitfp support.
11629 * FAQ.in: Adjust.
11630 * config.make.in: Likewise.
11631 * Makeconfig: Likewise.
11632 * manual/install.texi: Likewise.
11633
d75a0a62
UD
11634 In case anyone cares, the IA-64 architecture could move to ports.
11635 * sysdeps/ia64/*: Removed.
11636 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 11637 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 11638
dcc9756b
UD
11639 [BZ #13555]
11640 * configure.in: Remove entries for unsupported architectures.
11641
d3761ebc 11642 [BZ #13533]
9954432e
UD
11643 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
11644 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
11645 routines.
11646 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
11647 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
11648 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
11649 fall back to using wcrtomb.
11650 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
11651 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
11652 renaming.
11653 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
11654 * wcsmbs/tst-c16c32-1.c: New file.
11655
11656 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
11657 local variable.
11658
c3a87236
UD
11659 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
11660
28926a1b
UD
11661 * elf/tst-unique3.cc: Add explicit declaration of gets.
11662 * elf/tst-unique3lib.cc: Likewise.
11663 * elf/tst-unique3lib2.cc: Likewise.
11664 * elf/tst-unique4.cc: Likewise.
11665
df78418a
UD
11666 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
11667
8ecd6b2a
JM
116682012-01-06 Joseph Myers <joseph@codesourcery.com>
11669
11670 [BZ #13566]
11671 * assert/assert.h (static_assert): Don't define for C++.
11672 * libio/stdio.h (gets): Do declare for C++ <= C++11.
11673 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
11674
9f115170
UD
116752012-01-03 Ulrich Drepper <drepper@gmail.com>
11676
5e0d0300
UD
11677 * iconv/loop.c (single loop): Fix assertion in storing of
11678 remaining bytes.
11679
9f115170
UD
11680 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
11681
81fb02b0
UD
116822012-01-01 Ulrich Drepper <drepper@gmail.com>
11683
11684 * posix/getconf.c: Update copyright year.
11685 * nss/getent.c: Likewise.
a316c1f6 11686 * nss/makedb.c: Likewise.
81fb02b0
UD
11687 * iconv/iconvconfig.c: Likewise.
11688 * iconv/iconv_prog.c: Likewise.
11689 * elf/ldconfig.c: Likewise.
a316c1f6
UD
11690 * elf/pldd.c: Likewise.
11691 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
11692 * catgets/gencat.c: Likewise.
11693 * csu/version.c: Likewise.
11694 * elf/ldd.bash.in: Likewise.
11695 * elf/sprof.c (print_version): Likewise.
11696 * locale/programs/locale.c: Likewise.
11697 * locale/programs/localedef.c: Likewise.
a316c1f6 11698 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
11699 * nscd/nscd.c (print_version): Likewise.
11700 * debug/xtrace.sh: Likewise.
11701 * malloc/memusage.sh: Likewise.
11702 * malloc/mtrace.pl: Likewise.
11703 * debug/catchsegv.sh: Likewise.
11704
2ba92745
JJ
117052011-12-30 Jakub Jelinek <jakub@redhat.com>
11706
11707 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
11708 pure attribute.
11709
dadebdae
UD
117102011-12-24 Ulrich Drepper <drepper@gmail.com>
11711
d3761ebc 11712 [BZ #13533]
db6af3eb
UD
11713 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
11714 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
11715 transformations.
11716 * iconv/gconv_int.h: Likewise.
11717 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
11718 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
11719 from libc for GLIBC_2.16.
11720 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
11721 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
11722 * wcsmbs/uchar.h: Really define mbstate_t.
11723 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
11724 * wcsmbs/c16rtomb.c: New file.
11725 * wcsmbs/mbrtoc16.c: New file.
11726 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
11727 for C/POSIX locale.
11728 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
11729 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
11730
dadebdae
UD
11731 * wcsmbs/wchar.h: Add missing __restrict.
11732
67371b56
UD
117332011-12-23 Ulrich Drepper <drepper@gmail.com>
11734
74033a25
UD
11735 [BZ #13532]
11736 * time/Makefile (routines): Add timespec_get.
11737 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
11738 * time/time.h: Define TIME_UTC and declare timespec_get. Define
11739 timespec for ISO C11.
11740 * time/timespec_get.c: New file.
11741 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
11742 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
11743
380d7e87
UD
11744 [BZ #13531]
11745 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
11746 * stdlib/stdlib.h: Declare aligned_alloc.
11747 * Versions.def: Add GLIBC_2.16 for libc.
11748 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
11749
4e9e7a35
UD
11750 [BZ 13527]
11751 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
11752 ISO C11.
11753
380d7e87 11754 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
11755 code.
11756
03a71829
UD
11757 [BZ #13528]
11758 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
11759
839e283e
UD
11760 [BZ #13529]
11761 * assert/assert.h (static_assert): Define.
11762
ce5294e2 11763 * version.h: Update for 2.16 development version.
90fa7312 11764
8d44e150 11765 [BZ #13526]
d7809905
UD
11766 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
11767 _ISOC11_SOURCE.
11768
c0da14cd
UD
11769 * version.h (RELEASE): Bump for 2.15 release.
11770 * include/features.h (__GLIBC_MINOR__): Bump to 15.
11771
530a3249
MP
11772 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
11773 Patch by Marek Polacek <mpolacek@redhat.com>.
11774
67371b56
UD
11775 * bits/byteswap.h: Protect long long constants with __extension__.
11776 * sysdeps/i386/bits/byteswap.h: Likewise.
11777 * sysdeps/ia64/bits/byteswap.h: Likewise.
11778 * sysdeps/s390/bits/byteswap.h: Likewise.
11779 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11780
15db4de1
LD
117812011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11782
11783 [BZ #13540]
bbe315ea
LD
11784 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
11785 destination buffer.
15db4de1
LD
11786 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11787
2b2596b1
MP
117882011-12-23 Marek Polacek <polacek@redhat.com>
11789
11790 * elf/dl-addr.c (determine_info): Add inline keyword.
11791 * elf/tst-auditmod4b.c (check_avx): Likewise.
11792 * elf/tst-auditmod6b.c (check_avx): Likewise.
11793 * elf/tst-auditmod6c.c (check_avx): Likewise.
11794 * elf/tst-auditmod7b.c (check_avx): Likewise.
11795
70c6c246
UD
117962011-12-23 Ulrich Drepper <drepper@gmail.com>
11797
11798 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
11799 !__SSE_MATH__.
11800
c044cf14
LD
118012011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11802
15db4de1 11803 [BZ #13540]
c044cf14
LD
11804 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
11805 processing for last bytes.
11806
6b13d9d9
BH
118072011-08-06 Bruno Haible <bruno@clisp.org>
11808
d455f537
BH
11809 [BZ #13061]
11810 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
11811 U+0385, not to U+1FEE.
11812
6b13d9d9
BH
11813 [BZ #13062]
11814 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
11815 entry for U+00A5 U+0301.
11816
db910efd
UD
118172011-12-22 Ulrich Drepper <drepper@gmail.com>
11818
27deeafc
UD
11819 [BZ #13166]
11820 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
11821 buffer for the output is too small.
11822
aed9d171
UD
11823 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
11824 optimization.
11825
db910efd
UD
11826 [BZ #13185]
11827 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
11828 SSE flags if possible.
11829
2bd779ae
LD
118302011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11831
e7f9dac3 11832 [BZ #13540]
2bd779ae
LD
11833 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
11834 processing for last bytes.
11835
154bfc16
JM
118362011-12-22 Joseph Myers <joseph@codesourcery.com>
11837
11838 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
11839 (syscall-list-default-options, syscall-list-default-condition)
11840 (syscall-list-includes): Define.
11841 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
11842 list of ABIs and options and #if conditions for each ABI. Do not
11843 handle common syscalls between ABIs specially.
11844 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
11845 Remove.
11846 (syscall-list-variants, syscall-list-32bit-options)
11847 (syscall-list-32bit-condition, syscall-list-64bit-options)
11848 (syscall-list-64bit-condition): Define.
11849 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
11850 (syscall-list-variants, syscall-list-32bit-options)
11851 (syscall-list-32bit-condition, syscall-list-64bit-options)
11852 (syscall-list-64bit-condition): Define.
11853 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
11854 Remove.
11855 (syscall-list-variants, syscall-list-32bit-options)
11856 (syscall-list-32bit-condition, syscall-list-64bit-options)
11857 (syscall-list-64bit-condition): Define.
11858 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
11859 Remove.
11860 (syscall-list-variants, syscall-list-32bit-options)
11861 (syscall-list-32bit-condition, syscall-list-64bit-options)
11862 (syscall-list-64bit-condition): Define.
11863
21eaf3a5
UD
118642011-12-22 Ulrich Drepper <drepper@gmail.com>
11865
16c6f992
UD
11866 * locale/iso-639.def: Add brx entry.
11867
41043168
UD
11868 [BZ #13328]
11869 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
11870 Proposed by Mariusz_Cukr <marcukr@op.pl>.
11871
21eaf3a5
UD
11872 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
11873 __feraiseexcept_renamed.
11874
e3a851a2
UD
118752011-12-21 Ulrich Drepper <drepper@gmail.com>
11876
4920765e
UD
11877 [BZ #13538]
11878 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
11879 EPOLLET with unsigned values.
11880 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11881 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11882
e3a851a2
UD
11883 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
11884 to large cancellation.
11885 * math/s_cacoshf.c: Likewise.
11886 * math/s_cacoshl.c: Likewise.
11887
b27e24b8
RK
118882011-11-18 Richard B. Kreckel <kreckel@ginac.de>
11889
11890 [BZ #13305]
aebefeee 11891 [BZ #12786]
b27e24b8
RK
11892 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
11893 * math/s_cacoshf.c: Likewise.
11894 * math/s_cacoshl.c: Likewise.
11895
ee190f67
UD
118962011-12-21 Ulrich Drepper <drepper@gmail.com>
11897
11898 [BZ #13439]
11899 * iconv/gconv.h: Define __GCONV_SWAP.
11900 * iconvdata/unicode.c: The swap bit must be stored in __flags.
11901 * iconvdata/utf-16.c: Likewise.
11902 * iconvdata/utf-32.c: Likewise.
11903
707f25df
AS
119042011-12-21 Andreas Schwab <schwab@linux-m68k.org>
11905
11906 [BZ #13524]
11907 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
11908 numerator after shifting it by one limb.
11909
d2daaa1e
RÁE
119102011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
11911
11912 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
11913 under [__USE_EXTERN_INLINES].
11914
a4647e72
UD
119152011-12-17 Ulrich Drepper <drepper@gmail.com>
11916
11917 [BZ #13446]
11918 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
11919
f0b264f1
AZ
119202011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11921
11922 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
11923 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
11924 optimized code.
11925 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
11926 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
11927 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
11928 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
11929 for strncasecmp/strncasecmp_l compilation.
11930 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
11931 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
11932
8ef4f244
MP
119332011-12-08 Marek Polacek <mpolacek@redhat.com>
11934
11935 [BZ #13484]
11936 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
11937 of __asm__.
11938
97ac2654
UD
119392011-12-17 Ulrich Drepper <drepper@gmail.com>
11940
11941 [BZ #13506]
11942 * time/tzfile.c (__tzfile_read): Check values from file header.
11943
91d2a845
WS
119442011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11945
11946 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
11947 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
11948 * powerpc/powerpc32/dl-start.S: Likewise.
11949 * powerpc/powerpc32/elf/start.S: Likewise.
11950 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11951 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
11952 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
11953 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
11954 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11955 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
11956 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
11957 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11958 * powerpc/powerpc32/fpu/s_round.S: Likewise.
11959 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11960 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11961 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11962 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11963 * powerpc/powerpc32/memset.S: Likewise.
11964 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11965 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11966 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11967 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11968 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11969 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11970 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11971 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11972 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
11973 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
11974 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
11975 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11976 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11977
a1267ba1
AZ
119782011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11979
11980 * math/libm-test.inc: Added more nearbyint tests.
11981 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
11982 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
11983 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
11984 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
11985
ad8ac1bd
RL
119862011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
11987
11988 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
11989 FD_CLOEXEC.
11990
1d3e4b61
UD
119912011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11992
11993 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
11994 Add wcscpy-ssse3 wcscpy-c.
11995 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
11996 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
11997 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
11998 * sysdeps/x86_64/wcschr.S: New file.
11999 * sysdeps/x86_64/wcsrchr.S: New file.
12000 * string/test-strcmp.c: Remove checking of wcscmp function for
12001 wrong alignments.
12002 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
12003 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
12004 wcsrchr-sse2 wcsrchr-c.
12005 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
12006 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
12007 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
12008 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
12009 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
12010 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
12011 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
12012 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
12013 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
12014 * wcsmbc/wcschr.c (WCSCHR): New macro.
12015
5b330a2d
UD
120162011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12017
12018 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
12019 * wcsmbs/test-wcsrchr.c: New file.
12020 * string/test-strrchr.c: Add wcsrchr support.
12021 (WIDE): New macro.
12022 * wcsmbs/test-wcscpy.c: New file.
12023 * string/test-strcpy.c: Add wcscpy support.
12024 (WIDE): New macro.
26428b7c 12025
f039c043
UD
120262011-12-10 Ulrich Drepper <drepper@gmail.com>
12027
12028 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
12029 the inner loop.
12030
850fb039
AS
120312011-12-06 Andreas Schwab <schwab@linux-m68k.org>
12032
12033 [BZ #13472]
12034 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
12035
4efbd5cb
UD
120362011-12-04 Ulrich Drepper <drepper@gmail.com>
12037
52ff5dd0 12038 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 12039 Minor optimizations.
52ff5dd0 12040
4efbd5cb
UD
12041 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
12042 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
12043 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12044
8a426e12
UD
120452011-12-03 Ulrich Drepper <drepper@gmail.com>
12046
aff2453d
UD
12047 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
12048 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
12049 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
12050 for gcc to avoid warnings.
12051 * inet/Makefile (tests): Add tst-checks.
12052 * inet/tst-checks.c: New file.
12053
12054 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
12055 warning.
12056
12057 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
12058 __wmemcmp_sse2.
12059
12060 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
12061 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
12062
8a426e12
UD
12063 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
12064
9bea3473
UD
120652011-12-02 Ulrich Drepper <drepper@gmail.com>
12066
3a965496
UD
12067 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
12068 problem.
12069
9bea3473
UD
12070 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
12071
f101631b
UD
120722011-11-29 Joseph Myers <joseph@codesourcery.com>
12073
12074 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
12075 conditional on GCC version.
12076 (__arch_compare_and_exchange_val_8_acq)
12077 (__arch_compare_and_exchange_val_16_acq)
12078 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
12079 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
12080 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
12081
a98275aa
UD
120822011-12-02 Joseph Myers <joseph@codesourcery.com>
12083
12084 * sysdeps/sh/backtrace.c: New file.
12085
d4cc29a2
AS
120862011-12-02 Andreas Schwab <schwab@redhat.com>
12087
12088 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
12089 parenthesis.
12090
6257af2d
AS
120912011-12-01 Andreas Schwab <schwab@redhat.com>
12092
12093 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
12094 falling back to utime.
12095
b5f44c1a
AS
120962011-11-30 Andreas Schwab <schwab@redhat.com>
12097
12098 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
12099 expectations for float.
12100
f3a6cc0a
AS
121012011-11-29 Andreas Schwab <schwab@redhat.com>
12102
12103 * locale/weight.h (findidx): Add parameter len.
12104 * locale/weightwc.h (findidx): Likewise.
12105 * posix/fnmatch_loop.c (FCT): Adjust caller.
12106 * posix/regcomp.c (build_equiv_class): Likewise.
12107 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
12108 * posix/regexec.c (check_node_accept_bytes): Likewise.
12109 * string/strcoll_l.c (STRCOLL): Likewise.
12110 * string/strxfrm_l.c (STRXFRM): Likewise.
12111
9d65ea3a
UD
121122011-11-17 Ulrich Drepper <drepper@gmail.com>
12113
12114 * Makefile.in: Remove CVSOPT handling.
12115 * configure.in: Remove use of AC_REVISION.
12116 * iconvdata/Makefile (distribute): No need to filter out CVS.
12117 * scripts/list-sources.sh: Remove CVS, subversion and monotone
12118 handling.
12119
5583a086
AS
121202011-11-16 Andreas Schwab <schwab@redhat.com>
12121
12122 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
12123 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
12124 [USE_AS_STRNCASECMP_L]: Likewise.
12125 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
12126 NO_TLS_DIRECT_SEG_REFS.
12127 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
12128 Fix argument offsets for non-PIC.
12129 [USE_AS_STRNCASECMP_L]: Likewise.
12130 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
12131 NO_TLS_DIRECT_SEG_REFS.
12132
d62a8200
UD
121332011-11-15 Ulrich Drepper <drepper@gmail.com>
12134
9d65ea3a 12135 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
12136 O_CLOEXEC.
12137 * locale/loadlocale.c (_nl_load_locale): Likewise.
12138
09f93bd3
AS
121392011-11-15 Andreas Schwab <schwab@redhat.com>
12140
446514f9
AS
12141 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
12142 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
12143 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
12144 (SYSCALL_GETTIME): Set errno on error.
12145
09f93bd3
AS
12146 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
12147 count references to noai6ai_cached.
12148
312be3f9
UD
121492011-11-15 Ulrich Drepper <drepper@gmail.com>
12150
12151 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
12152
12153 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
12154 FD_CLOEXEC for /proc/self/maps.
12155
12156 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
12157 FD_CLOEXEC for /proc/meminfo.
12158
12159 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
12160 gai.conf.
12161
12162 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
12163 FD_CLOEXEC for given file.
12164
12165 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
12166
12167 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
12168 FD_CLOEXEC for /etc/hosts.
12169 (_gethtent): Likewise.
12170
12171 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
12172
12173 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
12174 cancellation and set FD_CLOEXEC for /etc/netgroup.
12175
12176 * nss/nss_files/files-key.c (search): Don't allow cancellation when
12177 reading /etc/publickey.
12178
12179 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
12180 allow cancellation when reading /etc/group.
12181
12182 * nss/nss_files/files-alias.c (internal_setent): Don't allow
12183 cancellation.
12184 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
12185
12186 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
12187 when using data file.
12188
12189 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
12190
12191 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
12192 (write_nis_obj): Use "c" and "e" in fopen.
12193
12194 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
12195
12196 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
12197
12198 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
12199
12200 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
12201
12202 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
12203 locale.alias.
12204
12205 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
12206
12207 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
12208
12209 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
12210
12211 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
12212 file parsing and set FD_CLOEXEC.
12213
82af0fa8
UD
122142011-11-14 Ulrich Drepper <drepper@gmail.com>
12215
12216 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
12217
a5fb313c
AS
122182011-11-14 Andreas Schwab <schwab@redhat.com>
12219
12220 * malloc/arena.c (arena_get2): Don't call reused_arena when
12221 _int_new_arena failed.
12222
6abf3465
UD
122232011-11-14 Ulrich Drepper <drepper@gmail.com>
12224
12225 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
12226 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
12227 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
12228 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12229 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12230 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
12231 to compile strcasecmp and strncasecmp.
12232 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
12233 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
12234
12235 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
12236
76e3966e
UD
122372011-11-13 Ulrich Drepper <drepper@gmail.com>
12238
12239 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
12240 locale-defines.sym to gen-as-const-headers.
12241 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
12242 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
12243 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
12244 to compile strcasecmp and strncasecmp.
12245 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
12246 strcasecmp_l and strncasecmp_l.
12247 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
12248 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
12249 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
12250 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
12251 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
12252 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
12253 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
12254 * sysdeps/i386/i686/multiarch/strncase.S: New file.
12255 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
12256 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
12257 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
12258
ab26144e
UD
122592011-11-12 Ulrich Drepper <drepper@gmail.com>
12260
7edb22ef
UD
12261 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
12262 result of SYSDEP_GETTIME_CPU to retval.
12263 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
12264 parameter list to macro. Remove trailing semicolon. Adjust users.
12265
9694fc44
UD
12266 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
12267 variable.
12268
8ad89ef8
UD
12269 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
12270 mantissa words.
12271 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12272
0c822ef9
UD
12273 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
12274 from unused variable.
12275
874e0564
UD
12276 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12277 DWARF definitions.
12278 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12279 for assembling.
12280
3a2edc79
UD
12281 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12282 over namespaces.
12283
f3c2577f
UD
12284 * sunrpc/rpc_prot.c (rejected): Fix case value.
12285
294ce126
UD
12286 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12287 unsigned long long int to avoid warnings in shift.
12288
5e2b63c6
UD
12289 * posix/regex_internal.c (re_string_reconstruct): Actually use result
12290 of use of trans.
12291 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12292 variable tmp.
12293
e7f4b08e
UD
12294 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12295 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12296 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12297
ab26144e
UD
12298 * nis/nis_table.c (nis_list): Use variable of correct type for
12299 result of __follow_path call.
12300
8a6d5255
AZ
123012011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12302
12303 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12304 of math functions ceil, trunc, floor, round, and sqrt, when
12305 avaliable on the platform.
12306 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12307 name clash.
12308 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12309 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12310 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12311
aaddc98c
MP
123122011-10-30 Marek Polacek <mpolacek@redhat.com>
12313
12314 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12315 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12316
95b7042b
RM
123172011-11-11 Roland McGrath <roland@hack.frob.com>
12318
12319 * include/unistd.h: Fix __readlink return type.
12320 Reported by Chris Metcalf <cmetcalf@tilera.com>.
12321
57769839
UD
123222011-11-11 Ulrich Drepper <drepper@gmail.com>
12323
12324 * stdlib/ucontext.h: Undo last change for makecontext.
12325
edc5984d
AS
123262011-11-11 Andreas Schwab <schwab@redhat.com>
12327
98591e58
AS
12328 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12329
edc5984d
AS
12330 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12331 * setjmp/setjmp.h: Mark functions as non-leaf.
12332 * setjmp/bits/setjmp2.h: Likewise.
12333 * stdlib/ucontext.h: Likewise.
12334
77cdc054
AS
123352011-11-10 Andreas Schwab <schwab@redhat.com>
12336
12337 * malloc/arena.c (_int_new_arena): Don't increment narenas.
12338 (reused_arena): Don't check arena limit.
12339 (arena_get2): Atomically check arena limit.
12340
fe72eebd
UD
123412011-11-08 Ulrich Drepper <drepper@gmail.com>
12342
5f078c32
UD
12343 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12344 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12345
fe72eebd
UD
12346 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12347 instructions.
12348
ae1bc2fa
AS
123492011-11-07 Andreas Schwab <schwab@redhat.com>
12350
7583a88d
AS
12351 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12352 handler when locking.
12353
ae1bc2fa
AS
12354 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12355 Fix size of allocated buffer.
12356
10fb0bfa
AS
123572011-11-04 Andreas Schwab <schwab@redhat.com>
12358
998832a4
AS
12359 [BZ #10103]
12360 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12361 declarations for long double functions.
12362 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12363
10fb0bfa
AS
12364 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12365
3d7ba52b
AS
123662011-11-03 Andreas Schwab <schwab@redhat.com>
12367
a9ae54a1
AS
12368 * nscd/nscd.c (main): Don't start AVC thread until credentials are
12369 installed.
12370
3d7ba52b
AS
12371 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
12372 is disabled.
12373
bc8db248
ST
123742011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12375
12376 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
12377
45b96dd6
AS
123782011-11-01 Andreas Schwab <schwab@linux-m68k.org>
12379
647776f6
AS
12380 * include/alloca.h (stackinfo_alloca_round): Define.
12381 (extend_alloca): Use it.
12382 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
12383 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
12384 here.
12385
d91a8b93
AS
12386 * scripts/check-local-headers.sh: Ignore libaudit.h.
12387
45b96dd6
AS
12388 * nscd/Makefile (extra-objs): Make recursively expanded.
12389
432d41ce
UD
123902011-11-01 Ulrich Drepper <drepper@gmail.com>
12391
34372fc6
UD
12392 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
12393 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12394
fadb59f8
UD
12395 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
12396 * posix/tst-rfc3484-2.c: Likewise.
12397 * posix/tst-rfc3484-3.c: Likewise.
12398
78239589
UD
12399 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12400 process_vm_writev.
12401 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
12402 process_vm_writev.
12403 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
12404 process_vm_writev from libc using GLIBC_2.15 version.
12405
432d41ce
UD
12406 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
12407
02f9c6cf
PP
124082011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12409
12410 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
12411 stack usage.
12412
3a2c0242
UD
124132011-10-31 Ulrich Drepper <drepper@gmail.com>
12414
f4ec4833
UD
12415 [BZ #13367]
12416 * nss/getent.c (initgroups_keys): Show error message in case no group
12417 names are given.
12418
3a2c0242
UD
12419 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
12420 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
12421 __bump_nl_timestamp.
12422 * nscd/connections (nscd_init): When host database is served open
12423 netlink socket and request notification about configuration changes.
12424 (main_loop_poll): Track netlink file descriptor and bump timestamp
12425 in case data becomes available.
12426 (main_loop_epoll): Likewise.
12427 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
12428 (database_pers_head): Add extra_data fileds.
12429 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
12430 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
12431 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
12432 Adjust caller.
12433 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
12434 in6ai data, call __free_in6ai.
12435 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
12436 Add -DHAVE_NETLINK.
12437 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
12438 interface information. Reuse previous data if netlink timestamp
12439 is not changed.
12440 (__bump_nl_timestamp): New function.
12441 (__free_in6ai): New function.
12442
636064eb
UD
124432011-10-30 Ulrich Drepper <drepper@gmail.com>
12444
12445 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
12446 close_not_cancel_no_status here.
12447 (__check_pf): Reorganize code a bit to not call close twice if OOM.
12448
9beb2334
UD
124492011-10-29 Ulrich Drepper <drepper@gmail.com>
12450
6ef76f3b
UD
12451 [BZ #13276]
12452 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
12453 return value.
12454
0ffc4f3e 12455 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
12456 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
12457 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
12458
cb95113e
UD
124592011-07-03 Andreas Jaeger <aj@suse.de>
12460
12461 [BZ #10709]
12462 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
12463 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
12464 * math/libm-test.inc (sin_test): Add test case.
12465
a1b560ff
UD
124662011-10-29 Ulrich Drepper <drepper@gmail.com>
12467
c9aaface
UD
12468 [BZ #13337]
12469 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
12470 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12471
d272e7f1
UD
12472 * elf/chroot_canon.c (chroot_canon): Cleanups.
12473
1bc33071
UD
12474 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
12475
1760874d
TJ
12476 [BZ #13335]
12477 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
12478 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12479
51d91b18
UD
12480 * string/test-strchr.c: Make usable for strchrnul testing.
12481 * string/test-strchrnul.c: New file.
12482 * string/Makefile (strop-tests): Add strchrnul.
12483
a1b560ff 12484 * po/it.po: Update from translation team.
b611fb81 12485 * po/es.po: Likewise.
a1b560ff 12486
a5b81e1f
UD
124872011-10-28 Ulrich Drepper <drepper@gmail.com>
12488
fd52bc6d
UD
12489 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
12490 the three constants needed as parameters. Drop the others.
12491 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
12492 __m128i_strloadu_tolower.
52e4b9eb
UD
12493 Create and initialize variable zero and use it in all the places
12494 where _mm_setzero_si128 was used.
fd52bc6d 12495
a5b81e1f
UD
12496 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
12497 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
12498 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
12499 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
12500 anymore.
12501 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
12502 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
12503 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
12504 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
12505 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
12506 __mpranred, __mptan.
12507 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
12508 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
12509 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
12510 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
12511 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
12512 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
12513 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
12514 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
12515 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
12516
b4343346
AS
125172011-10-28 Andreas Schwab <schwab@redhat.com>
12518
0c92d8a8
AS
12519 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
12520 redefine if SHARED.
12521 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
12522
b4343346
AS
12523 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
12524 wide char related routines to wcsmbs subdir.
12525
3871f58f
AS
125262011-10-27 Andreas Schwab <schwab@redhat.com>
12527
12528 [BZ #13344]
12529 * misc/sys/cdefs.h (__THROWNL): Define.
12530 * posix/unistd.h: Use __THREADNL instead of __THREAD
12531 for memory synchronization functions.
12532
94d44d9f
RM
125332011-10-26 Roland McGrath <roland@hack.frob.com>
12534
21b64b15 12535 [BZ #13349]
94d44d9f
RM
12536 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
12537 doesn't exist.
12538 * manual/stdio.texi (Obstack Streams): Node removed.
12539
f6ce9294
AS
125402011-10-26 Andreas Schwab <schwab@redhat.com>
12541
80479147
AS
12542 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
12543 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12544 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12545
f6ce9294
AS
12546 * math/math_private.h (math_force_eval): Allow non-addressable
12547 arguments.
12548 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
12549
618280a1
UD
125502011-10-25 Ulrich Drepper <drepper@gmail.com>
12551
e0016b11
UD
12552 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
12553 file is not needed.
12554
12555 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
12556 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12557 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12558 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12559 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12560 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12561 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12562 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
12563 Add AVX variants.
12564 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
12565 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
12566 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
12567 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
12568 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
12569 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
12570 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
12571 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
12572 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
12573 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
12574 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
12575 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
12576 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
12577 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
12578 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
12579 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
12580 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
12581 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
12582 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
12583
12584 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
12585 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
12586
618280a1
UD
12587 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
12588 place. Use VEX encoding when compiling for AVX.
12589
37822576
AS
125902011-10-25 Andreas Schwab <schwab@redhat.com>
12591
1f1e1947
AS
12592 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
12593 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12594
37822576
AS
12595 * string/test-strchr.c (do_test): Don't generate NUL bytes.
12596
31ea014d
UD
125972011-10-25 Ulrich Drepper <drepper@gmail.com>
12598
d7826aa1 12599 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 12600 useless if() expression.
d7826aa1
UD
12601 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12602 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12603 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12604 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12605 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12606 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12607 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12608 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12609 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12610 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12611 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12612 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12613 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12614 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12615 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12616 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12617 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12618 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12619 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12620
31ea014d
UD
12621 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
12622
16437fec
AS
126232011-10-25 Andreas Schwab <schwab@redhat.com>
12624
12625 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
12626 condition.
12627 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12628
31d3cc00
UD
126292011-10-25 Ulrich Drepper <drepper@gmail.com>
12630
12631 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
12632 .text section. Avoid duplicate constants.
12633 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12634 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12635 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12636 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12637 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12638 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12639 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12640 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12641 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12642 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
12643 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12644 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12645 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12646 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12647 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12648 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12649 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12650 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12651 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12652 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12653 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12654 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12655 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12656 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
12657 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
12658 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
12659 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
12660 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
12661 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
12662 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
12663 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
12664 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
12665 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12666 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
12667 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
12668 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
12669 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
12670 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
12671 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
12672 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
12673 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
12674 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
12675 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
12676 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
12677 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
12678
58985aa9
UD
126792011-10-24 Ulrich Drepper <drepper@gmail.com>
12680
202c9deb
UD
12681 * sysdeps/x86_64/dla.h: Move to ...
12682 * sysdeps/x86_64/fpu/dla.h: ...here.
12683 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
12684 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 12685
af968f62
UD
12686 * config.make.in: Add have-mfma4 entry.
12687 * configure.in: Substitute libc_cv_cc_fma4.
12688 * math/Makefile (dbl-only-routines): Add sincostab.
12689 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
12690 Use __sincostab not sincos.
12691 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
12692 name is a macro.
12693 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12694 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12695 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12696 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
12697 using __copysign.
12698 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
12699 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
12700 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
12701 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
12702 and __inv.
12703 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
12704 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
12705 __copysign.
12706 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
12707 define aliases when function name is a macro.
12708 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
12709 sysdeps/ieee754/dbl-64/sincos.tbl.
12710 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
12711 fma4-enabled routines.
12712 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
12713 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
12714 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
12715 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
12716 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
12717 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
12718 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
12719 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
12720 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
12721 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
12722 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
12723 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
12724 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
12725 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
12726 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
12727 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
12728 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
12729 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
12730 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
12731 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
12732 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
12733 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
12734 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
12735 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
12736 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
12737 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
12738 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
12739 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
12740 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
12741 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
12742
58985aa9
UD
12743 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
12744 rename.
12745 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12746 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12747 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12748 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12749 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12750 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12751 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12752 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12753
a201fbcf
AS
127542011-10-24 Andreas Schwab <schwab@redhat.com>
12755
12756 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
12757
fc2ee42a
LD
127582011-10-23 Ulrich Drepper <drepper@gmail.com>
12759
bb3129bd
UD
12760 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
12761
0275fff8
UD
12762 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
12763 prediction.
12764 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
12765
2fa2ae85
UD
12766 * string/strnlen.c: Don't define STRNLEN, reverse logic.
12767 Remove unused variable magic_bits.
12768 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
12769
fc2ee42a
LD
12770 * string/strnlen.c: Define and use STRNLEN macro.
12771 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
12772 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
12773 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
12774 * wcsmbs/wcslen.c: Define and use WCSLEN.
12775 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
12776 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
12777 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
12778 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
12779 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
12780 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
12781 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12782
ce7dd29f
LD
127832011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12784
12785 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12786 strnlen-sse2-no-bsf.
12787 Rename strlen-no-bsf to strlen-sse2-no-bsf.
12788 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
12789 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
12790 Add strnlen support.
12791 (USE_AS_STRNLEN): New macro.
12792 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
12793 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
12794 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
12795 * sysdeps/x86_64/wcslen.S: New file.
12796
979c70a3
MZ
127972011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
12798
12799 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12800 XMM-moves are used for copying on small sizes.
12801
2d09f82f
LD
128022011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12803
12804 * wcsmbs/Makefile (strop-tests): Add wcschr.
12805 * wcsmbs/test-wcschr.c: New file.
12806 * string/test-strchr.c: Update.
12807 Add wcschr support.
12808 (WIDE): New macro.
12809
619fccca
LD
128102011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12811
2d09f82f 12812 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
12813 * wcsmbs/test-wcslen.c: New file.
12814 * string/test-strlen.c: Update.
12815 Add wcslen support.
12816 (WIDE): New macro.
12817
09f699ea
UD
128182011-10-23 Ulrich Drepper <drepper@gmail.com>
12819
12820 * po/it.po: Update from translation team.
12821
95584d3b
LD
128222011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12823
12824 * sysdeps/x86_64/wcscmp.S: Update.
12825 Fix wrong comparison semantics.
12826 wcscmp shall use signed comparison not unsigned.
12827 Don't use substraction to avoid overflow bug.
12828 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12829 * wcsmbc/wcscmp.c: Likewise.
12830 * string/test-strcmp.c: Likewise.
12831 Add new tests to check cases with negative values.
12832
c8b3296b
UD
128332011-10-23 Ulrich Drepper <drepper@gmail.com>
12834
12835 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
12836 * sysdeps/x86_64/dla.h: ...here. New file.
12837 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
12838 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12839 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12840 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12841 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12842 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12843 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12844 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12845 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12846
246ad57a
AS
128472011-10-23 Andreas Schwab <schwab@linux-m68k.org>
12848
12849 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
12850 __ynl_finite aliases.
12851
a1a87169
UD
128522011-10-22 Ulrich Drepper <drepper@gmail.com>
12853
0d355eb7
UD
12854 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12855
a1a87169
UD
12856 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
12857 define DLA_FMA.
12858 [DLA_FMA] (EMULV): Use DLA_FMA.
12859 [DLA_FMA] (MUL12): Use EMULV.
12860 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
12861 that are not needed.
12862 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12863 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12864 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12865 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12866 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12867 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12868 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12869
ee2aafe0
AS
128702011-10-22 Andreas Schwab <schwab@linux-m68k.org>
12871
12872 * math/s_nan.c: Undef __nan.
12873 * math/s_nanf.c: Undef __nanf.
12874 * math/s_nanl.c: Undef __nanl.
12875 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
12876 "math_private.h".
12877
bc62c2fb
UD
128782011-10-22 Ulrich Drepper <drepper@gmail.com>
12879
77425c63
UD
12880 * math/s_catan.c: Add branch predictions.
12881 * math/s_catanf.c: Likewise.
12882 * math/s_catanh.c: Likewise.
12883 * math/s_catanhf.c: Likewise.
12884 * math/s_catanhl.c: Likewise.
12885 * math/s_catanl.c: Likewise.
12886 * math/s_cexp.c: Likewise.
12887 * math/s_cexpf.c: Likewise.
12888 * math/s_cexpl.c: Likewise.
12889 * math/s_clog.c: Likewise.
12890 * math/s_clog10.c: Likewise.
12891 * math/s_clog10f.c: Likewise.
12892 * math/s_clog10l.c: Likewise.
12893 * math/s_clogf.c: Likewise.
12894 * math/s_clogl.c: Likewise.
12895 * math/s_csqrt.c: Likewise.
12896 * math/s_csqrtf.c: Likewise.
12897 * math/s_csqrtl.c: Likewise.
12898 * math/s_ctanf.c: Likewise.
12899 * math/s_ctanh.c: Likewise.
12900 * math/s_ctanhf.c: Likewise.
12901 * math/s_ctanhl.c: Likewise.
12902 * math/s_ctanl.c: Likewise.
12903
bc62c2fb
UD
12904 * math/math_private.h: Define __nan, __nanf, __nanl.
12905 * math/s_cacosh.c: Include <math_private.h>.
12906 * math/s_cacoshl.c: Likewise.
12907 * math/s_casinh.c: Likewise.
12908 * math/s_casinhf.c: Likewise.
12909 * math/s_casinhl.c: Likewise.
12910 * math/s_ccos.c: Rely entire on ccosh.
12911 * math/s_ccosf.c: Rely entire on ccoshf.
12912 * math/s_ccosl.c: Rely entirely on ccoshl.
12913 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
12914 Remove tests for FE_INVALID.
12915 * math/s_ccoshf.c: Likewise.
12916 * math/s_ccoshl.c: Likewise.
12917 * math/s_csin.c: Likewise.
12918 * math/s_csinf.c: Likewise.
12919 * math/s_csinh.c Likewise.
12920 * math/s_csinhf.c: Likewise.
12921 * math/s_csinhl.c: Likewise.
12922 * math/s_csinl.c: Likewise.
12923 * math/s_ctan.c: Likewise.
12924 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
12925 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
12926 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
12927
8ec250a4
UD
129282011-10-21 Ulrich Drepper <drepper@gmail.com>
12929
c196fed8
UD
12930 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
12931 compilation problems.
12932
8ec250a4
UD
12933 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
12934 __builtin_expect.
12935
8d4f46c6
UD
129362011-10-20 Ulrich Drepper <drepper@gmail.com>
12937
ed72b654
UD
12938 * sysdeps/i386/configure.in: Test for -mfma4 option.
12939 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
12940 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
12941 COMMON_CPUID_INDEX_80000001.
12942 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
12943 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
12944 use it if FMA3 is not supported.
12945 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12946
8d4f46c6
UD
12947 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
12948 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12949
d45c60c2
AS
129502011-10-20 Andreas Schwab <schwab@redhat.com>
12951
12952 [BZ #12892]
12953 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
12954 it would create a cycle with a link time dependency.
12955
d9a4d2ab
UD
129562011-10-19 Ulrich Drepper <drepper@gmail.com>
12957
855d1560
UD
12958 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
12959 instruction.
12960 * string/Makefile (strop-tests): Add rawmemchr.
12961 * string/test-rawmemchr.c: New file.
12962
d9a4d2ab
UD
12963 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
12964 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
12965 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
12966 when compiling str{,n}casecmp and when AVX is available. Hook up
12967 new optimized code in initializers.
12968
8f3b1ffe
AS
129692011-10-19 Andreas Schwab <schwab@redhat.com>
12970
12971 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
12972 __feraiseexcept instead of feraiseexcept.
12973
d38f1dba
UD
129742011-10-18 Ulrich Drepper <drepper@gmail.com>
12975
d9a8d0ab
UD
12976 * math/math_private.h: Define defaults for libc_fetestexcept and
12977 libc_feupdateenv.
12978 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
12979 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12980 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12981 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12982 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12983 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12984 libc_fetestexcept and libc_feupdateenv.
12985
4855e3dd
UD
12986 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
12987 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
12988 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
12989 * sysdeps/x86_64/fpu/math_private.h: Define special version of
12990 libc_feholdexcept_setround.
12991
581d30e3
UD
12992 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
12993 Add s_nearbyint-c and s_nearbyintf-c.
12994 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
12995 nearbyintf inlines.
12996 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
12997 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
12998 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
12999 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
13000
d38f1dba
UD
13001 * math/math_private.h: Define defaults for libc_fegetround,
13002 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
13003 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
13004 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
13005 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
13006 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
13007 standard functions.
13008 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13009 Remove comments and hacks for old compiler versions.
13010 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13011 libc_fegetround, libc_fesetround, libc_feholdexcept, and
13012 libc_feholdexceptl.
13013
caa6c9d8
AS
130142011-10-18 Andreas Schwab <schwab@redhat.com>
13015
13016 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
13017 (__feraiseexcept_renamed): Add __NTH.
13018 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
13019 namespace violations.
13020
97c066e6
UD
130212011-10-17 Ulrich Drepper <drepper@gmail.com>
13022
99ce7b04
UD
13023 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
13024
1004d182
UD
13025 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
13026
228a984d
UD
13027 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
13028 recently added interfaces.
13029 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
13030
c8553a6a
UD
13031 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
13032 about macro parameter expansion.
13033
ed22dcf6
UD
13034 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
13035 __NO_MATH_INLINES is defined. Cleanups.
13036
13037 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
13038 and __floorf is target has SSE4.1.
13039 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
13040 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
13041 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
13042 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
13043
b171c137
UD
13044 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
13045 name.
13046 (floorf): Likewise.
13047
97c066e6
UD
13048 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
13049
629f62ef
AS
130502011-10-17 Andreas Schwab <schwab@redhat.com>
13051
49a43d80
AS
13052 * misc/sys/cdefs.h: Fix last change.
13053
629f62ef
AS
13054 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
13055 database lookup.
13056
e453f6cd
UD
130572011-10-16 Ulrich Drepper <drepper@gmail.com>
13058
aa78043a
UD
13059 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
13060
ad0f5cad
UD
13061 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
13062 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13063 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13064 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13065 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13066 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13067 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13068 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13069 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13070 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
13071 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
13072 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
13073 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
13074 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
13075 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
13076 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
13077 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
13078 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
13079 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
13080 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
13081 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
13082 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
13083
13084 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
13085 ceil, ceilf, floor, floorf.
13086
13087 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
13088 Perform IRELATIVE relocations last.
13089
e453f6cd
UD
13090 * elf/do-rel.h: Add another parameter nrelative, replacing the
13091 local variable with the same name. Change name of the function
13092 to end in Rel or Rela (uppercase).
13093 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
13094 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
13095 elf_dynamic_do_##reloc function.
13096
fd5bdc09
UD
130972011-10-15 Ulrich Drepper <drepper@gmail.com>
13098
79b195b5
UD
13099 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
13100 is sufficient, at least on modern CPUs.
13101
d4a28569
UD
13102 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
13103
b61099b5
UD
13104 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
13105 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
13106
bcf01e6d
UD
13107 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
13108 __expl_finite.
13109 * math/bits/math-finite.h: Add entries for exp.
13110 * math/e_expl.c: Add __*_finite alias.
13111 * sysdeps/i386/fpu/e_exp.S: Likewise.
13112 * sysdeps/i386/fpu/e_expf.S: Likewise.
13113 * sysdeps/i386/fpu/e_expl.c: Likewise.
13114 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13115 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13116 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13117 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13118 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
13119 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13120 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13121
ba1a0d59
UD
13122 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
13123 is sufficient, at least on modern CPUs.
13124
fd5bdc09
UD
13125 * ctype/ctype-info.c (__ctype_init): Define.
13126 * include/ctype.h (__ctype_init): Declare.
13127 (__ctype_b_loc): The variable is always initialized.
13128 (__ctype_toupper_loc): Likewise.
13129 (__ctype_tolower_loc): Likewise.
13130 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
13131 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
13132
7872cfb0
AS
131332011-10-15 Andreas Schwab <schwab@linux-m68k.org>
13134
b468825a
AS
13135 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
13136
7872cfb0
AS
13137 * configure.in: Also look in $cxxmachine/include for C++ system
13138 headers.
13139
be13f7bf
LD
131402011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13141
13142 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
13143 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
13144 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
13145 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
13146 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
13147 (USE_AS_WMEMCMP): New macro.
13148 Fixing indents.
13149 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
13150 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
13151 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
13152 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
13153 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13154 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
13155 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
13156 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
13157 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
13158 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
13159 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
13160 (USE_AS_WMEMCMP): New macro.
13161 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
13162 * sysdeps/string/test-memcmp.c: Update.
13163 Fix simple_wmemcmp.
13164 Add new tests.
13165 * wcsmbs/wmemcmp.c: Update.
13166 (WMEMCMP): New macro.
13167 Fix overflow bug.
13168
556a2007
AJ
131692011-10-12 Andreas Jaeger <aj@suse.de>
13170
13171 [BZ #13268]
13172 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
13173
538faaa7
UD
131742011-10-15 Ulrich Drepper <drepper@gmail.com>
13175
ab6737ff
UD
13176 * libio/iofwide.c (do_length): Avoid warning.
13177
538faaa7
UD
13178 * ctype/ctype.h (__isctype_f): Add missing __THROW.
13179
396a21b1
UD
131802011-10-14 Ulrich Drepper <drepper@gmail.com>
13181
cdf2901f
UD
13182 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
13183
38ad40ce
UD
13184 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
13185 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
13186 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
13187 * sysdeps/i386/i686/fpu/e_log.S: New file.
13188 * sysdeps/i386/i686/fpu/e_logf.S: New file.
13189 * sysdeps/i386/i686/fpu/e_logl.S: New file.
13190
396a21b1
UD
13191 * ctype/ctype.h: Add support for inlined isXXX functions when
13192 compiling C++ code.
13193
6b1f68c9
AS
131942011-10-14 Andreas Schwab <schwab@redhat.com>
13195
349290c0
AS
13196 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13197
6b1f68c9
AS
13198 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
13199
f2282d42
RM
132002011-10-13 Roland McGrath <roland@hack.frob.com>
13201
13202 [BZ #13291]
13203 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
13204
5298ffa8
AS
132052011-10-13 Andreas Schwab <schwab@redhat.com>
13206
714fad23
AS
13207 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
13208 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
13209 feraiseexcept.
13210
81dcc7fb
AS
13211 * sysdeps/x86_64/memrchr.S: Check for zero size.
13212
5298ffa8
AS
13213 * string/stratcliff.c: Add memrchr tests.
13214
951fbcec
LD
132152011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13216
13217 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13218 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
13219 rawmemchr-sse2 rawmemchr-sse2-bsf.
13220 * sysdeps/i386/i686/multiarch/memchr.S: New file.
13221 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
13222 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
13223 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
13224 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
13225 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
13226 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
13227 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
13228 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
13229 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
13230 * string/memrchr.c (MEMRCHR): New macro.
13231
0ac5ae23
UD
132322011-10-12 Ulrich Drepper <drepper@gmail.com>
13233
13234 Add integration with gcc's -ffinite-math-only and optimize wrapper
13235 functions in libm.
13236 * Versions.def: Define GLIBC_2.15 version for libm.
13237 * math/Makefile (headers): Add bits/math-finite.h.
13238 * math/bits/math-finite.h: New file.
13239 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
13240 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
13241 * math/e_acoshl.c: Add __*_finite alias.
13242 * math/e_acosl.c: Likewise.
13243 * math/e_asinl.c: Likewise.
13244 * math/e_atan2l.c: Likewise.
13245 * math/e_atanhl.c: Likewise.
13246 * math/e_coshl.c: Likewise.
13247 * math/e_exp10.c: Likewise.
13248 * math/e_exp10f.c: Likewise.
13249 * math/e_exp10l.c: Likewise.
13250 * math/e_exp2l.c: Likewise.
13251 * math/e_fmodl.c: Likewise.
13252 * math/e_gammal_r.c: Likewise.
13253 * math/e_hypotl.c: Likewise.
13254 * math/e_j0l.c: Likewise.
13255 * math/e_j1l.c: Likewise.
13256 * math/e_jnl.c: Likewise.
13257 * math/e_lgammal_r.c: Likewise.
13258 * math/e_log10l.c: Likewise.
13259 * math/e_log2l.c: Likewise.
13260 * math/e_logl.c: Likewise.
13261 * math/e_powl.c: Likewise.
13262 * math/e_sinhl.c: Likewise.
13263 * math/e_sqrtl.c: Likewise.
13264 * math/e_scalb.c: Completely rewritten and optimized.
13265 * math/e_scalbf.c: Likewise.
13266 * math/e_scalbl.c: Likewise.
13267 * math/w_acos.c: Likewise.
13268 * math/w_acosf.c: Likewise.
13269 * math/w_acosl.c: Likewise.
13270 * math/w_acosh.c: Likewise.
13271 * math/w_acoshf.c: Likewise.
13272 * math/w_acoshl.c: Likewise.
13273 * math/w_asin.c: Likewise.
13274 * math/w_asinf.c: Likewise.
13275 * math/w_asinl.c: Likewise.
13276 * math/w_atan2.c: Likewise.
13277 * math/w_atan2f.c: Likewise.
13278 * math/w_atan2l.c: Likewise.
13279 * math/w_atanh.c: Likewise.
13280 * math/w_atanhf.c: Likewise.
13281 * math/w_atanhl.c: Likewise.
13282 * math/w_exp10.c: Likewise.
13283 * math/w_exp10f.c: Likewise.
13284 * math/w_exp10l.c: Likewise.
13285 * math/w_fmod.c: Likewise.
13286 * math/w_fmodf.c: Likewise.
13287 * math/w_fmodl.c: Likewise.
13288 * math/w_j0.c: Likewise.
13289 * math/w_j0f.c: Likewise.
13290 * math/w_j0l.c: Likewise.
13291 * math/w_j1.c: Likewise.
13292 * math/w_j1f.c: Likewise.
13293 * math/w_j1l.c: Likewise.
13294 * math/w_jn.c: Likewise.
13295 * math/w_jnf.c: Likewise.
13296 * math/w_log.c: Likewise.
13297 * math/w_logf.c: Likewise.
13298 * math/w_logl.c: Likewise.
13299 * math/w_log10.c: Likewise.
13300 * math/w_log10f.c: Likewise.
13301 * math/w_log10l.c: Likewise.
13302 * math/w_log2.c: Likewise.
13303 * math/w_log2f.c: Likewise.
13304 * math/w_log2l.c: Likewise.
13305 * math/w_pow.c: Likewise.
13306 * math/w_powf.c: Likewise.
13307 * math/w_powl.c: Likewise.
13308 * math/w_remainder.c: Likewise.
13309 * math/w_remainderf.c: Likewise.
13310 * math/w_remainderl.c: Likewise.
13311 * math/w_scalb.c: Likewise.
13312 * math/w_scalbf.c: Likewise.
13313 * math/w_scalbl.c: Likewise.
13314 * math/w_sqrt.c: Likewise.
13315 * math/w_sqrtf.c: Likewise.
13316 * math/w_sqrtl.c: Likewise.
13317 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13318 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
13319 used.
13320 * math/math_private.h: Declare __kernel_standard_f.
13321 * math/w_cosh.c: Remove cruft and optimize a bit.
13322 * math/w_coshf.c: Likewise.
13323 * math/w_coshl.c: Likewise.
13324 * math/w_exp2.c: Likewise.
13325 * math/w_exp2f.c: Likewise.
13326 * math/w_exp2l.c: Likewise.
13327 * math/w_hypot.c: Likewise.
13328 * math/w_hypotf.c: Likewise.
13329 * math/w_hypotl.c: Likewise.
13330 * math/w_lgamma.c: Likewise.
13331 * math/w_lgamma_r.c: Likewise.
13332 * math/w_lgammaf.c: Likewise.
13333 * math/w_lgammaf_r.c: Likewise.
13334 * math/w_lgammal.c: Likewise.
13335 * math/w_lgammal_r.c: Likewise.
13336 * math/w_sinh.c: Likewise.
13337 * math/w_sinhf.c: Likewise.
13338 * math/w_sinhl.c: Likewise.
13339 * math/w_tgamma.c: Likewise.
13340 * math/w_tgammaf.c: Likewise.
13341 * math/w_tgammal.c: Likewise.
13342 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13343 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13344 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13345 Minor optimizations. Pretty printing. Remove cruft.
13346 * sysdeps/i386/fpu/e_acosf.S: Likewise.
13347 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13348 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13349 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13350 * sysdeps/i386/fpu/e_acosl.c: Likewise.
13351 * sysdeps/i386/fpu/e_asin.S: Likewise.
13352 * sysdeps/i386/fpu/e_asinf.S: Likewise.
13353 * sysdeps/i386/fpu/e_atan2.S: Likewise.
13354 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13355 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13356 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13357 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13358 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13359 * sysdeps/i386/fpu/e_exp10.S: Likewise.
13360 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13361 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13362 * sysdeps/i386/fpu/e_exp2.S: Likewise.
13363 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13364 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13365 * sysdeps/i386/fpu/e_fmod.S: Likewise.
13366 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13367 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13368 * sysdeps/i386/fpu/e_hypot.S: Likewise.
13369 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
13370 * sysdeps/i386/fpu/e_log.S: Likewise.
13371 * sysdeps/i386/fpu/e_log10.S: Likewise.
13372 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13373 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13374 * sysdeps/i386/fpu/e_log2.S: Likewise.
13375 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13376 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13377 * sysdeps/i386/fpu/e_logf.S: Likewise.
13378 * sysdeps/i386/fpu/e_logl.S: Likewise.
13379 * sysdeps/i386/fpu/e_pow.S: Likewise.
13380 * sysdeps/i386/fpu/e_powf.S: Likewise.
13381 * sysdeps/i386/fpu/e_powl.S: Likewise.
13382 * sysdeps/i386/fpu/e_remainder.S: Likewise.
13383 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
13384 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
13385 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13386 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13387 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13388 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
13389 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
13390 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
13391 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13392 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13393 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13394 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13395 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13396 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13397 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13398 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13399 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13400 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13401 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13402 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13403 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13404 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13405 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13406 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13407 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13408 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13409 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13410 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13411 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13412 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13413 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13414 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13415 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13416 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13417 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13418 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13419 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13420 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13421 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13422 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13423 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13424 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13425 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13426 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13427 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13428 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13429 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13430 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13431 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13432 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13433 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13434 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13435 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13436 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13437 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13438 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13439 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13440 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13441 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13442 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13443 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13444 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13445 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13446 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13447 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13448 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13449 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13450 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13451 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13452 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13453 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13454 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13455 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13456 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13457 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13458 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13459 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13460 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13461 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13462 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13463 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13464 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13465 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13466 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13467 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13468 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13469 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13470 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13471 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13472 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13473 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13474 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13475 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13476 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13477 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13478 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13479 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13480 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13481 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13482 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13483 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13484 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13485 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13486 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13487 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13488 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13489 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13490 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13491 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
13492 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
13493 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
13494 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
13495 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13496 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13497 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13498 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13499 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
13500 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13501 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
13502 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
13503 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
13504 (__isnanf): Likewise.
13505 (__isinf_ns): Likewise.
13506 (__isinf_nsf): Likewise.
13507 (__finite): Likewise.
13508 (__finitef): Likewise.
13509 (__ieee754_sqrt): Define as macro.
13510 (__ieee754_sqrtf): Define as macro.
13511 (__ieee754_sqrtl): Define as macro.
13512 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
13513 inlined copy.
13514 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
13515 __FINITE_MATH_ONLY__ consistent.
13516 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
13517
12cc2fcd
AS
135182011-10-10 Andreas Schwab <schwab@linux-m68k.org>
13519
a843a204
AS
13520 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
13521 of rawmemchr.
13522
12cc2fcd
AS
13523 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
13524
c853acd5
UD
135252011-10-09 Ulrich Drepper <drepper@gmail.com>
13526
13527 * po/ja.po: Update from translation team.
13528
c658d255
RM
135292011-10-08 Roland McGrath <roland@hack.frob.com>
13530
110946e4
RM
13531 * locale/programs/locarchive.c (prepare_address_space): New function.
13532 (create_archive, enlarge_archive, open_archive): Use it.
13533
50604220
RM
13534 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
13535 inside [SHARED], where it is used.
13536
c658d255
RM
13537 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
13538
13539 * nss/getent.c (netgroup_keys): Remove unused variable.
13540 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13541
6a621eb7
UD
135422011-10-08 Ulrich Drepper <drepper@gmail.com>
13543
7edb55ce
UD
13544 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
13545 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
13546 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
13547 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
13548 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
13549 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
13550 * math/Makefile (libm-calls): Add s_isinf_ns.
13551 * math/divtc3.c: Use __isinf_nsl instead of isinf.
13552 * math/multc3.c: Likewise.
13553 * math/s_casin.c: Likewise.
13554 * math/s_casinf.c: Likewise.
13555 * math/s_casinl.c: Likewise.
13556 * math/s_ccos.c: Likewise.
13557 * math/s_ccosf.c: Likewise.
13558 * math/s_ccosl.c: Likewise.
13559 * math/s_ctan.c: Likewise.
13560 * math/s_ctanf.c: Likewise.
13561 * math/s_ctanh.c: Likewise.
13562 * math/s_ctanhf.c: Likewise.
13563 * math/s_ctanhl.c: Likewise.
13564 * math/s_ctanl.c: Likewise.
13565 * math/w_fmod.c: Likewise.
13566 * math/w_fmodf.c: Likewise.
13567 * math/w_fmodl.c: Likewise.
13568 * math/w_remainder.c: Likewise.
13569 * math/w_remainderf.c: Likewise.
13570 * math/w_remainderl.c: Likewise.
13571 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
13572 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
13573 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
13574 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
13575 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
13576 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
13577 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
13578 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
13579
187da0ae
UD
13580 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
13581 of the number.
13582 * stdio-common/printf_fphex.c: Likewise.
13583 * stdio-common/printf_size.c: Likewise.
13584
9277c064
UD
13585 * math/e_exp10.c: Include math_private.h using <...> not "...".
13586 * math/e_exp10f.c: Likewise.
13587 * math/e_exp10l.c: Likewise.
13588 * math/e_exp2l.c: Likewise.
13589 * math/e_j0l.c: Likewise.
13590 * math/e_j1l.c: Likewise.
13591 * math/e_jnl.c: Likewise.
13592 * math/e_lgammal_r.c: Likewise.
13593 * math/e_rem_pio2l.c: Likewise.
13594 * math/e_scalb.c: Likewise.
13595 * math/e_scalbf.c: Likewise.
13596 * math/e_scalbl.c: Likewise.
13597 * math/k_cosl.c: Likewise.
13598 * math/k_sinl.c: Likewise.
13599 * math/k_tanl.c: Likewise.
13600 * math/s_cacoshf.c: Likewise.
13601 * math/s_catan.c: Likewise.
13602 * math/s_catanf.c: Likewise.
13603 * math/s_catanh.c: Likewise.
13604 * math/s_catanhf.c: Likewise.
13605 * math/s_catanhl.c: Likewise.
13606 * math/s_catanl.c: Likewise.
13607 * math/s_ccosh.c: Likewise.
13608 * math/s_ccoshf.c: Likewise.
13609 * math/s_ccoshl.c: Likewise.
13610 * math/s_cexp.c: Likewise.
13611 * math/s_cexpf.c: Likewise.
13612 * math/s_cexpl.c: Likewise.
13613 * math/s_clog.c: Likewise.
13614 * math/s_clog10.c: Likewise.
13615 * math/s_clog10f.c: Likewise.
13616 * math/s_clog10l.c: Likewise.
13617 * math/s_clogf.c: Likewise.
13618 * math/s_clogl.c: Likewise.
13619 * math/s_csin.c: Likewise.
13620 * math/s_csinf.c: Likewise.
13621 * math/s_csinh.c: Likewise.
13622 * math/s_csinhf.c: Likewise.
13623 * math/s_csinhl.c: Likewise.
13624 * math/s_csinl.c: Likewise.
13625 * math/s_csqrt.c: Likewise.
13626 * math/s_csqrtf.c: Likewise.
13627 * math/s_csqrtl.c: Likewise.
13628 * math/s_ctan.c: Likewise.
13629 * math/s_ctanf.c: Likewise.
13630 * math/s_ctanh.c: Likewise.
13631 * math/s_ctanhf.c: Likewise.
13632 * math/s_ctanhl.c: Likewise.
13633 * math/s_ctanl.c: Likewise.
13634 * math/s_ldexp.c: Likewise.
13635 * math/s_ldexpf.c: Likewise.
13636 * math/s_ldexpl.c: Likewise.
13637 * math/s_significand.c: Likewise.
13638 * math/s_significandf.c: Likewise.
13639 * math/s_significandl.c: Likewise.
13640 * math/w_acos.c: Likewise.
13641 * math/w_acosf.c: Likewise.
13642 * math/w_acosh.c: Likewise.
13643 * math/w_acoshf.c: Likewise.
13644 * math/w_acoshl.c: Likewise.
13645 * math/w_acosl.c: Likewise.
13646 * math/w_asin.c: Likewise.
13647 * math/w_asinf.c: Likewise.
13648 * math/w_asinl.c: Likewise.
13649 * math/w_atan2.c: Likewise.
13650 * math/w_atan2f.c: Likewise.
13651 * math/w_atan2l.c: Likewise.
13652 * math/w_atanh.c: Likewise.
13653 * math/w_atanhf.c: Likewise.
13654 * math/w_atanhl.c: Likewise.
13655 * math/w_cosh.c: Likewise.
13656 * math/w_coshf.c: Likewise.
13657 * math/w_coshl.c: Likewise.
13658 * math/w_dremf.c: Likewise.
13659 * math/w_exp10.c: Likewise.
13660 * math/w_exp10f.c: Likewise.
13661 * math/w_exp10l.c: Likewise.
13662 * math/w_exp2.c: Likewise.
13663 * math/w_exp2f.c: Likewise.
13664 * math/w_fmod.c: Likewise.
13665 * math/w_fmodf.c: Likewise.
13666 * math/w_fmodl.c: Likewise.
13667 * math/w_hypot.c: Likewise.
13668 * math/w_hypotf.c: Likewise.
13669 * math/w_hypotl.c: Likewise.
13670 * math/w_j0.c: Likewise.
13671 * math/w_j0f.c: Likewise.
13672 * math/w_j0l.c: Likewise.
13673 * math/w_j1.c: Likewise.
13674 * math/w_j1f.c: Likewise.
13675 * math/w_j1l.c: Likewise.
13676 * math/w_jn.c: Likewise.
13677 * math/w_jnf.c: Likewise.
13678 * math/w_jnl.c: Likewise.
13679 * math/w_lgamma.c: Likewise.
13680 * math/w_lgamma_r.c: Likewise.
13681 * math/w_lgammaf.c: Likewise.
13682 * math/w_lgammaf_r.c: Likewise.
13683 * math/w_lgammal.c: Likewise.
13684 * math/w_lgammal_r.c: Likewise.
13685 * math/w_log.c: Likewise.
13686 * math/w_log10.c: Likewise.
13687 * math/w_log10f.c: Likewise.
13688 * math/w_log10l.c: Likewise.
13689 * math/w_log2.c: Likewise.
13690 * math/w_log2f.c: Likewise.
13691 * math/w_log2l.c: Likewise.
13692 * math/w_logf.c: Likewise.
13693 * math/w_logl.c: Likewise.
13694 * math/w_pow.c: Likewise.
13695 * math/w_powf.c: Likewise.
13696 * math/w_powl.c: Likewise.
13697 * math/w_remainder.c: Likewise.
13698 * math/w_remainderf.c: Likewise.
13699 * math/w_remainderl.c: Likewise.
13700 * math/w_scalb.c: Likewise.
13701 * math/w_scalbf.c: Likewise.
13702 * math/w_scalbl.c: Likewise.
13703 * math/w_sinh.c: Likewise.
13704 * math/w_sinhf.c: Likewise.
13705 * math/w_sinhl.c: Likewise.
13706 * math/w_sqrt.c: Likewise.
13707 * math/w_sqrtf.c: Likewise.
13708 * math/w_sqrtl.c: Likewise.
13709 * math/w_tgamma.c: Likewise.
13710 * math/w_tgammaf.c: Likewise.
13711 * math/w_tgammal.c: Likewise.
13712
6a621eb7
UD
13713 * po/ja.po: Update from translation team.
13714
bf582445
AJ
137152011-09-29 Andreas Jaeger <aj@suse.de>
13716
f9efbf3a
AJ
13717 [BZ #13179]
13718 * sunrpc/netname.c (netname2host): Fix logic.
13719
bf582445
AJ
13720 [BZ #6779]
13721 [BZ #6783]
13722 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
13723 correctly.
13724 * math/w_remainder.c (__remainder): Likewise.
13725 * math/w_remainderf.c (__remainderf): Likewise.
13726 * math/libm-test.inc (remainder_test): Add test cases.
13727
48693bea
AK
137282011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13729
13730 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
13731 sdiv_qrnnd.
13732
42622229
LD
137332011-10-07 Ulrich Drepper <drepper@gmail.com>
13734
13735 * string/test-memcmp.c: Avoid unncessary #defines.
13736 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13737
093ecf92
LD
137382011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13739
13740 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
13741 Use new sse2 version for core i3 - i7 as it's faster
13742 than sse42 version.
13743 (bit_Prefer_PMINUB_for_stringop): New.
13744 * sysdeps/x86_64/rawmemchr.S: Update.
13745 Replace with faster SSE2 version.
13746 * sysdeps/x86_64/memrchr.S: New file.
13747 * sysdeps/x86_64/memchr.S: Update.
13748 Replace with faster SSE2 version.
13749
fde56e5c
MP
137502011-09-12 Marek Polacek <mpolacek@redhat.com>
13751
13752 * elf/dl-load.c (lose): Add cast to avoid warning.
13753
21fd49a9
UD
137542011-10-07 Ulrich Drepper <drepper@gmail.com>
13755
5a06e643
UD
13756 * po/ca.po: Update from translation team.
13757
684ae515
UD
13758 * inet/getnetgrent_r.c: Hook up nscd.
13759 * nscd/Makefile (routines): Add nscd_netgroup.
13760 (nscd-modules): Add netgroupcache.
13761 (CFLAGS-netgroupcache.c): Define.
13762 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
13763 (cache_search): Add const to second parameter.
13764 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
13765 INNETGR.
13766 (dbs): Add netgrdb entry.
13767 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
13768 (verify_persistent_db): Handle netgrdb.
13769 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
13770 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
13771 GETFDNETGR.
13772 (netgroup_response_header): Define.
13773 (innetgroup_response_header): Define.
13774 (datahead): Add netgroup_response_header and innetgroup_response_header
13775 elements.
13776 * nscd/nscd.conf: Add entries for netgroup cache.
13777 * nscd/nscd.h (dbtype): Add netgrdb.
13778 (_PATH_NSCD_NETGROUP_DB): Define.
13779 (netgroup_iov_disabled): Declare.
13780 (xmalloc, xcalloc, xrealloc): Move declarations here.
13781 (cache_search): Adjust prototype.
13782 Add netgroup-related prototypes.
13783 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
13784 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
13785 (__nscd_innetgr): Declare.
13786 * nscd/selinux.c (perms): Use access_vector_t as element type and
13787 add netgroup-related initializers.
13788 * nscd/netgroupcache.c: New file.
13789 * nscd/nscd_netgroup.c: New file.
13790 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
13791 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
13792 For four parameters use innetgr.
13793 * nss/nss_files/files-init.c: Add definition and callback for netgr.
13794 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
13795 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
13796 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
13797
21fd49a9
UD
13798 * nscd/connections.c (register_traced_file): Don't register file
13799 for disabled databases.
13800
054c0457
UD
138012011-10-06 Ulrich Drepper <drepper@gmail.com>
13802
32b63198
UD
13803 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
13804
054c0457
UD
13805 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
13806 from tree and freeing node.
13807
64031225
JO
138082011-09-25 Jiri Olsa <jolsa@redhat.com>
13809
13810 * nss/nsswitch.c (__nss_database_lookup): Handle
13811 nss_parse_service_list out of memory case.
13812
0490345c
JO
138132011-09-15 Jiri Olsa <jolsa@redhat.com>
13814
13815 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
13816 out of memory case.
13817
3a62d00d
AS
138182011-10-04 Andreas Schwab <schwab@redhat.com>
13819
13820 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
13821 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
13822 pass it down.
13823 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
13824 elf_machine_rela, elf_machine_lazy_rel.
13825 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
13826 (ELF_DYNAMIC_DO_REL): Likewise.
13827 (ELF_DYNAMIC_DO_RELA): Likewise.
13828 (ELF_DYNAMIC_RELOCATE): Likewise.
13829 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
13830 to ELF_DYNAMIC_DO_REL.
13831 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
13832 (dl_main): In trace mode always set __RTLD_NOIFUNC.
13833 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
13834 elf_machine_rela.
13835 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
13836 skip_ifunc, don't call ifunc function if non-zero.
13837 (elf_machine_rela): Likewise.
13838 (elf_machine_lazy_rel): Likewise.
13839 (elf_machine_lazy_rela): Likewise.
13840 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13841 (elf_machine_lazy_rel): Likewise.
13842 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13843 Likewise.
13844 (elf_machine_lazy_rel): Likewise.
13845 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13846 Likewise.
13847 (elf_machine_lazy_rel): Likewise.
13848 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
13849 (elf_machine_lazy_rel): Likewise.
13850 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
13851 (elf_machine_lazy_rel): Likewise.
13852 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13853 (elf_machine_lazy_rel): Likewise.
13854 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
13855 (elf_machine_lazy_rel): Likewise.
13856 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
13857 (elf_machine_lazy_rel): Likewise.
13858 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13859 (elf_machine_lazy_rel): Likewise.
13860
68577918
UD
138612011-09-28 Ulrich Drepper <drepper@gmail.com>
13862
13863 * nss/nss_files/files-init.c (_nss_files_init): Use static
13864 initialization for all the *_traced_file variables.
13865
68822d74
AS
138662011-09-28 Andreas Schwab <schwab@redhat.com>
13867
13868 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13869
2056100b
RM
138702011-09-27 Roland McGrath <roland@hack.frob.com>
13871
13872 [BZ #13226]
13873 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
13874
32c76b63
AS
138752011-09-27 Andreas Schwab <schwab@redhat.com>
13876
13877 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13878 Reread the line before reparsing it.
13879
bf972c9d
AS
138802011-09-26 Andreas Schwab <schwab@redhat.com>
13881
13882 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
13883
e057a1b5
JM
138842011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
13885 Maxim Kuvyrkov <maxim@codesourcery.com>
13886 Joseph Myers <joseph@codesourcery.com>
13887
13888 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
13889 if needed for __stack_chk_guard.
13890
bc7e1c36
RM
138912011-09-19 Roland McGrath <roland@hack.frob.com>
13892
ecb1482f
RM
13893 * sysdeps/posix/spawni.c (script_execute): Always define it.
13894 It will be optimized away if unused.
13895 (maybe_script_execute): New function.
13896 (__spawni): Call it.
13897
bc7e1c36
RM
13898 * Makerules: Don't include tls.make.
13899 (config-tls): Always set to thread.
13900 * tls.make.c: File removed.
13901
1c3b002b
MF
139022011-09-19 Mike Frysinger <vapier@gentoo.org>
13903
13904 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
13905 * config.make.in (CPPFLAGS-config): New substituted variable.
13906
2840865d
UD
139072011-09-15 Ulrich Drepper <drepper@gmail.com>
13908
88738eb6
UD
13909 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
13910
cbf645a6 13911 [BZ #13192]
2840865d
UD
13912 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
13913 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
13914
b402e91a
RM
139152011-09-15 Roland McGrath <roland@hack.frob.com>
13916
13917 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
13918 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
13919 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13920 (CALL_FAIL): Likewise.
13921 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
13922 (CALL_FAIL): Macro removed.
13923 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
13924
4c1a1f71
UD
139252011-09-15 Ulrich Drepper <drepper@gmail.com>
13926
13927 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
13928 for __FINITE_MATH_ONLY__ == 1.
13929
edc121be
AS
139302011-09-15 Andreas Schwab <schwab@redhat.com>
13931
13932 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
13933 __ieee754_sqrt instead of sqrt.
13934 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
13935 __ieee754_sqrtf instead of sqrtf.
13936 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
13937 __floorf instead of floorf.
13938 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
13939 __floorf, __truncf instead of floorf, truncf.
13940
cd205654
UD
139412011-09-14 Ulrich Drepper <drepper@gmail.com>
13942
ee4d0315
UD
13943 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
13944
cd205654
UD
13945 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
13946 __extern_always_inline.
13947 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
13948 32-bit.
13949
48b67d71
AS
139502011-09-14 Andreas Schwab <schwab@redhat.com>
13951
13952 * elf/rtld.c (dl_main): Also relocate in dependency order when
13953 doing symbol dependency testing.
13954
1ae12c75
AS
139552011-09-13 Andreas Schwab <schwab@linux-m68k.org>
13956
13957 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13958 Always define `refsym'.
13959
995a80df
AS
139602011-09-13 Andreas Schwab <schwab@redhat.com>
13961
e529793b
AS
13962 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
13963 (__FD_ELT): Renamed from __FDELT.
13964 * misc/bits/select2.h (__FD_ELT): Likewise.
13965 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
13966 __FD_MASK instead of __FDELT, __FDMASK.
13967 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13968 Likewise.
13969 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13970 Likewise.
13971
52d4fef8
AS
13972 * elf/Makefile (gen-ldd): Fix pattern.
13973
995a80df
AS
13974 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
13975 (init_tls): Likewise.
13976
8682f8b0
UD
139772011-09-12 Ulrich Drepper <drepper@gmail.com>
13978
13979 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
13980
de82006d
AS
139812011-09-12 Andreas Schwab <schwab@redhat.com>
13982
a7c8e6a1
AS
13983 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
13984 `struct cmsghdr *' instead of `void *'.
13985 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
13986 Likewise.
13987
0f31fe77
AS
139882011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13989
13990 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
13991 if non-absolute.
13992 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
13993 ldd_rewrite_script.
0f31fe77 13994
32b4c839
UD
139952011-09-11 Ulrich Drepper <drepper@gmail.com>
13996
83cd1420
UD
13997 * configure.in: Remove --with-tls option.
13998 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
13999 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
14000 out in case it is missing.
14001 * sysdeps/ia64/elf/configure.in: Likewise.
14002 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
14003 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
14004 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
14005 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
14006 * sysdeps/sh/elf/configure.in: Likewise.
14007 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
14008 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14009 * sysdeps/x86_64/elf/configure.in: Likewise.
14010 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
14011 * sysdeps/mach/hurd/tls.h: Likewise.
14012
633f745d
UD
14013 [BZ #13067]
14014 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
14015
f318beb8
UD
14016 [BZ #13090]
14017 * configure.in: Fix use of AC_INIT.
14018
32b4c839
UD
14019 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
14020
3ce1f295
UD
140212011-09-10 Ulrich Drepper <drepper@gmail.com>
14022
bb016596
UD
14023 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
14024 __set_errno.
8e58439c
UD
14025 * malloc/hooks.c: Likewise.
14026
aebae053 14027 [BZ #11929]
02d46fc4
UD
14028 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
14029 variables statically.
14030 (narenas): Initialize.
14031 (list_lock): Initialize.
bb016596
UD
14032 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
14033 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
14034 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
14035 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
14036 Add initializers to main_arena and mp_.
14037 (malloc_state): Remove pagesize member. Change all users to use
14038 GLRO(dl_pagesize).
14039
14040 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
14041 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
14042 is always initialized.
14043
22a89187
UD
14044 * malloc/malloc.c: Removed unused configurations and dead code.
14045 * malloc/arena.c: Likewise.
14046 * malloc/hooks.c: Likewise.
02d46fc4 14047 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 14048
d063d164
UD
14049 * include/tls.h: Removed. USE___THREAD must always be defined.
14050 * bits/libc-tsd.h: Don't handle !USE___THREAD.
14051 * elf/dl-libc.c: Likewise.
14052 * elf/dl-tsd.c: Likewise.
14053 * include/errno.h: Likewise.
14054 * include/netdb.h: Likewise.
14055 * include/resolv.h: Likewise.
14056 * inet/herrno-loc.c: Likewise.
14057 * inet/herrno.c: Likewise.
14058 * malloc/arena.c: Likewise.
14059 * malloc/hooks.c: Likewise.
14060 * malloc/malloc.c: Likewise.
14061 * resolv/res-state.c: Likewise.
14062 * resolv/res_libc.c: Likewise.
14063 * sysdeps/i386/dl-machine.h: Likewise.
14064 * sysdeps/ia64/dl-machine.h: Likewise.
14065 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14066 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14067 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14068 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14069 * sysdeps/sh/dl-machine.h: Likewise.
14070 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14071 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14072 * sysdeps/unix/i386/sysdep.S: Likewise.
14073 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14074 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
14075 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
14076 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14077 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
14078 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14079 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14080 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14081 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14082 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14083 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14084 * sysdeps/x86_64/dl-machine.h: Likewise.
14085 * tls.make.c: Likewise.
14086
3ce1f295
UD
14087 * configure.in: Remove --with-__thread option. Make tests for
14088 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
14089 tls_model attribute fail if no support is available. Remove
14090 USE_IN_LIBIO.
14091 * Makeconfig: Adjust for dropped configure option. All features are
14092 now mandatory.
14093 * Makerules: Likewise.
14094 * Versions.def: Likewise.
14095 * argp/argp-fmtstream.c: Likewise.
14096 * argp/argp-fmtstream.h: Likewise.
14097 * argp/argp-help.c: Likewise.
14098 * assert/assert.c: Likewise.
14099 * config.h.in: Likewise.
14100 * config.make.in: Likewise.
14101 * configure: Likewise.
14102 * configure.in: Likewise.
14103 * csu/Versions: Likewise.
14104 * csu/init.c: Likewise.
14105 * elf/tst-audit2.c: Likewise.
14106 * elf/tst-tls10.c: Likewise.
14107 * elf/tst-tls10.h: Likewise.
14108 * elf/tst-tls11.c: Likewise.
14109 * elf/tst-tls12.c: Likewise.
14110 * elf/tst-tls14.c: Likewise.
14111 * elf/tst-tlsmod11.c: Likewise.
14112 * elf/tst-tlsmod12.c: Likewise.
14113 * elf/tst-tlsmod13.c: Likewise.
14114 * elf/tst-tlsmod13a.c: Likewise.
14115 * elf/tst-tlsmod14a.c: Likewise.
14116 * elf/tst-tlsmod15b.c: Likewise.
14117 * elf/tst-tlsmod16a.c: Likewise.
14118 * elf/tst-tlsmod16b.c: Likewise.
14119 * elf/tst-tlsmod7.c: Likewise.
14120 * elf/tst-tlsmod8.c: Likewise.
14121 * elf/tst-tlsmod9.c: Likewise.
14122 * gmon/gmon.c: Likewise.
14123 * grp/fgetgrent_r.c: Likewise.
14124 * grp/putgrent.c: Likewise.
14125 * hurd/fopenport.c: Likewise.
14126 * include/libc-symbols.h: Likewise.
14127 * include/tls.h: Likewise.
14128 * intl/gettextP.h: Likewise.
14129 * intl/loadinfo.h: Likewise.
14130 * locale/global-locale.c: Likewise.
14131 * locale/localeinfo.h: Likewise.
14132 * mach/devstream.c: Likewise.
14133 * malloc/arena.c: Likewise.
14134 * malloc/set-freeres.c: Likewise.
14135 * misc/err.c: Likewise.
14136 * misc/getttyent.c: Likewise.
14137 * misc/mntent_r.c: Likewise.
14138 * posix/getopt.c: Likewise.
14139 * posix/wordexp.c: Likewise.
14140 * pwd/fgetpwent_r.c: Likewise.
14141 * resolv/Versions: Likewise.
14142 * resolv/res_hconf.c: Likewise.
14143 * shadow/fgetspent_r.c: Likewise.
14144 * shadow/putspent.c: Likewise.
14145 * stdio-common/printf_fphex.c: Likewise.
14146 * stdio-common/tmpfile.c: Likewise.
14147 * stdlib/abort.c: Likewise.
14148 * stdlib/fmtmsg.c: Likewise.
14149 * sunrpc/auth_unix.c: Likewise.
14150 * sunrpc/clnt_perr.c: Likewise.
14151 * sunrpc/clnt_tcp.c: Likewise.
14152 * sunrpc/clnt_udp.c: Likewise.
14153 * sunrpc/clnt_unix.c: Likewise.
14154 * sunrpc/openchild.c: Likewise.
14155 * sunrpc/svc_simple.c: Likewise.
14156 * sunrpc/svc_tcp.c: Likewise.
14157 * sunrpc/svc_udp.c: Likewise.
14158 * sunrpc/svc_unix.c: Likewise.
14159 * sunrpc/xdr.c: Likewise.
14160 * sunrpc/xdr_array.c: Likewise.
14161 * sunrpc/xdr_rec.c: Likewise.
14162 * sunrpc/xdr_ref.c: Likewise.
14163 * sunrpc/xdr_stdio.c: Likewise.
14164
1248c1c4
PB
141652011-09-09 Ulrich Drepper <drepper@gmail.com>
14166
14167 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14168
141692011-07-03 Andreas Jaeger <aj@suse.de>
14170
14171 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
14172 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
14173 regenerate with gen-libm-tests.pl.
14174
141752010-05-12 Petr Baudis <pasky@suse.cz>
14176
14177 [BZ #11589]
14178 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
14179 around j0() zero points by switching to j1().
14180 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14181 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14182 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14183 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14184
f22e1074
UD
141852011-09-09 Ulrich Drepper <drepper@gmail.com>
14186
f19009c1
UD
14187 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
14188 instead of 0.
14189 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
14190 instead of 0. .
14191 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14192 Patch in part by Pavel Roskin <proski@gnu.org>.
14193
3f8cc204
UD
14194 [BZ #13138]
14195 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
14196 realloc.
14197 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
14198 Free memory block if necessary.
14199
f22e1074
UD
14200 [BZ #12847]
14201 * libio/genops.c (INTDEF): For string streams the _lock pointer can
14202 be NULL. Don't lock in this case.
14203
0a2349f9
RM
142042011-09-09 Roland McGrath <roland@hack.frob.com>
14205
14206 * elf/elf.h (ELFOSABI_GNU): New macro.
14207 (ELFOSABI_LINUX): Define to that.
14208
f3cdd467
DZ
142092011-07-29 Denis Zaitceff <zaitceff@gmail.com>
14210
14211 * string/strncat.c (strncat): Undef the symbol in case it has been
14212 defined in bits/string.h.
14213
74718d13
UD
142142011-09-09 Ulrich Drepper <drepper@gmail.com>
14215
633e9e0f
UD
14216 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
14217
0a2349f9 14218 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
14219 link map.
14220
f9924780
AJ
142212011-08-17 Andreas Jaeger <aj@suse.de>
14222
14223 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
14224
7f5517aa
PP
142252011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14226 Ian Lance Taylor <iant@google.com>
14227
14228 * math/libm-test.inc (lround_test): New testcase.
14229 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
14230
762011fe
UD
142312011-09-08 Ulrich Drepper <drepper@gmail.com>
14232
92963737
UD
14233 * Makefile: Remove support for automatic cvs check-ins.
14234 * Makerules: Likewise.
14235 * config.make.in: Likewise.
14236 * configure.in: Likewise.
14237 * intl/Makefile: Likewise.
14238 * locale/Makefile: Likewise.
14239 * po/Makefile: Likewise.
14240 * posix/Makefile: Likewise.
14241 * sysdeps/gnu/Makefile: Likewise.
14242 * sysdeps/mach/hurd/Makefile: Likewise.
14243 * sysdeps/sparc/sparc32/Makefile: Likewise.
14244
b0727fd8
JS
14245 [BZ #13118]
14246 * posix/Makefile (bug-regex32-ENV): Define.
14247 Patch by John Stanley <jpsinthemix@verizon.net>.
14248
a0f33f99
UD
14249 * misc/Makefile (headers): Add bits/select2.h.
14250 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
14251 * misc/bits/select2.h: New file.
14252 * include/bits/select2.h: New file.
14253 * debug/Makefile (routines): Add fdelt_chk.
14254 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
14255 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
14256 FD_ISSET.
14257 * debug/fdelt_chk.c: New file.
14258
762011fe
UD
14259 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
14260 * wcsmbs/test-wmemcmp.c: Likewise.
14261 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 14262 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
14263
142642011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14265
14266 * string/Makefile (strop-tests): Add memcmp.
14267 * string/test-wmemcmp.c: New file.
14268 * string/test-memcmp.c: Add wmemcmp support.
14269
7f513ec8
RM
142702011-09-08 Roland McGrath <roland@hack.frob.com>
14271
0442afb4
RM
14272 [BZ #13153]
14273 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
14274 2011-07-19 change.
14275
7f513ec8
RM
14276 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14277 garbage value in a __mach_port_mod_refs call in the cases of the
14278 task-self and thread-self ports.
14279
a12b2239
ST
142802011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14281
14282 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14283
610f9ab4
AS
142842011-09-08 Andreas Schwab <schwab@redhat.com>
14285
7f513ec8 14286 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 14287
48882a1a
LD
142882011-09-07 Ulrich Drepper <drepper@gmail.com>
14289
b49865be
UD
14290 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14291
fdc86bc9
UD
14292 * elf/dl-libc.c (dlerror_run): Pass back error code from
14293 dl_catch_error.
14294
c966526a
UD
14295 [BZ #13123]
14296 * elf/dl-load.c (lose): Free l_origin if it is valid.
14297
48882a1a
LD
14298 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14299 names.
14300 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14301 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14302 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14303 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14304 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14305 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14306
77a2a8b4
AZ
143072011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14308
14309 * sysdeps/powerpc/fpu/e_hypot.c: New file.
14310 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14311 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14312 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14313 * sysdeps/powerpc/fpu/k_cosf.c: New file.
14314 * sysdeps/powerpc/fpu/k_sinf.c: New file.
14315 * sysdeps/powerpc/fpu/s_cosf.c: New file.
14316 * sysdeps/powerpc/fpu/s_sinf.c: New file.
14317 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14318 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14319
24f579d8
AM
143202011-08-15 Alan Modra <amodra@gmail.com>
14321
14322 [BZ #13092]
14323 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14324 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14325 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
14326 ppc_mcount to static-only-routines.
14327 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14328 __mcount_internal.
14329 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14330 __mcount_internal with usual JUMPTARGET. Remove useless nop.
14331
3d4837df
UD
143322011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
14333
14334 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14335 for finite and infinity parameters.
14336
22700377
WS
143372011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14338
14339 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14340 and add nop instructions for throughput optimization.
14341 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14342
5025581e
WS
143432011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
14344
14345 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14346 aligned copy for power7 with vector-scalar instructions.
14347 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14348
08a300c9
L
143492011-07-24 H.J. Lu <hongjiu.lu@intel.com>
14350
14351 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14352 AVX check.
14353
59178ef9
AS
143542011-09-07 Andreas Schwab <schwab@redhat.com>
14355
14356 [BZ #13144]
14357 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14358 last change.
14359
e38ba7ab
UD
143602011-09-07 Ulrich Drepper <drepper@gmail.com>
14361
14362 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14363 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14364 syscall wrapper around clock_gettime in __vdso_clock_gettime.
14365 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14366 clock_gettime.
14367
d53a73ac
UD
143682011-09-06 Ulrich Drepper <drepper@gmail.com>
14369
fc8bffcc
UD
14370 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
14371 Forgot to demangle the pointer.
14372
ceaa0c5d
UD
14373 * sysdeps/i386/sysdep.h: Define atom_text_section.
14374 * sysdeps/x86_64/sysdep.h: Likewise.
14375 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
14376 section with atom_text_section.
14377 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14378 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14379 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14380 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14381 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
14382
a77d3c17
UD
14383 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
14384 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
14385 already be defined. Change to take two parameters and don't assign
14386 result to variable. Adjust all users.
14387 Define INTERNAL_GETTIME if not already defined.
14388 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
14389 call.
14390 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
14391 HAVE_CLOCK_GETTIME_VSYSCALL.
14392 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
14393
d53a73ac
UD
14394 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
14395 gettimeofday vsyscall, just use time.
14396
a8f84144
AS
143972011-09-06 Andreas Schwab <schwab@redhat.com>
14398
14399 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
14400 <errno.h>.
14401
ef606249
UD
144022011-09-06 Ulrich Drepper <drepper@gmail.com>
14403
14404 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
14405 syscall on x86-64.
14406 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
14407 syscall.
14408 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14409 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
14410 syscall if possible.
14411
6585cb60
UD
144122011-09-05 Ulrich Drepper <drepper@gmail.com>
14413
14414 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
14415 e_ident. Don't pass to find_mapsXX.
14416 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
14417
a5f524e4
LD
144182011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14419
14420 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14421 strchr-sse2-no-bsf strrchr-sse2-no-bsf
14422 * sysdeps/x86_64/multiarch/strchr.S: Update.
14423 Check bit_slow_BSF bit.
14424 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14425 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
14426 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
14427
554881ef
UD
144282011-09-05 Ulrich Drepper <drepper@gmail.com>
14429
d96de963
UD
14430 [BZ #13134]
14431 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
14432 before glibc 2.15.
14433 (tryshell): Define.
14434 (__spawni): Change last parameter to be flag. Test
14435 SPAWN_XFLAGS_USE_PATH flag to use path or not.
14436 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
14437 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
14438 * posix/spawni.c: Likewise.
14439 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
14440 * posix/spawnp.c: Likewise. Change normal version to use
14441 SPAWN_XFLAGS_USE_PATH.
14442 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
14443 SPAWN_XFLAGS_TRY_SHELL.
14444
d48e5868
UD
14445 [BZ #13150]
14446 * posix/glob.h: Remove gcc 1.x support.
14447
554881ef
UD
14448 [BZ #13068]
14449 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
14450
693fb948
LD
144512011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14452
14453 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14454 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
14455 strrchr-sse2-bsf
14456 * sysdeps/i386/i686/multiarch/strchr.S: New file.
14457 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
14458 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
14459 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
14460 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
14461 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
14462
1b48c537
UD
144632011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14464
49d42c37
UD
14465 * sysdeps/x86_64/wcscmp.S: New file.
14466
1b48c537
UD
14467 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
14468 wcscmp-c wcscmp-sse2
14469 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
14470 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
14471 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
14472 * wcsmbs/wcscmp.c: Allow renaming.
14473
15c95c5d
DM
144742011-09-05 David S. Miller <davem@davemloft.net>
14475
14476 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
14477 stack slot, rather than the struct return pointer slot.
14478 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
14479 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
14480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
14481 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
14482
2f0ad8f3
UD
144832011-09-05 Ulrich Drepper <drepper@gmail.com>
14484
d88ae418
UD
14485 * po/ja.po: Update from translation team.
14486
2f0ad8f3
UD
14487 [BZ #13144]
14488 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
14489 kernel in 64-bit binaries.
14490
5f4318d1
DM
144912011-09-01 David S. Miller <davem@davemloft.net>
14492
14493 * elf/elf.h (HWCAP_SPARC_*): Move to..
14494 * sysdeps/sparc/sysdep.h: this new file and add new values.
14495 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
14496 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
14497 _DL_HWCAP_COUNT to 24.
14498 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14499 entries.
14500 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
14501 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
14502 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
14503 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
14504 instead of magic constants.
14505 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14506
3ba57516
DM
145072011-08-31 David S. Miller <davem@davemloft.net>
14508
14509 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
14510 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
14511 Reimplement to do errno handling inline.
14512 (SYSCALL_ERROR_HANDLER): New macro.
14513 (__SYSCALL_STRING): Do not do errno handling in asm.
14514 (__CLONE_SYSCALL_STRING): Delete.
14515 (__INTERNAL_SYSCALL_STRING): Delete.
14516 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
14517 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
14518 (PSEUDO): Reimplement to do errno handling inline.
14519 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
14520 (SYSCALL_ERROR_HANDLER): New macro.
14521 (__SYSCALL_STRING): Do not do errno handling in asm.
14522 (__CLONE_SYSCALL_STRING): Delete.
14523 (__INTERNAL_SYSCALL_STRING): Delete.
14524 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
14525 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
14526 i386.
14527 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
14528 (inline_syscall*): Add 'err' argument.
14529 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
14530 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
14531 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
14532 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
14533
14534 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
14535 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14536
2bc17433
AS
145372011-08-30 Andreas Schwab <schwab@redhat.com>
14538
14539 * elf/rtld.c (dl_main): Relocate objects in dependency order.
14540
fbeb5f4d
JO
145412011-08-29 Jiri Olsa <jolsa@redhat.com>
14542
14543 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
14544 directive.
14545
ad69cc26
DM
145462011-08-24 David S. Miller <davem@davemloft.net>
14547
14548 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
14549
39dd69df
AS
145502011-08-24 Andreas Schwab <schwab@redhat.com>
14551
14552 * elf/Makefile: Add rules to build and run unload8 test.
14553 * elf/unload8.c: New file.
14554 * elf/unload8mod1.c: New file.
14555 * elf/unload8mod1x.c: New file.
14556 * elf/unload8mod2.c: New file.
14557 * elf/unload8mod3.c: New file.
14558
14559 * elf/dl-close.c (_dl_close_worker): Reset private search list if
14560 it wasn't used.
14561
2c0b250a
DM
145622011-08-23 David S. Miller <davem@davemloft.net>
14563
14564 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
14565 subtract stack bias.
14566 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
14567 %sp not %fp in calculations.
14568 (_JMPBUF_UNWINDS_ADJ): Likewise.
14569
22044b48
DM
14570 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
14571 (aio_suspend): Call it to force an exception region around the
14572 AIO_MISC_WAIT() invocation.
14573
2cae4995
AS
145742011-08-23 Andreas Schwab <schwab@redhat.com>
14575
14576 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
14577 backslash.
14578
873a772e
AJ
145792011-07-04 Aurelien Jarno <aurelien@aurel32.net>
14580
14581 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
14582 protection macro.
14583 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
14584 and <dl-machine.h>.
14585 (Elf64_FuncDesc): Remove.
14586
25ad0df1
DM
145872011-08-22 David S. Miller <davem@davemloft.net>
14588
14589 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
14590 sigaltstack check, add missing cfi directives.
14591 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
14592 missing cfi directives, and sigaltstack handling.
14593
e888bcbe
AS
145942011-08-16 Andreas Schwab <schwab@redhat.com>
14595
14596 [BZ #11724]
14597 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
14598 object is seen twice.
14599 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14600
14601 * elf/Makefile (distribute): Add tst-initorder2.c.
14602 (tests): Add tst-initorder2.
14603 (modules-names): Add tst-initorder2a tst-initorder2b
14604 tst-initorder2c tst-initorder2d. Add rules to build them.
14605 ($(objpfx)tst-initorder2.out): New rule.
14606 * elf/tst-initorder2.c: New file.
14607 * elf/tst-initorder2.exp: New file.
14608
87162f46
AS
146092011-08-22 Andreas Schwab <schwab@redhat.com>
14610
70538b7f
AS
14611 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
14612
f55ffe58
AS
14613 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
14614 dependencies back to end of function.
14615
87162f46
AS
14616 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14617 $(elfobjdir)/ld.so.
14618
91b392a4
UD
146192011-08-21 Ulrich Drepper <drepper@gmail.com>
14620
14621 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
14622 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
14623 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
14624 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
14625 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
14626 of __vdso_gettimeofday.
14627 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
14628 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
14629 attribute_hidden.
14630 (_libc_vdso_platform_setup): Remove initialization of
14631 __vdso_gettimeofday and __vdso_time.
14632
5c43483f
UD
146332011-08-20 Ulrich Drepper <drepper@gmail.com>
14634
775a77e7
UD
14635 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
14636 and fgetc_unlocked.
14637 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
14638 getc_unlocked.
89f447ed 14639
49c74ba9
UD
14640 * elf/dl-open.c (add_to_global): Report additions to the global scope
14641 for LD_DEBUG=scopes.
14642 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 14643 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 14644
5c43483f
UD
14645 [BZ #13114]
14646 * stdio-common/Makefile (tests): Add bug24.
14647 * stdio-common/bug24.c: New file.
14648
a101b025
AJ
146492011-08-19 Andreas Jaeger <aj@suse.de>
14650
14651 [BZ #13114]
14652 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
14653 non-existant file when using close-on-exec mode.
14654
c88f1766
UD
146552011-08-20 Ulrich Drepper <drepper@gmail.com>
14656
0276a718
UD
14657 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
14658 the very first instruction.
14659
c88f1766
UD
14660 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
14661 the CFI state in the end.
14662 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
14663 inclusion of dl-trampoline.h.
14664 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
14665
51ccffa0
AS
146662011-08-19 Andreas Schwab <schwab@redhat.com>
14667
94d7165f
AS
14668 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
14669 expectations for long double.
14670
51ccffa0
AS
14671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
14672 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
14673
fd708658 146742011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
14675
14676 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
14677 artificual limit depends upon the system page size.
14678
44f0a71e
UD
146792011-08-17 Ulrich Drepper <drepper@gmail.com>
14680
14681 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
14682 * resolv/Makefile: Define CFLAGS-libresolv.
14683
8de79a24
AS
146842011-08-17 Andreas Schwab <schwab@redhat.com>
14685
14686 * nss/makedb.c (compute_tables): Make variables used in nested
14687 function static.
14688
27724598
UD
146892011-08-17 Ulrich Drepper <drepper@gmail.com>
14690
c5305d88
UD
14691 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
14692 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
14693 if buffer was too small.
14694
27724598
UD
14695 * elf/pldd.c (main): Attach to all threads in the process.
14696 Rewrite /proc handling to use *at functions.
14697
076fe015
UD
146982011-08-16 Ulrich Drepper <drepper@gmail.com>
14699
174baab3
UD
14700 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
14701 specifies first scope to show.
14702 (dl_open_worker): Update callers. Move printing scope of new
14703 object to before the relocation.
44f0a71e 14704 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
14705 * sysdeps/generic/ldsodefs.h: Update declaration.
14706
076fe015
UD
14707 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
14708 string for the scope number.
14709
a60df2c3
UD
147102011-08-14 Ulrich Drepper <drepper@gmail.com>
14711
14712 * nscd/servicescache.c (cache_addserv): Make sure written is always
14713 initialized.
14714
5e4287d1
RM
147152011-08-14 Roland McGrath <roland@hack.frob.com>
14716
85ae0589
RM
14717 * sysdeps/i386/i486/bits/atomic.h
14718 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
14719 statement expression, so as to suppress "set but not used" warning.
14720 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
14721
69f63097
RM
14722 * string/strncat.c (STRNCAT): Use prototype definition.
14723
675456ef
RM
14724 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
14725 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
14726 -Iprograms here.
14727 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
14728 (localedef-modules): Add localedef.
14729 (locale-modules): Add locale.
14730
5e4287d1
RM
14731 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
14732 * elf/rtld.c (dl_main): Invert order of assignment in last change,
14733 to avoid a warning.
14734
9c96ff23
DM
147352011-08-14 David S. Miller <davem@davemloft.net>
14736
14737 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
14738 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
14739
f9ddf089
UD
147402011-08-13 Ulrich Drepper <drepper@gmail.com>
14741
44f0a71e 14742 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
14743 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
14744 * elf/rtld.c (dl_main): Set l_name of vDSO.
14745 Call _dl_show_scope when DL_DEBUG_SCOPES.
14746 (process_dl_debug): Recognize scopes flag and also set it for all.
14747 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
14748 Declare _dl_show_scope.
14749
1dc27704
UD
14750 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
14751 (do_dlopen): Pass caller_dlopen to dl_open.
14752 (__libc_dlopen_mode): Initialize caller_dlopen.
14753
f9ddf089
UD
14754 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
14755 of libc. Make tolower call locale-independent. Optimize a bit by
14756 using isdigit instead of isalnum.
14757 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
14758
9ac533d3
UD
147592011-08-12 Ulrich Drepper <drepper@gmail.com>
14760
14761 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
14762 was a dependency or dynamically loaded.
14763
89edf2e9
UD
147642011-08-11 Ulrich Drepper <drepper@gmail.com>
14765
8e999d29
UD
14766 * intl/l10nflist.c: Allow architecture-specific pop function.
14767 * sysdeps/x86_64/l10nflist.c: New file.
14768
89edf2e9
UD
14769 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
14770 classification.
14771
14d96785
AS
147722011-08-10 Andreas Schwab <schwab@redhat.com>
14773
14774 * include/dirent.h: Add libc_hidden_proto for scandirat and
14775 scandirat64. Don't declare __scandirat64.
14776 * dirent/scandirat.c: Add libc_hidden_def.
14777 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
14778 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
14779
6761ac04
DM
147802011-08-10 David S. Miller <davem@davemloft.net>
14781
14782 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
14783 enum.
14784 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14785 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14786 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14787
c55fbd1e
UD
147882011-08-09 Ulrich Drepper <drepper@gmail.com>
14789
14790 * Versions.def [libc]: Add GLIBC_2.15.
14791 * dirent/Makefile (routines): Add scandirat and scandirat64.
14792 * dirent/Versions [libc]: Export scandirat and scandirat64 for
14793 GLIBC_2.15.
14794 * dirent/dirent.h: Declare scandirat and scandirat64.
14795 * dirent/scandirat.c: New file.
14796 * dirent/scandirat64.c: New file.
14797 * sysdeps/wordsize-64/scandirat.c: New file.
14798 * sysdeps/wordsize-64/scandirat64.c: New file.
14799 * dirent/opendir.c: Define opendirat.
14800 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
14801 using scandirat.
14802 * dirent/scandir64.c: Adjust for scandir.c change.
14803 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
14804 __scandirat64, and __scandir_cancel_handler.
14805 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
14806 additional parameter and use openat instead of open (outside of ld.so).
14807 Add new __opendir as wrapper around __opendirat.
14808 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
14809 here without requiring old scandirat implementation.
14810
879165f2
UD
148112011-08-08 Ulrich Drepper <drepper@gmail.com>
14812
14813 * dirent/scandir.c (cancel_handler): Renamed to
14814 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
14815 defined. Adjust users.
14816 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
14817 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14818
cb7e923b
UD
148192011-08-04 Ulrich Drepper <drepper@gmail.com>
14820
16292edd
UD
14821 * string/test-string.h (IMPL): Use __STRING to expand name and then
14822 stringify it.
14823
cb7e923b
UD
14824 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
14825 of cleanups.
14826
cff82933
LD
148272011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14828
14829 * string/Makefile: Update.
14830 (strop-tests): Append strncat.
14831 * string/test-wcscmp.c: New file.
14832 New comprehensive test for wcscmp.
14833 * string/test-strcmp.c: Update.
14834 (WIDE): New define.
14835
9be9bfcc
AS
148362011-07-22 Andreas Schwab <schwab@redhat.com>
14837
14838 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
14839 line.
14840
2e96f1c7
AS
148412011-07-26 Andreas Schwab <schwab@redhat.com>
14842
14843 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14844 encoding to ACE if AI_IDN.
14845
85188888
JJ
148462011-08-01 Jakub Jelinek <jakub@redhat.com>
14847
14848 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
14849 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
14850
5fa16e9b
LD
148512011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14852
14853 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
14854 Fix overflow bug in strncat.
14855 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
14856
14857 * string/test-strncat.c: Update.
14858 Add new tests for checking overflow bugs.
14859
148602011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14861
14862 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14863 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
14864 * sysdeps/i386/i686/multiarch/strcat.S: New file.
14865 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
14866 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
14867 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
14868 * sysdeps/i386/i686/multiarch/strncat.S: New file.
14869 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
14870 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
14871
14872 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
14873 (USE_AS_STRCAT): Define.
14874 Add strcat and strncat support.
14875 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14876
8c1a459f
AS
148772011-07-25 Andreas Schwab <schwab@redhat.com>
14878
14879 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
14880 __n bigger than INT_MAX+1.
14881 (__strncmp_g): Likewise.
14882
bba33c28
UD
148832011-07-23 Ulrich Drepper <drepper@gmail.com>
14884
798be72d
UD
14885 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
14886 * libio/stido.h: Likewise.
14887
8accd4dc
UD
14888 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
14889 (AF_NFC): Define.
14890 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
14891 (AF_NFC): Define.
14892
cbff0d96
UD
14893 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
14894 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14895 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14896 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14897 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14898
9191c04a
UD
14899 [BZ #13021]
14900 * scripts/test-installation.pl: Don't expect libnss_test1 to be
14901 installed.
14902
bba33c28
UD
14903 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
14904 typo.
14905 (_dl_x86_64_save_sse): Likewise.
14906
90f139dd
UD
149072011-07-22 Ulrich Drepper <drepper@gmail.com>
14908
1aae088a
UD
14909 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
14910 OSXSAVE.
14911 (_dl_x86_64_save_sse): Likewise.
14912
8e2045f5
UD
14913 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
14914
90f139dd
UD
14915 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
14916
1d002f25
AS
149172011-07-21 Andreas Schwab <schwab@redhat.com>
14918
14919 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
14920 change.
14921 (_dl_x86_64_save_sse): Use correct AVX check.
14922
21137f89
UD
149232011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14924
14925 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
14926 bug in strncpy/strncat.
14927 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
14928
a65c0b7a
UD
149292011-07-21 Ulrich Drepper <drepper@gmail.com>
14930
14931 * string/tester.c (test_strcat): Add tests for different alignments
14932 of source and destination.
14933 (test_strncat): Likewise.
14934
6986b98a
UD
149352011-07-20 Ulrich Drepper <drepper@gmail.com>
14936
90bb2039
UD
14937 [BZ #12852]
14938 * posix/glob.c (glob): Check passed in values before using them in
14939 expressions to avoid some overflows.
14940 (glob_in_dir): Likewise.
14941
5644ef54
UD
14942 [BZ #13007]
14943 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
14944 check for AVX enablement so that we don't crash with old kernels and
14945 new hardware.
14946 * elf/tst-audit4.c: Add same checks here.
14947 * elf/tst-audit6.c: Likewise.
14948
14949 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 14950
bfc9dc9b
AS
149512011-07-09 Andreas Schwab <schwab@linux-m68k.org>
14952
14953 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
14954
702e64bb
UD
149552011-07-20 Ulrich Drepper <drepper@gmail.com>
14956
14957 * po/cs.po: Update from translation team.
14958 * po/bg.po: Likewise.
14959
295e904f
MP
149602011-07-12 Marek Polacek <mpolacek@redhat.com>
14961
14962 * misc/sys/cdefs.h: Add support for const attribute.
14963 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
14964 to gnu_dev_{major,minor,makedev} functions.
14965
3ff94596
MP
149662011-07-20 Marek Polacek <mpolacek@redhat.com>
14967
14968 * intl/dcigettext.c (get_output_charset): Add missing bracket.
14969
28b59fca
AS
149702011-07-20 Andreas Schwab <schwab@redhat.com>
14971
14972 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
14973 strlen results.
14974
19df733e
AK
149752011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14976
14977 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14978 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
14979 register in order to avoid conflicts with the soft frame pointer
14980 being held in r11 when necessary.
14981 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14982 (INTERNAL_VSYSCALL_NCS): Likewise.
14983
c8835729
MP
149842011-07-14 Marek Polacek <mpolacek@redhat.com>
14985
14986 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
14987 * elf/dl-fini.c (_dl_fini): Adjust caller.
14988 * elf/dl-close.c (_dl_close_worker): Likewise.
14989 * sysdeps/generic/ldsodefs.h: Adjust declaration.
14990
b902330c
MP
149912011-07-15 Marek Polacek <mpolacek@redhat.com>
14992
8991e135
MP
14993 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
14994 "aux_cache->nlibs < 0".
14995
b902330c
MP
14996 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
14997 in the reload-count case.
14998
99710781
LD
149992011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15000
15001 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15002 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
15003 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
15004 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
15005 * sysdeps/x86_64/multiarch/strcat.S: New file.
15006 * sysdeps/x86_64/multiarch/strncat.S: New file.
15007 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
15008 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
15009 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
15010 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
15011 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
15012 (USE_AS_STRCAT): Define.
15013 Add strcat and strncat support.
15014 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15015 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15016 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
15017 * string/strncat.c: Update.
15018 (USE_AS_STRNCAT): Define.
15019 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15020 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
15021 and i7.
15022 * sysdeps/x86_64/multiarch/init-arch.h
15023 (bit_Prefer_PMINUB_for_stringop): New.
15024 (index_Prefer_PMINUB_for_stringop): Likewise.
15025 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
15026 bit_Prefer_PMINUB_for_stringop.
15027
7dc6bd90
UD
150282011-07-19 Ulrich Drepper <drepper@gmail.com>
15029
15030 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
15031 buffer64.
15032 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
15033 of casting of buffer.
15034 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
15035 buffer32 and buffer64.
15036 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
15037 writes instead of casting of buffer.
15038 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
15039 buffer32.
15040 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
15041 casting of buffer.
15042
e0e72284
AS
150432011-07-19 Andreas Schwab <schwab@redhat.com>
15044
15045 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
15046
feb1eb0b
UD
150472011-07-19 Ulrich Drepper <drepper@gmail.com>
15048
15049 * nscd/nscd.c (termination_handler): Don't do anything for a database
15050 if it has not yet been initialized.
15051
298711ff
UD
150522011-07-18 Ulrich Drepper <drepper@gmail.com>
15053
15054 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15055
150562011-07-15 Marek Polacek <mpolacek@redhat.com>
15057
15058 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15059
f9d68389
UD
150602011-07-18 Ulrich Drepper <drepper@gmail.com>
15061
15062 * po/nl.po: Update from translation team.
15063 * po/sv.po: Likewise.
15064
db290cf5
RM
150652011-07-16 Roland McGrath <roland@hack.frob.com>
15066
15067 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
15068 now disallowed by GCC.
5c550700 15069
fd5e21c7
RM
15070 * configure.in (use-default-link): Default to yes if a test -shared
15071 link meets our qualifications.
15072 * configure: Regenerated.
15073
5c550700
RM
15074 * config.make.in (output-format): New variable.
15075 * configure.in: Check for ld --print-output-format support.
15076 * configure: Regenerated.
15077 * Makerules ($(common-objpfx)format.lds)
15078 [$(output-format) != unknown]: Just use $(output-format),
15079 instead of the linker-script munging.
15080
9fa2c032
RM
150812011-07-14 Roland McGrath <roland@hack.frob.com>
15082
a6928d51
RM
15083 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
15084 of $(common-objpfx)shlib.lds.
15085 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
15086
661607b3
RM
15087 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
15088 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
15089
9fa2c032
RM
15090 * configure.in (-z relro check): Adjust test code to add a large
15091 writable data section after it.
15092 * configure: Regenerated.
15093
defe9061
RM
150942011-07-11 Roland McGrath <roland@hack.frob.com>
15095
15096 * configure.in (-z relro check): Fix test code to make the variable
15097 truly const.
15098 * configure: Regenerated.
15099
319b9ad4
UD
151002011-07-11 Ulrich Drepper <drepper@gmail.com>
15101
15102 * nscd/nscd.h (struct traced_file): Define.
15103 (struct database_dyn): Remove inotify_descr, reset_res, and filename
15104 elements. Add traced_files.
15105 (inotify_fd): Declare.
15106 (register_traced_file): Declare.
15107 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
15108 (inotify_fd): Export.
15109 (resolv_conf_descr): Remove.
15110 (nscd_init): Move inotify descriptor creation to main.
15111 Don't register files for notification here.
15112 (register_traced_file): New function.
15113 (invalidate_cache): Don't use reset_res to determine whether to call
15114 res_init, go through the list of registered files.
15115 (main_loop_poll): The inotify descriptors are now stored in the
15116 structures for the traced files.
15117 (main_loop_epoll): Likewise
15118 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
15119 to __nss_disable_nscd.
15120 * nscd/cache.c (prune_cache): There is no single inotify descriptor
15121 for a database anymore. Check the records for all the registered
15122 files instead.
15123 * nss/Makefile (libnss_files-routines): Add files-init.
15124 (libnss_db-routines): Add db-init.
15125 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
15126 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
15127 * nss/nss_db/db-init.c: New file.
15128 * nss/nss_files/files-init.c: New file.
15129 * nss/nsswitch.c (nss_load_library): New function. Broken out of
15130 __nss_lookup_function.
15131 (__nss_lookup_function): Call nss_load_library.
15132 (nss_load_all_libraries): New function.
15133 (__nss_disable_nscd): Take parameter with callback function for files
15134 to register. Set is_nscd. Load all the DSOs for the NSS modules
15135 used for the cached services.
15136 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
15137 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
15138 options for features to all the files in nscd.
15139
15140 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
15141
23bee3e8
RM
151422011-07-10 Roland McGrath <roland@hack.frob.com>
15143
15144 * csu/elf-init.c (__libc_csu_init): Comment typo.
15145
46a5b7f0
UD
151462011-07-09 Ulrich Drepper <drepper@gmail.com>
15147
15148 * po/pl.po: Update from translation team.
15149 * po/ja.po: Likewise.
15150 * po/ru.po: Likewise.
15151 * po/ko.po: Likewise.
15152 * po/fr.po: Likewise.
15153
d30cf5bb
RM
151542011-07-09 Roland McGrath <roland@hack.frob.com>
15155
113ddea4
RM
15156 * configure.in (.ctors/.dtors header and trailer check):
15157 Use an empirical test on a built program.
15158 * configure: Regenerated.
15159
574920b4
RM
15160 * configure.in (-z relro check): Use an empirical test on a built DSO.
15161 Detect, but do not require, on ia64.
15162 * configure: Regenerated.
15163
d30cf5bb
RM
15164 * configure.in (READELF): Find it with AC_CHECK_TOOL.
15165 Update tests that use readelf to use $READELF instead.
15166 * configure: Regenerated.
15167
8538fdb3
UD
151682011-07-08 Ulrich Drepper <drepper@gmail.com>
15169
15170 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
15171 if the result is not used.
15172
04d08991
AJ
151732011-07-05 Andreas Jaeger <aj@suse.de>
15174
15175 [BZ#9696]
15176 * stdlib/tst-strtod.c: Add testcase.
15177
de283087
AD
151782011-07-07 Ulrich Drepper <drepper@gmail.com>
15179
4e5f31c8 15180 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 15181 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
15182 The latter has a higher limit. Take additional parameter to pass to
15183 the new function.
15184 (__pathconf): Pass file to __statfs_link_max.
15185 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
15186 __statfs_link_max.
15187 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
15188 __statfs_link_max.
15189
de283087
AD
15190 [BZ #12868]
15191 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
15192 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15193 Handle Lustre.
15194 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
15195 (__statfs_filesize_max): Likewise.
15196 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
15197
c75fa153
AJ
151982011-07-05 Andreas Jaeger <aj@suse.de>
15199
15200 * resolv/res_comp.c (dn_skipname): Remove unused variable.
15201
1a544854
UD
152022011-07-06 Marek Polacek <mpolacek@redhat.com>
15203
15204 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
15205 `status' variable.
15206 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
15207 Likewise.
15208
6f0eec67
UD
152092011-07-04 H.J. Lu <hongjiu.lu@intel.com>
15210
15211 * Makefile (strop-tests): Add strncat.
15212 * string/test-strncat.c: New file.
15213
aae30307
UD
152142011-06-30 Marek Polacek <mpolacek@redhat.com>
15215
15216 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
15217
c0cfb5eb
UD
152182011-06-21 Andreas Jaeger <aj@suse.de>
15219
15220 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
15221 Copy rule from iconvdata/Makefile.
15222
01636b21
UD
152232011-07-06 Ulrich Drepper <drepper@gmail.com>
15224
15225 [BZ #12922]
15226 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
15227 but no long options are defined, just return 'W'.
15228
9895c8bc
UD
152292011-06-22 Marek Polacek <mpolacek@redhat.com>
15230
15231 [BZ #9696]
15232 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
15233
5d4cf042
UD
152342011-07-06 Ulrich Drepper <drepper@gmail.com>
15235
15236 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
15237 netgroups to read.
960e5535 15238 (innetgr): Likewise.
5d4cf042 15239
751eb97e
RM
152402011-07-05 Roland McGrath <roland@hack.frob.com>
15241
15242 * config.make.in (install_root): Default to $(DESTDIR).
15243
f15f1e45
UD
152442011-07-05 Ulrich Drepper <drepper@gmail.com>
15245
15246 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
15247
4e34ac6a
RM
152482011-07-02 Roland McGrath <roland@hack.frob.com>
15249
5e9b6af4
RM
15250 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
15251
84f9ea0f
RM
15252 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
15253 containing directory rather than embedding absolute directory names.
15254
ea5ee9f7
RM
15255 * scripts/check-local-headers.sh: Rewritten using awk.
15256 Match by word, not by line. Print error messages for matches.
15257 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
15258
1b74661a
RM
15259 * Makerules [shlib-lds-flags empty]:
15260 ($(common-objpfx)libc_pic.opts): New target.
15261 ($(common-objpfx)libc_pic.os.clean): New target.
15262 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
15263
15264 * config.make.in (OBJCOPY): New variable.
15265 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
15266 * configure: Regenerated.
15267
f781ef40
RM
15268 * config.make.in (use-default-link): New variable.
15269 * configure.in (use_default_link): Grok --with-default-link to set it.
15270 * configure: Regenerated.
15271 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
15272 (shlib-lds, shlib-lds-flags): Define to empty.
15273
2d4fa81e
RM
15274 * Makerules (shlib-lds): New variable.
15275 (shlib-lds-flags): New variable.
15276 (build-shlib, build-moduile, build-module-asneeded): Use it.
15277 ($(common-objpfx)libc.so): Use $(shlib-lds).
15278 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15279 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15280
31fffa6b
RM
15281 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15282 DT_FLAGS/DT_FLAGS_1 with zero flags.
15283
4e34ac6a
RM
15284 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15285 linker script munging.
15286
fcfc776b
UD
152872011-07-02 Ulrich Drepper <drepper@gmail.com>
15288
15289 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15290 as 128-bit value.
15291 * crypt/sha512.c (sha512_process_block): Perform total addition using
15292 128-bit if possible.
15293 (__sha512_finish_ctx): Likewise.
15294 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15295 as 64-bit value.
15296 * crypt/sha256.c (SWAP64): Define.
15297 (sha256_process_block): Perform total addition using 64-bit if
15298 possible.
15299 (__sha256_finish_ctx): Likewise.
15300
99231d9a
UD
153012011-07-01 Ulrich Drepper <drepper@gmail.com>
15302
15303 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
15304 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15305 * nscd/hstcache.c (cache_addhst): Likewise.
15306 * nscd/grpcache.c (cache_addgr): Likewise.
15307 * nscd/aicache.c (addhstaiX): Likewise
15308 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15309
445b4a53
TK
153102011-07-01 Thorsten Kukuk <kukuk@suse.de>
15311
15312 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15313 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15314 * nscd/hstcache.c (cache_addhst): Likewise.
15315 * nscd/grpcache.c (cache_addgr): Likewise.
15316 * nscd/aicache.c (addhstaiX): Likewise
15317
6d4d8e8e
AS
153182011-07-01 Andreas Schwab <schwab@redhat.com>
15319
15320 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15321 domain only when needed.
15322
89f654c5
AS
153232011-06-30 Andreas Schwab <schwab@redhat.com>
15324
15325 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15326 is always restored.
15327
cf3b23ff
UD
153282011-06-29 Ulrich Drepper <drepper@gmail.com>
15329
15330 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15331 are re-adding the entry.
15332 * nscd/servicescache.c (cache_addserv): Likewise.
15333
751626f9
AJ
153342011-06-30 Aurelien Jarno <aurelien@aurel32.net>
15335
15336 * sysdeps/generic/dl-irel.h: fix protection against multiple
15337 inclusions.
15338 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15339
9113ea1f
UD
153402011-06-28 Ulrich Drepper <drepper@gmail.com>
15341
5c0b8d90
UD
15342 [BZ #12935]
15343 * malloc/memusage.sh: Fix quoting in message.
15344 * debug/xtrace.sh: Likewise.
15345
9113ea1f
UD
15346 * configure.in: Remove support for --experimental-malloc option, make
15347 it the default.
15348 * config.make.in: Likewise.
15349 * malloc/Makefile: Likewise.
15350
a4172181
AS
153512011-06-27 Andreas Schwab <schwab@redhat.com>
15352
15353 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15354 two-byte characters.
15355
78a7eee7
RM
153562011-06-27 Roland McGrath <roland@hack.frob.com>
15357
62bede13
RM
15358 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15359 AC_CACHE_CHECK invocation.
15360 * configure: Regenerated.
15361
78a7eee7
RM
15362 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15363
5ce33a62
UD
153642011-06-27 Ulrich Drepper <drepper@gmail.com>
15365
034807a9
UD
15366 [BZ #12350]
15367 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
15368 bit from old_res_options.
15369
4902da17
UD
15370 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
15371
5ce33a62
UD
15372 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
15373 value type for setfct.
15374
c2344f56
L
153752011-06-23 H.J. Lu <hongjiu.lu@intel.com>
15376
15377 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15378 __gettimeofday instead of gettimeofday.
15379
68468076
UD
153802011-06-26 Ulrich Drepper <drepper@gmail.com>
15381
15382 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
15383
acb0d739
L
153842011-06-24 H.J. Lu <hongjiu.lu@intel.com>
15385
15386 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
15387
15388 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
15389 info.
15390
8912479f
L
153912011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15392
15393 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15394 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15395 strcpy-sse2-unaligned strncpy-sse2-unaligned
15396 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
15397 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
15398 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
15399 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
15400 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
15401 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
15402 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
15403 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
15404 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
15405 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
15406 (STRCPY): Support SSE2 and SSSE3 versions.
15407
d5495a11
UD
154082011-06-24 Ulrich Drepper <drepper@gmail.com>
15409
15410 [BZ #12874]
15411 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
15412 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
15413 kernels which artificially limit size of requests.
15414
0b1cbaae
L
154152011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15416
15417 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15418 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15419 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
15420 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
15421 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
15422 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
15423 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
15424 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
15425 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
15426 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
15427 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
15428 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
15429 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
15430 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
15431 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
15432 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15433 Enable unaligned load optimization for Intel Core i3, i5 and i7
15434 processors.
15435 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
15436 Define.
15437 (index_Fast_Unaligned_Load): Define.
15438 (HAS_FAST_UNALIGNED_LOAD): Define.
15439
07f494a0
MP
154402011-06-23 Marek Polacek <mpolacek@redhat.com>
15441
15442 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
15443
fa3fc0fe
UD
154442011-06-22 Ulrich Drepper <drepper@gmail.com>
15445
15446 [BZ #12907]
15447 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
15448 until it is clear that the information is realy needed.
15449 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
15450
e12df166
AS
154512011-06-22 Andreas Schwab <schwab@redhat.com>
15452
15453 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
15454
852eb34d
UD
154552011-06-22 Ulrich Drepper <drepper@gmail.com>
15456
84e2a551
UD
15457 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15458 /sys/devices/system/cpu/online if it is usable.
15459
852eb34d
UD
15460 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
15461 reading the information from the /proc filesystem to once a second.
15462
6e502e19
UD
154632011-06-21 Andreas Jaeger <aj@suse.de>
15464
15465 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
15466 NULL after inclusion of kernel headers.
15467
75d39ff2
UD
154682011-06-21 Ulrich Drepper <drepper@gmail.com>
15469
51f9aa6a
UD
15470 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
15471 calls to internal_setent.
15472
c0244a9d
UD
15473 [BZ #12885]
15474 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
15475 addresses using gethostbyname4_r ignore IPv4 addresses.
15476
c5e3c2ae
UD
15477 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
15478 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
15479
75d39ff2
UD
15480 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
15481
42675c6f
DM
154822011-06-20 David S. Miller <davem@davemloft.net>
15483
15484 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
15485 inclusions.
15486 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
15487
15488 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
15489 (elf_irel): Use it.
15490 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
15491 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
15492 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
15493 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
15494 * sysdeps/x86_64/dl-irel.h: Likewise.
15495
15496 * elf/dl-runtime.c: Use elf_ifunc_invoke.
15497 * elf/dl-sym.c: Likewise.
15498
57912a71
UD
154992011-06-15 Ulrich Drepper <drepper@gmail.com>
15500
15501 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
15502 need to dereference resplen2.
15503
ee22793d
AS
155042011-06-14 Andreas Schwab <schwab@redhat.com>
15505
15506 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
15507
a9e836b0
UD
155082011-06-15 Ulrich Drepper <drepper@gmail.com>
15509
77fb9117
UD
15510 * Makeconfig: Define vardbdir and inst_vardbdir.
15511 * nss/Makefile: Add rules to install db-Makefile.
15512
40c1b22c
UD
15513 * nss/nss_db/db-XXX.c: Cleanup.
15514
9f2da732
UD
15515 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
15516 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
15517 GLIBC_PRIVATE.
15518 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
15519 * nss/makedb.c: Implement -g option to specify that value strings
15520 are generated and should not be added to table iterated over for
15521 get*ent calls.
15522 * nss/nss_db/db-initgroups.c: New file.
15523
82e9a1f7
UD
15524 * nss/getent.c: Add support for initgroups lookups through getgrouplist
15525 interface.
15526
c41af17e
UD
15527 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
15528 (internal_getgrouplist): Adjust to name change.
15529 Update use_initgroups_entry if this is not the first call.
15530 * nss/databases.def: Add initgroups entry.
15531
a9e836b0
UD
15532 * nss/makedb.c (compute_tables): Check result of multiple hash table
15533 sizes to minimize maximum chain length.
15534
2666d441
UD
155352011-06-14 Ulrich Drepper <drepper@gmail.com>
15536
15537 * Versions.def: Add entry for libnss_db.
15538 * shlib-versions: Likewise.
15539 * nss/Makefile: Add rules to build libnss_db.
15540 * nss/Versions: Add libnss_db information. Organize libnss_files
15541 entries better.
15542 * nss/db-Makefile: Add gshadow support. Change rules for the new
15543 makedb progra. Some minor improvements to generate smaller files.
15544 * nss/nss_db/nss_db.h: Move NSS database header data structures to
15545 here from...
15546 * nss/makedb.c: ...here.
15547 Improve database format to be smaller and require less memory at
15548 runtime.
15549 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
15550 db anymore.
15551 * nss/nss_db/db-netgrp.c: Likewise.
15552 * nss/nss_db/db-open.c: Likewise.
15553 * nss/nss_files/flies-XXX.x: Adjust comments.
15554 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
15555 * nss/nss_files/files-grp.c: Likewise.
15556 * nss/nss_files/files-hosts.c: Likewise.
15557 * nss/nss_files/files-network.c: Likewise.
15558 * nss/nss_files/files-proto.c: Likewise.
15559 * nss/nss_files/files-pwd.c: Likewise.
15560 * nss/nss_files/files-rpc.c: Likewise.
15561 * nss/nss_files/files-service.c: Likewise.
15562 * nss/nss_files/files-sgrp.c: Likewise.
15563 * nss/nss_files/files-spwd.c: Likewise.
15564 * nss/nss_db/db-alias.c: Removed.
15565 * nss/nss_db/dummy-db.h: Removed.
15566
9ee76b5a
UD
155672011-06-02 Ulrich Drepper <drepper@gmail.com>
15568
15569 * nss/makedb.c: Rewritten to not use database library.
15570 * nss/Makefile: Update to build new makedb program.
15571
c71ca1f8
AJ
155722011-06-14 Andreas Jaeger <aj@suse.de>
15573
15574 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
15575 memset declaration.
15576
3154bfb8
UD
155772011-06-10 Andreas Schwab <schwab@redhat.com>
15578
15579 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
15580 tmpbuf.
15581
b350afab
RM
155822011-06-10 Roland McGrath <roland@hack.frob.com>
15583
decd4e50
RM
15584 * Makerules (shlib.lds): Fail if the linker script comes out empty.
15585 * elf/Makefile ($(objpfx)ld.so): Likewise.
15586
5615eaf2
RM
15587 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
15588 Don't list ld.so twice in dependencies.
15589
15590 * posix/bug-regex31.c: Include <stdlib.h>.
15591
15592 * nscd/hstcache.c (cache_addhst): Remove unused variable.
15593
15594 * nis/nss_compat/compat-spwd.c
15595 (getspent_next_nss_netgr): Remove unused variable.
15596 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
15597
15598 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
15599 nonmembers" output to use the right array.
15600
15601 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
15602
15603 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
15604
15605 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
15606 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
15607 * catgets/gencat.c (read_input_file): Likewise.
15608 * locale/programs/locarchive.c (enlarge_archive): Likewise.
15609
15610 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
15611 variable definition inside #if's controlling its use.
15612
15613 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
15614
15615 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
15616
15617 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
15618
15619 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
15620 unreachable code.
15621
15622 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
15623
b68e08db
RM
15624 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
15625 * configure: Regenerated.
15626
b350afab
RM
15627 * Makerules: Revert last change.
15628 * elf/Makefile: Likewise.
15629
28368601
RM
156302011-06-09 Roland McGrath <roland@hack.frob.com>
15631
15632 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
15633 * elf/Makefile ($(objpfx)librtld.os): Likewise.
15634 (reloc-link): Likewise.
15635
11988f8f
UD
156362011-06-09 Ulrich Drepper <drepper@gmail.com>
15637
15638 * elf/Makefile: Add rules to build pldd.
15639 * elf/pldd.c: New file.
15640 * elf/pldd-xx.c: New file.
15641
e80fab37
UD
156422011-06-07 Ulrich Drepper <drepper@gmail.com>
15643
15644 * version.h: Update for 2.15 development version.
15645
9b849836
DM
156462011-06-07 David S. Miller <davem@davemloft.net>
15647
15648 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
15649 ifuncs.
15650 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
15651 elf_machine_lazy_rel): Likewise.
15652 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15653 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
15654 elf_machine_lazy_rel): Likewise.
15655 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
15656 dl_hwcap via passed in argument.
15657 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
15658 Likewise.
15659
5a31b283
AK
156602011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15661
15662 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
15663
069e52f8
RM
156642011-06-06 Roland McGrath <roland@hack.frob.com>
15665
15666 [BZ #12849]
15667 * manual/fdl-1.1.texi: New file, verbatim from:
15668 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
15669 * manual/lgpl-2.1.texi: New file, verbatim from:
15670 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
15671 * manual/Makefile (licenses): New variable, list those new file names.
15672 (texis): Use it.
15673 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
15674
15675 * manual/fdl.texi: File removed.
15676 * manual/lesser.texi: File removed.
15677 * manual/libc.texinfo (Copying, Documentation License):
15678 Use new @include file names, put @appendix directive before @include.
15679
f16846a5
JJ
156802011-06-04 Jakub Jelinek <jakub@redhat.com>
15681
15682 [BZ #12841]
15683 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
15684 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
15685 (mq_open): Add __NTH.
15686
3d29045b
L
156872011-06-02 H.J. Lu <hongjiu.lu@intel.com>
15688
15689 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15690 Assume Intel Core i3/i5/i7 processor if AVX is available.
15691
8c297311
UD
156922011-05-31 Ulrich Drepper <drepper@gmail.com>
15693
15694 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15695 typo.
15696
c8fc0c91
UD
156972011-05-31 Andreas Schwab <schwab@redhat.com>
15698
15699 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
15700 memory. Use alloca_account. Fix memory leak when retrying.
15701
5b27a807
UD
157022011-05-31 Ulrich Drepper <drepper@gmail.com>
15703
356f8bc6
UD
15704 * version.h (RELEASE): Bump for 2.14 release.
15705 * include/features.h (__GLIBC_MINOR__): Bump to 14.
15706
5b27a807
UD
15707 * config.make.in (RANLIB): Remove entry.
15708
01f16ab0
UD
157092011-05-30 Ulrich Drepper <drepper@gmail.com>
15710
41fce8bd
UD
15711 * po/Makefile (po-sed-cmd): Add ksh to extensions.
15712 (libc.pot): Work around missing support for .ksh extension in xgettext.
15713
4769ae77
UD
15714 [BZ #12684]
15715 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
15716 if both request failed.
15717 (send_dg): In case of server errors clear resplen or *resplen2.
15718
6b1e7d19
UD
15719 [BZ #12454]
15720 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
15721 when there are multiple maps.
15722 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
15723 (_dl_fini): Remove test here.
15724
01f16ab0
UD
15725 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
15726
b1ebd700
UD
157272011-05-29 Ulrich Drepper <drepper@gmail.com>
15728
7ae22829
UD
15729 [BZ #12350]
15730 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
15731 bit from old_res_options.
15732 (gaih_inet): Likewise.
15733
553149f6 15734 [BZ #11099]
18a84741 15735 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
15736 as signed.
15737
652ffab1
UD
15738 * resolv/res_init.c (res_setoptions): Make the code more compact.
15739
16985fd0
UD
15740 [BZ #11558]
15741 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
15742 set RES_USEVC.
15743
0464f746
UD
15744 [BZ #11634]
15745 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
15746
7d17596c
UD
15747 * malloc/malloc.h: Mark malloc hook variables as deprecated.
15748
cf6bbbd7
UD
15749 [BZ #11781]
15750 * malloc/malloc.h: Declare malloc hook variables as volatile.
15751
13f1ab36
UD
15752 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
15753 in last patch.
15754
b1ebd700
UD
15755 [BZ #11799]
15756 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 15757 raise in the comment.
80e2212d
UD
15758 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15759 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15760 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 15761
ce67228d
UD
157622011-05-28 Ulrich Drepper <drepper@gmail.com>
15763
8887a920
UD
15764 [BZ #12811]
15765 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
15766 grow the buffers more if it already has to be sufficient.
15767 (build_wcs_upper_buffer): Likewise.
15768 * posix/regexec.c (check_matching): Likewise.
15769 (clean_state_log_if_needed): Likewise.
15770 (extend_buffers): Don't enlarge buffers beyond size of the input
15771 buffer.
15772 Patches mostly by Emil Wojak <emil@wojak.eu>.
15773 * posix/bug-regex32.c: New file.
15774 * posix/Makefile (tests): Add bug-regex32.
15775
4f031072
UD
15776 * locale/findlocale.c (_nl_find_locale): Return right away if
15777 _nl_explode_name failed.
15778 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
15779
d0478f0c
UD
15780 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
15781
de81b246
UD
15782 * debug/xtrace.sh: Unify messages.
15783 * malloc/memusage.sh: Likewise.
15784
c738465a
UD
15785 [BZ #12813]
15786 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
15787 time symbol from vDSO. Substitute with vsyscall if not available.
15788 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
15789 __vdso_time.
15790
f1f929d7
UD
15791 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
15792 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
15793 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
15794 Add sendmmsg and internal_sendmmsg.
15795 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
15796 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
15797 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
15798
ce67228d
UD
15799 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
15800 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
15801 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
15802
e57420c6
UD
158032011-05-27 Ulrich Drepper <drepper@gmail.com>
15804
a8509ca5
UD
15805 [BZ #12813]
15806 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
15807 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
15808 available.
15809 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
15810 __vdso_getcpu.
15811
e57420c6
UD
15812 [BZ #12814]
15813 * iconvdata/Makefile (tests): Add bug-iconv9.
15814 * iconvdata/bug-iconv9.c: New file.
15815
4d07db15
AS
158162011-05-27 Andreas Schwab <schwab@redhat.com>
15817
15818 [BZ #12814]
15819 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
15820
ea486f69
JJ
158212011-05-25 Jakub Jelinek <jakub@redhat.com>
15822
15823 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15824 (struct user_regs_struct): Change intcs field back to cs.
15825
6f038433
UD
158262011-05-25 Ulrich Drepper <drepper@gmail.com>
15827
15828 * po/ja.po: Update from translation team.
15829
67f86a25
UD
158302011-05-23 Ulrich Drepper <drepper@gmail.com>
15831
15832 [BZ #12795]
15833 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
15834 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
15835
def7fbd6
AS
158362011-05-20 Andreas Schwab <schwab@redhat.com>
15837
15838 * stdlib/longlong.h: Update from GCC.
15839
f50ef8f1
AS
158402011-05-23 Andreas Schwab <schwab@redhat.com>
15841
15842 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
15843 parameter name.
15844 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
15845 Add parameter name.
15846 (__sysconf): Pass it down.
15847
de7ce8f1
UD
158482011-05-22 Ulrich Drepper <drepper@gmail.com>
15849
f2962a71
UD
15850 [BZ #12671]
15851 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
15852 some situations.
15853 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15854 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
15855 add in in __libc_use_alloca calls. Adjust callers.
15856 (glob): Use malloc in some situations.
15857
de7ce8f1
UD
15858 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
15859 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
15860 pltexit.
15861
aec84f53
UD
158622011-05-21 Ulrich Drepper <drepper@gmail.com>
15863
05bb4a68
UD
15864 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
15865 and CLOCK_BOOTTIME_ALARM.
15866
7ea72f99
UD
15867 [BZ #12782]
15868 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
15869 is returned.
15870
7e4afad5
UD
15871 * string/_strerror.c (__strerror_r): Print negative errors as signed
15872 numbers.
15873
8e211fec
UD
15874 [BZ #12777]
15875 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
15876 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
15877 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
15878
f7d82dc9
UD
15879 * configure.in: Fix typo in redirection and correct removal of test
15880 files in two cases.
15881
cc9e536d
UD
15882 [BZ #12788]
15883 * locale/setlocale.c (new_composite_name): Fix test to check for
15884 identical name of all categories.
15885
aec84f53
UD
15886 [BZ #12792]
15887 * libio/filedoalloc.c (local_isatty): New function.
15888 (_IO_file_doallocate): Use local_isatty.
15889 * stdio-common/perror.c (perror): In case a new stream is used
15890 forward the stream error.
15891 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
15892 error flag.
15893
78e64fdc
RT
158942011-05-20 Ulrich Drepper <drepper@gmail.com>
15895
34a9094f
UD
15896 [BZ #11869]
15897 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
15898 alloca.
15899 * include/alloca.h (extend_alloca_account): Define.
15900
78e64fdc
RT
15901 [BZ #11857]
15902 * posix/regex.h: Fix comments with documentation of user-accessible
15903 fields after compilation and describe correct free'ing of pattern
15904 after re_compile_pattern.
15905 Patch by Reuben Thomas <rrt@sc3d.org>.
15906
457bddfc
RA
159072011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
15908
15909 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
15910 and -mno-altivec to prevent the compiler from using Altivec and/or
15911 VSX instructions when the corresponding registers are not available.
15912
a4527b51
AS
159132011-05-19 Andreas Schwab <schwab@redhat.com>
15914
15915 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
15916
ed690b2f
UD
159172011-05-19 Ulrich Drepper <drepper@gmail.com>
15918
15919 * libio/freopen.c (freopen): Use __dup2, not dup2.
15920 * libio/freopen64.c (freopen64): Likewise.
15921
8db73634
L
159222011-05-17 H.J. Lu <hongjiu.lu@intel.com>
15923
15924 [BZ #12775]
15925 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
15926 * math/Makefile (tests): Add test-powl.
15927 (CFLAGS-test-powl.c): Define.
15928 * math/test-powl.c: New file.
15929
0a197a9d
L
159302011-05-16 H.J. Lu <hongjiu.lu@intel.com>
15931
15932 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
15933
ee30c380
UD
159342011-05-17 Ulrich Drepper <drepper@gmail.com>
15935
15936 [BZ #11837]
15937 * iconvdata/gb18030.c: Update to GB18020-2005.
15938
6ce75379
UD
159392011-05-16 Ulrich Drepper <drepper@gmail.com>
15940
a4b89fd8
AR
15941 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
15942 RE_SYNTAX_POSIX_AWK): Update to match recent development.
15943 Patch by Aharon Robbins <arnold@skeeve.com>.
15944
ea389b12
UD
15945 [BZ #11892]
15946 * stdlib/putenv.c (putenv): Don't always create copy of the variable
15947 on the stack.
15948
68a3f91f
UD
15949 [BZ #11895]
15950 * misc/pselect.c (__pselect): Handle timeout value errors hidden
15951 through underflows.
15952
15cc7dd1
UD
15953 [BZ #12766]
15954 * misc/error.c (error_at_line): Ensure file_name and old_file_name
15955 point to strings before performing equality test for error_one_per_line
15956 mode.
15957
f3799213
UD
15958 [BZ #11697]
15959 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
15960
d79a9c94
UD
15961 [BZ #11820]
15962 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15963 (struct user_fpregs_struct): Avoid __uint*_t types.
15964
56e5eb46
UD
15965 [BZ #6420]
15966 * malloc/mtrace.c (tr_where): Add additional parameter to point to
15967 symbol info. Use it instead of calling _dl_addr locally.
15968 (lock_and_info): New function.
15969 (tr_freehook): Call lock_and_info and pass symbol info as additional
15970 parameter to tr_where.
15971 (tr_mallochook): Likewise.
15972 (tr_reallochook): Likewise.
15973 (tr_memalignhook): Likewise.
15974
6ce75379
UD
15975 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
15976 used and couldn't be at all thread-safe.
15977
f8a3b5bf
UD
159782011-05-15 Ulrich Drepper <drepper@gmail.com>
15979
94b7cc37
UD
15980 * libio/freopen.c (freopen): Don't close old file descriptor
15981 before the new one is opened. Instead dup the new file descriptor
15982 to the old one after the new stream is created.
15983 * libio/freopen64.c (freopen64): Likewise.
15984 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
15985 * libio/fileops.c (_IO_new_file_close_it): Handle new
15986 _IO_FLAGS2_NOCLOSE flag.
15987 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
15988 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
15989 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
15990 _IO_FLAGS2_NOCLOSE flag.
15991 * include/unistd.h: Add hidden_proto for dup3.
15992 Define __have_dup3.
15993 * io/dup3.c: Define hidden symbol.
15994 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
15995
bd25564e
UD
15996 [BZ #7101]
15997 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
15998 when an incomplete long option is used.
15999 * posix/tst-getopt_long1.c: New file.
16000 * posix/Makefile (tests): Add tst-getopt_long1.
16001
c84cfef4
UD
16002 [BZ #10138]
16003 * scripts/config.guess: Update from autoconf-2.68.
16004 * scripts/config.sub: Likewise.
16005
3b85df27
UD
16006 [BZ #10157]
16007 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
16008 tests into ...
16009 (has_cpuclock): ...this. New function.
16010 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
16011 macro here based on has_cpuclock code.
16012
15a856b1
UD
16013 [BZ #10149]
16014 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16015 First byte (not low byte) is now always NUL.
16016 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
16017
05f399e6
UD
16018 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16019 Use non-cancelable interfaces.
16020
10a52685 16021 [BZ #9809]
94ecc67d
UD
16022 * locale/iso-639.def: Add entry for Sorani.
16023
f8a3b5bf
UD
16024 [BZ #11901]
16025 * include/stdlib.h: Move include protection to the right place.
16026 Define abort_msg_s. Declare __abort_msg with it.
16027 * stdlib/abort.c (__abort_msg): Adjust type.
16028 * assert/assert.c (__assert_fail_base): New function. Majority
16029 of code from __assert_fail. Allocate memory for __abort_msg with
16030 mmap.
16031 (__assert_fail): Now call __assert_fail_base.
16032 * assert/assert-perr.c: Remove bulk of implementation. Use
16033 __assert_fail_base.
16034 * include/assert.hL Declare __assert_fail_base.
16035 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
16036 mmap.
16037 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
16038
1af4e298
UD
160392011-05-14 Ulrich Drepper <drepper@gmail.com>
16040
f8a3b5bf 16041 [BZ #11952]
d26dfc60
MG
16042 [BZ #12453]
16043 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
16044 until all modules are registered in the DTV.
16045 * elf/Makefile: Add rules to build and run tst-tls19.
16046 * elf/tst-tls19.c: New file.
16047 * elf/tst-tls19mod1.c: New file.
16048 * elf/tst-tls19mod2.c: New file.
16049 * elf/tst-tls19mod3.c: New file.
16050 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
16051
2fc54d6f
UD
16052 [BZ #12083]
16053 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
16054 correctly.
16055
98d76b46
UD
16056 [BZ #12601]
16057 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
16058 two-byte sequence errors.
16059 * iconvdata/Makefile (tests): Add bug-iconv8.
16060 * iconvdata/bug-iconv8.c: New file.
16061
da3c19ef
UD
16062 [BZ #12626]
16063 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
16064 buf2 definition.
16065
ca408c15
UD
16066 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
16067
d6f67f7d
UD
16068 [BZ #12432]
16069 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
16070 (dummy_getcfa): New function.
16071 (init): Get _Unwind_GetCFA address, use dummy if not found.
16072 (backtrace_helper): In recursion check, also check whether CFA changes.
16073 (__backtrace): Completely initialize arg.
16074
1af4e298 16075 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
16076 storing incomplete byte sequence in state object. Avoid testing for
16077 guaranteed too small input if we know there is enough data available.
1af4e298 16078
da62f81b
AS
160792011-05-11 Andreas Schwab <schwab@redhat.com>
16080
16081 * Makeconfig (+link-pie): Indent.
16082 * Rules (binaries-pie): Define if $(have-fpie) and
16083 $(build-shared).
16084 (binaries-shared): Also filter out $(binaries-pie).
16085 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
16086 * nscd/Makefile (others-pie): Add nscd.
16087 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
16088 ($(objpfx)nscd): Remove command override.
16089 * login/Makefile (others-pie): Add pt_chown.
16090 ($(objpfx)pt_chown): Remove command override.
16091 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
16092 remove command overrides.
16093
fcabc0f8
UD
160942011-05-13 Ulrich Drepper <drepper@gmail.com>
16095
20030ae6
UD
16096 * libio/tst_putwc.c: Fix error messages.
16097
fcabc0f8
UD
16098 [BZ #12724]
16099 * libio/fileops.c (_IO_new_file_close_it): Always flush when
16100 currently writing and seek to current position when not.
16101 * libio/Makefile (tests): Add bug-fclose1.
16102 * libio/bug-fclose1.c: New file.
16103
320a5dc0
PB
161042011-05-12 Ulrich Drepper <drepper@gmail.com>
16105
16106 [BZ #12511]
16107 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
16108 don't set DF_1_NODELETE here.
16109 (do_lookup_x): When entering new entry test for copy relocation
16110 and if necessary set DF_1_NODELETE flag.
16111 * elf/tst-unique4.cc: New file.
16112 * elf/tst-unique4.h: New file.
16113 * elf/tst-unique4lib.cc: New file.
16114 * elf/Makefile: Add rules to build and run tst-unique4.
16115 Patch by Piotr Bury <pbury@goahead.com>.
16116
22836f52
UD
161172011-05-11 Ulrich Drepper <drepper@gmail.com>
16118
f574184a
UD
16119 [BZ #12052]
16120 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
16121
e1fb097f
UD
16122 [BZ #12625]
16123 * misc/mntent_r.c (addmntent): Flush the stream after the output
16124
22836f52
UD
16125 [BZ #12393]
16126 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
16127 (is_trusted_path_normalize): Skip initial colon. Append slash
16128 to empty buffer. Duplicate is_trusted_path code but allow
16129 constructed patch to be prefix.
16130 (is_dst): Allow $ORIGIN followed by /.
16131 (_dl_dst_substitute): Correct clearing of check_for_trusted.
16132 Correct testing of result of is_trusted_path_normalize
16133 (decompose_rpath): Fix warning.
16134
7b3b0b2a
UD
161352011-05-10 Ulrich Drepper <drepper@gmail.com>
16136
16137 [BZ #11257]
16138 * grp/initgroups.c (internal_getgrouplist): When we found the service
16139 list through the initgroups entry in nsswitch.conf do not always
16140 continue on a successful lookup. Don't always use the
eac80ce2 16141 __nss_group_database value if it is set.
7b3b0b2a
UD
16142 * nss/nsswitch.conf (initgroups): Change action for successful db
16143 lookup to continue for compatibility.
16144
2a81eaa5
UD
161452011-05-09 Ulrich Drepper <drepper@gmail.com>
16146
be97a69e
UD
16147 [BZ #11532]
16148 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
16149 and CP774 modules.
16150 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
16151 and CP774 modules.
16152 * iconvdata/tst-tables.sh: Likewise.
16153 * iconvdata/cp770.c: New file.
16154 * iconvdata/cp771.c: New file.
16155 * iconvdata/cp772.c: New file.
16156 * iconvdata/cp773.c: New file.
16157 * iconvdata/cp774.c: New file.
16158 * iconvdata/testdata/CP770: New file.
16159 * iconvdata/testdata/CP770..UTF8: New file.
16160 * iconvdata/testdata/CP771: New file.
16161 * iconvdata/testdata/CP771..UTF8: New file.
16162 * iconvdata/testdata/CP772: New file.
16163 * iconvdata/testdata/CP772..UTF8: New file.
16164 * iconvdata/testdata/CP773: New file.
16165 * iconvdata/testdata/CP773..UTF8: New file.
16166 * iconvdata/testdata/CP774: New file.
16167 * iconvdata/testdata/CP774..UTF8: New file.
16168
16169 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
16170 END CHARMAP line.
16171 * iconvdata/gen-8bit-gap.sh: Likewise.
16172 * iconvdata/gen-8bit.sh: Likewise.
16173
c1e9e399
UD
16174 * locale/iso-639.def: Add ary entry.
16175
24c55fb3 16176 [BZ #11258]
96b4b1b0
UD
16177 * locale/C-translit.h.in: Add U20A1 transliteration.
16178
bdc2f971
KB
16179 [BZ #12178]
16180 * locale/iso-639.def: Add wae entry.
16181 Patch by Kevin Bortis <bortis@translate-wae.ch>.
16182
2952b117
UD
16183 [BZ #12545]
16184 * locale/programs/localedef.c (construct_output_path): Use ssize_t
16185 for n.
16186
2a81eaa5
UD
16187 [BZ #12711]
16188 * locale/C-translit.h.in: Add entry for U20B9.
16189 Patch by pravin.d.s@gmail.com.
16190
28377d1b
UD
161912011-05-08 Ulrich Drepper <drepper@gmail.com>
16192
7fb90fb8
UD
16193 [BZ #12713]
16194 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
16195 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
16196 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
16197 in rtld. Use *stat64.
7fb90fb8 16198 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 16199 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 16200 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
16201 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
16202 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
16203 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
16204 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
16205 __fstatat64 macros.
7fb90fb8
UD
16206 * include/dirent.h: Add libc_hidden_proto for rewinddir.
16207 * dirent/rewinddir.c: Add libc_hidden_def.
16208 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 16209 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 16210
28377d1b
UD
16211 * include/dirent.h (__alloc_dir): Add flags parameter.
16212 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
16213 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
16214 __alloc_dir.
16215 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
16216 from fdopendir if O_CLOEXEC is already set.
16217
66bdbaa4
AM
162182011-03-15 Alan Modra <amodra@gmail.com>
16219
16220 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
16221 l_tls_firstbyte_offset non-zero. Save padding offset in
16222 l_tls_firstbyte_offset for later use.
16223 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
16224 freeing static tls block.
16225
95721191
JN
162262011-03-05 Jonathan Nieder <jrnieder@gmail.com>
16227
16228 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
16229 where #ifdef was intended. The intent is to prevent ARG_MAX from
16230 being defined by the kernel headers.
16231
f87dfb1f
UD
162322011-05-07 Ulrich Drepper <drepper@gmail.com>
16233
16234 [BZ #12734]
16235 * resolv/resolv.h: Define RES_NOTLDQUERY.
16236 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
16237 no-tld-query and set RES_NOTLDQUERY.
16238 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
16239 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
16240 modern BIND to search name as TLD unless forbidden.
16241
47c3cd7a
UD
162422011-05-07 Petr Baudis <pasky@suse.cz>
16243 Ulrich Drepper <drepper@gmail.com>
16244
16245 [BZ #12393]
16246 * elf/dl-load.c (fillin_rpath): Move trusted path check...
16247 (is_trusted_path): ...to here.
c1e9ea35 16248 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 16249 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 16250 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 16251
8a35c912
PP
162522011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16253
16254 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
16255 __BEGIN/__END_DECLS.
16256
acd41f47
UD
162572011-05-06 Ulrich Drepper <drepper@gmail.com>
16258
16259 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
16260 NSS_STATUS_NOTFOUND if no record was found.
16261
597df647
AS
162622011-05-05 Andreas Schwab <schwab@redhat.com>
16263
16264 * sunrpc/Makefile (headers): Add rpc/netdb.h.
16265 (headers-not-in-tirpc): Remove rpc/netdb.h
16266 * resolv/netdb.h: Revert last change.
16267
b9af1301
PP
162682011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16269
16270 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
16271 circular dependency between libgcc.a and libc.a.
16272
4e34d5f5
AS
162732011-05-05 Andreas Schwab <schwab@redhat.com>
16274
16275 * resolv/netdb.h: Don't include <rpc/netdb.h>.
16276 * nis/Makefile: Don't install rpcsvc/*.
16277 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16278 instead of <rpc/types.h>.
16279 (MAXHOSTNAMELEN): Define.
16280
00ee369c
AS
162812011-05-03 Andreas Schwab <schwab@redhat.com>
16282
16283 * elf/ldconfig.c (add_dir): Don't crash on empty path.
16284
0b592a30
MB
162852011-04-28 Maciej Babinski <mbabinski@google.com>
16286
16287 [BZ #12714]
16288 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16289 gethostbyname4_r when IPv6 results are possible.
16290
6e04cbbe
UD
162912011-05-02 Ulrich Drepper <drepper@gmail.com>
16292
16293 [BZ #12723]
16294 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16295 _PC_PIPE_BUF handling.
16296
e4ecafe0
BH
162972011-04-30 Bruno Haible <bruno@clisp.org>
16298
16299 [BZ #12717]
16300 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16301 * resolv/netdb.h (getnameinfo): Change type of flags parameter
16302 to 'int'.
16303 * inet/getnameinfo.c (getnameinfo): Likewise.
16304
125ee683
UD
163052011-04-29 Ulrich Drepper <drepper@gmail.com>
16306
16307 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16308 to groups setting in database lookup.
16309 * nss/nsswitch.conf: Add initgroups entry.
16310
b722481a
EB
163112011-04-22 Ulrich Drepper <drepper@gmail.com>
16312
16313 [BZ #12685]
16314 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16315 mode string.
16316 Patch by Eric Blake <eblake@redhat.com>.
16317
4df46dbd
L
163182011-04-20 H.J. Lu <hongjiu.lu@intel.com>
16319
16320 * sunrpc/Makefile (need-export-routines): Add svc_run.
16321 (routines): Remove svc_run.
16322 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16323 * sunrpc/clnt_perr.c (clnt_perrno): Export.
16324 * sunrpc/svc_run.c (svc_run): Likewise.
16325 * sunrpc/svc_udp.c (svcudp_create): Likewise.
16326
e84142d2
UD
163272011-04-21 Ulrich Drepper <drepper@gmail.com>
16328
16329 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16330 problem in reallocation in last patch.
16331
877175d8
UD
163322011-04-20 Ulrich Drepper <drepper@gmail.com>
16333
16334 * sunrpc/Makefile: Move inclusion of Rules.
16335
ab8eed78
UD
163362011-04-19 Ulrich Drepper <drepper@gmail.com>
16337
16338 * nss/nss_files/files-initgroups.c: New file.
16339 * nss/Makefile (libnss_files-routines): Add files-initgroups.
16340 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16341 _nss_files_initgroups_dyn.
16342
e3d8f584
RS
163432011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
16344
16345 * elf/elf.h (R_ARM_IRELATIVE): Define.
16346
af190f45
UD
163472011-04-19 Ulrich Drepper <drepper@gmail.com>
16348
16349 * po/ru.po: Update from translation team.
16350
53cf59ef
UD
163512011-04-17 Ulrich Drepper <drepper@gmail.com>
16352
16353 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16354 dependencies.
16355
4c559bcd
MF
163562011-02-06 Mike Frysinger <vapier@gentoo.org>
16357
16358 [BZ #12653]
16359 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16360 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16361 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16362 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16363 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16364
4420675c
AS
163652011-03-28 Andreas Schwab <schwab@linux-m68k.org>
16366
16367 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16368 differing bytes.
16369 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16370 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16371 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16372
75ea32ab
UD
163732011-04-17 Ulrich Drepper <drepper@gmail.com>
16374
16375 [BZ #12420]
16376 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
16377 storing it.
16378 * stdlib/bug-getcontext.c: New file.
16379 * stdlib/Makefile: Add rules to build and run bug-getcontext.
16380
27390476
AK
163812011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16382
16383 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
16384 instructions into .machine "z9-109".
16385 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16386 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16387
10442705
AK
163882011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16389
16390 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
16391 between environment variables and auxiliary vector.
16392
7b57bfe5
UD
163932011-04-16 Ulrich Drepper <drepper@gmail.com>
16394
16395 * Makefile: Add rules to build linkobj/libc.so.
16396 * include/libc-symbols.h: Define libc_hidden_nolink.
16397 * include/rpc/auth.h: Mark functions which are to be hidden.
16398 * include/rpc/auth_des.h: Likewise.
16399 * include/rpc/auth_unix.h: Likewise.
16400 * include/rpc/clnt.h: Likewise.
16401 * include/rpc/des_crypt.h: Likewise.
16402 * include/rpc/key_prot.h: Likewise.
16403 * include/rpc/pmap_clnt.h: Likewise.
16404 * include/rpc/pmap_prot.h: Likewise.
16405 * include/rpc/pmap_rmt.h: Likewise.
16406 * include/rpc/rpc_msg.h: Likewise.
16407 * include/rpc/svc.h: Likewise.
16408 * include/rpc/svc_auth.h: Likewise.
16409 * include/rpc/xdr.h: Likewise.
16410 * nis/Makefile: Link all DSOs against linkobj/libc.so.
16411 * nss/Makefile: Likewise.
16412 * sunrpc/Makefile: Don't install headers. Build library with normal
16413 entry points. Don't build rpcinfo. Link RPC tests appropriately.
16414 * sunrpc/auth_des.c: Hide exported symbols by default, export some
16415 for the compat linking library. Remove use of INTDEF/INTUSE.
16416 * sunrpc/auth_none.c: Likewise.
16417 * sunrpc/auth_unix.c: Likewise.
16418 * sunrpc/authdes_prot.c: Likewise.
16419 * sunrpc/authuxprot.c: Likewise.
16420 * sunrpc/clnt_gen.c: Likewise.
16421 * sunrpc/clnt_perr.c: Likewise.
16422 * sunrpc/clnt_raw.c: Likewise.
16423 * sunrpc/clnt_simp.c: Likewise.
16424 * sunrpc/clnt_tcp.c: Likewise.
16425 * sunrpc/clnt_udp.c: Likewise.
16426 * sunrpc/clnt_unix.c: Likewise.
16427 * sunrpc/des_crypt.c: Likewise.
16428 * sunrpc/des_soft.c: Likewise.
16429 * sunrpc/get_myaddr.c: Likewise.
16430 * sunrpc/key_call.c: Likewise.
16431 * sunrpc/key_prot.c: Likewise.
16432 * sunrpc/netname.c: Likewise.
16433 * sunrpc/pm_getmaps.c: Likewise.
16434 * sunrpc/pm_getport.c: Likewise.
16435 * sunrpc/pmap_clnt.c: Likewise.
16436 * sunrpc/pmap_prot.c: Likewise.
16437 * sunrpc/pmap_prot2.c: Likewise.
16438 * sunrpc/pmap_rmt.c: Likewise.
16439 * sunrpc/publickey.c: Likewise.
16440 * sunrpc/rpc_cmsg.c: Likewise.
16441 * sunrpc/rpc_common.c: Likewise.
16442 * sunrpc/rpc_dtable.c: Likewise.
16443 * sunrpc/rpc_prot.c: Likewise.
16444 * sunrpc/rpc_thread.c: Likewise.
16445 * sunrpc/rtime.c: Likewise.
16446 * sunrpc/svc.c: Likewise.
16447 * sunrpc/svc_auth.c: Likewise.
16448 * sunrpc/svc_authux.c: Likewise.
16449 * sunrpc/svc_raw.c: Likewise.
16450 * sunrpc/svc_run.c: Likewise.
16451 * sunrpc/svc_simple.c: Likewise.
16452 * sunrpc/svc_tcp.c: Likewise.
16453 * sunrpc/svc_udp.c: Likewise.
16454 * sunrpc/svc_unix.c: Likewise.
16455 * sunrpc/svcauth_des.c: Likewise.
16456 * sunrpc/xcrypt.c: Likewise.
16457 * sunrpc/xdr.c: Likewise.
16458 * sunrpc/xdr_array.c: Likewise.
16459 * sunrpc/xdr_float.c: Likewise.
16460 * sunrpc/xdr_intXX_t.c: Likewise.
16461 * sunrpc/xdr_mem.c: Likewise.
16462 * sunrpc/xdr_rec.c: Likewise.
16463 * sunrpc/xdr_ref.c: Likewise.
16464 * sunrpc/xdr_sizeof.c: Likewise.
16465 * sunrpc/xdr_stdio.c: Likewise.
16466
e6c61494
UD
164672011-04-10 Ulrich Drepper <drepper@gmail.com>
16468
16469 [BZ #12650]
16470 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
16471 * sysdeps/ia64/dl-tls.h: Likewise.
16472 * sysdeps/powerpc/dl-tls.h: Likewise.
16473 * sysdeps/s390/dl-tls.h: Likewise.
16474 * sysdeps/sh/dl-tls.h: Likewise.
16475 * sysdeps/sparc/dl-tls.h: Likewise.
16476 * sysdeps/x86_64/dl-tls.h: Likewise.
16477 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
16478
34fe483e
AS
164792011-03-14 Andreas Schwab <schwab@redhat.com>
16480
16481 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
16482 rpath element also skip the following colon.
16483 (expand_dynamic_string_token): Add is_path parameter and pass
16484 down to DL_DST_REQUIRED and _dl_dst_substitute.
16485 (decompose_rpath): Call expand_dynamic_string_token with
16486 non-zero is_path. Ignore empty rpaths.
16487 (_dl_map_object_from_fd): Call expand_dynamic_string_token
16488 with zero is_path.
16489
f12a32e6
AS
164902011-04-08 Andreas Schwab <schwab@linux-m68k.org>
16491
16492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16493 Make cancelable.
16494
38a7d692
UD
164952011-04-09 Ulrich Drepper <drepper@gmail.com>
16496
16497 [BZ #12655]
16498 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
16499 Patch by Filipe David Manana <fdmanana@apache.org>.
16500
e451d22b
AS
165012011-04-07 Andreas Schwab <schwab@redhat.com>
16502
16503 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
16504 Maintain aligned stack.
16505 (CHECK_RSP): Remove unused macro.
16506
dedc7c7b
UD
165072011-04-03 Ulrich Drepper <drepper@gmail.com>
16508
16509 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
16510 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
16511
94521213
UD
165122011-04-02 Ulrich Drepper <drepper@gmail.com>
16513
16514 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
16515
8cb700c0 16516 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 16517
0354e355
L
165182011-03-26 H.J. Lu <hongjiu.lu@intel.com>
16519
16520 [BZ #12518]
16521 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
16522 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
16523 * sysdeps/x86_64/memmove.c: New file.
16524 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
16525 (memcpy): Renamed to ...
16526 (__new_memcpy): This.
16527 (memcpy): Provide GLIBC_2_14 memcpy.
16528 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
16529 (memcpy): Provide GLIBC_2_2_5 memcpy.
16530
8593482f
UD
165312011-04-01 Ulrich Drepper <drepper@gmail.com>
16532
16533 [BZ #12631]
16534 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
16535
81a5726b
AS
165362011-03-30 Andreas Schwab <schwab@redhat.com>
16537
16538 * misc/syncfs.c: New file.
16539 * misc/Makefile (routines): Add syncfs.
16540 * posix/unistd.h: Declare syncfs.
16541 * sysdeps/unix/syscalls.list: Add syncfs.
16542
00e5419f
AS
165432011-04-01 Andreas Schwab <schwab@redhat.com>
16544
16545 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
16546 open_by_handle_at.
16547 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16548 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16549 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16550 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16551 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16552 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
16553 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16554
748876bf
UD
165552011-04-01 Ulrich Drepper <drepper@gmail.com>
16556
658e451d
UD
16557 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
16558 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16559 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
16560 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16561 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16562 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16563 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16564
748876bf
UD
16565 * io/Makefile: Compile fallocate.c, fallocate64.c, and
16566 sync_file_range.c with -fexceptions.
16567 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
16568 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
16569 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16570 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16571 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16572 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16573 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
16574 sync_file_range as cancellation point
16575 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
16576 now a wrapper around __call_sync_file_range with cancellation handling.
16577 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
16578 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
16579 function name to __call_sync_file_range.
16580 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
16581 Add call_sync_file_range.
748876bf 16582
6e63d5e1
AS
165832011-04-01 Andreas Schwab <schwab@redhat.com>
16584
16585 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 16586 bits/timex.h.
6e63d5e1 16587
46998f74
UD
165882011-04-01 Ulrich Drepper <drepper@gmail.com>
16589
4c1423ed
UD
16590 * iconv/iconv.h: Fix typo in comment.
16591 * io/fcntl.h: Likewise.
16592 * libio/stdio.h: Likewise.
16593 * posix/spawn.h: Likewise.
16594 * posix/unistd.h: Likewise.
16595 * stdlib/stdlib.h: Likewise.
16596 * time/time.h: Likewise.
16597 * wcsmbs/wchar.h: Likewise.
16598
158648c0
UD
16599 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
16600 open_by_handle): Add.
16601 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
16602 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
16603 Augment a few comments.
16604 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16605 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16606 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16607 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16608 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16609 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
16610 open_by_handle.
16611
46998f74
UD
16612 * io/fcntl.h (AT_EMPTY_PATH): Define.
16613
83fe108b
UD
166142011-03-30 Ulrich Drepper <drepper@gmail.com>
16615
16616 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
16617 * sysdeps/unix/sysv/linux/bits/time.h: New file.
16618 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
16619 to...
16620 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
16621 * Versions.def: Add GLIBC_2.14.
16622 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
16623 Export.
83fe108b 16624
bb242059
UD
166252011-03-22 Ulrich Drepper <drepper@gmail.com>
16626
16627 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
16628 round counter.
16629 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16630
c97a1282
L
166312011-03-20 H.J. Lu <hongjiu.lu@intel.com>
16632
16633 [BZ #12597]
16634 * string/test-strncmp.c (do_page_test): New function.
16635 (check2): Likewise.
16636 (test_main): Call check2.
16637 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
16638
2a115601
UD
166392011-03-20 Ulrich Drepper <drepper@gmail.com>
16640
16641 [BZ #12587]
16642 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
16643 Handle cache information in CPU leaf 4.
16644 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16645
8126d904
UD
166462011-03-18 Ulrich Drepper <drepper@gmail.com>
16647
042c49c6 16648 [BZ #12583]
8126d904
UD
16649 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
16650 character representation.
16651 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
16652
ccfe366e
RA
166532011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
16654
16655 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
16656 END(__isnan) to END(__isnanf) to match function entry point/label
16657 EALIGN(__isnanf,...).
16658
c6e13027
JJ
166592011-03-10 Jakub Jelinek <jakub@redhat.com>
16660
16661 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
16662
33f85a3f
UD
166632011-03-10 Ulrich Drepper <drepper@gmail.com>
16664
028478fa
UD
16665 [BZ #12510]
16666 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
16667 copy from the symbol referenced in the relocation to initialize the
16668 used variable.
16669 Patch by Piotr Bury <pbury@goahead.com>.
16670 * elf/Makefile: Add rules to build and tst-unique3.
16671 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
16672 * elf/tst-unique3.cc: New file.
16673 * elf/tst-unique3.h: New file.
16674 * elf/tst-unique3lib.cc: New file.
16675 * elf/tst-unique3lib2.cc: New file.
16676
33f85a3f
UD
16677 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
16678
03592fc7
MF
166792011-03-10 Mike Frysinger <vapier@gentoo.org>
16680
16681 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
16682 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
16683 to _start.
03592fc7 16684
6a5ee102
UD
166852011-03-06 Ulrich Drepper <drepper@gmail.com>
16686
16687 * elf/dl-load.c (_dl_map_object): If we are looking for the first
16688 to-be-loaded object along a path to loader is ld.so.
16689
7e4ba49c
HJ
166902011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16691 Ulrich Drepper <drepper@gmail.com>
16692
16693 * sysdeps/x86_64/memset.S: After aligning destination, code
16694 branches to different locations depending on the value of
16695 misalignment, when multiarch is enabled. Fix this.
16696
166972011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16698
16699 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
16700 Set _x86_64_preferred_memory_instruction for AMD processsors.
16701 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16702 Set bit_Prefer_SSE_for_memop for AMD processors.
16703
13a804de
UD
167042011-03-04 Ulrich Drepper <drepper@gmail.com>
16705
16706 * libio/fmemopen.c (fmemopen): Optimize a bit.
16707
9d25c392
AS
167082011-03-03 Andreas Schwab <schwab@redhat.com>
16709
16710 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
16711
a5543c6a
RM
167122011-03-03 Roland McGrath <roland@redhat.com>
16713
16714 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
16715
012d35f7
DM
167162011-02-28 Aurelien Jarno <aurelien@aurel32.net>
16717
7e4ba49c 16718 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
16719 __bzero_ultra1 instead of __memset_ultra1.
16720
4bff6e01
AS
167212011-02-23 Andreas Schwab <schwab@redhat.com>
16722 Ulrich Drepper <drepper@gmail.com>
16723
16724 [BZ #12509]
16725 * include/link.h (struct link_map): Add l_orig_initfini.
16726 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
16727 returning unsuccessfully.
16728 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
16729 close of a file loaded at startup, restore the original l_initfini
16730 list.
16731 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
16732 list, store the pointer.
16733 * elf/Makefile ($(objpfx)noload-mem): New rule.
16734 (noload-ENV): Define.
16735 (tests): Add $(objpfx)noload-mem.
16736 * elf/noload.c: Include <memcheck.h>.
16737 (main): Call mtrace. Close all opened handles.
16738
f2092faf
AS
167392011-02-17 Andreas Schwab <schwab@redhat.com>
16740
16741 [BZ #12454]
16742 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
16743 dependencies are missing.
16744
6c8a2e88
ST
167452011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16746
f2092faf 16747 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
16748 Hurd needs munmap.
16749 * sysdeps/mach/hurd/ifreq.h: New file.
16750
84a42118
PB
167512011-01-27 Petr Baudis <pasky@suse.cz>
16752 Ulrich Drepper <drepper@gmail.com>
16753
071f805e 16754 [BZ 12445]#
84a42118
PB
16755 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
16756 to extend_alloca().
16757 * stdio-common/bug23.c: New file.
16758 * stdio-common/Makefile (tests): Add bug23.
16759
e23fe25b
AS
167602010-09-28 Andreas Schwab <schwab@redhat.com>
16761 Ulrich Drepper <drepper@gmail.com>
16762
16763 [BZ #12489]
16764 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
16765 before performing relro protection. At old place add assertion
16766 to make sure nothing changed.
16767
d3f02e10
NS
167682011-02-17 Nathan Sidwell <nathan@codesourcery.com>
16769 Glauber de Oliveira Costa <glommer@gmail.com>
16770
16771 * elf/elf.h: Add new ARM TLS relocs.
16772
d55fd7a5
RA
167732011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
16774
16775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16776 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
16777 cast from r3.
16778 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
16779 'tests' variable.
16780 * sysdeps/wordsize-64/tst-writev.c: New file.
16781
2206397e
RA
167822011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
16783
16784 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
16785 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
16786 insns in _dl_start to prevent a TOC reference before relocs are
16787 resolved.
16788
e9433893
UD
167892011-02-15 Ulrich Drepper <drepper@gmail.com>
16790
16791 [BZ #12469]
16792 * Makeconfig: Remove RANLIB definition.
16793 * Makerules: Don't use RANLIB.
16794 * aclocal.m4: Remove ranlib test.
16795 * configure.in: No need to check for ranlib.
16796 * elf/rtld-Rules: Don't use RANLIB.
16797
f75286c6
ST
167982011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16799
8e31c82d
ST
16800 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
16801 protection macro.
16802 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
16803 inclusion protection macro.
16804
f75286c6
ST
16805 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
16806 SIGRTMIN and SIGRTMAX and print information in that case only when
16807 SIGRTMIN is defined.
16808
c1d0e639
JJ
168092011-02-11 Jakub Jelinek <jakub@redhat.com>
16810
16811 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
16812 arginfo fn returning -1.
16813
16814 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
16815 and thousands string is zero terminated.
16816
edf9294e
AS
168172011-02-03 Andreas Schwab <schwab@redhat.com>
16818
16819 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
16820 sysdeps/unix/sysv/linux/bits/socket.h.
16821
2b7e92df
ST
168222011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16823
edf9294e
AS
16824 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
16825 (__CPU_COUNT): Remove old macros.
16826 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
16827 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
16828 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
16829 (__sched_cpualloc, __sched_cpufree): Add declarations.
16830
a4c7ea7b
UD
168312011-02-05 Ulrich Drepper <drepper@gmail.com>
16832
16833 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
16834 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
16835 * nscd/aicache.c (addhstaiX): Return timeout of added value.
16836 (readdhstai): Return value of addhstaiX call.
16837 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
16838 (addgrbyX): Return value returned by cache_addgr.
16839 (readdgrbyname): Return value returned by addgrbyX.
16840 (readdgrbygid): Likewise.
16841 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
16842 (addpwbyX): Return value returned by cache_addpw.
16843 (readdpwbyname): Return value returned by addhstbyX.
16844 (readdpwbyuid): Likewise.
16845 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
16846 (addservbyX): Return value returned by cache_addserv.
16847 (readdservbyname): Return value returned by addservbyX:
16848 (readdservbyport): Likewise.
16849 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
16850 (addhstbyX): Return value returned by cache_addhst.
16851 (readdhstbyname): Return value returned by addhstbyX.
16852 (readdhstbyaddr): Likewise.
16853 (readdhstbynamev6): Likewise.
16854 (readdhstbyaddrv6): Likewise.
16855 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
16856 (readdinitgroups): Return value returned by addinitgroupsX.
16857 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
16858 (prune_cache): Keep track of timeout value of re-added entries.
16859 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
16860 * nscd/nscd.h: Adjust prototypes of readd* functions.
16861
a0bf67cc
RM
168622011-02-04 Roland McGrath <roland@redhat.com>
16863
16864 * nis/nis_server.c (nis_servstate): Use the right name for 0.
16865 (nis_stats): Likewise.
16866 * nis/nis_modify.c (nis_modify): Likewise.
16867 * nis/nis_remove.c (nis_remove): Likewise.
16868 * nis/nis_add.c (nis_add): Likewise.
16869
16870 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
16871
16872 * posix/fnmatch_loop.c: Add some consts.
16873
16874 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
16875
435b95eb
L
168762011-02-02 H.J. Lu <hongjiu.lu@intel.com>
16877
16878 [BZ #12460]
16879 * config.make.in (config-cflags-novzeroupper): Define.
16880 * configure.in: Substitute libc_cv_cc_novzeroupper.
16881 * elf/Makefile (AVX-CFLAGS): Define.
16882 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
16883 (CFLAGS-tst-auditmod4a.c): Likewise.
16884 (CFLAGS-tst-auditmod4b.c): Likewise.
16885 (CFLAGS-tst-auditmod6b.c): Likewise.
16886 (CFLAGS-tst-auditmod6c.c): Likewise.
16887 (CFLAGS-tst-auditmod7b.c): Likewise.
16888 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
16889
8517b15e
UD
168902011-02-02 Ulrich Drepper <drepper@gmail.com>
16891
16892 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
16893 function to the callback.
16894 Patch partly by Jiri Olsa <jolsa@redhat.com>.
16895
10a656fe
AS
168962011-02-02 Andreas Schwab <schwab@redhat.com>
16897
16898 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
16899 of errno.
16900
968dad0a
UD
169012011-01-19 Ulrich Drepper <drepper@gmail.com>
16902
9f94d2ea 16903 [BZ #11724]
968dad0a
UD
16904 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
16905 of constructors.
16906 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
16907 of destructors.
16908 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
16909
16910 [BZ #11724]
16911 * elf/Makefile: Add rules to build and run new test.
16912 * elf/tst-initorder.c: New file.
16913 * elf/tst-initorder.exp: New file.
16914 * elf/tst-initordera1.c: New file.
16915 * elf/tst-initordera2.c: New file.
16916 * elf/tst-initordera3.c: New file.
16917 * elf/tst-initordera4.c: New file.
16918 * elf/tst-initorderb1.c: New file.
16919 * elf/tst-initorderb2.c: New file.
16920 * elf/tst-order-a1.c: New file.
16921 * elf/tst-order-a2.c: New file.
16922 * elf/tst-order-a3.c: New file.
16923 * elf/tst-order-a4.c: New file.
16924 * elf/tst-order-b1.c: New file.
16925 * elf/tst-order-b2.c: New file.
16926 * elf/tst-order-main.c: New file.
16927 New test case by George Gensure <werkt0@gmail.com>.
16928
86e92359
UD
169292010-10-01 Andreas Schwab <schwab@redhat.com>
16930
16931 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16932 decoding ACE if AI_CANONIDN.
16933
5d5732b0
UD
169342011-01-18 Ulrich Drepper <drepper@gmail.com>
16935
16936 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
16937
a77e8cbc
UD
169382011-01-17 Ulrich Drepper <drepper@gmail.com>
16939
6392473f
UD
16940 * version.h (RELEASE): Bump for 2.13 release.
16941 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
16942
620a0529
UD
16943 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
16944
18ba70a5
UD
16945 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
16946 MADV_NOHUGEPAGE.
32465c3e
UD
16947 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
16948 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16949 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16950 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16951 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16952 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16953
c0dafcf1
UD
16954 * posix/getconf.c: Update copyright year.
16955 * catgets/gencat.c: Likewise.
16956 * csu/version.c: Likewise.
16957 * debug/catchsegv.sh: Likewise.
16958 * debug/xtrace.sh: Likewise.
16959 * elf/ldconfig.c: Likewise.
16960 * elf/ldd.bash.in: Likewise.
16961 * elf/sprof.c (print_version): Likewise.
16962 * iconv/iconv_prog.c: Likewise.
16963 * iconv/iconvconfig.c: Likewise.
16964 * locale/programs/locale.c: Likewise.
16965 * locale/programs/localedef.c: Likewise.
16966 * malloc/memusage.sh: Likewise.
16967 * malloc/mtrace.pl: Likewise.
16968 * nscd/nscd.c (print_version): Likewise.
16969 * nss/getent.c: Likewise.
16970
a77e8cbc
UD
16971 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
16972 PF_CAIF, and PF_ALG.
16973 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16974
77e8bddf
AS
169752011-01-16 Andreas Schwab <schwab@linux-m68k.org>
16976
1f20b93a
AS
16977 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
16978 (modules-names): Use them.
16979 (ifunc-test-modules, ifunc-pie-tests): Define.
16980 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
16981 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
16982 (test-extras): Likewise.
16983 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
16984 $(compile-command.c).
16985 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
16986 (all-built-dso): Define.
16987 (check-textrel.out, check-execstack.out): Depend on it.
16988
77e8bddf
AS
16989 * configure.in: Don't override --enable-multi-arch.
16990
bc425b33
UD
169912011-01-15 Ulrich Drepper <drepper@gmail.com>
16992
16993 [BZ #6812]
16994 * nscd/hstcache.c (tryagain): Define.
16995 (cache_addhst): Return tryagain not notfound for temporary errors.
16996 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
16997 failed.
16998
794c3ad3
UD
169992011-01-14 Ulrich Drepper <drepper@gmail.com>
17000
70181fdd
UD
17001 [BZ #10563]
17002 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
17003 to make the syscall.
17004 * sysdeps/unix/sysv/linux/setgroups.c: New file.
17005
794c3ad3
UD
17006 [BZ #12378]
17007 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
17008 and fall back to matching as normal character if the string ends before
17009 the matching ']' is found. This is what POSIX requires.
17010 * posix/testfnm.c: Adjust test result.
17011 * posix/globtest.sh: Adjust test result. Add new test.
17012 * posix/tst-fnmatch.input: Likewise.
17013 * posix/tst-fnmatch2.c: Add new test.
17014
68dc9497
AS
170152010-12-28 Andreas Schwab <schwab@linux-m68k.org>
17016
17017 * elf/Makefile (check-execstack): Revert last change. Depend on
17018 check-execstack.h.
17019 (check-execstack.h): New target.
17020 (generated): Add check-execstack.h.
17021 * elf/check-execstack.c: Include "check-execstack.h".
17022 (main): Revert last change.
17023 (handle_file): Return zero if GNU_STACK is absent and
17024 DEFAULT_STACK_PERMS doesn't include PF_X.
17025
451f001b
UD
170262011-01-13 Ulrich Drepper <drepper@gmail.com>
17027
cfa28e56
UD
17028 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
17029 in child fails because the descriptor is already closed.
8cf8ce17
UD
17030 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
17031 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
17032 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 17033
1086d70d
UD
17034 [BZ #12397]
17035 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
17036 syscall.
17037
451f001b
UD
17038 [BZ #10484]
17039 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
17040 temporary buffer used to handle multi lookups locally.
a85b5cb4 17041 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 17042
08769175
UD
170432011-01-12 Ulrich Drepper <drepper@gmail.com>
17044
17045 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
17046 loader is ld.so.
17047
5e49c52e
UD
170482011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
17049
17050 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
17051 alignment for SSE2.
17052
60522a5f
UD
170532011-01-12 Ulrich Drepper <drepper@gmail.com>
17054
17055 [BZ #12394]
17056 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
17057 characters. When rounding increased number of integer digits recompute
17058 number of groups.
17059 * stdio-common/tst-grouping.c: New file.
17060 * stdio-common/Makefile: Add rules to build and run tst-grouping.
17061
f257bbd7
UD
170622011-01-09 Ulrich Drepper <drepper@gmail.com>
17063
17064 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
17065 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
17066
17067 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
17068 void.
17069 * bits/select.h: Likewise.
17070
fa9c15cb
UD
170712011-01-08 Ulrich Drepper <drepper@gmail.com>
17072
17073 * po/ja.po: Update from translation team.
17074
16c2895f
DM
170752011-01-04 David S. Miller <davem@sunset.davemloft.net>
17076
17077 [BZ #11155]
17078 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
17079 implementation just like for lxstat, fxstatat, et al.
17080
2543fef2
JM
170812010-12-27 Jim Meyering <meyering@redhat.com>
17082
17083 [BZ #12348]
17084 * posix/regexec.c (build_trtable): Return failure indication upon
17085 calloc failure. Otherwise, re_search_internal could infloop on OOM.
17086
98727dbe
UD
170872010-12-25 Ulrich Drepper <drepper@gmail.com>
17088
5bd6dc5c
UD
17089 [BZ #12201]
17090 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
17091 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
17092 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
17093 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
17094
97983464
UD
17095 [BZ #12207]
17096 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
17097
98727dbe
UD
17098 [BZ #12204]
17099 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
17100 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
17101
4a531bb0
L
171022010-12-15 H.J. Lu <hongjiu.lu@intel.com>
17103
17104 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
17105 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
17106 script has SORT_BY_INIT_PRIORITY.
17107 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
17108 NO_CTORS_DTORS_SECTIONS is defined.
17109 * elf/soinit.c: Likewise.
17110 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
17111 NO_CTORS_DTORS_SECTIONS is defined.
17112 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
17113 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
17114 * sysdeps/sh/init-first.c: Likewise.
17115 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
17116
07eb4b71
UD
171172010-12-24 Ulrich Drepper <drepper@gmail.com>
17118
17119 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
17120 always use the slow path.
17121
30950a5f
RA
171222010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
17123
17124 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
17125 similar rule which adds the sysdep directories to the header search in
17126 order to pick up the correct platform stackinfo.h.
17127 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
17128 perform test if it is, otherwise return successfully without testing.
17129 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
17130 DEFAULT_STACK_PERMS define in stackinfo.h.
17131 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
17132 defined in stackinfo.h.
17133 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
17134 DEFAULT_STACK_PERMS defined in stackinfo.h.
17135 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
17136 * sysdeps/ia64/stackinfo.h: Likewise.
17137 * sysdeps/s390/stackinfo.h: Likewise.
17138 * sysdeps/sh/stackinfo.h: Likewise.
17139 * sysdeps/sparc/stackinfo.h: Likewise.
17140 * sysdeps/x86_64/stackinfo.h: Likewise.
17141 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
17142 PF_X for powerpc64. Retain PF_X for powerpc32.
17143
db753e2c
UD
171442010-12-19 Ulrich Drepper <drepper@gmail.com>
17145
14b697f7
UD
17146 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
17147 accurately.
db753e2c
UD
17148 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
17149 GETDENTS_64BIT_ALIGNED.
17150
28300719
UD
171512010-12-14 Ulrich Drepper <dreper@gmail.com>
17152
14b697f7 17153 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 17154
4f197237
AS
171552010-12-10 Andreas Schwab <schwab@redhat.com>
17156
dbb0472f
AS
17157 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
17158 _GNU_SOURCE.
17159
4f197237
AS
17160 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
17161 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
17162 Remove __restrict.
17163 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
17164 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
17165
fb88ac72
UD
171662010-12-09 Ulrich Drepper <drepper@gmail.com>
17167
17168 [BZ #11655]
17169 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
17170 are initialized.
17171
42acbb92
JJ
171722010-12-09 Jakub Jelinek <jakub@redhat.com>
17173
17174 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
17175
c038d98d
UD
171762010-12-03 Ulrich Drepper <drepper@gmail.com>
17177
17178 * po/it.po: Update from translation team.
17179
3a4a2499
L
171802010-12-01 H.J. Lu <hongjiu.lu@intel.com>
17181
17182 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
17183 unused codes.
17184
1e24cf6e
UD
171852010-11-30 Ulrich Drepper <drepper@gmail.com>
17186
17187 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
17188
a7690819
AS
171892010-11-24 Andreas Schwab <schwab@redhat.com>
17190
17191 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
17192 specially.
17193 (gaih_getanswer_slice): Likewise.
17194
3bf8d1b1
JJ
171952010-10-20 Jakub Jelinek <jakub@redhat.com>
17196
17197 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
17198
6db52fbb
PB
171992010-05-31 Petr Baudis <pasky@suse.cz>
17200
17201 [BZ #11149]
17202 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
17203 silently even in the chroot mode.
17204
eaca7569
UD
172052010-11-22 Ulrich Drepper <drepper@gmail.com>
17206
17207 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
17208 last patch a bit. Pretty printing
17209
3056dcdb
UD
172102010-05-31 Petr Baudis <pasky@suse.cz>
17211
17212 [BZ #10085]
17213 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
17214 initialization of skip_initgroups_dyn.
17215
cf7c9078
UD
172162010-11-19 Ulrich Drepper <drepper@gmail.com>
17217
17218 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
17219 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17220
a1fb5e3e
UD
172212010-11-16 Ulrich Drepper <drepper@gmail.com>
17222
17223 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
17224
3540d66b
AS
172252010-11-11 Andreas Schwab <schwab@redhat.com>
17226
17227 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
17228 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
17229 (tst-fnmatch-ENV): Set MALLOC_TRACE.
17230 ($(objpfx)tst-fnmatch-mem): New rule.
17231 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
17232 * posix/tst-fnmatch.c (main): Call mtrace.
17233
13b69574
L
172342010-11-11 H.J. Lu <hongjiu.lu@intel.com>
17235
17236 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17237 Support Intel processor model 6 and model 0x2c.
17238
da93d214
LM
172392010-11-10 Luis Machado <luisgpm@br.ibm.com>
17240
17241 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
17242 signed comparison.
17243
8ca52c6e
L
172442010-11-09 H.J. Lu <hongjiu.lu@intel.com>
17245
17246 [BZ #12205]
17247 * string/test-strncasecmp.c (check_result): New function.
17248 (do_one_test): Use it.
17249 (check1): New function.
17250 (test_main): Use it.
17251 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
17252 Support strcasecmp and strncasecmp.
17253
69da074d
UD
172542010-11-08 Ulrich Drepper <drepper@gmail.com>
17255
17256 [BZ #12194]
17257 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
17258 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17259
ff02d528
L
172602010-11-07 H.J. Lu <hongjiu.lu@intel.com>
17261
17262 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
17263 IFUNC support.
17264 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17265 memset-x86-64.
17266 * sysdeps/x86_64/multiarch/bzero.S: New file.
17267 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
17268 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
17269 * sysdeps/x86_64/multiarch/memset.S: New file.
17270 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
17271 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17272 Set bit_Prefer_SSE_for_memop for Intel processors.
17273 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
17274 Define.
17275 (index_Prefer_SSE_for_memop): Define.
17276 (HAS_PREFER_SSE_FOR_MEMOP): Define.
17277
344d0b54
LM
172782010-11-04 Luis Machado <luisgpm@br.ibm.com>
17279
17280 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17281 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17282
c0dde15b
UD
172832010-11-03 H.J. Lu <hongjiu.lu@intel.com>
17284
17285 [BZ #12191]
17286 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17287 (__x86_64_raw_data_cache_size_half): Likewise.
17288 (__x86_64_raw_shared_cache_size): Likewise.
17289 (__x86_64_raw_shared_cache_size_half): Likewise.
17290
17291 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17292 (__x86_64_raw_data_cache_size_half): Likewise.
17293 (__x86_64_raw_shared_cache_size): Likewise.
17294 (__x86_64_raw_shared_cache_size_half): Likewise.
17295 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17296 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17297 and __x86_64_raw_shared_cache_size_half. Round
17298 __x86_64_data_cache_size_half, __x86_64_data_cache_size
17299 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17300 to multiple of 256 bytes.
17301
0e516e0e
MS
173022010-11-03 Ulrich Drepper <drepper@gmail.com>
17303
17304 [BZ #12167]
17305 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17306 of inacessible symlinks. Verify result of symlink before returning it.
17307 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17308 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17309
0e012e87
ER
173102010-10-28 Erich Ritz <erichritz@gmail.com>
17311
17312 * math/math.h (isinf): Fix typo in comment.
17313
de0ff7bc
UD
173142010-11-01 Ulrich Drepper <drepper@gmail.com>
17315
17316 * po/da.po: Update from translation team.
17317
fa41c84d
UD
173182010-10-26 Ulrich Drepper <drepper@gmail.com>
17319
17320 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17321 is added to the list.
17322
f0967738
AK
173232010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17324 Ulrich Drepper <drepper@gmail.com>
17325
17326 * elf/dl-object.c (_dl_new_object): Don't append the new object to
17327 the global list here. Move code to...
17328 (_dl_add_to_namespace_list): ...here. New function.
17329 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17330 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17331 * elf/dl-load.c (lose): Don't remove the element from the list.
17332 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17333 (_dl_map_object): Likewise.
17334
173352010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
17336
17337 [BZ #12159]
17338 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17339 into all bytes of SSE register.
17340 Patch by Richard Li <richardpku@gmail.com>.
17341
f0967738 173422010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
17343
17344 [BZ #12140]
17345 * malloc/malloc.c (_int_free): Fill correct number of bytes when
17346 perturbing.
17347
d0b9e94f
MB
173482010-10-20 Michael B. Brutman <brutman@us.ibm.com>
17349
17350 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17351 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17352 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17353 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17355 submachine.
17356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17357
8e9f92e9
AS
173582010-10-22 Andreas Schwab <schwab@redhat.com>
17359
17360 * include/dlfcn.h (__RTLD_SECURE): Define.
17361 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
17362 mode & __RTLD_SECURE instead.
17363 (open_path): Rename preloaded parameter to secure.
17364 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17365 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17366 * elf/dl-deps.c (openaux): Likewise.
17367 * elf/rtld.c (struct map_args): Remove is_preloaded.
17368 (map_doit): Don't use it.
17369 (dl_main): Likewise.
17370 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
17371 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
17372
bc96fbda
AS
173732010-09-09 Andreas Schwab <schwab@redhat.com>
17374
17375 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
17376 (sysd-rules-targets): Remove duplicates.
17377 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
17378 rtld-%.$o dependency.
17379
22cd1c9b
AS
173802010-10-18 Andreas Schwab <schwab@redhat.com>
17381
17382 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
17383 _dl_map_object do it.
17384
18edac48
UD
173852010-10-19 Ulrich Drepper <drepper@gmail.com>
17386
17387 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
17388 fast fma builtins, define the macros in the C99 standard.
17389 (FP_FAST_FMAF): Likewise.
17390 (FP_FAST_FMAL): Likewise.
17391 * sysdeps/x86_64/bits/mathdef.h: Likewise.
17392
17393 * bits/mathdef.h: Update copyright year.
17394 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17395
d2050124
MM
173962010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
17397
17398 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
17399 builtins, define the macros in the C99 standard.
17400 (FP_FAST_FMAF): Likewise.
17401 (FP_FAST_FMAL): Likewise.
17402 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
17403 multiply/add.
17404 (FP_FAST_FMAF): Likewise.
17405
475facd1
JJ
174062010-10-15 Jakub Jelinek <jakub@redhat.com>
17407
17408 [BZ #3268]
17409 * math/libm-test.inc (fma_test): Some new testcases.
17410 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
17411 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
17412 y and infinite z. Do multiplication by C already in long double.
17413 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
17414 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
17415 y and infinite z. Do bitwise or of inexact bit into u.d.
17416 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
17417 * sysdeps/i386/fpu/s_fmaf.S: Removed.
17418 * sysdeps/i386/fpu/s_fma.S: Removed.
17419 * sysdeps/i386/fpu/s_fmal.S: Removed.
17420
7c08a05c
JJ
174212010-10-16 Jakub Jelinek <jakub@redhat.com>
17422
17423 [BZ #3268]
17424 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
17425 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
17426 computation is not scheduled after fetestexcept. Fix value
17427 of minimum denormal long double.
17428
f3f7372d
JJ
174292010-10-14 Jakub Jelinek <jakub@redhat.com>
17430
17431 [BZ #3268]
17432 * math/libm-test.inc (fma_test): Add some more tests.
17433 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
17434 correctly.
17435
14d43591
AS
174362010-10-15 Andreas Schwab <schwab@redhat.com>
17437
17438 * scripts/data/localplt-s390-linux-gnu.data: New file.
17439 * scripts/data/localplt-s390x-linux-gnu.data: New file.
17440
5e908464
JJ
174412010-10-13 Jakub Jelinek <jakub@redhat.com>
17442
17443 [BZ #3268]
17444 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
17445 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
17446 instead of dbl-64.
17447 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
17448 inlines.
17449 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
17450 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
17451 if one of x and y is very large and the other is subnormal.
17452 * sysdeps/s390/fpu/s_fmaf.c: New file.
17453 * sysdeps/s390/fpu/s_fma.c: New file.
17454 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
17455 * sysdeps/powerpc/fpu/s_fma.S: New file.
17456 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
17457 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
17458 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
17459
174602010-10-12 Jakub Jelinek <jakub@redhat.com>
17461
17462 [BZ #3268]
17463 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
17464 fma tests.
17465 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
17466 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
17467 * sysdeps/i386/i686/multiarch/s_fma.c: Include
17468 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
17469 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
17470 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
17471 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
17472
b833d51f
UD
174732010-10-12 Ulrich Drepper <drepper@redhat.com>
17474
17475 [BZ #12078]
17476 * posix/regcomp.c (parse_branch): One more memory leak plugged.
17477 * posix/bug-regex31.input: Add test case.
17478
1751705d
UD
174792010-10-11 Ulrich Drepper <drepper@gmail.com>
17480
e9b9cbf5
UD
17481 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
17482 * posix/bug-regex31.input: New file.
17483
17484 [BZ #12078]
17485 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
17486 (parse_sub_exp): Fix last change, use postorder.
17487
ef06edbe
UD
17488 * posix/bug-regex31.c: New file.
17489 * posix/Makefile: Add rules to build and run bug-regex31.
17490
a129c80d
UD
17491 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
17492
17493 [BZ #12078]
17494 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
17495
b76b818e
UD
17496 [BZ #12108]
17497 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
17498 to have entries in sys_siglist.
17499
1751705d
UD
17500 [BZ #12093]
17501 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
17502 be NULL.
17503
9ff8d36f
JJ
175042010-10-07 Jakub Jelinek <jakub@redhat.com>
17505
17506 [BZ #3268]
17507 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
17508 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
17509 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
17510 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
17511 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17512 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
17513 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
17514 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
17515 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
17516 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
17517 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
17518 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
17519 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17520 * math/ftestexcept.c (fetestexcept): Likewise.
17521 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
17522 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
17523 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17524 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
17525 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
17526 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
17527 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17528
af325969
UD
175292010-10-11 Ulrich Drepper <drepper@gmail.com>
17530
c579b202 17531 [BZ #12107]
af325969
UD
17532 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
17533 newline.
17534
67a67b95
UD
175352010-10-06 Ulrich Drepper <drepper@gmail.com>
17536
17537 * string/bug-strstr1.c: New file.
17538 * string/Makefile: Add rules to build and run bug-strstr1.
17539
5fb308bc
EB
175402010-10-05 Eric Blake <eblake@redhat.com>
17541
17542 [BZ #12092]
17543 * string/str-two-way.h (two_way_long_needle): Always clear memory
17544 when skipping input due to the shift table.
17545
45db99c7
UD
175462010-10-03 Ulrich Drepper <drepper@gmail.com>
17547
3b111893
UD
17548 [BZ #12005]
17549 * malloc/mcheck.c: Handle large requests.
17550
45db99c7
UD
17551 [BZ #12077]
17552 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
17553 for strncmp and strncasecmp.
17554 * string/stratcliff.c: Add tests for strcmp and strncmp.
17555 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
17556
cf7a1eb8
NI
175572010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17558
17559 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
17560 __set_fpscr.
17561
6484ba5e
AJ
175622010-09-30 Andreas Jaeger <aj@suse.de>
17563
17564 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
17565 (CGROUP_SUPER_MAGIC): Define.
17566 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17567 Handle btrfs and cgroup file systems.
17568 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17569 Likewise.
17570
91c42559
LM
175712010-09-27 Luis Machado <luisgpm@br.ibm.com>
17572
17573 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
17574 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
17575
87a97932
AK
175762010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17577
17578 [BZ #12067]
17579 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
17580 trying to locate the ELF header.
17581
c21cc9bc
AS
175822010-09-27 Andreas Schwab <schwab@redhat.com>
17583
17584 [BZ #11611]
17585 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
17586 Mask out sign-bit copies when constructing f_fsid.
17587
315970f6
PB
175882010-09-24 Petr Baudis <pasky@suse.cz>
17589
17590 * debug/stack_chk_fail_local.c: Add missing licence exception.
17591 * debug/warning-nop.c: Likewise.
17592
1ac7a2c7
JM
175932010-09-15 Joseph Myers <joseph@codesourcery.com>
17594
17595 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
17596 implementing getdents64 using getdents syscall, set d_type if
17597 __ASSUME_GETDENTS32_D_TYPE.
17598
56801c50
AS
175992010-09-16 Andreas Schwab <schwab@redhat.com>
17600
17601 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
17602 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
17603
dda51327
UD
176042010-09-21 Ulrich Drepper <drepper@redhat.com>
17605
17606 [BZ #12037]
17607 * posix/unistd.h: Undo change of feature selection for ftruncate from
17608 2010-01-11.
17609
8ffcee4a
UD
176102010-09-20 Ulrich Drepper <drepper@redhat.com>
17611
a545ecd9 17612 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
17613 detection.
17614
e24f0a8b
AS
176152010-09-20 Andreas Schwab <schwab@redhat.com>
17616
17617 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
17618 fanotify_mark.
17619 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17620
7291c56f
AS
176212010-09-14 Andreas Schwab <schwab@redhat.com>
17622
17623 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
17624 variables after CHECK_SP call.
17625 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
17626
bc5fb037
AS
176272010-09-13 Andreas Schwab <schwab@redhat.com>
17628 Ulrich Drepper <drepper@redhat.com>
17629
17630 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
17631 re-relocationg ld.so.
17632 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
17633 _dl_init_paths call.
17634 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
17635 here anymore.
17636
e66e7419
UD
176372010-09-14 Ulrich Drepper <drepper@redhat.com>
17638
17639 * resolv/res_init.c (__res_vinit): Count the default server we added.
17640
c044aa75
CLT
176412010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
17642 Ulrich Drepper <drepper@redhat.com>
17643
17644 [BZ #11968]
17645 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17646 (____longjmp_chk): Use %ebx for saving value across system call.
17647 Add unwind info.
17648
32cf4069
AS
176492010-09-06 Andreas Schwab <schwab@redhat.com>
17650
17651 * manual/Makefile: Don't mix pattern rules with normal rules.
17652
817328ee
AS
176532010-09-05 Andreas Schwab <schwab@linux-m68k.org>
17654
17655 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
17656 operation.
17657 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17658 * libio/iofopncook.c (_IO_cookie_init): Likewise.
17659 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17660 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17661 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17662 Likewise.
17663
29fddf61
UD
176642010-09-04 Ulrich Drepper <drepper@redhat.com>
17665
17666 [BZ #11979]
17667 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
17668 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
17669
0959ffc9
UD
176702010-09-02 Ulrich Drepper <drepper@redhat.com>
17671
17672 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
17673 * sysdeps/x86_64/addmul_1.S: Likewise.
17674 * sysdeps/x86_64/lshift.S: Likewise.
17675 * sysdeps/x86_64/mul_1.S: Likewise.
17676 * sysdeps/x86_64/rshift.S: Likewise.
17677 * sysdeps/x86_64/sub_n.S: Likewise.
17678 * sysdeps/x86_64/submul_1.S: Likewise.
17679
ece29840
ST
176802010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
17681
0959ffc9
UD
17682 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
17683 Define __sched_param instead of SCHED_* and sched_param when
ece29840 17684 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 17685 * bits/sched.h [__need_schedparam]
ece29840 17686 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
17687 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
17688 (__defined_schedparam): Define to 1.
ece29840
ST
17689 (__sched_param): New structure, identical to sched_param.
17690 (__need_schedparam): Undefine.
17691
e53a31fe
MF
176922010-08-31 Mike Frysinger <vapier@gentoo.org>
17693
fdc0c10d
MF
17694 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
17695 (epoll_create1): Declare.
17696
e53a31fe
MF
17697 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
17698
a726d796
AS
176992010-08-31 Andreas Schwab <schwab@redhat.com>
17700
17701 [BZ #7066]
17702 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
17703 shifting retval into place.
17704
2f3e3dc7
UD
177052010-09-01 Ulrich Drepper <drepper@redhat.com>
17706
f2933da9
UD
17707 * nis/rpcsvc/nis.h: Update copyright notice.
17708 * nis/rpcsvc/nis.x: Likewise.
17709 * nis/rpcsvc/nis_callback.h: Likewise.
17710 * nis/rpcsvc/nis_callback.x: Likewise.
17711 * nis/rpcsvc/nis_object.x: Likewise.
17712 * nis/rpcsvc/nis_tags.h: Likewise.
17713 * nis/rpcsvc/yp.h: Likewise.
17714 * nis/rpcsvc/yp.x: Likewise.
17715 * nis/rpcsvc/ypupd.h: Likewise.
17716 * nis/yp_xdr.c: Likewise.
17717 * nis/ypupdate_xdr.c: Likewise.
17718
2f3e3dc7
UD
17719 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
17720 mainly the body of pmap_getport. Add parameters to specify timeouts.
17721 (pmap_getport): Use __libc_rpc_getport.
17722 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
17723 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
17724 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
17725
f3dcc2f9
AS
177262010-08-31 Andreas Schwab <schwab@linux-m68k.org>
17727
17728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
17729 fanotify_mark.
17730
6d34eb5b
RM
177312010-08-27 Roland McGrath <roland@redhat.com>
17732
17733 * sysdeps/i386/i686/multiarch/Makefile
17734 (CFLAGS-varshift.c): New variable.
17735
9ea3de11
UD
177362010-08-27 Ulrich Drepper <drepper@redhat.com>
17737
c96d23fc
UD
17738 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
17739 * sysdeps/i386/i686/multiarch/varshift.c: New file.
17740
9ea3de11
UD
17741 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
17742
17743 * sysdeps/x86_64/strlen.S: Minimal code improvement.
17744
623aac7f
L
177452010-08-26 H.J. Lu <hongjiu.lu@intel.com>
17746
17747 * sysdeps/x86_64/strlen.S: Unroll the loop.
17748 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17749 strlen-sse2 strlen-sse2-bsf.
17750 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
17751 __strlen_no_bsf if bit_Slow_BSF is set.
17752 (__strlen_sse42): Removed.
17753 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
17754 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
17755
8b2b7715
RM
177562010-08-25 Roland McGrath <roland@redhat.com>
17757
17758 * sysdeps/x86_64/multiarch/varshift.S: File removed.
17759 * sysdeps/x86_64/multiarch/varshift.c: New file.
17760 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
17761 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
17762 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
17763 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17764
e73015f2
L
177652010-08-25 H.J. Lu <hongjiu.lu@intel.com>
17766
17767 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17768 strlen-sse2 strlen-sse2-bsf.
17769 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
17770 __strlen_sse2_bsf if bit_Slow_BSF is unset.
17771 (__strlen_sse2): Removed.
17772 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
17773 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
17774 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17775 bit_Slow_BSF for Atom.
17776 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
17777 (index_Slow_BSF): Define.
17778 (HAS_SLOW_BSF): Define.
17779
df24a73e
UD
177802010-08-25 Ulrich Drepper <drepper@redhat.com>
17781
17782 [BZ #10851]
17783 * resolv/res_init.c (__res_vinit): When no server address at all
17784 is given default to loopback.
17785
f2ac4868
RM
177862010-08-24 Roland McGrath <roland@redhat.com>
17787
09055553
RM
17788 * configure.in: Remove config-name.h generation.
17789 * configure: Regenerated.
17790 * config-name.in: File removed.
17791 * scripts/config-uname.sh: New file.
17792 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
17793 ($(objdir)config-name.h): New target.
17794
f2ac4868
RM
17795 * sunrpc/rpc_parse.h: Avoid nested comment.
17796
73f27d5e
RH
177972010-08-24 Richard Henderson <rth@redhat.com>
17798 Ulrich Drepper <drepper@redhat.com>
17799 H.J. Lu <hongjiu.lu@intel.com>
17800
17801 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
17802 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
17803 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
17804 Replace _mm_srli_si128 with __m128i_shift_right. Replace
17805 _mm_alignr_epi8 with _mm_loadu_si128.
17806 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
17807 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
17808 (__m128i_shift_right): Removed.
17809 * sysdeps/i386/i686/multiarch/varshift.h: New file.
17810 * sysdeps/i386/i686/multiarch/varshift.S: New file.
17811 * sysdeps/x86_64/multiarch/varshift.h: New file.
17812 * sysdeps/x86_64/multiarch/varshift.S: New file.
17813
84b9230c
MF
178142010-08-21 Mike Frysinger <vapier@gentoo.org>
17815
17816 * configure.in: Move assembler checks to before sysdep dir checking.
17817
9bbd0ddc
PB
178182010-08-20 Petr Baudis <pasky@suse.cz>
17819
17820 * LICENSES: Sync the sunrpc license.
17821
9da4bb31
UD
178222010-08-19 Ulrich Drepper <drepper@redhat.com>
17823
a7ab6ec8
UD
17824 * sunrpc/auth_des.c: Update copyright notice once again.
17825 * sunrpc/auth_none.c: Likewise.
17826 * sunrpc/auth_unix.c: Likewise.
17827 * sunrpc/authdes_prot.c: Likewise.
17828 * sunrpc/authuxprot.c: Likewise.
17829 * sunrpc/bindrsvprt.c: Likewise.
17830 * sunrpc/clnt_gen.c: Likewise.
17831 * sunrpc/clnt_perr.c: Likewise.
17832 * sunrpc/clnt_raw.c: Likewise.
17833 * sunrpc/clnt_simp.c: Likewise.
17834 * sunrpc/clnt_tcp.c: Likewise.
17835 * sunrpc/clnt_udp.c: Likewise.
17836 * sunrpc/clnt_unix.c: Likewise.
17837 * sunrpc/des_crypt.c: Likewise.
17838 * sunrpc/des_soft.c: Likewise.
17839 * sunrpc/get_myaddr.c: Likewise.
17840 * sunrpc/getrpcport.c: Likewise.
17841 * sunrpc/key_call.c: Likewise.
17842 * sunrpc/key_prot.c: Likewise.
17843 * sunrpc/openchild.c: Likewise.
17844 * sunrpc/pm_getmaps.c: Likewise.
17845 * sunrpc/pm_getport.c: Likewise.
17846 * sunrpc/pmap_clnt.c: Likewise.
17847 * sunrpc/pmap_prot.c: Likewise.
17848 * sunrpc/pmap_prot2.c: Likewise.
17849 * sunrpc/pmap_rmt.c: Likewise.
17850 * sunrpc/rpc/auth.h: Likewise.
17851 * sunrpc/rpc/auth_unix.h: Likewise.
17852 * sunrpc/rpc/clnt.h: Likewise.
17853 * sunrpc/rpc/des_crypt.h: Likewise.
17854 * sunrpc/rpc/key_prot.h: Likewise.
17855 * sunrpc/rpc/netdb.h: Likewise.
17856 * sunrpc/rpc/pmap_clnt.h: Likewise.
17857 * sunrpc/rpc/pmap_prot.h: Likewise.
17858 * sunrpc/rpc/pmap_rmt.h: Likewise.
17859 * sunrpc/rpc/rpc.h: Likewise.
17860 * sunrpc/rpc/rpc_des.h: Likewise.
17861 * sunrpc/rpc/rpc_msg.h: Likewise.
17862 * sunrpc/rpc/svc.h: Likewise.
17863 * sunrpc/rpc/svc_auth.h: Likewise.
17864 * sunrpc/rpc/types.h: Likewise.
17865 * sunrpc/rpc/xdr.h: Likewise.
17866 * sunrpc/rpc_clntout.c: Likewise.
17867 * sunrpc/rpc_cmsg.c: Likewise.
17868 * sunrpc/rpc_common.c: Likewise.
17869 * sunrpc/rpc_cout.c: Likewise.
17870 * sunrpc/rpc_dtable.c: Likewise.
17871 * sunrpc/rpc_hout.c: Likewise.
17872 * sunrpc/rpc_main.c: Likewise.
17873 * sunrpc/rpc_parse.c: Likewise.
17874 * sunrpc/rpc_parse.h: Likewise.
17875 * sunrpc/rpc_prot.c: Likewise.
17876 * sunrpc/rpc_sample.c: Likewise.
17877 * sunrpc/rpc_scan.c: Likewise.
17878 * sunrpc/rpc_scan.h: Likewise.
17879 * sunrpc/rpc_svcout.c: Likewise.
17880 * sunrpc/rpc_tblout.c: Likewise.
17881 * sunrpc/rpc_util.c: Likewise.
17882 * sunrpc/rpc_util.h: Likewise.
17883 * sunrpc/rpcinfo.c: Likewise.
17884 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
17885 * sunrpc/rpcsvc/key_prot.x: Likewise.
17886 * sunrpc/rpcsvc/klm_prot.x: Likewise.
17887 * sunrpc/rpcsvc/mount.x: Likewise.
17888 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
17889 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
17890 * sunrpc/rpcsvc/rex.x: Likewise.
17891 * sunrpc/rpcsvc/rstat.x: Likewise.
17892 * sunrpc/rpcsvc/rusers.x: Likewise.
17893 * sunrpc/rpcsvc/sm_inter.x: Likewise.
17894 * sunrpc/rpcsvc/spray.x: Likewise.
17895 * sunrpc/rpcsvc/yppasswd.x: Likewise.
17896 * sunrpc/rtime.c: Likewise.
17897 * sunrpc/svc.c: Likewise.
17898 * sunrpc/svc_auth.c: Likewise.
17899 * sunrpc/svc_authux.c: Likewise.
17900 * sunrpc/svc_raw.c: Likewise.
17901 * sunrpc/svc_run.c: Likewise.
17902 * sunrpc/svc_simple.c: Likewise.
17903 * sunrpc/svc_tcp.c: Likewise.
17904 * sunrpc/svc_udp.c: Likewise.
17905 * sunrpc/svc_unix.c: Likewise.
17906 * sunrpc/svcauth_des.c: Likewise.
17907 * sunrpc/xcrypt.c: Likewise.
17908 * sunrpc/xdr.c: Likewise.
17909 * sunrpc/xdr_array.c: Likewise.
17910 * sunrpc/xdr_float.c: Likewise.
17911 * sunrpc/xdr_mem.c: Likewise.
17912 * sunrpc/xdr_rec.c: Likewise.
17913 * sunrpc/xdr_ref.c: Likewise.
17914 * sunrpc/xdr_sizeof.c: Likewise.
17915 * sunrpc/xdr_stdio.c: Likewise.
17916
9da4bb31
UD
17917 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
17918 handling.
17919
bdaa77bc
AS
179202010-08-19 Andreas Schwab <schwab@redhat.com>
17921
17922 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
17923
fe2f79db
LM
179242010-08-19 Luis Machado <luisgpm@br.ibm.com>
17925
17926 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
17927 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
17928 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
17929 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
17930 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
17931 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
17932 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
17933 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
17934 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
17935 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
17936 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
17937 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
17938 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
17939 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
17940
b9b42ee0
AB
179412010-07-26 Anton Blanchard <anton@samba.org>
17942
17943 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
17944 * malloc/arena.c (heap_trim): Likewise.
17945
1c06ba31
UD
179462010-08-16 Ulrich Drepper <drepper@redhat.com>
17947
17948 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
17949 here. Not...
17950 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
17951 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
17952
f8392f40
L
179532010-08-12 H.J. Lu <hongjiu.lu@intel.com>
17954
17955 * sysdeps/i386/elf/Makefile: New file.
17956
3162f12e
AS
179572010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17958
17959 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
17960 from fanotify_init.
17961 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
17962 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17963
28c90b2c
UD
179642010-08-15 Ulrich Drepper <drepper@redhat.com>
17965
17966 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
17967 of strncasecmp_l.
1feccb6c 17968 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 17969
ca6bb004
UD
179702010-08-14 Ulrich Drepper <drepper@redhat.com>
17971
e9f82e0d
UD
17972 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17973 strncase_l-nonascii.
17974 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17975 Add strncase_l-ssse3.
17976 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
17977 * sysdeps/x86_64/strcmp.S: Likewise.
17978 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
17979 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
17980 * sysdeps/x86_64/strncase.S: New file.
17981 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
17982 * sysdeps/x86_64/strncase_l.S: New file.
17983 * string/Makefile (strop-tests): Add strncasecmp.
17984 * string/test-strncasecmp.c: New file.
17985
17986 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
17987 warning.
17988
ca6bb004
UD
17989 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
17990 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
17991
052fa7b3
AS
179922010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17993
17994 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
17995
962dba78
UD
179962010-08-12 Ulrich Drepper <drepper@redhat.com>
17997
17998 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
17999 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
18000 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
18001
bebff237
AM
180022010-05-01 Alan Modra <amodra@gmail.com>
18003
18004 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
18005 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
18006 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
18007 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
18008 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
18009 tidying. Don't tail-call __sigjmp_save for static lib.
18010 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
18011 save location.
18012 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
18013 (CALL_MCOUNT): Add eh info, and nop after bl.
18014 (TAIL_CALL_SYSCALL_ERROR): New macro.
18015 (PSEUDO_RET): Use it.
18016 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18017 Correct save location of integer regs and cr.
18018 (_dl_profile_resolve): Correct cr save location. Delete nops
18019 after bl when SHARED. Reduce cfi size a little by better
18020 placement of cfi directives.
18021 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
18022 make a stack frame. Instead use parm save area as a temp.
18023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
18024 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
18025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18026 Don't make a stack frame for parent, use parm save area.
18027 Increase child stack frame to 112 bytes. Don't save unused reg,
18028 and adjust reg usage. Set up cfi on error recovery and
18029 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
18030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18031 (__makecontext): Add dummy nop after jump to exit.
18032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
18033 Use correct parm save area and cr save, reduce stack frame.
18034 Correct cfi for possible PSEUDO_RET frame setup.
18035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
18036 Branch to local label emitted by PSEUDO_RET rather than
18037 __syscall_error.
18038
02637374
AS
180392010-08-12 Andreas Schwab <schwab@redhat.com>
18040
18041 [BZ #11904]
18042 * locale/programs/locale.c (print_assignment): New function.
18043 (show_locale_vars): Use it.
18044
c3e2f19b
UD
180452010-08-11 Ulrich Drepper <drepper@redhat.com>
18046
3cdaa6ad
UD
18047 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
18048 field.
18049 (struct statfs64): Likewise.
18050 (_STATFS_F_FLAGS): Define.
18051 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
18052 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18053 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
18054 (ST_VALID): Define locally.
18055 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
18056 __statvfs_getflags, use the provided value.
18057 * sysdeps/unix/sysv/linux/kernel-features.h: Define
18058 __ASSUME_STATFS_F_FLAGS.
18059
754f7da3
UD
18060 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
18061
10b3bedc
UD
18062 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
18063 Add sys/fanotify.h.
18064 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
18065 fanotify_mask for GLIBC_2.13.
18066 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
18067 fanotify_init and fanotify_mark.
18068 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18069 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
18070
c08fb0d7
UD
18071 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
18072 Add prlimit.
18073 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
18074 prlimit64 for GLIBC_2.13.
18075 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
18076 prlimit64.
18077 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
18078 syscall.
18079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18080 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18081 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
18082 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
18083 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
18084 add prlimit alias.
18085 * sysdeps/unix/sysv/linux/prlimit.c: New file.
18086
15bac72b
UD
18087 [BZ #11903]
18088 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
18089 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
18090
c3e2f19b
UD
18091 * nss/Makefile: Add rules to build and run tst-nss-test1.
18092 * shlib-versions: Add entry for libnss_test1.
18093 * nss/nss_test1.c: New file.
18094 * nss/tst-nss-test1.c: New file.
18095
18096 * nss/nsswitch.c (__nss_database_custom): Define new variable.
18097 (__nss_configure_lookup): Set appropriate entry in
18098 __nss_configure_lookup to true.
18099 * nss/nsswitch.h: Define enum with indeces of databases in
18100 databases and __nss_database_custom arrays. Declare
18101 __nss_database_custom.
18102 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
18103 to avoid using nscd when custom rules are installed.
18104 * nss/getXXbyYY_r.c: Likewise.
18105 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18106
18107 * nss/nss_files/files-parse.c: Whitespace fixes.
18108
f15ce4d8
UD
181092010-08-09 Ulrich Drepper <drepper@redhat.com>
18110
18111 [BZ #11883]
18112 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
18113 * posix/fnmatch_loop.c: Likewise.
18114
d22e4cc9
AK
181152010-07-17 Andi Kleen <ak@linux.intel.com>
18116
18117 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
18118 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
18119 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
18120 * Versions.def [GLIBC_2.13]: Add.
18121
805bc17d
UD
181222010-08-06 Ulrich Drepper <drepper@redhat.com>
18123
18124 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18125 Also fail if tpwd after pwuid call is NULL.
18126
5a42321d
ST
181272010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
18128
18129 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
18130 when converting to ms.
18131
fd3ebeda
ST
181322010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18133
18134 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
18135 EOPNOTSUPP errors with ENOTTY.
18136 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
18137 EOPNOTSUPP errors with ENOTTY.
18138
73507d3a
UD
181392010-07-31 Ulrich Drepper <drepper@redhat.com>
18140
18141 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18142 Add strcasecmp_l-ssse3.
18143 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
18144 strcasecmp.
18145 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
18146 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
18147 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
18148
fe36dd02
UD
181492010-07-30 Ulrich Drepper <drepper@redhat.com>
18150
66f6765a
UD
18151 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
18152
42e08a54
UD
18153 * string/Makefile (strop-tests): Add strcasecmp.
18154 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18155 strcasecmp_l-nonascii.
18156 (gen-as-const-headers): Add locale-defines.sym.
18157 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
18158 * sysdeps/x86_64/strcasecmp.S: New file.
18159 * sysdeps/x86_64/strcasecmp_l.S: New file.
18160 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
18161 * sysdeps/x86_64/locale-defines.sym: New file.
18162 * string/test-strcasecmp.c: New file.
18163
fe36dd02
UD
18164 * string/test-strcasestr.c: Test both ends of the range of characters.
18165 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
18166
48cbc0d6
RM
181672010-07-29 Roland McGrath <roland@redhat.com>
18168
76e6d6bc 18169 [BZ #11856]
48cbc0d6
RM
18170 * manual/locale.texi (Yes-or-No Questions): Fix example code.
18171
880113d9
UD
181722010-07-27 Ulrich Drepper <drepper@redhat.com>
18173
18174 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
18175 for ld.so.
18176
deb9cabb
AS
181772010-07-27 Andreas Schwab <schwab@redhat.com>
18178
18179 * manual/memory.texi (Malloc Tunable Parameters): Document
18180 M_PERTURB.
18181
1c7570ff
RM
181822010-07-26 Roland McGrath <roland@redhat.com>
18183
18184 [BZ #11840]
18185 * configure.in (-fgnu89-inline check): Set and substitute
18186 gnu89_inline, not libc_cv_gnu89_inline.
18187 * configure: Regenerated.
18188 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
18189
24fb0f88
UD
181902010-07-26 Ulrich Drepper <drepper@redhat.com>
18191
18192 * string/test-strnlen.c: New file.
18193 * string/Makefile (strop-tests): Add strnlen.
18194 * string/tester.c (test_strnlen): Add a few more test cases.
18195 * string/tst-strlen.c: Better error reporting.
18196
18197 * sysdeps/x86_64/strnlen.S: New file.
18198
8e96b93a
UD
181992010-07-24 Ulrich Drepper <drepper@redhat.com>
18200
18201 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
18202 lower-latency instructions.
18203
dbc676d4
UD
182042010-07-23 Ulrich Drepper <drepper@redhat.com>
18205
18206 * string/test-strcasestr.c: New file.
18207 * string/test-strstr.c: New file.
18208 * string/Makefile (strop-tests): Add strstr and strcasestr.
18209 * string/str-two-way.h: Don't undefine MAX.
18210 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
18211
f6a31e0e
AS
182122010-07-21 Andreas Schwab <schwab@redhat.com>
18213
18214 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18215 strcasestr-nonascii.
18216 (CFLAGS-strcasestr-nonascii.c): Define.
18217 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
18218 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
18219 Remove unused attribute.
18220
5dbc3b6c
RM
182212010-07-20 Roland McGrath <roland@redhat.com>
18222
18223 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
18224 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
18225 ld.so.cache was broken. With it, there is no way to disable dsocaps
18226 like LD_HWCAP_MASK can disable hwcaps.
18227
23d101d8
EPM
182282010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18229
18230 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
18231
cc9f2e47
UD
182322010-07-16 Ulrich Drepper <drepper@redhat.com>
18233
18234 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
18235 call in strcasestr.
18236 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
18237 __strcasestr_sse42_nonascii.
18238 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
18239 strcasestr-nonascii.c.
18240 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
18241
77c1b069
LM
182422010-06-15 Luis Machado <luisgpm@br.ibm.com>
18243
18244 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
18245 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
18246 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
18247 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
18248
440566c3
UD
182492010-07-09 Ulrich Drepper <drepper@redhat.com>
18250
18251 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
18252 fcntl.
18253
5be9d05d
AS
182542010-07-06 Andreas Schwab <schwab@redhat.com>
18255
c30b7ee2 18256 [BZ #11577]
5be9d05d
AS
18257 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
18258 dl_signal_cerror.
18259
8a492a67
UD
182602010-07-06 Ulrich Drepper <drepper@redhat.com>
18261
18262 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
18263 _PC_PIPE_BUF using F_GETPIPE_SZ.
18264
713df3d5
RM
182652010-07-05 Roland McGrath <roland@redhat.com>
18266
18267 * manual/arith.texi (Rounding Functions): Fix rint description
18268 implicit in round description.
18269
702e8f14
UD
182702010-07-02 Ulrich Drepper <drepper@redhat.com>
18271
18272 * elf/Makefile: Fix linking for a few tests to make recent linker
18273 happy.
18274
52ed8be9
AS
182752010-06-30 Andreas Schwab <schwab@redhat.com>
18276
18277 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18278 $(common-objpfx)libc_nonshared.a.
18279
f47c9a11
LM
182802010-06-21 Luis Machado <luisgpm@br.ibm.com>
18281
18282 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18283 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18284 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18285 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18286 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18287 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18288 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18289 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18304 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18305 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18306 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18307 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18308 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18309 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18310 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18311 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18312 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18313 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18314 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18315 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18330
6fb8cbcb
L
183312010-06-25 H.J. Lu <hongjiu.lu@intel.com>
18332
18333 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18334 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
18335 * string/memmove.c (memmove): Renamed to ...
18336 (MEMMOVE): ...this. Default to memmove.
18337 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18338 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18339 (END_CHK): Define.
18340 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18341 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18342 mempcpy-ssse3-back memmove-ssse3-back.
18343 * sysdeps/x86_64/multiarch/bcopy.S: New file .
18344 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18345 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18346 * sysdeps/x86_64/multiarch/memcpy.S: New file.
18347 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18348 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18349 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18350 * sysdeps/x86_64/multiarch/memmove.c: New file.
18351 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18352 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18353 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18354 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18355 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18356 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18357 Define.
18358 (index_Fast_Copy_Backward): Define.
18359 (HAS_ARCH_FEATURE): Define.
18360 (HAS_FAST_REP_STRING): Define.
18361 (HAS_FAST_COPY_BACKWARD): Define.
18362
4e733bac 183632010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
18364
18365 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18366 Restore proper fallback handling.
18367
63c4ed22
UD
183682010-06-19 Ulrich Drepper <drepper@redhat.com>
18369
ac2b484c
UD
18370 [BZ #11701]
18371 * posix/group_member.c (__group_member): Correct checking loop.
18372
63c4ed22
UD
18373 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
18374 OOM in getpwuid_r correctly. Return error number when the caller
18375 should return, otherwise -1.
18376 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
18377 call returning > 0 value.
18378 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
18379
765ade4b
AS
183802010-06-07 Andreas Schwab <schwab@redhat.com>
18381
18382 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
18383 libc_nonshared.a from targets in modules-names.
18384
80da2e09
KS
183852010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
18386
18387 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
18388 requires it.
18389
158db122
LM
183902010-06-10 Luis Machado <luisgpm@br.ibm.com>
18391
18392 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
18393 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
18394 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
18395 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
18396
caa78cf8
AS
183972010-06-02 Andreas Schwab <schwab@redhat.com>
18398
18399 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
18400
b2ef2c01
UD
184012010-06-14 Ulrich Drepper <drepper@redhat.com>
18402
18403 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
18404 and F_GETPIPE_SZ.
18405 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18406 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18407 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18408 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18409 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18410 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
18411
fbd643b6
RM
184122010-06-14 Roland McGrath <roland@redhat.com>
18413
18414 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
18415
f32f2869
JJ
184162010-06-07 Jakub Jelinek <jakub@redhat.com>
18417
18418 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
18419 __REDIRECT followed by __THROW.
18420 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
18421 * posix/getopt.h (getopt): Likewise.
18422
2a50c078
EPM
184232010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18424
18425 * hurd/lookup-at.c (__file_name_lookup_at): Accept
18426 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
18427 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
18428 in AT_FLAGS.
18429 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
18430 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
18431
eb5ad2eb
LM
184322010-05-28 Luis Machado <luisgpm@br.ibm.com>
18433
18434 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
18435
3c88fe1e
L
184362010-05-26 H.J. Lu <hongjiu.lu@intel.com>
18437
18438 [BZ #11640]
18439 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18440 Properly check family and model.
18441
d2f73151
TY
184422010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
18443
18444 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
18445
ebd2e13d
LM
184462010-05-24 Luis Machado <luisgpm@br.ibm.com>
18447
18448 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
18449
b32b8b45
UD
184502010-05-21 Ulrich Drepper <drepper@redhat.com>
18451
18452 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
18453 symbol reference.
18454
9acbe24d
AS
184552010-05-19 Andreas Schwab <schwab@redhat.com>
18456
18457 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
18458 symbol reference.
18459
f0ccf6ea
AS
184602010-05-21 Andreas Schwab <schwab@redhat.com>
18461
3d04ff3a
AS
18462 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
18463 and internal_recvmmsg.
18464 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
18465 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
18466 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
18467 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
18468
f0ccf6ea
AS
18469 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
18470 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18471 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18472
5b08ac57
AS
184732010-05-20 Andreas Schwab <schwab@redhat.com>
18474
18475 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
18476
4828935d
LM
184772010-05-17 Luis Machado <luisgpm@br.ibm.com>
18478
18479 POWER7 optimizations.
18480 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
18481 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
18482
373d545e
UD
184832010-05-19 Ulrich Drepper <drepper@redhat.com>
18484
18485 * version.h: Update for 2.13 development version.
18486
21a2b1ae
AS
184872010-05-12 Andrew Stubbs <ams@codesourcery.com>
18488
18489 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
18490 exceptions. Return 0.
18491
3f7dcb2b
RM
184922010-05-07 Roland McGrath <roland@redhat.com>
18493
18494 * elf/ldconfig.c (main): Add a const.
18495
5f24d53a 184962010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 18497
a160f8d8
UD
18498 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
18499 (args_options): Add no-idn option.
18500 (ahosts_keys_int): Add idn_flags to ai_flags.
18501 (parse_option): Handle 'i' option to clear idn_flags.
18502
5f24d53a
UD
18503 * malloc/malloc.c (_int_free): Possible race in the most recently
18504 added check. Only act on the data if no current modification
18505 happened.
265bb1ce
UD
18506
18507See ChangeLog.17 for earlier changes.