]> sourceware.org Git - glibc.git/blame - ChangeLog
Fix typo in last change.
[glibc.git] / ChangeLog
CommitLineData
2ae1ae5c
RM
12012-08-17 Roland McGrath <roland@hack.frob.com>
2
a0844057
RM
3 * sysdeps/posix/getaddrinfo.c
4 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
5 (gaiconf_init, gaiconf_reload): Use them.
6 [!_STATBUF_ST_NSEC]
7 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
8 Define using time_t rather than struct timespec.
9
750c1f2a
RM
10 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
11 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
12 Macros removed.
13 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
14 [!NO_THREADS].
15 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
16 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
17 Likewise.
18
2ae1ae5c
RM
19 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
20 __libc_cleanup_push argument.
21
e66a42f5
RM
22 * bits/param.h: New file.
23 * misc/sys/param.h: New file.
24 * include/sys/param.h: New file.
25 * misc/Makefile (headers): Add bits/param.h.
26 * sysdeps/generic/sys/param.h: File removed.
27 * sysdeps/unix/sysv/linux/bits/param.h: New file.
28 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
29 * sysdeps/mach/hurd/bits/param.h: New file.
30 * sysdeps/mach/hurd/sys/param.h: New file.
31
b7c08a66
RM
32 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
33 last change.
34
b2e1c562
RM
35 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
36 [_IO_MTSAFE_IO].
37 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
38 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
39 New macros.
40
c75ccd4c
RM
41 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
42 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
43 rather than -D_IO_MTSAFE_IO conditionally.
44 * stdio-common/Makefile (CPPFLAGS): Likewise.
45 * wcsmbs/Makefile (CPPFLAGS): Likewise.
46 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
47 Use $(libio-mtsafe).
48 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
49 of -D_IO_MTSAFE_IO.
50 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
51 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
52 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
53 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
54 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
55 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
56 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
57 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
58 (CFLAGS-fread_u_chk.c): Likewise.
59 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
60 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
61 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
62 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
63 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
64 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
65 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
66 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
67 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
68
69 * libio/Makefile: Test [$(libc-reentrant) = yes]
70 instead of [$(filter %REENTRANT, $(defines)) nonempty].
71
72 * Makeconfig
73 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
74 * sysdeps/pthread/configure: File removed.
75 * sysdeps/pthread/Makeconfig: New file.
76 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
77 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
78
d9195db8
GB
792012-08-16 Gary Benson <gbenson@redhat.com>
80
81 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
82 unmapping the first object in a namespace.
83
86466cd9
RM
842012-08-16 Roland McGrath <roland@hack.frob.com>
85
86 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
87 (__internal_setnetgrent): ... this. Add internal_function to
88 definition. Add libc_hidden_def.
89 (setnetgrent): Update caller.
90 (internal_endnetgrent): Renamed to ...
91 (__internal_endnetgrent): ... this. Add internal_function to
92 definition. Add libc_hidden_def.
93 (endnetgrent): Update caller.
94 (internal_getnetgrent_r): Renamed to ...
95 (__internal_getnetgrent_r): ... this. Add internal_function to
96 definition. Add libc_hidden_def.
97 (__getnetgrent_r): Update caller.
98 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
99
c3c8283c
JM
1002012-08-16 Joseph Myers <joseph@codesourcery.com>
101
102 * stdlib/longlong.h: Update from GCC.
103
db1ee0a8
RM
1042012-08-16 Roland McGrath <roland@hack.frob.com>
105
106 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
107 on _QL, which is set by umul_ppmm but never used.
108 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
109 variables, which are set by GMP macros but never used.
110 * stdio-common/_itowa.c (_itowa): Likewise.
111 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
112 * stdlib/mod_1.c (mpn_mod_1): Likewise.
113
30f69637
CD
1142012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
115
116 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
117 struct La_sh_regs is not constant.
118 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
119 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
120 and struct La_sparc64_regs are not constant.
121
93a78ac4
JM
1222012-08-16 Joseph Myers <joseph@codesourcery.com>
123
124 * sysdeps/unix/sysv/linux/kernel-features.h
125 (__ASSUME_POSIX_TIMERS): Remove.
126 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
127 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
128 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
129 Make code unconditional.
130 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
131 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
132 Make code unconditional.
133 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
134 * sysdeps/unix/sysv/linux/clock_nanosleep.c
135 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
136 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
137 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
138 Make code unconditional.
139 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
140 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
141 (__libc_missing_posix_timers): Remove.
142
dd924cd7
RM
1432012-08-15 Roland McGrath <roland@hack.frob.com>
144
4b4f2771
RM
145 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
146 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
147
601c888b
RM
148 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
149
176790a7
RM
150 * elf/dl-sym.c: Include <stdlib.h>.
151
329bc018
RM
152 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
153 constants, which avoids warnings in 32-bit builds.
154
e04e272d
RM
155 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
156 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
157
952bf94a
RM
158 * misc/lseek.c: File moved to ...
159 * io/lseek.c: ... here.
160
7c99b50a
RM
161 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
162
dd924cd7
RM
163 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
164 shifting LEN more than 31 bits at once.
165
b3f479a8
LD
1662012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
167
168 [BZ #14195]
169 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
170 segmentation fault for a case of two empty input strings.
171 * string/test-strncasecmp.c (check1): Renamed to...
172 (bz12205): ...this.
173 (bz14195): Add new testcase for two empty input strings and N > 0.
174 (test_main): Call new testcase, adapt for renamed function.
175
9c55864e
AJ
1762012-08-15 Andreas Jaeger <aj@suse.de>
177
178 [BZ #14090]
179 * crypt/md5test2.c: New test, based on test supplied by Serge
180 Belyshev <belyshev@depni.sinp.msu.ru>.
181 * crypt/Makefile (xtests): Add md5test-giant..
182 * crypt/Makefile ($(objpfx)md5test-giant): Add.
183
02dcb6c5
PE
1842012-08-15 Paul Eggert <eggert@cs.ucla.edu>
185
186 [BZ #14090]
187 * crypt/md5.c (md5_process_block): Don't assume the buffer
188 length is less than 2**32.
189 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
190 length is less than 2**64.
191
a3f95dcc
RM
1922012-08-15 Roland McGrath <roland@hack.frob.com>
193
be75d758
RM
194 * string/str-two-way.h: Include <sys/param.h>.
195 (MAX): Macro removed.
196
7312ca90
RM
197 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
198 Move #define and #undef of memmove to just before and after
199 including <string.h>.
200
9a0a5486
RM
201 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
202 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
203 and after including <string.h>. Move declarations of
204 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
205 to before #include "string/memmove.c".
206
67cc348d
RM
207 * include/dirent.h: Declare __getdirentries.
208
a3f95dcc
RM
209 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
210 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
211
ca98e171
MF
2122012-08-14 Mike Frysinger <vapier@gentoo.org>
213
214 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
215 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
216 * sysdeps/i386/configure: Regenerated.
217 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
218 STABS_CURRENT_FILE, and STABS_FUN.
219 (END): Remove call to STABS_FUN_END.
220 (STABS_CURRENT_FILE1): Delete.
221 (STABS_CURRENT_FILE): Likewise.
222 (STABS_FUN): Likewise.
223 (STABS_FUN_END): Likewise.
224 (STABS_FUN2): Likewise.
225 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
226 * sysdeps/x86_64/configure: Regenerated.
227
5908bf46
RM
2282012-08-14 Roland McGrath <roland@hack.frob.com>
229
230 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 231 * elf/dl-lookup.c: Likewise.
5908bf46 232
f2c05b9e
JM
2332012-08-14 Joseph Myers <joseph@codesourcery.com>
234
235 * sysdeps/unix/sysv/linux/kernel-features.h
236 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
237 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
238 unconditionally.
239 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
240 unconditionally.
241 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
242 condition on __ASSUME_CLONE_THREAD_FLAGS.
243
e11f5155
AJ
2442012-08-14 Andreas Jaeger <aj@suse.de>
245
246 * sysdeps/i386/fpu/libm-test-ulps: Update.
247
51a9ba86
MK
2482012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
249
2fdd4f78
AJ
250 * include/atomic.h (atomic_exchange_and_add): Split into ...
251 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
252 New atomic macros.
51a9ba86 253
ba6cba9e
MT
2542012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
255
256 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
257
42443a47
JL
2582012-08-13 Jeff Law <law@redhat.com>
259
260 * manual/stdio.texi (snprintf): Clarify handling of the trailing
261 null byte in the output string.
262
121dce05
JM
2632012-08-10 Joseph Myers <joseph@codesourcery.com>
264
265 * sysdeps/unix/sysv/linux/kernel-features.h
266 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
267 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
268 (__ASSUME_ARG_MAX_STACK_BASED): Define.
269 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
270 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
271 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
272 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
273
bf51f568
JL
2742012-08-09 Jeff Law <law@redhat.com>
275
276 [BZ #13939]
277 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
278 When avoid_arena is set, don't retry in the that arena. Pick the
279 next one, whatever it might be.
280 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
281 (arena_lock): Pass in new parameter to arena_get2.
282 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
283 arena_get2.
284 (__libc_malloc): Unify retrying after main arena failure with
285 __libc_memalign version.
286 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
287
f85fa270
L
2882012-08-09 H.J. Lu <hongjiu.lu@intel.com>
289
290 [BZ #14166]
291 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
292 to __redirect_strstr.
293 (__strstr_sse42): Use typeof __redirect_strstr.
294 (__strstr_ia32): Likewise.
295 (__libc_strstr): New prototype.
296 (strstr): Renamed to ...
297 (__libc_strstr): This.
298 (strstr): New strong alias of __libc_strstr.
299 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
300 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
301 __redirect_time.
302 Include <time.h>.
303 (__libc_time): New prototype.
304 (time_ifunc): Replace time with __libc_time.
305 (time): New strong alias and hidden definition of __libc_time.
306 (__GI_time): Remove strong alias.
307 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
308 Include <stddef.h>.
309 (memmove): Redefined to __redirect_memmove.
310 (__memmove_sse2): Use typeof __redirect_memmove.
311 (__memmove_ssse3): Likewise.
312 (__memmove_ssse3_back): Likewise.
313 (__libc_memmove): New prototype.
314 (memmove): Renamed to ...
315 (__libc_memmove): This.
316 (memmove): New strong alias of __libc_memmove.
317
33b4a91e
MS
3182012-08-08 Mark Salter <msalter@redhat.com>
319
320 * elf/elf.h
321 (R_MN10300_TLS_GD): Define.
322 (R_MN10300_TLS_LD): Likewise.
323 (R_MN10300_TLS_LDO): Likewise.
324 (R_MN10300_TLS_GOTIE): Likewise.
325 (R_MN10300_TLS_IE): Likewise.
326 (R_MN10300_TLS_LE): Likewise.
327 (R_MN10300_TLS_DTPMOD): Likewise.
328 (R_MN10300_TLS_DTPOFF): Likewise.
329 (R_MN10300_TLS_TPOFF): Likewise.
330 (R_MN10300_SYM_DIFF): Likewise.
331 (R_MN10300_ALIGN): Likewise.
332 (R_MN10300_NUM): Update.
333
b36137f1
JM
3342012-08-08 Joseph Myers <joseph@codesourcery.com>
335
336 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
337 Remove.
338
cdd915fd
RM
3392012-08-08 Roland McGrath <roland@hack.frob.com>
340
a2433aac
RM
341 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
342
cdd915fd
RM
343 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
344 sysdeps/unix -> sysdeps/posix move.
345 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
346
bf9b740a
AM
3472012-08-07 Allan McRae <allan@archlinux.org>
348
349 [BZ #14303]
350 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
351 (SUNOS_CPP): Likewise.
352 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
353 not found.
354 (open_input): Call CPP using execvp.
355
93df14ee
JM
3562012-08-07 Joseph Myers <joseph@codesourcery.com>
357
358 * sysdeps/unix/sysv/linux/kernel-features.h
359 (__ASSUME_PROT_GROWSUPDOWN): Remove.
360 (__ASSUME_NO_CLONE_DETACHED): Likewise.
361 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
362 (__ASSUME_WAITID_SYSCALL): Likewise.
363 * sysdeps/unix/sysv/linux/dl-execstack.c
364 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
365 code unconditional.
366 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
367 conditional code.
368 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
369 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
370 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
371 code.
372 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
373 unconditional.
374 [__ASSUME_WAITID_SYSCALL]: Likewise.
375 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
376
d34689de
RM
3772012-08-07 Roland McGrath <roland@hack.frob.com>
378
a281decc
RM
379 * sysdeps/unix/closedir.c: Renamed to ...
380 * sysdeps/posix/closedir.c: ... here.
381 * sysdeps/unix/dirfd.c: Renamed to ...
382 * sysdeps/posix/dirfd.c: ... here.
383 * sysdeps/unix/dirstream.h: Renamed to ...
384 * sysdeps/posix/dirstream.h: ... here.
385 * sysdeps/unix/fdopendir.c: Renamed to ...
386 * sysdeps/posix/fdopendir.c: ... here.
387 * sysdeps/unix/opendir.c: Renamed to ...
388 * sysdeps/posix/opendir.c: ... here.
389 * sysdeps/unix/readdir.c: Renamed to ...
390 * sysdeps/posix/readdir.c: ... here.
391 * sysdeps/unix/readdir_r.c: Renamed to ...
392 * sysdeps/posix/readdir_r.c: ... here.
393 * sysdeps/unix/rewinddir.c: Renamed to ...
394 * sysdeps/posix/rewinddir.c: ... here.
395 * sysdeps/unix/seekdir.c: Renamed to ...
396 * sysdeps/posix/seekdir.c: ... here.
397 * sysdeps/unix/telldir.c: Renamed to ...
398 * sysdeps/posix/telldir.c: ... here.
399 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
400 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
401 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
402 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
403
22895b47
RM
404 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
405 * bits/fcntl.h: ... here.
406
707a53b6
RM
407 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
408 not 0.
409 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
410 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
411 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
412 (struct flock): Move l_start, l_len to the beginning.
413 Use __pid_t for l_pid.
414 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
415 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
416 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
417 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
418 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
419 [__USE_LARGEFILE64] (struct flock64): New type.
420 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
421
f0bd3e25
RM
422 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
423 * bits/dirent.h: ... here.
424
d34689de
RM
425 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
426 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
427
6dad2c06
JM
4282012-08-07 Joseph Myers <joseph@codesourcery.com>
429
430 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
431 Change from 2.6.0 to 2.6.16.
432 * sysdeps/unix/sysv/linux/configure: Regenerated.
433 * sysdeps/unix/sysv/linux/kernel-features.h
434 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
435 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
436 version.
437 (__ASSUME_UTIMES): Likewise.
438 (__ASSUME_CLONE_STOPPED): Remove.
439 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
440 architectures, not kernel version.
441 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
442 (__ASSUME_NO_CLONE_DETACHED): Likewise.
443 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
444 (__ASSUME_WAITID_SYSCALL): Likewise.
445 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
446 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
447 * README: State 2.6.16 as minimum Linux kernel version. Do not
448 refer to older versions.
449
03af9520
RM
4502012-08-06 Roland McGrath <roland@hack.frob.com>
451
8e49df1d
RM
452 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
453 Define alphasort64 as an alias.
454 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
455 Define versionsort64 as an alias.
456 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
457 Define scandir64 as an alias.
458 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
459 Define scandirat64 as an alias.
460 * dirent/alphasort64.c (alphasort64):
461 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
462 * dirent/versionsort64.c: Likewise.
463 * dirent/scandir64.c: Likewise.
464 * dirent/scandirat64.c: Likewise.
465 * sysdeps/wordsize-64/alphasort.c: File removed.
466 * sysdeps/wordsize-64/alphasort64.c: File removed.
467 * sysdeps/wordsize-64/scandir.c: File removed.
468 * sysdeps/wordsize-64/scandir64.c: File removed.
469 * sysdeps/wordsize-64/scandirat.c: File removed.
470 * sysdeps/wordsize-64/scandirat64.c: File removed.
471 * sysdeps/wordsize-64/versionsort.c: File removed.
472 * sysdeps/wordsize-64/versionsort64.c: File removed.
473 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
474 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
475 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
476 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
477 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
478 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
479 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
480 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
481
482 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
483 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
484 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
485 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
486 [defined __arch64__ || defined __sparcv9]
487 (__INO_T_MATCHES_INO64_T): New macro.
488 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
489 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
490 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
491 * sysdeps/unix/sysv/linux/bits/dirent.h
492 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
493 (_DIRENT_MATCHES_DIRENT64): New macro.
494
03af9520
RM
495 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
496 Define lockf64 as an alias.
497 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
498 Define fseeko64 as an alias.
499 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
500 Define ftello64 as an alias.
501 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
502 Define _IO_fgetpos64 and fgetpos64 as aliases.
503 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
504 Define _IO_fsetpos64 and fsetpos64 as aliases.
505 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
506 Conditionalize body on this.
507 * libio/fseeko64.c: Likewise.
508 * libio/ftello64.c: Likewise.
509 * libio/iofgetpos64.c: Likewise.
510 * libio/iofsetpos64.c: Likewise.
511 * sysdeps/wordsize-64/lockf.c: File removed.
512 * sysdeps/wordsize-64/lockf64.c: File removed.
513 * sysdeps/wordsize-64/fseeko.c: File removed.
514 * sysdeps/wordsize-64/fseeko64.c: File removed.
515 * sysdeps/wordsize-64/ftello.c: File removed.
516 * sysdeps/wordsize-64/ftello64.c: File removed.
517 * sysdeps/wordsize-64/iofgetpos.c: File removed.
518 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
519 * sysdeps/wordsize-64/iofsetpos.c: File removed.
520 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
521 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
522 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
523 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
524 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
525 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
526 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
527 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
528 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
529 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
530 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
531
532 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
533 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
534 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
535 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
536 [defined __arch64__ || defined __sparcv9]
537 (__OFF_T_MATCHES_OFF64_T): New macro.
538 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
539 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
540 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
541 (__OFF_T_MATCHES_OFF64_T): New macro.
542
c5757acd
L
5432012-08-06 H.J. Lu <hongjiu.lu@intel.com>
544
545 * stdlib/secure-getenv.c (__secure_getenv): Replace
546 GLIBC_2_16 with GLIBC_2_17.
547
3a31811e
L
5482012-08-06 H.J. Lu <hongjiu.lu@intel.com>
549
550 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
551 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
552
faa2bccb
DM
5532012-08-03 David S. Miller <davem@davemloft.net>
554
555 * sysdeps/sparc/fpu/libm-test-ulps: Update.
556
85fe1997
JM
5572012-08-03 Joseph Myers <joseph@codesourcery.com>
558
559 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
560 Remove.
561 (__ASSUME_CORRECT_SI_PID): Likewise.
562 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
563 (__ASSUME_TMPFS_NAME): Likewise.
564 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
565 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
566 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
567 (HAVE_AUX_SECURE): Make definition unconditional.
568 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
569 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
570
4f75b7a0
RM
5712012-08-03 Roland McGrath <roland@hack.frob.com>
572
573 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
574 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
575 * sysdeps/mach/hurd/eloop-threshold.h: New file.
576 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
577 __eloop_threshold instead of SYMLOOP_MAX.
578
579 * sysdeps/generic/eloop-threshold.h: New file.
580 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
581 of MAXSYMLINKS.
582 * elf/chroot_canon.c (chroot_canon): Likewise.
583
7aab07e4
JM
5842012-08-03 Joseph Myers <joseph@codesourcery.com>
585
586 [BZ #13717]
587 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
588 Change to 2.6.0 everywhere.
589 * sysdeps/unix/sysv/linux/configure: Regenerated.
590 * sysdeps/unix/sysv/linux/kernel-features.h
591 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
592 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
593 kernel versions.
594 (__ASSUME_POSIX_TIMERS): Define unconditionally.
595 (__ASSUME_FUTEX_REQUEUE): Remove.
596 (__ASSUME_STATFS64): Define unconditionally.
597 (__ASSUME_AT_SECURE): Likewise.
598 (__ASSUME_CORRECT_SI_PID): Likewise.
599 (__ASSUME_TGKILL): Define without depending on kernel version for
600 i386.
601 (__ASSUME_UTIMES): Likewise.
602 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
603 kernel version.
604 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
605 (__ASSUME_TMPFS_NAME): Likewise.
606 * README: Update reference to Linux kernel versions.
607
b67e9372
MP
6082012-08-02 Marek Polacek <polacek@redhat.com>
609
610 [BZ#14150]
611 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
612 libc_cv_asm_type_prefix with %.
613 * configure: Regenerated.
d2441631
RM
614 * include/libc-symbols.h: Remove comment about
615 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
616 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
617 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
618 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
619 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
620 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
621 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
622 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
623 * elf/tst-unique2mod1.c: Likewise.
624 * elf/tst-unique1mod2.c: Likewise.
625 * elf/tst-unique1mod1.c: Likewise.
626 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
627 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
628 Replace ASM_TYPE_DIRECTIVE with .type.
629 * sysdeps/s390/s390-64/sysdep.h: Likewise.
630 * sysdeps/i386/sysdep.h: Likewise.
631 * sysdeps/x86_64/sysdep.h: Likewise.
632 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
634 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 635 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
636 * sysdeps/powerpc/powerpc32/sysdep.h:
637 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
638 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
639 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
640 * sysdeps/i386/fpu/e_powf.S: Likewise.
641 * sysdeps/i386/fpu/e_expl.S: Likewise.
642 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
643 * sysdeps/i386/fpu/e_acosh.S: Likewise.
644 * sysdeps/i386/fpu/e_pow.S: Likewise.
645 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
646 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
647 * sysdeps/i386/fpu/s_expm1.S: Likewise.
648 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
649 * sysdeps/i386/fpu/e_log2.S: Likewise.
650 * sysdeps/i386/fpu/e_log2l.S: Likewise.
651 * sysdeps/i386/fpu/e_scalb.S: Likewise.
652 * sysdeps/i386/fpu/e_powl.S: Likewise.
653 * sysdeps/i386/fpu/e_log10f.S: Likewise.
654 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
655 * sysdeps/i386/fpu/e_logl.S: Likewise.
656 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
657 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
658 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
659 * sysdeps/i386/fpu/e_log2f.S: Likewise.
660 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
661 * sysdeps/i386/fpu/e_log.S: Likewise.
662 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
663 * sysdeps/i386/fpu/e_logf.S: Likewise.
664 * sysdeps/i386/fpu/e_log10l.S: Likewise.
665 * sysdeps/i386/fpu/e_atanh.S: Likewise.
666 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
667 * sysdeps/i386/fpu/e_log10.S: Likewise.
668 * sysdeps/i386/fpu/s_frexp.S: Likewise.
669 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
670 * sysdeps/i386/fpu/s_asinh.S: Likewise.
671 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
672 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
673 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
674 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
675 * sysdeps/i386/i686/strtok.S: Likewise.
676 * sysdeps/i386/i386-mcount.S: Likewise.
677 * sysdeps/i386/strtok.S: Likewise.
678 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
679 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
680 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
681 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
682 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
683 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
684 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
685 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
686 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
687 * sysdeps/x86_64/_mcount.S: Likewise.
688 * sysdeps/x86_64/strtok.S: Likewise.
689 * sysdeps/sh/_mcount.S: Likewise.
690
2747bf9a
RM
6912012-08-01 Roland McGrath <roland@hack.frob.com>
692
693 * libio/iofopen.c: Include <fcntl.h>.
694 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
695 (_IO_fopen64, fopen64): Define as aliases.
696 * libio/iofopen64.c: Include <fcntl.h>.
697 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
698 Conditionalize body on this.
699 * sysdeps/wordsize-64/iofopen.c: File removed.
700 * sysdeps/wordsize-64/iofopen64.c: File removed.
701
3fb791b8
MP
7022012-08-01 Marek Polacek <polacek@redhat.com>
703
704 * libc/Makeconfig: Use elf in place of binfmt-subdir.
705 Use dlfcn directly instead of a variable.
706 (binfmt-subdir): Do not define.
707 (dlfcn): Likewise.
708
a9f1039f
JM
7092012-08-01 Joseph Myers <joseph@codesourcery.com>
710
23bddc06
JM
711 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
712 Remove all definitions.
713 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
714 <kernel-features.h>.
715 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
716 (miss_F_GETOWN_EX): Remove all definitions.
717 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
718 macro definition.
719 [!__ASSUME_FCNTL64]: Remove conditional code.
720 [__ASSUME_FCNTL64]: Make code unconditional.
721 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
722 <kernel-features.h>.
723 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
724 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
725 (lockf64) [__NR_fcntl64]: Make code unconditional.
726 (lockf64) [__ASSUME_FCNTL64]: Likewise.
727
a9f1039f
JM
728 * sysdeps/unix/sysv/linux/kernel-features.h
729 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
730 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
731 Make code unconditional.
732 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
733 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
735 [__NR_vfork]: Make code unconditional.
736 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
737 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
739 [__NR_vfork]: Make code unconditional.
740 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
741 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
742
09c0ee5f
RM
7432012-08-01 Roland McGrath <roland@hack.frob.com>
744
48aec5b9
RM
745 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
746 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
747
cd97c966
RM
748 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
749 Define mkstemp64 as an alias.
3f55550c
RM
750 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
751 Define mkstemps64 as an alias.
cd97c966
RM
752 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
753 Define mkostemp64 as an alias.
b8625cfc
RM
754 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
755 Define mkostemps64 as an alias.
cd97c966
RM
756 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
757 Conditionalize body on this.
758 * misc/mkostemp64.c: Likewise.
b8625cfc 759 * misc/mkostemps64.c: Likewise.
3f55550c 760 * misc/mkstemps64.c: Likewise.
cd97c966
RM
761 * sysdeps/wordsize-64/mkstemp64.c: File removed.
762 * sysdeps/wordsize-64/mkostemp64.c: File removed.
763 * sysdeps/wordsize-64/mkostemp.c: File removed.
764 * sysdeps/wordsize-64/mkstemp.c: File removed.
765 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
766 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
767 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
768 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
769
09c0ee5f
RM
770 [BZ #14138]
771 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
772 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
773 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
774 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
775
776 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
777 compat_symbol macros from <shlib-compat.h> rather than the underlying
778 default_symbol_version and symbol_version macros, so that DEFAULT
779 lines in shlib-versions are respected.
780 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
781
7e66ee51
FW
7822012-08-01 Florian Weimer <fweimer@redhat.com>
783
784 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
785 Declare with warn_unused_result.
786 (setgid, setregid, setegid, setresgid): Likewise.
787 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
788 Likewise.
789 * WUR-REPORT: Remove set*id functions.
790
d2a54255
PT
7912012-07-31 Pino Toscano <toscano.pino@tiscali.it>
792
793 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
794
7ecdb005
RM
7952012-07-31 Roland McGrath <roland@hack.frob.com>
796
789bd351
RM
797 * include/sys/socket.h (__libc_accept, __libc_accept4):
798 Add attribute_hidden.
799 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
800
40ce302d
RM
801 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
802 use of PTR_MANGLE.
803 * inet/getnetgrent_r.c (setup): Likewise.
804
7ecdb005
RM
805 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
806
e2eabb2c
DM
8072012-07-31 David S. Miller <davem@davemloft.net>
808
809 * sysdeps/sparc/fpu/libm-test-ulps: Update.
810
d0419dbf
JM
8112012-07-31 Joseph Myers <joseph@codesourcery.com>
812
813 [BZ #13629]
814 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
815 value between 1.0 and 2.0 and smaller part has absolute value less
816 than 1.0.
817 * math/s_clog10.c (__clog10): Likewise.
818 * math/s_clog10f.c (__clog10f): Likewise.
819 * math/s_clog10l.c (__clog10l): Likewise.
820 * math/s_clogf.c (__clogf): Likewise.
821 * math/s_clogl.c (__clogl): Likewise.
822 * math/libm-test.inc (clog_test): Add more tests.
823 (clog10_test): Likewise.
824 * sysdeps/i386/fpu/libm-test-ulps: Update.
825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
826
2bc13872
FW
8272012-07-31 Florian Weimer <fweimer@redhat.com>
828
829 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
830 Exit with zero in case no suitable GID is found, and write a
831 message to standard error.
832
bea9b193
RM
8332012-07-30 Roland McGrath <roland@hack.frob.com>
834
835 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
836 rather than to 1.
837 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
838 (MAXPATHLEN): Removed.
839 (NOGROUP, NODEV): New macros.
840 (setbit, clrbit, isset, isclr): New macros.
841 (howmany, roundup, powerof2): New macros.
842 (DEV_BSIZE): New macro.
843
844 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
845 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
846
847 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
848 definition on [!__NO_LONG_DOUBLE_MATH].
849
850 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
851 PTR_MANGLE and PTR_DEMANGLE.
852
853 * socket/accept4.c (accept4): Rename to __libc_accept4.
854 Define accept4 as a weak alias.
855
856 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
857 on [_DIRENT_HAVE_D_TYPE].
858 * io/ftw.c (ftw_dir): Likewise.
859
860 * io/xmknod.c (__xmknod): Don't check PATH for being null.
861
862 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
863
864 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
865 Use the BSD numbers rather than the arbitrary ones we had.
866 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
867 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
868 (SIGXCPU, SIGXFSZ): New macros.
869 (_NSIG): Now 32.
870
871 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
872 initializer on [_LIBC_REENTRANT].
873
874 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
875 definitions inside [_POSIX_MAPPED_FILES].
876
877 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
878
879 * dirent/opendir.c: Include <fcntl.h>.
880
881 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
882 (__libc_getspecific): Likewise.
883 (__libc_key_create): Likewise.
884
885 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
886 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
887 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
888 (tmpfile64): Define as alias.
889 * sysdeps/wordsize-64/tmpfile.c: File removed.
890 * sysdeps/wordsize-64/tmpfile64.c: File removed.
891 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
892 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
893
894 * stdio-common/vfscanf.c: Include <stdbool.h>.
895 * nss/makedb.c: Likewise.
896 * stdio-common/_i18n_number.h: Likewise.
897 * argp/argp-help.c: Likewise.
898 * posix/wordexp.c: Likewise.
899 * sysdeps/posix/spawni.c: Likewise.
900 * nss/nss_files/files-initgroups.c: Likewise.
901 * stdio-common/reg-modifier.c: Include <stdlib.h>.
902 * nss/nss_files/files-initgroups.c: Likewise.
903 * nss/nss_db/db-netgrp.c: Likewise.
904 * nss/nss_db/db-initgroups.c: Likewise.
905 * io/fchmodat.c: Include <sys/stat.h>.
906
907 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
908 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
909
910 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
911 [HAVE_MMAP].
912
913 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
914 Add multiple inclusion protection.
915
e5abc686
DM
9162012-07-27 David S. Miller <davem@davemloft.net>
917
918 * sysdeps/sparc/fpu/libm-test-ulps: Update.
919
815e6fa3
GB
9202012-07-27 Gary Benson <gbenson@redhat.com>
921
922 [BZ #14298]
923 * elf/rtld.c: Include <stap-probe.h>.
924 (dl_main): Added static probes "init_start" and "init_complete".
925 * elf/dl-load.c: Include <stap-probe.h>.
926 (lose): Take new parameter "nsid".
927 Added static probe "map_failed".
928 (_dl_map_object_from_fd): Pass namespace id to lose.
929 Added static probe "map_start".
930 (open_verify): Pass namespace id to lose.
931 * elf/dl-open.c: Include <stap-probe.h>.
932 (dl_open_worker) Added static probes "map_complete", "reloc_start"
933 and "reloc_complete".
934 * elf/dl-close.c: Include <stap-probe.h>.
935 (_dl_close_worker): Added static probes "unmap_start" and
936 "unmap_complete".
937 * elf/rtld-debugger-interface.txt: New file documenting the above.
938
9f98c16c
RM
9392012-07-26 Roland McGrath <roland@hack.frob.com>
940
941 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
942 rather than a string variable.
943 * sunrpc/rpc_main.c (h_output): Likewise.
944 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
945
f3c22df3
PT
9462012-07-26 Pino Toscano <toscano.pino@tiscali.it>
947
948 * inet/check_native.c: New file.
949
3129cfc6
JM
9502012-07-26 Joseph Myers <joseph@codesourcery.com>
951
da865e95
JM
952 [BZ #13629]
953 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
954 if larger part has absolute value 1.0.
955 * math/s_clog10.c (__clog10): Likewise.
956 * math/s_clog10f.c (__clog10f): Likewise.
957 * math/s_clog10l.c (__clog10l): Likewise.
958 * math/s_clogf.c (__clogf): Likewise.
959 * math/s_clogl.c (__clogl): Likewise.
960 * math/libm-test.inc (clog_test): Add more tests.
961 (clog10_test): Likewise.
962 * sysdeps/i386/fpu/libm-test-ulps: Update.
963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
964
3129cfc6
JM
965 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
966 (pltexit): Likewise.
967 (La_regs): Likewise.
968 (La_retval): Likewise.
969 (int_retval): Likewise.
970 Update #error for removed macros to refer only to definitions in
971 tst-audit.h.
972 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
973 macro.
974 (pltexit): Likewise.
975 (La_regs): Likewise.
976 (La_retval): Likewise.
977 (int_retval): Likewise.
978 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
979 macro.
980 (pltexit): Likewise.
981 (La_regs): Likewise.
982 (La_retval): Likewise.
983 (int_retval): Likewise.
984 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
985 macro.
986 (pltexit): Likewise.
987 (La_regs): Likewise.
988 (La_retval): Likewise.
989 (int_retval): Likewise.
990 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
991 macro.
992 (pltexit): Likewise.
993 (La_regs): Likewise.
994 (La_retval): Likewise.
995 (int_retval): Likewise.
996 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
997 macro.
998 (pltexit): Likewise.
999 (La_regs): Likewise.
1000 (La_retval): Likewise.
1001 (int_retval): Likewise.
1002 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
1003 macro.
1004 (pltexit): Likewise.
1005 (La_regs): Likewise.
1006 (La_retval): Likewise.
1007 (int_retval): Likewise.
1008 * sysdeps/generic/tst-audit.h: Update comment to refer only to
1009 macro definitions in tst-audit.h.
1010 * sysdeps/i386/tst-audit.h: New file.
1011 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
1012 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
1013 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
1014 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
1015 * sysdeps/sh/tst-audit.h: Likewise.
1016 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
1017 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
1018 * sysdeps/x86_64/tst-audit.h: Likewise.
1019
bfc07087
AJ
10202012-07-26 Andreas Jaeger <aj@suse.de>
1021
b1b2aaf8
AJ
1022 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
1023 ptrace.
1024
1025 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
1026 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
1027 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
1028 PTRACE_O_MASK.
1029 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
1030 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
1031 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
1032
bfc07087
AJ
1033 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
1034 value.
1035
1036 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
1037 _sigsys.
1038 (si_call_addr, si_syscall, si_arch): Define new macro.
1039 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
1040 _sigsys.
1041 (si_call_addr, si_syscall, si_arch): Define new marcro.
1042 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
1043 _sigsys.
1044 (si_call_addr, si_syscall, si_arch): Define new macro.
1045 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
1046 _sigsys.
1047 (si_call_addr, si_syscall, si_arch): Define new macro.
1048
89b4b02f
JM
10492012-07-25 Joseph Myers <joseph@codesourcery.com>
1050
1051 [BZ #13717]
1052 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1053 Change to 2.4.21 where previously 2.4.1.
1054 * sysdeps/unix/sysv/linux/configure: Regenerated.
1055 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
1056 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
1057 Linux kernel version.
1058 (__ASSUME_STD_AUXV): Remove.
1059 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
1060 kernel version.
1061 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
1062 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
1063 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
1064 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
1065 (__ASSUME_NETLINK_SUPPORT): Likewise.
1066 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
1067 (__no_netlink_support): Remove conditional definition.
1068 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
1069 Remove.
1070 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1071 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
1072 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
1073 (if_nameindex_ioctl): Remove.
1074 (if_nameindex_netlink): Do not handle __no_netlink_support.
1075 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1076 code.
1077 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
1078 Remove conditional code.
1079 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1080 code.
1081 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
1082 unconditional.
1083 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1084 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
1085 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
1086 Remove.
1087 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1088 [!__ASSUME_STD_AUXV]: Remove conditional code.
1089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
1090 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
1091 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
1092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
1093 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
1094 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1095 code.
1096 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1098 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
1099 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1100 conditional code.
1101 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1103 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1104 code.
1105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1106 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1107 conditional code.
1108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
1109 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1110 code unconditional.
1111 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1112 conditional code.
1113 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1114 unconditional.
1115 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1116 conditional code.
1117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1118 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1119 unconditional.
1120 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1121 conditional code.
1122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1123 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1124 code unconditional.
1125 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1126 conditional code.
1127 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1128 unconditional.
1129 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1130 conditional code.
1131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1132 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1133 code unconditional.
1134 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1135 conditional code.
1136 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1137 unconditional.
1138 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1139 conditional code.
1140
842a39cd
AS
11412012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1142
1143 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
1144 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
1145 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1146 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
1147 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1148 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1149 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1150 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1151 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1152 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1153 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
1154 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1155 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
1156 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1157 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1158 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
1159 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1160 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
1161 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
1162 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
1163 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1164 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1165 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1166
84b3fd84
FW
11672012-07-25 Florian Weimer <fweimer@redhat.com>
1168
1169 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
1170 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
1171 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
1172 Introduce __libc_secure_getenv.
0c7936d5
FW
1173 * stdlib/Versions (2.17): Add secure_getenv
1174 (GLIBC_PRIVATE): Add __libc_secure_getenv.
1175 * stdlib/secure-getenv.c: Rename __secure_getenv to
1176 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
1177 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
1178 * stdlib/tst-secure-getenv.c: New.
1179 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
1180 * manual/startup.texi (Environment Access): Document
1181 secure_getenv.
84b3fd84
FW
1182 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
1183 __libc_secure_getenv.
1184 * inet/ruserpass.c (ruserpass): Likewise.
1185 * malloc/mtrace.c (mtrace): Likewise.
1186 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 1187 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
1188 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
1189 * sysdeps/posix/tempname.c: Likewise. Evaluate
1190 HAVE_SECURE_GETENV.
1191 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 1192 __secure_getenv to __libc_secure_getenv.
84b3fd84 1193 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
1194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1195 Likewise.
1196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1197 Likewise.
1198 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1199 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1200 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1201 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1202 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1203 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1204 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 1205
56e49b71
JM
12062012-07-25 Joseph Myers <joseph@codesourcery.com>
1207
1208 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
1209 (struct La_i86_retval): Likewise.
1210 (struct La_x86_64_regs): Likewise.
1211 (struct La_x86_64_retval): Likewise.
1212 (struct La_x32_regs): Likewise.
1213 (struct La_x32_retval): Likewise.
1214 (struct La_ppc32_regs): Likewise.
1215 (struct La_ppc32_retval): Likewise.
1216 (struct La_ppc64_regs): Likewise.
1217 (struct La_ppc64_retval): Likewise.
1218 (struct La_sh_regs): Likewise.
1219 (struct La_sh_retval): Likewise.
1220 (struct La_s390_32_regs): Likewise.
1221 (struct La_s390_32_retval): Likewise.
1222 (struct La_s390_64_regs): Likewise.
1223 (struct La_s390_64_retval): Likewise.
1224 (struct La_sparc32_regs): Likewise.
1225 (struct La_sparc32_retval): Likewise.
1226 (struct La_sparc64_regs): Likewise.
1227 (struct La_sparc64_retval): Likewise.
1228 (struct audit_ifaces): Remove architecture-specific pltenter and
1229 pltexit members.
1230 * sysdeps/i386/ldsodefs.h: New file.
1231 * sysdeps/powerpc/ldsodefs.h: Likewise.
1232 * sysdeps/s390/ldsodefs.h: Likewise.
1233 * sysdeps/sh/ldsodefs.h: Likewise.
1234 * sysdeps/sparc/ldsodefs.h: Likewise.
1235 * sysdeps/x86_64/ldsodefs.h: Likewise.
1236
354691b7
MP
12372012-07-25 Marek Polacek <polacek@redhat.com>
1238
1239 [BZ #6808]
1240 * math/libm-test.inc (yn_test): Add another test.
1241 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
1242 to ERANGE when the result is +-Inf.
1243 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1244 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1245 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
1246 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
1247
bf9e2071
JM
12482012-07-24 Joseph Myers <joseph@codesourcery.com>
1249
1250 * conform/data/time.h-data (NULL): Use macro-constant. Require
1251 equal to 0.
1252 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
1253 clock_t.
1254 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
1255
57633811
TS
12562012-07-23 Thomas Schwinge <thomas@codesourcery.com>
1257
1258 * configure.in <sysdeps resolving>: Correct printing
1259 Implies_before.
1260 * configure: Regenerate.
1261
c23c33b0
TS
12622012-07-22 Thomas Schwinge <thomas@codesourcery.com>
1263
1264 * math/w_ilogb.c: Include <limits.h>.
1265 * math/w_ilogbl.c: Likewise.
1266
b5982523
JM
12672012-07-20 Joseph Myers <joseph@codesourcery.com>
1268
1269 * manual/lang.texi (__va_copy): Document primarily as ISO C99
1270 va_copy. Document allowing for unavailable va_copy only as
1271 pre-C99 compatibility.
1272 * manual/string.texi (Copying and Concatenation): Use va_copy
1273 instead of __va_copy in concat example.
1274
ac4ea442
PT
12752012-07-20 Pino Toscano <toscano.pino@tiscali.it>
1276
1277 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1278 (__sendto): Use create_address_port. Initialize APORT and deallocate
1279 it if not null.
1280
f98eafbd
PT
1281 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1282 with O_NOLINK passed to __file_name_lookup.
1283
898c7aab
PT
1284 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1285 with O_NOLINK passed to __file_name_lookup.
1286
0ced335a
PT
1287 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1288 negative N or less than NGIDS.
1289
b3404dbd
PT
1290 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1291 type to string_t. Set ERANGE as errno and return it if NAME is not big
1292 enough. Use memcpy instead of strncpy.
1293
0f48659e
JM
12942012-07-20 Joseph Myers <joseph@codesourcery.com>
1295
1296 * elf/Makefile (check-data): Remove.
1297 (localplt.data): New vpath directive.
1298 ($(objpfx)check-localplt.out): Use localplt.data from vpath
1299 instead of $(check-data).
1300 * scripts/data/localplt-generic.data: Move to ...
1301 * sysdeps/generic/localplt.data: ... here.
1302 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1303 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1304 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1306 ... here.
1307 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1309 ... here.
1310 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1311 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1312 ... here.
1313 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1314 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1315 ... here.
1316 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1317 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1318 ... here.
1319 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1320 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1321 ... here.
1322
d37cbdaa
AZ
13232012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1324
1325 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1326 PPC32 and PPC64 files.
1327 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1328 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1329
46f85fc2
AK
13302012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1331
1332 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1333 __makecontext_ret to ...
1334 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1335 ... here and call exit if uc_link is NULL. New file.
1336 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1337 __makecontext_ret.S.
1338 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1339 __makecontext_ret to ...
1340 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1341 ... here and call exit if uc_link is NULL. New file.
1342 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1343 __makecontext_ret.S.
1344
08f43f9b
AK
13452012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1346
1347 * elf/elf.h (R_390_IRELATIVE): New definition.
1348 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1349 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
1350 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1351 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1352 (elf_machine_lazy_rel): Likewise.
1353 * sysdeps/s390/dl-irel.h: New file.
1354 * sysdeps/s390/s390-64/memcpy.S: New asm code.
1355 * sysdeps/s390/s390-64/memset.S: New asm code.
1356 * sysdeps/s390/s390-64/memcmp.S: New asm code.
1357 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
1358 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
1359 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
1360 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
1361 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
1362 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
1363 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
1364 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
1365 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
1366 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
1367 * sysdeps/s390/s390-32/memcpy.S: New asm code.
1368 * sysdeps/s390/s390-32/memset.S: New asm code.
1369 * sysdeps/s390/s390-32/memcmp.S: New asm code.
1370
3b05db33
MP
13712012-07-17 Marek Polacek <polacek@redhat.com>
1372
1373 [BZ #14349]
1374 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
1375 * sysdeps/s390/s390-64/configure.in: Likewise.
1376 * sysdeps/sparc/configure.in: Likewise.
1377 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
1378 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
1379 * sysdeps/i386/configure.in: Likewise.
1380 * sysdeps/x86_64/configure.in: Likewise.
1381 * sysdeps/sh/configure.in: Likewise.
1382 * sysdeps/s390/s390-32/configure: Regenerated.
1383 * sysdeps/s390/s390-64/configure: Likewise.
1384 * sysdeps/x86_64/configure: Likewise.
1385 * sysdeps/sh/configure: Likewise.
1386 * sysdeps/powerpc/powerpc64/configure: Likewise.
1387 * sysdeps/powerpc/powerpc32/configure: Likewise.
1388 * sysdeps/sparc/configure: Likwise.
1389 * sysdeps/i386/configure: Likewise.
1390
a66877c6
MP
1391 * elf/dl-open.c: Comment fixes.
1392
cfc82fd8
JM
13932012-07-17 Joseph Myers <joseph@codesourcery.com>
1394
bd29910a
JM
1395 * Makefile [CXX] (check-data): Remove.
1396 [CXX] (c++-types.data): New vpath directive.
1397 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
1398 vpath. Do not allow for C++ type data being missing.
1399 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
1400 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
1401 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
1402 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
1403 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
1404 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
1405 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
1406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1407 ... here.
1408 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
1409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1410 ... here.
1411 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
1412 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
1413 ... here.
1414 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
1415 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
1416 ... here.
1417 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
1418 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
1419 ... here.
1420 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
1421 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
1422 ... here.
1423 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
1424 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
1425 ... here.
1426 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
1427 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
1428
cfc82fd8
JM
1429 * elf/tls-macros.h (TLS_LE): Move architecture-specific
1430 definitions to architecture-specific files.
1431 (TLS_IE): Likewise.
1432 (TLS_LD): Likewise.
1433 (TLS_GD): Likewise.
1434 * sysdeps/i386/tls-macros.h: New file.
1435 * sysdeps/powerpc/tls-macros.h: Likewise.
1436 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1437 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1438 * sysdeps/sh/tls-macros.h: Likewise.
1439 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
1440 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
1441 * sysdeps/x86_64/tls-macros.h: Likewise.
1442
f7db3170
TS
14432012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1444
07cbfc23
TS
1445 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
1446 zero value for regular exit case.
1447
f7db3170
TS
1448 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1449 (__start_context): Preserve zero value for regular exit case.
1450
dc97c227
TS
14512012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1452 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1453
1454 * manual/setjmp.texi (setcontext): Clarify normal process
1455 termination when uc_link is the null pointer.
1456 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
1457 exit call.
1458
d0cd7d02
AS
14592012-07-16 Andreas Schwab <schwab@linux-m68k.org>
1460
1461 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
1462 preprocessor. Test for each exception mask separately.
1463
dd318934
AJ
14642012-07-16 Andreas Jaeger <aj@suse.de>
1465
1466 * po/ru.po: Update from translation team.
1467
8048311a
JM
14682012-07-15 Joseph Myers <joseph@codesourcery.com>
1469
1470 * conform/data/string.h-data (NULL): Use macro-constant. Require
1471 equal to 0.
1472 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1473 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1474 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
1475 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
1476 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1477
b637d46e
AJ
14782012-07-13 Andreas Jaeger <aj@suse.de>
1479
1480 * po/fr.po: Update from translation team.
1481
541428fe
MP
14822012-07-12 Marek Polacek <polacek@redhat.com>
1483
1484 [BZ #14173]
1485 * math/libm-test.inc (yn_test): Add test for BZ #14173.
1486 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
1487 loop condition.
1488
ec332e94
JM
14892012-07-12 Joseph Myers <joseph@codesourcery.com>
1490
1491 [BZ #13717]
1492 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1493 Change to 2.4.1 where previously 2.4.0.
1494 * sysdeps/unix/sysv/linux/configure: Regenerated.
1495 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
1496 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
1497 version.
1498 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
1499 (__ASSUME_AT_CLKTCK): Remove.
1500 (__ASSUME_AT_PAGESIZE): Likewise.
1501 (__ASSUME_AT_XID): Likewise.
1502 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
1503 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
1504 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
1505 unconditionally.
1506 (HAVE_AUX_PAGESIZE): Likewise.
1507 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
1508 [__ASSUME_AT_CLKTCK]: Make code unconditional.
1509 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
1510
7b6e99be
JB
15112012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
1512
1513 [BZ #14307]
1514 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
1515 the temporary buffer used to invoke __gethostbyname2_r,
1516 __gethostbyaddr_r and gethostbyname4_r to make room for struct
1517 host_data / struct gaih_addrtuple.
1518 * resolv/nss_dns/dns-host.c (global scope): Move definition of
1519 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
1520 header file nss/nsswitch.h.
1521 * nss/nsswitch.h (global scope): Add definition of implementation
1522 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
1523 resolv/nss_dns/dns-host.c).
1524
608404eb
AJ
15252012-07-11 Andreas Jaeger <aj@suse.de>
1526
1527 * po/fr.po: Update from translation team.
1528
71220aca
AJ
1529 * po/sv.po: Update from translation team
1530 * po/fr.po: Another update from translation team.
1531
28cfe843
AZ
15322012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1533
1534 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
1535 for subnormals or multiply small sinh result by itself.
1536 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1537 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1538
6b90f981
DM
15392012-07-11 David S. Miller <davem@davemloft.net>
1540
1541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1542
c6825772
AS
15432012-07-10 Andreas Schwab <schwab@linux-m68k.org>
1544
1545 [BZ #14347]
1546 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
1547 (INTERNAL_MARK): Shift it here.
1548
7b8e0d49
MP
15492012-07-10 Marek Polacek <polacek@redhat.com>
1550
1551 [BZ #14151]
1552 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
1553 libc_cv_asm_global_directive with .globl.
1554 * configure: Regenerated.
1555 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
1556 with .globl.
1557 * sysdeps/i386/configure: Regenerated.
1558 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
1559 with .globl.
1560 * sysdeps/x86_64/configure: Regenerated.
1561 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
1562 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
1563 * elf/tst-unique2mod2.c: Likewise.
1564 * elf/tst-unique2mod1.c: Likewise.
1565 * elf/tst-unique1mod2.c: Likewise.
1566 * elf/tst-unique1mod1.c: Likewise.
1567 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1568 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1569 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1570 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1571 * sysdeps/mach/sysdep.h: Likewise.
1572 * sysdeps/i386/sysdep.h: Likewise.
1573 * sysdeps/i386/i386-mcount.S: Likewise.
1574 * sysdeps/x86_64/_mcount.S: Likewise.
1575 * sysdeps/x86_64/sysdep.h: Likewise.
1576 * sysdeps/sh/_mcount.S: Likewise.
1577 * sysdeps/sh/sysdep.h: Likewise.
1578 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
1579 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
1580 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
1581 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1582 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
1583 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
1584 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
1585 * locale/localeinfo.h: Likewise.
1586 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
1587 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
1588
6c55cda3
RM
15892012-07-09 Roland McGrath <roland@hack.frob.com>
1590
1591 [BZ #14336]
1592 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
1593 system".
1594 * manual/message.texi (The Uniforum approach): Likewise.
1595 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
1596 (glibc iconv Implementation): Likewise.
1597
638a572e
JM
15982012-07-09 Joseph Myers <joseph@codesourcery.com>
1599
1600 [BZ #14337]
1601 * math/s_clog.c (__clog): Avoid scaling a value down where that
1602 could result in underflow.
1603 * math/s_clog10.c (__clog10): Likewise.
1604 * math/s_clog10f.c (__clog10f): Likewise.
1605 * math/s_clog10l.c (__clog10l): Likewise.
1606 * math/s_clogf.c (__clogf): Likewise.
1607 * math/s_clogl.c (__clogl): Likewise.
1608 * math/libm-test.inc (clog_test): Add more tests.
1609 (clog10_test): Likewise.
1610 * sysdeps/i386/fpu/libm-test-ulps: Update.
1611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1612
261f4859
AS
16132012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1614
0abaf3e4
AS
1615 [BZ #14283]
1616 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
1617 by 7 not 8 to examine high bit of fractional part.
1618
261f4859
AS
1619 [BZ #14042]
1620 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
1621 for call to __mcount_internal.
1622 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
1623 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
1624 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
1625
f17ac40d
JM
16262012-07-06 Joseph Myers <joseph@codesourcery.com>
1627
9ad63c23
JM
1628 [BZ #14154]
1629 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
1630 approximation for values within 0x1p-13f of an odd multiple of
1631 pi/4.
1632 * math/libm-test.inc (tan_test): Do not allow spurious underflow
1633 exception. Add more tests.
1634 * sysdeps/i386/fpu/libm-test-ulps: Update.
1635
f17ac40d
JM
1636 [BZ #6778]
1637 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
1638 inputs and return -1 for them. Do not check for +Inf in case not
1639 reachable for +Inf.
1640 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1641 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
1642 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1643 and return -1 for them. Do not check for +Inf in case not
1644 reachable for +Inf.
1645 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
1646 define.
1647 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1648 and return -1 for them. Do not check for +Inf in case not
1649 reachable for +Inf.
1650 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
1651 spurious underflow.
1652 * sysdeps/i386/fpu/libm-test-ulps: Update.
1653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1654
fb21f89b
MF
16552012-07-06 Mike Frysinger <vapier@gentoo.org>
1656
1657 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
1658
cdfe2c5e
JM
16592012-07-05 Joseph Myers <joseph@codesourcery.com>
1660
1661 [BZ #14157]
1662 [BZ #14331]
1663 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
1664 could result in spurious underflow. Scale down values above
1665 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
1666 * math/s_csqrtf.c (__csqrtf): Likewise.
1667 * math/s_csqrtl.c (__csqrtl): Likewise.
1668 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
1669 spurious underflow.
1670 * sysdeps/i386/fpu/libm-test-ulps: Update.
1671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1672
70d35b67
AS
16732012-07-04 Andreas Schwab <schwab@linux-m68k.org>
1674
704bc459
AS
1675 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
1676 xopen-msg.sed.
1677 * catgets/xopen-msg.awk: New file.
1678 * catgets/xopen-msg.sed: Removed.
1679
70d35b67
AS
1680 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
1681 po2text.sed.
1682 * intl/po2test.awk: New file.
1683 * intl/po2test.sed: Removed.
1684
ca61cf32
JM
16852012-07-04 Joseph Myers <joseph@codesourcery.com>
1686
1687 [BZ #14328]
1688 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
1689 or multiply small sinh result by itself.
1690 * math/s_ctanf.c (__ctanf): Likewise.
1691 * math/s_ctanh.c (__ctanh): Likewise.
1692 * math/s_ctanhf.c (__ctanhf): Likewise.
1693 * math/s_ctanhl.c (__ctanhl): Likewise.
1694 * math/s_ctanl.c (__ctanl): Likewise.
1695 * math/libm-test.inc (ctan_test_tonearest): New function.
1696 (ctan_test_towardzero): Likewise.
1697 (ctan_test_downward): Likewise.
1698 (ctan_test_upward): Likewise.
1699 (ctanh_test_tonearest): Likewise.
1700 (ctanh_test_towardzero): Likewise.
1701 (ctanh_test_downward): Likewise.
1702 (ctanh_test_upward): Likewise.
1703 (main): Call these new functions.
1704 * sysdeps/i386/fpu/libm-test-ulps: Update.
1705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1706
ca48a46a
MF
17072012-07-03 Mike Frysinger <vapier@gentoo.org>
1708
1709 * .gitignore: Delete /ports entry.
1710
9d63d37d
AJ
17112012-07-03 Andreas Jaeger <aj@suse.de>
1712
1713 * po/bg.po: Update from translation team.
1714 * po/cs.po: Likewise.
1715 * po/de.po: Likewise.
1716 * po/hr.po: Likewise.
1717 * po/nl.pl: Likewise.
1718 * po/pl.po: Likewise.
1719 * po/vi.po: Likewise.
1720
370ca3d2
JM
17212012-07-03 Joseph Myers <joseph@codesourcery.com>
1722
95f5a9a8
JM
1723 * Makeconfig [!+link] (+link-before-libc): New variable.
1724 [!+link] (+link-after-libc): Likewise.
1725 [!+link] (+link-tests): Likewise.
1726 [!+link] (+link): Define in terms of $(+link-before-libc) and
1727 $(+link-after-libc).
1728 [!+link-static] (+link-static-before-libc): New variable.
1729 [!+link-static] (+link-static-after-libc): Likewise.
1730 [!+link-static] (+link-static-tests): Likewise.
1731 [!+link-static] (+link-static): Define in terms of
1732 $(+link-static-before-libc) and $(+link-static-after-libc).
1733 [build-shared] (link-libc-before-gnulib): New variable.
1734 [build-shared] (link-libc-tests): Likewise.
1735 [build-shared] (link-libc): Define in terms of
1736 $(link-libc-before-gnulib).
1737 [!build-shared] (link-libc-tests): New variable.
1738 (link-libc-static-tests): New variable.
1739 [!gnulib] (gnulib-arch): New variable.
1740 [!gnulib] (gnulib-tests): Likewise.
1741 [!gnulib] (static-gnulib-arch): Likewise.
1742 [!gnulib] (static-gnulib-tests): Likewise.
1743 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
1744 Define with "=" instead of ":=".
1745 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
1746 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
1747 * Rules (binaries-all-notests): New variable.
1748 (binaries-all-tests): Likewise.
1749 (binaries-static-notests): Likewise.
1750 (binaries-static-tests): Likewise.
1751 (binaries-all): Define using $(binaries-all-notests) and
1752 $(binaries-all-tests).
1753 (binaries-static): Define using $(binaries-static-notests) and
1754 $(binaries-static-tests).
1755 (binaries-shared-tests): New variable.
1756 (binaries-shared-notests): Likewise.
1757 (binaries-shared): Remove variable.
1758 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
1759 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
1760 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
1761 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
1762 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
1763 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
1764 * elf/Makefile (sln-modules): New variable.
1765 (extra-objs): Add $(sln-modules:=.o).
1766 (ldconfig-modules): Add static-stubs.
1767 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
1768 * elf/static-stubs.c: New file.
1769
7a845b2c
JM
1770 [BZ #14283]
1771 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
1772 by 7 not 8 to examine high bit of fractional part. Use volatile
1773 variables when splitting into final array of floats if
1774 __FLT_EVAL_METHOD__ != 0.
1775 * math/libm-test.inc (cos_test): Add another test.
1776 (sin_test): Likewise.
1777 * sysdeps/i386/fpu/libm-test-ulps: Update.
1778
e2283f38
JM
1779 [BZ #14273]
1780 * math/libm-test.inc (cosh_test): Add more tests.
1781
370ca3d2
JM
1782 * version.h (RELEASE): Set to "development".
1783 (VERSION): Set to "2.16.90".
1784
ee9247c3
CD
17852012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
1786
1787 * NEWS: Update copyright. Remove last-updated date.
1788 Mention math library bug fixes and timezone data changes.
1789 * README: Mention GNU/Hurd, x32, and HPPA support status.
1790
4648c381
TS
17912012-06-28 Thomas Schwinge <thomas@codesourcery.com>
1792
1793 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
1794
aac78a43
AJ
17952012-06-27 Andreas Jaeger <aj@suse.de>
1796
1797 * manual/contrib.texi (Contributors): Add Samuel Thibault.
1798
ed3dbfad
AJ
17992012-06-25 Andreas Jaeger <aj@suse.de>
1800
1801 * sysdeps/s390/fpu/libm-test-ulps: Update.
1802
4d0ee855
AS
18032012-06-23 Andreas Schwab <schwab@linux-m68k.org>
1804 Thomas Schwinge <thomas@codesourcery.com>
1805
1806 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
1807 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
1808 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
1809 fanotify_mark.
1810
af1bce34
TS
18112012-06-23 Thomas Schwinge <thomas@codesourcery.com>
1812
a9fa33ba
TS
1813 * sysdeps/mach/start.c: Remove file.
1814 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
1815 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
1816 * sysdeps/sh/init-first.c: Likewise.
1817
58f902b8
TS
1818 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
1819 registers for frame unwinding purposes, add CFI directives.
1820 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1821 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
1822 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1823 Likewise.
1824
1518f58b
TS
1825 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
1826 __fortify_fail returning.
1827 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1828
db9b5059
TS
1829 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
1830 sysdeps/sh/____longjmp_chk.S.
1831 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
1832 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
1833 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
1834 (gen-as-const-headers): Append sigaltstack-offsets.sym.
1835
967705fe
TS
1836 * sysdeps/sh/abort-instr.h: New file.
1837 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
1838 process in case exit returns.
1839
a9def8c4
TS
1840 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
1841 initialize the GOT register before use.
1842
2a649725
TS
1843 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
1844 calculation of ARGC > 4.
1845
af1bce34
TS
1846 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
1847 meaningful names to some local labels.
1848
d230f50a
KK
18492012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1850 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1851
1852 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
1853 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
1854 (__arch_compare_and_exchange_val_16_acq): Likewise.
1855 (__arch_compare_and_exchange_val_32_acq): Likewise.
1856 (atomic_exchange_and_add): Fix gUSA sequence.
1857 (atomic_add): Likewise.
1858 (atomic_add_negative): Likewise.
1859 (atomic_add_zero): Likewise.
1860 (atomic_bit_test_set): Likewise.
1861
0479b305
AS
18622012-06-22 Andreas Schwab <schwab@redhat.com>
1863
1864 [BZ #13579]
1865 * include/link.h (struct link_map): Add l_free_initfini.
1866 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
1867 l_initfini.
1868 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
1869 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
1870 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
1871 set.
1872
0e3933b9
CD
18732012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
1874
1875 * configure.in: Use AC_LANG_SOURCE.
1876 * configure: Regenerate.
1877
4248b1b1
RM
18782012-06-22 Roland McGrath <roland@hack.frob.com>
1879
1880 * configure.in (libc_cv_localstatedir): New substituted variable.
1881 * configure: Regenerated.
1882 * config.make.in (localstatedir): New variable, substituted from
1883 libc_cv_localstatedir.
1884 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
1885 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
1886 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
1887 * sysdeps/gnu/configure: Regenerated.
1888
006dd861
JL
18892012-06-21 Jeff Law <law@redhat.com>
1890
1891 [BZ #14277]
1892 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
1893 free. Simplify list management for _LIBC case.
1894
79662d42
JM
18952012-06-21 Joseph Myers <joseph@codesourcery.com>
1896
b7abb4bf
JM
1897 [BZ #14273]
1898 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1899 Clear sign bit of 64-bit integer value before comparing against
1900 overflow value.
1901
79662d42
JM
1902 * sysdeps/mach/configure: Regenerated.
1903
1f150908
L
19042012-06-21 H.J. Lu <hongjiu.lu@intel.com>
1905
1906 [BZ #14278]
1907 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
1908
28363bbf
JL
19092012-06-21 Jeff Law <law@redhat.com>
1910
1911 [BZ #13882]
1912 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
1913 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 1914 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
1915 * elf/dl-open.c (dl_open_worker): Likewise.
1916
09615db4
CD
19172012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
1918
1919 * scripts/list-sources.sh: Scan PORTS for translations.
1920 * po/libc.pot: Regenerated.
1921
2174c6dd
AJ
19222012-06-21 Andreas Jaeger <aj@suse.de>
1923
1924 [BZ #12194]
1925 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
1926 warning.
1927 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
1928 * bits/byteswap-16.h (__bswap_16): Likewise.
1929 * bits/byteswap.h (__bswap_constant_16): Likewise.
1930
3ee947b1
L
19312012-06-18 H.J. Lu <hongjiu.lu@intel.com>
1932
1933 [BZ #14117]
a2f34833
L
1934 * sysdeps/i386/fpu_control.h: Removed.
1935 * sysdeps/x86_64/fpu_control.h: Moved to ...
1936 * sysdeps/x86/fpu_control.h: Here.
1937
3ee947b1
L
1938 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
1939 (_FPU_SETCW): Likewise.
1940
ed1825f8
L
19412012-06-15 H.J. Lu <hongjiu.lu@intel.com>
1942
25f1282a
L
1943 [BZ #14117]
1944 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
1945 * sysdeps/x86/fpu/bits/mathinline.h: This.
1946 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
1947
ed1825f8
L
1948 [BZ #14050]
1949 [BZ #14117]
1950 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
1951 functions if __x86_64__ is defined.
1952
36d54b74
CLT
19532012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
1954
1955 * string/endian.h: Add !__ASSEMBLER__ condition for including
1956 conversion interfaces.
1957
10285c21
JM
19582012-06-15 Joseph Myers <joseph@codesourcery.com>
1959
1960 [BZ #14241]
1961 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
1962 of ABS(x) in calculating zero to negative powers other than odd
1963 integers.
1964 * math/libm-test.inc (pow_test): Add more tests.
1965
06c5abbd
AJ
19662012-06-15 Andreas Jaeger <aj@suse.de>
1967
1968 * manual/contrib.texi (Contributors): Update entry of Liubov
1969 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
1970 Machado Filho.
1971
a3aeac40
CH
19722012-06-15 Cyril Hrubis <metan@ucw.cz>
1973
1974 * string/string.h: Add __wur to GNU version of strerror_r.
1975
49bdf4c1
L
19762012-06-14 H.J. Lu <hongjiu.lu@intel.com>
1977
1978 [BZ #14229]
1979 * string/Makefile (tests): Add tst-strtok_r.
1980 * string/tst-strtok_r.c: New file.
1981 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
1982 RAX_LP/RDX_LP on SAVE_PTR.
1983
834f9b8d
RM
19842012-06-14 Roland McGrath <roland@hack.frob.com>
1985
1986 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
1987
75fa1921
JM
19882012-06-14 Joseph Myers <joseph@codesourcery.com>
1989
1990 * libm_test.inc (csqrt_test): Allow more spurious underflow
1991 exceptions.
1992 (j0_test): Likewise.
1993 (j1_test): Likewise.
1994 (y0_test): Likewise.
1995 (y1_test): Likewise.
1996
771766df
CD
19972012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
1998
1999 * po/Makefile (libc.pot): Use UTF-8 charset.
2000
ceb9e56b
PP
20012012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2002
2003 [BZ #14210]
2004 Suppress sign-conversion warning from FD_SET.
2005 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
2006 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
2007 not unsigned long int.
2008 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2009
ddb28975
L
20102012-06-12 H.J. Lu <hongjiu.lu@intel.com>
2011
2012 [BZ #14050]
2013 [BZ #14117]
2014 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
2015 __extern_always_inline instead of __extern_inline.
2016 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
2017 (__signbit): Likewise.
2018 (__signbitl): Support C++ namespace.
2019 (lrintf): New inline function.
2020 (lrint): Likewise.
2021 (llrintf): Likewise.
2022 (llrint): Likewise.
2023 (fmaxf): Likewise.
2024 (fmax): Likewise.
2025 (fminf): Likewise.
2026 (fmin): Likewise.
2027 (rint): Likewise.
2028 (rintf): Likewise.
2029 (ceil): Likewise.
2030 (ceilf): Likewise.
2031 (floor): Likewise.
2032 (floorf): Likewise.
2033 (nearbyint): Likewise.
2034 (nearbyintf): Likewise.
2035
d7b4fb26
TS
20362012-06-12 Thomas Schwinge <thomas@codesourcery.com>
2037
2038 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
2039 non-default versions.
2040
eb55f5c2
RM
20412012-06-11 Roland McGrath <roland@hack.frob.com>
2042
2043 [BZ #14218]
2044 * manual/argp.texi (Argp): Reword argp_parse description slightly.
2045
366af02c
TS
20462012-06-09 Thomas Schwinge <thomas@codesourcery.com>
2047
99ff6e5c
TS
2048 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
2049 (FE_UPWARD, FE_DOWNWARD): Don't define.
2050 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
2051 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2052
366af02c
TS
2053 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
2054 reading it.
2055 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2056 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2057
793ea851
KK
20582012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2059
2060 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2061 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
2062 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
2063 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
2064
a728a38f
L
20652012-06-06 H.J. Lu <hongjiu.lu@intel.com>
2066
2067 [BZ #14117]
c08010c7
L
2068 * sysdeps/i386/fpu/bits/fenv.h: Removed.
2069 * sysdeps/i386/fpu/Implies: New file.
2070 * sysdeps/x86_64/fpu/Implies: Likewise.
2071 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
2072 * sysdeps/x86/fpu/bits/fenv.h: This.
2073
a728a38f
L
2074 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
2075 __SSE_MATH__.
2076
6e230d11
SP
20772012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2078
2079 [BZ #14134]
2080 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
2081 character 0xffff that matches the last element of the
2082 conversion table.
2083
1b671feb
AZ
20842012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2085
2086 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
2087 fmodl commit.
2088
6043738b
AZ
20892012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2090
2091 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
2092 values higher than 25.6283.
2093
34ae0b32
AZ
20942012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2095
2096 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
2097 subnormal exponent extraction and add some __builtin_expect.
2098 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
2099 Fix for subnormal mantissa calculation.
2100
1214ec8f
MF
21012012-06-04 Mike Frysinger <vapier@gentoo.org>
2102
2103 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
2104 cpu2 is -1 and errno is not ENOSYS.
2105
f3d1f93c
L
21062012-06-04 H.J. Lu <hongjiu.lu@intel.com>
2107
2108 [BZ #14117]
0e4a3cd7
L
2109 * sysdeps/i386/i486/bits/string.h: Renamed to ...
2110 * sysdeps/x86/bits/string.h: This.
2111 * sysdeps/x86_64/bits/string.h: Removed.
2112
6704c645
L
2113 * sysdeps/i386/i486/bits/string.h: Define inline functions only
2114 if not compiling for x86-64, but compiling for >= i486.
2115
48495318
L
2116 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
2117 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
2118
14adcbfc
L
2119 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
2120 New macro from Linux kernel 3.4.0.
2121 (FP_XSTATE_MAGIC2): Likewise.
2122 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2123 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
2124 (struct _fpx_sw_bytes): New struct.
2125 (struct _xsave_hdr): Likewise.
2126 (struct _ymmh_state): Likewise.
2127 (struct _xstate): Likewise.
2128
68e408ab
L
2129 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
2130 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
2131 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
2132 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
2133 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
2134 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
2135
f3d1f93c
L
2136 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
2137 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
2138 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
2139 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
2140 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
2141 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
2142
d9dc34cd
TMQMF
21432012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2144
2145 [BZ #13743]
2146 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
2147 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
2148 (sysdep_headers): Include sys/platform/ppc.h.
2149 * sysdeps/powerpc/test-gettimebase.c: Test for
2150 __ppc_get_timebase() to catch future ISA opcode/insn changes.
2151 * manual/Makefile (appendices): Include platform.texi.
2152 * manual/contrib.texi (Contributors): Update @node pointers.
2153 * manual/maint.texi (Maintenance): Likewise.
2154 (Platform): New node.
2155 * manual/platform.texi: New file. Document the new features.
2156
4af3879c
SP
21572012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2158 Jakub Jelinek <jakub@redhat.com>
2159
2160 [BZ #14188]
2161 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
2162 where __builtin_expect is unavailable.
2163
2fd6ff13
DM
21642012-06-03 David S. Miller <davem@davemloft.net>
2165
2166 * stdlib/longlong.h: Updated from GCC.
2167
173f7220
AS
21682012-06-02 Andreas Schwab <schwab@linux-m68k.org>
2169
2170 [BZ #14042]
2171 * sysdeps/powerpc/powerpc32/mcount.c: New file.
2172 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
2173 __mcount_internal.
2174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2175 (GLIBC_2.16): Likewise.
2176
f34a1c6f
L
21772012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2178
2179 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
2180
88a4576f
JM
21812012-06-01 Joseph Myers <joseph@codesourcery.com>
2182
ea32bcdd
JM
2183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2184 (default-abi): New variable.
2185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
2186 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
2187 variable.
2188 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
2189 Likewise.
2190 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
2191 Likewise.
2192 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
2193 Likewise.
2194
88a4576f
JM
2195 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
2196 definition. Document in comment.
2197
402fe938
DM
21982012-06-01 David S. Miller <davem@davemloft.net>
2199
2200 * stdlib/longlong.h: Updated from GCC.
2201
3553723f
L
22022012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2203
2204 [BZ #14117]
3bd872c4
L
2205 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
2206 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
2207 sys/debugreg.h sys/io.h here.
2208 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
2209 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
2210 sys/io.h.
2211 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
2212 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
2213 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
2214 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
2215 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
2216 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
2217
3553723f
L
2218 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
2219 Define only if __x86_64__ is defined.
2220
4842e4fe
JM
22212012-06-01 Joseph Myers <joseph@codesourcery.com>
2222
c5bfe3d5
JM
2223 [BZ #14048]
2224 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
2225 Use int64_t for variable i.
2226 * math/libm-test.inc (fmod_test): Add more tests.
2227
4842e4fe
JM
2228 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
2229 z computation is not scheduled after fetestexcept.
2230 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
2231 Use math_force_eval instead of asm to ensure calculation scheduled
2232 before exception test.
2233 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
2234 Ensure a1 + u.d computation is not scheduled after fetestexcept.
2235
efb73488
AJ
22362012-06-01 Aurelien Jarno <aurelien@aurel32.net>
2237
2238 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
2239 computation is not scheduled after fetestexcept.
2240
29bcce7c
L
22412012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2242
2243 [BZ #14117]
2244 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
2245 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
2246
73a68f94
AZ
22472012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2248
2249 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
2250 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2251
67b6df78
L
22522012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2253
edf2933a 2254 [BZ #14117]
ebc64a18
L
2255 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
2256 <bits/wordsize.h>.
2257 (__WCHAR_MIN): Support __WORDSIZE == 64.
2258 (__WCHAR_MAX): Likewise.
2259
edf2933a
L
2260 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
2261 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2262
57c6cf40
L
2263 [BZ #14183]
2264 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2265 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2266
67b6df78 2267 [BZ #14117]
8eb6281e
L
2268 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2269 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2270
aac639f4
L
2271 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2272 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2273
67b6df78
L
2274 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2275 Defined to 1 if __x86_64__ isn't defined.
2276 (_STAT_VER_LINUX_OLD): New.
2277 (st_atime): Remove duplicate.
2278 (st_mtime): Likewise.
2279 (st_ctime): Likewise.
2280
1c2cfe81
DM
22812012-05-31 David S. Miller <davem@davemloft.net>
2282
2283 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2284 entries.
2285
5be8418c
AS
22862012-06-01 Andreas Schwab <schwab@linux-m68k.org>
2287
e7725326
AS
2288 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2289 gen-libm-test.pl.
2290
5be8418c
AS
2291 [BZ #14132]
2292 * elf/dl-reloc.c: Include <_itoa.h>.
2293 (_dl_reloc_bad_type): Remove use of INTUSE.
2294 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2295 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2296 * stdio-common/psiginfo.c (psiginfo): Likewise.
2297 * stdio-common/psignal.c (psignal): Likewise.
2298 * string/strsignal.c (strsignal): Likewise.
2299 * include/signal.h (_sys_siglist): Declare hidden proto.
2300 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
2301 INTVARDEF with libc_hidden_data_def.
2302 * stdio-common/itoa-udigits.c: Likewise.
2303 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2304 (_itoa_lower_digits_internal): Remove declaration.
2305 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2306 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2307 (_sys_sigabbrev_internal): Remove aliases.
2308 (_sys_siglist): Define hidden alias.
2309
507352f1
MT
23102012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
2311
2312 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2313 bits/sysctl.h.
2314
42bbb1c3
L
23152012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2316
2317 [BZ #14117]
6bd784b6
L
2318 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2319 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2320
8bca20f0
L
2321 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2322 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2323 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2324 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2325 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2326 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2327
f9e890a9
L
2328 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2329 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2330 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2331
471101a1
L
2332 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2333 with __addr.
2334 (insw): Likewise.
2335 (insl): Likewise.
2336 (outsb): Likewise.
2337 (outsw): Likewise.
2338 (outsl): Likewise.
2339
6451c862
L
2340 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2341 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2342 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2343
a254b8c9
L
2344 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2345 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2346 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2347 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2348 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2349 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2350
b8dfdd92
L
2351 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2352 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2353
578cd270
L
2354 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
2355 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
2356
de662f5f
L
2357 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
2358 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
2359 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
2360
25653439
L
2361 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
2362 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
2363 to ...
2364 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
2365
6bad24a0
L
2366 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
2367 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
2368 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
2369
42bbb1c3
L
2370 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
2371 for x86-64.
2372 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2373
2d10d547
JM
23742012-05-31 Joseph Myers <joseph@codesourcery.com>
2375
2376 * math/math.h (M_El): Use two more decimal places.
2377 (M_LOG2El): Likewise.
2378 (M_LOG10El): Likewise.
2379 (M_LN2l): Likewise.
2380 (M_LN10l): Likewise.
2381 (M_PIl): Likewise.
2382 (M_PI_2l): Likewise.
2383 (M_PI_4l): Likewise.
2384 (M_1_PIl): Likewise.
2385 (M_2_PIl): Likewise.
2386 (M_2_SQRTPIl): Likewise.
2387 (M_SQRT2l): Likewise.
2388 (M_SQRT1_2l): Likewise.
2389
f230c29b
DM
23902012-05-31 David S. Miller <davem@davemloft.net>
2391
2392 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
2393 values between float registers.
2394 * sysdeps/sparc/sparc64/memset.S: Likewise.
2395 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2396
fed806c3
MF
23972012-05-31 Mike Frysinger <vapier@gentoo.org>
2398
2399 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
2400 -D_FORTIFY_SOURCE=1.
2401 (CPPFLAGS-tst-longjmp_chk.c): Define.
2402 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
2403 (CPPFLAGS-tst-longjmp_chk2.c): Define.
2404 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
2405 CFLAGS-tst-wchar-h.c.
2406
30917259
MP
24072012-05-31 Marek Polacek <polacek@redhat.com>
2408
2409 [BZ #14132]
2410 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
2411 __endmntent_internal): Remove declaration.
2412 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
2413 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
2414 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
2415
1c58d5dc
DM
24162012-05-30 David S. Miller <davem@davemloft.net>
2417
2418 * sysdeps/sparc/sparc32/soft-fp/q_util.c
2419 (___Q_simulate_exceptions): Use real FP ops rather than writing
2420 into the %fsr.
2421 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
2422 Likewise.
2423
7dc00e0d
L
24242012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2425
2426 [BZ #14117]
0bd53985
L
2427 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
2428 * sysdeps/x86/bits/xtitypes.h: This.
2429
3a257e66
L
2430 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
2431 * sysdeps/x86/bits/wordsize.h: This.
2432
62f62904
L
2433 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
2434 * sysdeps/x86/bits/huge_vall.h: This.
2435
404fe9d9
L
2436 * sysdeps/i386/bits/select.h: Removed.
2437 * sysdeps/x86_64/bits/select.h: Renamed to ...
2438 * sysdeps/x86/bits/select.h: This.
2439
d48d0446
L
2440 * sysdeps/i386/bits/setjmp.h: Removed.
2441 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
2442 * sysdeps/x86/bits/setjmp.h: This.
2443
7dc00e0d
L
2444 * sysdeps/i386/bits/mathdef.h: Removed.
2445 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
2446 * sysdeps/x86/bits/mathdef.h: This.
2447
03277f8f
AS
24482012-05-30 Andreas Schwab <schwab@linux-m68k.org>
2449
2450 [BZ #14132]
2451 * include/sys/socket.h (__connect_internal)
2452 (__libc_sa_len_internal): Remove declaration.
2453 (__connect, __libc_sa_len): Declare hidden_proto.
2454 (SA_LEN): Remove use of INTUSE.
2455 * socket/connect.c: Add libc_hidden_def.
2456 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
2457 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
2458 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
2459 alias.
2460 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2461 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2462 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
2463 of adding _internal alias.
2464
13764867
L
24652012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2466
2467 [BZ #14117]
6bd97696
L
2468 * sysdeps/i386/bits/link.h: Removed.
2469 * sysdeps/i386/bits/linkmap.h: Likewise.
2470 * sysdeps/x86_64/bits/link.h: Renamed to ...
2471 * sysdeps/x86/bits/link.h: This.
2472 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
2473 * sysdeps/x86/bits/linkmap.h: This.
2474
f726f0bb
L
2475 * sysdeps/i386/bits/endian.h: Removed.
2476 * sysdeps/x86_64/bits/endian.h: Renamed to ...
2477 * sysdeps/x86/bits/endian.h: This.
2478
13764867
L
2479 * sysdeps/i386/bits/byteswap.h: Removed.
2480 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2481 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
2482 * sysdeps/x86/bits/byteswap.h: This.
2483 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
2484 * sysdeps/x86/bits/byteswap-16.h: This.
2485 * sysdeps/i386/Implies: Add x86.
2486 * sysdeps/x86_64/Implies: Likewise.
2487
ae251b0b
DM
24882012-05-30 David S. Miller <davem@davemloft.net>
2489
2490 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
2491 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
2492 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2493 (FP_TRAPPING_EXCEPTIONS): Define.
2494 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2495 (FP_TRAPPING_EXCEPTIONS): Define.
2496 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
2497 subnormals only when inexact has been signalled or underflow
2498 exceptions are enabled.
2499 (_FP_PACK_CANONICAL): Likewise.
2500
d5c90867
L
25012012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2502
2503 [BZ #14183]
2504 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
2505 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
2506
63f1549e
RH
25072012-05-30 Richard Henderson <rth@twiddle.net>
2508
8d8f2279
RH
2509 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
2510 with #ifndef NOT_IN_libc.
2511
63f1549e
RH
2512 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
2513 marked to avoid plt entry.
2514
0ab0291b
L
25152012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2516
2517 [BZ #14112]
2518 * Makeconfig (default-abi): New macro.
2519 (abi-includes): Likewise.
2520 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
2521 $(abi-$(default-abi)-lib-soname) for soname if defined.
2522 ($(common-objpfx)gnu/lib-names.stmp): Generate from
2523 abi-variants.
2524 * Makefile (installed-stubs): Likewise.
2525 * include/stubs-biarch.h: Removed.
2526 * scripts/lib-names.awk: Only handle one library at a time.
2527 * scripts/soversions.awk: Remove WORDSIZE support.
2528 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
2529 entries.
2530 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
2531 Removed.
2532 (syscall-list-default-condition): Likewise.
2533 (syscall-list-default-condition): Likewise.
2534 (syscall-list-includes): Likewise.
2535 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
2536 syscall-list-* with abi-*. Handle undefined abi-variants.
2537 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
2538 * sysdeps/unix/sysv/linux/i386/Implies: New file.
2539 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
2540 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
2541 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
2542 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
2543 Removed.
2544 (syscall-list-32-options): Likewise.
2545 (syscall-list-32-condition): Likewise.
2546 (syscall-list-64-options): Likewise.
2547 (syscall-list-64-condition): Likewise.
2548 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
2549 macro.
2550 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
2551 Renamed to ...
2552 (abi-*): This.
2553 (abi-64-ld-soname): New macro.
2554 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
2555 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
2556 Renamed to ...
2557 (abi-*): This.
2558 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
2559 * sysdeps/x86_64/x32/shlib-versions: Likewise.
2560
4da0431d
JM
25612012-05-30 Joseph Myers <joseph@codesourcery.com>
2562
3a85279c
JM
2563 * sysdeps/unix/sysv/linux/kernel-features.h
2564 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
2565 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
2566 include <kernel-features.h>.
2567 [!__NR_ftruncate64]: Remove conditional code.
2568 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2569 [__NR_ftruncate64]: Make code unconditional.
2570 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2571 * sysdeps/unix/sysv/linux/truncate64.c: Do not
2572 include <kernel-features.h>.
2573 [!__NR_ftruncate64]: Remove conditional code.
2574 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2575 [__NR_ftruncate64]: Make code unconditional.
2576 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
2578 include <kernel-features.h>.
2579 [!__NR_ftruncate64]: Remove conditional code.
2580 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2581 [__NR_ftruncate64]: Make code unconditional.
2582 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2584 include <kernel-features.h>.
2585 [!__NR_ftruncate64]: Remove conditional code.
2586 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2587 [__NR_ftruncate64]: Make code unconditional.
2588 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2589
4da0431d
JM
2590 * configure.in (libc_cv_fpie): Weaken to a compile test using
2591 LIBC_TRY_CC_OPTION.
2592 * configure: Regenerated.
2593
11ef492c
AK
25942012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2595
2596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
2597 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
2598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
2599 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2600 Refreshed.
2601 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
2602 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
2603 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
2604 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
2605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
2606 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2607 Refreshed.
2608
d66ef399
DM
26092012-05-27 David S. Miller <davem@davemloft.net>
2610
2611 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
2612 (___Q_zero): New.
2613 (__Q_simulate_exceptions): Return void. Change to simulate
2614 exceptions by writing into the %fsr.
2615 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
2616 (__Qp_handle_exceptions): Likewise.
2617 (numbers): Delete.
2618 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
2619 __Qp_handle_exceptions.
2620 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
2621 __Qp_handle_exceptions.
2622 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2623 as unused and give dummy FP_RND_NEAREST initializer.
2624 (FP_INHIBIT_RESULTS): Define.
2625 (___Q_simulate_exceptions): Update declaration.
2626 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
2627 formatting.
2628 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2629 as unused and give dummy FP_RND_NEAREST initializer.
2630 (__Qp_handle_exceptions): Update declaration.
2631 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
2632 formatting.
2633
04fb54b5
TS
26342012-05-27 Thomas Schwinge <thomas@codesourcery.com>
2635
2636 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
2637 the temporary FPU control word.
2638 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2639 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
2640 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2641 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2642 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2643 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2644 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2645 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2646 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2647 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2648 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2649
3f99608f
KK
26502012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2651
2652 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
2653 fields.
2654
65a4de4e
CLT
26552012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
2656
2657 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
2658 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
2659 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
2660 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
2661 Likewise.
2662 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
2663 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
2664 Likewise.
2665
15749d40
UD
26662012-05-27 Ulrich Drepper <drepper@gmail.com>
2667
2668 * po/h.po: Update from translation team.
2669
25dbcb27
AS
26702012-05-26 Andreas Schwab <schwab@linux-m68k.org>
2671
3d3f8e55
AS
2672 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
2673
25dbcb27
AS
2674 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
2675 handling of denormals.
2676 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2677 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2678 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2679 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2680 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2681 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
2682 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
2683 Likewise.
2684
7ad47a80 26852012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
2686
2687 [BZ #14152]
2688 * math/libm-test.inc (fma_test): Don't always expect underflow
2689 exception.
2690
9c6ea9fa
SP
26912012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2692
2693 [BZ #12416]
2694 * elf/tst-execstack.c: Include stackinfo.h.
2695 (do_test): Adjust test case to ensure that pthread_getattr_np
2696 behaviour remains the same after marking stack executable.
2697
a8239222
JM
26982012-05-25 Joseph Myers <joseph@codesourcery.com>
2699
2700 * sysdeps/unix/sysv/linux/kernel-features.h
2701 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
2702 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
2703 kernel-features.h.
2704 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2705 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2706 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
2707 kernel-features.h.
2708 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2709 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2710
918b5606
L
27112012-05-25 H.J. Lu <hongjiu.lu@intel.com>
2712
2713 * configure.in: Define the default includes to being none.
2714 * configure: Regenerated.
2715
3a097cc7
RM
27162012-05-25 Roland McGrath <roland@hack.frob.com>
2717
8422c9a5
RM
2718 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
2719 * sysdeps/x86_64/setjmp.S: Likewise.
2720 * sysdeps/i386/bsd-setjmp.S: Likewise.
2721 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2722 * sysdeps/i386/setjmp.S: Likewise.
2723 * sysdeps/i386/__longjmp.S: Likewise.
2724 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2725 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
2726
3a097cc7
RM
2727 * include/stap-probe.h: New file.
2728 * configure.in: Handle --enable-systemtap.
2729 * configure: Regenerated.
2730 * config.h.in (USE_STAP_PROBE): New #undef.
2731 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
2732 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
2733 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2734
21708942
JM
27352012-05-25 Joseph Myers <joseph@codesourcery.com>
2736
2737 [BZ #13717]
2738 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2739 to 2.4.0 where earlier.
2740 * sysdeps/unix/sysv/linux/configure: Regenerated.
2741 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2742 <kernel-features.h>.
2743 [__ASSUME_32BITUIDS]: Make code unconditional.
2744 [!__ASSUME_32BITUIDS]: Remove conditional code.
2745 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
2746 <kernel-features.h>.
2747 [__ASSUME_32BITUIDS]: Make code unconditional.
2748 [!__ASSUME_32BITUIDS]: Remove conditional code.
2749 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
2750 [__ASSUME_32BITUIDS]: Make code unconditional.
2751 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
2752 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
2753 <kernel-features.h>.
2754 [__ASSUME_32BITUIDS]: Make code unconditional.
2755 [!__ASSUME_32BITUIDS]: Remove conditional code.
2756 * sysdeps/unix/sysv/linux/i386/geteuid.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/getgid.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/getgroups.c: Do not include
2765 <kernel-features.h>.
2766 [__ASSUME_32BITUIDS]: Make code unconditional.
2767 [!__ASSUME_32BITUIDS]: Remove conditional code.
2768 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2769 <kernel-features.h>.
2770 [__ASSUME_32BITUIDS]: Make code unconditional.
2771 [!__ASSUME_32BITUIDS]: Remove conditional code.
2772 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2773 <kernel-features.h>.
2774 [__ASSUME_32BITUIDS]: Make code unconditional.
2775 [!__ASSUME_32BITUIDS]: Remove conditional code.
2776 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
2777 <kernel-features.h>.
2778 [__ASSUME_32BITUIDS]: Make code unconditional.
2779 [!__ASSUME_32BITUIDS]: Remove conditional code.
2780 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2781 <kernel-features.h>.
2782 [__ASSUME_32BITUIDS]: Make code unconditional.
2783 [!__ASSUME_32BITUIDS]: Remove conditional code.
2784 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2785 <kernel-features.h>.
2786 [__ASSUME_32BITUIDS]: Make code unconditional.
2787 [!__ASSUME_32BITUIDS]: Remove conditional code.
2788 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
2789 <kernel-features.h>.
2790 [__ASSUME_32BITUIDS]: Make code unconditional.
2791 [!__ASSUME_32BITUIDS]: Remove conditional code.
2792 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
2793 <kernel-features.h>.
2794 [__NR_setresgid] (__setresgid): Do not declare.
2795 [__ASSUME_32BITUIDS]: Make code unconditional.
2796 [!__ASSUME_32BITUIDS]: Remove conditional code.
2797 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
2798 <kernel-features.h>.
2799 [__NR_setresuid] (__setresuid): Do not declare.
2800 [__ASSUME_32BITUIDS]: Make code unconditional.
2801 [!__ASSUME_32BITUIDS]: Remove conditional code.
2802 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
2803 <kernel-features.h>.
2804 [__ASSUME_32BITUIDS]: Make code unconditional.
2805 [!__ASSUME_32BITUIDS]: Remove conditional code.
2806 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
2807 <kernel-features.h>.
2808 [__ASSUME_32BITUIDS]: Make code unconditional.
2809 [!__ASSUME_32BITUIDS]: Remove conditional code.
2810 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
2811 <kernel-features.h>.
2812 [__ASSUME_32BITUIDS]: Make code unconditional.
2813 [!__ASSUME_32BITUIDS]: Remove conditional code.
2814 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
2815 <kernel-features.h>.
2816 [__ASSUME_32BITUIDS]: Make code unconditional.
2817 [!__ASSUME_32BITUIDS]: Remove conditional code.
2818 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
2819 <kernel-features.h>.
2820 [__ASSUME_32BITUIDS]: Make code unconditional.
2821 [!__ASSUME_32BITUIDS]: Remove conditional code.
2822 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
2823 <kernel-features.h>.
2824 [__ASSUME_32BITUIDS]: Make code unconditional.
2825 [!__ASSUME_32BITUIDS]: Remove conditional code.
2826 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
2827 <kernel-features.h>.
2828 [__ASSUME_32BITUIDS]: Make code unconditional.
2829 [!__ASSUME_32BITUIDS]: Remove conditional code.
2830 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
2831 <kernel-features.h>.
2832 [__ASSUME_32BITUIDS]: Make code unconditional.
2833 [!__ASSUME_32BITUIDS]: Remove conditional code.
2834 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
2835 <kernel-features.h>.
2836 [__ASSUME_32BITUIDS]: Make code unconditional.
2837 [!__ASSUME_32BITUIDS]: Remove conditional code.
2838 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2839 <kernel-features.h>.
2840 [__ASSUME_32BITUIDS]: Make code unconditional.
2841 [!__ASSUME_32BITUIDS]: Remove conditional code.
2842 * sysdeps/unix/sysv/linux/kernel-features.h
2843 (__ASSUME_SETRESUID_SYSCALL): Remove.
2844 (__ASSUME_SETRESGID_SYSCALL): Likewise.
2845 (__ASSUME_32BITUIDS): Likewise.
2846 (__ASSUME_LDT_WORKS): Likewise.
2847 (__ASSUME_O_DIRECTORY): Likewise.
2848 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
2849 architecture but not kernel version.
2850 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2851 (__ASSUME_MMAP2_SYSCALL): Likewise.
2852 (__ASSUME_STAT64_SYSCALL): Likewise.
2853 (__ASSUME_IPC64): Likewise.
2854 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
2855 <kernel-features.h>.
2856 [__ASSUME_32BITUIDS]: Make code unconditional.
2857 [!__ASSUME_32BITUIDS]: Remove conditional code.
2858 * sysdeps/unix/sysv/linux/opendir.c: Do not include
2859 <kernel-features.h>.
2860 [__ASSUME_O_DIRECTORY]: Make code unconditional.
2861 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
2862 132096]: Remove conditional code.
2863 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
2864 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2865 <kernel-features.h>.
2866 [__ASSUME_32BITUIDS]: Make code unconditional.
2867 [!__ASSUME_32BITUIDS]: Remove conditional code.
2868 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2869 <kernel-features.h>.
2870 [__ASSUME_32BITUIDS]: Make code unconditional.
2871 [!__ASSUME_32BITUIDS]: Remove conditional code.
2872 * sysdeps/unix/sysv/linux/setegid.c: Do not include
2873 <kernel-features.h>.
2874 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
2875 unconditional.
2876 (__setresgid): Do not declare.
2877 [__ASSUME_32BITUIDS]: Make code unconditional.
2878 [!__ASSUME_32BITUIDS]: Remove conditional code.
2879 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
2880 <kernel-features.h>.
2881 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
2882 unconditional.
2883 (__setresuid): Do not declare.
2884 [__ASSUME_32BITUIDS]: Make code unconditional.
2885 [!__ASSUME_32BITUIDS]: Remove conditional code.
2886 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2887 <kernel-features.h>.
2888 [__ASSUME_32BITUIDS]: Make code unconditional.
2889 [!__ASSUME_32BITUIDS]: Remove conditional code.
2890 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
2891 <kernel-features.h>.
2892 [__ASSUME_32BITUIDS]: Make code unconditional.
2893 [!__ASSUME_32BITUIDS]: Remove conditional code.
2894
a386f1cc
RH
28952012-05-25 Richard Henderson <rth@twiddle.net>
2896
2897 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
2898 dl_hwcap to ifunc resolver.
2899 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
2900 elf_ifunc_invoke.
2901 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
2902 dl_hwcap to ifunc resolver.
2903 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
2904
b6550497
JM
29052012-05-24 Joseph Myers <joseph@codesourcery.com>
2906
2907 [BZ #14153]
2908 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
2909 for |x| <= 2**-26, not 2**-57.
2910 * math/libm-test.inc (acos_test): Do not allow spurious underflow
2911 exception.
2912
b0bc23a1
JL
29132012-05-24 Jeff Law <law@redhat.com>
2914
2915 * stdio-common/Makefile (tests): Add bug25.
2916 * stdio-common/bug25.c: New test.
2917
347c92e9
L
29182012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2919
2920 [BZ #13576]
2921 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
2922 multiple of MALLOC_ALIGNMENT in size.
2923 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
2924
6bcc8b3f
JM
29252012-05-24 Joseph Myers <joseph@codesourcery.com>
2926
2927 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
2928 Require >= 256.
2929 (FILENAME_MAX): Use macro-int-constant.
2930 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
2931 (_IOFBF): Use macro-int-constant.
2932 (_IOLBF): Likewise.
2933 (_IONBF): Likewise.
2934 (SEEK_CUR): Likewise.
2935 (SEEK_END): Likewise.
2936 (SEEK_SET): Likewise.
2937 (TMP_MAX): Likewise.
2938 (EOF): Use macro-int-constant. Require < 0.
2939 (NULL): Use macro-constant. Require == 0.
2940 (stdin): Require type to be FILE *.
2941 (stdout): Likewise.
2942 (stderr): Likewise.
2943 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
2944 macro-int-constant.
2945 (EXIT_SUCCESS): Likewise.
2946 (NULL): Use macro-constant. Require == 0.
2947 (RAND_MAX): Use macro-int-constant.
2948 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
2949 [C99-based standards] (strtof): Require function.
2950 [C99-based standards] (strtold): Likewise.
2951 [C99-based standards] (strtoll): Likewise.
2952 [C99-based standards] (strtoull): Likewise.
2953 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2954 [ISO || ISO99 || ISO11] (limits.h): Likewise.
2955 [ISO || ISO99 || ISO11] (math.h): Likewise.
2956 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
2957 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2958 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2959
d18ea0c5
AS
29602012-05-24 Andreas Schwab <schwab@linux-m68k.org>
2961
2962 [BZ #14132]
56d25bb8
AS
2963 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
2964 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
2965 * intl/dgettext.c (DCGETTEXT): Likewise.
2966 * intl/gettext.c (DCGETTEXT): Likewise.
2967 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
2968 * posix/regex_internal.h (gettext): Likewise.
2969 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
2970 Remove declaration.
2971 * include/argz.h (__argz_count_internal)
2972 (__argz_stringify_internal): Remove declaration.
2973 (__argz_count, __argz_stringify): Declare hidden proto.
2974 * intl/dcgettext.c: Remove use of INTDEF.
2975 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
2976 * string/argz-stringify.c: Likewise.
2977 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2978 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2979 Declare hidden proto.
d18ea0c5
AS
2980 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2981 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2982 Declare hidden proto.
2983 * include/stdio.h (__asprintf_internal): Don't declare.
2984 (__asprintf): Don't define as macro. Declare hidden proto.
2985 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
2986 (__fsetlocking): Declare hidden proto.
2987 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
2988 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
2989 hidden proto.
2990 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
2991 (_IO_setlinebuf): Remove use of INTUSE.
2992 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
2993 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
2994 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
2995 Remove declaration.
2996 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
2997 (_IO_do_flush): Remove use of INTUSE.
2998 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
2999 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
3000 (_IO_adjust_column, _IO_least_wmarker)
3001 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
3002 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
3003 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
3004 (_IO_default_doallocate, _IO_wdefault_doallocate)
3005 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
3006 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
3007 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
3008 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
3009 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
3010 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
3011 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
3012 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
3013 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
3014 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
3015 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
3016 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
3017 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
3018 proto.
3019 (_IO_flush_all_internal, _IO_adjust_column_internal)
3020 (_IO_default_uflow_internal, _IO_default_finish_internal)
3021 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
3022 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
3023 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
3024 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
3025 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
3026 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
3027 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
3028 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
3029 (_IO_file_close_internal, _IO_file_close_it_internal)
3030 (_IO_file_underflow_internal, _IO_file_overflow_internal)
3031 (_IO_file_init_internal, _IO_file_attach_internal)
3032 (_IO_file_fopen_internal, _IO_file_read_internal)
3033 (_IO_file_sync_internal, _IO_file_seek_internal)
3034 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
3035 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
3036 (_IO_str_underflow_internal, _IO_str_overflow_internal)
3037 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
3038 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
3039 (_IO_list_all_internal, _IO_link_in_internal)
3040 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
3041 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
3042 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
3043 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
3044 (_IO_do_write_internal, _IO_padn_internal)
3045 (_IO_getline_info_internal, _IO_getline_internal)
3046 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
3047 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
3048 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
3049 (_IO_vfscanf_internal, _IO_vfprintf_internal)
3050 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
3051 (_IO_init_internal, _IO_un_link_internal): Don't declare.
3052 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
3053 with libc_hidden_ver, remove use of INTUSE.
3054 * libio/genops.c: Likewise.
3055 * libio/freopen.c: Likewise.
3056 * libio/freopen64.c: Likewise.
3057 * libio/iofclose.c: Likewise.
3058 * libio/iofdopen.c: Likewise.
3059 * libio/iofflush.c: Likewise.
3060 * libio/iofflush_u.c: Likewise.
3061 * libio/iofgets.c: Likewise.
3062 * libio/iofgets_u.c: Likewise.
3063 * libio/iofopen.c: Likewise.
3064 * libio/iofopncook.c: Likewise.
3065 * libio/iofread.c: Likewise.
3066 * libio/iofread_u.c: Likewise.
3067 * libio/ioftell.c: Likewise.
3068 * libio/iofwrite.c: Likewise.
3069 * libio/iogetline.c: Likewise.
3070 * libio/iogets.c: Likewise.
3071 * libio/iogetwline.c: Likewise.
3072 * libio/iopadn.c: Likewise.
3073 * libio/iopopen.c: Likewise.
3074 * libio/ioseekoff.c: Likewise.
3075 * libio/ioseekpos.c: Likewise.
3076 * libio/iosetbuffer.c: Likewise.
3077 * libio/iosetvbuf.c: Likewise.
3078 * libio/ioungetc.c: Likewise.
3079 * libio/ioungetwc.c: Likewise.
3080 * libio/iovdprintf.c: Likewise.
3081 * libio/iovsprintf.c: Likewise.
3082 * libio/iovsscanf.c: Likewise.
3083 * libio/memstream.c: Likewise.
3084 * libio/obprintf.c: Likewise.
3085 * libio/oldfileops.c: Likewise.
3086 * libio/oldiofclose.c: Likewise.
3087 * libio/oldiofdopen.c: Likewise.
3088 * libio/oldiofopen.c: Likewise.
3089 * libio/oldiopopen.c: Likewise.
3090 * libio/oldstdfiles.c: Likewise.
3091 * libio/putc.c: Likewise.
3092 * libio/setbuf.c: Likewise.
3093 * libio/setlinebuf.c: Likewise.
3094 * libio/stdfiles.c: Likewise.
3095 * libio/strops.c: Likewise.
3096 * libio/vasprintf.c: Likewise.
3097 * libio/vscanf.c: Likewise.
3098 * libio/vsnprintf.c: Likewise.
3099 * libio/vswprintf.c: Likewise.
3100 * libio/wfiledoalloc.c: Likewise.
3101 * libio/wfileops.c: Likewise.
3102 * libio/wgenops.c: Likewise.
3103 * libio/wmemstream.c: Likewise.
3104 * libio/wstrops.c: Likewise.
3105 * libio/__fpurge.c: Likewise.
3106 * libio/__fsetlocking.c: Likewise.
3107 * assert/assert.c: Likewise.
3108 * debug/fgets_chk.c: Likewise.
3109 * debug/fgets_u_chk.c: Likewise.
3110 * debug/fread_chk.c: Likewise.
3111 * debug/fread_u_chk.c: Likewise.
3112 * debug/gets_chk.c: Likewise.
3113 * debug/obprintf_chk.c: Likewise.
3114 * debug/vasprintf_chk.c: Likewise.
3115 * debug/vdprintf_chk.c: Likewise.
3116 * debug/vsnprintf_chk.c: Likewise.
3117 * debug/vsprintf_chk.c: Likewise.
3118 * malloc/mtrace.c: Likewise.
3119 * misc/error.c: Likewise.
3120 * misc/syslog.c: Likewise.
3121 * stdio-common/asprintf.c: Likewise.
3122 * stdio-common/fxprintf.c: Likewise.
3123 * stdio-common/getw.c: Likewise.
3124 * stdio-common/isoc99_fscanf.c: Likewise.
3125 * stdio-common/isoc99_scanf.c: Likewise.
3126 * stdio-common/isoc99_vfscanf.c: Likewise.
3127 * stdio-common/isoc99_vscanf.c: Likewise.
3128 * stdio-common/isoc99_vsscanf.c: Likewise.
3129 * stdio-common/printf-prs.c: Likewise.
3130 * stdio-common/printf_fp.c: Likewise.
3131 * stdio-common/printf_fphex.c: Likewise.
3132 * stdio-common/printf_size.c: Likewise.
3133 * stdio-common/putw.c: Likewise.
3134 * stdio-common/scanf.c: Likewise.
3135 * stdio-common/sprintf.c: Likewise.
3136 * stdio-common/tmpfile.c: Likewise.
3137 * stdio-common/vfprintf.c: Likewise.
3138 * stdio-common/vfscanf.c: Likewise.
3139 * stdlib/strfmon_l.c: Likewise.
3140 * sunrpc/openchild.c: Likewise.
3141 * sunrpc/xdr_stdio.c: Likewise.
3142 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3143 * sysdeps/mach/hurd/tmpfile.c: Likewise.
3144
d6c33fda
RM
31452012-05-24 Roland McGrath <roland@hack.frob.com>
3146
c1487492
RM
3147 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3148
3149 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
3150 in the third column, to generate for the shared library an IFUNC
3151 that uses _dl_vdso_vsym.
3152 * Makerules (COMPILE.c, compile-stdin.c): New variables.
3153 * Makeconfig (object-suffixes-noshared): New variable.
3154
3155 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
3156 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
3157 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
3158 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
3159
d6c33fda
RM
3160 [BZ #14132]
3161 * include/sys/time.h (__gettimeofday): Remove macro.
3162 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
3163 * time/gettimeofday.c (__gettimeofday): Remove #undef.
3164 Remove INTDEF.
3165 (__gettimeofday): Add libc_hidden_def.
3166 (gettimeofday): Add libc_hidden_weak.
3167 * sysdeps/mach/gettimeofday.c: Likewise.
3168 * sysdeps/posix/gettimeofday.c: Likewise.
3169 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3170 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3171 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
3172 (__gettimeofday_internal): Remove strong_alias.
3173 (__gettimeofday): Add libc_hidden_def.
3174 (gettimeofday): Add libc_hidden_weak.
3175 * sysdeps/unix/syscalls.list (gettimeofday):
3176 Remove __gettimeofday_internal alias.
3177
b5a2bbe6
L
31782012-05-24 Daniel Jacobowitz <drow@false.org>
3179 H.J. Lu <hongjiu.lu@intel.com>
3180
3181 [BZ #12495]
3182 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
3183 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
3184 (largebin_index_32_big): New.
3185 (largebin_index): Use it for 16-byte alignment.
3186 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
3187 correction with front_misalign.
3188
cfba4fda
L
31892012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3190
7f907421
L
3191 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
3192 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3193 Likewise.
3194 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
3195 Likewise.
3196 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3197 Likewise.
3198 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
3199 Likewise.
3200 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
3201 Likewise.
3202 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
3203 Likewise.
3204 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
3205 Likewise.
3206 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3207 Likewise.
3208 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
3209 Likewise.
3210 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
3211 Likewise.
3212 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3213 Likewise.
3214 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
3215 Likewise.
3216
cfba4fda
L
3217 * scripts/data/c++-types-x32-linux-gnu.data: New file.
3218 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
3219
80bad0cc
JM
32202012-05-24 Joseph Myers <joseph@codesourcery.com>
3221
7a25eb06
JM
3222 [BZ #10846]
3223 [BZ #14036]
3224 * math/libm-test.inc (exp_test): Add test from bug 14036.
3225 (pow_test): Add test from bug 10846.
3226
795405f9
JM
3227 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
3228 and other flags.
3229 (special_function): Do not include flags in test name.
3230 (parse_args): Likewise.
3231 * sysdeps/i386/fpu/libm-test-ulps: Update.
3232 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3233 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3234 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3236
80bad0cc
JM
3237 * math/gen-libm-test.pl (%beautify): Add entries for underflow
3238 exceptions.
3239 * math/libm-test.inc ("Philosophy"): Update comment about
3240 exception testing.
3241 (UNDERFLOW_EXCEPTION): New macro.
3242 (UNDERFLOW_EXCEPTION_OK): Likewise.
3243 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3244 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3245 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3246 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3247 (INVALID_EXCEPTION_OK): Update value.
3248 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3249 (OVERFLOW_EXCEPTION_OK): Likewise.
3250 (IGNORE_ZERO_INF_SIGN): Likewise.
3251 (test_exceptions): Handle underflow exceptions.
3252 (acos_test): Update for underflow exception expectations.
3253 (cexp_test): Likewise.
3254 (clog_test): Likewise.
3255 (clog10_test): Likewise.
3256 (csqrt_test): Likewise.
3257 (ctan_test): Likewise.
3258 (ctanh_test): Likewise.
3259 (exp_test): Likewise.
3260 (exp10_test): Likewise.
3261 (exp2_test): Likewise.
3262 (expm1_test): Likewise.
3263 (fma_test): Likewise.
3264 (j0_test): Likewise.
3265 (jn_test): Likewise.
3266 (nexttoward_test): Likewise.
3267 (pow_test): Likewise.
3268 (scalbn_test): Likewise.
3269 (scalbln_test): Likewise.
3270 (tan_test): Likewise.
3271 (y1_test): Likewise.
3272 * sysdeps/i386/fpu/libm-test-ulps: Update.
3273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3274
9e0e3d0b
DM
32752012-05-23 David S. Miller <davem@davemloft.net>
3276
3277 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3278 (__libc_sigaction): Remove unused local variables.
3279
ccd0a08f
L
32802012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3281
3282 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3283
62bdf9a6
PE
32842012-05-23 Paul Eggert <eggert@cs.ucla.edu>
3285
f8591f80
PE
3286 mktime: avoid signed integer overflow
3287 * time/mktime.c (__mktime_internal): Do not mishandle the case
3288 where diff == INT_MIN.
3289
94c7d826
PE
3290 mktime: simplify computation of average
3291 * time/mktime.c (ranged_convert): Use new time_t_avg function
3292 instead of rolling our own (probably-slower) code.
3293
ce73d683
PE
3294 mktime: do not assume signed right shift propagates sign bit
3295 * time/mktime.c (isdst_differ): New static function.
3296 (__mktime_internal): No need to normalize tm_isdst now.
3297 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3298 tm_isdst values.
3299
72a22e59
PE
3300 mktime: merge another wrapv change from gnulib
3301 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3302 from some compilers.
3303
68605433
PE
3304 mktime: remove incorrect attempt at unusual arithmetics
3305 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3306 The code didn't really work on such machines anyway.
3307 (TYPE_MINIMUM): Assume two's complement.
3308 (twos_complement_arithmetic): Verify that long_int and time_t
3309 are two's complement (or unsigned, in the latter case).
3310
03cf7fe3
PE
3311 mktime: check signed shifts on long_int and time_t, too
3312 * time/mktime.c (SHR): Check that shifts work as desired
3313 on the types long_int and time_t too, as SHR is used on
3314 such types.
3315
f04dfbc2
PE
3316 mktime: do not assume 'long' is wide enough
3317 * time/mktime.c (verify): Move decl up.
3318 (long_int): New type.
3319 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3320 to remove assumption in the code that 'long' is wide enough to
3321 store year values. This assumption is not true on x32 and on
3322 some non-glibc platforms.
3323
62bdf9a6
PE
3324 mktime: merge wrapv change from gnulib
3325 * time/mktime.c (WRAPV): New macro.
3326 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3327 (guess_time_tm, __mktime_internal): Do not assume that signed
3328 integer overflow wraps around; modern compilers generate code
3329 where this assumption is no longer valid.
3330
5e292e4f
L
33312012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3332
3333 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3334 Replace "jmp L(pseudo_end)" with "ret".
3335 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3336 Likewise.
3337
8caf8c87
AJ
33382012-05-23 Andreas Jaeger <aj@suse.de>
3339
3340 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3341 * sysdeps/unix/sysv/linux/poll.c: Remove file.
3342
1a09dc56
AJ
33432012-05-23 Andreas Jaeger <aj@suse.de>
3344 Maximilian Attems <max@stro.at>
3345
3346 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3347 New macros.
3348
1c87aba0
L
33492012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3350
3351 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3352 code so that pseudo_end is just ret and the stack pointer is
3353 correct also for static library in error case.
3354
40e45bd5
JM
33552012-05-23 Joseph Myers <joseph@codesourcery.com>
3356
c2670533
JM
3357 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
3358 move to syscalls.list.
3359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3363
40e45bd5
JM
3364 * manual/install.texi (Running make install): Do not mention Linux
3365 kernel version for which pt_chown is not needed.
3366 (Linux): Do not mention problems with nscd with 2.0 kernels.
3367 * INSTALL: Regenerated.
3368
be08eda5
AJ
33692012-05-23 Andreas Jaeger <aj@suse.de>
3370
3371 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3372 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
3373 macro.
3374 * sysdeps/unix/sysv/linux/s390/bits/mman.h
3375 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3376 * sysdeps/unix/sysv/linux/sh/bits/mman.h
3377 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3378 * sysdeps/unix/sysv/linux/i386/bits/mman.h
3379 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3380 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
3381 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3382 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
3383 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3384 * sysdeps/unix/sysv/linux/bits/in.h
3385 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
3386
a6a056bb
RM
33872012-05-22 Roland McGrath <roland@hack.frob.com>
3388
3389 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
3390 (PREPARE_VERSION): Just use assert instead, it will be elided
3391 under [NDEBUG] anyway.
3392
c9009328
L
33932012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3394
3395 * sysdeps/unix/sysv/linux/Makefile: Include
3396 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 3397 (sysdep_routines): Remove sysctl.
c9009328
L
3398 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
3399 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
3400 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
3401 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
3402 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
3403
73338355
AJ
34042012-05-22 Andreas Jaeger <aj@suse.de>
3405
3406 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
3407 that pseudo_end is just ret and the stack pointer is correct also
3408 for static library in error case.
3409
d44638b0
PP
34102012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3411
3412 [BZ #14122]
3413 * nss/nsswitch.c (defconfig_entries): New variable.
3414 (__nss_database_lookup): Don't leak defconfig entries.
3415 (nss_parse_service_list): Don't leak on error paths.
3416 (free_database_entries): New function.
3417 (free_defconfig): New function.
3418 (free_mem): Move common code to free_database_entries.
3419
31a39bd8
L
34202012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3421
da0331a8
L
3422 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
3423 Add arch_prctl.
3424 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
3425
31a39bd8
L
3426 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3427 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
3428 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
3429 New macro.
3430 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3431 (INTERNAL_SYSCALL_TYPES): Likewise.
3432 (LOAD_ARGS_TYPES_[1-6]): Likewise.
3433 (LOAD_REGS_TYPES_[1-6]): Likewise.
3434 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
3435 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
3436
45470df3
AZ
34372012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3438
3439 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
3440 copysignl for GLIBC_2_0.
3441 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
3442 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
3443 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
3444 logbl for GLIBC_2_0.
3445 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3446 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3447
98a61bcb
L
34482012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3449
a4f6e481
L
3450 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
3451 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3452
f63d5db6
L
3453 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3454 Use "neg %eax".
3455
98a61bcb
L
3456 * time/mktime.c: Update copyright years.
3457
95770f14
PE
34582012-05-22 Paul Eggert <eggert@cs.ucla.edu>
3459
6226efbd
PE
3460 mktime: merge comment-quoting-style change from gnulib
3461 * time/mktime.c: Quote 'like this' in comments.
3462 The GNU coding standards suggest that we no longer quote `like this',
3463 as "`" and "'" are typically rendered asymmetrically nowadays.
3464 The typical gnulib style is to quote 'like this' when quoting
3465 code, and "like this" when quoting English.
3466
b99e4f78
PE
3467 * time/mktime.c (compile-command): Add "-I.".
3468
643e01e6
PE
3469 mktime: merge mktime-internal.h change from gnulib
3470 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
3471
2554247d
PE
3472 mktime: merge time_r change from gnulib
3473 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
3474
826dd0ab
PE
3475 mktime: merge DEBUG change from gnulib
3476 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
3477 case system <time.h> has a #define.
3478
bd83aabe
PE
3479 mktime: merge <sys/types.h> change from gnulib
3480 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
3481 since <time.t> is now guaranteed to define time_t.
3482
95770f14
PE
3483 mktime: merge HAVE_CONFIG_H change from gnulib
3484 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
3485
5e1a27a9
L
34862012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3487
0e44a77e
L
3488 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3489 Use "neg %eax".
3490
5e1a27a9
L
3491 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
3492 __rlim_t cast.
3493 (struct rusage): Use anonymous union to pad each field to
3494 __syscall_slong_t.
3495
46259bec
DM
34962012-05-21 David S. Miller <davem@davemloft.net>
3497
3498 * Makefules (o-iterator): Remove .s cases.
3499 (compile-command.s): Delete.
3500 (COMPILE.s): Delete.
3501 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
3502
59f0c22e
JM
35032012-05-21 Joseph Myers <joseph@codesourcery.com>
3504
3505 * configure.in (libc_cv_predef_stack_protector): Only consider
3506 "foobar" and "__stack_chk_fail" lines in libc_undefs.
3507 * configure: Regenerated.
3508
20c07380
L
35092012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3510
bbb3154b
L
3511 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3512 New macro. Use R*LP on int and pointer.
3513 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
3514 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
3515 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
3516 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
3517
20c07380
L
3518 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
3519 [__WORDSIZE_TIME64_COMPAT32] instead of
3520 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
3521 (struct utmp): Likewise.
3522 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
3523 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
3524 Renamed to ...
3525 (__WORDSIZE_TIME64_COMPAT32): This.
3526 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3527 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3528 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
3529 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
3530 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
3531 (__WORDSIZE_TIME64_COMPAT32): New macro.
3532
d8d1017e
AJ
35332012-05-21 Andreas Jaeger <aj@suse.de>
3534
3535 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
3536 only if [SHARED]. Add prototype for __wcschr_ia32.
3537
6c7fb145
RM
35382012-05-21 Roland McGrath <roland@hack.frob.com>
3539
3540 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
3541 of %rbp unmolested in the jmp_buf while mangling the low bits.
3542 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
3543 unmolested high bits of %rbp while demangling the low bits.
3544 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3545
66274218
AJ
35462012-05-21 Andreas Jaeger <aj@suse.de>
3547
07c58f8f
AJ
3548 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
3549 * sunrpc/svc_simple.c: Use it for registerrpc.
3550 * sunrpc/xcrypt.c: Use it for passwd2des.
3551
66274218
AJ
3552 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
3553
61f65140
L
35542012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3555
3556 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
3557 Don't define if [__SYSCALL_WORDSIZE != 32].
3558 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
3559 New macro.
3560
5fefb436
AJ
35612012-05-21 Bruno Haible <bruno@clisp.org>
3562 Andreas Jaeger <aj@suse.de>
3563
3564 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
3565 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
3566 inptr and inend for must_buffer_ch.
3567 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
3568 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
3569 * stdio-common/Makefile (tests): Remove bug15.
3570 (bug15-ENV): Remove macro.
3571 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
3572 anymore.
3573
d8e272ab
AJ
35742012-05-19 Andreas Jaeger <aj@suse.de>
3575 Roland McGrath <roland@hack.frob.com>
3576
3577 * manual/contrib.texi: Completely rewritten. It contains now an
3578 alphabetical list of contributors and their contributions.
3579
4a56a162
RH
35802012-05-21 Richard Henderson <rth@twiddle.net>
3581
3582 * misc/getauxval.c (__getauxval): Use unsigned long int.
3583 * misc/sys/auxv.h: Include <sys/cdefs.h>.
3584 (getauxval): Use unsigned long int.
3585
d024d23c
L
35862012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3587
3588 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3589
cbc00a03
RM
35902012-05-21 Roland McGrath <roland@hack.frob.com>
3591
3592 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
3593 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
3594 __alignof__ (long double).
3595
478143fa
AZ
35962012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3597
3598 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3599
c7683a6d
RH
36002012-05-20 Richard Henderson <rth@twiddle.net>
3601
3602 * misc/getauxval.c: New file.
3603 * misc/sys/auxv.h: New file.
3604 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
3605 (routines): Add getauxval.
3606 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
3607 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
3608 * elf/dl-sysdep.c (_dl_auxv): Remove.
3609 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
3610 * elf/dl-support.c (_dl_auxv): New variable.
3611 (_dl_aux_init): Initialize it.
3612 * manual/startup.texi (Auxiliary Vector): New node.
3613 * sysdeps/generic/bits/hwcap.h: New file.
3614 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
3615 * sysdeps/powerpc/sysdep.h: ... here. Include it.
3616 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
3617 * sysdeps/sparc/sysdep.h: ... here. Include it.
3618 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
3619 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
3620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3621 Update.
c7683a6d
RH
3622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
3623 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
3624 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
3625 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
3626 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3627 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3628 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
3629 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
3630
a6f1845d
AZ
36312012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3632
3633 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3634
cbcbe830
DM
36352012-05-19 David S. Miller <davem@davemloft.net>
3636
3637 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3638
e0b16cc2
JM
36392012-05-19 Joseph Myers <joseph@codesourcery.com>
3640
3641 [BZ #14123]
3642 * math/s_ccosh.c: Include <float.h>
3643 (__ccosh): Avoid internal overflow calculating sinh and cosh
3644 values before multiplying by sin and cos values.
3645 * math/s_ccoshf.c: Likewise.
3646 * math/s_ccoshl.c: Likewise.
3647 * math/s_csin.c: Likewise.
3648 * math/s_csinf.c: Likewise.
3649 * math/s_csinl.c: Likewise.
3650 * math/s_csinh.c: Likewise.
3651 * math/s_csinhf.c: Likewise.
3652 * math/s_csinhl.c: Likewise.
3653 * math/libm-test.inc (ccos_test): Add more tests.
3654 (ccosh_test): Likewise.
3655 (csin_test): Likewise.
3656 (csinh_test): Likewise.
3657 * sysdeps/i386/fpu/libm-test-ulps: Update.
3658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3659
6ad13e08
L
36602012-05-19 H.J. Lu <hongjiu.lu@intel.com>
3661
f66f0ce8
L
3662 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
3663 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3664
6ad13e08
L
3665 * sysdeps/x86_64/x32/_itoa.h: Add comment.
3666
b1d072a7
JM
36672012-05-19 Joseph Myers <joseph@codesourcery.com>
3668
3669 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
3670 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
3671 * sysdeps/powerpc/soft-fp/Versions: Likewise.
3672 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
3673 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
3674 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
3675 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
3676 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
3677 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
3678 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
3679 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
3680 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
3681 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
3682 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
3683 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
3684 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
3685 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
3686 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
3687 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
3688 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
3689 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
3690 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
3691 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
3692 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
3693 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
3694 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
3695 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
3696 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
3697 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
3698 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
3699 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
3700
9eae47cb
AJ
37012012-05-18 Andreas Jaeger <aj@suse.de>
3702
3703 * csu/.gitignore: Delete.
3704
bb07f69f
L
37052012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3706
3707 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
3708 (timex): Use __syscall_slong_t.
3709
e6bdb741
AJ
37102012-05-18 Andreas Jaeger <aj@suse.de>
3711 Carlos O'Donell <carlos_odonell@mentor.com>
3712
3713 * manual/install.texi (Configuring and compiling): Update
3714 description about files modified in the source directory.
d6c33fda 3715 * INSTALL: Regenerated.
e6bdb741 3716
1b74487e
L
37172012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3718
3719 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
3720 value. Use "or" to set return value to -1.
3721 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
3722 negate return value.
3723
a88b64b9
TMQMF
37242012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3725
3726 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
3727 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
3728 failure if the compiler has Graphite support disabled.
3729 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
3730 Likewise.
3731 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
3732 CFLAGS-memmove.c): Likewise.
3733 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
3734 Likewise.
3735
3707636e
L
37362012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3737
610b8622
L
3738 * sysdeps/x86_64/x32/_itoa.h: New file.
3739
7cd195df
L
3740 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
3741 getdents system call only if kernel and user dirents have the
3742 same d_ino and d_off.
3743
94b07d20
L
3744 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3745 LLONG_MAX != LONG_MAX.
3746 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3747 (_fitoa_word): Likewise.
3748
18298070
L
3749 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
3750 years.
3751 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
3752 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
3753 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
3754
553c7ea4
L
3755 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
3756 include <bits/wordsize.h>. Check __x86_64__ instead of
3757 __WORDSIZE.
3758 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
3759 if __x86_64__ is defined. Use anonymous union on fpstate.
3760
3707636e
L
3761 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
3762 anonymous union.
3763
b53ef01a
AS
37642012-05-18 Andreas Schwab <schwab@linux-m68k.org>
3765
37fb1dc0
AS
3766 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3767 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
3768 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
3769 Refer to _rtld_local_ro instead of _rtld_global_ro.
3770 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
3771 Likewise.
3772 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
3773 Likewise.
3774 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
3775 Likewise.
3776 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
3777 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
3778 of _rtld_global, and rtld_progname instead of _dl_argv[0].
3779
b53ef01a
AS
3780 * sysdeps/powerpc/powerpc32/dl-machine.c
3781 (__elf_machine_runtime_setup) [PROF]: Don't reference
3782 _dl_prof_resolve.
3783
7a185db2
AJ
37842012-05-18 Andreas Jaeger <aj@suse.de>
3785
3786 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
3787 function only available for GCCs before 3.4 since GCC 3.4
3788 introduced a builtin.
3789 (lrint): Likewise.
3790 (llrintf): Likewise.
3791 (llrint): Likewise.
3792 (fmaxf): Likewise.
3793 (fmax): Likewise.
3794 (fminf): Likewise.
3795 (fmin): Likewise.
3796 (rint): Likewise.
3797 (rintf): Likewise.
3798 (nearbyint): Likewise.
3799 (nearbyintf): Likewise.
3800 (ceil): Likewise.
3801 (ceilf): Likewise.
3802 (floor): Likewise.
3803 (floorf): Likewise.
3804
3e5aef87
L
38052012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3806
428bd707
L
3807 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
3808 on both fields and cast pointer to __syscall_ulong_t.
3809
3e5aef87
L
3810 * bits/types.h (__fsword_t): New type.
3811 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
3812 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
3813 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3814 (__FSWORD_T_TYPE): Likewise.
3815 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3816 (__FSWORD_T_TYPE): Likewise.
3817 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3818 (__FSWORD_T_TYPE): Likewise.
3819 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
3820 (__FSWORD_T_TYPE): Likewise.
3821 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
3822 __SWORD_TYPE with __fsword_t.
3823 (statfs64): Likewise.
3824
1ba7c3dc
DM
38252012-05-17 David S. Miller <davem@davemloft.net>
3826
3827 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
3828
59910343
AJ
38292012-05-17 Andreas Jaeger <aj@suse.de>
3830
3831 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
3832 warning.
3833
2e4c1e9e
L
38342012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3835
3836 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
3837
de7f5ce7
AJ
38382012-05-17 Andreas Jaeger <aj@suse.de>
3839
3840 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
3841 when it is used.
3842
286abc3d
CM
38432012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3844
3845 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
3846
477cc68e
L
38472012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3848
3849 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
3850 * sysdeps/x86_64/tst-mallocalign1.c: New file.
3851
1a0994f5
CD
38522012-05-17 Andreas Jaeger <aj@suse.de>
3853 Carlos O'Donell <carlos_odonell@mentor.com>
3854
3855 [BZ #14059]
3856 * sysdeps/x86_64/multiarch/init-arch.h
3857 (bit_YMM_Usable): Rename to...
3858 (bit_AVX_Usable): ... this.
3859 (bit_FMA4_Usable): New macro.
3860 (bit_XMM_state): New macro.
3861 (bit_YMM_state): New macro.
3862 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
3863 [__ASSEMBLER__] (index_AVX_Usable): ... this.
3864 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
3865 (CPUID_OSXSAVE): New macro.
3866 (CPUID_AVX): New macro.
3867 (CPUID_FMA4): New macro.
3868 (index_YMM_Usable): Rename to...
3869 (index_AVX_Usable): ... this.
3870 (HAS_AVX): Use HAS_ARCH_FEATURE.
3871 (HAS_FMA4): Likewise.
3872 (HAS_YMM_USABLE): Remove.
3873 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3874 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
3875 are present.
3876 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
3877 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
3878 * sysdeps/x86_64/multiarch/Makefile: Likewise.
3879 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
3880 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
3881
0af797de
CM
38822012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3883
3884 * math/libm-test.c: Support platforms without multiple rounding modes.
3885 * math/bug-nextafter.c: Support platforms without FP exceptions.
3886 * math/bug-nexttoward.c: Likewise.
3887 * math/test-fenv.c: Likewise.
3888 * math/test-misc.c: Likewise.
3889 * stdlib/bug-getcontext.c: Likewise.
3890
e39745ff
AJ
38912012-05-17 Andreas Jaeger <aj@suse.de>
3892
3893 * manual/examples/search.c (critter_cmp): Change signature to
3894 avoid warnings.
3895 * manual/string.texi (Collation Functions): Likewise.
3896
48970aba
L
38972012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3898
3899 * bits/types.h: Fold copyright years.
3900 * bits/typesizes.h: Likewise.
3901 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
3902 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
3903 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
3904 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
3905 * time/time.h: Likewise.
3906
bedee953
PP
39072012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3908
3909 [BZ #208]
3910 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
3911 in instead of returning them. Return void.
3912 (__libc_mallinfo): Accumulate over all arenas.
3913 (__malloc_stats): Adjust for change in int_mallinfo interface.
3914
61653dfb
RM
39152012-05-16 Roland McGrath <roland@hack.frob.com>
3916
30b99d79
RM
3917 [BZ #10375]
3918 * configure.in (NM): Add AC_CHECK_TOOL for it.
3919 (libc_extra_cflags): New substituted variable.
3920 Check for -fstack-protector being used implicitly.
3921 * configure: Regenerated.
3922 * config.make.in (config-extra-cflags): New variable,
3923 gets @libc_extra_cflags@.
3924 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
3925
61653dfb
RM
3926 [BZ #10375]
3927 * configure.in: Check for _FORTIFY_SOURCE being predefined.
3928 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
3929 * configure: Regenerated.
3930 * config.make.in (CPPUNDEFS): New substituted variable.
3931 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
3932 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
3933 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
3934
661768bb
L
39352012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3936
3937 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
3938 (mq_attr): Use __syscall_slong_t.
3939
d4261567
L
39402012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3941
3942 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
3943 Check __x86_64__ instead of __WORDSIZE.
3944 (_STAT_VER_LINUX): Likewise.
3945 (stat): Check __x86_64__ instead of __WORDSIZE. Use
3946 __syscall_ulong_t and __syscall_slong_t.
3947 (stat64): Likewise.
3948
cf3ff365
L
39492012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3950
3951 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
3952
76cf3e4d
L
39532012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3954
3955 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
3956
a637753a
L
39572012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3958
3959 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
3960 __syscall_ulong_t.
3961
d5e05119
L
3962 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
3963 include <bits/wordsize.h>. Check __x86_64__ instead of
3964 __WORDSIZE.
3965 (greg_t): Use "__extension__ long long int" if __x86_64__ is
3966 defined.
3967 (mcontext_t): Replace "unsigned long" with "unsigned long long".
3968
f62ee380
L
3969 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
3970 include <bits/wordsize.h>. Check __x86_64__ instead of
3971 __WORDSIZE.
3972 (user_regs_struct): Use "__extension__ unsigned long long"
3973 instead of "unsigned long" if __x86_64__ is defined.
3974 (user): Likewise. Pad after pointer field if __ILP32__ is
3975 defined.
3976
4e124ced
JM
39772012-05-16 Joseph Myers <joseph@codesourcery.com>
3978
6a3951a0
JM
3979 * configure.in (makeinfo): Require version 4.5 or later. Allow
3980 versions 5 to 9.
3981 * configure: Regenerated.
3982 * manual/install.texi (texinfo): Increase version requirement to
3983 4.5 or later.
3984 * INSTALL: Regenerated.
3985
4e124ced
JM
3986 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
3987
953ca31a
L
39882012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3989
3990 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
3991
617aca05
L
3992 * sysdeps/x86_64/x32/ffs.c: New file.
3993
5762f7ae
L
3994 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
3995 __syscall_ulong_t.
3996 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
3997 defined. Use __syscall_ulong_t.
3998 (shminfo): Use __syscall_ulong_t.
3999 (shm_info): Likewise.
4000
a26b6856
L
4001 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
4002 __syscall_ulong_t.
4003
cb2b9ef7
L
4004 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
4005 <bits/wordsize.h>.
4006 (msgqnum_t): Use __syscall_ulong_t.
4007 (msglen_t): Likewise.
4008 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
4009 __syscall_ulong_t.
4010
34683bb0
L
4011 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
4012 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4013
84a68786
L
4014 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
4015
48baa5f1
L
4016 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
4017 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
4018
180be88b
L
4019 * sysvipc/sys/msg.h (msgbuf): Replace long int with
4020 __syscall_slong_t.
4021
5e90c8ad
L
4022 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
4023 include <bits/wordsize.h>. Check __x86_64__ instead of
4024 __WORDSIZE.
4025
23dfb58b
L
4026 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
4027 "unsigned long long int" if __x86_64__ is defined.
4028 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
4029
ce5d54b0
L
4030 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
4031 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4032 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
4033
13dc9eac
L
4034 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
4035 <stdint.h>.
4036 (GET_PC): Cast to uintptr_t first.
4037 (GET_FRAME): Likewise.
4038 (GET_STACK): Likewise.
4039
a7895d15
L
4040 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
4041 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
4042 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
4043 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
4044 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
4045 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
4046 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
4047 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
4048 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4049 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
4050 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
4051 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
4052 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4053 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
4054 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
4055 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
4056 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
4057 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
4058 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
4059 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
4060 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
4061 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
4062 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
4063 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
4064 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
4065 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
4066 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
4067 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
4068 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
4069
656416c9
AS
40702012-05-16 Andreas Schwab <schwab@linux-m68k.org>
4071
5bd66283
AS
4072 * Makerules (+depfiles): Also collect depfiles from .oS in
4073 $(extra-objs).
4074 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
4075 .oS, $(libnldbl-routines)).
4076
656416c9
AS
4077 * Makerules (native-compile-mkdep-flags): Define.
4078 * sunrpc/Makefile (extra-objs): Add $(addprefix
4079 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
4080 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
4081 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
4082 calling $(make-target-directory).
4083
a46f2169
L
40842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4085
4086 * bits/types.h (__snseconds_t): Removed.
4087 * time/time.h (struct timespec): Replace __snseconds_t with
4088 __syscall_slong_t.
4089 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
4090 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
4091 Likewise.
4092 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4093 (__SNSECONDS_T_TYPE): Likewise.
4094 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4095 (__SNSECONDS_T_TYPE): Likewise.
4096 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4097 (__SNSECONDS_T_TYPE): Likewise.
4098
6af6528b
L
40992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4100
4101 * sysdeps/mach/hurd/bits/typesizes.h
4102 (__SYSCALL_SLONG_TYPE): New macro.
4103 (__SYSCALL_ULONG_TYPE): Likewise.
4104
de986b56
L
41052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4106
4107 * bits/types.h (__syscall_slong_t): New type.
4108 (__syscall_ulong_t): Likewise.
4109
4110 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
4111 (__SYSCALL_ULONG_TYPE): Likewise.
4112 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4113 (__SYSCALL_SLONG_TYPE): Likewise.
4114 (__SYSCALL_ULONG_TYPE): Likewise.
4115 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4116 (__SYSCALL_SLONG_TYPE): Likewise.
4117 (__SYSCALL_ULONG_TYPE): Likewise.
4118 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4119 (__SYSCALL_SLONG_TYPE): Likewise.
4120 (__SYSCALL_ULONG_TYPE): Likewise.
4121
85736dc7
L
41222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4123
4124 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
4125 Add sigaltstack-offsets.sym.
4126 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
4127 <sigaltstack-offsets.h>.
4128 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
4129 longjmp_msg pointer.
4130 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
4131 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
4132 signal stack.
4133 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
4134
cc03b296
JM
41352012-05-15 Joseph Myers <joseph@codesourcery.com>
4136
a9538892
JM
4137 * elf/stackguard-macros.h: Remove file.
4138 * sysdeps/generic/stackguard-macros.h: New file.
4139 * sysdeps/i386/stackguard-macros.h: Likewise.
4140 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4141 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4142 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4143 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4144 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4145 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4146 * sysdeps/x86_64/stackguard-macros.h: Likewise.
4147 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
4148 <elf/stackguard-macros.h>.
4149
cc03b296
JM
4150 [BZ #14109]
4151 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
4152 __aligned__ in attribute.
4153 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
4154 (gregset_t): Likewise.
4155
93171016
L
41562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4157
4158 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
4159 * sysdeps/x86_64/64/Implies-after: Here. New file.
4160 * sysdeps/x86_64/x32/Implies-after: New file.
4161
d86813a0
L
41622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4163
4164 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
4165 and access return value for _dl_profile_fixup. Use R10_LP to
4166 load frame size.
4167
2953ec75
L
41682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4169
4170 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
4171
3b550e9e
L
41722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4173
4174 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
4175 * sysdeps/x86_64/x32/sysdep.h: New file.
4176
eda41706
L
41772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4178
4179 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
4180 * sysdeps/x86_64/setjmp.S: Likewise.
4181
9ea01d93
AZ
41822012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4183
4184 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
4185 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
4186 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
4187 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
4188 remove unused global constant.
4189
02a91938
CM
41902012-05-15 Chris Metcalf <cmetcalf@tilera.com>
4191
4192 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
4193 include of <not-cancel.h>.
4194
6540185f
RM
41952012-05-15 Roland McGrath <roland@hack.frob.com>
4196
4197 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
4198
509072a0
AJ
41992012-05-15 Jeff Law <law@redhat.com>
4200 Andreas Jaeger <aj@suse.de>
4201
4202 [BZ #13594]
4203 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
4204 out from...
4205 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
4206 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
4207 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
4208 code changing __hst_map_handle.map.
4209
ba75122d
RM
42102012-05-15 Roland McGrath <roland@hack.frob.com>
4211
4212 * configure.in (sysnames): Look for Implies-before and Implies-after
4213 files.
4214 * configure: Regenerated.
4215
890d8bd8
L
42162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4217
4218 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
4219 8-byte data alignment with LP_SIZE alignment.
4220
f6ee6623
L
42212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4222
4223 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
4224 into R10_LP.
4225
ea2626f6
L
42262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4227
4228 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
4229
085f715e
L
42302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4231
4232 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
4233 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
4234 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
4235 Likewise.
4236 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4237
be8498fc
L
42382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4239
4240 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
4241 (stackinfo_sub_sp): Likewise.
4242
70bc83b9
L
42432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4244
4245 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
4246 RAX_LP.
4247
9bc0b730
L
42482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4249
4250 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
4251 into R*_LP.
4252
6d2850e7
L
42532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4254
4255 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
4256 sizes into R*_LP.
4257
3cb84561
L
42582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4259
4260 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4261
54e2ed81
L
42622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4263
4264 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4265 into R11_LP and load __x86_64_shared_cache_size_half into
4266 R8_LP.
4267
8a17f349
L
42682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4269
4270 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4271 R8_LP.
4272
777b1eea
AZ
42732012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4274
4275 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4276 logb for POWER7.
4277 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4278 logbf for POWER7.
4279 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4280 logbl for POWER7.
4281 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4282 powerpc32/power7/fpu/s_logb.c via #include.
4283 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4284 powerpc32/power7/fpu/s_logbf.c via #include.
4285 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4286 powerpc32/power7/fpu/s_logbl.c via #include.
4287
d20d4ac2
JM
42882012-05-15 Joseph Myers <joseph@codesourcery.com>
4289
4290 * README.libm: Remove file.
4291
6cdef1ab
L
42922012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4293
4294 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4295 count for x32. Use R*_LP and omit operand-size suffix.
4296
0b254d8f
L
42972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4298
4299 * shlib-versions: Move x86_64-.*-linux.* entries to ...
4300 * sysdeps/x86_64/64/shlib-versions: Here. New file.
4301 * sysdeps/x86_64/x32/shlib-versions: New file.
4302
ceb809dc
RM
43032012-05-14 Roland McGrath <roland@hack.frob.com>
4304
4305 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4306 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4307 Use _dl_fatal_printf instead.
4308
37f1abd4
JM
43092012-05-14 Joseph Myers <joseph@codesourcery.com>
4310
4311 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4312 set if not set by the user. Do not allow for being unset.
4313 * sysdeps/unix/sysv/linux/configure: Regenerated.
4314
11de3a33
L
43152012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4316
4317 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4318 the `q' suffix from lea and replace .quad with ASM_ADDR.
4319
e02f153a
L
43202012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4321
4322 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4323 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
4324 instead of $17.
4325 (PTR_DEMANGLE): Likewise.
4326
520ae0fd
L
43272012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4328
4329 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4330 (LP_OP): Likewise.
4331 (ASM_ADDR): Likewise.
4332 (RAX_LP): Likewise.
4333 (RBP_LP): Likewise.
4334 (RBX_LP): Likewise.
4335 (RCX_LP): Likewise.
4336 (RDI_LP): Likewise.
4337 (RSI_LP): Likewise.
4338 (RSP_LP): Likewise.
4339 (R8_LP): Likewise.
4340 (R9_LP): Likewise.
4341 (R10_LP): Likewise.
4342 (R10_LP): Likewise.
4343 (R11_LP): Likewise.
4344 (R12_LP): Likewise.
4345 (R13_LP): Likewise.
4346 (R14_LP): Likewise.
4347 (R15_LP): Likewise.
4348
b985be81
L
43492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4350
4351 * sysdeps/x86_64/x32/dl-machine.h: New file.
4352
6a4888ff
AJ
43532012-05-14 Andreas Jaeger <aj@suse.de>
4354
4355 * manual/Makefile (subdir): Remove export of subdir.
4356 (all): Remove target.
4357 (.PHONY): Remove all from list.
4358 (mkinstalldirs): Remove.
4359 (.PHONY): Remove installdirs from list.
4360 ($(inst_infodir)/libc.info): Use make-target-directory.
4361 (installdirs): Remove.
4362 (subdir_%): Remove.
4363 (glibc-targets): Remove.
4364 (lib): Remove.
4365 (stubs): Remove.
4366 ($(objpfx)stubs ../po/manual.pot): Remove.
4367 ($(objpfx)stamp%): Remove.
4368 (make-target-directory): Remove.
4369 (subdir_install): Remove.
4370 (routines): Remove.
4371 (aux): Remove.
4372 (sources): Remove.
4373 (objects): Remove.
4374 (headers): Remove.
4375
4376 [BZ #13750]
4377 * manual/.gitignore: Remove, it's not needed anymore.
4378 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
4379 all files in it.
4380 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
4381 directory.
4382 (texis): Renamed to $(objpfx)texis.
4383 (texis-path): New, contains path to generated files.
4384 (chapters.%): Use texis-path for complete path, add extra argument
4385 libc-texinfo.sh.
4386 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
4387 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
4388 (summary,texi, stamp-summary): Use complete path of
4389 files. Generate files in build dir.
4390 (dir-add.texi): Build in build dir.
4391 (libm-err.texi,stamp-libm-err): Likewise.
4392 (version.texi, stamp-version): Likewise.
4393 (.%c.texi): Likewise.
4394 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
4395 (mostlyclean): Remove target.
4396 (realclean): Remove target.
4397 (generated): Add new variable with contents from mostlyclean and
4398 realclean, remove entries duplicated in common-mostlyclean, add
4399 stamp-libm-err and stamp-version.
4400 (generated-dirs): Add libc directory.
4401 ($(inst_infodir)/libc.info): Install files from build dir.
4402
4403 * manual/install.texi (Configuring and compiling): Adjust since
4404 the info files are not part of the tar ball anymore.
4405
7ac77294
AJ
44062012-05-14 Andreas Jaeger <aj@suse.de>
4407
4408 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
4409 variable.
4410
ffb7875d
JM
44112012-05-14 Joseph Myers <joseph@codesourcery.com>
4412
4413 [BZ #13717]
4414 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4415 to 2.2.0 where earlier.
4416 * sysdeps/unix/sysv/linux/configure: Regenerated.
4417 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
4418 Remove conditional code.
4419 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
4420 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
4421 Remove conditional code.
4422 [!__NR_lchown]: Likewise.
4423 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4424 [__NR_lchown]: Likewise.
4425 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
4426 comment referencing __ASSUME_LCHOWN_SYSCALL.
4427 * sysdeps/unix/sysv/linux/i386/sigaction.c
4428 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4429 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4430 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
4431 Remove conditional code.
4432 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
4433 (__protocol_available): Remove #if 0 code.
4434 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
4435 conditional code.
4436 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
4437 * sysdeps/unix/sysv/linux/kernel-features.h
4438 (__ASSUME_GETCWD_SYSCALL): Don't define.
4439 (__ASSUME_REALTIME_SIGNALS): Likewise.
4440 (__ASSUME_PREAD_SYSCALL): Likewise.
4441 (__ASSUME_PWRITE_SYSCALL): Likewise.
4442 (__ASSUME_POLL_SYSCALL): Likewise.
4443 (__ASSUME_LCHOWN_SYSCALL): Likewise.
4444 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
4445 non-SPARC.
4446 (__ASSUME_SIOCGIFNAME): Don't define.
4447 (__ASSUME_MSG_NOSIGNAL): Likewise.
4448 (__ASSUME_SENDFILE): Define unconditionally.
4449 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
4450 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
4451 conditional code.
4452 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
4453 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
4454 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4455 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4456 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
4457 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4458 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
4460 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4461 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4463 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4464 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
4466 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4467 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4469 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4470 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
4472 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4473 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4475 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4476 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
4478 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4479 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4481 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4482 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4483 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
4484 Remove conditional code.
4485 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4486 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4487 Remove conditional code.
4488 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4489 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
4490 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
4491 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4492 Remove conditional code.
4493 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4494 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
4495 Remove conditional code.
4496 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4497 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
4498 Remove conditional code.
4499 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4500 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4501 Remove conditional code.
4502 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4503 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4504 Remove conditional code.
4505 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4506 * sysdeps/unix/sysv/linux/sh/pwrite64.c
4507 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4508 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4509 * sysdeps/unix/sysv/linux/sigaction.c
4510 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4511 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4512 * sysdeps/unix/sysv/linux/sigpending.c
4513 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4514 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4515 * sysdeps/unix/sysv/linux/sigprocmask.c
4516 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4517 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4518 * sysdeps/unix/sysv/linux/sigsuspend.c
4519 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4520 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4521 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4522 (__libc_missing_rt_sigs): Remove.
4523 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
4524 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
4525 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
4526 Remove conditional code.
4527 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
4528 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
4529 return 1.
4530 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
4531 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
4532 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
4533 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
4534
1bfb7291
AJ
45352012-05-14 Andreas Jaeger <aj@suse.de>
4536
caae5a81
AJ
4537 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
4538 it's not used in glibc.
4539 (__coshm1): Likewise.
4540 (__acosh1p): Likewise.
4541 (__sgn): Likewise.
4542
1bfb7291
AJ
4543 * manual/string.texi (Copying and Concatenation): Add missing
4544 variable in concat example.
4545 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4546
c044d724
L
45472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4548
144c5467 4549 [BZ #14103]
c044d724
L
4550 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
4551 __builtin_clzl with __builtin_clzll.
4552
2523c62b
L
45532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4554
4555 [BZ #14104]
4556 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
4557 libc_freeres_ptr.
4558
d7bb4c42
LD
45592012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4560
4561 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
4562 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
4563 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
4564 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
4565
9dc4e1fb
MF
45662012-05-14 Mike Frysinger <vapier@gentoo.org>
4567
4568 * NEWS: Update ia64 info.
4569
c7df0112
AS
45702012-05-12 Andreas Schwab <schwab@linux-m68k.org>
4571
4572 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
4573 used as bcopy.
4574
dc70356c
TS
45752012-05-12 Thomas Schwinge <thomas@codesourcery.com>
4576
4577 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
4578 * sysdeps/unix/syscalls.list (dup3): Likewise.
4579 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
4580 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
4581
9fb1a21f
L
45822012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4583
4584 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
4585 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
4586
4822a2a5
L
45872012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4588
4589 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
4590 thread pointer.
4591 (TLS_IE): Use mov/add instead of movq/addq to load thread
4592 pointer.
4593 (TLS_GD_PREFIX): New.
4594 (TLS_GD): Use it.
4595
842b81d6
DM
45962012-05-11 David S. Miller <davem@davemloft.net>
4597
4598 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
4599 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
4600 (_FPU_SETCW): Likewise.
4601
1cf463cd
L
46022012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4603
4604 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
4605 is 32-byte aligned.
4606
60cc4a18
AS
46072012-05-11 Andreas Schwab <schwab@linux-m68k.org>
4608
4609 [BZ #11837]
4610 * iconvdata/gb18030.c: Update tables.
4611 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
4612 characters specially.
4613 (BODY for TO_LOOP): Add encoding of missing ranges.
4614
febb44a4
TS
46152012-05-11 Thomas Schwinge <thomas@codesourcery.com>
4616
4617 [BZ #13673]
4618 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
4619 * sysdeps/mach/hurd/dup3.c: Likewise.
4620 * sysdeps/mach/hurd/readlinkat.c: Likewise.
4621 * sysdeps/powerpc/memmove.c:: Likewise.
4622
0a10fb9e
L
46232012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4624
4625 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
4626 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
4627
df8a552f
L
46282012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4629
4630 * elf/elf.h (R_X86_64_RELATIVE64): New.
4631 (R_X86_64_NUM): Updated.
4632 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4633 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
4634 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
4635 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
4636 tst-quad1pie tst-quad2pie
4637 (modules-names): Add tst-quadmod1 tst-quadmod2.
4638 ($(objpfx)tst-quad1): New dependency.
4639 ($(objpfx)tst-quad2): Likewise.
4640 ($(objpfx)tst-quad1pie): Likewise.
4641 ($(objpfx)tst-quad2pie): Likewise.
4642 * sysdeps/x86_64/tst-quad1.c: New file.
4643 * sysdeps/x86_64/tst-quad1pie.c: New file.
4644 * sysdeps/x86_64/tst-quad2.c: Likewise.
4645 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
4646 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
4647 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
4648 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
4649 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
4650
f34d6f84
ST
46512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4652
f42d41d1
ST
4653 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
4654 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
4655 * streams/stropts.h (t_scalar_t): Define type.
4656
3c3571fc
ST
4657 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
4658 (_PATH_PRESERVE): Set to "/var/lib".
4659 (_PATH_RWHODIR): Set to "/var/spool/rwho".
4660
61f06bd3
ST
4661 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
4662 instead of int.
4663
918d4d71
ST
4664 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
4665 if __dir_mkfile succeeded.
4666
f34d6f84
ST
4667 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
4668 checking for _hurd_dtablesize. Unlock it right after having
4669 finished _hurd_dtable allocation.
4670
10589b4a
TS
46712012-05-10 Thomas Schwinge <thomas@schwinge.name>
4672
674cdbc7
TS
4673 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
4674 * sysdeps/mach/hurd/configure: Regenerated.
4675 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
4676 special-casing to...
4677 * sysdeps/gnu/configure.in: ... this new file.
4678 * sysdeps/unix/sysv/linux/configure: Regenerated.
4679 * sysdeps/gnu/configure: New generated file.
4680
8e41b99f
TS
4681 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
4682 for Linux: use nsec instead of usec, as well as:
4683 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
4684 members of type struct timespec.
4685 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
4686 New macros.
4687 (struct stat64): Likewise.
4688 (_STATBUF_ST_NSEC): New macro.
4689 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
4690
10589b4a
TS
4691 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4692 __strtoul_internal rather than strtoul.
4693
63643c85
PT
46942012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4695
4696 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
4697 and reject them.
4698
3faebe6a
ST
46992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4700
4701 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
4702 which preserves existing values.
4703 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
4704
c6474b07
PT
47052012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4706
4707 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
4708 TIMEOUT values. Return EINVAL for NFDS values either negative or
4709 greater than FD_SETSIZE.
4710
1043890b
ST
47112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4712
4713 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
4714 allocated, call __vm_protect to finish enabling the existing space, and
4715 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
4716 allocate the remainder.
4717
37ed8b9b
PT
47182012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4719
4720 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
4721 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
4722
db653660
ST
47232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4724
37ed8b9b
PT
4725 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
4726 sysdeps/mach/hurd/readlink.c.
b29d4053 4727
db653660
ST
4728 * posix/tst-sysconf.c (posix_options): Only use
4729 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
4730 _POSIX_SYNCHRONIZED_IO when they are defined
4731 * sysdeps/mach/hurd/bits/posix_opt.h:
4732 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
4733 (_XOPEN_REALTIME): Undefine macro.
4734 (_XOPEN_REALTIME_THREADS): Undefine macro.
4735 (_XOPEN_SHM): Undefine macro.
4736 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
4737 macro to -1.
4738 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
4739 macro to -1.
4740 (_POSIX_ASYNC_IO): Undefine macro.
4741 (_POSIX_PRIORITIZED_IO): Undefine macro.
4742 (_POSIX_SPIN_LOCKS): Define macro to -1.
4743
ee16e894
ST
4744 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
4745 SA_NODEFER, SA_RESETHAND.
4746 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
4747 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
4748 F_DUPFD_CLOEXEC.
4749
6103ae3b
TS
47502012-05-10 Thomas Schwinge <thomas@schwinge.name>
4751
4752 * elf/Makefile (pldd-modules): Define unconditionally.
4753
80b4e5f3
TS
47542012-05-10 Thomas Schwinge <thomas@schwinge.name>
4755
4756 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
4757
edadcbd6
ST
47582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4759
4760 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
4761 Return ENOENT when name is empty.
4762 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
4763
80694780
TS
47642012-05-10 Thomas Schwinge <thomas@schwinge.name>
4765
1792c087
TS
4766 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
4767
80694780
TS
4768 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
4769
6b645f0d
ST
47702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4771
80694780
TS
4772 Fix mlock in all cases except non-readable pages.
4773 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
4774 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 4775
6b645f0d
ST
4776 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
4777 (__mkdir): When path is `/', just fail with EEXIST.
4778 * sysdeps/mach/hurd/mkdirat.c: Likewise.
4779
e468f8a3
TS
47802012-05-10 Thomas Schwinge <thomas@schwinge.name>
4781
4782 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
4783 <sys/uio.h> (for writev).
4784 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
4785 and <sys/param.h> (for MIN).
4786
a4186cff
PT
47872012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4788
4789 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
4790 REQUESTED_TIME. Properly set the remaining time and return EINTR
4791 if interrupted.
4792
510bbf14
TS
47932012-05-10 Thomas Schwinge <thomas@schwinge.name>
4794
4795 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
4796 Depend on against $(link-rpcuserlibs).
4797
5d5722e8
ST
47982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4799
a4186cff
PT
4800 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
4801 (__libc_stack_end): Do not use attribute_relro.
4802 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
4803 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 4804 to libthread-provided value.
a4186cff
PT
4805 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
4806 attribute_relro.
5d5722e8 4807
37233df9
TS
48082012-05-10 Thomas Schwinge <thomas@schwinge.name>
4809
be971a2b
TS
4810 [BZ #3748]
4811 * bits/libc-lock.h (__libc_once_get): New macro.
4812 * sysdeps/mach/bits/libc-lock.h: Likewise.
4813 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
4814 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
4815 instead of using implementation details.
4816
37233df9
TS
4817 * libio/fileops.c: Unconditionally include <kernel-features.h>.
4818 * libio/freopen.c: Likewise.
4819 * libio/freopen64.c: Likewise.
4820 * misc/syslog.c: Likewise.
4821 * nscd/connections.c: Likewise.
4822 * nscd/netgroupcache.c: Likewise.
4823 * sysdeps/posix/getcwd.c: Likewise.
4824
38de94a5
RM
48252012-05-10 Roland McGrath <roland@hack.frob.com>
4826
4827 * math/w_ilogbf.c: Add #include <limits.h>.
4828
67530489
ST
48292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4830
a4186cff 4831 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
4832 path instead of returning without unlocking.
4833
67530489
ST
4834 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
4835 immediate-write ioctls.
4836 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
4837
5aa3a74a
TS
48382012-05-10 Thomas Schwinge <thomas@schwinge.name>
4839
18bad2ae
TS
4840 * sysdeps/mach/hurd/i386/init-first.c (init): Use
4841 __builtin_frame_address instead of making assumptions about the
4842 location of the return address relative to DATA. Force early load of
4843 the return address.
4844 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
4845 __builtin_frame_address.
4846
5aa3a74a
TS
4847 dup3 for GNU Hurd.
4848 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
4849 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
4850 implement dup3 and do some further code clean-ups.
4851 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
4852 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
4853
ecd0de9a
ST
48542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4855
cd9fa985
ST
4856 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
4857
a4186cff
PT
4858 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
4859 HURD_CRITICAL_END around holding _hurd_dtable_lock.
4860 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
4861 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
4862 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
4863 d->port.lock.
802ca5a5 4864
a4186cff
PT
4865 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
4866 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
4867 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 4868
bcf55240
TS
48692012-05-10 Thomas Schwinge <thomas@schwinge.name>
4870
6960eb42
TS
4871 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
4872 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
4873 definitions.
4874
eb43375f
TS
4875 accept4 for GNU Hurd.
4876 * include/sys/socket.h (__libc_accept4): New prototype.
4877 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
4878 to implement __libc_accept4.
4879 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
4880 __libc_accept4.
4881 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
4882
bcf55240
TS
4883 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
4884 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
4885 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
4886 signal-defines.sym.
4887
6178c55b
ST
48882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4889
a4186cff 4890 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 4891
6f080c2f
TS
48922012-05-10 Thomas Schwinge <thomas@schwinge.name>
4893
4894 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
4895 assertion on O_CLOEXEC flag.
4896 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
4897 * hurd/intern-fd.c: Likewise.
4898 * hurd/port2fd.c: Likewise.
4899
bcfe3a54
ST
49002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4901
4902 [BZ #3906]
4903 * bits/in.h (IPV6_PKTINFO): Define new macro.
4904 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
4905
89c9aa49
AZ
49062012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4907
4908 [BZ #13954]
4909 [BZ #13955]
4910 [BZ #13956]
4911 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
4912 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4913 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
4914 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4915 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4916 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4917 * math/libm-test.inc (logb_test) : Additional logb tests.
4918
021db4be
AJ
49192012-05-09 Andreas Schwab <schwab@linux-m68k.org>
4920 Andreas Jaeger <aj@suse.de>
4921
4922 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
4923 * configure: Regenerated.
4924 * config.h.in (LINK_OBSOLETE_RPC): New macro.
4925 * config.make.in (link-obsolete-rpc): New substituted variable.
4926 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
4927 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
4928 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4929 (shared-only-routines): Don't set it under [link-obsolete-rpc],
4930 so that libc.a contains the symbols.
4931 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4932 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
4933 * sunrpc/auth_none.c: Likewise.
4934 * sunrpc/auth_unix.c: Likewise.
4935 * sunrpc/authdes_prot.c: Likewise.
4936 * sunrpc/authuxprot.c: Likewise.
4937 * sunrpc/clnt_gen.c: Likewise.
4938 * sunrpc/clnt_perr.c: Likewise.
4939 * sunrpc/clnt_raw.c: Likewise.
4940 * sunrpc/clnt_simp.c: Likewise.
4941 * sunrpc/clnt_tcp.c: Likewise.
4942 * sunrpc/clnt_udp.c: Likewise.
4943 * sunrpc/clnt_unix.c: Likewise.
4944 * sunrpc/des_crypt.c: Likewise.
4945 * sunrpc/des_soft.c: Likewise.
4946 * sunrpc/get_myaddr.c: Likewise.
4947 * sunrpc/key_call.c: Likewise.
4948 * sunrpc/key_prot.c: Likewise.
4949 * sunrpc/netname.c: Likewise.
4950 * sunrpc/pm_getmaps.c: Likewise.
4951 * sunrpc/pm_getport.c: Likewise.
4952 * sunrpc/pmap_clnt.c: Likewise.
4953 * sunrpc/pmap_prot.c: Likewise.
4954 * sunrpc/pmap_prot2.c: Likewise.
4955 * sunrpc/pmap_rmt.c: Likewise.
4956 * sunrpc/publickey.c: Likewise.
4957 * sunrpc/rpc_cmsg.c: Likewise.
4958 * sunrpc/rpc_common.c: Likewise.
4959 * sunrpc/rpc_dtable.c: Likewise.
4960 * sunrpc/rpc_prot.c: Likewise.
4961 * sunrpc/rpc_thread.c: Likewise.
4962 * sunrpc/rtime.c: Likewise.
4963 * sunrpc/svc.c: Likewise.
4964 * sunrpc/svc_auth.c: Likewise.
4965 * sunrpc/svc_raw.c: Likewise.
4966 * sunrpc/svc_run.c: Likewise.
4967 * sunrpc/svc_tcp.c: Likewise.
4968 * sunrpc/svc_udp.c: Likewise.
4969 * sunrpc/svc_unix.c: Likewise.
4970 * sunrpc/svcauth_des.c: Likewise.
4971 * sunrpc/xcrypt.c: Likewise.
4972 * sunrpc/xdr.c: Likewise.
4973 * sunrpc/xdr_array.c: Likewise.
4974 * sunrpc/xdr_float.c: Likewise.
4975 * sunrpc/xdr_intXX_t.c: Likewise.
4976 * sunrpc/xdr_mem.c: Likewise.
4977 * sunrpc/xdr_rec.c: Likewise.
4978 * sunrpc/xdr_ref.c: Likewise.
4979 * sunrpc/xdr_sizeof.c: Likewise.
4980 * sunrpc/xdr_stdio.c: Likewise.
4981
b5c086a2
RM
49822012-05-10 Roland McGrath <roland@hack.frob.com>
4983
4984 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
4985 change. Update copyright years.
4986
6d74dd09
JM
49872012-05-10 Joseph Myers <joseph@codesourcery.com>
4988
4989 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
4990
28e72501
MK
49912012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
4992 Joseph Myers <joseph@codesourcery.com>
4993 Paul Pluzhnikov <ppluzhnikov@google.com>
4994
4995 [BZ #14012]
4996 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
4997 requiring rpcgen.
4998 [cross-compiling] (extra-libs): Likewise.
4999 [cross-compiling] (extra-libs-others): Likewise.
5000 [cross-compiling] (librpcsvc-routines): Likewise.
5001 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
5002 [cross-compiling] (omit-deps): Likewise.
5003 (sunrpc-CPPFLAGS): New variable.
5004 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
5005 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
5006 (cross-rpcgen-objs): New variable.
5007 (extra-objs): Append $(cross-rpcgen-objs).
5008 ($(cross-rpcgen-objs)): New rule.
5009 ($(objpfx)cross-rpcgen): Likewise.
5010 (rpcgen-cmd): Define to use $(built-program-file). Expand
5011 comment.
5012 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
5013 ($(objpfx)x%.stmp): Likewise.
5014 * sunrpc/proto.h [IS_IN_build] (_): Define.
5015 [IS_IN_build] (_libc_intl_domainname): Likewise.
5016
c8c59454
L
50172012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5018
5019 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
5020 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
5021 and R_X86_64_TPOFF64.
5022
6f27cd16
JM
50232012-05-10 Joseph Myers <joseph@codesourcery.com>
5024
5025 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
5026 sysdeps/unix/sysv/syscalls.list.
5027 (stime): Likewise.
5028 (utime): Likewise.
5029 * sysdeps/unix/sysv/syscalls.list: Remove file.
5030
02467e1c
PE
50312012-05-10 Paul Eggert <eggert@cs.ucla.edu>
5032
5033 [BZ #3440]
5034 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
5035 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
5036 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
5037 (__LC_IDENTIFICATION): Make these macros useful in #if
5038 expressions, as required by C99.
5039
da392631
AS
50402012-05-10 Andreas Schwab <schwab@linux-m68k.org>
5041
5042 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
5043 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
5044 after this.
5045
8115f29b
L
50462012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5047
5048 * stdlib/longlong.h: Updated from GCC.
5049
bdd74070
AJ
50502012-05-09 Andreas Jaeger <aj@suse.de>
5051
edfe0dbe
AJ
5052 * nscd/nscd.c (run_modes): Make named enum, reorder so that
5053 default is first entry.
5054 (run_mode): Set type.
5055 (main): Remove informal message about syslog.
5056 (options): Fix typo.
5057
bcfe3a54
ST
5058 [BZ #14053]
5059 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 5060 to asm.
bcfe3a54
ST
5061 (lrint): Likewise.
5062 (llrintf): Likewise.
5063 (llrint): Likewise.
5064 (rint): Likewise.
5065 (rintf): Likewise.
5066 (nearbyint): Likewise.
5067 (nearbyintf): Likewise.
bdd74070 5068
91d8d69e
AJ
50692012-05-09 Andreas Jaeger <aj@suse.de>
5070 Pedro Alves <palves@redhat.com>
5071
5072 * nscd/nscd.c (run_mode): Use enum.
5073 (main): Cleanup coding style issue.
5074
bb90b80b
AJ
50752012-05-09 Alexandre Oliva <aoliva@redhat.com>
5076 Andreas Jaeger <aj@suse.de>
5077
bcfe3a54
ST
5078 * nscd/nscd.c (go_background): Replaced with...
5079 (run_mode): ... this.
bb90b80b 5080 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
5081 (options): Add -F --foreground.
5082 (main): Implement it.
5083 (parse_opt): Parse it.
bb90b80b 5084
1a4b75a1
AJ
50852012-05-09 Andreas Jaeger <aj@suse.de>
5086
5087 [BZ #14083]
5088 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
5089 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
5090 -Wconversion warning.
5091 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
5092 Likewise.
5093
b1cc2472
JM
50942012-05-09 Joseph Myers <joseph@codesourcery.com>
5095
5096 * conform/data/locale.h-data (NULL): Use macro-constant. Require
5097 == 0.
5098 (LC_ALL): Use macro-int-constant.
5099 (LC_COLLATE): Likewise.
5100 (LC_CTYPE): Likewise.
5101 (LC_MESSAGES): Likewise.
5102 (LC_MONETARY): Likewise.
5103 (LC_NUMERIC): Likewise.
5104 (LC_TIME): Likewise.
5105 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
5106 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5107 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5108 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
5109 Specify type.
5110 [C99-based standards] (float_t): Expect type.
5111 [C99-based standards] (double_t): Expect type.
5112 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
5113 type.
5114 [C99-based standards] (HUGE_VALL): Likewise.
5115 [C99-based standards] (INFINITY): Likewise.
5116 [C99-based standards] (NAN): Likewise.
5117 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
5118 [C99-based standards] (FP_NAN): Likewise.
5119 [C99-based standards] (FP_NORMAL): Likewise.
5120 [C99-based standards] (FP_SUBNORMAL): Likewise.
5121 [C99-based standards] (FP_ZERO): Likewise.
5122 [C99-based standards] (FP_FAST_FMA): Use
5123 optional-macro-int-constant. Specify type. Require == 1.
5124 [C99-based standards] (FP_FAST_FMAF): Likewise.
5125 [C99-based standards] (FP_FAST_FMAL): Likewise.
5126 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
5127 [C99-based standards] (FP_ILOGBNAN): Likewise.
5128 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
5129 Specify type.
5130 [C99-based standards] (MATH_ERREXCEPT): Likewise.
5131 [C99-based standards] (math_errhandling): Specify type.
5132 [ISO99 || ISO11] (signgam): Do not allow.
5133 [non-C99-based standards] (copysignf): Do not allow.
5134 [non-C99-based standards] (exp2f): Likewise.
5135 [non-C99-based standards] (log2f): Likewise.
5136 [non-C99-based standards] (modff): Allow.
5137 [non-C99-based standards] (erff): Do not allow.
5138 [non-C99-based standards] (erfcf): Likewise.
5139 [non-C99-based standards] (gammaf): Likewise.
5140 [non-C99-based standards] (hypotf): Likewise.
5141 [non-C99-based standards] (j0f): Likewise.
5142 [non-C99-based standards] (j1f): Likewise.
5143 [non-C99-based standards] (jnf): Likewise.
5144 [non-C99-based standards] (lgammaf): Likewise.
5145 [non-C99-based standards] (tgammaf): Likewise.
5146 [non-C99-based standards] (y0f): Likewise.
5147 [non-C99-based standards] (y1f): Likewise.
5148 [non-C99-based standards] (ynf): Likewise.
5149 [non-C99-based standards] (isnanf): Likewise.
5150 [non-C99-based standards] (acoshf): Likewise.
5151 [non-C99-based standards] (asinhf): Likewise.
5152 [non-C99-based standards] (atanhf): Likewise.
5153 [non-C99-based standards] (cbrtf): Likewise.
5154 [non-C99-based standards] (expm1f): Likewise.
5155 [non-C99-based standards] (ilogbf): Likewise.
5156 [non-C99-based standards] (log1pf): Likewise.
5157 [non-C99-based standards] (logbf): Likewise.
5158 [non-C99-based standards] (nextafterf): Likewise.
5159 [non-C99-based standards] (remainderf): Likewise.
5160 [non-C99-based standards] (rintf): Likewise.
5161 [non-C99-based standards] (scalbf): Likewise.
5162 [non-C99-based standards] (copysignl): Likewise.
5163 [non-C99-based standards] (exp2l): Likewise.
5164 [non-C99-based standards] (log2l): Likewise.
5165 [non-C99-based standards] (modfl): Allow.
5166 [non-C99-based standards] (erfl): Do not allow.
5167 [non-C99-based standards] (erfcl): Likewise.
5168 [non-C99-based standards] (gammal): Likewise.
5169 [non-C99-based standards] (hypotl): Likewise.
5170 [non-C99-based standards] (j0l): Likewise.
5171 [non-C99-based standards] (j1l): Likewise.
5172 [non-C99-based standards] (jnl): Likewise.
5173 [non-C99-based standards] (lgammal): Likewise.
5174 [non-C99-based standards] (tgammal): Likewise.
5175 [non-C99-based standards] (y0l): Likewise.
5176 [non-C99-based standards] (y1l): Likewise.
5177 [non-C99-based standards] (ynl): Likewise.
5178 [non-C99-based standards] (isnanl): Likewise.
5179 [non-C99-based standards] (acoshl): Likewise.
5180 [non-C99-based standards] (asinhl): Likewise.
5181 [non-C99-based standards] (atanhl): Likewise.
5182 [non-C99-based standards] (cbrtl): Likewise.
5183 [non-C99-based standards] (expm1l): Likewise.
5184 [non-C99-based standards] (ilogbl): Likewise.
5185 [non-C99-based standards] (log1pl): Likewise.
5186 [non-C99-based standards] (logbl): Likewise.
5187 [non-C99-based standards] (nextafterl): Likewise.
5188 [non-C99-based standards] (remainderl): Likewise.
5189 [non-C99-based standards] (rintl): Likewise.
5190 [non-C99-based standards] (scalbl): Likewise.
5191 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5192 [non-C99-based standards] (FP_*): Do not allow.
5193 [C99-based standards] (FP_*): Change to
5194 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5195 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5196 allow.
5197 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
5198 (SIG_ERR): Likewise.
5199 [X/Open-based standards] (SIG_HOLD): Likewise.
5200 (SIG_IGN): Likewise.
5201 (SIGABRT): Use macro-int-constant. Specify type. Require
5202 positive value.
5203 (SIGFPE): Likewise.
5204 (SIGILL): Likewise.
5205 (SIGINT): Likewise.
5206 (SIGSEGV): Likewise.
5207 (SIGTER): Likewise.
5208 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
5209 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
5210 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
5211 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
5212 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
5213 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
5214 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
5215 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
5216 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
5217 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
5218 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
5219 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
5220 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
5221 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
5222 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
5223 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
5224 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
5225 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
5226 [X/Open-based standards] (SIGTRAP): Likewise.
5227 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
5228 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
5229 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
5230 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
5231 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5232 allow.
5233
b9f1922d
IW
52342012-05-08 Ian Wienand <ianw@vmware.com>
5235
5236 [BZ #14080]
5237 * time/tzset.c (__tzset_parse_tz): Update default rules for
5238 daylight time changes in the Energy Policy Act of 2005.
5239
1db86e88
AJ
52402012-05-09 Andreas Jaeger <aj@suse.de>
5241
5242 [BZ #13983]
5243 * elf/ldconfig.c (parse_conf): Change string to make clear that
5244 ldconfig only issued a warning if ld.so.conf does not exist.
5245
dee4a4e3
DM
52462012-05-08 David S. Miller <davem@davemloft.net>
5247
ee0db190
DM
5248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
5249 movxtod instead of popping the value on the stack.
5250
dee4a4e3
DM
5251 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5252
6a43ec98
CD
52532012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
5254
5255 * config.h.in: Add HAVE_ARM_PCS_VFP.
5256
05c2c961
RMG
52572012-05-08 Roland Mc Grath <roland@hack.frob.com>
5258
bcfe3a54
ST
5259 [BZ #13979]
5260 * include/features.h: Warn if user requests __FORTIFY_SOURCE
5261 checking but the checks are disabled for any reason.
05c2c961 5262
4b30f61a
L
52632012-05-08 H.J. Lu <hongjiu.lu@intel.com>
5264
5265 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5266 and ELF64_R_TYPE with ELFW(R_TYPE).
5267
eee2bc67
JM
52682012-05-08 Joseph Myers <joseph@codesourcery.com>
5269
7ea5391a
JM
5270 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5271 (ulimit): Likewise.
5272
eee2bc67
JM
5273 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5274 (settimeofday): Likewise.
5275
abb66a67
MF
52762012-05-08 Mike Frysinger <vapier@gentoo.org>
5277
5278 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
5279 a struct th_u2 inside the union, and move tu_block/tu_code into
5280 a new th_u3 union of tu_block/tu_code inside of that. Move
5281 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
5282 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
5283 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5284 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5285 (th_stuff): Change to th_u1.tu_stuff.
5286 (th_data): Define.
5287 (th_msg): Change to th_u1.th_u2.tu_data.
5288
7f18b530
DM
52892012-05-07 David S. Miller <davem@davemloft.net>
5290
05760585
DM
5291 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5292
7f18b530
DM
5293 [BZ #14074]
5294 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5295 (SETUP_PIC_REG): Use it.
5296 (SETUP_PIC_REG_LEAF): Use it.
5297
495fd99f
JM
52982012-05-07 Joseph Myers <joseph@codesourcery.com>
5299
5300 [BZ #13885]
5301 [BZ #13923]
5302 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5303 USE_AS_EXPM1L.
5304 (EXPL_FINITE): Likewise.
5305 (FLDLOG): Likewise.
5306 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5307 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5308 e_expl.S.
5309 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5310 USE_AS_EXPM1L.
5311 (EXPL_FINITE): Likewise.
5312 (FLDLOG): Likewise.
5313 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5314 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5315 e_expl.S.
5316 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
5317 test of -max_value argument for long double.
5318 * sysdeps/i386/fpu/libm-test-ulps: Update.
5319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5320
6693d694
DM
53212012-05-06 David S. Miller <davem@davemloft.net>
5322
5323 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5324 quad soft-float symbols whose references which are compiler
5325 generated.
5326 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5327
6c23e11c
JM
53282012-05-06 Joseph Myers <joseph@codesourcery.com>
5329
d8b82cad
JM
5330 [BZ #13884]
5331 [BZ #13914]
5332 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5333 USE_AS_EXP10L.
5334 (EXPL_FINITE): Likewise.
5335 (FLDLOG): Likewise.
5336 (c0): Likewise.
5337 (c1): Likewise.
5338 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5339 Adjust comments for base varying.
5340 (__expl_finite): Change alias to EXPL_FINITE.
5341 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5342 e_expl.S.
5343 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5344 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5345 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5346 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5347 * sysdeps/x86_64/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 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
5357 tests for bugs.
5358 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5359
6c23e11c
JM
5360 [BZ #14064]
5361 * math/libm-test.inc (check_float_internal): Correct ulp
5362 calculation for subnormal expected results.
5363
29ba805c
AJ
53642012-05-06 Andreas Jaeger <aj@suse.de>
5365
5366 * Makeconfig (+math-flags): New, set to -frounding-math.
5367 (+cflags): Add +math-flags so that all of glibc gets compiled with
5368 it.
5369
5370 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
5371
7b17aeda
JM
53722012-05-05 Joseph Myers <joseph@codesourcery.com>
5373
5779f134
JM
5374 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
5375 Disable one test.
5376
41498f4d
JM
5377 [BZ #13787]
5378 [BZ #13922]
5379 [BZ #14036]
5380 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
5381 (__ieee754_expl): Allow for and saturate large arguments.
5382 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
5383 (u_threshold): Likewise.
5384 (__exp): Call __ieee754_exp before checking for overflow and
5385 underflow.
5386 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
5387 (u_threshold): Likewise.
5388 (__expf): Call __ieee754_expf before checking for overflow and
5389 underflow.
5390 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
5391 (u_threshold): Likewise.
5392 (__expl): Call __ieee754_expl before checking for overflow and
5393 underflow.
5394 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
5395 (__ieee754_expl): Allow for and saturate large arguments.
5396 * math/libm-test.inc (exp_test): Add another test. Do not allow
5397 missing overflow exception on overflow.
5398 (expm1_test): Do not allow missing overflow exception on overflow.
5399
6698b8bf
JM
5400 * sysdeps/i386/fpu/e_expl.c: Move to ...
5401 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
5402 rather than using inline asm.
5403 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
5404 * sysdeps/x86_64/fpu/e_expl.S: Copy from
5405 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
5406
7b17aeda
JM
5407 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
5408 (nice): Likewise.
5409 (poll): Likewise.
5410 (signal): Likewise.
5411 (time): Likewise.
5412 (times): Likewise.
5413
f7c85819
JM
54142012-05-04 Joseph Myers <joseph@codesourcery.com>
5415
5416 * sysdeps/unix/syscalls.list (adjtime): Add entry from
5417 sysdeps/unix/common/syscalls.list.
5418 (fchmod): Likewise.
5419 (fchown): Likewise.
5420 (ftruncate): Likewise.
5421 (getrusage): Likewise.
5422 (gettimeofday): Likewise.
5423 (setpgid): Likewise.
5424 (setregid): Likewise.
5425 (setreuid): Likewise.
5426 (sigaction): Likewise.
5427 (truncate): Likewise.
5428 (vhangup): Likewise.
5429 * sysdeps/unix/common/syscalls.list: Remove file.
5430 * sysdeps/unix/bsd/Implies: Don't include unix/common.
5431 * sysdeps/unix/sysv/linux/Implies: Likewise.
5432
336270d0
L
54332012-05-04 H.J. Lu <hongjiu.lu@intel.com>
5434
5435 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
5436 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
5437 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
5438 Moved to ...
5439 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5440 Here.
5441 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
5442 to ...
5443 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
5444 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
5445 to ...
5446 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
5447 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
5448 to ...
5449 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
5450 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
5451 to ...
5452 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
5453 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
5454 to ...
5455 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
5456 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
5457 to ...
5458 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
5459 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
5460 to ...
5461 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5462 Here.
5463 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
5464 to ...
5465 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
5466 Here.
5467 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
5468 to ...
5469 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
5470 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
5471 Moved to ...
5472 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
5473 Here.
5474 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
5475 to ...
5476 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
5477
d128e450
JM
54782012-05-04 Joseph Myers <joseph@codesourcery.com>
5479
fa8ee516
JM
5480 * sysdeps/unix/common/bits/dirent.h: Remove file.
5481 * sysdeps/unix/common/bits/fcntl.h: Likewise.
5482
d128e450
JM
5483 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
5484 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
5485 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
5486 * sysdeps/unix/bsd/isatty.c: Likewise.
5487 * sysdeps/unix/bsd/tcdrain.c: Likewise.
5488 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
5489 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
5490
ff8faaf0 54912012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 5492
62881be4 5493 [BZ #13563]
31dc8730
AZ
5494 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
5495 long double comparison inaccuracies.
5496 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5497 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5498
6fef930c
AS
54992012-05-04 Andreas Schwab <schwab@linux-m68k.org>
5500
5501 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
5502 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
5503
8f203e6c
JM
55042012-05-04 Joseph Myers <joseph@codesourcery.com>
5505
5506 [BZ #14049]
5507 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
5508 nonzero digits before rounding a hex value.
5509 * stdlib/tst-strtod.c (tests): Add another test.
5510
5197d9c2
AK
55112012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5512
5513 * sysdeps/s390/fpu/libm-test-ulps: Update.
5514
f0c1dedf
AJ
55152012-05-03 Andreas Jaeger <aj@suse.de>
5516
5517 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
5518 does not get optimized out.
5519 (malloc_opt_barrier): New.
5520
a65ef2ae 55212012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 5522 Roland McGrath <roland@hack.frob.com>
a65ef2ae 5523
2b942cb7 5524 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 5525 intermediate file deletion.
2b942cb7 5526 (generated): Add .symlist files.
a65ef2ae 5527
54b71e02
JM
55282012-05-03 Joseph Myers <joseph@codesourcery.com>
5529
5530 [BZ #13775]
5531 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
5532 Redirect under this condition.
5533 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5534 [__USE_GNU] (__dprintf_chk): Not under this condition.
5535 [__USE_GNU] (__vdprintf_chk): Likewise.
5536 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
5537 under this condition.
5538 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5539 [__USE_XOPEN2K8] (dprintf): Define under this condition.
5540 [__USE_XOPEN2K8] (vdprintf): Likewise.
5541 [__USE_GNU] (__dprintf_chk): Not under this condition.
5542 [__USE_GNU] (__vdprintf_chk): Likewise.
5543 [__USE_GNU] (dprintf): Likewise.
5544 [__USE_GNU] (vdprintf): Likewise.
5545
d3dfcc41
RM
55462012-05-03 Roland McGrath <roland@hack.frob.com>
5547
5548 * elf/Makefile (common-generated): Set this instead of generated for
5549 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
5550 $(all-built-dso)-derived lists.
5551
7ac30cc5
AJ
55522012-05-03 Andreas Jaeger <aj@suse.de>
5553
0c51e550
AJ
5554 * sysdeps/i386/fpu/libm-test-ulps: Update.
5555
7ac30cc5
AJ
5556 * FAQ: Removed.
5557 * FAQ.in: Likewise.
5558 * scripts/gen-FAQ.pl: Likewise.
5559 * manual/install.texi (Installation): Point to online location of
5560 FAQ.
5561 * Makefile (files-for-dist): Remove FAQ.
5562 (FAQ): Remove.
5563
d4c2917f
AM
55642012-05-02 Allan McRae <allan@archlinux.org>
5565
5566 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
5567 (LDFLAGS-reldepmod5.so): Likewise.
5568 (LDFLAGS-reldep6mod1.so): Likewise.
5569 (LDFLAGS-reldep6mod4.so): Likewise.
5570 (LDFLAGS-reldep8mod3.so): Likewise.
5571 (LDFLAGS-unload4mod1.so): Likewise.
5572 (LDFLAGS-unload4mod2.so): Likewise.
5573 (LDFLAGS-tst-initorder): Likewise.
5574 (LDFLAGS-tst-initordera2.so): Likewise.
5575 (LDFLAGS-tst-initordera3.so): Likewise.
5576 (LDFLAGS-tst-initordera4.so): Likewise.
5577 (LDFLAGS-tst-initorderb2.so): Likewise.
5578 (LDFLAGS-noload): Likewise.
5579 (LDFLAGS-next): Likewise.
5580 (LDFLAGS-order2mod1.so): Likewise.
5581 (LDFLAGS-order2mod2.so): Likewise.
5582 (LDFLAGS-tst-initorder2): Likewise.
5583 (LDFLAGS-tst-initorder2a.so): Likewise.
5584 (LDFLAGS-tst-initorder2b.so): Likewise.
5585 (LDFLAGS-tst-initorder2c.so): Likewise.
5586 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
5587
d77f993f
DM
55882012-05-02 David S. Miller <davem@davemloft.net>
5589
5590 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5591
171a70b4
PP
55922012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
5593
5594 [BZ #14055]
5595 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
5596
0be196ad
AJ
55972012-05-02 Andreas Jaeger <aj@suse.de>
5598
5599 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
5600 since we manipulate rounding mode.
5601 (CPPFLAGS-test-idouble.c): Likewise.
5602 (CPPFLAGS-test-ifloat.c): Likewise.
5603 (CFLAGS-test-ldouble.c): Likewise.
5604 (CFLAGS-test-double.c): Likewise.
5605 (CFLAGS-test-float.c): Likewise.
5606 (CFLAGS-test-misc.c): Likewise.
5607 (CFLAGS-test-test-fenv.c): Likewise.
5608
4f9d04aa
AZ
56092012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5610
2b942cb7
RM
5611 [BZ #2550]
5612 [BZ #2570]
5613 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
5614 comparisons to determine direction to adjust input.
4f9d04aa 5615
82a79e7d
RM
56162012-05-01 Roland McGrath <roland@hack.frob.com>
5617
f5a01ca9
RM
5618 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
5619 output to the target.
5620
90fe4186
RM
5621 * scripts/localplt.awk: New file.
5622 * elf/Makefile ($(objpfx)check-localplt): Target removed.
5623 (check-localplt-CFLAGS): Variable removed.
5624 ($(all-built-dso:=.jmprel)): New static pattern rule.
5625 (generated): Add those targets.
5626 (localplt-built-dso): New variable.
5627 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
5628
5629 * elf/check-localplt.c: File removed.
5630
82397ed6
RM
5631 * scripts/check-execstack.awk: New file.
5632 * elf/Makefile ($(objpfx)check-execstack): Target removed.
5633 (check-execstack-CFLAGS): Variable removed.
5634 ($(objpfx)check-execstack.h): Target removed.
5635 ($(objpfx)execstack-default): New target.
5636 (generated): Add that instead of check-execstack.h.
5637 ($(all-built-dso:=.phdr)): New static pattern rule.
5638 (generated): Add those targets.
5639 * elf/check-execstack.c: File removed.
5640
82a79e7d
RM
5641 * scripts/check-textrel.awk: New file.
5642 * elf/Makefile ($(objpfx)check-textrel): Target removed.
5643 (check-textrel-CFLAGS): Variable removed.
5644 (all-built-dso): Use := to define.o
5645 ($(all-built-dso:=.dyn)): New static pattern rule.
5646 (generated): Add those targets.
5647 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
5648 * config.make.in (READELF): New substituted variable.
5649 * elf/check-textrel.c: File removed.
5650
62fde54f 56512012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 5652
615605c9
JM
5653 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5654 allow.
5655 * conform/data/ctype.h-data [C99-based standards] (isblank):
5656 Expect function.
5657 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
5658 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
5659 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5660 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
5661 Specify type. Require positive value.
5662 (EILSEQ): Likewise.
5663 (ERANGE): Likewise.
5664 [ISO || POSIX] (EILSEQ): Do not expect.
5665 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
5666 Specify type. Require positive value.
5667 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
5668 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
5669 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
5670 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
5671 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
5672 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
5673 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
5674 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
5675 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
5676 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
5677 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
5678 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
5679 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
5680 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
5681 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
5682 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
5683 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
5684 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
5685 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
5686 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
5687 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
5688 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
5689 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
5690 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
5691 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
5692 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
5693 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
5694 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
5695 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
5696 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
5697 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
5698 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
5699 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
5700 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
5701 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
5702 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
5703 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
5704 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
5705 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
5706 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
5707 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
5708 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
5709 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
5710 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
5711 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
5712 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
5713 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
5714 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
5715 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
5716 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
5717 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
5718 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
5719 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
5720 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
5721 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
5722 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
5723 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
5724 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
5725 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
5726 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
5727 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
5728 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
5729 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
5730 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
5731 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
5732 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
5733 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
5734 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
5735 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
5736 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
5737 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
5738 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
5739 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
5740 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
5741 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
5742 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
5743 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
5744 Require >= 2.
5745 (FLT_ROUNDS): Expect as macro, not constant.
5746 (FLT_MANT_DIG): Use macro-int-constant.
5747 (DBL_MANT_DIG): Likewise.
5748 (LDBL_MANT_DIG): Likewise.
5749 (FLT_DIG): Likewise.
5750 (DBL_DIG): Likewise.
5751 (LDBL_DIG): Likewise.
5752 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
5753 (DBL_MIN_EXP): Likewise.
5754 (LDBL_MIN_EXP): Likewise.
5755 (FLT_MAX_EXP): Use macro-int-constant.
5756 (DBL_MAX_EXP): Likewise.
5757 (LDBL_MAX_EXP): Likewise.
5758 (FLT_MAX_10_EXP): Likewise.
5759 (DBL_MAX_10_EXP): Likewise.
5760 (LDBL_MAX_10_EXP): Likewise.
5761 (FLT_MAX): Use macro-constant.
5762 (DBL_MAX): Likewise.
5763 (LDBL_MAX): Likewise.
5764 (FLT_EPSILON): Use macro-constant. Give upper bound.
5765 (DBL_EPSILON): Likewise.
5766 (LDBL_EPSILON): Likewise.
5767 (FLT_MIN): Likewise.
5768 (DBL_MIN): Likewise.
5769 (LDBL_MIN): Likewise.
5770 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
5771 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
5772 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
5773 [ISO11] (FLT_HAS_SUBNORM): Likewise.
5774 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
5775 [ISO11] (DBL_DECIMAL_DIG): Likewise.
5776 [ISO11] (FLT_DECIMAL_DIG): Likewise.
5777 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
5778 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
5779 [ISO11] (FLT_TRUE_MIN): Likewise.
5780 [ISO11] (LDBL_TRUE_MIN): Likewise.
5781 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5782 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
5783 (SCHAR_MIN): Use macro-int-constant. Specify type.
5784 (SCHAR_MAX): Likewise.
5785 (UCHAR_MAX): Likewise.
5786 (CHAR_MIN): Likewise.
5787 (CHAR_MAX): Likewise.
5788 (MB_LEN_MAX): Use macro-int-constant.
5789 (SHRT_MIN): Use macro-int-constant. Specify type.
5790 (SHRT_MAX): Likewise.
5791 (USHRT_MAX): Likewise.
5792 (INT_MAX): Likewise.
5793 (INT_MIN): Use macro-int-constant. Specify type. Make upper
5794 bound negative.
5795 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
5796 bound with "U".
5797 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5798 bound with "L".
5799 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
5800 bound negative. Suffix upper bound with "L".
5801 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5802 bound with "UL".
5803 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
5804 Specify type.
5805 [C99-based standards] (LLONG_MAX): Likewise.
5806 [C99-based standards] (ULLONG_MAX): Likewise.
5807 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
5808 == 0.
5809 [ISO11] (max_align_t): Require type.
5810 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5811
c9140a62
JM
5812 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
5813 from $CFLAGS, without defining away __attribute__ calls.
5814 (checknamespace): Use $CFLAGS_namespace.
5815
9af0bf29
JM
5816 * conform/conformtest.pl (@keywords): Only include C99 keywords
5817 for standards based on C99 or C11.
5818
343222a2
JM
5819 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
5820 Disable tests.
5821 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
5822 UNIX98]: Likewise.
5823
661f8cf0
JM
5824 * conform/conformtest.pl: Handle "macro-int-constant" and test for
5825 usability of symbols in #if.
5826
ee74b9cb
JM
5827 * conform/conformtest.pl: If macro or constant types start
5828 "promoted:", expect the symbol to be of the following type
5829 promoted by the integer promotions.
62fde54f 5830
aafc49b3
JM
5831 * conform/conformtest.pl: Parse all "constant" and "macro" lines
5832 in one place. Also handle "macro-constant".
5833
fefdf574
JM
5834 * conform/conformtest.pl: Only accept expected macro values with
5835 "==". Parse all "macro" lines in one place.
5836 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
5837
f2d922fe
JM
5838 * conform/conformtest.pl: Handle braced types on "constant" lines
5839 instead of handling "typed-constant".
5840 * conform/data/signal.h-data: Use "constant" instead of
5841 "typed-constant".
5842
d22956c9
JM
5843 * conform/conformtest.pl: Handle "optional-" at start of lines in
5844 one place rather than duplicating several cases. Handle each
5845 format of "macro" line with initial "optional-".
5846
028e2e38
JM
5847 * conform/conformtest.pl: Only accept expected constant or
5848 optional-constant values with "==". Parse all "constant" lines in
5849 one place. Parse all "optional-constant" lines in one place.
5850 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
5851 * conform/data/fmtmsg.h-data: Likewise.
5852 * conform/data/netinet/in.h-data: Likewise.
5853 * conform/data/tar.h-data: Likewise.
5854 * conform/data/limits.h-data: Use "==" form on "constant" and
5855 "optional-constant" lines.
5856
1b8f2850
JM
5857 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
5858 Use -std=c99 for XOPEN2K.
5859 (@knownproblems): Remove.
5860 (newtoken): Don't check %isknown.
5861
a05a144b
JM
5862 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
5863 Do not expect macro.
5864 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
5865 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
5866 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
5867 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
5868 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
5869 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
5870 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
5871 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
5872 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
5873 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
5874 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
5875 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
5876 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
5877 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
5878 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
5879 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
5880 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
5881 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
5882 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
5883 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
5884 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
5885 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
5886 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
5887 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
5888 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
5889 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
5890 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
5891 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
5892 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
5893 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
5894 [XPG3] (acosh): Likewise.
5895 [XPG3] (asinh): Likewise.
5896 [XPG3] (atanh): Likewise.
5897 [XPG3] (cbrt): Likewise.
5898 [XPG3] (expm1): Likewise.
5899 [XPG3] (ilogb): Likewise.
5900 [XPG3] (log1p): Likewise.
5901 [XPG3] (logb): Likewise.
5902 [XPG3] (nextafter): Likewise.
5903 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
5904 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
5905 [XPG3] (remainder): Likewise.
5906 [XPG3] (rint): Likewise.
5907 [XPG3 || XPG4 || UNIX98] (round): Likewise.
5908 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
5909 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
5910 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
5911 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
5912 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
5913 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
5914 [UNIX98 || XOPEN2K] (scalb): Expect.
5915 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
5916 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
5917 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
5918 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
5919 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
5920 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
5921 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
5922 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
5923 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
5924 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
5925 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
5926 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
5927 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
5928 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
5929 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
5930 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
5931 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
5932 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
5933 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
5934 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
5935 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
5936 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
5937 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
5938 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
5939 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
5940 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
5941 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
5942 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
5943 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
5944 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
5945 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
5946 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
5947 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
5948 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
5949 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
5950 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
5951 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
5952 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
5953 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
5954 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
5955 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
5956 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
5957 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
5958 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
5959 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
5960 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
5961 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
5962 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
5963 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
5964 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
5965 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
5966 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
5967 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
5968 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
5969 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
5970 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
5971 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
5972 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
5973 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
5974 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
5975 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
5976 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
5977 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
5978 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
5979 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
5980 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
5981 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
5982 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
5983 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
5984 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
5985 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
5986 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
5987 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
5988 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
5989 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
5990 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
5991 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
5992 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
5993 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
5994 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
5995 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
5996 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
5997 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
5998 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
5999 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
6000 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
6001 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
6002 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
6003 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
6004 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
6005 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
6006 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
6007 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
6008 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
6009 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
6010 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
6011 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
6012 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
6013 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
6014 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
6015 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
6016 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
6017 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
6018 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
6019 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
6020 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
6021 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
6022 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
6023 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
6024 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
6025 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
6026 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
6027 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
6028 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
6029 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
6030 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
6031 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
6032 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
6033 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
6034 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
6035 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
6036 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
6037 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
6038 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
6039 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
6040 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
6041 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
6042 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
6043 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
6044 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
6045 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
6046 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
6047 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
6048 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
6049 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
6050 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
6051 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
6052
73c5ebe3
JM
6053 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
6054 _XOPEN_SOURCE_EXTENDED for XPG4.
6055
39c33b6c
JM
6056 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
6057
62fde54f
JM
6058 * Makeconfig (localtime): Remove variable.
6059 (inst_localtime-file): Likewise.
6060
0741d64c
AS
60612012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6062
6063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6064 Update.
6065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6066 Update.
6067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6068 Update.
6069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6070 Update.
6071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6072 Update.
6073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
6074 Update.
6075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6076 Update.
6077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
6078 Update.
6079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6080 Update.
6081
7cb029ee
JM
60822012-05-01 Joseph Myers <joseph@codesourcery.com>
6083
6084 [BZ #2550]
6085 [BZ #2570]
6086 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6087 comparisons to determine direction to adjust input.
6088 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6089 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
6090 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6091 Likewise.
6092 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6093 Likewise.
6094 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6095 Likewise.
6096 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6097 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6098 Likewise.
6099 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6100 Likewise.
6101 * math/libm-test.inc (nexttoward_test): Add more tests.
6102
412bd966
AS
61032012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6104
6105 [BZ #14040]
6106 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
6107 in version GLIBC_2.1, not GLIBC_2.0.
6108 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
6109 Likewise.
6110
9568c0c2
JM
61112012-04-30 Joseph Myers <joseph@codesourcery.com>
6112
adfbc8ac
JM
6113 [BZ #13942]
6114 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
6115 (1 - x) * (1 + x).
6116 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6117 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
6118 * math/libm-test.inc (acos_test): Add more tests.
6119 (asin_test): Likewise.
6120 * sysdeps/i386/fpu/libm-test-ulps: Update.
6121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6122
5ba3cc69
JM
6123 [BZ #14034]
6124 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
6125 of square root.
6126 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
6127 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6128 * math/libm-test.inc (acos_test_tonearest): New function.
6129 (acos_test_towardzero): Likewise.
6130 (acos_test_downward): Likewise.
6131 (acos_test_upward): Likewise.
6132 (asin_test_tonearest): Likewise.
6133 (asin_test_towardzero): Likewise.
6134 (asin_test_downward): Likewise.
6135 (asin_test_upward): Likewise.
6136 (main): Call the new functions.
6137 * sysdeps/i386/fpu/libm-test-ulps: Update.
6138 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6139
9568c0c2
JM
6140 [BZ #13884]
6141 [BZ #13924]
6142 * math/e_exp10.c: Include <float.h>.
6143 (__ieee754_exp10): Handle underflow here rather than multiplying
6144 large negative argument by M_LN10.
6145 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
6146 of __ieee754_expf.
6147 * math/e_exp10l.c: Include <float.h>.
6148 (__ieee754_exp10l): Handle underflow here rather than multiplying
6149 large negative argument by M_LN10l.
6150 * math/libm-test.inc (exp10_test): Add another test. Do not allow
6151 spurious overflow exception on underflow.
6152
5ac3ea17
MP
61532012-04-29 Marek Polacek <polacek@redhat.com>
6154
6155 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
6156 (__fortify_function): New macro.
6157 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
6158 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
6159 __extern_always_inline.
6160 * libio/bits/stdio2.h: Likewise.
6161 * libio/bits/stdio.h: Likewise.
6162 * string/string.h: Likewise.
6163 * string/bits/string3.h: Likewise.
6164 * include/stdio.h: Likewise.
6165 * stdlib/bits/stdlib.h: Likewise.
6166 * stdlib/stdlib.h: Likewise.
6167 * rt/bits/mqueue2.h: Likewise.
6168 * rt/mqueue.h: Likewise.
6169 * posix/bits/unistd.h: Likewise.
6170 * posix/unistd.h: Likewise.
6171 * io/bits/poll2.h: Likewise.
6172 * io/bits/fcntl2.h: Likewise.
6173 * io/fcntl.h: Likewise.
6174 * io/sys/poll.h: Likewise.
6175 * misc/bits/syslog.h: Likewise.
6176 * misc/bits/syslog-ldbl.h: Likewise.
6177 * misc/sys/syslog.h: Likewise.
6178 * socket/bits/socket2.h: Likewise.
6179 * socket/sys/socket.h: Likewise.
6180 * debug/tst-chk1.c: Likewise.
6181 * wcsmbs/bits/wchar2.h: Likewise.
6182 * wcsmbs/bits/wchar-ldbl.h: Likewise.
6183 * wcsmbs/wchar.h: Likewise.
6184
ecf0ebfb
AJ
61852012-04-29 Andreas Jaeger <aj@suse.de>
6186
6187 * Makerules (tests): Remove enable-check-abi protection.
6188 (check-abi-warn): Remove.
6189 (check-abi-%): Remove check-abi-warn usage.
6190
6191 * configure.in: Remove check-abi configure option.
6192 * configure: Regenerated.
6193 * config.make.in (enable-check-abi): Remove.
6194
6d5c57fa
AS
61952012-04-28 Andreas Schwab <schwab@linux-m68k.org>
6196
24c5d07e 6197 [BZ #14033]
ded5180a
AS
6198 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
6199 double functions to double *_finite functions.
6200
7e0d315d
AS
6201 [BZ #13941]
6202 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
6203 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
6204 LDBL_MIN_EXP.
6205 * stdio-common/Makefile (tests): Add tst-sprintf3.
6206 * stdio-common/tst-sprintf3.c: New file.
6207
6d5c57fa
AS
6208 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
6209 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
6210
0749ff8b
JM
62112012-04-28 Joseph Myers <joseph@codesourcery.com>
6212
6213 * conform/conformtest.pl: Remove duplicate typed-constant
6214 handling.
6215
8dbd5d7b
DM
62162012-04-28 David S. Miller <davem@davemloft.net>
6217
6218 * Makerules (%.abilist): Add vpath on sysdep_dirs.
6219 (check-abi-%): Remove AWK script prerequisite and explicit
6220 abilist directory.
6221 (check-abi): Rewrite to just diff the symlist with the abilist.
6222 (config-tls, config-abi-config): Delete, no longer used.
6223 (update-abi-%): Remove AWK script and explicit abilist directory.
6224 (update-abi): Rewrite to simply compare and conditionally copy the
6225 symlist and the sysdep abilist file. Remove update-abi-config
6226 checks.
6227 * abilist/ld.abilist: Remove.
6228 * abilist/libBrokenLocale.abilist: Remove.
6229 * abilist/libanl.abilist: Remove.
6230 * abilist/libcrypt.abilist: Remove.
6231 * abilist/libdl.abilist: Remove.
6232 * abilist/librt.abilist: Remove.
6233 * abilist/libthread_db.abilist: Remove.
6234 * abilist/libutil.abilist: Remove.
6235 * scripts/extract-abilist.awk: Remove.
6236 * scripts/merge-abilist.awk: Remove.
6237 * sysdeps/generic/libcidn.abilist: New file.
6238 * sysdeps/generic/libnss_compat.abilist: New file.
6239 * sysdeps/generic/libnss_db.abilist: New file.
6240 * sysdeps/generic/libnss_dns.abilist: New file.
6241 * sysdeps/generic/libnss_files.abilist: New file.
6242 * sysdeps/generic/libnss_hesiod.abilist: New file.
6243 * sysdeps/generic/libnss_nis.abilist: New file.
6244 * sysdeps/generic/libnss_nisplus.abilist: New file.
6245 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
6246 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
6247 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
6248 file.
6249 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
6250 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
6251 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
6252 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
6253 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
6254 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
6255 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
6256 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
6257 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
6258 file.
6259 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
6260 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
6261 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6262 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6263 file.
6264 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6265 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6266 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6267 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6268 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6269 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6270 file.
6271 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6272 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6273 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6274 file.
6275 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6276 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6277 New file.
6278 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6279 New file.
6280 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6281 New file.
6282 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6283 New file.
6284 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6285 New file.
6286 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6287 New file.
6288 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6289 New file.
6290 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6291 New file.
6292 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6293 New file.
6294 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6295 New file.
6296 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6297 New file.
6298 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6299 New file.
6300 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6301 New file.
6302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6303 file.
6304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6305 New file.
6306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6307 New file.
6308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6309 file.
6310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6311 New file.
6312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6313 New file.
6314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6315 file.
6316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6317 New file.
6318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6319 New file.
6320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6321 New file.
6322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6323 New file.
6324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6325 New file.
6326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6327 New file.
6328 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6330 file.
6331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6332 New file.
6333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6334 file.
6335 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6336 file.
6337 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6338 file.
6339 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6340 file.
6341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6342 file.
6343 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6344 New file.
6345 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6346 file.
6347 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6348 file.
6349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6350 New file.
6351 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6352 file.
6353 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6354 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
6355 file.
6356 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6357 New file.
6358 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
6359 file.
6360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
6361 file.
6362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
6363 file.
6364 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
6365 file.
6366 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
6367 file.
6368 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6369 New file.
6370 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
6371 file.
6372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
6373 file.
6374 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6375 New file.
6376 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
6377 file.
6378 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6379 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
6380 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
6381 file.
6382 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
6383 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
6384 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
6385 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
6386 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
6387 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
6388 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
6389 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
6390 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
6391 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
6392 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
6393 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
6394 file.
6395 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6396 New file.
6397 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
6398 file.
6399 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
6400 file.
6401 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
6402 file.
6403 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
6404 file.
6405 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
6406 file.
6407 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6408 New file.
6409 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6410 New file.
6411 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
6412 file.
6413 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6414 New file.
6415 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
6416 file.
6417 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
6418 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
6419 file.
6420 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6421 New file.
6422 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
6423 file.
6424 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
6425 file.
6426 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
6427 file.
6428 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
6429 file.
6430 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
6431 file.
6432 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6433 New file.
6434 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6435 New file.
6436 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
6437 file.
6438 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6439 New file.
6440 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
6441 file.
6442
41d73a1b
JM
64432012-04-28 Joseph Myers <joseph@codesourcery.com>
6444
6445 * conform/conformtest.pl: Fix typo in handling typed-constant from
6446 allow-header.
6447
28aeeda4
JM
64482012-04-27 Joseph Myers <joseph@codesourcery.com>
6449
adae8f5e
JM
6450 * README: Cut down references to pre-2.6 Linux kernels and
6451 Linuxthreads. Update lists of configurations in libc and ports
6452 and sort alphabetically. Say "or newer" with Linux kernel version
6453 requirements.
6454
28aeeda4
JM
6455 * config.h.in [IS_IN_build]: Allow compiling without optimization.
6456
a462cb63
RA
64572012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6458
6459 [BZ #887]
6460 * math/libm-test.inc (logb_test_downward): New test to expose
6461 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
6462 rounding mode.
6463
6ad3493e
JM
64642012-04-27 Joseph Myers <joseph@codesourcery.com>
6465
6466 [BZ #14027]
6467 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
6468 to be done.
6469 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
6470 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
6471
2ce4f015
JM
64722012-04-26 Joseph Myers <joseph@codesourcery.com>
6473
5aeb141a
JM
6474 * sysdeps/unix/i386/brk.S: Remove file.
6475 * sysdeps/unix/i386/dl-brk.S: Likewise.
6476 * sysdeps/unix/i386/pipe.S: Likewise.
6477 * sysdeps/unix/i386/sigreturn.S: Likewise.
6478 * sysdeps/unix/i386/syscall.S: Likewise.
6479 * sysdeps/unix/i386/vfork.S: Likewise.
6480 * sysdeps/unix/i386/wait.S: Likewise.
6481
7143acae
JM
6482 * sysdeps/unix/common/tcsendbrk.c: Move to ...
6483 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
6484
2ce4f015
JM
6485 * configure.in (arm*-none*): Do not allow without
6486 --enable-hacker-mode.
6487 (netbsd*): Remove case setting base_os.
6488 (386bsd*): Likewise.
6489 (freebsd*): Likewise.
6490 (bsdi*): Likewise.
6491 (osf*): Likewise.
6492 (sunos*): Likewise.
6493 (ultrix*): Likewise.
6494 (newsos*): Likewise.
6495 (dynix*): Likewise.
6496 (*bsd*): Likewise.
6497 (sysv*): Likewise.
6498 (isc*): Likewise.
6499 (esix*): Likewise.
6500 (sco*): Likewise.
6501 (minix*): Likewise.
6502 (irix4*): Likewise.
6503 (irix6*): Likewise.
6504 (solaris[2-9]*): Likewise.
6505 (none): Likewise.
6506 * configure: Regenerated.
6507
0ac229c8
AZ
65082012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6509
6510 [BZ #11521]
6511 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
6512 overflow or cancellation in calculating denominator.
6513 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
6514 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
6515 down expression to avoid unexpected rounding in newer GCCs.
6516 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
6517
33f244f4
DM
65182012-04-26 David S. Miller <davem@davemloft.net>
6519
6520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
6521 long-double compat symbols.
6522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
6526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6527 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
6528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
6529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
6530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
6531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
6533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
6534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6535
cfa1f3e8
DM
65362012-04-25 David S. Miller <davem@davemloft.net>
6537
6538 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
6539 HWCAP_* values only after the memory barriers have been defined.
6540 (atomic_full_barrier): Define.
6541 (atomic_read_barrier): Define.
6542 (atomic_write_barrier): Define.
6543
6e236b92
SP
65442012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6545
6546 * shlib-versions: Add libgcc_s version information.
6547 * sysdeps/generic/libgcc_s.h: Remove.
6548 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
6549 libgcc_s.h.
6550 * sysdeps/gnu/unwind-resume.c: Likewise.
6551 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
6552
aab39a09
DM
65532012-04-25 David S. Miller <davem@davemloft.net>
6554
6555 * sysdeps/unix/sparc/brk.S: Delete.
6556 * sysdeps/unix/sparc/dl-brk.S: Delete.
6557 * sysdeps/unix/sparc/pipe.S: Delete.
6558 * sysdeps/unix/sparc/sysdep.S: Delete.
6559 * sysdeps/unix/sparc/sysdep.h: Delete.
6560 * sysdeps/unix/sparc/vfork.S: Delete.
6561 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
6562 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
6563 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
6564 ret_ERRVAL, r0, r1, MOVE): Define.
6565 (JUMPTARGET): Remove.
6566 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
6567 sysdeps/unix/sparc/sysdep.h
6568 (ENTRY, END): Remove.
6569 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6570
a3cc4f48
JM
65712012-04-25 Joseph Myers <joseph@codesourcery.com>
6572
2ed8cda2
JM
6573 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
6574 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
6575 -DIS_IN_build.
6576
35d76d59
JM
6577 * timezone/README: Update upstream location and email address for
6578 tzcode and tzdata.
6579 * timezone/zdump.c: Update from tzcode 2012b.
6580 * timezone/zic.c: Likewise.
6581
a3cc4f48
JM
6582 * configure.in (libc_cv_as_needed): Remove test.
6583 * configure: Regenerated.
6584 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
6585 conditional definition.
6586 [$(have-as-needed) != yes] (no-as-needed): Likewise.
6587 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
6588 * config.make.in (have-as-needed): Remove variable.
6589
ceab42c3
SP
65902012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6591 Paul Pluzhnikov <ppluzhnikov@google.com>
6592
6593 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
6594 strings correctly.
6595
3ce2865f
CLT
65962012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
6597
6598 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
6599 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
6600 * sysdeps/sh/strlen.S: Likewise.
6601
f37e0d68
JM
66022012-04-24 Joseph Myers <joseph@codesourcery.com>
6603
ae186e9a
JM
6604 * sysdeps/unix/fork.S: Remove file.
6605 * sysdeps/unix/i386/fork.S: Likewise.
6606 * sysdeps/unix/sparc/fork.S: Likewise.
6607
b96914af
JM
6608 * sysdeps/unix/system.c: Remove file.
6609 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
6610
f37e0d68
JM
6611 * sysdeps/unix/getegid.S: Remove file.
6612 * sysdeps/unix/geteuid.S: Likewise.
6613
87ef29ca
RM
66142012-04-24 Roland McGrath <roland@hack.frob.com>
6615
83bcd236
RM
6616 * scripts/check-localplt.awk: New file.
6617 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
6618 of diff.
6619 * scripts/data/localplt-generic.data: Add a comment.
6620
87ef29ca
RM
6621 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
6622 NODE when __dir_mkfile failed.
6623 * sysdeps/mach/hurd/symlinkat.c: Likewise.
6624 Reported by Ludovic Courtès <ludo@gnu.org>.
6625
e5a6e567
AJ
66262012-04-24 Andreas Jaeger <aj@suse.de>
6627
6628 * Makerules (common-clean): Also remove gen-as-const-headers
6629 files.
6630
c1820385
JM
66312012-04-24 Joseph Myers <joseph@codesourcery.com>
6632
6633 * Makerules (native-compile): Do not change working directory for
6634 build. Use $(OUTPUT_OPTION) in command.
6635 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
6636
94e02fc4
AZ
66372012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6638
6639 [BZ #13886]
6640 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
6641 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
6642 * math/libm-test.inc (floor_test): Add more tests.
6643 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
6644
3a533ca3
JM
66452012-04-24 Joseph Myers <joseph@codesourcery.com>
6646
940ab4b3
JM
6647 * sysdeps/unix/getdents.c: Remove file.
6648 * sysdeps/unix/sysv/getdents.c: Likewise.
6649 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
6650
90e037bd
JM
6651 * sysdeps/unix/syscalls.list (madvise): Add syscall from
6652 sysdeps/unix/mman/syscalls.list.
6653 (mmap): Likewise.
6654 (mprotect): Likewise.
6655 (msync): Likewise.
6656 (munmap): Likewise.
6657 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
6658 * sysdeps/unix/mman/syscalls.list: Remove.
6659 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
6660
3a533ca3
JM
6661 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
6662 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
6663 * configure: Regenerated.
6664 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
6665 $(libgcc_s_suffix).
6666 * config.make.in (libgcc_s_suffix): Remove variable.
6667
1ad743de
JM
66682012-04-23 Joseph Myers <joseph@codesourcery.com>
6669
4ad451e2
JM
6670 * sysdeps/unix/sysv/gethostname.c: Move to ...
6671 * sysdeps/posix/gethostname.c: ... here.
6672
5e37ce39
JM
6673 * sysdeps/unix/execve.S: Remove file.
6674
1ad743de
JM
6675 * sysdeps/unix/_exit.S: Remove file.
6676
4e681b5b
AJ
66772012-04-23 Andreas Jaeger <aj@suse.de>
6678
6679 [BZ #13739]
6680 * manual/Makefile: Remove make dist support, there's no
6681 need for a stand-alone documentation tar ball.
6682 (TEXI2DVI): Define always, it's not in Makeconfig.
6683 (dist): Removed.
6684 (tar-it): Removed.
6685 (edition): Removed.
6686 (glibc-doc-$(edition).tar): Removed
6687 (%.Z): Removed.
6688 (%.gz): Removed.
6689 (%.uu): Removed.
6690 (ETAGS): Remove, it's in Makeconfig.
6691 (move-if-change): Remove, it's in Makeconfig.
6692
c0baea34
PE
66932013-04-23 Paul Eggert <eggert@cs.ucla.edu>
6694
6695 [BZ #13970]
6696 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
6697 (strtod, strtof, strtold, strtol, strtoul, strtoq)
6698 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
6699 (strtod_l, strtof_l, strtold_l): Remove __wur.
6700 It is not necessarily an error to ignore strtol's return value.
6701 One can reliably look at the stored endptr to decide whether
6702 the number had valid syntax.
6703
7c0616fa
AJ
67042012-04-21 Andreas Jaeger <aj@suse.de>
6705
803cb6b7 6706 [BZ #13739]
7c0616fa
AJ
6707 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
6708
b0fe253f
JM
67092012-04-21 Joseph Myers <joseph@codesourcery.com>
6710
6711 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
6712 * sysdeps/unix/sysv/Versions: Remove file.
6713
8280f22d
MT
67142012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
6715
6716 [BZ #13927]
6717 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6718
75ce411f 67192012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
6720
6721 [BZ #7064]
6722 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
6723 version from __vm86.
6724
097d59fa
JM
67252012-04-20 Joseph Myers <joseph@codesourcery.com>
6726
a90f3bcb
JM
6727 * sysdeps/unix/common/lxstat.c: Remove file.
6728 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
6729
edc7ea78
JM
6730 * sysdeps/unix/sysv/Makefile: Remove file.
6731
cb78c221
JM
6732 * sysdeps/unix/sysv/direct.h: Remove file.
6733
efa6a45f
JM
6734 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
6735 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
6736 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
6737 * sysdeps/unix/sysv/bits/signum.h: Likewise.
6738 * sysdeps/unix/sysv/bits/stat.h: Likewise.
6739 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
6740 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
6741
9c9f2d0c
JM
6742 * sysdeps/unix/sysv/setrlimit.c: Remove file.
6743
4541c83b
JM
6744 * sysdeps/unix/xmknod.c: Remove file.
6745 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
6746
f5d153a0
JM
6747 * sysdeps/unix/sysv/settimeofday.c: Remove file.
6748
aa746595
JM
6749 * sysdeps/unix/sysv/i386/time.S: Remove file.
6750
cce5905e
JM
6751 * sysdeps/unix/fxstat.c: Remove file.
6752 * sysdeps/unix/xstat.c: Likewise.
6753 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
6754
37fa3841
JM
6755 * sysdeps/unix/sysv/sigaction.c: Remove file.
6756
ff1962a3
JM
6757 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
6758 (sysdep_headers): Remove variable.
6759 [termio.h not in sysdep_headers] (generated): Likewise.
6760 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
6761 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
6762 * sysdeps/unix/sysv/tcdrain.c: Likewise.
6763 * sysdeps/unix/sysv/tcflow.c: Likewise.
6764 * sysdeps/unix/sysv/tcflush.c: Likewise.
6765 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
6766 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
6767 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6768 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6769 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
6770
e7740d31
JM
6771 * sysdeps/unix/siglist.c: Remove file.
6772
ee06f18b
JM
6773 * sysdeps/unix/getppid.S: Remove file.
6774
097d59fa
JM
6775 * sysdeps/unix/mkdir.c: Remove file.
6776 * sysdeps/unix/rmdir.c: Likewise.
6777
ff3d51ec
AS
67782012-04-19 Andreas Schwab <schwab@linux-m68k.org>
6779
6780 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
6781 ERR_MAX value.
6782 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
6783 errlist-compat value.
6784
50f81fd7
DM
67852012-04-18 David S. Miller <davem@davemloft.net>
6786
6787 * sysdeps/generic/memcopy.h (reg_char): Delete.
6788 * debug/strcat_chk.c: Use char, not reg_char.
6789 * debug/strcpy_chk.c: Likewise.
6790 * debug/strncat_chk.c: Likewise.
6791 * debug/strncpy_chk.c: Likewise.
6792 * string/memchr.c: Likewise.
6793 * string/memrchr.c: Likewise.
6794 * string/rawmemchr.c: Likewise.
6795 * string/strcat.c: Likewise.
6796 * string/strchr.c: Likewise.
6797 * string/strchrnul.c: Likewise.
6798 * string/strcmp.c: Likewise.
6799 * string/strcpy.c: Likewise.
6800 * string/strncat.c: Likewise.
6801 * string/strncmp.c: Likewise.
6802 * string/strncpy.c: Likewise.
6803
8ff41c46
WS
68042012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6805
6806 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
6807 __builtin_memcopy is called when src and dest ranges are known to not
6808 overlap.
6809
6b652f46
WS
68102012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6811
6812 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
6813 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
6814 fwd_align_merge macro call.
6815 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
6816 bwd_align_merge macro call.
6817 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6818
b282631e
WS
68192012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6820
6821 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
6822 bwd_align_merge macros.
6823 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
6824 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
6825 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6826
95aa737c
DM
68272012-04-18 David S. Miller <davem@davemloft.net>
6828
6829 * sysdeps/sparc/sparc64/memcopy.h: Delete.
6830
7a99a614
AJ
68312012-04-18 Andreas Jaeger <aj@suse.de>
6832
6833 [BZ# 6794]
6834 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
6835 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
6836 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6837
6838 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
6839 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
6840 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6841
6842 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
6843 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
6844 Adjust for changed ldbl-128 files.
6845
6846 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
6847 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
6848 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6849
e5270c23
DM
68502012-04-17 David S. Miller <davem@davemloft.net>
6851
6852 * sysdeps/sparc/sparc32/memcopy.h: Delete.
6853
fb5e92c9
AS
68542012-04-17 Andreas Schwab <schwab@linux-m68k.org>
6855
6856 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
6857 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
6858 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
6859 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
6860 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6861 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
6862
76da7265
AZ
68632012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6864
6865 [BZ #6794]
6866 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
6867 * math/libm-test.inc: Add ilogb errno and exception tests.
6868 * math/w_ilogb.c: New file: ilogb wrapper.
6869 * math/w_ilogbf.c: New file: ilogbf wrapper.
6870 * math/w_ilogbl.c: New file: ilogbl wrapper.
6871 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
6872 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
6873 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
6874 exception being thrown with 0.0 as argument.
6875 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
6876 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
6877 exception being thrown with 0.0 as argument.
6878 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
6879 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6880 exception being thrown with 0.0 as argument.
6881 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
6882 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6883 exception being thrown with 0.0 as argument.
6884 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
6885 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 6886 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
6887 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
6888 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
6889 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
6890 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
6891 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
6892 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
6893
0396e69d
PB
68942012-04-17 Petr Baudis <pasky@ucw.cz>
6895
6896 * include/sys/uio.h: Change __vector to __iovec to avoid clash
6897 with altivec.
6898
750b5926
MP
68992012-04-16 Marek Polacek <polacek@redhat.com>
6900
6901 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
6902
751728a1
MP
69032012-04-16 Marek Polacek <polacek@redhat.com>
6904
6905 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
6906 operands of fdivp instruction.
6907
34a27407
L
69082012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6909
6910 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
6911 * elf/tst-auditmod3b.c: Likewise.
6912 * elf/tst-auditmod4b.c: Likewise.
6913 * elf/tst-auditmod5b.c: Likewise.
6914 * elf/tst-auditmod6b.c: Likewise.
6915 * elf/tst-auditmod6c.c: Likewise.
6916 * elf/tst-auditmod7b.c: Likewise.
6917 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
6918 * sysdeps/x86_64/preconfigure.in: Likewise.
6919 * sysdeps/x86_64/preconfigure: Regenerated.
6920
7e73e17d
L
69212012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6922
6923 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
6924 __ILP32__.
6925
c7a6ab72
AB
69262012-04-13 Antoine Balestrat <merkil33@gmail.com>
6927
6928 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6929 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
6930
a9e8e0e0
CL
69312012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
6932
6933 [BZ #13973]
6934 * locale/iso-639.def: Fix gl language name. Spotted by
6935 Yaron Shahrabani.
6936
ec98af7d
RM
69372012-04-12 Roland McGrath <roland@hack.frob.com>
6938
6939 [BZ #2074]
6940 * libio/libio.h (__io_write_fn): Update comment.
6941
247c3ede
PB
69422012-04-12 Petr Baudis <pasky@ucw.cz>
6943
6944 [BZ #2074]
6945 * stdio.texi (Hook Functions): The user provided writer function
6946 is not allowed to return -1.
6947
55939d6d
DM
69482012-04-11 David S. Miller <davem@davemloft.net>
6949
6950 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6951
90020f5a
MF
69522012-04-11 Mike Frysinger <vapier@gentoo.org>
6953
6954 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
6955 Add a leading slash to rtkaio.
6956
288f9098
JM
69572012-04-11 Jim Meyering <meyering@redhat.com>
6958
90020f5a
MF
6959 [BZ #11959]
6960 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
6961 It is not necessarily an error to ignore fwrite's return
6962 value. One can reliably use ferror to test for errors after
6963 the fact.
288f9098 6964
4be2b570
L
69652012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6966
6967 * bits/types.h (__snseconds_t): New type.
6968 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
6969
6970 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
6971 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6972 (__SNSECONDS_T_TYPE): Likewise.
6973 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6974 (__SNSECONDS_T_TYPE): Likewise.
6975 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6976 (__SNSECONDS_T_TYPE): Likewise.
6977
288f9098 69782012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
6979
6980 [BZ #2636]
6981 * manual/time.texi (Processor Time): Return type of times is
6982 elapsed real time since an arbitrary point in the past.
6983 (CPU Time): Move CLK_TCK from here...
6984 (Processor Time): ...to here. Correct description.
6985 * manual/conf.texi (Constants for Sysconf): Correct description of
6986 _SC_CLK_TCK.
6987
d7dd4413
DM
69882012-04-10 David S. Miller <davem@davemloft.net>
6989
6990 [BZ #13967]
6991 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
6992 where the is a gap between DT_REL(A) and DT_JMPREL.
6993
b46068fc
L
69942012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6995
6996 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
6997 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6998 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6999
73d65cc3
SP
70002012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7001
7002 * elf/dl-support.c (_dl_inhibit_cache): New variable.
7003 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
7004 (dl_main): Handle --inhibit-cache.
7005 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
7006 _dl_inhibit_cache.
7007 * elf/dl-load.c (_dl_map_object): Use it.
7008 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
7009
bcc8d661
JM
70102012-04-09 Joseph Myers <joseph@codesourcery.com>
7011
8f9a2fae
JM
7012 [BZ #13872]
7013 * sysdeps/i386/fpu/e_powl.S (p78): New object.
7014 (__ieee754_powl): Saturate large exponents rather than testing for
7015 overflow of y*log2(x).
7016 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7017 * math/libm-test.inc (pow_test): Do not permit spurious overflow
7018 exceptions.
7019
bcc8d661
JM
7020 [BZ #11521]
7021 * math/s_ctan.c: Include <float.h>.
7022 (__ctan): Avoid internal overflow or cancellation in calculating
7023 denominator.
7024 * math/s_ctanf.c: Likewise.
7025 * math/s_ctanl.c: Likewise.
7026 * math/s_ctanh.c: Likewise.
7027 * math/s_ctanhf.c: Likewise.
7028 * math/s_ctanhl.c: Likewise.
7029 * math/libm-test.inc (ctan_test): Add more tests.
7030 (ctanh_test): Likewise.
7031 * sysdeps/i386/fpu/libm-test-ulps: Update.
7032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7033
823fbbb4
AJ
70342012-04-09 Andreas Jaeger <aj@suse.de>
7035
03879793
AJ
7036 [BZ #6894]
7037 * manual/filesys.texi (Directory Entries): Mention that d_namlen
7038 is an optional BSD extension.
7039
823fbbb4
AJ
7040 [BZ #10254]
7041 * manual/stdio.texi (Opening Streams): Document additional fopen
7042 parameters.
7043
8de131cb
RM
70442012-04-09 Roland McGrath <roland@hack.frob.com>
7045
7046 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
7047 %eax without telling the compiler.
7048
c0ed9d7d
CD
70492012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
7050
7051 [BZ # 13963]
7052 * manual/install.texi: Use sourceware.org.
7053
c483f6b4
JM
70542012-04-09 Joseph Myers <joseph@codesourcery.com>
7055
d7dd9453
JM
7056 [BZ #13873]
7057 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
7058 (__ieee754_pow): Generate overflow and underflow using huge*huge
7059 and tiny*tiny rather than just returning constant infinity or zero
7060 for large exponents.
7061 * math/libm-test.inc (pow_test): Require overflow exceptions for
7062 applicable cases of large exponents.
7063
c483f6b4
JM
7064 [BZ #706]
7065 * sysdeps/i386/fpu/e_pow.S (p10): New object.
7066 (__ieee754_pow): Use iterative multiplication algorithm only for
7067 integer exponents with absolute value below 1024. Check for odd
7068 integer exponents when using algorithm for real exponents.
7069 * math/libm-test.inc (pow_test): Add more tests.
7070 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7071
d2de7579
JM
70722012-04-08 Joseph Myers <joseph@codesourcery.com>
7073
7074 [BZ #13705]
7075 * math/libm-test.inc (exp_test): Do not allow overflow exception
7076 on underflow test.
7077
f77f1232
AJ
70782012-04-08 Aurelien Jarno <aurelien@aurel32.net>
7079
7080 [BZ #13705]
7081 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
7082 instead of __kernel_standard_f.
7083
3884932b
MF
70842012-04-08 Mike Frysinger <vapier@gentoo.org>
7085
7086 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
7087 * sysdeps/x86_64/memset_chk.S: Likewise.
7088
54472e9c
AJ
70892012-04-08 Andreas Jaeger <aj@suse.de>
7090
6ab0fbfc
AJ
7091 [BZ #10153]
7092 * manual/startup.texi (Environment Access): Describe return value
7093 for putenv and setenv.
7094
61efba8c
AJ
7095 [BZ #6895]
7096 * manual/filesys.texi (Directory Entries): Add description for
7097 DT_LNK.
7098
95c3f29a
AJ
7099 [BZ #6890]
7100 * manual/filesys.texi (Directory Entries): Clarify that it's file
7101 system not operating system in the description of DT_UNKNOWN.
7102
54472e9c
AJ
7103 [BZ #6578]
7104 * manual/syslog.texi (closelog): Fix reference, it's openlog.
7105
624254b1
SC
71062012-04-08 Stephen Compall <s11@member.fsf.org>
7107
7108 [BZ #6649]
7109 * manual/llio.texi (Opening and Closing Files): Add cross
7110 reference to explain mode argument.
7111
1e4920e0
MF
71122012-04-07 Mike Frysinger <vapier@gentoo.org>
7113
7114 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
7115 * sysdeps/x86_64/memset_chk.S: Likewise.
7116
5ed848f3
DM
71172012-04-07 David S. Miller <davem@davemloft.net>
7118
7119 * elf/elf.h (R_SPARC_WDISP10): Define.
7120 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
7121 R_SPARC_SIZE32.
7122 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7123 R_SPARC_SIZE64 and R_SPARC_H34.
7124
96154cd8
CD
71252012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
7126
7127 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
7128 conditions and remove no longer applicable assertion.
7129
9904dc47
L
71302012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7131
7132 * bits/byteswap.h: Include <features.h>.
7133 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7134 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7135
f8887d0a
L
71362012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7137
7138 * bits/byteswap.h (__bswap_16): Removed.
7139 Include <bits/byteswap-16.h> to get __bswap_16.
7140 * sysdeps/i386/bits/byteswap.h: Likewise.
7141 * sysdeps/s390/bits/byteswap.h: Likewise.
7142 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7143 * bits/byteswap-16.h: New file.
7144 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7145 * sysdeps/s390/bits/byteswap-16.h: Likewise.
7146 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
7147 * string/Makefile (headers): Add bits/byteswap-16.h.
7148
62470f60
PP
71492012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7150
7151 [BZ #13895]
7152 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
7153 extra indirection.
7154 * nss/Makefile (tests-static, tests): Add tst-nss-static.
7155 * nss/tst-nss-static.c: New.
7156
4dad7bab
RM
71572012-04-06 Robert Millan <rmh@gnu.org>
7158
7159 [BZ #6486]
7160 * manual/llio.texi (File Position Primitive): lseek
7161 refers to WHENCE when it really means OFFSET.
7162
e9142a17
AJ
71632012-04-06 Andreas Jaeger <aj@suse.de>
7164
2c040eff
AJ
7165 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
7166 strncmp declarations.
7167
e9142a17
AJ
7168 * abilist/libc.abilist: Add __poll and __ppoll.
7169
ff9f1c5f
DM
71702012-04-05 David S. Miller <davem@davemloft.net>
7171
dcd2ae90
DM
7172 * scripts/check-local-headers.sh: Accept a host triplet in the
7173 path matched by the exclude regexp.
7174
993eb054
DM
7175 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
7176 definition.
7177 * sysdeps/powerpc/powerpc32/dl-machine.h
7178 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
7179 * sysdeps/s390/s390-32/dl-machine.h
7180 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7181 * sysdeps/sparc/sparc32/dl-machine.h
7182 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7183 * sysdeps/sparc/sparc64/dl-machine.h
7184 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7185
ff9f1c5f
DM
7186 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
7187 lazy binding.
48e2e132 7188 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
7189 undefined symbol errors.
7190
48e2e132 7191 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
7192 DT_NEEDED entries.
7193
e80d6f94
MM
71942012-04-05 Michael Matz <matz@suse.de>
7195
7196 [BZ #13592]
7197 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
7198
349fa79f
AJ
71992012-04-05 Andreas Jaeger <aj@suse.de>
7200
7201 [BZ #13908]
7202 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
7203 comment.
7204
f402708f
KK
72052012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7206
7207 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
7208 which ROUND is no valid rounding mode.
7209
2ecccfc9
KK
72102012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7211
7212 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
7213 read again.
7214 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
7215
8a53f50f
KK
72162012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7217
7218 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
7219 an exception using FPU order intentionally.
7220
72212012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7222
7223 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
7224 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
7225 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
7226 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
7227
d653abb7
SJ
72282012-04-05 Simon Josefsson <simon@josefsson.org>
7229
7230 [BZ #12340]
7231 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
7232 EINVAL when BUFLEN is too smal.
7233
c3b1bf7d
TS
72342012-04-05 Thomas Schwinge <thomas@codesourcery.com>
7235
7236 [BZ #13553]
7237 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
7238 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
7239
b1aa60f3
AJ
72402012-04-03 Andreas Jaeger <aj@suse.de>
7241
c3b1bf7d 7242 [BZ #13938]
67f60a26
AJ
7243 * manual/setjmp.texi (System V contexts): Fix sentence.
7244
b1aa60f3
AJ
7245 [BZ #13926]
7246 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
7247 New macro for this case.
7248 [!__GNUC__] (__bswap_64): New inline function for this case.
7249 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7250 * bits/byteswap.h: Likewise.
7251 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
7252 ull, guard with __GLIBC_HAVE_LONG_LONG.
7253
7254 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
7255 __GLIBC_HAVE_LONG_LONG.
7256
7257 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
7258 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
7259
39c59c35
TMQMF
72602012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7261
7262 [BZ #13691]
7263 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7264 inptr and inend, rather than using last_ch.
7265
135ffda8
DM
72662012-04-02 David S. Miller <davem@davemloft.net>
7267
7268 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7269 * stdio-common/printf-parse.h (read_int): Change return type to
7270 'int', return -1 on INT_MAX overflow.
7271 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7272 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
7273 overflows INT_MAX. Check for overflow of in-format-string precision
7274 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
7275 SIZE_MAX not INT_MAX for integer overflow test.
7276 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7277 skip the construct in the format string but do not record anything.
7278 * stdio-common/bug22.c: Adjust to test both width/prevision
7279 INT_MAX overflow as well as total length INT_MAX overflow. Check
7280 explicitly for proper errno values.
7281
228c019e
TS
72822012-04-02 Thomas Schwinge <thomas@codesourcery.com>
7283
302cadd3
TS
7284 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7285 CHAR_MAX.
7286 * string/test-strcmp.c [! WIDE]: Likewise.
7287 * time/tst-mktime2.c: Likewise for INT_MAX.
7288 * string/test-string.h: #include <sys/param.h> for MIN.
7289
228c019e
TS
7290 * csu/init-first.c (__libc_init_first): Call __ctype_init.
7291 * sysdeps/i386/init-first.c (init): Likewise.
7292 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7293 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7294 * sysdeps/sh/init-first.c (init): Likewise.
7295
cfa633f5
UD
72962012-04-01 Ulrich Drepper <drepper@gmail.com>
7297
7298 * po/ru.po: Update from translation team.
d1635ef8 7299 * po/vi.po: Likewise.
cfa633f5 7300
6cd0a5ea
SP
73012012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7302
7303 * resolv/nss_dns/dns-host.c: Merge copyright years.
7304
4b43400f
LD
73052012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7306
7307 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7308 Optimize memcpy with prefetch if
7309 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
7310 src, dst pointers have unequal 16 byte alignments.
7311
48c41d04
SP
73122012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7313
7314 [BZ #13928]
7315 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7316 from a CNAME entry and return the minimum ttl for the query.
7317 (gaih_getanswer_slice): Likewise.
7318
b8dc394d
JL
73192012-03-30 Jeff Law <law@redhat.com>
7320
7321 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7322 due to long keys.
7323 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7324 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7325
2f5a5ed0
JL
7326 * resolv/nss_dns/dns-host.c: Update copyright year.
7327
1d39e359
UD
73282012-03-30 Ulrich Drepper <drepper@gmail.com>
7329
c030f70c 7330 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 7331 requests to save a system call. Fix check that all bytes are sent.
c030f70c 7332
1d39e359
UD
7333 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7334 comments for sendmmsg.
7335
73362012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
7337
7338 [BZ #13691]
7339 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7340 with only 1 character between 0x0041 and 0x01b0.
7341 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7342 * wcsmbs/tst-mbsnrtowcs.c: New file.
7343
20fde227
DM
73442012-03-29 David S. Miller <davem@davemloft.net>
7345
7346 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7347 small copies by hand.
7348
984a4237
JL
73492012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7350
7351 [BZ #13761]
7352 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7353 _nss_compat_initgroups_dyn): Fall back to malloc/free
7354 for large group memberships.
7355
18c9d62b
DM
73562012-03-28 David S. Miller <davem@davemloft.net>
7357
88d85d4f
DM
7358 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
7359 that branches into memcpy.
7360 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7361 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7362 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7363 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7364 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
7365 bits.
7366 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
7367 implementation too.
7368 * sysdeps/sparc/mempcpy.S: New file.
7369
e5aa83e1
DM
7370 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
7371 the IFUNC routine in the libc case.
7372 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7373
88570753
DM
7374 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
7375 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
7376 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
7377 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7378 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
7379 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
7380 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
7381 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
7382
249d7567
DM
7383 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
7384 loop to 256 bytes instead of 64 bytes and fix test signedness.
7385
18c9d62b
DM
7386 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
7387 * sysdeps/sparc/sparc32/Makefile: rather than here...
7388 * sysdeps/sparc/sparc64/Makefile: and here.
7389
05f3d1f6
UD
73902012-03-28 Ulrich Drepper <drepper@gmail.com>
7391
7392 * malloc/mallocbug.c: Avoid warnings about unused variables.
7393
86ae07a8
JL
73942012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7395
7396 [BZ #13760]
7397 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
7398 in the right place. Discard and retry query if response is
7399 larger than input buffer size.
7400
41bf21a1
JM
74012012-03-28 Joseph Myers <joseph@codesourcery.com>
7402
d6270972
JM
7403 [BZ #369]
7404 [BZ #2678]
7405 [BZ #3866]
7406 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
7407 x for large integer exponent.
7408 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7409 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
7410 sign of result as needed afterwards.
7411 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7412 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
7413 result for underflowing pow the same as for overflow.
7414 (__kernel_standard_l): Handle powl overflow and underflow here
7415 rather than calling __kernel_standard.
7416 * math/libm-test.inc (pow_test): Add more tests.
7417
414fca03 7418 [BZ #3868]
41bf21a1
JM
7419 [BZ #13879]
7420 [BZ #13910]
7421 [BZ #13911]
7422 [BZ #13912]
7423 [BZ #13913]
7424 [BZ #13915]
7425 [BZ #13916]
7426 [BZ #13917]
7427 [BZ #13918]
7428 [BZ #13919]
7429 [BZ #13920]
7430 [BZ #13921]
7431 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
7432 * sysdeps/ieee754/k_standard.c: Include <float.h>.
7433 (__kernel_standard_l): New function.
7434 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
7435 __kernel_standard.
7436 * math/w_acosl.c (__acosl): Likewise.
7437 * math/w_asinl.c (__asinl): Likewise.
7438 * math/w_atan2l.c (__atan2l): Likewise.
7439 * math/w_atanhl.c (__atanhl): Likewise.
7440 * math/w_coshl.c (__coshl): Likewise.
7441 * math/w_exp10l.c (__exp10l): Likewise.
7442 * math/w_exp2l.c (__exp2l): Likewise.
7443 * math/w_fmodl.c (__fmodl): Likewise.
7444 * math/w_hypotl.c (__hypotl): Likewise.
7445 * math/w_j0l.c (__j0l, __y0l): Likewise.
7446 * math/w_j1l.c (__j1l, __y1l): Likewise.
7447 * math/w_jnl.c (__jnl, __ynl): Likewise.
7448 * math/w_lgammal.c (__lgammal): Likewise.
7449 * math/w_log10l.c (__log10l): Likewise.
7450 * math/w_log2l.c (__log2l): Likewise.
7451 * math/w_logl.c (__logl): Likewise.
7452 * math/w_powl.c (__powl): Likewise.
7453 * math/w_remainderl.c (__remainderl): Likewise.
7454 * math/w_scalbl.c (sysv_scalbl): Likewise.
7455 * math/w_sinhl.c (__sinhl): Likewise.
7456 * math/w_sqrtl.c (__sqrtl): Likewise.
7457 * math/w_tgammal.c (__tgammal): Likewise.
7458 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
7459 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
7460 * math/libm-test.inc (acos_test): Add more tests.
7461 (acosh_test): Likewise.
7462 (asin_test): Likewise.
7463 (atanh_test): Likewise.
7464 (exp_test): Likewise.
7465 (exp10_test): Likewise.
7466 (exp2_test): Likewise.
7467 (expm1_test): Likewise.
7468 (lgamma_test): Likewise.
7469 (log_test): Likewise.
7470 (log10_test): Likewise.
7471 (log1p_test): Likewise.
7472 (log2_test): Likewise.
7473 (pow_test): Do not allow some spurious overflow exceptions.
7474 (sqrt_test): Add more tests.
7475 (tgamma_test): Likewise.
7476 (y0_test): Likewise.
7477 (y1_test): Likewise.
7478 (yn_test): Likewise.
7479
dd62fda6
AB
74802012-03-27 Anton Blanchard <anton@samba.org>
7481
7482 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
7483 MAP_HUGETLB.
7484 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7485 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7486 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7487
1e3cdfda
AJ
74882012-03-27 David S. Miller <davem@davemloft.net>
7489
b855ab85
DM
7490 * conform/Makefile: Run run-conformtest.sh using $(BASH).
7491
1e3cdfda
AJ
7492 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
7493 have-as-vis3 check.
7494
74952012-03-27 Andreas Jaeger <aj@suse.de>
7496
7497 * sysdeps/x86_64/elf/configure.in: Moved to ...
7498 * sysdeps/x86_64/configure.in: ... here.
7499 * sysdeps/x86_64/elf/start.S: Moved to ...
7500 * sysdeps/x86_64/start.S: ... here.
7501 * sysdeps/x86_64/elf/configure: Delete.
7502
7503 * sysdeps/x86_64/configure.in: Merge contents from
7504 sysdeps/i386/configure.in (without i686 check).
7505
7506 * sysdeps/i386/elf/Versions: Merge into ...
7507 * sysdeps/i386/Versions: ... this.
7508 * sysdeps/i386/elf/Versions: Delete file.
7509 * sysdeps/i386/elf/start.S: Moved to ...
7510 * sysdeps/i386/start.S: ...here.
7511 * sysdeps/i386/elf/configure.in: Merge into...
7512 * sysdeps/i386/configure.in: ...here.
7513 * sysdeps/i386/elf/configure.in: Delete file.
7514 * sysdeps/i386/elf/configure: Delete file.
7515
7516 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
7517 * debug/backtracesyms.c: ... here.
7518 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
7519 * debug/backtracesymsfd.c: ... here.
7520 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
7521 * sysdeps/generic/ifunc-sel.h: ... here.
7522
7523 * sysdeps/unix/i386/start.c: Delete file.
7524 * sysdeps/unix/sparc/start.c: Delete file.
7525 * sysdeps/unix/start.c: Delete file.
7526
7527 * sysdeps/sh/elf/configure.in: Moved to ...
7528 * sysdeps/sh/configure.in: ... here.
7529 * sysdeps/sh/elf/start.S: Moved to ...
7530 * sysdeps/sh/start.S: ... here.
7531 * sysdeps/sh/elf/configure: Delete file.
7532
7533 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
7534 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
7535 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
7536 * sysdeps/powerpc/powerpc64/entry.h: ... here.
7537 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
7538 * sysdeps/powerpc/powerpc64/start.S: here.
7539 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
7540 * sysdeps/powerpc/powerpc64/Makefile: ... this.
7541 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
7542 * sysdeps/powerpc/powerpc64/configure.in: ... this.
7543 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
7544
7545 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
7546 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
7547 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
7548 * sysdeps/powerpc/powerpc32/start.S: ... here.
7549 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
7550 * sysdeps/powerpc/powerpc32/configure.in: ... this.
7551 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
7552
7553 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
7554 * sysdeps/powerpc/ifunc-sel.h: ... here.
7555 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
7556 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
7557
7558 * sysdeps/sparc/elf/configure.in: Moved to ...
7559 * sysdeps/sparc/configure.in: ... here.
7560 * sysdeps/sparc/elf/configure: Delete file.
7561 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
7562 * sysdeps/sparc/sparc32/start.S: ... here.
7563 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
7564 * sysdeps/sparc/sparc64/start.S: ... here.
7565 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
7566 * sysdeps/sparc/sparc32/Makefile: ... this.
7567 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
7568 * sysdeps/sparc/sparc64/Makefile: ... this.
7569
7570 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
7571 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
7572 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
7573 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
7574 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
7575 * sysdeps/s390/s390-32/setjmp.S: ... here.
7576 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
7577 * sysdeps/s390/s390-32/configure.in: ... here.
7578 * sysdeps/s390/s390-32/elf/configure: Delete file.
7579 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
7580 * sysdeps/s390/s390-32/start.S: ... here.
7581
7582 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
7583 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
7584 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
7585 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
7586 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
7587 * sysdeps/s390/s390-64/setjmp.S: ... here.
7588 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
7589 * sysdeps/s390/s390-64/configure.in: ... here
7590 * sysdeps/s390/s390-64/elf/configure: Delete file.
7591 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
7592 * sysdeps/s390/s390-64/start.S: ... here.
7593 * sysdeps/s390/s390-64/elf/configure: Delete.
7594
7595 * configure.in: Remove support for elf directories in sysdeps.
7596
7597 * configure: Regenerated.
7598 * sysdeps/i386/configure: Regenerated.
7599 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7600 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7601 * sysdeps/s390/s390-32/configure: Regenerated.
7602 * sysdeps/s390/s390-64/configure: Regenerated.
7603 * sysdeps/sh/configure: Regenerated.
7604 * sysdeps/sparc/configure: Regenerated.
7605 * sysdeps/x86_64/configure: Regenerated.
7606
a3f61311
AS
76072012-03-26 Andreas Schwab <schwab@linux-m68k.org>
7608
c876e002
AS
7609 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7610
a3f61311
AS
7611 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
7612 denormal result into account.
7613
ac4c54f0
RM
76142012-03-25 Roland McGrath <roland@hack.frob.com>
7615
7616 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
7617 Reported by Allan McRae <allan@archlinux.org>.
7618
6a9b9c02
JL
76192012-03-23 Jeff Law <law@redhat.com>
7620
7621 * nss/getnssent.c (__nss_getent): Fix typo.
7622
4c42a0c1
DM
76232012-03-23 David S. Miller <davem@davemloft.net>
7624
7625 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7626
1532c7ac
L
76272012-03-23 H.J. Lu <hongjiu.lu@intel.com>
7628
7629 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
7630 to pad to uint64_t for each field.
7631 (dl_tls_index): Replace unsigned long with uint64_t.
7632
3ff42526
PP
76332012-03-23 Daniel Jacobowitz <dmj@google.com>
7634 Paul Pluzhnikov <ppluzhnikov@google.com>
7635
7636 [BZ #6528]
7637 * grp/Makefile (otherlibs): Don't set it.
7638 * inet/Makefile (otherlibs): Likewise.
7639 * login/Makefile (otherlibs): Likewise.
7640 * nscd/Makefile (otherlibs): Likewise.
7641 * posix/Makefile (otherlibs): Likewise.
7642 * pwd/Makefile (otherlibs): Likewise.
7643 * rt/Makefile (otherlibs): Likewise.
7644 * sunrpc/Makefile (otherlibs): Likewise.
7645 * nss/Makefile (otherlibs): Likewise.
7646 Add libnss_files to routines and static-only-routines.
7647 ($(objpfx)getent): Remove rule.
7648 * resolv/Makefile: Add libnss_dns and libresolv to routines and
7649 static-only-routines.
7650
7c69cd14
JM
76512012-03-22 Joseph Myers <joseph@codesourcery.com>
7652
7653 [BZ #13892]
7654 * math/s_cexp.c: Include <float.h>.
7655 (__cexp): Handle exp result overflowing not necessarily
7656 overflowing both real and imaginary parts of result.
7657 * math/s_cexpf.c: Likewise.
7658 * math/s_cexpl.c: Likewise.
7659 * math/libm-test.inc (cexp_test): Add more tests.
7660 * sysdeps/i386/fpu/libm-test-ulps: Update.
7661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7662
81b035fe
L
76632012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7664
7665 * include/link.h (ELFW): New macro.
7666 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
7667 Replace ELF64_R_TYPE with ELFW(R_TYPE).
7668
1da7940c
L
76692012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7670
7671 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
7672 with uint64_t.
7673
b749dbb9
L
76742012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7675
7676 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
7677 declaration.
7678 (struct La_x32_retval): Likewise.
7679
2ff87f3f
L
76802012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7681
7682 * sysdeps/x86_64/preconfigure.in: New file.
7683 * sysdeps/x86_64/preconfigure: New generated file.
7684
c0df8e69
JM
76852012-03-22 Joseph Myers <joseph@codesourcery.com>
7686
48e44791
JM
7687 [BZ #13824]
7688 * math/e_exp2l.c: Include <float.h>.
7689 (__ieee754_exp2l): Handle overflow and underflow cases
7690 separately. Only pass fractional part of argument to
7691 __ieee754_expl.
7692 * math/libm-test.inc (exp2_test): Add more tests.
7693
c0df8e69
JM
7694 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
7695 negating x to take absolute value.
7696 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7697 Likewise.
7698 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7699 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7700 Likewise.
7701 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
7702 computing low part if x was negated.
7703 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7704
c8e43ba7
L
77052012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7706
7707 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
7708 la_x32_gnu_pltexit.
7709 (pltexit): Cast int_retval to ptrdiff_t.
7710 * elf/tst-auditmod3b.c: Likewise.
7711 * elf/tst-auditmod4b.c: Likewise.
7712 * elf/tst-auditmod5b.c: Likewise.
7713 * elf/tst-auditmod6b.c: Likewise.
7714 * elf/tst-auditmod6c.c: Likewise.
7715 * elf/tst-auditmod7b.c: Likewise.
7716
7717 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
7718 and x32_gnu_pltexit.
7719
7720 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
7721 __ELF_NATIVE_CLASS.
7722 (La_x32_regs): New macro.
7723 (La_x32_retval): Likewise.
7724 (la_x32_gnu_pltenter): New function prototype.
7725 (la_x32_gnu_pltexit): Likewise.
7726
7998fa78
AS
77272012-03-21 Andreas Schwab <schwab@linux-m68k.org>
7728
dcb33988
AS
7729 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
7730 exponent.
7731
233fc563
AS
7732 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7733
7998fa78
AS
7734 * configure.in (libc_cv_cc_nofma): Check for option to disable
7735 generation of FMA instructions.
7736 * configure: Regenerate.
7737 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
7738 * sysdeps/ieee754/dbl-64/Makefile: New file.
7739 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7740 Remove brandred-fma4.
7741 (CFLAGS-brandred-fma4.c): Remove.
7742 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
7743 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
7744 define.
7745 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
7746 define.
7747
8e95c99a
L
77482012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7749
7750 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7751 LLONG_MAX != LONG_MAX.
7752 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7753 (_fitoa_word): Likewise.
7754 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
7755 LLONG_MAX != LONG_MAX.
7756 * stdio-common/_itowa.h: Include <_itoa.h>.
7757 (_itowa_word): Use _ITOA_WORD_TYPE on value.
7758 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
7759 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
7760 only if not defined.
7761 (_ITOA_WORD_TYPE): Likewise.
7762 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7763 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
7764
6f4db457
DM
77652012-03-21 David S. Miller <davem@davemloft.net>
7766
7767 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7768
7785fe5a
L
77692012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7770
7771 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
7772 of x86_64 when setting libc_cv_slibdir, libdir and
7773 libc_cv_localedir.
7774 * sysdeps/unix/sysv/linux/configure: Regenerated.
7775
4535cd55
JM
77762012-03-21 Joseph Myers <joseph@codesourcery.com>
7777
7778 * manual/lang.texi (Old Varargs): Remove section.
7779 (How Variadic): Update menu.
7780 (va_start): Do not mention varargs.h.
7781
17228132
TS
77822012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7783 Joseph Myers <joseph@codesourcery.com>
7784
7785 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
7786 link test.
7787 * configure: Regenerated.
7788
8149f976
TS
77892012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7790
05f3d1f6
UD
7791 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
7792 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
7793 conformtest.pl
8149f976 7794
1a4ac776
JM
77952012-03-21 Joseph Myers <joseph@codesourcery.com>
7796
be22ce65
JM
7797 * NOTES: Remove.
7798 * Makefile (files-for-dist): Remove NOTES.
7799 (NOTES): Remove rule.
7800 * README: Don't refer to NOTES.
7801 * manual/creature.texi: Don't include macros.texi.
7802 * manual/intro.texi (creature.texi): Remove comment referring to
7803 NOTES.
7804
40b601fb
JM
7805 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
7806 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
7807 * configure: Regenerated.
7808 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
7809 LIBC_TRY_CC_OPTION.
7810 (libc_cv_as_i686): Likewise.
7811 (libc_cv_cc_avx): Likewise.
7812 (libc_cv_cc_sse2avx): Likewise.
7813 (libc_cv_cc_fma4): Likewise.
7814 (libc_cv_cc_novzeroupper): Likewise.
7815 * sysdeps/i386/configure: Regenerated.
7816
1a4ac776
JM
7817 [BZ #13883]
7818 * sysdeps/i386/fpu/s_cexp.S: Remove.
7819 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7820 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7821 * math/libm-test.inc (cexp_test): Add more tests.
7822 * sysdeps/i386/fpu/libm-test-ulps: Update.
7823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7824
a458e7fe
AM
78252012-03-21 Allan McRae <allan@archlinux.org>
7826
7827 * timezone/Makefile: Do not install iso3166.tab and zone.tab
7828
0cb7efc5
JM
78292012-03-21 Joseph Myers <joseph@codesourcery.com>
7830
7831 [BZ #13871]
7832 * math/w_exp2.c: Do not include <float.h>.
7833 (o_threshold, u_threshold): Remove.
7834 (__exp2): Calculate result before checking finiteness and calling
7835 __kernel_standard.
7836 * math/w_exp2f.c: Likewise.
7837 * math/w_exp2l.c: Likewise.
7838 * math/libm-test.inc (exp2_test): Require overflow exception for
7839 1e6 input.
2460d3aa
JM
7840
7841 [BZ #3866]
7842 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
7843 range of signed 64-bit integers before using fistpll. Remove
7844 checks for whether integers fit in mantissa bits.
7845 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
7846 the range of signed 32-bit integers before using fistpl. Remove
7847 checks for whether integers fit in mantissa bits.
7848 * sysdeps/i386/fpu/e_powl.S (p64): New object.
7849 (__ieee754_powl): Test for y outside the range of signed 64-bit
7850 integers before using fistpll. Reduce 64-bit values to 63-bit
7851 ones as needed.
7852 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
7853 divide-by-zero is raised for zero to large negative powers.
7854 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
7855 (__ieee754_powl): Test for y outside the range of signed 64-bit
7856 integers before using fistpll. Reduce 64-bit values to 63-bit
7857 ones as needed.
7858 * math/libm-test.inc (pow_test): Add more tests.
7859
eb96ffb0
L
78602012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7861
7862 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
7863 <stdio-common/_itoa.h>.
7864 * debug/segfault.c: Likewise.
7865 * elf/dl-cache.c: Likewise.
7866 * elf/dl-minimal.c: Likewise.
7867 * elf/dl-misc.c: Likewise.
7868 * elf/dl-sysdep.c: Likewise.
7869 * elf/dl-version.c: Likewise.
7870 * elf/rtld.c: Likewise.
7871 * hurd/hurdsock.c: Likewise.
7872 * hurd/lookup-retry.c: Likewise.
7873 * malloc/malloc.c: Likewise.
7874 * malloc/mtrace.c: Likewise.
7875 * nscd/nscd_getgr_r.c: Likewise.
7876 * nscd/nscd_getpw_r.c: Likewise.
7877 * nscd/nscd_getserv_r.c: Likewise.
7878 * posix/getopt_init.c: Likewise.
7879 * posix/wordexp.c: Likewise.
7880 * stdio-common/_itoa.c: Likewise.
7881 * stdio-common/printf_fphex.c: Likewise.
7882 * stdio-common/vfprintf.c: Likewise.
7883 * string/_strerror.c: Likewise.
7884 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7885 * sysdeps/i386/i686/hp-timing.h: Likewise.
7886 * sysdeps/mach/_strerror.c: Likewise.
7887 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
7888 * sysdeps/mach/hurd/sethostid.c: Likewise.
7889 * sysdeps/mach/hurd/xmknodat.c: Likewise.
7890 * sysdeps/mach/xpg-strerror.c: Likewise.
7891 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7892 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7893 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
7894 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
7895 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7896 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
7897 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7898 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7899 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
7900 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
7901 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
7902 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7903 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
7904 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7905 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7906 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
7907 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
7908 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
7909 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7910 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7911 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
7912
7913 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
7914
7915 * stdio-common/_itoa.h: Moved to ...
7916 * sysdeps/generic/_itoa.h: Here.
7917
7918 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
7919
7920 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
7921 instead of "_itoa.h" and "_itowa.h".
7922 * stdio-common/vfprintf.: Likewise.
7923
d1af992d
L
79242012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7925
7926 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
7927 <bits/wordsize.h>.
7928 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
7929 (__signbit): Likwise.
7930 (llrintf): Likwise.
7931 (llrint): Likwise.
7932
114883e0
L
79332012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7934
7935 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
7936 __WORDSIZE != 64.
7937
c135cc1b
JM
79382012-03-20 Joseph Myers <joseph@codesourcery.com>
7939
7940 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
7941 OVERFLOW_EXCEPTION_OK.
7942 * math/libm-test.inc ("Philosophy"): Update comment about
7943 exception testing.
7944 (OVERFLOW_EXCEPTION): Define.
7945 (OVERFLOW_EXCEPTION_OK): Likewise.
7946 (INVALID_EXCEPTION_OK): Renumber.
7947 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7948 (IGNORE_ZERO_INF_SIGN): Likewise.
7949 (test_exceptions): Handle FE_OVERFLOW.
7950 (exp10_test): Expect overflow exceptions.
7951 (exp2_test): Likewise.
7952 (expm1_test): Likewise.
7953 (nextafter_test): Likewise.
7954 (pow_test): Likewise.
7955 (scalbn_test): Likewise.
7956 (scalbln_test): Likewise.
7957
95443d88
L
79582012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7959
7960 * sysdeps/x86_64/bits/atomic.h
7961 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
7962 64bit integer.
7963 (atomic_exchange_acq): Likewise.
7964 (__arch_exchange_and_add_body): Likewise.
7965 (__arch_add_body): Likewise.
7966 (atomic_add_negative): Likewise.
7967 (atomic_add_zero): Likewise.
7968
490df6c4
L
79692012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7970
c2722551 7971 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
7972 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
7973
5e52b189
L
79742012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7975
7976 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
7977 Check __x86_64__ instead of __WORDSIZE.
7978
a9879d4c
L
79792012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7980
7981 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
7982
5df98260
DM
79832012-03-19 David S. Miller <davem@davemloft.net>
7984
e1497744
DM
7985 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7986
5df98260
DM
7987 * sysdeps/sparc/fpu/fenv_private.h: New file.
7988 * sysdeps/sparc/fpu/math_private.h: Use it.
7989 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
7990 Remove.
7991 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
7992 (libc_feholdexcept_setroundl): Remove.
7993 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
7994 Remove.
7995 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
7996 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
7997
b4c35121
L
79982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7999
8000 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
8001 int64_t instead of long int.
8002 (INSERT_WORDS64): Likwise.
8003
56965fd7
L
80042012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8005
8006 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
8007 _Unwind_GetCFA return to _Unwind_Ptr first.
8008
83d1aec8
JM
80092012-03-19 Joseph Myers <joseph@codesourcery.com>
8010
1897ad44
JM
8011 [BZ #13629]
8012 * math/s_clog.c: Include <float.h>.
8013 (__clog): Scale large or subnormal inputs.
8014 * math/s_clogf.c: Likewise.
8015 * math/s_clogl.c: Likewise.
8016 * math/s_clog10.c: Include <float.h>.
8017 (M_LOG10_2): Define.
8018 (__clog10): Scale large or subnormal inputs.
8019 * math/s_clog10f.c: Likewise.
8020 * math/s_clog10l.c: Likewise.
8021 * math/libm-test.inc (clog_test): Add more tests.
8022 (clog10_test): Likewise.
8023 * sysdeps/i386/fpu/libm-test-ulps: Update.
8024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8025
7726d6a9
JM
8026 [BZ #11451]
8027 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
8028 x and y.
8029 * math/libm-test.inc (atan2_test): Add another test.
8030
83d1aec8
JM
8031 * Makerules (common-objdir-compile): Remove.
8032 * sysdeps/unix/Makefile (config-generated): Do not add
8033 $(unix-generated) to variable.
8034 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
8035 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
8036 Remove rule.
8037 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
8038 Likewise.
8039 [generic bits/local_lim.h] (before-compile): Do not append to
8040 variable.
8041 [generic bits/local_lim.h] (common-generated): Likewise.
8042 [generic sys/param.h] (before-compile): Do not append to variable.
8043 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
8044 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
8045 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
8046 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
8047 include.
8048 [generic sys/param.h] (sys/param.h-includes): Remove variable.
8049 [generic sys/param.h] (sys/param.h-includes): Remove rule.
8050 [generic sys/param.h] ($(addprefix
8051 $(common-objpfx),$(sys/param.h-includes))): Likewise.
8052 [generic sys/param.h] (common-generated): Do not append to
8053 variable.
8054 [generic sys/param.h] (sysdep_headers): Likewise.
8055 [generic bits/errno.h] (before-compile): Do not append to
8056 variable.
8057 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
8058 rule.
8059 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
8060 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
8061 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
8062 [generic bits/errno.h] (common-generated): Do not append to
8063 variable.
8064 [generic bits/ioctls.h] (before-compile): Do not append to
8065 variable.
8066 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
8067 rule.
8068 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
8069 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
8070 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
8071 rule.
8072 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
8073 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
8074 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
8075 [generic bits/ioctls.h] (common-generated): Do not append to
8076 variable.
8077 [generic sys/syscall.h] (syscall.h): Remove variable.
8078 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
8079 rule.
8080 [generic sys/syscall.h] (before-compile): Do not append to
8081 variable.
8082 [generic sys/syscall.h] (common-generated): Likewise.
8083 * sysdeps/unix/errnos-tmpl.c: Remove file.
8084 * sysdeps/unix/errnos.awk: Likewise.
8085 * sysdeps/unix/ioctls-tmpl.c: Likewise.
8086 * sysdeps/unix/ioctls.awk: Likewise.
8087 * sysdeps/unix/mk-local_lim.c: Likewise.
8088 * sysdeps/unix/snarf-ioctls: Likewise.
8089
4851a949
RH
80902012-03-19 Richard Henderson <rth@twiddle.net>
8091
bd37f2ee
RH
8092 * sysdeps/i386/fpu/fenv_private.h: New file.
8093 * sysdeps/i386/fpu/math_private.h: Use it.
8094 (math_opt_barrier, math_force_eval): Remove.
8095 (libc_feholdexcept_setround_53bit): Remove.
8096 (libc_feupdateenv_53bit): Remove.
8097 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8098 (math_opt_barrier, math_force_eval): Remove.
8099 (libc_feholdexcept): Remove.
8100 (libc_feholdexcept_setround): Remove.
8101 (libc_fetestexcept, libc_fesetenv): Remove.
8102 (libc_feupdateenv_test): Remove.
8103 (libc_feupdateenv, libc_feholdsetround): Remove.
8104 (libc_feresetround): Remove.
8105
d0adc922
RH
8106 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
8107 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8108
0fe0f1f8
RH
8109 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
8110 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
8111 (libc_feupdateenv_testl): New.
8112 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
8113 (libc_feupdateenv_testf): New.
8114 (libc_feupdateenv): Use libc_feupdateenv_test.
8115 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
8116 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
8117
eb92c487
RH
8118 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
8119 (libc_feholdsetroundf, libc_feholdsetroundl): New.
8120 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
8121 (libc_feresetround_noex): New.
8122 (libc_feresetround_noexf): New.
8123 (libc_feresetround_noexl): New.
8124 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
8125 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
8126 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
8127 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
8128 SET_RESTORE_ROUND.
8129 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8130 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
8131 (__cos): Likewise.
8132 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
8133 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8134 SET_RESTORE_ROUND_NOEX.
8135 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
8136 SET_RESTORE_ROUND_NOEXF.
8137 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
8138 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
8139 (libc_feholdsetroundf): New.
8140 (libc_feresetround, libc_feresetroundf): New.
8141
7d2e8012
RH
8142 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
8143 (libc_feholdexcept_setround_53bit): Convert from macro to function.
8144 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
8145
b4dabbb4
RH
8146 * sysdeps/generic/math_private.h: Include <fenv.h>.
8147 (default_libc_feholdexcept): New.
8148 (default_libc_feholdexcept_setround): New.
8149 (default_libc_fesetenv, default_libc_feupdateenv): New.
8150 (libc_feholdexcept): Only define if undefined.
8151 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
8152 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
8153 (libc_feholdexcept_setroundl): Likewise.
8154 (libc_feholdexcept_setround_53bit): Likewise.
8155 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
8156 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
8157 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
8158 (libc_feupdateenv_53bit): Likewise.
8159 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
8160 (libc_feholdexcept): Convert from macro to inline function.
8161 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
8162 (libc_fesetenv, libc_feupdateenv): Likewise.
8163
4851a949
RH
8164 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
8165 not previously defined.
8166 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
8167 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
8168 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
8169 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
8170 * sysdeps/ieee754/flt-32/math_private.h: New file.
8171 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
8172 math_private.h below SET_FLOAT_WORD.
8173 (__isnan, __isinf_ns, __finite): Remove.
8174 (__isnanf, __isinf_nsf, __finitef): Remove.
8175
e79d442e
AS
81762012-03-18 Andreas Schwab <schwab@linux-m68k.org>
8177
8178 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8179
90b80344
DM
81802012-03-17 David S. Miller <davem@davemloft.net>
8181
8182 [BZ #6471]
8183 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
8184 for 2.16.
8185
edc21804
DM
81862012-03-16 David S. Miller <davem@davemloft.net>
8187
77e927af
DM
8188 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
8189 warnings.
8190
374976dd
DM
8191 [BZ #6471]
8192 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
8193 properly.
8194 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
8195 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
8196 sysdep_routines when subdir is sysvipc.
8197 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
8198 __getshmlba helper.
8199
edc21804
DM
8200 * sysdeps/sparc/fpu/libm-test/ulps: Update.
8201
473c3ef3
L
82022012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8203
8204 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
8205 [__LP64__].
8206
eb0f39b6
L
82072012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8208
8209 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
8210 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
8211 (__lround): Renamed to ...
8212 (__llround): This. Replace long int with long long int.
8213 Define lround functions as aliases of llround functions.
8214 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
8215
6b6cd74b
L
82162012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8217
8218 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
8219 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
8220 adresses to uintptr_t. Replace "long int" and "unsigned long
8221 int" with "greg_t" on va_arg.
8222
f1a77b01
L
82232012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8224
8225 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
8226 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
8227
8228 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
8229 Move e_machine check before EI_CLASS check. Handle x32
8230 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
8231 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
8232 SKIP_EM_IA_64 and include
8233 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
8234
8235 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
8236 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
8237 (add_system_dir): New macro.
8238
8239 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
8240 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
8241
11b90b9f
JM
82422012-03-16 Joseph Myers <joseph@codesourcery.com>
8243
c36e1d23
JM
8244 [BZ #2551]
8245 [BZ #2552]
8246 [BZ #2553]
8247 [BZ #2554]
8248 [BZ #2562]
8249 [BZ #2563]
8250 [BZ #2565]
8251 [BZ #2566]
8252 [BZ #2576]
8253 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
8254 (y0): Likewise.
8255 * math/w_j0f.c (j0f): Likewise.
8256 (y0f): Likewise.
8257 * math/w_j0l.c (__j0l): Likewise.
8258 (__y0l): Likewise.
8259 * math/w_j1.c (j1): Likewise.
8260 (y1): Likewise.
8261 * math/w_j1f.c (j1f): Likewise.
8262 (y1f): Likewise.
8263 * math/w_j1l.c (__j1l): Likewise.
8264 (__y1l): Likewise.
8265 * math/w_jn.c (jn): Likewise.
8266 (yn): Likewise.
8267 * math/w_jnf.c (jnf): Likewise.
8268 (ynf): Likewise.
8269 * math/w_jnl.c (__jnl): Likewise.
8270 (__ynl): Likewise.
8271 * math/libm-test.inc (j0_test): Add more tests.
8272 (j1_test): Likewise.
8273 (jn_test): Likewise. Add trailing semicolon to existing test.
8274 (y0_test): Likewise.
8275 (y1_test): Likewise.
8276 * sysdeps/i386/fpu/libm-test-ulps: Update.
8277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8278
11b90b9f
JM
8279 [BZ #13851]
8280 [BZ #13854]
8281 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8282 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8283 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8284 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8285 (__tanl): Set errno for infinite argument.
8286 * sysdeps/i386/fpu/mptan.c: Remove.
8287 * sysdeps/i386/fpu/s_tan.S: Likewise.
8288 * sysdeps/i386/fpu/s_tanl.S: Likewise.
8289 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8290 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8291 * math/libm-test.inc (tan_test): Add more tests and enable more
8292 tests for double and long double.
8293 * sysdeps/i386/fpu/libm-test-ulps: Update.
8294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8295
6a1bd2a1
JK
82962012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8297
8298 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8299 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8300
10a803e0
RM
83012012-03-16 Roland McGrath <roland@hack.frob.com>
8302
8303 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8304 * configure.in: Use it for both main tree and add-ons.
8305 * configure: Regenerated.
8306
f196c7f7
L
83072012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8308
8309 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8310
8848d99d
JM
83112012-03-16 Joseph Myers <joseph@codesourcery.com>
8312
96cbe7f4
JM
8313 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8314 in comment.
8315
8848d99d
JM
8316 [BZ #13851]
8317 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8318 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8319 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8320 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8321 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8322 infinite argument.
8323 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8324 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8325 != 0 for prec == 2.
8326 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8327 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8328 * sysdeps/i386/fpu/s_cosl.S: Likewise.
8329 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8330 * sysdeps/i386/fpu/s_sinl.S: Likewise.
8331 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8332 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8333 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8334 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8335 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8336 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8337 * math/libm-test.inc (cos_test): Add more tests and enable more
8338 tests for long double.
8339 (sin_test): Likewise.
8340 (sincos_test): Likewise.
8341 * sysdeps/i386/fpu/libm-test-ulps: Update.
8342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8343
dd7f4703
DM
83442012-03-16 David S. Miller <davem@davemloft.net>
8345
8346 * sysdeps/sparc/fpu/math_private.h: New file.
8347
006f1daa
DM
83482012-03-15 David S. Miller <davem@davemloft.net>
8349
c0c83bc8
DM
8350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8351 file.
e6a62e18 8352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
8353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8354 file.
e6a62e18
DM
8355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
8356 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
8357 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
8358 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
8359 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
8360 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
8361 sysdep routines.
8362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8363
88cb87d9
DM
8364 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
8365 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
8366
006f1daa 8367 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
8368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
8369 sparc-ifunc.h
006f1daa 8370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
8371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8372 Likewise.
8373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8374 Likewise.
006f1daa
DM
8375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
8376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
8378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8379 Likewise.
006f1daa
DM
8380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
8384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
8385 Likewise.
8386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
8387 Likewise.
006f1daa
DM
8388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
8390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8392 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8393 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8394 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
8395 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
8396 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8397 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8398 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8399 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8400 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8401 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8402 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
8403 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
8404 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
8405 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
8406 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
8407 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
8408 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
8409 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
8410 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
8411 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
8412
11e0098e
AS
84132012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8414
8415 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
8416 scaling.
8417 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8418
e85b09d0
AJ
84192012-03-15 Andreas Jaeger <aj@suse.de>
8420
8421 [BZ #13852]
8422 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
8423 ieee754/flt-32 implementation for sin, cos and sincos.
8424 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
8425 * sysdeps/i386/fpu/s_cosf.S: Likewise.
8426 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
8427 * sysdeps/i386/fpu/s_sinf.S: Likewise.
8428 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
8429 ieee754/flt-32 implementation for tan.
8430
8431 * math/libm-test.inc (cos_test): Enable some large input tests for
8432 float as well
8433 (sin_test): Likewise.
8434 (sincos_test): Likewise.
8435 (tan_test): Add tests for large input.
8436
8437 * sysdeps/i386/fpu/libm-test-ulps: Update.
8438
81c64153
AJ
84392012-03-15 Andreas Jaeger <aj@suse.de>
8440
8441 [BZ #13658]
8442 * math/libm-test.inc (cos_test): Add more test cases.
8443 (sin_test): Likewise.
8444 (sincos_test): Likewise.
8445
7bbfa5c6
AJ
84462012-03-15 Andreas Jaeger <aj@suse.de>
8447
8448 [BZ #13837]
8449 * math/libm-test.inc (cos_test): Add a test case for large input
8450 value.
8451 (sin_test): Likewise.
8452 (sincos_test): Likewise.
8453
84542012-03-15 Andreas Jaeger <aj@suse.de>,
8455 Joseph Myers <joseph@codesourcery.com>
8456
8457 [BZ #13658]
0671f479 8458 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
8459 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
8460 * sysdeps/i386/fpu/branred.c: Likewise.
8461 * sysdeps/i386/fpu/dosincos.c: Likewise.
8462 * sysdeps/i386/fpu/mpa.c: Likewise.
8463 * sysdeps/i386/fpu/s_cos.S: Likewise.
8464 * sysdeps/i386/fpu/s_sin.S: Likewise.
8465 * sysdeps/i386/fpu/s_sincos.S: Likewise.
8466 * sysdeps/i386/fpu/sincos32.c: Likewise.
8467
8468 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
8469 Define.
8470 (libc_feupdateenv_53bit): Define.
8471 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
8472 Define.
8473 (libc_feupdateenv_53bit): Define.
8474
8475 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
8476 53 bit (without extend i386 double precision).
8477
8478 * math/libm-test.inc (sincos_test): Add tests for large input.
8479 (sin): Likewise.
8480 (cos): Likewise.
8481
8482 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8483
9cad04ea
AS
84842012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8485
8486 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8487
f7062b9a
DM
84882012-03-15 David S. Miller <davem@davemloft.net>
8489
8490 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
8491 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
8492 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
8493 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
8494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
8495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
8496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
8497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
8498 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
8499 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
8500 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
8501 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
8502 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
8503 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
8504 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
8505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
8506 file.
f7062b9a 8507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
8508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
8509 file.
f7062b9a 8510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
8511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
8512 file.
f7062b9a 8513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
8514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
8515 file.
f7062b9a
DM
8516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
8517 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
8518 fmin/fmax sysdep routines.
8519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8520
7bd951ff
DM
85212012-03-14 David S. Miller <davem@davemloft.net>
8522
559398ab
DM
8523 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
8524 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
8525 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
8526 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
8527 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
8528 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
8529 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
8530 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
8531 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
8532 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
8533 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
8534 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
8535 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
8536 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
8537 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
8538 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
8539 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
8540 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
8541 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
8542 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
8543 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
8544 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
8545 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
8546 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
8547 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
8548 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
8549 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
8550 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
8551 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
8552 routines.
8553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
8554 file.
559398ab 8555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
8556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
8557 file.
559398ab 8558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
8559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
8560 file.
559398ab 8561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
8562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
8563 file.
559398ab 8564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
8565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
8566 file.
559398ab 8567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
8568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
8569 file.
8570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
8571 file.
8572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
8573 file.
8574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
8575 file.
8576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
8577 New file.
8578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
8579 file.
8580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
8581 file.
559398ab 8582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
8583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
8584 file.
559398ab 8585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
8586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
8587 file.
559398ab 8588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
8589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
8590 file.
559398ab 8591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
8592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
8593 VIS3 routines.
559398ab
DM
8594
8595 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8596 New file.
8597
5a1c1e32
DM
8598 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8599
eae47a36
DM
8600 * sysdeps/sparc/configure.in: New file.
8601 * sysdeps/sparc/configure: Generate.
8602 * configure.in (libc_cv_sparc_as_vis3): Substitute.
8603 * configure: Regenerate.
8604 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
8605 * config.make.in (have-as-vis3): New.
8606 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
8607 available use -Av9d instead of -Av9a.
8608 * sysdeps/sparc/sparc64/Makefile: Likewise.
8609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
8610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
8611 New file.
8612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
8613 file.
8614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
8615 New file.
8616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
8617 file.
eae47a36
DM
8618 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
8619 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
8620 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
8621 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
8622 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
8623
c0c83bc8
DM
8624 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
8625 fzeros/fnegs to load 0x80000000 into a float register instead of
8626 using the stack.
7bd951ff
DM
8627 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
8628
bd951ccb
JM
86292012-03-14 Joseph Myers <joseph@codesourcery.com>
8630
8631 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8632 bits/syscall.h.
8633 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
8634 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
8635 ($(inst_includedir)/bits/syscall.h): Remove rule.
8636 ($(objpfx)bits/syscall.d): Include instead of
8637 $(objpfx)syscall-list.d.
8638 (generated): Change syscall-list.h and syscall-list.d to
8639 bits/syscall.h and bits/syscall.d.
8640
bb4e6db2
RM
86412012-03-14 Roland McGrath <roland@hack.frob.com>
8642
8643 [BZ #13846]
8644 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
8645
aa4a2ae1
JM
86462012-03-14 Joseph Myers <joseph@codesourcery.com>
8647
e456826d
JM
8648 [BZ #13841]
8649 * math/s_csqrt.c: Include <float.h>.
8650 (__csqrt): Scale large or subnormal inputs.
8651 * math/s_csqrtf.c: Likewise.
8652 * math/s_csqrtl.c: Likewise.
8653 * math/libm-test.inc (csqrt_test): Add more tests.
8654 * sysdeps/i386/fpu/libm-test-ulps: Update.
8655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8656
aa4a2ae1
JM
8657 [BZ #13840]
8658 * math/libm-test.inc (hypot_test): Add more tests.
8659
7c10fd35
DM
86602012-03-13 David S. Miller <davem@davemloft.net>
8661
8662 [BZ #13840]
8663 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
8664 double-precision for the calculation instead of scaling.
8665
f453b98b
JM
86662012-03-13 Joseph Myers <joseph@codesourcery.com>
8667
8668 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
8669 manipulate bits before adding and subtracting TWO52[sx].
8670 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
8671 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8672 Likewise.
8673 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
8674
09a3453f
DM
86752012-03-13 David S. Miller <davem@davemloft.net>
8676
8e59da90
DM
8677 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
8678 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
8679 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
8680 rtld-global-offsets.h
8681 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8682
2a8ab7f2
DM
8683 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
8684 large parameters.
8685
10f62770
DM
8686 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
8687
5f0bdb18
DM
8688 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
8689 'err' in the ifdef scope in which it is actually used.
8690
09a3453f
DM
8691 * nss/nss_db/db-init.c: Include string.h
8692
b4b2eb5e
DM
86932012-03-12 David S. Miller <davem@davemloft.net>
8694
98bb2f1c
DM
8695 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8696 masking out of the most significant byte of random value used.
8697 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8698 Fix coding style in previous change.
8699
b4b2eb5e
DM
8700 * sysdeps/unix/sysv/linux/kernel-features.h
8701 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
8702 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
8703 expression.
8704 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
8705 later.
8706
6e226b09
DM
87072012-03-11 David S. Miller <davem@davemloft.net>
8708
a1bcbd40
DM
8709 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8710 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
8711 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
8712 for 'resultvar' otherwise things get truncated on 64-bit.
8713
cb9d6174
DM
8714 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8715 Fix masking out of the most significant byte of random value used.
8716
6e226b09
DM
8717 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8718
058c132d
AS
87192012-03-10 Andreas Schwab <schwab@linux-m68k.org>
8720
8721 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8722
2d2cd515
DM
87232012-03-09 David S. Miller <davem@davemloft.net>
8724
8725 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
8726 variables with appropriate CPP guards.
8727 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
8728 frame pointer, not the stack pointer. Correct layout comments. Fix test
8729 on resulting framesize and the management of the outregs buffer for pltexit.
8730 Preserve floating point return values across _dl_call_pltexit call.
8731 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
8732 framesize and the management of the outregs buffer for pltexit.
8733 Preserve floating point return values across _dl_call_pltexit
8734 call.
8735 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
8736 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
8737 (print_exit): Fix format string for return register value.
8738
9a07f9d0
JM
87392012-03-10 Joseph Myers <joseph@codesourcery.com>
8740
8741 * sunrpc/Makefile (others): Add rpcgen.
8742 ($(objpfx)rpcgen): Remove special build rule and dependency on
8743 libc.
8744 * sunrpc/rpcgen.c: New file.
8745
547b5e30
PE
87462012-03-09 Paul Eggert <eggert@cs.ucla.edu>
8747
c524201a
PE
8748 [BZ #13673]
8749 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
8750 * stdio-common/bug-vfprintf-nargs.c: Likewise.
8751 * sysdeps/i386/crti.S: Likewise.
8752 * sysdeps/i386/crtn.S: Likewise.
8753 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
8754 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
8755 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
8756 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
8757 * sysdeps/sh/crti.S: Likewise.
8758 * sysdeps/sh/crtn.S: Likewise.
8759 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8760
7b6235f2
PE
8761 [BZ #13673]
8762 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
8763 with URL.
8764 * locale/programs/locfile-kw.gperf: Likewise.
8765 * locale/programs/charmap-kw.h: Regenerated.
8766 * locale/programs/locfile-kw.h: Likewise.
8767
547b5e30
PE
8768 [BZ #13673]
8769 * intl/plural.y: Replace FSF snail mail address with URL.
8770 * intl/plural.c: Regenerated.
8771
5f0a5dae
RH
87722012-03-09 Richard Henderson <rth@twiddle.net>
8773
8774 * include/math_private.h: Remove file.
8775 * math/math_private.h: Move file ...
8776 * sysdeps/generic/math_private.h: ... here.
8777
b8c03620
RH
8778 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
8779 * sysdeps/powerpc/fpu/math_private.h: Likewise.
8780 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8781
4e234f5d 8782 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
8783 and <math_private.h>.
8784 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8785 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8786 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8787 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8788 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8789 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
8790 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8791 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8792 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8793 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8794 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8795 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8796 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8797 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8798 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8799 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8800 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8801 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8802 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8803 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8804 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8805 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8806 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8807 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8808 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8809 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8810 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8811 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8812 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8813 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8814 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8815 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8816 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8817 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8818 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8819 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8820 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8821 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8822 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8823 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8824 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
8825 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8826 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8827 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8828 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8829 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8830 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8831 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8832 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8833 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8834 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8835 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8836 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8837 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8838 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8839 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8840 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8841 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8842 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8843 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
8844 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8845 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8846 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8847 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8848 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8849 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8850 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8851 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8852 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
8853 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
8854 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8855 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8856 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8857 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8858 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
8859 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8860 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
8861 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8862 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
8863 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8864 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8865 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8866 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8867 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8868 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8869 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8870 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
8871 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8872 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8873 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8874 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8875 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8876 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8877 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8878 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8879 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8880 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8881 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8882 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8883 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8884 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8885 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8886 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8887 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8888 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8889 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8890 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8891 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8892 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8893 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8894 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8895 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8896 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8897 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8898 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8899 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8900 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8901 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8902 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8903 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8904 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8905 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8906 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8907 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
8908 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8909 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8910 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8911 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
8912 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8913 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8914 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8915 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8916 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8917 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8918 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8919 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8920 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8921 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8922 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
8923 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8924 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8925 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8926 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8927 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
8928 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
8929 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8930 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8931 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8932 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8933 * sysdeps/ieee754/k_standard.c: Likewise.
8934 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8935 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8936 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8937 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8938 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8939 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8940 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8941 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8942 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8943 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8944 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8945 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8946 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8947 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8948 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8949 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8950 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8951 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8952 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8953 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8954 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8955 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8956 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8957 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8958 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8959 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8960 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8961 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8962 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8963 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8964 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8965 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8966 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8967 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8968 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8969 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8970 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8971 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
8972 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8973 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8974 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8975 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8976 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8977 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8978 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8979 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8980 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8981 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8982 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8983 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8984 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8985 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8986 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8987 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8988 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8989 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8990 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
8991 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8992 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8993 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8994 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8995 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8996 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8997 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8998 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8999 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9000 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9001 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9002 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9003 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9004 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9005 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9006 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9007 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9008 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9009 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9010 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
9011 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9012 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9013 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9014 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9015 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9016 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9017 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9018 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9019 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9020 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9021 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9022 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9023 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9024 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
9025 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9026 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9027 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9028 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9029 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9030 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
9031 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9032 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9033 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
9034 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9035 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9036 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9037 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9038 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
9039 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9040 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9041 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9042 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
9043 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9044 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9045 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9046 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9047 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9048 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9049 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9050 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9051 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9052 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9053 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9054 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9055 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9056 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9057 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9058 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9059 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9060 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9061 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9062 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9063 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9064 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9065 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9066 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9067 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9068 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9069 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9070 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
9071 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9072 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9073 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9074 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9075 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9076 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9077 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9078 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9079 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9080 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9081 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9082 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9083 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
9084 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9085 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9086 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9087 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9088 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
9089 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
9090 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9091 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9092 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9093 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9094 * sysdeps/ieee754/s_lib_version.c: Likewise.
9095 * sysdeps/ieee754/s_matherr.c: Likewise.
9096 * sysdeps/ieee754/s_signgam.c: Likewise.
9097 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9098 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9099 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9100 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9101 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9102 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9103 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
9104 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
9105 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
9106 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9107 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9108 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9109 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9110 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9111 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
9112 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9113 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9114 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9115 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9116 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9117 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 9118
1991fa03
JM
91192012-03-09 Joseph Myers <joseph@codesourcery.com>
9120
9121 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
9122 * sunrpc/rpc_main.c: Likewise.
9123 * sunrpc/rpc_svcout.c: Likewise.
9124
60d6f5a6
DM
91252012-03-09 David S. Miller <davem@davemloft.net>
9126
9127 * include/math_private.h: New file.
9128
4962050e
JM
91292012-03-09 Joseph Myers <joseph@codesourcery.com>
9130
02a6f887
JM
9131 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
9132 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
9133 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
9134 from <bits/socket_type.h>.
9135 (enum __socket_type): Don't define here.
9136 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
9137 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9138 bits/socket_type.h.
9139
c6e013c1
JM
9140 [BZ #13566]
9141 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
9142 checking __USE_GNU.
9143
4962050e
JM
9144 * Makerules ($(inst_includedir)/%.h): New rule.
9145 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
9146 (install-others): Remove variable setting.
9147 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
9148
38842f45
RH
91492012-03-08 Richard Henderson <rth@twiddle.net>
9150
67bb6da6
RH
9151 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
9152 from macro to inline function; merge with the
9153 !__LIBC_INTERNAL_MATH_INLINES version.
9154 (__ieee754_sqrtf): Likewise.
9155
15194b4b
RH
9156 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
9157 to inline function.
9158 (__rintf, __floor, __floorf): Likewise.
9159
64e21ede
RH
9160 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
9161 macro to inline function.
9162 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
9163
38842f45
RH
9164 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
9165 not <math/math_private.h>.
9166
c64bf5fe
DM
91672012-03-08 David S. Miller <davem@davemloft.net>
9168
9169 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
9170 copyright year.
9171 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9172
82d86f28
TS
91732012-03-08 Thomas Schwinge <thomas@codesourcery.com>
9174
9175 * resolv/gai_misc.c (handle_requests): Fix struct timespec
9176 normalization.
9177 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
9178 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9179
aea5d727
UD
91802012-03-08 Ulrich Drepper <drepper@gmail.com>
9181
9182 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
9183 be defined individually, they must be defined as a block. Define
9184 S for printing a string instead of hidint the different by using a
9185 macro for adding the 'l'.
9186 * stdio-common/tst-fphex-wide.c: Adjust.
9187
70bca0a3
MP
91882012-03-07 Marek Polacek <polacek@redhat.com>
9189
9190 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
9191
65b81130
MP
91922012-03-08 Marek Polacek <polacek@redhat.com>
9193
9194 [BZ #13806]
9195 * stdio-common/Makefile (tests): Add tst-fphex-wide.
9196 * stdio-common/tst-fphex.c: Define a few macros to make the
9197 test reusable. Use them.
9198 * stdio-common/tst-fphex-wide.c: New file.
9199
07037eeb
JM
92002012-03-08 Joseph Myers <joseph@codesourcery.com>
9201
a7a93d50
JM
9202 [BZ #6911]
9203 * manual/macros.texi (gnusystems): New macro.
9204 (nongnusystems): Likewise.
9205 (gnulinuxhurdsystems): Likewise.
9206 (gnuhurdsystems): Likewise..
9207 (gnulinuxsystems): Likewise.
9208 * manual/charset.texi: Use new macros or @theglibc{} to refer to
9209 variants of the GNU system, not "GNU system".
9210 * manual/conf.texi: Likewise.
9211 * manual/errno.texi: Likewise. Update example of errno macro
9212 expansion.
9213 * manual/filesys.texi: Likewise.
9214 (getumask): Document as specific to GNU/Hurd.
9215 * manual/install.texi: Likewise. Reword some references to
9216 GNU/Linux.
9217 * manual/intro.texi: Likewise.
9218 * manual/io.texi: Likewise.
9219 (File Name Portability): Detail which constraints are inapplicable
9220 to all GNU systems and which are only inapplicable to GNU/Hurd.
9221 * manual/job.texi: Likewise.
9222 * manual/llio.texi: Likewise.
9223 (O_NOCTTY): Document as present on GNU/Linux.
9224 * manual/maint.texi: Likewise.
9225 * manual/memory.texi: Likewise.
9226 * manual/pattern.texi: Likewise.
9227 * manual/pipe.texi: Likewise.
9228 * manual/process.texi: Likewise.
9229 * manual/resource.texi: Likewise.
9230 (RUSAGE_CHILDREN): Remove statement about specifying a particular
9231 child on GNU/Hurd.
9232 * manual/setjmp.texi: Likewise.
9233 * manual/signal.texi: Likewise.
9234 * manual/startup.texi: Likewise.
9235 * manual/stdio.texi: Likewise.
9236 * manual/terminal.texi: Likewise.
9237 (ONLCR): Document as POSIX.
9238 (OXTABS): Document availability on GNU/Linux as XTABS.
9239 (ONOEOT): Document availability separately from other bits.
9240 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
9241 * manual/time.texi: Likewise.
9242 * manual/users.texi: Likewise.
9243 * INSTALL: Regenerated.
9244 * sysdeps/gnu/errlist.c: Regenerated.
9245
07037eeb
JM
9246 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
9247 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
9248 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
9249 puts.
9250 * configure: Regenerated.
9251
d1d3431a
JM
92522012-03-07 Joseph Myers <joseph@codesourcery.com>
9253
af6a1e37
JM
9254 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
9255 default includes instead of AC_HEADER_CHECK.
9256 * sysdeps/i386/configure: Regenerated.
9257
d1d3431a
JM
9258 [BZ #10716]
9259 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
9260 * math/s_cacoshf.c (__cacoshf): Likewise.
9261 * math/s_cacoshl.c (__cacoshl): Likewise.
9262 * math/s_casinh.c (__casinh): Set signs of result from argument.
9263 * math/s_casinhf.c (__casinhf): Likewise.
9264 * math/s_casinhl.c (__casinhl): Likewise.
9265 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9266 (casinh_test): Add more tests.
9267 * sysdeps/i386/fpu/libm-test-ulps: Update.
9268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9269
482ff4da
UD
92702012-03-07 Ulrich Drepper <drepper@gmail.com>
9271
872fda05
UD
9272 * po/zh_TW.po: Update from translation team.
9273
a4300c7a
UD
9274 * login/Makefile (distribute): Remove variable.
9275 * catgets/Makefile: Likewise.
9276 * mach/Makefile: Likewise.
9277 * malloc/Makefile: Likewise.
9278 * misc/Makefile: Likewise.
9279 * iconv/Makefile: Likewise.
9280 * nscd/Makefile: Likewise.
9281 * hurd/Makefile: Likewise.
9282 * manual/Makefile: Likewise.
9283 * locale/Makefile: Likewise.
9284 * intl/Makefile: Likewise.
9285 * conform/Makefile: Likewise.
9286 * nss/Makefile: Likewise.
9287 * time/Makefile: Likewise.
9288 * soft-fp/Makefile: Likewise.
9289 * dirent/Makefile: Likewise.
9290 * gmon/Makefile: Likewise.
9291 * po/Makefile: Likewise.
9292 * rt/Makefile: Likewise.
9293 * socket/Makefile: Likewise.
9294 * math/Makefile: Likewise.
9295 * signal/Makefile: Likewise.
9296 * debug/Makefile: Likewise.
9297 * elf/Makefile: Likewise.
9298 * timezone/Makefile: Likewise.
9299 * stdlib/Makefile: Likewise.
9300 * iconvdata/Makefile: Likewise.
9301 * sunrpc/Makefile: Likewise.
9302 * io/Makefile: Likewise.
9303 * argp/Makefile: Likewise.
9304 * inet/Makefile: Likewise.
9305 * hesiod/Makefile: Likewise.
9306 * grp/Makefile: Likewise.
9307 * csu/Makefile: Likewise.
9308 * wctype/Makefile: Likewise.
9309 * crypt/Makefile: Likewise.
9310 * libio/Makefile: Likewise.
9311 * string/Makefile: Likewise.
9312 * nis/Makefile: Likewise.
9313 * resolv/Makefile: Likewise.
9314 * stdio-common/Makefile: Likewise.
9315 * wcsmbs/Makefile: Likewise.
9316 * dlfcn/Makefile: Likewise.
9317 * posix/Makefile: Likewise.
9318
3b7c4e74 9319 [BZ #6959]
482ff4da
UD
9320 * timezone/Makefile: Don't install timezone files, just the programs
9321 and scripts.
9322
f72ed77d
UD
93232012-03-06 Ulrich Drepper <drepper@gmail.com>
9324
a000466f
UD
9325 * nss/databases.def: Add missing gshadow entry.
9326
f72ed77d
UD
9327 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
9328
a53b7a4e
MP
93292012-03-06 Marek Polacek <polacek@redhat.com>
9330
9331 [BZ #13726]
9332 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9333 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9334 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9335 * stdio-common/tst-long-dbl-fphex.c: New file.
9336
e9258400
DM
93372012-03-06 David S. Miller <davem@davemloft.net>
9338
9339 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9340 (set_obp_int): New function.
9341 (get_obp_int): New function.
9342 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
9343 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9344 Avoid unused variable warnings on 'val' and use builtin_expect.
9345 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9346 __builtin_expect.
e9258400
DM
9347 (INLINE_CLONE_SYSCALL): Likewise.
9348
3bd2c723
DM
93492012-03-05 David S. Miller <davem@davemloft.net>
9350
9351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9352
bbb78d03
AS
93532012-03-05 Andreas Schwab <schwab@linux-m68k.org>
9354
884c5db4
AS
9355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9356
bbb78d03
AS
9357 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
9358 only for |x| >= 40.
9359 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9360
1c9f702a 93612012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
9362
9363 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
9364 Replace gettimeofday with __vdso_gettimeofday.
9365
7be16f82
RM
9366 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9367 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
9368 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
9369
9370 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
9371 time with __vdso_time.
9372
ed58a00f
JM
93732012-03-05 Joseph Myers <joseph@codesourcery.com>
9374
9375 * manual/lang.texi (size_t): Note types to which size_t may be
9376 equivalent with the GNU C Library, but do not describe when
9377 differences between them are significant.
9378
30ee4ced
AJ
93792012-03-05 Andreas Jaeger <aj@suse.de>
9380
9381 * sysdeps/i386/fpu/libm-test-ulps: Update.
9382
b7cd39e8
JM
93832012-03-05 Joseph Myers <joseph@codesourcery.com>
9384
9385 [BZ #3976]
9386 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
9387 (__ieee754_pow): Save and restore rounding mode and use
9388 round-to-nearest for main computations.
9389 * math/libm-test.inc (pow_test_tonearest): New function.
9390 (pow_test_towardzero): Likewise.
9391 (pow_test_downward): Likewise.
9392 (pow_test_upward): Likewise.
9393 (main): Call the new functions.
9394 * sysdeps/i386/fpu/libm-test-ulps: Update.
9395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
9396
9397 [BZ #3976]
9398 * math/libm-test.inc (cosh_test_tonearest): New function.
9399 (cosh_test_towardzero): Likewise.
9400 (cosh_test_downward): Likewise.
9401 (cosh_test_upward): Likewise.
9402 (sinh_test_tonearest): Likewise.
9403 (sinh_test_towardzero): Likewise.
9404 (sinh_test_downward): Likewise.
9405 (sinh_test_upward): Likewise.
9406 (main): Call the new functions.
9407 * sysdeps/i386/fpu/libm-test-ulps: Update.
9408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9409
6c6a98c9
TV
94102012-03-05 Tom de Vries <tom@codesourcery.com>
9411
9412 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
9413 default stack guard is set in last bytes.
9414 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
9415
21bb2d2e 94162012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 9417
21bb2d2e 9418 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 9419
21bb2d2e
AJ
9420 [BZ #13656]
9421 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
9422 possibly allocate from heap instead of stack.
9423 * stdio-common/bug-vfprintf-nargs.c: New file.
9424 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 9425
c6922934
AS
94262012-03-03 Andreas Schwab <schwab@linux-m68k.org>
9427
9428 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9429
bc957d53
MP
94302012-03-03 Marek Polacek <polacek@redhat.com>
9431
9432 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
9433 * math/math_private.h: Likewise.
9434 * stdlib/tst-strtod.c: Likewise.
9435 * sysdeps/i386/i486/bits/atomic.h: Likewise.
9436 * sysdeps/x86_64/bits/atomic.h: Likewise.
9437
6358490d
DM
94382012-03-02 David S. Miller <davem@davemloft.net>
9439
9440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
9441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
9442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
9443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
9444 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
9445 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
9446 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
9447 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
9448
01ae168d
RM
94492012-03-02 Roland McGrath <roland@hack.frob.com>
9450
d9a17c07
RM
9451 [BZ #13792]
9452 * manual/examples/README: New file, says the example source files
9453 can be used under GPL>=2.
9454 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
9455 line containing just "*/".
9456 * manual/examples/add.c: Add copyright header (GPL>=2).
9457 * manual/examples/argp-ex1.c: Likewise.
9458 * manual/examples/argp-ex2.c: Likewise.
9459 * manual/examples/argp-ex3.c: Likewise.
9460 * manual/examples/argp-ex4.c: Likewise.
9461 * manual/examples/atexit.c: Likewise.
9462 * manual/examples/db.c: Likewise.
9463 * manual/examples/dir.c: Likewise.
9464 * manual/examples/dir2.c: Likewise.
9465 * manual/examples/execinfo.c: Likewise.
9466 * manual/examples/filecli.c: Likewise.
9467 * manual/examples/filesrv.c: Likewise.
9468 * manual/examples/fmtmsgexpl.c: Likewise.
9469 * manual/examples/genpass.c: Likewise.
9470 * manual/examples/inetcli.c: Likewise.
9471 * manual/examples/inetsrv.c: Likewise.
9472 * manual/examples/isockad.c: Likewise.
9473 * manual/examples/longopt.c: Likewise.
9474 * manual/examples/memopen.c: Likewise.
9475 * manual/examples/memstrm.c: Likewise.
9476 * manual/examples/mkfsock.c: Likewise.
9477 * manual/examples/mkisock.c: Likewise.
9478 * manual/examples/mygetpass.c: Likewise.
9479 * manual/examples/pipe.c: Likewise.
9480 * manual/examples/popen.c: Likewise.
9481 * manual/examples/rprintf.c: Likewise.
9482 * manual/examples/search.c: Likewise.
9483 * manual/examples/select.c: Likewise.
9484 * manual/examples/setjmp.c: Likewise.
9485 * manual/examples/sigh1.c: Likewise.
9486 * manual/examples/sigusr.c: Likewise.
9487 * manual/examples/stpcpy.c: Likewise.
9488 * manual/examples/strdupa.c: Likewise.
9489 * manual/examples/strftim.c: Likewise.
9490 * manual/examples/strncat.c: Likewise.
9491 * manual/examples/subopt.c: Likewise.
9492 * manual/examples/swapcontext.c: Likewise.
9493 * manual/examples/termios.c: Likewise.
9494 * manual/examples/testopt.c: Likewise.
9495 * manual/examples/testpass.c: Likewise.
9496 * manual/examples/timeval_subtract.c: Likewise.
9497
01ae168d
RM
9498 [BZ #13792]
9499 * manual/time.texi (Elapsed Time): Move timeval_subtract example
9500 function to ...
9501 * manual/timeval_subtract.c.texi: ... here, new file.
9502
49efa33d
DM
95032012-03-02 David S. Miller <davem@davemloft.net>
9504
9505 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
9506
28afd92d
JM
95072012-03-02 Joseph Myers <joseph@codesourcery.com>
9508
804360ed
JM
9509 [BZ #3976]
9510 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
9511 (__sin): Save and restore rounding mode and use round-to-nearest
9512 for all computations.
9513 (__cos): Save and restore rounding mode and use round-to-nearest
9514 for all computations.
9515 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
9516 <fenv.h>.
9517 (tan): Save and restore rounding mode and use round-to-nearest for
9518 all computations.
9519 * math/libm-test.inc (cos_test_tonearest): New function.
9520 (cos_test_towardzero): Likewise.
9521 (cos_test_downward): Likewise.
9522 (cos_test_upward): Likewise.
9523 (sin_test_tonearest): Likewise.
9524 (sin_test_towardzero): Likewise.
9525 (sin_test_downward): Likewise.
9526 (sin_test_upward): Likewise.
9527 (tan_test_tonearest): Likewise.
9528 (tan_test_towardzero): Likewise.
9529 (tan_test_downward): Likewise.
9530 (tan_test_upward): Likewise.
9531 (main): Call the new functions.
9532 * sysdeps/i386/fpu/libm-test-ulps: Update.
9533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9534
a6d06d7b
JM
9535 [BZ #10135]
9536 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
9537 small n, then large n, before computing and testing k+n.
9538 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9539 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9540 Likewise.
9541 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9542 Likewise.
9543 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
9544 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9545 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9546 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9547 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9548 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9549 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9550 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
9551 * math/libm-test.inc (scalbn_test): Add more tests.
9552 (scalbln_test): Likewise.
9553
07e12bb3
JM
9554 * manual/filesys.texi (mode_t): Describe constraints on size and
9555 signedness, not exact equivalence to a particular type.
9556 (ino_t): Likewise.
9557 (ino64_t): Likewise.
9558 (dev_t): Likewise.
9559 (nlink_t): Likewise.
9560 (blkcnt_t): Likewise.
9561 (blkcnt64_t): Likewise.
9562 * manual/llio.texi (off_t): Likewise.
9563
28afd92d
JM
9564 [BZ #3976]
9565 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
9566 (__ieee754_exp): Save and restore rounding mode and use
9567 round-to-nearest for all computations.
9568 * math/libm-test.inc (exp_test_tonearest): New function.
9569 (exp_test_towardzero): Likewise.
9570 (exp_test_downward): Likewise.
9571 (exp_test_upward): Likewise.
9572 (main): Call the new functions.
9573 * sysdeps/i386/fpu/libm-test-ulps: Update.
9574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9575
b1eeb65d
CD
95762012-03-01 Chris Demetriou <cgd@google.com>
9577
9578 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
9579 have predictable order.
9580
53362a4b
DM
95812012-03-01 David S. Miller <davem@davemloft.net>
9582
3c969083
DM
9583 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
9584
759707de
DM
9585 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
9586 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
9587 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
9588 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
9589
dfdb8ff2
DM
9590 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
9591 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
9592 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
9593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
9594 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
9595 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
9596 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
9597 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
9598 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
9599
ead89f96
DM
9600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9601
7f66bd07
DM
9602 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
9603 * sysdeps/sparc/fpu/libm-test-ulps: to here.
9604 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
9605
53362a4b
DM
9606 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
9607 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9608 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9609 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9610 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9611 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9612 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9613 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9614 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9615 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9616 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9617 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9618 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9619 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9620 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9621 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9622 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
9623 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
9624 * sysdeps/sparc/elf/configure: Regenerated.
9625
7b1902cb
JM
96262012-03-01 Joseph Myers <joseph@codesourcery.com>
9627
bec039bc
JM
9628 * configure.in (AS, LD): Require binutils 2.20 or later.
9629 * configure: Regenerated.
9630 * manual/install.texi (Tools for Compilation): Give binutils 2.20
9631 as required minimum version.
9632 * INSTALL: Regenerated.
9633
7b1902cb
JM
9634 [BZ #2541]
9635 [BZ #4108]
9636 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
9637 before squaring exponent.
9638 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
9639 bottom long double and 27 bits of top long double before squaring
9640 exponent.
9641 * math/libm-test.inc (erfc_test): Add more tests.
9642 * sysdeps/i386/fpu/libm-test-ulps: Update.
9643 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9645
f775c276
KT
96462012-03-01 Kai Tietz <ktietz@redhat.com>
9647
9648 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
9649 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
9650 containing bit-fields.
9651 * soft-fp/extended.h (_FP_UNION_E): Likewise.
9652 * soft-fp/single.h (_FP_UNION_S): Likewise.
9653 * soft-fp/double.h (_FP_UNION_D): Likewise.
9654
5b8a4d4a
JM
96552012-02-29 Joseph Myers <joseph@codesourcery.com>
9656
0bab47b6
JM
9657 [BZ #13786]
9658 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
9659 not include ../strcmp.S.
9660 [USE_AS_STRNCASECMP_L]: Likewise.
9661 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
9662 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
9663 * sysdeps/i386/i686/multiarch/strncase_l-c.c
9664 (__strncasecmp_l_ia32): Define as alias to
9665 __strncasecmp_l_nonascii.
9666
0fcad3e2
JM
9667 [BZ #5794]
9668 * math/libm-test.inc (expm1_test): Add test for bug 5794.
9669 * sysdeps/i386/fpu/libm-test-ulps: Update.
9670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9671
5b8a4d4a
JM
9672 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
9673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9674
8fdceb2e
JL
96752012-02-29 Jeff Law <law@redhat.com>
9676
9677 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
9678 out of bounds read.
9679
1f393a11
MP
96802012-02-29 Marek Polacek <polacek@redhat.com>
9681
9682 [BZ #13706]
9683 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
9684 * elf/Makefile: Add rules to run tst-unused-dep.out.
9685
8847f037
DM
96862012-02-28 David S. Miller <davem@davemloft.net>
9687
9688 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
9689 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
9690 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
9691 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
9692 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
9693 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
9694
169d7f11
JM
96952012-02-29 Joseph Myers <joseph@codesourcery.com>
9696
9697 * math/libm-test.inc (llround_test): Move one test from
9698 lround_test. Use TEST_f_L in moved test.
9699 (lround_test): Move misplaced test to llround_test. Add testcase
9700 from bug 2561.
9701
39adf059
UD
97022012-02-28 Ulrich Drepper <drepper@gmail.com>
9703
9704 * sysdeps/x86_64/fpu/e_expf.S: New file.
9705 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
9706
71b5d1c5
SB
97072012-02-28 Stanislav Brabec <sbrabec@suse.cz>
9708
9709 [BZ #13637]
9710 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
9711 of remain_len that may cause incomplete multi-byte character and
9712 false match.
9713 * posix/bug-regex33.c: New file.
9714 * posix/Makefile (tests): Add bug-regex33.
9715
1f77f049
JM
97162012-02-28 Joseph Myers <joseph@codesourcery.com>
9717
9718 * manual/macros.texi: New file.
9719 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
9720 * manual/libc.texinfo: Include macros.texi.
9721 * manual/creatute.texi: Likewise.
9722 * manual/install.texi: Likewise.
9723 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
9724 @glibcadj{} in references to the GNU C Library.
9725 * manual/charset.texi: Likewise.
9726 * manual/conf.texi: Likewise.
9727 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
9728 when not using those macros.
9729 * manual/creature.texi: Likewise.
9730 * manual/crypt.texi: Likewise.
9731 * manual/errno.texi: Likewise.
9732 * manual/filesys.texi: Likewise.
9733 * manual/header.texi: Likewise.
9734 * manual/install.texi: Likewise.
9735 * manual/intro.texi: Likewise.
9736 * manual/io.texi: Likewise.
9737 * manual/job.texi: Likewise.
9738 * manual/lang.texi: Likewise.
9739 * manual/libc.texiinfo: Likewise.
9740 * manual/llio.texi: Likewise.
9741 * manual/locale.texi: Likewise.
9742 * manual/maint.texi: Likewise.
9743 * manual/math.texi: Likewise.
9744 * manual/memory.texi: Likewise.
9745 * manual/message.texi: Likewise.
9746 * manual/nss.texi: Likewise.
9747 * manual/pattern.texi: Likewise.
9748 * manual/process.texi: Likewise.
9749 * manual/resource.texi: Likewise.
9750 * manual/search.texi: Likewise.
9751 * manual/setjmp.texi: Likewise.
9752 * manual/signal.texi: Likewise.
9753 * manual/socket.texi: Likewise.
9754 * manual/startup.texi: Likewise.
9755 * manual/stdio.texi: Likewise.
9756 * manual/string.texi: Likewise.
9757 * manual/sysinfo.texi: Likewise.
9758 * manual/syslog.texi: Likewise.
9759 * manual/terminal.texi: Likewise.
9760 * manual/time.texi: Likewise.
9761 * manual/users.texi: Likewise.
9762 * INSTALL: Regenerated.
9763 * NOTES: Regenerated.
d40c5d54 9764 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 9765
450bf206
AS
97662012-02-28 Andreas Schwab <schwab@linux-m68k.org>
9767
9768 * include/dirent.h: Include <dirstream.h> before
9769 <dirent/dirent.h>.
9770
741a235b
DM
97712012-02-28 David S. Miller <davem@davemloft.net>
9772
9773 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
9774 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
9775 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
9776 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
9777
d6b5aa58
DM
97782012-02-27 David S. Miller <davem@davemloft.net>
9779
1aff59a3
DM
9780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
9781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
9782 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
9783 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
9784
d6b5aa58
DM
9785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
9786 frame pointer instead of stack pointer relative arg slot.
9787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9788 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9789 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9790
433f48bf
CD
97912012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
9792
9793 [BZ #3992]
9794 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
9795
d674b76d
DM
97962012-02-27 David S. Miller <davem@davemloft.net>
9797
9798 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
9799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9800 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9801 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
9802 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9803 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9804 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
9805 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
9806
0e7727f7
JM
98072012-02-27 Joseph Myers <joseph@codesourcery.com>
9808
9809 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
9810 later. Allow versions 5-9.
43be4ca2 9811 * configure: Regenerated.
0e7727f7
JM
9812 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
9813 required minimum version and 4.6 as recommended version. Do not
9814 mention bugs in GCC 2.7 and 2.8.
43be4ca2 9815 * INSTALL: Regenerated.
0e7727f7 9816
a78bc654
DM
98172012-02-27 David S. Miller <davem@davemloft.net>
9818
428d5830
DM
9819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
9820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
9821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
9822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
9823 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
9824 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
9825 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
9826 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
9827
a78bc654
DM
9828 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
9829 manipulate bits before adding and subtracting TWO112[sx].
9830 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9831
4579f81c
RM
98322012-02-27 Roland McGrath <roland@hack.frob.com>
9833
36c8acb4
RM
9834 [BZ #13775]
9835 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
9836 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
9837 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
9838 being in POSIX, because they are in 1003.1-2008.
9839
84ad622b
RM
9840 * rt/tst-aio.c: Include <fcntl.h>.
9841 * rt/tst-aio7.c: Likewise.
9842 * rt/tst-aio64.c: Likewise.
9843
4579f81c
RM
9844 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
9845
abd923db
JM
98462012-02-27 Joseph Myers <joseph@codesourcery.com>
9847
9848 * manual/install.texi (--with-headers): Describe headers as
9849 interface headers, not private headers.
9850 (Specific advice for GNU/Linux systems): Describe use of headers
9851 from "make headers_install", not private headers from older
9852 kernels.
43be4ca2 9853 * INSTALL: Regenerated.
abd923db
JM
9854 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
9855 Change to 2.6.19.
9856 * sysdeps/unix/sysv/linux/configure: Regenerated.
9857
6664049b
JM
9858 * manual/llio.texi (fclean): Remove documentation.
9859
bb8b6697
JM
9860 * manual/Makefile (libc-texi-generated): New variable. Include
9861 version.texi.
9862 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
9863 $(libc-texi-generated), not duplicated list of files.
9864 (version.texi, stamp-version): New rules.
9865 (realclean): Remove $(libc-texi-generated), not individual files
9866 from that list. Do not remove dir-add.texinfo.
9867 * manual/libc.texinfo: Comment out uses of edition numbers and
9868 references to printed manual. Remove last-updated dates.
9869 (EDITION): Comment out.
9870 (ISBN): Likewise.
9871 (VERSION, UPDATED): Remove.
9872 (version.texi): Include.
9873
12e5c3b9
AS
98742012-02-27 Andreas Schwab <schwab@linux-m68k.org>
9875
9876 * sysdeps/posix/spawni.c: Include <signal.h>.
9877 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
9878 * sysdeps/pthread/aio_fsync.c: Likewise.
9879
4efeffc1 98802012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 9881
ba63ba08
UD
9882 * conform/Makefile (tests): Run only when not cross-compiling and
9883 when fast-check is not defined.
9884
d94a4670
UD
9885 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
9886 * conform/data/limits.h-data: Fixes for POSIX2008.
9887 * conform/run-conformtest.sh: Run all tests.
9888 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
9889 headers.
9890 * include/bits/dlfcn.h: Likewise.
9891 * include/langinfo.h: Likewise.
9892 * include/monetary.h: Likewise.
9893 * include/sys/poll.h: Likewise.
9894
9895 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
9896 for __USE_GNU.
9897 * posix/spawn.h: Define __need_sigset_t.
9898 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
9899 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
9900 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
9901 to get sigevent_t only.
9902 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
9903 only for __USE_GNU.
9904 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9905 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9906 process_vm_writev only for __USE_GNU.
9907 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
9908
9909 * conform/Makefile: For now ignore errors from run-conformtest.
9910 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
9911 POSIX to avoid namespace pollution. Don't prepend headers.
9912 * conform/data/aio.h-data: Fixes for POSIX testing.
9913 * conform/data/fcntl.h-data: Likewise.
9914 * conform/data/glob.h-data: Likewise.
9915 * conform/data/grp.h-data: Likewise.
9916 * conform/data/pthread.h-data: Likewise.
9917 * conform/data/pwd.h-data: Likewise.
9918 * conform/data/signal.h-data: Likewise.
9919 * conform/data/spawn.h-data: Likewise.
9920 * conform/data/stdio.h-data: Likewise.
9921 * conform/data/stdlib.h-data: Likewise.
9922 * conform/data/stropts.h-data: Likewise.
9923 * conform/data/sys/mman.h-data: Likewise.
9924 * conform/data/sys/stat.h-data: Likewise.
9925 * conform/data/sys/types.h-data: Likewise.
9926 * conform/data/sys/wait.h-data: Likewise.
9927 * conform/data/time.h-data: Likewise.
9928 * conform/data/unistd.h-data: Likewise.
9929 * conform/data/utime.h-data: Likewise.
9930
9931 * io/sys/stat.h: fchmod was always in POSIX.
9932 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
9933 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
9934 * rt/aio.h: Define __need_timespec before including <time.h>.
9935 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
9936 struct. Add forward declaration of pthread_attr_t and use it in
9937 sigevent.
9938 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9939 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9940 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
9941 always remove CLK_TCK definition.
9942
c20105c3
AS
99432012-02-26 Andreas Schwab <schwab@linux-m68k.org>
9944
9945 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
9946
7a270350
UD
99472012-02-25 Ulrich Drepper <drepper@gmail.com>
9948
31341567
UD
9949 * conform/run-conformtest.sh: New file.
9950 * conform/Makefile: Run run-conformtest for tests.
9951 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
9952 support.
9953
9954 * conform/data/uchar.h-data: New file.
9955 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
9956 * conform/data/arpa/inet.h-data: Likewise.
9957 * conform/data/assert.h-data: Likewise.
9958 * conform/data/complex.h-data: Likewise.
9959 * conform/data/cpio.h-data: Likewise.
9960 * conform/data/ctype.h-data: Likewise.
9961 * conform/data/dirent.h-data: Likewise.
9962 * conform/data/dlfcn.h-data: Likewise.
9963 * conform/data/errno.h-data: Likewise.
9964 * conform/data/fcntl.h-data: Likewise.
9965 * conform/data/float.h-data: Likewise.
9966 * conform/data/fmtmsg.h-data: Likewise.
9967 * conform/data/fnmatch.h-data: Likewise.
9968 * conform/data/ftw.h-data: Likewise.
9969 * conform/data/glob.h-data: Likewise.
9970 * conform/data/grp.h-data: Likewise.
9971 * conform/data/iconv.h-data: Likewise.
9972 * conform/data/inttypes.h-data: Likewise.
9973 * conform/data/langinfo.h-data: Likewise.
9974 * conform/data/libgen.h-data: Likewise.
9975 * conform/data/limits.h-data: Likewise.
9976 * conform/data/locale.h-data: Likewise.
9977 * conform/data/math.h-data: Likewise.
9978 * conform/data/monetary.h-data: Likewise.
9979 * conform/data/mqueue.h-data: Likewise.
9980 * conform/data/ndbm.h-data: Likewise.
9981 * conform/data/net/if.h-data: Likewise.
9982 * conform/data/netdb.h-data: Likewise.
9983 * conform/data/netinet/in.h-data: Likewise.
9984 * conform/data/nl_types.h-data: Likewise.
9985 * conform/data/poll.h-data: Likewise.
9986 * conform/data/pthread.h-data: Likewise.
9987 * conform/data/pwd.h-data: Likewise.
9988 * conform/data/regex.h-data: Likewise.
9989 * conform/data/sched.h-data: Likewise.
9990 * conform/data/search.h-data: Likewise.
9991 * conform/data/semaphore.h-data: Likewise.
9992 * conform/data/setjmp.h-data: Likewise.
9993 * conform/data/signal.h-data: Likewise.
9994 * conform/data/spawn.h-data: Likewise.
9995 * conform/data/stdarg.h-data: Likewise.
9996 * conform/data/stdio.h-data: Likewise.
9997 * conform/data/stdlib.h-data: Likewise.
9998 * conform/data/string.h-data: Likewise.
9999 * conform/data/strings.h-data: Likewise.
10000 * conform/data/stropts.h-data: Likewise.
10001 * conform/data/sys/ipc.h-data: Likewise.
10002 * conform/data/sys/mman.h-data: Likewise.
10003 * conform/data/sys/msg.h-data: Likewise.
10004 * conform/data/sys/resource.h-data: Likewise.
10005 * conform/data/sys/select.h-data: Likewise.
10006 * conform/data/sys/sem.h-data: Likewise.
10007 * conform/data/sys/shm.h-data: Likewise.
10008 * conform/data/sys/socket.h-data: Likewise.
10009 * conform/data/sys/stat.h-data: Likewise.
10010 * conform/data/sys/statvfs.h-data: Likewise.
10011 * conform/data/sys/time.h-data: Likewise.
10012 * conform/data/sys/timeb.h-data: Likewise.
10013 * conform/data/sys/times.h-data: Likewise.
10014 * conform/data/sys/types.h-data: Likewise.
10015 * conform/data/sys/uio.h-data: Likewise.
10016 * conform/data/sys/un.h-data: Likewise.
10017 * conform/data/sys/utsname.h-data: Likewise.
10018 * conform/data/sys/wait.h-data: Likewise.
10019 * conform/data/syslog.h-data: Likewise.
10020 * conform/data/tar.h-data: Likewise.
10021 * conform/data/termios.h-data: Likewise.
10022 * conform/data/utime.h-data: Likewise.
10023 * conform/data/utmpx.h-data: Likewise.
10024 * conform/data/varargs.h-data: Likewise.
10025 * conform/data/wchar.h-data: Likewise.
10026 * conform/data/wctype.h-data: Likewise.
10027 * conform/data/wordexp.h-data: Likewise.
10028
10029 * include/stropts.h: New file.
10030 * include/uchar.h: New file.
10031 * include/aio.h: Changes to allow conformtest.pl to use the headers.
10032 * include/assert.h: Likewise.
10033 * include/ctype.h: Likewise.
10034 * include/dirent.h: Likewise.
10035 * include/dlfcn.h: Likewise.
10036 * include/fcntl.h: Likewise.
10037 * include/fnmatch.h: Likewise.
10038 * include/glob.h: Likewise.
10039 * include/grp.h: Likewise.
10040 * include/libio.h: Likewise.
10041 * include/locale.h: Likewise.
10042 * include/math.h: Likewise.
10043 * include/net/if.h: Likewise.
10044 * include/netdb.h: Likewise.
10045 * include/netinet/in.h: Likewise.
10046 * include/pthread.h: Likewise.
10047 * include/pwd.h: Likewise.
10048 * include/regex.h: Likewise.
10049 * include/sched.h: Likewise.
10050 * include/search.h: Likewise.
10051 * include/setjmp.h: Likewise.
10052 * include/signal.h: Likewise.
10053 * include/stdio.h: Likewise.
10054 * include/stdlib.h: Likewise.
10055 * include/string.h: Likewise.
10056 * include/sys/cdefs.h: Likewise.
10057 * include/sys/mman.h: Likewise.
10058 * include/sys/msg.h: Likewise.
10059 * include/sys/resource.h: Likewise.
10060 * include/sys/select.h: Likewise.
10061 * include/sys/socket.h: Likewise.
10062 * include/sys/stat.h: Likewise.
10063 * include/sys/statvfs.h: Likewise.
10064 * include/sys/time.h: Likewise.
10065 * include/sys/times.h: Likewise.
10066 * include/sys/uio.h: Likewise.
10067 * include/sys/utsname.h: Likewise.
10068 * include/sys/wait.h: Likewise.
10069 * include/termios.h: Likewise.
10070 * include/time.h: Likewise.
10071 * include/ulimit.h: Likewise.
10072 * include/unistd.h: Likewise.
10073 * include/utime.h: Likewise.
10074 * include/wchar.h: Likewise.
10075 * include/wctype.h: Likewise.
10076 * include/wordexp.h: Likewise.
10077
10078 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
10079
7a270350
UD
10080 * time/time.h: TIME_UTC must be a macro.
10081 Make timespec_get available for ISO C11 only as well.
10082
7724defc
UD
100832012-02-24 Ulrich Drepper <drepper@gmail.com>
10084
10085 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
10086 Reported by Peng Haitao <penght@cn.fujitsu.com>.
10087
6b1d1d46
JM
100882012-02-24 Joseph Myers <joseph@codesourcery.com>
10089
10090 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 10091
0f8bbd69
JM
100922012-02-24 Joseph Myers <joseph@codesourcery.com>
10093
10094 * manual/texinfo.tex: Update to version 2012-01-19.16.
10095
66ab80bc
JM
100962012-02-24 Joseph Myers <joseph@codesourcery.com>
10097
10098 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
10099
74981cc5
RM
101002012-02-24 Roland McGrath <roland@hack.frob.com>
10101
ee968201
RM
10102 [BZ #13738]
10103 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
10104 * manual/fdl-1.3.texi: New file.
10105 * manual/fdl-1.1.texi: File removed.
10106
74981cc5
RM
10107 [BZ #13738]
10108 * manual/libc.texinfo (FDL_VERSION): New @set.
10109 Use it for mention of FDL in cover text.
10110 (Documentation License): Use it in @include file name.
10111
7bb764bc
JM
101122012-02-22 Joseph Myers <joseph@codesourcery.com>
10113 Roland McGrath <roland@hack.frob.com>
10114
10115 [BZ #5461]
10116 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
10117 not LONG_LONG_MAX and LONG_LONG_MIN.
10118 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
10119 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
10120 name.
10121 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
10122
6cbeae47
JM
101232012-02-22 Joseph Myers <joseph@codesourcery.com>
10124
10125 [BZ #2547]
10126 [BZ #11365]
10127 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
10128 manipulate bits before adding and subtracting TWO23[sx].
10129 * math/libm-test.inc (nearbyint_test): Add more tests.
10130
fe45ce09
JM
101312012-02-22 Joseph Myers <joseph@codesourcery.com>
10132
10133 [BZ #2548]
10134 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
10135 bits before adding and subtracting TWO23[sx].
10136 * math/libm-test.inc (rint_test): Add more tests.
10137 (rint_test_tonearest): Likewise.
10138 (rint_test_towardzero): Likewise.
10139 (rint_test_downward): Likewise.
10140 (rint_test_upward: Likewise.
10141
ff3b3d82
JM
101422012-02-22 Joseph Myers <joseph@codesourcery.com>
10143
10144 [BZ #10110]
10145 * include/stdc-predef.h: New file. Extracted from features.h.
10146 * include/features.h: Include stdc-predef.h.
10147 * Makefile (headers): Add stdc-predef.h.
10148 * CONFORMANCE (Compiler limitations): Update.
10149
ef0aab35
JM
101502012-02-22 Joseph Myers <joseph@codesourcery.com>
10151
10152 * manual/libc.texinfo (VERSION, UPDATED): Revert.
10153
58639409
DM
101542012-02-21 David S. Miller <davem@davemloft.net>
10155
10156 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
10157 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10158
c0e70b25
DM
101592012-02-20 David S. Miller <davem@davemloft.net>
10160
10161 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
10162 using a normal save/restore sequence, rather than allocating a
10163 dummy stack frame just to store a frame pointer and restore.
10164 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10165
fb06851d
JM
101662012-02-21 Joseph Myers <joseph@codesourcery.com>
10167
10168 * manual/install.texi: Fix stray word in line-wrapped comment.
10169
7a8b71c3
DM
101702012-02-20 David S. Miller <davem@davemloft.net>
10171
d510c123
DM
10172 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
10173 both binutils and gcc support GOTDATA.
10174
0722d7c2
DM
10175 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
10176 "rd %pc" in the PIC register setup sequences.
10177
3d2b3019
DM
10178 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
10179 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10180 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10181 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10182 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10183 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10184 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10185 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10186 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
10187 (SYSCALL_ERROR_HANDLER): Likewise.
10188 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10189 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10190 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
10191 (SYSCALL_ERROR_HANDLER): Likewise.
10192
c80098a9
DM
10193 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
10194 (HAVE_GCC_GOTDATA): New.
10195 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
10196 relocation support in both binutils and gcc.
10197 * sysdeps/sparc/elf/configure: Regenerate.
10198
3a2545a0
DM
10199 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
10200 * sysdeps/sparc/sparc32/elf/configure: Delete.
10201 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
10202 * sysdeps/sparc/sparc64/elf/configure: Delete.
10203 * sysdeps/sparc/elf/configure.in: New file.
10204 * sysdeps/sparc/elf/configure: Generate.
10205
7a8b71c3
DM
10206 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
10207 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
10208 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10209 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
10210 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
10211
f1e86fca
JM
102122012-02-21 Joseph Myers <joseph@codesourcery.com>
10213
10214 * manual/install.texi: Do not mention specific glibc version
10215 numbers.
10216 * manual/libc.texinfo (VERSION, UPDATED): Update.
10217 (@copying): Use @copyright{} and range of years.
10218
0e7dfaef
JM
102192012-02-21 Joseph Myers <joseph@codesourcery.com>
10220
10221 [BZ #13695]
10222 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
10223 [crti.S not in sysdirs] (generated): Do not append.
10224 [crti.S not in sysdirs] (omit-deps): Likewise.
10225 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
10226 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
10227 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
10228 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
10229 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
10230 Likewise.
10231 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
10232 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
10233 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
10234 * csu/defs.awk: Remove file.
10235 * sysdeps/generic/initfini.c: Likewise.
10236 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
10237 variable.
10238 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
10239 Likewise.
10240
599af3ca
JM
102412012-02-20 Joseph Myers <joseph@codesourcery.com>
10242
10243 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
10244 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
10245 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
10246 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
10247 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10248 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
10249 <bits/epoll.h>.
10250 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
10251 (__EPOLL_PACKED): Define to empty if not defined by
10252 <bits/epoll.h>.
10253 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
10254 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10255 bits/epoll.h.
10256
0e499750
JM
102572012-02-20 Joseph Myers <joseph@codesourcery.com>
10258
10259 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
10260 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
10261 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10262 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10263 <bits/timerfd.h>.
10264 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10265 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10266 bits/timerfd.h.
10267
5ad91f6e
JM
102682012-02-20 Joseph Myers <joseph@codesourcery.com>
10269
10270 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10271 in C locale.
10272 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10273 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10274 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10276
06b99b02
AJ
102772012-02-20 Aurelien Jarno <aurelien@aurel32.net>
10278
10279 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10280 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10281
7638c0fd
AS
102822012-02-19 Andreas Schwab <schwab@linux-m68k.org>
10283
10284 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10285 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10286 defined.
10287 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10288 Likewise.
10289 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10290 entry for 2.16.
10291
92221550
AJ
102922012-02-19 Aurelien Jarno <aurelien@aurel32.net>
10293
10294 * math/w_acos.c: Use non-signaling floating-point comparisons.
10295 * math/w_acosf.c: Likewise.
10296 * math/w_acosh.c: Likewise.
10297 * math/w_acoshf.c: Likewise.
10298 * math/w_acoshl.c: Likewise.
10299 * math/w_acosl.c: Likewise.
10300 * math/w_asin.c: Likewise.
10301 * math/w_asinf.c: Likewise.
10302 * math/w_asinl.c: Likewise.
10303 * math/w_atanh.c: Likewise.
10304 * math/w_atanhf.c: Likewise.
10305 * math/w_atanhl.c: Likewise.
10306 * math/w_exp2.c: Likewise.
10307 * math/w_exp2f.c: Likewise.
10308 * math/w_exp2l.c: Likewise.
10309 * math/w_j0.c: Likewise.
10310 * math/w_j0f.c: Likewise.
10311 * math/w_j0l.c: Likewise.
10312 * math/w_j1.c: Likewise.
10313 * math/w_j1f.c: Likewise.
10314 * math/w_j1l.c: Likewise.
10315 * math/w_jn.c: Likewise.
10316 * math/w_jnf.c: Likewise.
10317 * math/w_log.c: Likewise.
10318 * math/w_log10.c: Likewise.
10319 * math/w_log10f.c: Likewise.
10320 * math/w_log10l.c: Likewise.
10321 * math/w_log2.c: Likewise.
10322 * math/w_log2f.c: Likewise.
10323 * math/w_log2l.c: Likewise.
10324 * math/w_logf.c: Likewise.
10325 * math/w_logl.c: Likewise.
10326 * math/w_sqrt.c: Likewise.
10327 * math/w_sqrtf.c: Likewise.
10328 * math/w_sqrtl.c: Likewise.
10329 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10330 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10331 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10332 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10333 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10334
ebaf36eb
JM
103352012-02-19 Joseph Myers <joseph@codesourcery.com>
10336
10337 [BZ #9739]
10338 * manual/string.texi (strnlen): Use correct parameter name in
10339 equivalent expression.
10340
71c254a6
JM
103412012-02-19 Joseph Myers <joseph@codesourcery.com>
10342
10343 [BZ #11174]
10344 * manual/users.texi (seteuid): Consistently use neweuid for
10345 argument name.
10346
16d2c631
JM
103472012-02-19 Joseph Myers <joseph@codesourcery.com>
10348
10349 [BZ #13704]
10350 * manual/nss.texi (Services in the NSS configuration): Correct
10351 list of services in example configuration file.
10352
cd837b09
NB
103532012-02-19 Nick Bowler <nbowler@draconx.ca>
10354
10355 [BZ #11322]
10356 * manual/arith.texi: Remove statements about negative zero
10357 behaving identically to zero.
10358
02c4bbad
JM
103592012-02-18 Joseph Myers <joseph@codesourcery.com>
10360
10361 [BZ #5993]
10362 * manual/install.texi: Do not document upgrading from libc5.
10363
366842e7
JM
103642012-02-18 Joseph Myers <joseph@codesourcery.com>
10365
10366 [BZ #4596]
10367 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
10368
dd54084d
DM
103692012-02-18 David S. Miller <davem@davemloft.net>
10370
10371 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
10372 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
10373 %o7 across the call.
10374 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
10375 instead.
10376 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
10377 SETUP_PIC_REG_LEAF.
10378 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10379 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
10380 * sysdeps/sparc/crtn.S: Likewise.
10381
2bcc53a3
UD
103822012-02-17 Ulrich Drepper <drepper@gmail.com>
10383
10384 * aout/Makefile: Remove.
10385
09c093b5
RK
103862012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
10387
10388 [BZ #13058]
10389 * manual/examples/argp-ex1.c (main): Format definition in GNU
10390 style.
10391 * manual/examples/argp-ex2.c (main): Likewise.
10392 * manual/examples/argp-ex3.c (main): Likewise.
10393 * manual/examples/argp-ex4.c (main): Likewise.
10394 * manual/examples/longopt.c (main): Use new-style prototype
10395 definition.
10396 * manual/examples/strncat.c (main): Specify return type and use
10397 (void) for arguments.
10398 * manual/examples/subopt.c (main): Use char **argv argument.
10399
2ee633a2
JM
104002012-02-17 Joseph Myers <joseph@codesourcery.com>
10401
10402 [BZ #5077]
10403 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
10404 rounding modes.
10405
0520adde
FB
104062012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
10407
10408 [BZ #6907]
10409 * manual/string.texi (strchr): Change when strchrnul is
10410 recommended.
10411
3f4081cd
DGM
104122012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
10413
10414 [BZ #174]
10415 * manual/locale.texi (setlocale): Document LOCPATH.
10416
d1b10e78
JM
104172012-02-17 Joseph Myers <joseph@codesourcery.com>
10418
10419 [BZ #10210]
10420 * manual/process.texi (execle): Move @dots{} before last argument.
10421
79c6869c
PB
104222012-02-17 Paul Bolle <pebolle@tiscali.nl>
10423
10424 [BZ #12047]
10425 * manual/charset.texi (Generic Charset Conversion): Fix typo
10426 (LC_TYPE -> LC_CTYPE).
10427
cc6e48bc
NB
104282012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
10429
10430 [BZ #5805]
10431 * manual/arith.texi (scalbn): Use @var{} on parameter names.
10432 (scalbnf): Likewise.
10433 (scalbnl): Likewise.
10434 (scalbln): Likewise.
10435 (scalblnf): Likewise.
10436 (scalblnl): Likewise.
10437 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
10438 (vwarnx): Likewise.
10439 (verr): Likewise.
10440 (verrx): Likewise.
10441 * manual/filesys.texi (telldir): Use braces around return type.
10442 * manual/llio.texi (mmap): Add space after comma.
10443 (mmap64): Likewise.
10444 * manual/math.texi (jn): Use @var{} on parameter names.
10445 (jnf): Likewise.
10446 (jnl): Likewise.
10447 (yn): Likewise.
10448 (ynf): Likewise.
10449 (ynl): Likewise.
10450 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
10451 line.
10452 * manual/resource.texi (ulimit): Use @dots{} instead of literal
10453 "...".
10454 (sched_get_priority_min): Remove semicolon on @deftypefun line.
10455 (sched_get_priority_max): Likewise.
10456 * manual/signal.texi (sigvec): Add space after comma.
10457 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
10458 names.
10459 (if_indextoname): Likewise.
10460 (if_freenameindex): Likewise.
10461 (sendto): Use ',' instead of '.' in prototype.
10462 * manual/startup.texi (syscall): Use @dots{} instead of literal
10463 "...".
10464 * manual/stdio.texi (__fpending): Separate initial words of
10465 paragraph from @deftypefun line.
10466 * manual/syslog.texi (syslog): Use @dots{} instead of literal
10467 "...".
10468 (vsyslog): Use @var{} on parameter names.
10469 * manual/terminal.texi (stty): Use @var{} on parameter names.
10470 * manual/users.texi (getutmp): Use @var{} on parameter names.
10471 (getutmpx): Likewise.
10472
5b23062f
JM
104732012-02-17 Joseph Myers <joseph@codesourcery.com>
10474
10475 [BZ #6884]
10476 * manual/stdio.texi (fopen): Fix typos in description of
10477 ",ccs=STRING".
10478
8dee4833
AJ
104792012-02-17 Aurelien Jarno <aurelien@aurel32.net>
10480
10481 [BZ #4026]
10482 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
10483 get clock_id definition.
10484
9078ce93
TS
104852012-02-17 Thomas Schwinge <thomas@schwinge.name>
10486
10487 [BZ #4822]
10488 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
10489 (madvise): Cast every argument to void on its own.
10490
3835c55f
JM
104912012-02-17 Joseph Myers <joseph@codesourcery.com>
10492
10493 [BZ #9902]
10494 * manual/startup.texi (Exit Status): Fix typo.
10495
35c47e37
JM
104962012-02-17 Joseph Myers <joseph@codesourcery.com>
10497
10498 [BZ #10140]
10499 * manual/examples/argp-ex1.c: Include <stdlib.h>.
10500 * manual/examples/argp-ex2.c: Likewise.
10501 * manual/examples/argp-ex3.c: Likewise.
10502
e3b69ca7
RH
105032012-02-16 Richard Henderson <rth@redhat.com>
10504
10505 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
10506 * sysdeps/s390/s390-32/initfini.c: Remove.
10507 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
10508 * sysdeps/s390/s390-64/initfini.c: Remove.
10509
df83af67
KK
105102012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10511
10512 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
10513 compiler output for sysdeps/generic/initfini.c.
10514 * sysdeps/sh/elf/initfini.c: Remove file.
10515
f63f3380
DM
105162012-02-16 David S. Miller <davem@davemloft.net>
10517
fb59b3a4
DM
10518 [BZ #11494]
10519 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
10520
f63f3380
DM
10521 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
10522 * sysdeps/sparc/crti.S: New file.
10523 * sysdeps/sparc/crtn.S: New file.
10524 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
10525 * sysdeps/sparc/sparc64/Makefile: Likewise.
10526
df6a4a4a
MF
105272012-02-15 Mike Frysinger <vapier@gentoo.org>
10528
6dd8f3dc 10529 [BZ #3335]
df6a4a4a
MF
10530 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
10531
1cac7236
RM
105322012-02-15 Roland McGrath <roland@hack.frob.com>
10533
d2c736f8
RM
10534 [BZ #4822]
10535 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
10536
1cac7236
RM
10537 * mach/devstream.c (cookie_io_functions_t): Macro removed.
10538 (write, read, close): Likewise.
10539 Patch by Aurelien Jarno <aurelien@aurel32.net>.
10540
8e475601
JM
105412012-02-15 Joseph Myers <joseph@codesourcery.com>
10542
10543 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
10544 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
10545 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
10546 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
10547 <bits/signalfd.h>.
10548 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
10549 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10550 bits/signalfd.h.
10551
ed656b40
MP
105522012-02-14 Marek Polacek <polacek@redhat.com>
10553
10554 * sysdeps/x86_64/crti.S: New file.
10555 * sysdeps/x86_64/crtn.S: New file.
10556 * sysdeps/x86_64/elf/initfini.c: Remove file.
10557
2a979d3a
JM
105582012-02-13 Joseph Myers <joseph@codesourcery.com>
10559
10560 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
10561 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
10562 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
10563 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
10564 <bits/inotify.h>.
10565 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
10566 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10567 bits/inotify.h.
10568
2a418ac3
JM
105692012-02-13 Joseph Myers <joseph@codesourcery.com>
10570
10571 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
10572 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
10573 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
10574 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
10575 <bits/eventfd.h>.
10576 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
10577 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10578 bits/eventfd.h.
10579
fb779be7
TS
105802012-02-10 Thomas Schwinge <thomas@codesourcery.com>
10581
e19e83c5
RM
10582 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
10583 __feraiseexcept instead of feraiseexcept.
7c35ffed 10584
fb779be7
TS
10585 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
10586 nanosleep invocations.
10587 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
10588 strings, and add error checking for a nanosleep invocations.
10589
59ba27a6
PE
105902012-02-09 Paul Eggert <eggert@cs.ucla.edu>
10591
10592 Replace FSF snail mail address with URLs, as per GNU coding standards.
10593 Most of the snail mail addresses were wrong anyway, and omitting
10594 them makes the source code easier to maintain. Almost all of the
10595 changes are to license notices and to locale LC_IDENTIFICATION
10596 addresses, except for this one:
10597 * manual/libc.texinfo: In "Published by", give the FSF's URL,
10598 not its snail mail address.
10599
57b957eb
RH
106002012-02-09 Richard Henderson <rth@twiddle.net>
10601
af850b1c
RH
10602 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
10603 of kernel-features.h.
10604
57b957eb
RH
10605 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
10606
6b73181a
MP
106072012-02-08 Marek Polacek <polacek@redhat.com>
10608
10609 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
10610 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
10611 * sysdeps/gnu/_G_config.h: Likewise.
10612 * sysdeps/generic/_G_config.h: Likewise.
10613
26ecc33a
AS
106142012-02-08 Andreas Schwab <schwab@linux-m68k.org>
10615
6c6dbc63
AS
10616 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
10617 tests.
10618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10619
e216c012
AS
10620 * sysdeps/powerpc/powerpc32/crti.S: New file.
10621 * sysdeps/powerpc/powerpc32/crtn.S: New file.
10622 * sysdeps/powerpc/powerpc64/crti.S: New file.
10623 * sysdeps/powerpc/powerpc64/crtn.S: New file.
10624
26ecc33a
AS
10625 * Makeconfig (have-initfini): Don't set.
10626 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
10627 * configure.in (nopic_initfini): Don't substitute.
10628 * config.h.in (HAVE_INITFINI): Don't #undef.
10629 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
10630 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
10631
3add8e13
JM
106322012-02-08 Joseph Myers <joseph@codesourcery.com>
10633
10634 Support crti.S and crtn.S provided directly by architectures.
10635 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
10636 [crti.S in sysdirs] (omit-deps): Likewise.
10637 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
10638 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
10639 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
10640 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
10641 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
10642 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
10643 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
10644 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
10645 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
10646 compiler output for sysdeps/generic/initfini.c.
10647 * sysdeps/i386/elf/Makefile: Remove file.
10648 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
10649
a22f12b4
MP
106502012-02-07 Marek Polacek <polacek@redhat.com>
10651
10652 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
10653 * sysdeps/gnu/_G_config.h: Likewise.
10654 * sysdeps/mach/hurd/_G_config.h: Likewise.
10655
148cf100
MP
106562012-02-07 Marek Polacek <polacek@redhat.com>
10657
10658 * math/Makefile (tests): Add tst-CMPLX2.
10659 * math/tst-CMPLX2.c: New file.
10660
cfdc0dd7
AS
106612012-02-07 Andreas Schwab <schwab@linux-m68k.org>
10662
84ba42c4
AS
10663 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10664
cfdc0dd7
AS
10665 * math/libm-test.inc (jn_test): Add missing L suffix.
10666
622c86f4
MP
106672012-02-06 Marek Polacek <polacek@redhat.com>
10668
10669 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
10670 * sysdeps/i386/fpu/e_powf.S: Likewise.
10671 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10672 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10673 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10674 * sysdeps/i386/fpu/e_pow.S: Likewise.
10675 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10676 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10677 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10678 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10679 * sysdeps/i386/fpu/e_log2.S: Likewise.
10680 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10681 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10682 * sysdeps/i386/fpu/e_powl.S: Likewise.
10683 * sysdeps/i386/fpu/s_log1p.S: Likewise.
10684 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10685 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10686 * sysdeps/i386/fpu/e_logl.S: Likewise.
10687 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10688 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
10689 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10690 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10691 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10692 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10693 * sysdeps/i386/fpu/e_log.S: Likewise.
10694 * sysdeps/i386/fpu/s_cexp.S: Likewise.
10695 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10696 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
10697 * sysdeps/i386/fpu/e_logf.S: Likewise.
10698 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10699 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10700 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
10701 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10702 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10703 * sysdeps/i386/fpu/e_log10.S: Likewise.
10704 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10705 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10706 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10707 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10708 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10709 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10710 * sysdeps/i386/asm-syntax.h: Likewise.
10711 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10712 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10713 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10714 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
10715 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
10716 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10717 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10718 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10719 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10720 * sysdeps/powerpc/sysdep.h: Likewise.
10721 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
10722 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10723
d4a54ac6
JM
107242012-02-06 Joseph Myers <joseph@codesourcery.com>
10725
10726 [BZ #411]
10727 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
10728
314054ea
JM
107292012-02-06 Joseph Myers <joseph@codesourcery.com>
10730
10731 * sysdeps/i386/sysdep.h: Include <features.h>.
10732 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
10733 version.
10734
d8e0ca50
JM
107352012-02-05 Joseph Myers <joseph@codesourcery.com>
10736
10737 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
10738 Define.
10739 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
10740 LOAD_PIC_REG_STR.
10741
b1da7dd9
JM
107422012-02-03 Joseph Myers <joseph@codesourcery.com>
10743
10744 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
10745 (SETUP_PIC_REG): Use GET_PC_THUNK.
10746 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
10747 macro.
10748
9a1d9254
JM
107492012-02-03 Joseph Myers <joseph@codesourcery.com>
10750
10751 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
10752 for non-PIC compilation.
10753 (SETUP_PIC_REG): Add .p2align directive.
10754 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
10755 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10756 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10757 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10758 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10759 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10760 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10761 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10762 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10763 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10764 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10765 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10766 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10767 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10768 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10769 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10770 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10771 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10772 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10773 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10774 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10775 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10776 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10777 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10778 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10779 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10780 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10781 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10782 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10783 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10784 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10785 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10786 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10787 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10788 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10789 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10790 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10791 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10792 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10793 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10794 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10795
65dc3b75
JM
107962012-02-03 Joseph Myers <joseph@codesourcery.com>
10797
10798 * math/tst-CMPLX.c: Include <stdio.h>.
10799
d55bf177
JM
108002012-01-31 Joseph Myers <joseph@codesourcery.com>
10801
10802 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
10803 float.
10804 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10805 * sysdeps/sparc/bits/mathdef.h: Likewise.
10806
69db4f8f
MP
108072012-01-31 Marek Polacek <polacek@redhat.com>
10808
10809 * libio/libio.h: Don't define _PARAMS.
10810 * locale/programs/config.h: Don't define PARAMS.
10811 * stdlib/strtol_l.c: Likewise.
10812 (__strtol_l): Remove PARAMS from the prototype.
10813
41b81892
UD
108142012-01-31 Ulrich Drepper <drepper@gmail.com>
10815
3b49edc0
UD
10816 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
10817 names. Just use the correct names. Remove unnecessary wrapper
10818 functions.
10819 * malloc/arena.c: Likewise.
10820 * malloc/hooks.c: Likewise.
10821
41b81892
UD
10822 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
10823 ARENA_TEST says not to. Simplify test for creation of a new arena.
10824 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
10825
27a25b6e
UD
108262012-01-30 Ulrich Drepper <drepper@gmail.com>
10827
10828 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
10829 into tail calls.
10830 (update_get_addr): New function.
10831 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
10832 GET_ADDR_MODULE parameter.
10833
c8a89e7d
JM
108342012-01-30 Joseph Myers <joseph@codesourcery.com>
10835
10836 * crypt/cert.c: Remove __STDC__ conditionals.
10837 * crypt/crypt-entry.c: Likewise.
10838 * crypt/crypt_util.c: Likewise.
10839 * libio/filedoalloc.c: Likewise.
10840 * libio/fileops.c: Likewise.
10841 * libio/genops.c: Likewise.
10842 * libio/iofclose.c: Likewise.
10843 * libio/iofdopen.c: Likewise.
10844 * libio/iofopen.c: Likewise.
10845 * libio/iofopen64.c: Likewise.
10846 * libio/iogetdelim.c: Likewise.
10847 * libio/iopopen.c: Likewise.
10848 * libio/obprintf.c: Likewise.
10849 * libio/oldfileops.c: Likewise.
10850 * libio/oldiofclose.c: Likewise.
10851 * libio/oldiofdopen.c: Likewise.
10852 * libio/oldiofopen.c: Likewise.
10853 * libio/oldiopopen.c: Likewise.
10854 * libio/wfiledoalloc.c: Likewise.
10855 * libio/wgenops.c: Likewise.
10856 * locale/programs/xmalloc.c: Likewise.
10857 * misc/syslog.c: Likewise.
10858 * stdio-common/xbug.c: Likewise.
10859 * string/memchr.c: Likewise.
10860 * string/memcmp.c: Likewise.
10861 * string/memrchr.c: Likewise.
10862 * string/rawmemchr.c: Likewise.
10863 * sysdeps/posix/getcwd.c: Likewise.
10864 * time/strftime_l.c: Likewise.
10865
3b100462
JM
108662012-01-30 Joseph Myers <joseph@codesourcery.com>
10867
10868 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
10869 * config.make.in (config-cflags-sse2avx): Define.
10870 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
10871 Fix typo.
10872
607998af
CM
108732012-01-29 Chris Metcalf <cmetcalf@tilera.com>
10874
10875 * scripts/config.guess: Update from upstream config git repository.
10876 * scripts/config.sub: Likewise.
10877
3601428f
CM
108782012-01-28 Chris Metcalf <cmetcalf@tilera.com>
10879
3ac8b282
CM
10880 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
10881 (EM_NUM): Update.
10882 (R_TILEPRO_*, R_TILEGX_*): New macros.
10883
e034841e
CM
10884 * scripts/firstversions.awk: Fix bug in version range handling.
10885
540d7568
CM
10886 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
10887
3601428f
CM
10888 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
10889
463de862
CM
10890 * include/sys/epoll.h: New file.
10891 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
10892 libc_hidden_def.
10893
73139a76
UD
108942012-01-28 Ulrich Drepper <drepper@gmail.com>
10895
96bc5b45
UD
10896 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
10897 Avoid unnecessary __WORDSIZE == 64 test.
10898 (fmaxf): Use VEX format if possible.
10899 (fmax): Likewise.
10900 (fminf): Likewise.
10901 (fmin): Likewise.
10902
56f6f6a2
UD
10903 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
10904 * math/math_private.h: Remove libc_fegetround* and
10905 libc_fesetround*.
10906 * sysdeps/i386/configure.in: Check for -msse2avx.
10907 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
10908 also if SSE2AVX is defined.
10909 Remove libc_fegetround* and libc_fesetround*.
10910 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
10911 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
10912 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
10913 of HAS_YMM_USABLE.
10914 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10915 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10916 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10917 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10918 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10919
73139a76
UD
10920 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
10921
d73f93a4
AZ
109222012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10923
10924 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
10925 size is not set.
10926 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10927
6ee65ed6
UD
109282012-01-27 Ulrich Drepper <drepper@gmail.com>
10929
10930 [BZ #13618]
10931 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
10932 relocation.
10933 * Makeconfig (libm): Define.
10934 * elf/Makefile: Add rules to build and run tst-relsort1.
10935 * elf/tst-relsort1.c: New file.
10936 * elf/tst-relsort1mod1.c: New file.
10937 * elf/tst-relsort1mod2.c: New file.
10938
8db21882
JM
109392012-01-27 Joseph Myers <joseph@codesourcery.com>
10940
10941 * math/s_ldexp.c: Remove __STDC__ conditionals.
10942 * math/s_ldexpf.c: Likewise.
10943 * math/s_ldexpl.c: Likewise.
10944 * math/s_nextafter.c: Likewise.
10945 * math/s_nexttowardf.c: Likewise.
10946 * math/s_significand.c: Likewise.
10947 * math/s_significandf.c: Likewise.
10948 * math/s_significandl.c: Likewise.
10949 * math/w_jnl.c: Likewise.
10950 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10951 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10952 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10953 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10954 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10955 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10956 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
10957 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10958 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10959 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10960 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10961 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10962 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10963 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10964 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10965 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10966 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10967 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10968 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10969 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10970 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10971 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10972 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10973 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10974 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10975 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10976 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10977 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10978 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10979 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10980 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10981 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10982 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10983 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10984 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10985 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10986 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10987 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10988 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10989 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10990 * sysdeps/ieee754/k_standard.c: Likewise.
10991 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10992 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10993 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10994 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10995 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10996 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10997 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10998 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10999 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11000 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11001 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11002 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11003 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11004 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11005 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11006 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11007 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11008 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11009 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11010 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11011 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11012 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11013 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11014 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11015 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11016 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11017 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11018 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11019 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11020 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11021 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11022 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11023 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11024 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11025 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11026 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11027 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11028 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11029 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11030 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11031 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11032 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11033 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11034 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11035 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11036 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11037 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11038 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11039 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11040 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11041 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11042 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11043 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11044 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11045 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11046 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11047 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11048 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11049 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11050 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11051 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11052 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11053 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11054 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11055 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11056 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11057 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11058 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11059 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11060 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11061 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11062 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11063 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11064 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11065 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11066 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11067 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11068 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11069 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11070 * sysdeps/ieee754/s_matherr.c: Likewise.
11071 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11072 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11073 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11074 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11075
965a54a4
JM
110762012-01-26 Joseph Myers <joseph@codesourcery.com>
11077
11078 * crypt/md5.h: Remove __STDC__ conditionals.
11079 * libio/libioP.h: Likewise.
11080 * locale/programs/config.h: Likewise.
11081 * sysdeps/generic/sysdep.h: Likewise.
11082 * sysdeps/i386/asm-syntax.h: Likewise.
11083 * sysdeps/s390/asm-syntax.h: Likewise.
11084 * sysdeps/unix/sysdep.h: Likewise.
11085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11087
7071ad79
JM
110882012-01-26 Joseph Myers <joseph@codesourcery.com>
11089
11090 * libio/libio.h: Remove __STDC__ conditionals.
11091 * malloc/obstack.h: Likewise.
11092 * math/complex.h: Likewise.
11093 * math/math.h: Likewise.
11094 * sysdeps/generic/_G_config.h: Likewise.
11095 * sysdeps/gnu/_G_config.h: Likewise.
11096 * sysdeps/mach/hurd/_G_config.h: Likewise.
11097 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11098 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11099 * sysdeps/sparc/bits/mathdef.h: Likewise.
11100
afc5ed09
UD
111012012-01-26 Ulrich Drepper <drepper@gmail.com>
11102
11103 [BZ #13583]
11104 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 11105 Clean up HAS_* macros.
afc5ed09 11106 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
11107 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
11108 possible.
11109 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
11110 HAS_AVX.
11111 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11112 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11113 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11114 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11115 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 11116
bdb6de1d
JM
111172012-01-25 Joseph Myers <joseph@codesourcery.com>
11118
11119 * elf/tst-unique3.cc (gets): Remove declaration.
11120 * elf/tst-unique3lib.cc (gets): Likewise.
11121 * elf/tst-unique3lib2.cc (gets): Likewise.
11122 * elf/tst-unique4.cc (gets): Likewise.
11123
b15549e6
UD
111242012-01-24 Ulrich Drepper <drepper@gmail.com>
11125
11126 * include/stdio.h: Add C++ protection. Add gets declarations and
11127 definitions.
11128 * debug/tst-chk1.c: Don't declare gets here.
11129 * stdio-common/tst-gets.c: Likewise.
11130
a037381f
JM
111312012-01-24 Joseph Myers <joseph@codesourcery.com>
11132
11133 * posix/glob: Remove directory.
11134
f1d4aa75
JM
111352012-01-24 Joseph Myers <joseph@codesourcery.com>
11136
11137 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
11138
81c0c964
PT
111392012-01-22 Pino Toscano <toscano.pino@tiscali.it>
11140
11141 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
11142 of the non-standard EPFNOSUPPORT.
11143
0ea698ae
ST
111442011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
11145
11146 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
11147 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
11148 ANYWHERE set to 1 only on KERN_NO_SPACE error.
11149
d220b117
UD
111502012-01-21 Ulrich Drepper <drepper@gmail.com>
11151
11152 * wcsmbs/uchar.h: Test __STDC_VERSION__.
11153
3e1aa84e
UD
111542012-01-20 Ulrich Drepper <drepper@gmail.com>
11155
11156 * nscd/aicache.c (addhstaiX): Do not cache negative results of
11157 transient errors.
11158 * nscd/grpcache.c (cache_addgr): Likewise.
11159 * nscd/hstcache.c (cache_addhst): Likewise.
11160 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11161 * nscd/pwdcache.c (cache_addpw): Likewise.
11162 * nscd/servicescache.c (cache_addserv): Likewise.
11163
400aa020
UD
111642012-01-16 Ulrich Drepper <drepper@gmail.com>
11165
d77e7869
UD
11166 * malloc/malloc.c: Various cleanups.
11167 * malloc/hooks.c: Likewise.
11168
400aa020
UD
11169 * stdlib/Makefile (tests): Add bug-fmtmsg1.
11170 * stdlib/bug-fmtmsg1.c: New file.
11171
11172 * stdlib/fmtmsg.c (init): Add missing unlock.
11173 Patch by Peng Haitao <penght@cn.fujitsu.com>.
11174
e0a309cf
MP
111752012-01-12 Marek Polacek <polacek@redhat.com>
11176
11177 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
11178 and _GNU_SOURCE.
11179
929d11c7
WS
111802012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11181
11182 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
11183 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
11184 macro to ensure uniqueness of label name.
11185 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11186 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11187
41d0e869
UD
111882012-01-11 Ulrich Drepper <drepper@gmail.com>
11189
0cc5ed3b
UD
11190 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
11191
41d0e869
UD
11192 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
11193 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11194 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11195 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
11196
a47a831a
UD
111972012-01-10 Ulrich Drepper <drepper@gmail.com>
11198
daa891c0
UD
11199 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
11200
11201 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
11202 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11203 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11204
e58ef0f2
UD
11205 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
11206
a47a831a 11207 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
11208 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11209 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 11210 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
11211
11212 * math/bits/math-finite.h: Add ldexp support.
11213
a0bfc9c7
MP
112142012-01-10 Marek Polacek <polacek@redhat.com>
11215
11216 * locale/programs/localedef.h (show_archive_content): Add noreturn
11217 attribute.
11218
d6e97a1d
UD
112192012-01-09 Ulrich Drepper <drepper@gmail.com>
11220
11221 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
11222
d5835c26
UD
112232012-01-08 Ulrich Drepper <drepper@gmail.com>
11224
e5f484c6
UD
11225 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
11226
d5835c26
UD
11227 * io/Makefile (headers): Add bits/poll2.h.
11228
d1f741e9
WS
112292011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
11230
11231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
11232 typo #include statement.
11233
ec09c1c4
UD
112342012-01-08 Ulrich Drepper <drepper@gmail.com>
11235
11236 * include/sys/cdefs.h: Define __attribute_alloc_size.
11237 * catgets/gencat.c: Add alloc_size attribute and apply consistently
11238 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
11239 * elf/pldd.c: Likewise.
11240 * iconv/iconv_charmap.c: Likewise.
11241 * iconv/iconvconfig.c: Likewise.
11242 * iconv/strtab.c: Likewise.
11243 * locale/programs/locale.c: Likewise.
11244 * locale/programs/localedef.h: Likewise.
11245 * locale/programs/simple-hash.c: Likewise.
11246 * nscd/nscd.h: Likewise.
11247 * nss/makedb.c: Likewise.
11248 * sysdeps/generic/ldconfig.h: Likewise.
11249 * locale/programs/localedef.c: Remove xmalloc prototype.
11250 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
11251
20b38e03
PP
112522012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11253
11254 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
11255 appropriate.
11256
a0da5fe1
UD
112572012-01-08 Ulrich Drepper <drepper@gmail.com>
11258
1d5a644a 11259 * math/Makefile (tests): Add tst-CMPLX.
669704fd 11260 * math/tst-CMPLX.c: New file.
1d5a644a 11261
8784a6db
UD
11262 * math/complex.h (CMPLXL): Fix typo.
11263
d9a216c0
UD
11264 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11265 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11266 GLIBC_2.16.
11267 * debug/tst-chk1.c: Add poll and ppoll tests.
11268 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11269 * include/sys/poll.h: Add hidden proto for ppoll.
11270 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11271 * sysdeps/mach/hurd/ppoll.c: Likewise.
11272 * io/ppoll.c: Likewise.
11273 * debug/poll_chk.c: New file.
11274 * debug/ppoll_chk.c: New file.
11275 * include/bits/poll2.h: New file.
11276 * io/bits/poll2.h: New file.
11277
ac097f5c
UD
11278 [BZ #1350]
11279 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11280
2119dcfa
UD
11281 * configure.in: static is always set to yes. Remove.
11282 * config.make.in: Don't set build-static.
11283 * Makeconfig: Remove use of build-static.
11284 * dlfcn/Makefile: Likewise.
11285 * elf/Makefile: Likewise.
11286 * math/Makefile: Likewise.
11287 * misc/Makefile: Likewise.
11288 * nptl/Makefile: Likewise.
11289 * sysdeps/mach/hurd/Makefile: Likewise.
11290
121766a9
UD
11291 * configure.in: PWD_P is not used anymore.
11292 * config.make.in: Remove PWD_P entry.
11293
51a1d39c 11294 * configure.in: Remove last remnants of RANLIB.
8720d066 11295 No need to check for signed size_t anymore.
215f4bdc
UD
11296 Don't set libc_commonpagesize and libc_relro_required here for Alpha
11297 and IA-64.
3857022a 11298 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
11299 * aclocal.m4: Likewise.
11300
d3ed7225
UD
11301 * wcsmbs/mbrtoc16.c: Implement using towc function.
11302 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11303 * wcsmbs/wcsmbsload.c: Likewise.
11304 * iconv/gconv_simple.c: Likewise.
11305 * iconv/gconv_int.h: Likewise.
11306 * iconv/gconv_builtin.h: Likewise.
11307 * iconv/iconv_prog.c: Remove CHAR16 handling.
11308
11309 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11310
11311 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11312
a0da5fe1
UD
11313 * configure.in: Remove --with-elf and --enable-bounded options.
11314 Dont set base_machine for ia64. More non-ELF conditions removed.
11315 Remove testing and setting of leading underscore information.
11316 * config.make.in (build-bounded): Set to no.
11317 * config.h.in: Remove NO_UNDERSCORES entry.
11318 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
11319 them.
11320 * csu/start.c: Remove !NO_UNDERSCORE code.
11321 * locale/localeinfo.h: Likewise.
11322 * sysdeps/generic/machine-gmon.h: Likewise.
11323 * sysdeps/generic/sysdep.h: Likewise.
11324 * sysdeps/i386/sysdep.h: Likewise.
11325 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11326 * sysdeps/mach/sysdep.h: Likewise.
11327 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11328 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11329 * sysdeps/sh/sysdep.h: Likewise.
11330 * sysdeps/sparc/sparc32/alloca.S: Likewise.
11331 * sysdeps/unix/i386/sysdep.S: Likewise.
11332 * sysdeps/unix/sparc/start.c: Likewise.
11333 * sysdeps/unix/sparc/sysdep.S: Likewise.
11334 * sysdeps/unix/sparc/sysdep.h: Likewise.
11335 * sysdeps/unix/start.c: Likewise.
11336 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11337 * sysdeps/x86_64/sysdep.h: Likewise.
11338
df78418a
UD
113392012-01-07 Ulrich Drepper <drepper@gmail.com>
11340
a784e502
UD
11341 [BZ #13553]
11342 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11343 for non-gcc.
11344 * argp/argp-fmtstream.h: Use const instead __const.
11345 * argp/argp.h: Likewise.
11346 * assert/assert.h: Likewise.
11347 * bits/fenv.h: Likewise.
11348 * bits/sched.h: Likewise.
11349 * bits/sigset.h: Likewise.
11350 * bits/sigthread.h: Likewise.
11351 * catgets/nl_types.h: Likewise.
11352 * conform/data/pthread.h-data: Likewise.
11353 * crypt/crypt-private.h: Likewise.
11354 * crypt/crypt.h: Likewise.
11355 * crypt/crypt_util.c: Likewise.
11356 * ctype/ctype.h: Likewise.
11357 * debug/execinfo.h: Likewise.
11358 * debug/mbsnrtowcs_chk.c: Likewise.
11359 * debug/mbsrtowcs_chk.c: Likewise.
11360 * debug/wcsnrtombs_chk.c: Likewise.
11361 * debug/wcsrtombs_chk.c: Likewise.
11362 * debug/wcstombs_chk.c: Likewise.
11363 * dirent/dirent.h: Likewise.
11364 * dlfcn/dlfcn.h: Likewise.
11365 * elf/neededtest4.c: Likewise.
11366 * grp/grp.h: Likewise.
11367 * gshadow/gshadow.h: Likewise.
11368 * iconv/gconv.h: Likewise.
11369 * iconv/gconv_int.h: Likewise.
11370 * iconv/gconv_simple.c: Likewise.
11371 * iconv/iconv.h: Likewise.
11372 * iconv/loop.c: Likewise.
11373 * iconv/skeleton.c: Likewise.
11374 * include/aio.h: Likewise.
11375 * include/aliases.h: Likewise.
11376 * include/argz.h: Likewise.
11377 * include/arpa/inet.h: Likewise.
11378 * include/assert.h: Likewise.
11379 * include/dirent.h: Likewise.
11380 * include/dlfcn.h: Likewise.
11381 * include/execinfo.h: Likewise.
11382 * include/fcntl.h: Likewise.
11383 * include/fenv.h: Likewise.
11384 * include/glob.h: Likewise.
11385 * include/grp.h: Likewise.
11386 * include/libintl.h: Likewise.
11387 * include/mntent.h: Likewise.
11388 * include/netdb.h: Likewise.
11389 * include/pwd.h: Likewise.
11390 * include/rpc/netdb.h: Likewise.
11391 * include/sched.h: Likewise.
11392 * include/search.h: Likewise.
11393 * include/shadow.h: Likewise.
11394 * include/signal.h: Likewise.
11395 * include/stdio.h: Likewise.
11396 * include/stdlib.h: Likewise.
11397 * include/string.h: Likewise.
11398 * include/sys/socket.h: Likewise.
11399 * include/sys/stat.h: Likewise.
11400 * include/sys/statfs.h: Likewise.
11401 * include/sys/statvfs.h: Likewise.
11402 * include/sys/syslog.h: Likewise.
11403 * include/sys/time.h: Likewise.
11404 * include/sys/uio.h: Likewise.
11405 * include/time.h: Likewise.
11406 * include/unistd.h: Likewise.
11407 * include/utmp.h: Likewise.
11408 * include/wchar.h: Likewise.
11409 * include/wctype.h: Likewise.
11410 * inet/aliases.h: Likewise.
11411 * inet/arpa/inet.h: Likewise.
11412 * inet/netinet/ether.h: Likewise.
11413 * inet/netinet/in.h: Likewise.
11414 * intl/libintl.h: Likewise.
11415 * io/bits/fcntl2.h: Likewise.
11416 * io/fcntl.h: Likewise.
11417 * io/ftw.h: Likewise.
11418 * io/sys/poll.h: Likewise.
11419 * io/sys/stat.h: Likewise.
11420 * io/sys/statfs.h: Likewise.
11421 * io/sys/statvfs.h: Likewise.
11422 * io/utime.h: Likewise.
11423 * libio/bits/stdio.h: Likewise.
11424 * libio/bits/stdio2.h: Likewise.
11425 * libio/libio.h: Likewise.
11426 * libio/libioP.h: Likewise.
11427 * libio/stdio.h: Likewise.
11428 * locale/lc-ctype.c: Likewise.
11429 * locale/locale.h: Likewise.
11430 * login/utmp.h: Likewise.
11431 * malloc/arena.c: Likewise.
11432 * malloc/malloc.c: Likewise.
11433 * malloc/malloc.h: Likewise.
11434 * malloc/mcheck.c: Likewise.
11435 * malloc/mtrace.c: Likewise.
11436 * math/bits/mathcalls.h: Likewise.
11437 * math/fenv.h: Likewise.
11438 * math/math_private.h: Likewise.
11439 * misc/bits/error.h: Likewise.
11440 * misc/bits/syslog.h: Likewise.
11441 * misc/err.h: Likewise.
11442 * misc/error.h: Likewise.
11443 * misc/fstab.h: Likewise.
11444 * misc/mntent.h: Likewise.
11445 * misc/regexp.h: Likewise.
11446 * misc/search.h: Likewise.
11447 * misc/sgtty.h: Likewise.
11448 * misc/sys/mman.h: Likewise.
11449 * misc/sys/syslog.h: Likewise.
11450 * misc/sys/uio.h: Likewise.
11451 * misc/sys/xattr.h: Likewise.
11452 * misc/ttyent.h: Likewise.
11453 * nis/rpcsvc/ypclnt.h: Likewise.
11454 * nss/nss.h: Likewise.
11455 * posix/bits/unistd.h: Likewise.
11456 * posix/fnmatch.h: Likewise.
11457 * posix/glob.h: Likewise.
11458 * posix/sched.h: Likewise.
11459 * posix/spawn.h: Likewise.
11460 * posix/sys/wait.h: Likewise.
11461 * posix/unistd.h: Likewise.
11462 * posix/wordexp.h: Likewise.
11463 * pwd/pwd.h: Likewise.
11464 * resolv/netdb.h: Likewise.
11465 * resource/sys/resource.h: Likewise.
11466 * rt/aio.h: Likewise.
11467 * rt/bits/mqueue2.h: Likewise.
11468 * rt/mqueue.h: Likewise.
11469 * shadow/shadow.h: Likewise.
11470 * signal/signal.h: Likewise.
11471 * socket/send.c: Likewise.
11472 * socket/sendto.c: Likewise.
11473 * socket/sys/socket.h: Likewise.
11474 * stdio-common/printf.h: Likewise.
11475 * stdlib/bits/stdlib.h: Likewise.
11476 * stdlib/fmtmsg.h: Likewise.
11477 * stdlib/monetary.h: Likewise.
11478 * stdlib/stdlib.h: Likewise.
11479 * stdlib/ucontext.h: Likewise.
11480 * streams/stropts.h: Likewise.
11481 * string/argz.h: Likewise.
11482 * string/bits/string2.h: Likewise.
11483 * string/string.h: Likewise.
11484 * string/strings.h: Likewise.
11485 * sunrpc/rpc/auth.h: Likewise.
11486 * sunrpc/rpc/auth_des.h: Likewise.
11487 * sunrpc/rpc/clnt.h: Likewise.
11488 * sunrpc/rpc/netdb.h: Likewise.
11489 * sunrpc/rpc/pmap_clnt.h: Likewise.
11490 * sunrpc/rpc/xdr.h: Likewise.
11491 * sysdeps/generic/inttypes.h: Likewise.
11492 * sysdeps/generic/net/if.h: Likewise.
11493 * sysdeps/generic/sys/swap.h: Likewise.
11494 * sysdeps/gnu/net/if.h: Likewise.
11495 * sysdeps/gnu/utmpx.h: Likewise.
11496 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11497 * sysdeps/i386/i486/bits/string.h: Likewise.
11498 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
11499 * sysdeps/s390/bits/string.h: Likewise.
11500 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
11501 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
11502 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
11503 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11504 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11505 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
11506 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11507 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
11508 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11509 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
11510 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
11511 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11512 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
11513 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11514 * sysdeps/unix/sysv/linux/readv.c: Likewise.
11515 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
11516 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11517 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11518 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11519 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11520 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11521 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
11522 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
11523 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
11524 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
11525 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
11526 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
11527 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11528 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
11529 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
11530 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
11531 * sysvipc/sys/ipc.h: Likewise.
11532 * sysvipc/sys/msg.h: Likewise.
11533 * sysvipc/sys/sem.h: Likewise.
11534 * sysvipc/sys/shm.h: Likewise.
11535 * termios/termios.h: Likewise.
11536 * time/sys/time.h: Likewise.
11537 * time/time.h: Likewise.
11538 * wcsmbs/bits/wchar2.h: Likewise.
11539 * wcsmbs/uchar.h: Likewise.
11540 * wcsmbs/wchar.h: Likewise.
11541 * wctype/wctype.h: Likewise.
11542
0269750c
UD
11543 [BZ #13551]
11544 * Makeconfig: Remove all but ELF support including AIX support.
11545 * Makerules: Likewise.
11546 * config.h.in: Likewise.
11547 * config.make.in: Likewise.
11548 * configure: Likewise.
11549 * configure.in: Likewise.
11550 * csu/Makefile: Likewise.
11551 * csu/version.c: Likewise.
11552 * debug/Makefile: Likewise.
11553 * dlfcn/Makefile: Likewise.
11554 * elf/Makefile: Likewise.
11555 * extra-lib.mk: Likewise.
11556 * iconv/Makefile: Likewise.
11557 * include/libc-symbols.h: Likewise.
11558 * include/shlib-compat.h: Likewise.
11559 * resolv/Makefile: Likewise.
11560 * resolv/res_libc.c: Likewise.
11561 * rt/Makefile: Likewise.
11562 * sysdeps/i386/asm-syntax.h: Likewise.
11563 * sysdeps/i386/sysdep.h: Likewise.
11564 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11565 * sysdeps/mach/sysdep.h: Likewise.
11566 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
11567 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
11568 * sysdeps/s390/asm-syntax.h: Likewise.
11569 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11570 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11571 * sysdeps/sh/sysdep.h: Likewise.
11572 * sysdeps/unix/sparc/sysdep.h: Likewise.
11573 * sysdeps/wordsize-32/divdi3.c: Likewise.
11574 * sysdeps/x86_64/sysdep.h: Likewise.
11575
00bbd29b
UD
11576 * argp/Versions: Remove _argp_unlock_xxx.
11577
11578 [BZ #13559]
11579 * abilist/ld.abilist: Update. Adjust for removal of tls option.
11580 * abilist/libBrokenLocale.abilist: Likewise.
11581 * abilist/libanl.abilist: Likewise.
11582 * abilist/libc.abilist: Likewise.
11583 * abilist/libcrypt.abilist: Likewise.
11584 * abilist/libdl.abilist: Likewise.
11585 * abilist/libm.abilist: Likewise.
11586 * abilist/libnsl.abilist: Likewise.
11587 * abilist/libpthread.abilist: Likewise.
11588 * abilist/libresolv.abilist: Likewise.
11589 * abilist/librt.abilist: Likewise.
11590 * abilist/libthread_db.abilist: Likewise.
11591 * abilist/libutil.abilist: Likewise.
11592 * abilist/libnss_db.abilist: New file.
11593
11594 * scripts/abilist.awk: Add support for indirect functions.
11595
a2693a0e
UD
11596 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
11597
3f05895f
UD
11598 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
11599
ecb6fb48
UD
11600 * shlib-versions: Remove entries for ports architectures.
11601
664f8cb9
UD
11602 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
11603 files in ports.
11604 * elf/stackguard-macros.h: Remove support for IA-64.
11605 * elf/tst-auditmod1.c: Likewise.
11606 * sysdeps/generic/ldsodefs.h: Likewise.
11607
7ae81d88
UD
11608 * sysdeps/unix/sysv/linux/configure.in: Ports should define
11609 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
11610 configure files.
11611
bdeba135
UD
11612 [BZ #13552]
11613 * configure.in: Remove --enable-omitfp support.
11614 * FAQ.in: Adjust.
11615 * config.make.in: Likewise.
11616 * Makeconfig: Likewise.
11617 * manual/install.texi: Likewise.
11618
d75a0a62
UD
11619 In case anyone cares, the IA-64 architecture could move to ports.
11620 * sysdeps/ia64/*: Removed.
11621 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 11622 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 11623
dcc9756b
UD
11624 [BZ #13555]
11625 * configure.in: Remove entries for unsupported architectures.
11626
d3761ebc 11627 [BZ #13533]
9954432e
UD
11628 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
11629 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
11630 routines.
11631 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
11632 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
11633 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
11634 fall back to using wcrtomb.
11635 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
11636 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
11637 renaming.
11638 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
11639 * wcsmbs/tst-c16c32-1.c: New file.
11640
11641 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
11642 local variable.
11643
c3a87236
UD
11644 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
11645
28926a1b
UD
11646 * elf/tst-unique3.cc: Add explicit declaration of gets.
11647 * elf/tst-unique3lib.cc: Likewise.
11648 * elf/tst-unique3lib2.cc: Likewise.
11649 * elf/tst-unique4.cc: Likewise.
11650
df78418a
UD
11651 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
11652
8ecd6b2a
JM
116532012-01-06 Joseph Myers <joseph@codesourcery.com>
11654
11655 [BZ #13566]
11656 * assert/assert.h (static_assert): Don't define for C++.
11657 * libio/stdio.h (gets): Do declare for C++ <= C++11.
11658 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
11659
9f115170
UD
116602012-01-03 Ulrich Drepper <drepper@gmail.com>
11661
5e0d0300
UD
11662 * iconv/loop.c (single loop): Fix assertion in storing of
11663 remaining bytes.
11664
9f115170
UD
11665 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
11666
81fb02b0
UD
116672012-01-01 Ulrich Drepper <drepper@gmail.com>
11668
11669 * posix/getconf.c: Update copyright year.
11670 * nss/getent.c: Likewise.
a316c1f6 11671 * nss/makedb.c: Likewise.
81fb02b0
UD
11672 * iconv/iconvconfig.c: Likewise.
11673 * iconv/iconv_prog.c: Likewise.
11674 * elf/ldconfig.c: Likewise.
a316c1f6
UD
11675 * elf/pldd.c: Likewise.
11676 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
11677 * catgets/gencat.c: Likewise.
11678 * csu/version.c: Likewise.
11679 * elf/ldd.bash.in: Likewise.
11680 * elf/sprof.c (print_version): Likewise.
11681 * locale/programs/locale.c: Likewise.
11682 * locale/programs/localedef.c: Likewise.
a316c1f6 11683 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
11684 * nscd/nscd.c (print_version): Likewise.
11685 * debug/xtrace.sh: Likewise.
11686 * malloc/memusage.sh: Likewise.
11687 * malloc/mtrace.pl: Likewise.
11688 * debug/catchsegv.sh: Likewise.
11689
2ba92745
JJ
116902011-12-30 Jakub Jelinek <jakub@redhat.com>
11691
11692 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
11693 pure attribute.
11694
dadebdae
UD
116952011-12-24 Ulrich Drepper <drepper@gmail.com>
11696
d3761ebc 11697 [BZ #13533]
db6af3eb
UD
11698 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
11699 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
11700 transformations.
11701 * iconv/gconv_int.h: Likewise.
11702 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
11703 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
11704 from libc for GLIBC_2.16.
11705 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
11706 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
11707 * wcsmbs/uchar.h: Really define mbstate_t.
11708 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
11709 * wcsmbs/c16rtomb.c: New file.
11710 * wcsmbs/mbrtoc16.c: New file.
11711 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
11712 for C/POSIX locale.
11713 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
11714 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
11715
dadebdae
UD
11716 * wcsmbs/wchar.h: Add missing __restrict.
11717
67371b56
UD
117182011-12-23 Ulrich Drepper <drepper@gmail.com>
11719
74033a25
UD
11720 [BZ #13532]
11721 * time/Makefile (routines): Add timespec_get.
11722 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
11723 * time/time.h: Define TIME_UTC and declare timespec_get. Define
11724 timespec for ISO C11.
11725 * time/timespec_get.c: New file.
11726 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
11727 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
11728
380d7e87
UD
11729 [BZ #13531]
11730 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
11731 * stdlib/stdlib.h: Declare aligned_alloc.
11732 * Versions.def: Add GLIBC_2.16 for libc.
11733 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
11734
4e9e7a35
UD
11735 [BZ 13527]
11736 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
11737 ISO C11.
11738
380d7e87 11739 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
11740 code.
11741
03a71829
UD
11742 [BZ #13528]
11743 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
11744
839e283e
UD
11745 [BZ #13529]
11746 * assert/assert.h (static_assert): Define.
11747
ce5294e2 11748 * version.h: Update for 2.16 development version.
90fa7312 11749
8d44e150 11750 [BZ #13526]
d7809905
UD
11751 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
11752 _ISOC11_SOURCE.
11753
c0da14cd
UD
11754 * version.h (RELEASE): Bump for 2.15 release.
11755 * include/features.h (__GLIBC_MINOR__): Bump to 15.
11756
530a3249
MP
11757 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
11758 Patch by Marek Polacek <mpolacek@redhat.com>.
11759
67371b56
UD
11760 * bits/byteswap.h: Protect long long constants with __extension__.
11761 * sysdeps/i386/bits/byteswap.h: Likewise.
11762 * sysdeps/ia64/bits/byteswap.h: Likewise.
11763 * sysdeps/s390/bits/byteswap.h: Likewise.
11764 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11765
15db4de1
LD
117662011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11767
11768 [BZ #13540]
bbe315ea
LD
11769 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
11770 destination buffer.
15db4de1
LD
11771 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11772
2b2596b1
MP
117732011-12-23 Marek Polacek <polacek@redhat.com>
11774
11775 * elf/dl-addr.c (determine_info): Add inline keyword.
11776 * elf/tst-auditmod4b.c (check_avx): Likewise.
11777 * elf/tst-auditmod6b.c (check_avx): Likewise.
11778 * elf/tst-auditmod6c.c (check_avx): Likewise.
11779 * elf/tst-auditmod7b.c (check_avx): Likewise.
11780
70c6c246
UD
117812011-12-23 Ulrich Drepper <drepper@gmail.com>
11782
11783 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
11784 !__SSE_MATH__.
11785
c044cf14
LD
117862011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11787
15db4de1 11788 [BZ #13540]
c044cf14
LD
11789 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
11790 processing for last bytes.
11791
6b13d9d9
BH
117922011-08-06 Bruno Haible <bruno@clisp.org>
11793
d455f537
BH
11794 [BZ #13061]
11795 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
11796 U+0385, not to U+1FEE.
11797
6b13d9d9
BH
11798 [BZ #13062]
11799 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
11800 entry for U+00A5 U+0301.
11801
db910efd
UD
118022011-12-22 Ulrich Drepper <drepper@gmail.com>
11803
27deeafc
UD
11804 [BZ #13166]
11805 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
11806 buffer for the output is too small.
11807
aed9d171
UD
11808 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
11809 optimization.
11810
db910efd
UD
11811 [BZ #13185]
11812 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
11813 SSE flags if possible.
11814
2bd779ae
LD
118152011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11816
e7f9dac3 11817 [BZ #13540]
2bd779ae
LD
11818 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
11819 processing for last bytes.
11820
154bfc16
JM
118212011-12-22 Joseph Myers <joseph@codesourcery.com>
11822
11823 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
11824 (syscall-list-default-options, syscall-list-default-condition)
11825 (syscall-list-includes): Define.
11826 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
11827 list of ABIs and options and #if conditions for each ABI. Do not
11828 handle common syscalls between ABIs specially.
11829 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
11830 Remove.
11831 (syscall-list-variants, syscall-list-32bit-options)
11832 (syscall-list-32bit-condition, syscall-list-64bit-options)
11833 (syscall-list-64bit-condition): Define.
11834 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
11835 (syscall-list-variants, syscall-list-32bit-options)
11836 (syscall-list-32bit-condition, syscall-list-64bit-options)
11837 (syscall-list-64bit-condition): Define.
11838 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
11839 Remove.
11840 (syscall-list-variants, syscall-list-32bit-options)
11841 (syscall-list-32bit-condition, syscall-list-64bit-options)
11842 (syscall-list-64bit-condition): Define.
11843 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
11844 Remove.
11845 (syscall-list-variants, syscall-list-32bit-options)
11846 (syscall-list-32bit-condition, syscall-list-64bit-options)
11847 (syscall-list-64bit-condition): Define.
11848
21eaf3a5
UD
118492011-12-22 Ulrich Drepper <drepper@gmail.com>
11850
16c6f992
UD
11851 * locale/iso-639.def: Add brx entry.
11852
41043168
UD
11853 [BZ #13328]
11854 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
11855 Proposed by Mariusz_Cukr <marcukr@op.pl>.
11856
21eaf3a5
UD
11857 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
11858 __feraiseexcept_renamed.
11859
e3a851a2
UD
118602011-12-21 Ulrich Drepper <drepper@gmail.com>
11861
4920765e
UD
11862 [BZ #13538]
11863 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
11864 EPOLLET with unsigned values.
11865 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11866 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11867
e3a851a2
UD
11868 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
11869 to large cancellation.
11870 * math/s_cacoshf.c: Likewise.
11871 * math/s_cacoshl.c: Likewise.
11872
b27e24b8
RK
118732011-11-18 Richard B. Kreckel <kreckel@ginac.de>
11874
11875 [BZ #13305]
aebefeee 11876 [BZ #12786]
b27e24b8
RK
11877 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
11878 * math/s_cacoshf.c: Likewise.
11879 * math/s_cacoshl.c: Likewise.
11880
ee190f67
UD
118812011-12-21 Ulrich Drepper <drepper@gmail.com>
11882
11883 [BZ #13439]
11884 * iconv/gconv.h: Define __GCONV_SWAP.
11885 * iconvdata/unicode.c: The swap bit must be stored in __flags.
11886 * iconvdata/utf-16.c: Likewise.
11887 * iconvdata/utf-32.c: Likewise.
11888
707f25df
AS
118892011-12-21 Andreas Schwab <schwab@linux-m68k.org>
11890
11891 [BZ #13524]
11892 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
11893 numerator after shifting it by one limb.
11894
d2daaa1e
RÁE
118952011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
11896
11897 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
11898 under [__USE_EXTERN_INLINES].
11899
a4647e72
UD
119002011-12-17 Ulrich Drepper <drepper@gmail.com>
11901
11902 [BZ #13446]
11903 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
11904
f0b264f1
AZ
119052011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11906
11907 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
11908 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
11909 optimized code.
11910 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
11911 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
11912 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
11913 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
11914 for strncasecmp/strncasecmp_l compilation.
11915 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
11916 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
11917
8ef4f244
MP
119182011-12-08 Marek Polacek <mpolacek@redhat.com>
11919
11920 [BZ #13484]
11921 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
11922 of __asm__.
11923
97ac2654
UD
119242011-12-17 Ulrich Drepper <drepper@gmail.com>
11925
11926 [BZ #13506]
11927 * time/tzfile.c (__tzfile_read): Check values from file header.
11928
91d2a845
WS
119292011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11930
11931 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
11932 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
11933 * powerpc/powerpc32/dl-start.S: Likewise.
11934 * powerpc/powerpc32/elf/start.S: Likewise.
11935 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11936 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
11937 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
11938 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
11939 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11940 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
11941 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
11942 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11943 * powerpc/powerpc32/fpu/s_round.S: Likewise.
11944 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11945 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11946 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11947 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11948 * powerpc/powerpc32/memset.S: Likewise.
11949 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11950 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11951 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11952 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11953 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11954 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11955 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11956 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11957 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
11958 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
11959 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
11960 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11961 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11962
a1267ba1
AZ
119632011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11964
11965 * math/libm-test.inc: Added more nearbyint tests.
11966 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
11967 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
11968 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
11969 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
11970
ad8ac1bd
RL
119712011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
11972
11973 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
11974 FD_CLOEXEC.
11975
1d3e4b61
UD
119762011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11977
11978 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
11979 Add wcscpy-ssse3 wcscpy-c.
11980 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
11981 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
11982 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
11983 * sysdeps/x86_64/wcschr.S: New file.
11984 * sysdeps/x86_64/wcsrchr.S: New file.
11985 * string/test-strcmp.c: Remove checking of wcscmp function for
11986 wrong alignments.
11987 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
11988 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
11989 wcsrchr-sse2 wcsrchr-c.
11990 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
11991 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
11992 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
11993 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
11994 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
11995 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
11996 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
11997 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
11998 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
11999 * wcsmbc/wcschr.c (WCSCHR): New macro.
12000
5b330a2d
UD
120012011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12002
12003 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
12004 * wcsmbs/test-wcsrchr.c: New file.
12005 * string/test-strrchr.c: Add wcsrchr support.
12006 (WIDE): New macro.
12007 * wcsmbs/test-wcscpy.c: New file.
12008 * string/test-strcpy.c: Add wcscpy support.
12009 (WIDE): New macro.
26428b7c 12010
f039c043
UD
120112011-12-10 Ulrich Drepper <drepper@gmail.com>
12012
12013 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
12014 the inner loop.
12015
850fb039
AS
120162011-12-06 Andreas Schwab <schwab@linux-m68k.org>
12017
12018 [BZ #13472]
12019 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
12020
4efbd5cb
UD
120212011-12-04 Ulrich Drepper <drepper@gmail.com>
12022
52ff5dd0 12023 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 12024 Minor optimizations.
52ff5dd0 12025
4efbd5cb
UD
12026 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
12027 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
12028 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12029
8a426e12
UD
120302011-12-03 Ulrich Drepper <drepper@gmail.com>
12031
aff2453d
UD
12032 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
12033 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
12034 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
12035 for gcc to avoid warnings.
12036 * inet/Makefile (tests): Add tst-checks.
12037 * inet/tst-checks.c: New file.
12038
12039 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
12040 warning.
12041
12042 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
12043 __wmemcmp_sse2.
12044
12045 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
12046 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
12047
8a426e12
UD
12048 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
12049
9bea3473
UD
120502011-12-02 Ulrich Drepper <drepper@gmail.com>
12051
3a965496
UD
12052 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
12053 problem.
12054
9bea3473
UD
12055 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
12056
f101631b
UD
120572011-11-29 Joseph Myers <joseph@codesourcery.com>
12058
12059 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
12060 conditional on GCC version.
12061 (__arch_compare_and_exchange_val_8_acq)
12062 (__arch_compare_and_exchange_val_16_acq)
12063 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
12064 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
12065 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
12066
a98275aa
UD
120672011-12-02 Joseph Myers <joseph@codesourcery.com>
12068
12069 * sysdeps/sh/backtrace.c: New file.
12070
d4cc29a2
AS
120712011-12-02 Andreas Schwab <schwab@redhat.com>
12072
12073 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
12074 parenthesis.
12075
6257af2d
AS
120762011-12-01 Andreas Schwab <schwab@redhat.com>
12077
12078 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
12079 falling back to utime.
12080
b5f44c1a
AS
120812011-11-30 Andreas Schwab <schwab@redhat.com>
12082
12083 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
12084 expectations for float.
12085
f3a6cc0a
AS
120862011-11-29 Andreas Schwab <schwab@redhat.com>
12087
12088 * locale/weight.h (findidx): Add parameter len.
12089 * locale/weightwc.h (findidx): Likewise.
12090 * posix/fnmatch_loop.c (FCT): Adjust caller.
12091 * posix/regcomp.c (build_equiv_class): Likewise.
12092 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
12093 * posix/regexec.c (check_node_accept_bytes): Likewise.
12094 * string/strcoll_l.c (STRCOLL): Likewise.
12095 * string/strxfrm_l.c (STRXFRM): Likewise.
12096
9d65ea3a
UD
120972011-11-17 Ulrich Drepper <drepper@gmail.com>
12098
12099 * Makefile.in: Remove CVSOPT handling.
12100 * configure.in: Remove use of AC_REVISION.
12101 * iconvdata/Makefile (distribute): No need to filter out CVS.
12102 * scripts/list-sources.sh: Remove CVS, subversion and monotone
12103 handling.
12104
5583a086
AS
121052011-11-16 Andreas Schwab <schwab@redhat.com>
12106
12107 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
12108 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
12109 [USE_AS_STRNCASECMP_L]: Likewise.
12110 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
12111 NO_TLS_DIRECT_SEG_REFS.
12112 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
12113 Fix argument offsets for non-PIC.
12114 [USE_AS_STRNCASECMP_L]: Likewise.
12115 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
12116 NO_TLS_DIRECT_SEG_REFS.
12117
d62a8200
UD
121182011-11-15 Ulrich Drepper <drepper@gmail.com>
12119
9d65ea3a 12120 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
12121 O_CLOEXEC.
12122 * locale/loadlocale.c (_nl_load_locale): Likewise.
12123
09f93bd3
AS
121242011-11-15 Andreas Schwab <schwab@redhat.com>
12125
446514f9
AS
12126 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
12127 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
12128 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
12129 (SYSCALL_GETTIME): Set errno on error.
12130
09f93bd3
AS
12131 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
12132 count references to noai6ai_cached.
12133
312be3f9
UD
121342011-11-15 Ulrich Drepper <drepper@gmail.com>
12135
12136 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
12137
12138 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
12139 FD_CLOEXEC for /proc/self/maps.
12140
12141 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
12142 FD_CLOEXEC for /proc/meminfo.
12143
12144 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
12145 gai.conf.
12146
12147 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
12148 FD_CLOEXEC for given file.
12149
12150 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
12151
12152 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
12153 FD_CLOEXEC for /etc/hosts.
12154 (_gethtent): Likewise.
12155
12156 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
12157
12158 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
12159 cancellation and set FD_CLOEXEC for /etc/netgroup.
12160
12161 * nss/nss_files/files-key.c (search): Don't allow cancellation when
12162 reading /etc/publickey.
12163
12164 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
12165 allow cancellation when reading /etc/group.
12166
12167 * nss/nss_files/files-alias.c (internal_setent): Don't allow
12168 cancellation.
12169 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
12170
12171 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
12172 when using data file.
12173
12174 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
12175
12176 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
12177 (write_nis_obj): Use "c" and "e" in fopen.
12178
12179 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
12180
12181 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
12182
12183 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
12184
12185 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
12186
12187 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
12188 locale.alias.
12189
12190 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
12191
12192 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
12193
12194 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
12195
12196 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
12197 file parsing and set FD_CLOEXEC.
12198
82af0fa8
UD
121992011-11-14 Ulrich Drepper <drepper@gmail.com>
12200
12201 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
12202
a5fb313c
AS
122032011-11-14 Andreas Schwab <schwab@redhat.com>
12204
12205 * malloc/arena.c (arena_get2): Don't call reused_arena when
12206 _int_new_arena failed.
12207
6abf3465
UD
122082011-11-14 Ulrich Drepper <drepper@gmail.com>
12209
12210 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
12211 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
12212 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
12213 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12214 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12215 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
12216 to compile strcasecmp and strncasecmp.
12217 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
12218 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
12219
12220 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
12221
76e3966e
UD
122222011-11-13 Ulrich Drepper <drepper@gmail.com>
12223
12224 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
12225 locale-defines.sym to gen-as-const-headers.
12226 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
12227 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
12228 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
12229 to compile strcasecmp and strncasecmp.
12230 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
12231 strcasecmp_l and strncasecmp_l.
12232 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
12233 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
12234 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
12235 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
12236 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
12237 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
12238 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
12239 * sysdeps/i386/i686/multiarch/strncase.S: New file.
12240 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
12241 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
12242 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
12243
ab26144e
UD
122442011-11-12 Ulrich Drepper <drepper@gmail.com>
12245
7edb22ef
UD
12246 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
12247 result of SYSDEP_GETTIME_CPU to retval.
12248 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
12249 parameter list to macro. Remove trailing semicolon. Adjust users.
12250
9694fc44
UD
12251 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
12252 variable.
12253
8ad89ef8
UD
12254 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
12255 mantissa words.
12256 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12257
0c822ef9
UD
12258 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
12259 from unused variable.
12260
874e0564
UD
12261 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12262 DWARF definitions.
12263 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12264 for assembling.
12265
3a2edc79
UD
12266 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12267 over namespaces.
12268
f3c2577f
UD
12269 * sunrpc/rpc_prot.c (rejected): Fix case value.
12270
294ce126
UD
12271 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12272 unsigned long long int to avoid warnings in shift.
12273
5e2b63c6
UD
12274 * posix/regex_internal.c (re_string_reconstruct): Actually use result
12275 of use of trans.
12276 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12277 variable tmp.
12278
e7f4b08e
UD
12279 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12280 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12281 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12282
ab26144e
UD
12283 * nis/nis_table.c (nis_list): Use variable of correct type for
12284 result of __follow_path call.
12285
8a6d5255
AZ
122862011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12287
12288 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12289 of math functions ceil, trunc, floor, round, and sqrt, when
12290 avaliable on the platform.
12291 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12292 name clash.
12293 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12294 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12295 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12296
aaddc98c
MP
122972011-10-30 Marek Polacek <mpolacek@redhat.com>
12298
12299 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12300 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12301
95b7042b
RM
123022011-11-11 Roland McGrath <roland@hack.frob.com>
12303
12304 * include/unistd.h: Fix __readlink return type.
12305 Reported by Chris Metcalf <cmetcalf@tilera.com>.
12306
57769839
UD
123072011-11-11 Ulrich Drepper <drepper@gmail.com>
12308
12309 * stdlib/ucontext.h: Undo last change for makecontext.
12310
edc5984d
AS
123112011-11-11 Andreas Schwab <schwab@redhat.com>
12312
98591e58
AS
12313 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12314
edc5984d
AS
12315 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12316 * setjmp/setjmp.h: Mark functions as non-leaf.
12317 * setjmp/bits/setjmp2.h: Likewise.
12318 * stdlib/ucontext.h: Likewise.
12319
77cdc054
AS
123202011-11-10 Andreas Schwab <schwab@redhat.com>
12321
12322 * malloc/arena.c (_int_new_arena): Don't increment narenas.
12323 (reused_arena): Don't check arena limit.
12324 (arena_get2): Atomically check arena limit.
12325
fe72eebd
UD
123262011-11-08 Ulrich Drepper <drepper@gmail.com>
12327
5f078c32
UD
12328 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12329 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12330
fe72eebd
UD
12331 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12332 instructions.
12333
ae1bc2fa
AS
123342011-11-07 Andreas Schwab <schwab@redhat.com>
12335
7583a88d
AS
12336 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12337 handler when locking.
12338
ae1bc2fa
AS
12339 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12340 Fix size of allocated buffer.
12341
10fb0bfa
AS
123422011-11-04 Andreas Schwab <schwab@redhat.com>
12343
998832a4
AS
12344 [BZ #10103]
12345 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12346 declarations for long double functions.
12347 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12348
10fb0bfa
AS
12349 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12350
3d7ba52b
AS
123512011-11-03 Andreas Schwab <schwab@redhat.com>
12352
a9ae54a1
AS
12353 * nscd/nscd.c (main): Don't start AVC thread until credentials are
12354 installed.
12355
3d7ba52b
AS
12356 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
12357 is disabled.
12358
bc8db248
ST
123592011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12360
12361 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
12362
45b96dd6
AS
123632011-11-01 Andreas Schwab <schwab@linux-m68k.org>
12364
647776f6
AS
12365 * include/alloca.h (stackinfo_alloca_round): Define.
12366 (extend_alloca): Use it.
12367 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
12368 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
12369 here.
12370
d91a8b93
AS
12371 * scripts/check-local-headers.sh: Ignore libaudit.h.
12372
45b96dd6
AS
12373 * nscd/Makefile (extra-objs): Make recursively expanded.
12374
432d41ce
UD
123752011-11-01 Ulrich Drepper <drepper@gmail.com>
12376
34372fc6
UD
12377 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
12378 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12379
fadb59f8
UD
12380 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
12381 * posix/tst-rfc3484-2.c: Likewise.
12382 * posix/tst-rfc3484-3.c: Likewise.
12383
78239589
UD
12384 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12385 process_vm_writev.
12386 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
12387 process_vm_writev.
12388 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
12389 process_vm_writev from libc using GLIBC_2.15 version.
12390
432d41ce
UD
12391 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
12392
02f9c6cf
PP
123932011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12394
12395 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
12396 stack usage.
12397
3a2c0242
UD
123982011-10-31 Ulrich Drepper <drepper@gmail.com>
12399
f4ec4833
UD
12400 [BZ #13367]
12401 * nss/getent.c (initgroups_keys): Show error message in case no group
12402 names are given.
12403
3a2c0242
UD
12404 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
12405 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
12406 __bump_nl_timestamp.
12407 * nscd/connections (nscd_init): When host database is served open
12408 netlink socket and request notification about configuration changes.
12409 (main_loop_poll): Track netlink file descriptor and bump timestamp
12410 in case data becomes available.
12411 (main_loop_epoll): Likewise.
12412 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
12413 (database_pers_head): Add extra_data fileds.
12414 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
12415 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
12416 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
12417 Adjust caller.
12418 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
12419 in6ai data, call __free_in6ai.
12420 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
12421 Add -DHAVE_NETLINK.
12422 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
12423 interface information. Reuse previous data if netlink timestamp
12424 is not changed.
12425 (__bump_nl_timestamp): New function.
12426 (__free_in6ai): New function.
12427
636064eb
UD
124282011-10-30 Ulrich Drepper <drepper@gmail.com>
12429
12430 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
12431 close_not_cancel_no_status here.
12432 (__check_pf): Reorganize code a bit to not call close twice if OOM.
12433
9beb2334
UD
124342011-10-29 Ulrich Drepper <drepper@gmail.com>
12435
6ef76f3b
UD
12436 [BZ #13276]
12437 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
12438 return value.
12439
0ffc4f3e 12440 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
12441 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
12442 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
12443
cb95113e
UD
124442011-07-03 Andreas Jaeger <aj@suse.de>
12445
12446 [BZ #10709]
12447 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
12448 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
12449 * math/libm-test.inc (sin_test): Add test case.
12450
a1b560ff
UD
124512011-10-29 Ulrich Drepper <drepper@gmail.com>
12452
c9aaface
UD
12453 [BZ #13337]
12454 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
12455 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12456
d272e7f1
UD
12457 * elf/chroot_canon.c (chroot_canon): Cleanups.
12458
1bc33071
UD
12459 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
12460
1760874d
TJ
12461 [BZ #13335]
12462 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
12463 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12464
51d91b18
UD
12465 * string/test-strchr.c: Make usable for strchrnul testing.
12466 * string/test-strchrnul.c: New file.
12467 * string/Makefile (strop-tests): Add strchrnul.
12468
a1b560ff 12469 * po/it.po: Update from translation team.
b611fb81 12470 * po/es.po: Likewise.
a1b560ff 12471
a5b81e1f
UD
124722011-10-28 Ulrich Drepper <drepper@gmail.com>
12473
fd52bc6d
UD
12474 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
12475 the three constants needed as parameters. Drop the others.
12476 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
12477 __m128i_strloadu_tolower.
52e4b9eb
UD
12478 Create and initialize variable zero and use it in all the places
12479 where _mm_setzero_si128 was used.
fd52bc6d 12480
a5b81e1f
UD
12481 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
12482 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
12483 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
12484 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
12485 anymore.
12486 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
12487 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
12488 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
12489 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
12490 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
12491 __mpranred, __mptan.
12492 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
12493 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
12494 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
12495 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
12496 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
12497 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
12498 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
12499 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
12500 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
12501
b4343346
AS
125022011-10-28 Andreas Schwab <schwab@redhat.com>
12503
0c92d8a8
AS
12504 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
12505 redefine if SHARED.
12506 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
12507
b4343346
AS
12508 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
12509 wide char related routines to wcsmbs subdir.
12510
3871f58f
AS
125112011-10-27 Andreas Schwab <schwab@redhat.com>
12512
12513 [BZ #13344]
12514 * misc/sys/cdefs.h (__THROWNL): Define.
12515 * posix/unistd.h: Use __THREADNL instead of __THREAD
12516 for memory synchronization functions.
12517
94d44d9f
RM
125182011-10-26 Roland McGrath <roland@hack.frob.com>
12519
21b64b15 12520 [BZ #13349]
94d44d9f
RM
12521 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
12522 doesn't exist.
12523 * manual/stdio.texi (Obstack Streams): Node removed.
12524
f6ce9294
AS
125252011-10-26 Andreas Schwab <schwab@redhat.com>
12526
80479147
AS
12527 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
12528 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12529 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12530
f6ce9294
AS
12531 * math/math_private.h (math_force_eval): Allow non-addressable
12532 arguments.
12533 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
12534
618280a1
UD
125352011-10-25 Ulrich Drepper <drepper@gmail.com>
12536
e0016b11
UD
12537 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
12538 file is not needed.
12539
12540 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
12541 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12542 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12543 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12544 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12545 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12546 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12547 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
12548 Add AVX variants.
12549 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
12550 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
12551 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
12552 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
12553 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
12554 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
12555 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
12556 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
12557 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
12558 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
12559 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
12560 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
12561 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
12562 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
12563 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
12564 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
12565 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
12566 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
12567 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
12568
12569 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
12570 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
12571
618280a1
UD
12572 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
12573 place. Use VEX encoding when compiling for AVX.
12574
37822576
AS
125752011-10-25 Andreas Schwab <schwab@redhat.com>
12576
1f1e1947
AS
12577 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
12578 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12579
37822576
AS
12580 * string/test-strchr.c (do_test): Don't generate NUL bytes.
12581
31ea014d
UD
125822011-10-25 Ulrich Drepper <drepper@gmail.com>
12583
d7826aa1 12584 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 12585 useless if() expression.
d7826aa1
UD
12586 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12587 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12588 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12589 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12590 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12591 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12592 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12593 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12594 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12595 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12596 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12597 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12598 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12599 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12600 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12601 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12602 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12603 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12604 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12605
31ea014d
UD
12606 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
12607
16437fec
AS
126082011-10-25 Andreas Schwab <schwab@redhat.com>
12609
12610 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
12611 condition.
12612 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12613
31d3cc00
UD
126142011-10-25 Ulrich Drepper <drepper@gmail.com>
12615
12616 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
12617 .text section. Avoid duplicate constants.
12618 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12619 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12620 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12621 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12622 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12623 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12624 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12625 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12626 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12627 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
12628 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12629 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12630 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12631 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12632 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12633 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12634 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12635 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12636 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12637 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12638 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12639 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12640 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12641 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
12642 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
12643 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
12644 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
12645 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
12646 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
12647 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
12648 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
12649 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
12650 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12651 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
12652 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
12653 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
12654 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
12655 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
12656 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
12657 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
12658 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
12659 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
12660 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
12661 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
12662 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
12663
58985aa9
UD
126642011-10-24 Ulrich Drepper <drepper@gmail.com>
12665
202c9deb
UD
12666 * sysdeps/x86_64/dla.h: Move to ...
12667 * sysdeps/x86_64/fpu/dla.h: ...here.
12668 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
12669 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 12670
af968f62
UD
12671 * config.make.in: Add have-mfma4 entry.
12672 * configure.in: Substitute libc_cv_cc_fma4.
12673 * math/Makefile (dbl-only-routines): Add sincostab.
12674 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
12675 Use __sincostab not sincos.
12676 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
12677 name is a macro.
12678 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12679 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12680 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12681 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
12682 using __copysign.
12683 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
12684 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
12685 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
12686 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
12687 and __inv.
12688 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
12689 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
12690 __copysign.
12691 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
12692 define aliases when function name is a macro.
12693 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
12694 sysdeps/ieee754/dbl-64/sincos.tbl.
12695 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
12696 fma4-enabled routines.
12697 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
12698 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
12699 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
12700 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
12701 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
12702 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
12703 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
12704 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
12705 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
12706 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
12707 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
12708 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
12709 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
12710 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
12711 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
12712 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
12713 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
12714 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
12715 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
12716 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
12717 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
12718 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
12719 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
12720 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
12721 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
12722 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
12723 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
12724 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
12725 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
12726 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
12727
58985aa9
UD
12728 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
12729 rename.
12730 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12731 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12732 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12733 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12734 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12735 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12736 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12737 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12738
a201fbcf
AS
127392011-10-24 Andreas Schwab <schwab@redhat.com>
12740
12741 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
12742
fc2ee42a
LD
127432011-10-23 Ulrich Drepper <drepper@gmail.com>
12744
bb3129bd
UD
12745 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
12746
0275fff8
UD
12747 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
12748 prediction.
12749 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
12750
2fa2ae85
UD
12751 * string/strnlen.c: Don't define STRNLEN, reverse logic.
12752 Remove unused variable magic_bits.
12753 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
12754
fc2ee42a
LD
12755 * string/strnlen.c: Define and use STRNLEN macro.
12756 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
12757 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
12758 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
12759 * wcsmbs/wcslen.c: Define and use WCSLEN.
12760 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
12761 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
12762 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
12763 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
12764 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
12765 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
12766 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12767
ce7dd29f
LD
127682011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12769
12770 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12771 strnlen-sse2-no-bsf.
12772 Rename strlen-no-bsf to strlen-sse2-no-bsf.
12773 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
12774 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
12775 Add strnlen support.
12776 (USE_AS_STRNLEN): New macro.
12777 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
12778 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
12779 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
12780 * sysdeps/x86_64/wcslen.S: New file.
12781
979c70a3
MZ
127822011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
12783
12784 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12785 XMM-moves are used for copying on small sizes.
12786
2d09f82f
LD
127872011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12788
12789 * wcsmbs/Makefile (strop-tests): Add wcschr.
12790 * wcsmbs/test-wcschr.c: New file.
12791 * string/test-strchr.c: Update.
12792 Add wcschr support.
12793 (WIDE): New macro.
12794
619fccca
LD
127952011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12796
2d09f82f 12797 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
12798 * wcsmbs/test-wcslen.c: New file.
12799 * string/test-strlen.c: Update.
12800 Add wcslen support.
12801 (WIDE): New macro.
12802
09f699ea
UD
128032011-10-23 Ulrich Drepper <drepper@gmail.com>
12804
12805 * po/it.po: Update from translation team.
12806
95584d3b
LD
128072011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12808
12809 * sysdeps/x86_64/wcscmp.S: Update.
12810 Fix wrong comparison semantics.
12811 wcscmp shall use signed comparison not unsigned.
12812 Don't use substraction to avoid overflow bug.
12813 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12814 * wcsmbc/wcscmp.c: Likewise.
12815 * string/test-strcmp.c: Likewise.
12816 Add new tests to check cases with negative values.
12817
c8b3296b
UD
128182011-10-23 Ulrich Drepper <drepper@gmail.com>
12819
12820 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
12821 * sysdeps/x86_64/dla.h: ...here. New file.
12822 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
12823 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12824 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12825 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12826 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12827 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12828 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12829 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12830 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12831
246ad57a
AS
128322011-10-23 Andreas Schwab <schwab@linux-m68k.org>
12833
12834 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
12835 __ynl_finite aliases.
12836
a1a87169
UD
128372011-10-22 Ulrich Drepper <drepper@gmail.com>
12838
0d355eb7
UD
12839 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12840
a1a87169
UD
12841 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
12842 define DLA_FMA.
12843 [DLA_FMA] (EMULV): Use DLA_FMA.
12844 [DLA_FMA] (MUL12): Use EMULV.
12845 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
12846 that are not needed.
12847 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12848 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12849 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12850 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12851 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12852 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12853 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12854
ee2aafe0
AS
128552011-10-22 Andreas Schwab <schwab@linux-m68k.org>
12856
12857 * math/s_nan.c: Undef __nan.
12858 * math/s_nanf.c: Undef __nanf.
12859 * math/s_nanl.c: Undef __nanl.
12860 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
12861 "math_private.h".
12862
bc62c2fb
UD
128632011-10-22 Ulrich Drepper <drepper@gmail.com>
12864
77425c63
UD
12865 * math/s_catan.c: Add branch predictions.
12866 * math/s_catanf.c: Likewise.
12867 * math/s_catanh.c: Likewise.
12868 * math/s_catanhf.c: Likewise.
12869 * math/s_catanhl.c: Likewise.
12870 * math/s_catanl.c: Likewise.
12871 * math/s_cexp.c: Likewise.
12872 * math/s_cexpf.c: Likewise.
12873 * math/s_cexpl.c: Likewise.
12874 * math/s_clog.c: Likewise.
12875 * math/s_clog10.c: Likewise.
12876 * math/s_clog10f.c: Likewise.
12877 * math/s_clog10l.c: Likewise.
12878 * math/s_clogf.c: Likewise.
12879 * math/s_clogl.c: Likewise.
12880 * math/s_csqrt.c: Likewise.
12881 * math/s_csqrtf.c: Likewise.
12882 * math/s_csqrtl.c: Likewise.
12883 * math/s_ctanf.c: Likewise.
12884 * math/s_ctanh.c: Likewise.
12885 * math/s_ctanhf.c: Likewise.
12886 * math/s_ctanhl.c: Likewise.
12887 * math/s_ctanl.c: Likewise.
12888
bc62c2fb
UD
12889 * math/math_private.h: Define __nan, __nanf, __nanl.
12890 * math/s_cacosh.c: Include <math_private.h>.
12891 * math/s_cacoshl.c: Likewise.
12892 * math/s_casinh.c: Likewise.
12893 * math/s_casinhf.c: Likewise.
12894 * math/s_casinhl.c: Likewise.
12895 * math/s_ccos.c: Rely entire on ccosh.
12896 * math/s_ccosf.c: Rely entire on ccoshf.
12897 * math/s_ccosl.c: Rely entirely on ccoshl.
12898 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
12899 Remove tests for FE_INVALID.
12900 * math/s_ccoshf.c: Likewise.
12901 * math/s_ccoshl.c: Likewise.
12902 * math/s_csin.c: Likewise.
12903 * math/s_csinf.c: Likewise.
12904 * math/s_csinh.c Likewise.
12905 * math/s_csinhf.c: Likewise.
12906 * math/s_csinhl.c: Likewise.
12907 * math/s_csinl.c: Likewise.
12908 * math/s_ctan.c: Likewise.
12909 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
12910 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
12911 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
12912
8ec250a4
UD
129132011-10-21 Ulrich Drepper <drepper@gmail.com>
12914
c196fed8
UD
12915 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
12916 compilation problems.
12917
8ec250a4
UD
12918 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
12919 __builtin_expect.
12920
8d4f46c6
UD
129212011-10-20 Ulrich Drepper <drepper@gmail.com>
12922
ed72b654
UD
12923 * sysdeps/i386/configure.in: Test for -mfma4 option.
12924 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
12925 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
12926 COMMON_CPUID_INDEX_80000001.
12927 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
12928 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
12929 use it if FMA3 is not supported.
12930 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12931
8d4f46c6
UD
12932 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
12933 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12934
d45c60c2
AS
129352011-10-20 Andreas Schwab <schwab@redhat.com>
12936
12937 [BZ #12892]
12938 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
12939 it would create a cycle with a link time dependency.
12940
d9a4d2ab
UD
129412011-10-19 Ulrich Drepper <drepper@gmail.com>
12942
855d1560
UD
12943 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
12944 instruction.
12945 * string/Makefile (strop-tests): Add rawmemchr.
12946 * string/test-rawmemchr.c: New file.
12947
d9a4d2ab
UD
12948 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
12949 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
12950 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
12951 when compiling str{,n}casecmp and when AVX is available. Hook up
12952 new optimized code in initializers.
12953
8f3b1ffe
AS
129542011-10-19 Andreas Schwab <schwab@redhat.com>
12955
12956 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
12957 __feraiseexcept instead of feraiseexcept.
12958
d38f1dba
UD
129592011-10-18 Ulrich Drepper <drepper@gmail.com>
12960
d9a8d0ab
UD
12961 * math/math_private.h: Define defaults for libc_fetestexcept and
12962 libc_feupdateenv.
12963 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
12964 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12965 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12966 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12967 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12968 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12969 libc_fetestexcept and libc_feupdateenv.
12970
4855e3dd
UD
12971 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
12972 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
12973 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
12974 * sysdeps/x86_64/fpu/math_private.h: Define special version of
12975 libc_feholdexcept_setround.
12976
581d30e3
UD
12977 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
12978 Add s_nearbyint-c and s_nearbyintf-c.
12979 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
12980 nearbyintf inlines.
12981 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
12982 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
12983 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
12984 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
12985
d38f1dba
UD
12986 * math/math_private.h: Define defaults for libc_fegetround,
12987 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
12988 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
12989 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
12990 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
12991 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
12992 standard functions.
12993 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12994 Remove comments and hacks for old compiler versions.
12995 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12996 libc_fegetround, libc_fesetround, libc_feholdexcept, and
12997 libc_feholdexceptl.
12998
caa6c9d8
AS
129992011-10-18 Andreas Schwab <schwab@redhat.com>
13000
13001 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
13002 (__feraiseexcept_renamed): Add __NTH.
13003 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
13004 namespace violations.
13005
97c066e6
UD
130062011-10-17 Ulrich Drepper <drepper@gmail.com>
13007
99ce7b04
UD
13008 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
13009
1004d182
UD
13010 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
13011
228a984d
UD
13012 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
13013 recently added interfaces.
13014 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
13015
c8553a6a
UD
13016 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
13017 about macro parameter expansion.
13018
ed22dcf6
UD
13019 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
13020 __NO_MATH_INLINES is defined. Cleanups.
13021
13022 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
13023 and __floorf is target has SSE4.1.
13024 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
13025 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
13026 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
13027 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
13028
b171c137
UD
13029 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
13030 name.
13031 (floorf): Likewise.
13032
97c066e6
UD
13033 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
13034
629f62ef
AS
130352011-10-17 Andreas Schwab <schwab@redhat.com>
13036
49a43d80
AS
13037 * misc/sys/cdefs.h: Fix last change.
13038
629f62ef
AS
13039 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
13040 database lookup.
13041
e453f6cd
UD
130422011-10-16 Ulrich Drepper <drepper@gmail.com>
13043
aa78043a
UD
13044 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
13045
ad0f5cad
UD
13046 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
13047 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13048 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13049 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13050 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13051 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13052 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13053 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13054 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13055 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
13056 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
13057 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
13058 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
13059 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
13060 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
13061 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
13062 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
13063 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
13064 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
13065 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
13066 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
13067 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
13068
13069 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
13070 ceil, ceilf, floor, floorf.
13071
13072 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
13073 Perform IRELATIVE relocations last.
13074
e453f6cd
UD
13075 * elf/do-rel.h: Add another parameter nrelative, replacing the
13076 local variable with the same name. Change name of the function
13077 to end in Rel or Rela (uppercase).
13078 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
13079 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
13080 elf_dynamic_do_##reloc function.
13081
fd5bdc09
UD
130822011-10-15 Ulrich Drepper <drepper@gmail.com>
13083
79b195b5
UD
13084 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
13085 is sufficient, at least on modern CPUs.
13086
d4a28569
UD
13087 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
13088
b61099b5
UD
13089 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
13090 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
13091
bcf01e6d
UD
13092 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
13093 __expl_finite.
13094 * math/bits/math-finite.h: Add entries for exp.
13095 * math/e_expl.c: Add __*_finite alias.
13096 * sysdeps/i386/fpu/e_exp.S: Likewise.
13097 * sysdeps/i386/fpu/e_expf.S: Likewise.
13098 * sysdeps/i386/fpu/e_expl.c: Likewise.
13099 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13100 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13101 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13102 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13103 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
13104 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13105 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13106
ba1a0d59
UD
13107 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
13108 is sufficient, at least on modern CPUs.
13109
fd5bdc09
UD
13110 * ctype/ctype-info.c (__ctype_init): Define.
13111 * include/ctype.h (__ctype_init): Declare.
13112 (__ctype_b_loc): The variable is always initialized.
13113 (__ctype_toupper_loc): Likewise.
13114 (__ctype_tolower_loc): Likewise.
13115 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
13116 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
13117
7872cfb0
AS
131182011-10-15 Andreas Schwab <schwab@linux-m68k.org>
13119
b468825a
AS
13120 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
13121
7872cfb0
AS
13122 * configure.in: Also look in $cxxmachine/include for C++ system
13123 headers.
13124
be13f7bf
LD
131252011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13126
13127 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
13128 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
13129 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
13130 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
13131 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
13132 (USE_AS_WMEMCMP): New macro.
13133 Fixing indents.
13134 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
13135 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
13136 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
13137 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
13138 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13139 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
13140 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
13141 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
13142 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
13143 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
13144 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
13145 (USE_AS_WMEMCMP): New macro.
13146 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
13147 * sysdeps/string/test-memcmp.c: Update.
13148 Fix simple_wmemcmp.
13149 Add new tests.
13150 * wcsmbs/wmemcmp.c: Update.
13151 (WMEMCMP): New macro.
13152 Fix overflow bug.
13153
556a2007
AJ
131542011-10-12 Andreas Jaeger <aj@suse.de>
13155
13156 [BZ #13268]
13157 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
13158
538faaa7
UD
131592011-10-15 Ulrich Drepper <drepper@gmail.com>
13160
ab6737ff
UD
13161 * libio/iofwide.c (do_length): Avoid warning.
13162
538faaa7
UD
13163 * ctype/ctype.h (__isctype_f): Add missing __THROW.
13164
396a21b1
UD
131652011-10-14 Ulrich Drepper <drepper@gmail.com>
13166
cdf2901f
UD
13167 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
13168
38ad40ce
UD
13169 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
13170 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
13171 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
13172 * sysdeps/i386/i686/fpu/e_log.S: New file.
13173 * sysdeps/i386/i686/fpu/e_logf.S: New file.
13174 * sysdeps/i386/i686/fpu/e_logl.S: New file.
13175
396a21b1
UD
13176 * ctype/ctype.h: Add support for inlined isXXX functions when
13177 compiling C++ code.
13178
6b1f68c9
AS
131792011-10-14 Andreas Schwab <schwab@redhat.com>
13180
349290c0
AS
13181 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13182
6b1f68c9
AS
13183 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
13184
f2282d42
RM
131852011-10-13 Roland McGrath <roland@hack.frob.com>
13186
13187 [BZ #13291]
13188 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
13189
5298ffa8
AS
131902011-10-13 Andreas Schwab <schwab@redhat.com>
13191
714fad23
AS
13192 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
13193 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
13194 feraiseexcept.
13195
81dcc7fb
AS
13196 * sysdeps/x86_64/memrchr.S: Check for zero size.
13197
5298ffa8
AS
13198 * string/stratcliff.c: Add memrchr tests.
13199
951fbcec
LD
132002011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13201
13202 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13203 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
13204 rawmemchr-sse2 rawmemchr-sse2-bsf.
13205 * sysdeps/i386/i686/multiarch/memchr.S: New file.
13206 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
13207 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
13208 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
13209 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
13210 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
13211 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
13212 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
13213 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
13214 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
13215 * string/memrchr.c (MEMRCHR): New macro.
13216
0ac5ae23
UD
132172011-10-12 Ulrich Drepper <drepper@gmail.com>
13218
13219 Add integration with gcc's -ffinite-math-only and optimize wrapper
13220 functions in libm.
13221 * Versions.def: Define GLIBC_2.15 version for libm.
13222 * math/Makefile (headers): Add bits/math-finite.h.
13223 * math/bits/math-finite.h: New file.
13224 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
13225 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
13226 * math/e_acoshl.c: Add __*_finite alias.
13227 * math/e_acosl.c: Likewise.
13228 * math/e_asinl.c: Likewise.
13229 * math/e_atan2l.c: Likewise.
13230 * math/e_atanhl.c: Likewise.
13231 * math/e_coshl.c: Likewise.
13232 * math/e_exp10.c: Likewise.
13233 * math/e_exp10f.c: Likewise.
13234 * math/e_exp10l.c: Likewise.
13235 * math/e_exp2l.c: Likewise.
13236 * math/e_fmodl.c: Likewise.
13237 * math/e_gammal_r.c: Likewise.
13238 * math/e_hypotl.c: Likewise.
13239 * math/e_j0l.c: Likewise.
13240 * math/e_j1l.c: Likewise.
13241 * math/e_jnl.c: Likewise.
13242 * math/e_lgammal_r.c: Likewise.
13243 * math/e_log10l.c: Likewise.
13244 * math/e_log2l.c: Likewise.
13245 * math/e_logl.c: Likewise.
13246 * math/e_powl.c: Likewise.
13247 * math/e_sinhl.c: Likewise.
13248 * math/e_sqrtl.c: Likewise.
13249 * math/e_scalb.c: Completely rewritten and optimized.
13250 * math/e_scalbf.c: Likewise.
13251 * math/e_scalbl.c: Likewise.
13252 * math/w_acos.c: Likewise.
13253 * math/w_acosf.c: Likewise.
13254 * math/w_acosl.c: Likewise.
13255 * math/w_acosh.c: Likewise.
13256 * math/w_acoshf.c: Likewise.
13257 * math/w_acoshl.c: Likewise.
13258 * math/w_asin.c: Likewise.
13259 * math/w_asinf.c: Likewise.
13260 * math/w_asinl.c: Likewise.
13261 * math/w_atan2.c: Likewise.
13262 * math/w_atan2f.c: Likewise.
13263 * math/w_atan2l.c: Likewise.
13264 * math/w_atanh.c: Likewise.
13265 * math/w_atanhf.c: Likewise.
13266 * math/w_atanhl.c: Likewise.
13267 * math/w_exp10.c: Likewise.
13268 * math/w_exp10f.c: Likewise.
13269 * math/w_exp10l.c: Likewise.
13270 * math/w_fmod.c: Likewise.
13271 * math/w_fmodf.c: Likewise.
13272 * math/w_fmodl.c: Likewise.
13273 * math/w_j0.c: Likewise.
13274 * math/w_j0f.c: Likewise.
13275 * math/w_j0l.c: Likewise.
13276 * math/w_j1.c: Likewise.
13277 * math/w_j1f.c: Likewise.
13278 * math/w_j1l.c: Likewise.
13279 * math/w_jn.c: Likewise.
13280 * math/w_jnf.c: Likewise.
13281 * math/w_log.c: Likewise.
13282 * math/w_logf.c: Likewise.
13283 * math/w_logl.c: Likewise.
13284 * math/w_log10.c: Likewise.
13285 * math/w_log10f.c: Likewise.
13286 * math/w_log10l.c: Likewise.
13287 * math/w_log2.c: Likewise.
13288 * math/w_log2f.c: Likewise.
13289 * math/w_log2l.c: Likewise.
13290 * math/w_pow.c: Likewise.
13291 * math/w_powf.c: Likewise.
13292 * math/w_powl.c: Likewise.
13293 * math/w_remainder.c: Likewise.
13294 * math/w_remainderf.c: Likewise.
13295 * math/w_remainderl.c: Likewise.
13296 * math/w_scalb.c: Likewise.
13297 * math/w_scalbf.c: Likewise.
13298 * math/w_scalbl.c: Likewise.
13299 * math/w_sqrt.c: Likewise.
13300 * math/w_sqrtf.c: Likewise.
13301 * math/w_sqrtl.c: Likewise.
13302 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13303 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
13304 used.
13305 * math/math_private.h: Declare __kernel_standard_f.
13306 * math/w_cosh.c: Remove cruft and optimize a bit.
13307 * math/w_coshf.c: Likewise.
13308 * math/w_coshl.c: Likewise.
13309 * math/w_exp2.c: Likewise.
13310 * math/w_exp2f.c: Likewise.
13311 * math/w_exp2l.c: Likewise.
13312 * math/w_hypot.c: Likewise.
13313 * math/w_hypotf.c: Likewise.
13314 * math/w_hypotl.c: Likewise.
13315 * math/w_lgamma.c: Likewise.
13316 * math/w_lgamma_r.c: Likewise.
13317 * math/w_lgammaf.c: Likewise.
13318 * math/w_lgammaf_r.c: Likewise.
13319 * math/w_lgammal.c: Likewise.
13320 * math/w_lgammal_r.c: Likewise.
13321 * math/w_sinh.c: Likewise.
13322 * math/w_sinhf.c: Likewise.
13323 * math/w_sinhl.c: Likewise.
13324 * math/w_tgamma.c: Likewise.
13325 * math/w_tgammaf.c: Likewise.
13326 * math/w_tgammal.c: Likewise.
13327 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13328 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13329 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13330 Minor optimizations. Pretty printing. Remove cruft.
13331 * sysdeps/i386/fpu/e_acosf.S: Likewise.
13332 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13333 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13334 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13335 * sysdeps/i386/fpu/e_acosl.c: Likewise.
13336 * sysdeps/i386/fpu/e_asin.S: Likewise.
13337 * sysdeps/i386/fpu/e_asinf.S: Likewise.
13338 * sysdeps/i386/fpu/e_atan2.S: Likewise.
13339 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13340 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13341 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13342 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13343 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13344 * sysdeps/i386/fpu/e_exp10.S: Likewise.
13345 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13346 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13347 * sysdeps/i386/fpu/e_exp2.S: Likewise.
13348 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13349 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13350 * sysdeps/i386/fpu/e_fmod.S: Likewise.
13351 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13352 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13353 * sysdeps/i386/fpu/e_hypot.S: Likewise.
13354 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
13355 * sysdeps/i386/fpu/e_log.S: Likewise.
13356 * sysdeps/i386/fpu/e_log10.S: Likewise.
13357 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13358 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13359 * sysdeps/i386/fpu/e_log2.S: Likewise.
13360 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13361 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13362 * sysdeps/i386/fpu/e_logf.S: Likewise.
13363 * sysdeps/i386/fpu/e_logl.S: Likewise.
13364 * sysdeps/i386/fpu/e_pow.S: Likewise.
13365 * sysdeps/i386/fpu/e_powf.S: Likewise.
13366 * sysdeps/i386/fpu/e_powl.S: Likewise.
13367 * sysdeps/i386/fpu/e_remainder.S: Likewise.
13368 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
13369 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
13370 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13371 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13372 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13373 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
13374 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
13375 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
13376 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13377 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13378 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13379 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13380 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13381 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13382 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13383 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13384 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13385 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13386 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13387 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13388 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13389 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13390 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13391 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13392 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13393 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13394 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13395 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13396 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13397 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13398 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13399 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13400 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13401 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13402 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13403 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13404 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13405 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13406 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13407 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13408 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13409 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13410 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13411 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13412 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13413 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13414 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13415 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13416 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13417 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13418 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13419 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13420 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13421 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13422 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13423 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13424 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13425 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13426 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13427 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13428 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13429 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13430 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13431 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13432 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13433 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13434 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13435 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13436 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13437 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13438 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13439 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13440 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13441 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13442 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13443 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13444 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13445 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13446 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13447 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13448 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13449 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13450 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13451 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13452 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13453 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13454 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13455 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13456 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13457 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13458 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13459 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13460 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13461 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13462 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13463 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13464 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13465 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13466 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13467 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13468 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13469 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13470 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13471 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13472 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13473 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13474 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13475 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13476 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
13477 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
13478 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
13479 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
13480 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13481 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13482 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13483 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13484 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
13485 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13486 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
13487 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
13488 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
13489 (__isnanf): Likewise.
13490 (__isinf_ns): Likewise.
13491 (__isinf_nsf): Likewise.
13492 (__finite): Likewise.
13493 (__finitef): Likewise.
13494 (__ieee754_sqrt): Define as macro.
13495 (__ieee754_sqrtf): Define as macro.
13496 (__ieee754_sqrtl): Define as macro.
13497 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
13498 inlined copy.
13499 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
13500 __FINITE_MATH_ONLY__ consistent.
13501 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
13502
12cc2fcd
AS
135032011-10-10 Andreas Schwab <schwab@linux-m68k.org>
13504
a843a204
AS
13505 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
13506 of rawmemchr.
13507
12cc2fcd
AS
13508 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
13509
c853acd5
UD
135102011-10-09 Ulrich Drepper <drepper@gmail.com>
13511
13512 * po/ja.po: Update from translation team.
13513
c658d255
RM
135142011-10-08 Roland McGrath <roland@hack.frob.com>
13515
110946e4
RM
13516 * locale/programs/locarchive.c (prepare_address_space): New function.
13517 (create_archive, enlarge_archive, open_archive): Use it.
13518
50604220
RM
13519 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
13520 inside [SHARED], where it is used.
13521
c658d255
RM
13522 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
13523
13524 * nss/getent.c (netgroup_keys): Remove unused variable.
13525 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13526
6a621eb7
UD
135272011-10-08 Ulrich Drepper <drepper@gmail.com>
13528
7edb55ce
UD
13529 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
13530 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
13531 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
13532 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
13533 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
13534 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
13535 * math/Makefile (libm-calls): Add s_isinf_ns.
13536 * math/divtc3.c: Use __isinf_nsl instead of isinf.
13537 * math/multc3.c: Likewise.
13538 * math/s_casin.c: Likewise.
13539 * math/s_casinf.c: Likewise.
13540 * math/s_casinl.c: Likewise.
13541 * math/s_ccos.c: Likewise.
13542 * math/s_ccosf.c: Likewise.
13543 * math/s_ccosl.c: Likewise.
13544 * math/s_ctan.c: Likewise.
13545 * math/s_ctanf.c: Likewise.
13546 * math/s_ctanh.c: Likewise.
13547 * math/s_ctanhf.c: Likewise.
13548 * math/s_ctanhl.c: Likewise.
13549 * math/s_ctanl.c: Likewise.
13550 * math/w_fmod.c: Likewise.
13551 * math/w_fmodf.c: Likewise.
13552 * math/w_fmodl.c: Likewise.
13553 * math/w_remainder.c: Likewise.
13554 * math/w_remainderf.c: Likewise.
13555 * math/w_remainderl.c: Likewise.
13556 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
13557 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
13558 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
13559 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
13560 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
13561 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
13562 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
13563 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
13564
187da0ae
UD
13565 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
13566 of the number.
13567 * stdio-common/printf_fphex.c: Likewise.
13568 * stdio-common/printf_size.c: Likewise.
13569
9277c064
UD
13570 * math/e_exp10.c: Include math_private.h using <...> not "...".
13571 * math/e_exp10f.c: Likewise.
13572 * math/e_exp10l.c: Likewise.
13573 * math/e_exp2l.c: Likewise.
13574 * math/e_j0l.c: Likewise.
13575 * math/e_j1l.c: Likewise.
13576 * math/e_jnl.c: Likewise.
13577 * math/e_lgammal_r.c: Likewise.
13578 * math/e_rem_pio2l.c: Likewise.
13579 * math/e_scalb.c: Likewise.
13580 * math/e_scalbf.c: Likewise.
13581 * math/e_scalbl.c: Likewise.
13582 * math/k_cosl.c: Likewise.
13583 * math/k_sinl.c: Likewise.
13584 * math/k_tanl.c: Likewise.
13585 * math/s_cacoshf.c: Likewise.
13586 * math/s_catan.c: Likewise.
13587 * math/s_catanf.c: Likewise.
13588 * math/s_catanh.c: Likewise.
13589 * math/s_catanhf.c: Likewise.
13590 * math/s_catanhl.c: Likewise.
13591 * math/s_catanl.c: Likewise.
13592 * math/s_ccosh.c: Likewise.
13593 * math/s_ccoshf.c: Likewise.
13594 * math/s_ccoshl.c: Likewise.
13595 * math/s_cexp.c: Likewise.
13596 * math/s_cexpf.c: Likewise.
13597 * math/s_cexpl.c: Likewise.
13598 * math/s_clog.c: Likewise.
13599 * math/s_clog10.c: Likewise.
13600 * math/s_clog10f.c: Likewise.
13601 * math/s_clog10l.c: Likewise.
13602 * math/s_clogf.c: Likewise.
13603 * math/s_clogl.c: Likewise.
13604 * math/s_csin.c: Likewise.
13605 * math/s_csinf.c: Likewise.
13606 * math/s_csinh.c: Likewise.
13607 * math/s_csinhf.c: Likewise.
13608 * math/s_csinhl.c: Likewise.
13609 * math/s_csinl.c: Likewise.
13610 * math/s_csqrt.c: Likewise.
13611 * math/s_csqrtf.c: Likewise.
13612 * math/s_csqrtl.c: Likewise.
13613 * math/s_ctan.c: Likewise.
13614 * math/s_ctanf.c: Likewise.
13615 * math/s_ctanh.c: Likewise.
13616 * math/s_ctanhf.c: Likewise.
13617 * math/s_ctanhl.c: Likewise.
13618 * math/s_ctanl.c: Likewise.
13619 * math/s_ldexp.c: Likewise.
13620 * math/s_ldexpf.c: Likewise.
13621 * math/s_ldexpl.c: Likewise.
13622 * math/s_significand.c: Likewise.
13623 * math/s_significandf.c: Likewise.
13624 * math/s_significandl.c: Likewise.
13625 * math/w_acos.c: Likewise.
13626 * math/w_acosf.c: Likewise.
13627 * math/w_acosh.c: Likewise.
13628 * math/w_acoshf.c: Likewise.
13629 * math/w_acoshl.c: Likewise.
13630 * math/w_acosl.c: Likewise.
13631 * math/w_asin.c: Likewise.
13632 * math/w_asinf.c: Likewise.
13633 * math/w_asinl.c: Likewise.
13634 * math/w_atan2.c: Likewise.
13635 * math/w_atan2f.c: Likewise.
13636 * math/w_atan2l.c: Likewise.
13637 * math/w_atanh.c: Likewise.
13638 * math/w_atanhf.c: Likewise.
13639 * math/w_atanhl.c: Likewise.
13640 * math/w_cosh.c: Likewise.
13641 * math/w_coshf.c: Likewise.
13642 * math/w_coshl.c: Likewise.
13643 * math/w_dremf.c: Likewise.
13644 * math/w_exp10.c: Likewise.
13645 * math/w_exp10f.c: Likewise.
13646 * math/w_exp10l.c: Likewise.
13647 * math/w_exp2.c: Likewise.
13648 * math/w_exp2f.c: Likewise.
13649 * math/w_fmod.c: Likewise.
13650 * math/w_fmodf.c: Likewise.
13651 * math/w_fmodl.c: Likewise.
13652 * math/w_hypot.c: Likewise.
13653 * math/w_hypotf.c: Likewise.
13654 * math/w_hypotl.c: Likewise.
13655 * math/w_j0.c: Likewise.
13656 * math/w_j0f.c: Likewise.
13657 * math/w_j0l.c: Likewise.
13658 * math/w_j1.c: Likewise.
13659 * math/w_j1f.c: Likewise.
13660 * math/w_j1l.c: Likewise.
13661 * math/w_jn.c: Likewise.
13662 * math/w_jnf.c: Likewise.
13663 * math/w_jnl.c: Likewise.
13664 * math/w_lgamma.c: Likewise.
13665 * math/w_lgamma_r.c: Likewise.
13666 * math/w_lgammaf.c: Likewise.
13667 * math/w_lgammaf_r.c: Likewise.
13668 * math/w_lgammal.c: Likewise.
13669 * math/w_lgammal_r.c: Likewise.
13670 * math/w_log.c: Likewise.
13671 * math/w_log10.c: Likewise.
13672 * math/w_log10f.c: Likewise.
13673 * math/w_log10l.c: Likewise.
13674 * math/w_log2.c: Likewise.
13675 * math/w_log2f.c: Likewise.
13676 * math/w_log2l.c: Likewise.
13677 * math/w_logf.c: Likewise.
13678 * math/w_logl.c: Likewise.
13679 * math/w_pow.c: Likewise.
13680 * math/w_powf.c: Likewise.
13681 * math/w_powl.c: Likewise.
13682 * math/w_remainder.c: Likewise.
13683 * math/w_remainderf.c: Likewise.
13684 * math/w_remainderl.c: Likewise.
13685 * math/w_scalb.c: Likewise.
13686 * math/w_scalbf.c: Likewise.
13687 * math/w_scalbl.c: Likewise.
13688 * math/w_sinh.c: Likewise.
13689 * math/w_sinhf.c: Likewise.
13690 * math/w_sinhl.c: Likewise.
13691 * math/w_sqrt.c: Likewise.
13692 * math/w_sqrtf.c: Likewise.
13693 * math/w_sqrtl.c: Likewise.
13694 * math/w_tgamma.c: Likewise.
13695 * math/w_tgammaf.c: Likewise.
13696 * math/w_tgammal.c: Likewise.
13697
6a621eb7
UD
13698 * po/ja.po: Update from translation team.
13699
bf582445
AJ
137002011-09-29 Andreas Jaeger <aj@suse.de>
13701
f9efbf3a
AJ
13702 [BZ #13179]
13703 * sunrpc/netname.c (netname2host): Fix logic.
13704
bf582445
AJ
13705 [BZ #6779]
13706 [BZ #6783]
13707 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
13708 correctly.
13709 * math/w_remainder.c (__remainder): Likewise.
13710 * math/w_remainderf.c (__remainderf): Likewise.
13711 * math/libm-test.inc (remainder_test): Add test cases.
13712
48693bea
AK
137132011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13714
13715 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
13716 sdiv_qrnnd.
13717
42622229
LD
137182011-10-07 Ulrich Drepper <drepper@gmail.com>
13719
13720 * string/test-memcmp.c: Avoid unncessary #defines.
13721 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13722
093ecf92
LD
137232011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13724
13725 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
13726 Use new sse2 version for core i3 - i7 as it's faster
13727 than sse42 version.
13728 (bit_Prefer_PMINUB_for_stringop): New.
13729 * sysdeps/x86_64/rawmemchr.S: Update.
13730 Replace with faster SSE2 version.
13731 * sysdeps/x86_64/memrchr.S: New file.
13732 * sysdeps/x86_64/memchr.S: Update.
13733 Replace with faster SSE2 version.
13734
fde56e5c
MP
137352011-09-12 Marek Polacek <mpolacek@redhat.com>
13736
13737 * elf/dl-load.c (lose): Add cast to avoid warning.
13738
21fd49a9
UD
137392011-10-07 Ulrich Drepper <drepper@gmail.com>
13740
5a06e643
UD
13741 * po/ca.po: Update from translation team.
13742
684ae515
UD
13743 * inet/getnetgrent_r.c: Hook up nscd.
13744 * nscd/Makefile (routines): Add nscd_netgroup.
13745 (nscd-modules): Add netgroupcache.
13746 (CFLAGS-netgroupcache.c): Define.
13747 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
13748 (cache_search): Add const to second parameter.
13749 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
13750 INNETGR.
13751 (dbs): Add netgrdb entry.
13752 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
13753 (verify_persistent_db): Handle netgrdb.
13754 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
13755 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
13756 GETFDNETGR.
13757 (netgroup_response_header): Define.
13758 (innetgroup_response_header): Define.
13759 (datahead): Add netgroup_response_header and innetgroup_response_header
13760 elements.
13761 * nscd/nscd.conf: Add entries for netgroup cache.
13762 * nscd/nscd.h (dbtype): Add netgrdb.
13763 (_PATH_NSCD_NETGROUP_DB): Define.
13764 (netgroup_iov_disabled): Declare.
13765 (xmalloc, xcalloc, xrealloc): Move declarations here.
13766 (cache_search): Adjust prototype.
13767 Add netgroup-related prototypes.
13768 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
13769 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
13770 (__nscd_innetgr): Declare.
13771 * nscd/selinux.c (perms): Use access_vector_t as element type and
13772 add netgroup-related initializers.
13773 * nscd/netgroupcache.c: New file.
13774 * nscd/nscd_netgroup.c: New file.
13775 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
13776 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
13777 For four parameters use innetgr.
13778 * nss/nss_files/files-init.c: Add definition and callback for netgr.
13779 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
13780 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
13781 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
13782
21fd49a9
UD
13783 * nscd/connections.c (register_traced_file): Don't register file
13784 for disabled databases.
13785
054c0457
UD
137862011-10-06 Ulrich Drepper <drepper@gmail.com>
13787
32b63198
UD
13788 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
13789
054c0457
UD
13790 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
13791 from tree and freeing node.
13792
64031225
JO
137932011-09-25 Jiri Olsa <jolsa@redhat.com>
13794
13795 * nss/nsswitch.c (__nss_database_lookup): Handle
13796 nss_parse_service_list out of memory case.
13797
0490345c
JO
137982011-09-15 Jiri Olsa <jolsa@redhat.com>
13799
13800 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
13801 out of memory case.
13802
3a62d00d
AS
138032011-10-04 Andreas Schwab <schwab@redhat.com>
13804
13805 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
13806 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
13807 pass it down.
13808 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
13809 elf_machine_rela, elf_machine_lazy_rel.
13810 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
13811 (ELF_DYNAMIC_DO_REL): Likewise.
13812 (ELF_DYNAMIC_DO_RELA): Likewise.
13813 (ELF_DYNAMIC_RELOCATE): Likewise.
13814 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
13815 to ELF_DYNAMIC_DO_REL.
13816 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
13817 (dl_main): In trace mode always set __RTLD_NOIFUNC.
13818 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
13819 elf_machine_rela.
13820 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
13821 skip_ifunc, don't call ifunc function if non-zero.
13822 (elf_machine_rela): Likewise.
13823 (elf_machine_lazy_rel): Likewise.
13824 (elf_machine_lazy_rela): Likewise.
13825 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13826 (elf_machine_lazy_rel): Likewise.
13827 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13828 Likewise.
13829 (elf_machine_lazy_rel): Likewise.
13830 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13831 Likewise.
13832 (elf_machine_lazy_rel): Likewise.
13833 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
13834 (elf_machine_lazy_rel): Likewise.
13835 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
13836 (elf_machine_lazy_rel): Likewise.
13837 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13838 (elf_machine_lazy_rel): Likewise.
13839 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
13840 (elf_machine_lazy_rel): Likewise.
13841 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
13842 (elf_machine_lazy_rel): Likewise.
13843 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13844 (elf_machine_lazy_rel): Likewise.
13845
68577918
UD
138462011-09-28 Ulrich Drepper <drepper@gmail.com>
13847
13848 * nss/nss_files/files-init.c (_nss_files_init): Use static
13849 initialization for all the *_traced_file variables.
13850
68822d74
AS
138512011-09-28 Andreas Schwab <schwab@redhat.com>
13852
13853 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13854
2056100b
RM
138552011-09-27 Roland McGrath <roland@hack.frob.com>
13856
13857 [BZ #13226]
13858 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
13859
32c76b63
AS
138602011-09-27 Andreas Schwab <schwab@redhat.com>
13861
13862 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13863 Reread the line before reparsing it.
13864
bf972c9d
AS
138652011-09-26 Andreas Schwab <schwab@redhat.com>
13866
13867 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
13868
e057a1b5
JM
138692011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
13870 Maxim Kuvyrkov <maxim@codesourcery.com>
13871 Joseph Myers <joseph@codesourcery.com>
13872
13873 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
13874 if needed for __stack_chk_guard.
13875
bc7e1c36
RM
138762011-09-19 Roland McGrath <roland@hack.frob.com>
13877
ecb1482f
RM
13878 * sysdeps/posix/spawni.c (script_execute): Always define it.
13879 It will be optimized away if unused.
13880 (maybe_script_execute): New function.
13881 (__spawni): Call it.
13882
bc7e1c36
RM
13883 * Makerules: Don't include tls.make.
13884 (config-tls): Always set to thread.
13885 * tls.make.c: File removed.
13886
1c3b002b
MF
138872011-09-19 Mike Frysinger <vapier@gentoo.org>
13888
13889 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
13890 * config.make.in (CPPFLAGS-config): New substituted variable.
13891
2840865d
UD
138922011-09-15 Ulrich Drepper <drepper@gmail.com>
13893
88738eb6
UD
13894 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
13895
cbf645a6 13896 [BZ #13192]
2840865d
UD
13897 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
13898 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
13899
b402e91a
RM
139002011-09-15 Roland McGrath <roland@hack.frob.com>
13901
13902 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
13903 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
13904 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13905 (CALL_FAIL): Likewise.
13906 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
13907 (CALL_FAIL): Macro removed.
13908 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
13909
4c1a1f71
UD
139102011-09-15 Ulrich Drepper <drepper@gmail.com>
13911
13912 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
13913 for __FINITE_MATH_ONLY__ == 1.
13914
edc121be
AS
139152011-09-15 Andreas Schwab <schwab@redhat.com>
13916
13917 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
13918 __ieee754_sqrt instead of sqrt.
13919 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
13920 __ieee754_sqrtf instead of sqrtf.
13921 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
13922 __floorf instead of floorf.
13923 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
13924 __floorf, __truncf instead of floorf, truncf.
13925
cd205654
UD
139262011-09-14 Ulrich Drepper <drepper@gmail.com>
13927
ee4d0315
UD
13928 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
13929
cd205654
UD
13930 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
13931 __extern_always_inline.
13932 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
13933 32-bit.
13934
48b67d71
AS
139352011-09-14 Andreas Schwab <schwab@redhat.com>
13936
13937 * elf/rtld.c (dl_main): Also relocate in dependency order when
13938 doing symbol dependency testing.
13939
1ae12c75
AS
139402011-09-13 Andreas Schwab <schwab@linux-m68k.org>
13941
13942 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13943 Always define `refsym'.
13944
995a80df
AS
139452011-09-13 Andreas Schwab <schwab@redhat.com>
13946
e529793b
AS
13947 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
13948 (__FD_ELT): Renamed from __FDELT.
13949 * misc/bits/select2.h (__FD_ELT): Likewise.
13950 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
13951 __FD_MASK instead of __FDELT, __FDMASK.
13952 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13953 Likewise.
13954 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13955 Likewise.
13956
52d4fef8
AS
13957 * elf/Makefile (gen-ldd): Fix pattern.
13958
995a80df
AS
13959 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
13960 (init_tls): Likewise.
13961
8682f8b0
UD
139622011-09-12 Ulrich Drepper <drepper@gmail.com>
13963
13964 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
13965
de82006d
AS
139662011-09-12 Andreas Schwab <schwab@redhat.com>
13967
a7c8e6a1
AS
13968 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
13969 `struct cmsghdr *' instead of `void *'.
13970 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
13971 Likewise.
13972
0f31fe77
AS
139732011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13974
13975 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
13976 if non-absolute.
13977 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
13978 ldd_rewrite_script.
0f31fe77 13979
32b4c839
UD
139802011-09-11 Ulrich Drepper <drepper@gmail.com>
13981
83cd1420
UD
13982 * configure.in: Remove --with-tls option.
13983 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
13984 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
13985 out in case it is missing.
13986 * sysdeps/ia64/elf/configure.in: Likewise.
13987 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
13988 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
13989 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
13990 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
13991 * sysdeps/sh/elf/configure.in: Likewise.
13992 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
13993 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13994 * sysdeps/x86_64/elf/configure.in: Likewise.
13995 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
13996 * sysdeps/mach/hurd/tls.h: Likewise.
13997
633f745d
UD
13998 [BZ #13067]
13999 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
14000
f318beb8
UD
14001 [BZ #13090]
14002 * configure.in: Fix use of AC_INIT.
14003
32b4c839
UD
14004 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
14005
3ce1f295
UD
140062011-09-10 Ulrich Drepper <drepper@gmail.com>
14007
bb016596
UD
14008 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
14009 __set_errno.
8e58439c
UD
14010 * malloc/hooks.c: Likewise.
14011
aebae053 14012 [BZ #11929]
02d46fc4
UD
14013 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
14014 variables statically.
14015 (narenas): Initialize.
14016 (list_lock): Initialize.
bb016596
UD
14017 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
14018 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
14019 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
14020 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
14021 Add initializers to main_arena and mp_.
14022 (malloc_state): Remove pagesize member. Change all users to use
14023 GLRO(dl_pagesize).
14024
14025 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
14026 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
14027 is always initialized.
14028
22a89187
UD
14029 * malloc/malloc.c: Removed unused configurations and dead code.
14030 * malloc/arena.c: Likewise.
14031 * malloc/hooks.c: Likewise.
02d46fc4 14032 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 14033
d063d164
UD
14034 * include/tls.h: Removed. USE___THREAD must always be defined.
14035 * bits/libc-tsd.h: Don't handle !USE___THREAD.
14036 * elf/dl-libc.c: Likewise.
14037 * elf/dl-tsd.c: Likewise.
14038 * include/errno.h: Likewise.
14039 * include/netdb.h: Likewise.
14040 * include/resolv.h: Likewise.
14041 * inet/herrno-loc.c: Likewise.
14042 * inet/herrno.c: Likewise.
14043 * malloc/arena.c: Likewise.
14044 * malloc/hooks.c: Likewise.
14045 * malloc/malloc.c: Likewise.
14046 * resolv/res-state.c: Likewise.
14047 * resolv/res_libc.c: Likewise.
14048 * sysdeps/i386/dl-machine.h: Likewise.
14049 * sysdeps/ia64/dl-machine.h: Likewise.
14050 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14051 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14052 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14053 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14054 * sysdeps/sh/dl-machine.h: Likewise.
14055 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14056 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14057 * sysdeps/unix/i386/sysdep.S: Likewise.
14058 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14059 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
14060 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
14061 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14062 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
14063 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14064 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14065 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14066 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14067 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14068 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14069 * sysdeps/x86_64/dl-machine.h: Likewise.
14070 * tls.make.c: Likewise.
14071
3ce1f295
UD
14072 * configure.in: Remove --with-__thread option. Make tests for
14073 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
14074 tls_model attribute fail if no support is available. Remove
14075 USE_IN_LIBIO.
14076 * Makeconfig: Adjust for dropped configure option. All features are
14077 now mandatory.
14078 * Makerules: Likewise.
14079 * Versions.def: Likewise.
14080 * argp/argp-fmtstream.c: Likewise.
14081 * argp/argp-fmtstream.h: Likewise.
14082 * argp/argp-help.c: Likewise.
14083 * assert/assert.c: Likewise.
14084 * config.h.in: Likewise.
14085 * config.make.in: Likewise.
14086 * configure: Likewise.
14087 * configure.in: Likewise.
14088 * csu/Versions: Likewise.
14089 * csu/init.c: Likewise.
14090 * elf/tst-audit2.c: Likewise.
14091 * elf/tst-tls10.c: Likewise.
14092 * elf/tst-tls10.h: Likewise.
14093 * elf/tst-tls11.c: Likewise.
14094 * elf/tst-tls12.c: Likewise.
14095 * elf/tst-tls14.c: Likewise.
14096 * elf/tst-tlsmod11.c: Likewise.
14097 * elf/tst-tlsmod12.c: Likewise.
14098 * elf/tst-tlsmod13.c: Likewise.
14099 * elf/tst-tlsmod13a.c: Likewise.
14100 * elf/tst-tlsmod14a.c: Likewise.
14101 * elf/tst-tlsmod15b.c: Likewise.
14102 * elf/tst-tlsmod16a.c: Likewise.
14103 * elf/tst-tlsmod16b.c: Likewise.
14104 * elf/tst-tlsmod7.c: Likewise.
14105 * elf/tst-tlsmod8.c: Likewise.
14106 * elf/tst-tlsmod9.c: Likewise.
14107 * gmon/gmon.c: Likewise.
14108 * grp/fgetgrent_r.c: Likewise.
14109 * grp/putgrent.c: Likewise.
14110 * hurd/fopenport.c: Likewise.
14111 * include/libc-symbols.h: Likewise.
14112 * include/tls.h: Likewise.
14113 * intl/gettextP.h: Likewise.
14114 * intl/loadinfo.h: Likewise.
14115 * locale/global-locale.c: Likewise.
14116 * locale/localeinfo.h: Likewise.
14117 * mach/devstream.c: Likewise.
14118 * malloc/arena.c: Likewise.
14119 * malloc/set-freeres.c: Likewise.
14120 * misc/err.c: Likewise.
14121 * misc/getttyent.c: Likewise.
14122 * misc/mntent_r.c: Likewise.
14123 * posix/getopt.c: Likewise.
14124 * posix/wordexp.c: Likewise.
14125 * pwd/fgetpwent_r.c: Likewise.
14126 * resolv/Versions: Likewise.
14127 * resolv/res_hconf.c: Likewise.
14128 * shadow/fgetspent_r.c: Likewise.
14129 * shadow/putspent.c: Likewise.
14130 * stdio-common/printf_fphex.c: Likewise.
14131 * stdio-common/tmpfile.c: Likewise.
14132 * stdlib/abort.c: Likewise.
14133 * stdlib/fmtmsg.c: Likewise.
14134 * sunrpc/auth_unix.c: Likewise.
14135 * sunrpc/clnt_perr.c: Likewise.
14136 * sunrpc/clnt_tcp.c: Likewise.
14137 * sunrpc/clnt_udp.c: Likewise.
14138 * sunrpc/clnt_unix.c: Likewise.
14139 * sunrpc/openchild.c: Likewise.
14140 * sunrpc/svc_simple.c: Likewise.
14141 * sunrpc/svc_tcp.c: Likewise.
14142 * sunrpc/svc_udp.c: Likewise.
14143 * sunrpc/svc_unix.c: Likewise.
14144 * sunrpc/xdr.c: Likewise.
14145 * sunrpc/xdr_array.c: Likewise.
14146 * sunrpc/xdr_rec.c: Likewise.
14147 * sunrpc/xdr_ref.c: Likewise.
14148 * sunrpc/xdr_stdio.c: Likewise.
14149
1248c1c4
PB
141502011-09-09 Ulrich Drepper <drepper@gmail.com>
14151
14152 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14153
141542011-07-03 Andreas Jaeger <aj@suse.de>
14155
14156 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
14157 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
14158 regenerate with gen-libm-tests.pl.
14159
141602010-05-12 Petr Baudis <pasky@suse.cz>
14161
14162 [BZ #11589]
14163 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
14164 around j0() zero points by switching to j1().
14165 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14166 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14167 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14168 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14169
f22e1074
UD
141702011-09-09 Ulrich Drepper <drepper@gmail.com>
14171
f19009c1
UD
14172 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
14173 instead of 0.
14174 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
14175 instead of 0. .
14176 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14177 Patch in part by Pavel Roskin <proski@gnu.org>.
14178
3f8cc204
UD
14179 [BZ #13138]
14180 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
14181 realloc.
14182 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
14183 Free memory block if necessary.
14184
f22e1074
UD
14185 [BZ #12847]
14186 * libio/genops.c (INTDEF): For string streams the _lock pointer can
14187 be NULL. Don't lock in this case.
14188
0a2349f9
RM
141892011-09-09 Roland McGrath <roland@hack.frob.com>
14190
14191 * elf/elf.h (ELFOSABI_GNU): New macro.
14192 (ELFOSABI_LINUX): Define to that.
14193
f3cdd467
DZ
141942011-07-29 Denis Zaitceff <zaitceff@gmail.com>
14195
14196 * string/strncat.c (strncat): Undef the symbol in case it has been
14197 defined in bits/string.h.
14198
74718d13
UD
141992011-09-09 Ulrich Drepper <drepper@gmail.com>
14200
633e9e0f
UD
14201 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
14202
0a2349f9 14203 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
14204 link map.
14205
f9924780
AJ
142062011-08-17 Andreas Jaeger <aj@suse.de>
14207
14208 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
14209
7f5517aa
PP
142102011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14211 Ian Lance Taylor <iant@google.com>
14212
14213 * math/libm-test.inc (lround_test): New testcase.
14214 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
14215
762011fe
UD
142162011-09-08 Ulrich Drepper <drepper@gmail.com>
14217
92963737
UD
14218 * Makefile: Remove support for automatic cvs check-ins.
14219 * Makerules: Likewise.
14220 * config.make.in: Likewise.
14221 * configure.in: Likewise.
14222 * intl/Makefile: Likewise.
14223 * locale/Makefile: Likewise.
14224 * po/Makefile: Likewise.
14225 * posix/Makefile: Likewise.
14226 * sysdeps/gnu/Makefile: Likewise.
14227 * sysdeps/mach/hurd/Makefile: Likewise.
14228 * sysdeps/sparc/sparc32/Makefile: Likewise.
14229
b0727fd8
JS
14230 [BZ #13118]
14231 * posix/Makefile (bug-regex32-ENV): Define.
14232 Patch by John Stanley <jpsinthemix@verizon.net>.
14233
a0f33f99
UD
14234 * misc/Makefile (headers): Add bits/select2.h.
14235 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
14236 * misc/bits/select2.h: New file.
14237 * include/bits/select2.h: New file.
14238 * debug/Makefile (routines): Add fdelt_chk.
14239 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
14240 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
14241 FD_ISSET.
14242 * debug/fdelt_chk.c: New file.
14243
762011fe
UD
14244 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
14245 * wcsmbs/test-wmemcmp.c: Likewise.
14246 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 14247 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
14248
142492011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14250
14251 * string/Makefile (strop-tests): Add memcmp.
14252 * string/test-wmemcmp.c: New file.
14253 * string/test-memcmp.c: Add wmemcmp support.
14254
7f513ec8
RM
142552011-09-08 Roland McGrath <roland@hack.frob.com>
14256
0442afb4
RM
14257 [BZ #13153]
14258 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
14259 2011-07-19 change.
14260
7f513ec8
RM
14261 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14262 garbage value in a __mach_port_mod_refs call in the cases of the
14263 task-self and thread-self ports.
14264
a12b2239
ST
142652011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14266
14267 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14268
610f9ab4
AS
142692011-09-08 Andreas Schwab <schwab@redhat.com>
14270
7f513ec8 14271 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 14272
48882a1a
LD
142732011-09-07 Ulrich Drepper <drepper@gmail.com>
14274
b49865be
UD
14275 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14276
fdc86bc9
UD
14277 * elf/dl-libc.c (dlerror_run): Pass back error code from
14278 dl_catch_error.
14279
c966526a
UD
14280 [BZ #13123]
14281 * elf/dl-load.c (lose): Free l_origin if it is valid.
14282
48882a1a
LD
14283 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14284 names.
14285 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14286 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14287 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14288 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14289 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14290 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14291
77a2a8b4
AZ
142922011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14293
14294 * sysdeps/powerpc/fpu/e_hypot.c: New file.
14295 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14296 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14297 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14298 * sysdeps/powerpc/fpu/k_cosf.c: New file.
14299 * sysdeps/powerpc/fpu/k_sinf.c: New file.
14300 * sysdeps/powerpc/fpu/s_cosf.c: New file.
14301 * sysdeps/powerpc/fpu/s_sinf.c: New file.
14302 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14303 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14304
24f579d8
AM
143052011-08-15 Alan Modra <amodra@gmail.com>
14306
14307 [BZ #13092]
14308 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14309 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14310 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
14311 ppc_mcount to static-only-routines.
14312 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14313 __mcount_internal.
14314 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14315 __mcount_internal with usual JUMPTARGET. Remove useless nop.
14316
3d4837df
UD
143172011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
14318
14319 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14320 for finite and infinity parameters.
14321
22700377
WS
143222011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14323
14324 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14325 and add nop instructions for throughput optimization.
14326 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14327
5025581e
WS
143282011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
14329
14330 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14331 aligned copy for power7 with vector-scalar instructions.
14332 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14333
08a300c9
L
143342011-07-24 H.J. Lu <hongjiu.lu@intel.com>
14335
14336 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14337 AVX check.
14338
59178ef9
AS
143392011-09-07 Andreas Schwab <schwab@redhat.com>
14340
14341 [BZ #13144]
14342 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14343 last change.
14344
e38ba7ab
UD
143452011-09-07 Ulrich Drepper <drepper@gmail.com>
14346
14347 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14348 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14349 syscall wrapper around clock_gettime in __vdso_clock_gettime.
14350 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14351 clock_gettime.
14352
d53a73ac
UD
143532011-09-06 Ulrich Drepper <drepper@gmail.com>
14354
fc8bffcc
UD
14355 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
14356 Forgot to demangle the pointer.
14357
ceaa0c5d
UD
14358 * sysdeps/i386/sysdep.h: Define atom_text_section.
14359 * sysdeps/x86_64/sysdep.h: Likewise.
14360 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
14361 section with atom_text_section.
14362 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14363 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14364 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14365 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14366 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
14367
a77d3c17
UD
14368 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
14369 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
14370 already be defined. Change to take two parameters and don't assign
14371 result to variable. Adjust all users.
14372 Define INTERNAL_GETTIME if not already defined.
14373 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
14374 call.
14375 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
14376 HAVE_CLOCK_GETTIME_VSYSCALL.
14377 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
14378
d53a73ac
UD
14379 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
14380 gettimeofday vsyscall, just use time.
14381
a8f84144
AS
143822011-09-06 Andreas Schwab <schwab@redhat.com>
14383
14384 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
14385 <errno.h>.
14386
ef606249
UD
143872011-09-06 Ulrich Drepper <drepper@gmail.com>
14388
14389 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
14390 syscall on x86-64.
14391 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
14392 syscall.
14393 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14394 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
14395 syscall if possible.
14396
6585cb60
UD
143972011-09-05 Ulrich Drepper <drepper@gmail.com>
14398
14399 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
14400 e_ident. Don't pass to find_mapsXX.
14401 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
14402
a5f524e4
LD
144032011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14404
14405 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14406 strchr-sse2-no-bsf strrchr-sse2-no-bsf
14407 * sysdeps/x86_64/multiarch/strchr.S: Update.
14408 Check bit_slow_BSF bit.
14409 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14410 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
14411 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
14412
554881ef
UD
144132011-09-05 Ulrich Drepper <drepper@gmail.com>
14414
d96de963
UD
14415 [BZ #13134]
14416 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
14417 before glibc 2.15.
14418 (tryshell): Define.
14419 (__spawni): Change last parameter to be flag. Test
14420 SPAWN_XFLAGS_USE_PATH flag to use path or not.
14421 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
14422 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
14423 * posix/spawni.c: Likewise.
14424 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
14425 * posix/spawnp.c: Likewise. Change normal version to use
14426 SPAWN_XFLAGS_USE_PATH.
14427 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
14428 SPAWN_XFLAGS_TRY_SHELL.
14429
d48e5868
UD
14430 [BZ #13150]
14431 * posix/glob.h: Remove gcc 1.x support.
14432
554881ef
UD
14433 [BZ #13068]
14434 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
14435
693fb948
LD
144362011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14437
14438 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14439 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
14440 strrchr-sse2-bsf
14441 * sysdeps/i386/i686/multiarch/strchr.S: New file.
14442 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
14443 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
14444 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
14445 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
14446 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
14447
1b48c537
UD
144482011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14449
49d42c37
UD
14450 * sysdeps/x86_64/wcscmp.S: New file.
14451
1b48c537
UD
14452 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
14453 wcscmp-c wcscmp-sse2
14454 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
14455 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
14456 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
14457 * wcsmbs/wcscmp.c: Allow renaming.
14458
15c95c5d
DM
144592011-09-05 David S. Miller <davem@davemloft.net>
14460
14461 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
14462 stack slot, rather than the struct return pointer slot.
14463 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
14464 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
14465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
14466 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
14467
2f0ad8f3
UD
144682011-09-05 Ulrich Drepper <drepper@gmail.com>
14469
d88ae418
UD
14470 * po/ja.po: Update from translation team.
14471
2f0ad8f3
UD
14472 [BZ #13144]
14473 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
14474 kernel in 64-bit binaries.
14475
5f4318d1
DM
144762011-09-01 David S. Miller <davem@davemloft.net>
14477
14478 * elf/elf.h (HWCAP_SPARC_*): Move to..
14479 * sysdeps/sparc/sysdep.h: this new file and add new values.
14480 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
14481 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
14482 _DL_HWCAP_COUNT to 24.
14483 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14484 entries.
14485 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
14486 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
14487 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
14488 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
14489 instead of magic constants.
14490 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14491
3ba57516
DM
144922011-08-31 David S. Miller <davem@davemloft.net>
14493
14494 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
14495 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
14496 Reimplement to do errno handling inline.
14497 (SYSCALL_ERROR_HANDLER): New macro.
14498 (__SYSCALL_STRING): Do not do errno handling in asm.
14499 (__CLONE_SYSCALL_STRING): Delete.
14500 (__INTERNAL_SYSCALL_STRING): Delete.
14501 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
14502 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
14503 (PSEUDO): Reimplement to do errno handling inline.
14504 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
14505 (SYSCALL_ERROR_HANDLER): New macro.
14506 (__SYSCALL_STRING): Do not do errno handling in asm.
14507 (__CLONE_SYSCALL_STRING): Delete.
14508 (__INTERNAL_SYSCALL_STRING): Delete.
14509 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
14510 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
14511 i386.
14512 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
14513 (inline_syscall*): Add 'err' argument.
14514 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
14515 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
14516 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
14517 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
14518
14519 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
14520 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14521
2bc17433
AS
145222011-08-30 Andreas Schwab <schwab@redhat.com>
14523
14524 * elf/rtld.c (dl_main): Relocate objects in dependency order.
14525
fbeb5f4d
JO
145262011-08-29 Jiri Olsa <jolsa@redhat.com>
14527
14528 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
14529 directive.
14530
ad69cc26
DM
145312011-08-24 David S. Miller <davem@davemloft.net>
14532
14533 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
14534
39dd69df
AS
145352011-08-24 Andreas Schwab <schwab@redhat.com>
14536
14537 * elf/Makefile: Add rules to build and run unload8 test.
14538 * elf/unload8.c: New file.
14539 * elf/unload8mod1.c: New file.
14540 * elf/unload8mod1x.c: New file.
14541 * elf/unload8mod2.c: New file.
14542 * elf/unload8mod3.c: New file.
14543
14544 * elf/dl-close.c (_dl_close_worker): Reset private search list if
14545 it wasn't used.
14546
2c0b250a
DM
145472011-08-23 David S. Miller <davem@davemloft.net>
14548
14549 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
14550 subtract stack bias.
14551 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
14552 %sp not %fp in calculations.
14553 (_JMPBUF_UNWINDS_ADJ): Likewise.
14554
22044b48
DM
14555 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
14556 (aio_suspend): Call it to force an exception region around the
14557 AIO_MISC_WAIT() invocation.
14558
2cae4995
AS
145592011-08-23 Andreas Schwab <schwab@redhat.com>
14560
14561 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
14562 backslash.
14563
873a772e
AJ
145642011-07-04 Aurelien Jarno <aurelien@aurel32.net>
14565
14566 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
14567 protection macro.
14568 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
14569 and <dl-machine.h>.
14570 (Elf64_FuncDesc): Remove.
14571
25ad0df1
DM
145722011-08-22 David S. Miller <davem@davemloft.net>
14573
14574 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
14575 sigaltstack check, add missing cfi directives.
14576 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
14577 missing cfi directives, and sigaltstack handling.
14578
e888bcbe
AS
145792011-08-16 Andreas Schwab <schwab@redhat.com>
14580
14581 [BZ #11724]
14582 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
14583 object is seen twice.
14584 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14585
14586 * elf/Makefile (distribute): Add tst-initorder2.c.
14587 (tests): Add tst-initorder2.
14588 (modules-names): Add tst-initorder2a tst-initorder2b
14589 tst-initorder2c tst-initorder2d. Add rules to build them.
14590 ($(objpfx)tst-initorder2.out): New rule.
14591 * elf/tst-initorder2.c: New file.
14592 * elf/tst-initorder2.exp: New file.
14593
87162f46
AS
145942011-08-22 Andreas Schwab <schwab@redhat.com>
14595
70538b7f
AS
14596 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
14597
f55ffe58
AS
14598 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
14599 dependencies back to end of function.
14600
87162f46
AS
14601 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14602 $(elfobjdir)/ld.so.
14603
91b392a4
UD
146042011-08-21 Ulrich Drepper <drepper@gmail.com>
14605
14606 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
14607 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
14608 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
14609 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
14610 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
14611 of __vdso_gettimeofday.
14612 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
14613 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
14614 attribute_hidden.
14615 (_libc_vdso_platform_setup): Remove initialization of
14616 __vdso_gettimeofday and __vdso_time.
14617
5c43483f
UD
146182011-08-20 Ulrich Drepper <drepper@gmail.com>
14619
775a77e7
UD
14620 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
14621 and fgetc_unlocked.
14622 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
14623 getc_unlocked.
89f447ed 14624
49c74ba9
UD
14625 * elf/dl-open.c (add_to_global): Report additions to the global scope
14626 for LD_DEBUG=scopes.
14627 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 14628 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 14629
5c43483f
UD
14630 [BZ #13114]
14631 * stdio-common/Makefile (tests): Add bug24.
14632 * stdio-common/bug24.c: New file.
14633
a101b025
AJ
146342011-08-19 Andreas Jaeger <aj@suse.de>
14635
14636 [BZ #13114]
14637 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
14638 non-existant file when using close-on-exec mode.
14639
c88f1766
UD
146402011-08-20 Ulrich Drepper <drepper@gmail.com>
14641
0276a718
UD
14642 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
14643 the very first instruction.
14644
c88f1766
UD
14645 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
14646 the CFI state in the end.
14647 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
14648 inclusion of dl-trampoline.h.
14649 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
14650
51ccffa0
AS
146512011-08-19 Andreas Schwab <schwab@redhat.com>
14652
94d7165f
AS
14653 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
14654 expectations for long double.
14655
51ccffa0
AS
14656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
14657 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
14658
fd708658 146592011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
14660
14661 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
14662 artificual limit depends upon the system page size.
14663
44f0a71e
UD
146642011-08-17 Ulrich Drepper <drepper@gmail.com>
14665
14666 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
14667 * resolv/Makefile: Define CFLAGS-libresolv.
14668
8de79a24
AS
146692011-08-17 Andreas Schwab <schwab@redhat.com>
14670
14671 * nss/makedb.c (compute_tables): Make variables used in nested
14672 function static.
14673
27724598
UD
146742011-08-17 Ulrich Drepper <drepper@gmail.com>
14675
c5305d88
UD
14676 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
14677 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
14678 if buffer was too small.
14679
27724598
UD
14680 * elf/pldd.c (main): Attach to all threads in the process.
14681 Rewrite /proc handling to use *at functions.
14682
076fe015
UD
146832011-08-16 Ulrich Drepper <drepper@gmail.com>
14684
174baab3
UD
14685 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
14686 specifies first scope to show.
14687 (dl_open_worker): Update callers. Move printing scope of new
14688 object to before the relocation.
44f0a71e 14689 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
14690 * sysdeps/generic/ldsodefs.h: Update declaration.
14691
076fe015
UD
14692 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
14693 string for the scope number.
14694
a60df2c3
UD
146952011-08-14 Ulrich Drepper <drepper@gmail.com>
14696
14697 * nscd/servicescache.c (cache_addserv): Make sure written is always
14698 initialized.
14699
5e4287d1
RM
147002011-08-14 Roland McGrath <roland@hack.frob.com>
14701
85ae0589
RM
14702 * sysdeps/i386/i486/bits/atomic.h
14703 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
14704 statement expression, so as to suppress "set but not used" warning.
14705 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
14706
69f63097
RM
14707 * string/strncat.c (STRNCAT): Use prototype definition.
14708
675456ef
RM
14709 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
14710 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
14711 -Iprograms here.
14712 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
14713 (localedef-modules): Add localedef.
14714 (locale-modules): Add locale.
14715
5e4287d1
RM
14716 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
14717 * elf/rtld.c (dl_main): Invert order of assignment in last change,
14718 to avoid a warning.
14719
9c96ff23
DM
147202011-08-14 David S. Miller <davem@davemloft.net>
14721
14722 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
14723 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
14724
f9ddf089
UD
147252011-08-13 Ulrich Drepper <drepper@gmail.com>
14726
44f0a71e 14727 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
14728 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
14729 * elf/rtld.c (dl_main): Set l_name of vDSO.
14730 Call _dl_show_scope when DL_DEBUG_SCOPES.
14731 (process_dl_debug): Recognize scopes flag and also set it for all.
14732 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
14733 Declare _dl_show_scope.
14734
1dc27704
UD
14735 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
14736 (do_dlopen): Pass caller_dlopen to dl_open.
14737 (__libc_dlopen_mode): Initialize caller_dlopen.
14738
f9ddf089
UD
14739 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
14740 of libc. Make tolower call locale-independent. Optimize a bit by
14741 using isdigit instead of isalnum.
14742 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
14743
9ac533d3
UD
147442011-08-12 Ulrich Drepper <drepper@gmail.com>
14745
14746 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
14747 was a dependency or dynamically loaded.
14748
89edf2e9
UD
147492011-08-11 Ulrich Drepper <drepper@gmail.com>
14750
8e999d29
UD
14751 * intl/l10nflist.c: Allow architecture-specific pop function.
14752 * sysdeps/x86_64/l10nflist.c: New file.
14753
89edf2e9
UD
14754 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
14755 classification.
14756
14d96785
AS
147572011-08-10 Andreas Schwab <schwab@redhat.com>
14758
14759 * include/dirent.h: Add libc_hidden_proto for scandirat and
14760 scandirat64. Don't declare __scandirat64.
14761 * dirent/scandirat.c: Add libc_hidden_def.
14762 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
14763 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
14764
6761ac04
DM
147652011-08-10 David S. Miller <davem@davemloft.net>
14766
14767 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
14768 enum.
14769 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14770 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14771 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14772
c55fbd1e
UD
147732011-08-09 Ulrich Drepper <drepper@gmail.com>
14774
14775 * Versions.def [libc]: Add GLIBC_2.15.
14776 * dirent/Makefile (routines): Add scandirat and scandirat64.
14777 * dirent/Versions [libc]: Export scandirat and scandirat64 for
14778 GLIBC_2.15.
14779 * dirent/dirent.h: Declare scandirat and scandirat64.
14780 * dirent/scandirat.c: New file.
14781 * dirent/scandirat64.c: New file.
14782 * sysdeps/wordsize-64/scandirat.c: New file.
14783 * sysdeps/wordsize-64/scandirat64.c: New file.
14784 * dirent/opendir.c: Define opendirat.
14785 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
14786 using scandirat.
14787 * dirent/scandir64.c: Adjust for scandir.c change.
14788 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
14789 __scandirat64, and __scandir_cancel_handler.
14790 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
14791 additional parameter and use openat instead of open (outside of ld.so).
14792 Add new __opendir as wrapper around __opendirat.
14793 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
14794 here without requiring old scandirat implementation.
14795
879165f2
UD
147962011-08-08 Ulrich Drepper <drepper@gmail.com>
14797
14798 * dirent/scandir.c (cancel_handler): Renamed to
14799 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
14800 defined. Adjust users.
14801 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
14802 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14803
cb7e923b
UD
148042011-08-04 Ulrich Drepper <drepper@gmail.com>
14805
16292edd
UD
14806 * string/test-string.h (IMPL): Use __STRING to expand name and then
14807 stringify it.
14808
cb7e923b
UD
14809 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
14810 of cleanups.
14811
cff82933
LD
148122011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14813
14814 * string/Makefile: Update.
14815 (strop-tests): Append strncat.
14816 * string/test-wcscmp.c: New file.
14817 New comprehensive test for wcscmp.
14818 * string/test-strcmp.c: Update.
14819 (WIDE): New define.
14820
9be9bfcc
AS
148212011-07-22 Andreas Schwab <schwab@redhat.com>
14822
14823 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
14824 line.
14825
2e96f1c7
AS
148262011-07-26 Andreas Schwab <schwab@redhat.com>
14827
14828 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14829 encoding to ACE if AI_IDN.
14830
85188888
JJ
148312011-08-01 Jakub Jelinek <jakub@redhat.com>
14832
14833 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
14834 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
14835
5fa16e9b
LD
148362011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14837
14838 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
14839 Fix overflow bug in strncat.
14840 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
14841
14842 * string/test-strncat.c: Update.
14843 Add new tests for checking overflow bugs.
14844
148452011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14846
14847 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14848 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
14849 * sysdeps/i386/i686/multiarch/strcat.S: New file.
14850 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
14851 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
14852 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
14853 * sysdeps/i386/i686/multiarch/strncat.S: New file.
14854 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
14855 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
14856
14857 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
14858 (USE_AS_STRCAT): Define.
14859 Add strcat and strncat support.
14860 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14861
8c1a459f
AS
148622011-07-25 Andreas Schwab <schwab@redhat.com>
14863
14864 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
14865 __n bigger than INT_MAX+1.
14866 (__strncmp_g): Likewise.
14867
bba33c28
UD
148682011-07-23 Ulrich Drepper <drepper@gmail.com>
14869
798be72d
UD
14870 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
14871 * libio/stido.h: Likewise.
14872
8accd4dc
UD
14873 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
14874 (AF_NFC): Define.
14875 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
14876 (AF_NFC): Define.
14877
cbff0d96
UD
14878 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
14879 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14880 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14881 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14882 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14883
9191c04a
UD
14884 [BZ #13021]
14885 * scripts/test-installation.pl: Don't expect libnss_test1 to be
14886 installed.
14887
bba33c28
UD
14888 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
14889 typo.
14890 (_dl_x86_64_save_sse): Likewise.
14891
90f139dd
UD
148922011-07-22 Ulrich Drepper <drepper@gmail.com>
14893
1aae088a
UD
14894 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
14895 OSXSAVE.
14896 (_dl_x86_64_save_sse): Likewise.
14897
8e2045f5
UD
14898 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
14899
90f139dd
UD
14900 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
14901
1d002f25
AS
149022011-07-21 Andreas Schwab <schwab@redhat.com>
14903
14904 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
14905 change.
14906 (_dl_x86_64_save_sse): Use correct AVX check.
14907
21137f89
UD
149082011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14909
14910 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
14911 bug in strncpy/strncat.
14912 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
14913
a65c0b7a
UD
149142011-07-21 Ulrich Drepper <drepper@gmail.com>
14915
14916 * string/tester.c (test_strcat): Add tests for different alignments
14917 of source and destination.
14918 (test_strncat): Likewise.
14919
6986b98a
UD
149202011-07-20 Ulrich Drepper <drepper@gmail.com>
14921
90bb2039
UD
14922 [BZ #12852]
14923 * posix/glob.c (glob): Check passed in values before using them in
14924 expressions to avoid some overflows.
14925 (glob_in_dir): Likewise.
14926
5644ef54
UD
14927 [BZ #13007]
14928 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
14929 check for AVX enablement so that we don't crash with old kernels and
14930 new hardware.
14931 * elf/tst-audit4.c: Add same checks here.
14932 * elf/tst-audit6.c: Likewise.
14933
14934 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 14935
bfc9dc9b
AS
149362011-07-09 Andreas Schwab <schwab@linux-m68k.org>
14937
14938 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
14939
702e64bb
UD
149402011-07-20 Ulrich Drepper <drepper@gmail.com>
14941
14942 * po/cs.po: Update from translation team.
14943 * po/bg.po: Likewise.
14944
295e904f
MP
149452011-07-12 Marek Polacek <mpolacek@redhat.com>
14946
14947 * misc/sys/cdefs.h: Add support for const attribute.
14948 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
14949 to gnu_dev_{major,minor,makedev} functions.
14950
3ff94596
MP
149512011-07-20 Marek Polacek <mpolacek@redhat.com>
14952
14953 * intl/dcigettext.c (get_output_charset): Add missing bracket.
14954
28b59fca
AS
149552011-07-20 Andreas Schwab <schwab@redhat.com>
14956
14957 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
14958 strlen results.
14959
19df733e
AK
149602011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14961
14962 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14963 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
14964 register in order to avoid conflicts with the soft frame pointer
14965 being held in r11 when necessary.
14966 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14967 (INTERNAL_VSYSCALL_NCS): Likewise.
14968
c8835729
MP
149692011-07-14 Marek Polacek <mpolacek@redhat.com>
14970
14971 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
14972 * elf/dl-fini.c (_dl_fini): Adjust caller.
14973 * elf/dl-close.c (_dl_close_worker): Likewise.
14974 * sysdeps/generic/ldsodefs.h: Adjust declaration.
14975
b902330c
MP
149762011-07-15 Marek Polacek <mpolacek@redhat.com>
14977
8991e135
MP
14978 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
14979 "aux_cache->nlibs < 0".
14980
b902330c
MP
14981 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
14982 in the reload-count case.
14983
99710781
LD
149842011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14985
14986 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14987 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
14988 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
14989 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
14990 * sysdeps/x86_64/multiarch/strcat.S: New file.
14991 * sysdeps/x86_64/multiarch/strncat.S: New file.
14992 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
14993 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
14994 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
14995 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
14996 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
14997 (USE_AS_STRCAT): Define.
14998 Add strcat and strncat support.
14999 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15000 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15001 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
15002 * string/strncat.c: Update.
15003 (USE_AS_STRNCAT): Define.
15004 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15005 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
15006 and i7.
15007 * sysdeps/x86_64/multiarch/init-arch.h
15008 (bit_Prefer_PMINUB_for_stringop): New.
15009 (index_Prefer_PMINUB_for_stringop): Likewise.
15010 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
15011 bit_Prefer_PMINUB_for_stringop.
15012
7dc6bd90
UD
150132011-07-19 Ulrich Drepper <drepper@gmail.com>
15014
15015 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
15016 buffer64.
15017 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
15018 of casting of buffer.
15019 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
15020 buffer32 and buffer64.
15021 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
15022 writes instead of casting of buffer.
15023 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
15024 buffer32.
15025 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
15026 casting of buffer.
15027
e0e72284
AS
150282011-07-19 Andreas Schwab <schwab@redhat.com>
15029
15030 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
15031
feb1eb0b
UD
150322011-07-19 Ulrich Drepper <drepper@gmail.com>
15033
15034 * nscd/nscd.c (termination_handler): Don't do anything for a database
15035 if it has not yet been initialized.
15036
298711ff
UD
150372011-07-18 Ulrich Drepper <drepper@gmail.com>
15038
15039 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15040
150412011-07-15 Marek Polacek <mpolacek@redhat.com>
15042
15043 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15044
f9d68389
UD
150452011-07-18 Ulrich Drepper <drepper@gmail.com>
15046
15047 * po/nl.po: Update from translation team.
15048 * po/sv.po: Likewise.
15049
db290cf5
RM
150502011-07-16 Roland McGrath <roland@hack.frob.com>
15051
15052 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
15053 now disallowed by GCC.
5c550700 15054
fd5e21c7
RM
15055 * configure.in (use-default-link): Default to yes if a test -shared
15056 link meets our qualifications.
15057 * configure: Regenerated.
15058
5c550700
RM
15059 * config.make.in (output-format): New variable.
15060 * configure.in: Check for ld --print-output-format support.
15061 * configure: Regenerated.
15062 * Makerules ($(common-objpfx)format.lds)
15063 [$(output-format) != unknown]: Just use $(output-format),
15064 instead of the linker-script munging.
15065
9fa2c032
RM
150662011-07-14 Roland McGrath <roland@hack.frob.com>
15067
a6928d51
RM
15068 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
15069 of $(common-objpfx)shlib.lds.
15070 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
15071
661607b3
RM
15072 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
15073 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
15074
9fa2c032
RM
15075 * configure.in (-z relro check): Adjust test code to add a large
15076 writable data section after it.
15077 * configure: Regenerated.
15078
defe9061
RM
150792011-07-11 Roland McGrath <roland@hack.frob.com>
15080
15081 * configure.in (-z relro check): Fix test code to make the variable
15082 truly const.
15083 * configure: Regenerated.
15084
319b9ad4
UD
150852011-07-11 Ulrich Drepper <drepper@gmail.com>
15086
15087 * nscd/nscd.h (struct traced_file): Define.
15088 (struct database_dyn): Remove inotify_descr, reset_res, and filename
15089 elements. Add traced_files.
15090 (inotify_fd): Declare.
15091 (register_traced_file): Declare.
15092 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
15093 (inotify_fd): Export.
15094 (resolv_conf_descr): Remove.
15095 (nscd_init): Move inotify descriptor creation to main.
15096 Don't register files for notification here.
15097 (register_traced_file): New function.
15098 (invalidate_cache): Don't use reset_res to determine whether to call
15099 res_init, go through the list of registered files.
15100 (main_loop_poll): The inotify descriptors are now stored in the
15101 structures for the traced files.
15102 (main_loop_epoll): Likewise
15103 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
15104 to __nss_disable_nscd.
15105 * nscd/cache.c (prune_cache): There is no single inotify descriptor
15106 for a database anymore. Check the records for all the registered
15107 files instead.
15108 * nss/Makefile (libnss_files-routines): Add files-init.
15109 (libnss_db-routines): Add db-init.
15110 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
15111 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
15112 * nss/nss_db/db-init.c: New file.
15113 * nss/nss_files/files-init.c: New file.
15114 * nss/nsswitch.c (nss_load_library): New function. Broken out of
15115 __nss_lookup_function.
15116 (__nss_lookup_function): Call nss_load_library.
15117 (nss_load_all_libraries): New function.
15118 (__nss_disable_nscd): Take parameter with callback function for files
15119 to register. Set is_nscd. Load all the DSOs for the NSS modules
15120 used for the cached services.
15121 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
15122 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
15123 options for features to all the files in nscd.
15124
15125 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
15126
23bee3e8
RM
151272011-07-10 Roland McGrath <roland@hack.frob.com>
15128
15129 * csu/elf-init.c (__libc_csu_init): Comment typo.
15130
46a5b7f0
UD
151312011-07-09 Ulrich Drepper <drepper@gmail.com>
15132
15133 * po/pl.po: Update from translation team.
15134 * po/ja.po: Likewise.
15135 * po/ru.po: Likewise.
15136 * po/ko.po: Likewise.
15137 * po/fr.po: Likewise.
15138
d30cf5bb
RM
151392011-07-09 Roland McGrath <roland@hack.frob.com>
15140
113ddea4
RM
15141 * configure.in (.ctors/.dtors header and trailer check):
15142 Use an empirical test on a built program.
15143 * configure: Regenerated.
15144
574920b4
RM
15145 * configure.in (-z relro check): Use an empirical test on a built DSO.
15146 Detect, but do not require, on ia64.
15147 * configure: Regenerated.
15148
d30cf5bb
RM
15149 * configure.in (READELF): Find it with AC_CHECK_TOOL.
15150 Update tests that use readelf to use $READELF instead.
15151 * configure: Regenerated.
15152
8538fdb3
UD
151532011-07-08 Ulrich Drepper <drepper@gmail.com>
15154
15155 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
15156 if the result is not used.
15157
04d08991
AJ
151582011-07-05 Andreas Jaeger <aj@suse.de>
15159
15160 [BZ#9696]
15161 * stdlib/tst-strtod.c: Add testcase.
15162
de283087
AD
151632011-07-07 Ulrich Drepper <drepper@gmail.com>
15164
4e5f31c8 15165 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 15166 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
15167 The latter has a higher limit. Take additional parameter to pass to
15168 the new function.
15169 (__pathconf): Pass file to __statfs_link_max.
15170 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
15171 __statfs_link_max.
15172 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
15173 __statfs_link_max.
15174
de283087
AD
15175 [BZ #12868]
15176 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
15177 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15178 Handle Lustre.
15179 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
15180 (__statfs_filesize_max): Likewise.
15181 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
15182
c75fa153
AJ
151832011-07-05 Andreas Jaeger <aj@suse.de>
15184
15185 * resolv/res_comp.c (dn_skipname): Remove unused variable.
15186
1a544854
UD
151872011-07-06 Marek Polacek <mpolacek@redhat.com>
15188
15189 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
15190 `status' variable.
15191 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
15192 Likewise.
15193
6f0eec67
UD
151942011-07-04 H.J. Lu <hongjiu.lu@intel.com>
15195
15196 * Makefile (strop-tests): Add strncat.
15197 * string/test-strncat.c: New file.
15198
aae30307
UD
151992011-06-30 Marek Polacek <mpolacek@redhat.com>
15200
15201 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
15202
c0cfb5eb
UD
152032011-06-21 Andreas Jaeger <aj@suse.de>
15204
15205 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
15206 Copy rule from iconvdata/Makefile.
15207
01636b21
UD
152082011-07-06 Ulrich Drepper <drepper@gmail.com>
15209
15210 [BZ #12922]
15211 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
15212 but no long options are defined, just return 'W'.
15213
9895c8bc
UD
152142011-06-22 Marek Polacek <mpolacek@redhat.com>
15215
15216 [BZ #9696]
15217 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
15218
5d4cf042
UD
152192011-07-06 Ulrich Drepper <drepper@gmail.com>
15220
15221 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
15222 netgroups to read.
960e5535 15223 (innetgr): Likewise.
5d4cf042 15224
751eb97e
RM
152252011-07-05 Roland McGrath <roland@hack.frob.com>
15226
15227 * config.make.in (install_root): Default to $(DESTDIR).
15228
f15f1e45
UD
152292011-07-05 Ulrich Drepper <drepper@gmail.com>
15230
15231 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
15232
4e34ac6a
RM
152332011-07-02 Roland McGrath <roland@hack.frob.com>
15234
5e9b6af4
RM
15235 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
15236
84f9ea0f
RM
15237 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
15238 containing directory rather than embedding absolute directory names.
15239
ea5ee9f7
RM
15240 * scripts/check-local-headers.sh: Rewritten using awk.
15241 Match by word, not by line. Print error messages for matches.
15242 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
15243
1b74661a
RM
15244 * Makerules [shlib-lds-flags empty]:
15245 ($(common-objpfx)libc_pic.opts): New target.
15246 ($(common-objpfx)libc_pic.os.clean): New target.
15247 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
15248
15249 * config.make.in (OBJCOPY): New variable.
15250 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
15251 * configure: Regenerated.
15252
f781ef40
RM
15253 * config.make.in (use-default-link): New variable.
15254 * configure.in (use_default_link): Grok --with-default-link to set it.
15255 * configure: Regenerated.
15256 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
15257 (shlib-lds, shlib-lds-flags): Define to empty.
15258
2d4fa81e
RM
15259 * Makerules (shlib-lds): New variable.
15260 (shlib-lds-flags): New variable.
15261 (build-shlib, build-moduile, build-module-asneeded): Use it.
15262 ($(common-objpfx)libc.so): Use $(shlib-lds).
15263 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15264 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15265
31fffa6b
RM
15266 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15267 DT_FLAGS/DT_FLAGS_1 with zero flags.
15268
4e34ac6a
RM
15269 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15270 linker script munging.
15271
fcfc776b
UD
152722011-07-02 Ulrich Drepper <drepper@gmail.com>
15273
15274 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15275 as 128-bit value.
15276 * crypt/sha512.c (sha512_process_block): Perform total addition using
15277 128-bit if possible.
15278 (__sha512_finish_ctx): Likewise.
15279 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15280 as 64-bit value.
15281 * crypt/sha256.c (SWAP64): Define.
15282 (sha256_process_block): Perform total addition using 64-bit if
15283 possible.
15284 (__sha256_finish_ctx): Likewise.
15285
99231d9a
UD
152862011-07-01 Ulrich Drepper <drepper@gmail.com>
15287
15288 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
15289 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15290 * nscd/hstcache.c (cache_addhst): Likewise.
15291 * nscd/grpcache.c (cache_addgr): Likewise.
15292 * nscd/aicache.c (addhstaiX): Likewise
15293 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15294
445b4a53
TK
152952011-07-01 Thorsten Kukuk <kukuk@suse.de>
15296
15297 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15298 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15299 * nscd/hstcache.c (cache_addhst): Likewise.
15300 * nscd/grpcache.c (cache_addgr): Likewise.
15301 * nscd/aicache.c (addhstaiX): Likewise
15302
6d4d8e8e
AS
153032011-07-01 Andreas Schwab <schwab@redhat.com>
15304
15305 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15306 domain only when needed.
15307
89f654c5
AS
153082011-06-30 Andreas Schwab <schwab@redhat.com>
15309
15310 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15311 is always restored.
15312
cf3b23ff
UD
153132011-06-29 Ulrich Drepper <drepper@gmail.com>
15314
15315 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15316 are re-adding the entry.
15317 * nscd/servicescache.c (cache_addserv): Likewise.
15318
751626f9
AJ
153192011-06-30 Aurelien Jarno <aurelien@aurel32.net>
15320
15321 * sysdeps/generic/dl-irel.h: fix protection against multiple
15322 inclusions.
15323 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15324
9113ea1f
UD
153252011-06-28 Ulrich Drepper <drepper@gmail.com>
15326
5c0b8d90
UD
15327 [BZ #12935]
15328 * malloc/memusage.sh: Fix quoting in message.
15329 * debug/xtrace.sh: Likewise.
15330
9113ea1f
UD
15331 * configure.in: Remove support for --experimental-malloc option, make
15332 it the default.
15333 * config.make.in: Likewise.
15334 * malloc/Makefile: Likewise.
15335
a4172181
AS
153362011-06-27 Andreas Schwab <schwab@redhat.com>
15337
15338 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15339 two-byte characters.
15340
78a7eee7
RM
153412011-06-27 Roland McGrath <roland@hack.frob.com>
15342
62bede13
RM
15343 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15344 AC_CACHE_CHECK invocation.
15345 * configure: Regenerated.
15346
78a7eee7
RM
15347 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15348
5ce33a62
UD
153492011-06-27 Ulrich Drepper <drepper@gmail.com>
15350
034807a9
UD
15351 [BZ #12350]
15352 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
15353 bit from old_res_options.
15354
4902da17
UD
15355 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
15356
5ce33a62
UD
15357 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
15358 value type for setfct.
15359
c2344f56
L
153602011-06-23 H.J. Lu <hongjiu.lu@intel.com>
15361
15362 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15363 __gettimeofday instead of gettimeofday.
15364
68468076
UD
153652011-06-26 Ulrich Drepper <drepper@gmail.com>
15366
15367 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
15368
acb0d739
L
153692011-06-24 H.J. Lu <hongjiu.lu@intel.com>
15370
15371 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
15372
15373 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
15374 info.
15375
8912479f
L
153762011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15377
15378 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15379 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15380 strcpy-sse2-unaligned strncpy-sse2-unaligned
15381 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
15382 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
15383 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
15384 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
15385 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
15386 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
15387 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
15388 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
15389 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
15390 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
15391 (STRCPY): Support SSE2 and SSSE3 versions.
15392
d5495a11
UD
153932011-06-24 Ulrich Drepper <drepper@gmail.com>
15394
15395 [BZ #12874]
15396 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
15397 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
15398 kernels which artificially limit size of requests.
15399
0b1cbaae
L
154002011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15401
15402 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15403 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15404 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
15405 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
15406 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
15407 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
15408 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
15409 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
15410 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
15411 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
15412 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
15413 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
15414 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
15415 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
15416 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
15417 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15418 Enable unaligned load optimization for Intel Core i3, i5 and i7
15419 processors.
15420 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
15421 Define.
15422 (index_Fast_Unaligned_Load): Define.
15423 (HAS_FAST_UNALIGNED_LOAD): Define.
15424
07f494a0
MP
154252011-06-23 Marek Polacek <mpolacek@redhat.com>
15426
15427 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
15428
fa3fc0fe
UD
154292011-06-22 Ulrich Drepper <drepper@gmail.com>
15430
15431 [BZ #12907]
15432 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
15433 until it is clear that the information is realy needed.
15434 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
15435
e12df166
AS
154362011-06-22 Andreas Schwab <schwab@redhat.com>
15437
15438 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
15439
852eb34d
UD
154402011-06-22 Ulrich Drepper <drepper@gmail.com>
15441
84e2a551
UD
15442 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15443 /sys/devices/system/cpu/online if it is usable.
15444
852eb34d
UD
15445 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
15446 reading the information from the /proc filesystem to once a second.
15447
6e502e19
UD
154482011-06-21 Andreas Jaeger <aj@suse.de>
15449
15450 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
15451 NULL after inclusion of kernel headers.
15452
75d39ff2
UD
154532011-06-21 Ulrich Drepper <drepper@gmail.com>
15454
51f9aa6a
UD
15455 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
15456 calls to internal_setent.
15457
c0244a9d
UD
15458 [BZ #12885]
15459 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
15460 addresses using gethostbyname4_r ignore IPv4 addresses.
15461
c5e3c2ae
UD
15462 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
15463 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
15464
75d39ff2
UD
15465 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
15466
42675c6f
DM
154672011-06-20 David S. Miller <davem@davemloft.net>
15468
15469 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
15470 inclusions.
15471 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
15472
15473 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
15474 (elf_irel): Use it.
15475 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
15476 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
15477 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
15478 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
15479 * sysdeps/x86_64/dl-irel.h: Likewise.
15480
15481 * elf/dl-runtime.c: Use elf_ifunc_invoke.
15482 * elf/dl-sym.c: Likewise.
15483
57912a71
UD
154842011-06-15 Ulrich Drepper <drepper@gmail.com>
15485
15486 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
15487 need to dereference resplen2.
15488
ee22793d
AS
154892011-06-14 Andreas Schwab <schwab@redhat.com>
15490
15491 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
15492
a9e836b0
UD
154932011-06-15 Ulrich Drepper <drepper@gmail.com>
15494
77fb9117
UD
15495 * Makeconfig: Define vardbdir and inst_vardbdir.
15496 * nss/Makefile: Add rules to install db-Makefile.
15497
40c1b22c
UD
15498 * nss/nss_db/db-XXX.c: Cleanup.
15499
9f2da732
UD
15500 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
15501 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
15502 GLIBC_PRIVATE.
15503 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
15504 * nss/makedb.c: Implement -g option to specify that value strings
15505 are generated and should not be added to table iterated over for
15506 get*ent calls.
15507 * nss/nss_db/db-initgroups.c: New file.
15508
82e9a1f7
UD
15509 * nss/getent.c: Add support for initgroups lookups through getgrouplist
15510 interface.
15511
c41af17e
UD
15512 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
15513 (internal_getgrouplist): Adjust to name change.
15514 Update use_initgroups_entry if this is not the first call.
15515 * nss/databases.def: Add initgroups entry.
15516
a9e836b0
UD
15517 * nss/makedb.c (compute_tables): Check result of multiple hash table
15518 sizes to minimize maximum chain length.
15519
2666d441
UD
155202011-06-14 Ulrich Drepper <drepper@gmail.com>
15521
15522 * Versions.def: Add entry for libnss_db.
15523 * shlib-versions: Likewise.
15524 * nss/Makefile: Add rules to build libnss_db.
15525 * nss/Versions: Add libnss_db information. Organize libnss_files
15526 entries better.
15527 * nss/db-Makefile: Add gshadow support. Change rules for the new
15528 makedb progra. Some minor improvements to generate smaller files.
15529 * nss/nss_db/nss_db.h: Move NSS database header data structures to
15530 here from...
15531 * nss/makedb.c: ...here.
15532 Improve database format to be smaller and require less memory at
15533 runtime.
15534 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
15535 db anymore.
15536 * nss/nss_db/db-netgrp.c: Likewise.
15537 * nss/nss_db/db-open.c: Likewise.
15538 * nss/nss_files/flies-XXX.x: Adjust comments.
15539 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
15540 * nss/nss_files/files-grp.c: Likewise.
15541 * nss/nss_files/files-hosts.c: Likewise.
15542 * nss/nss_files/files-network.c: Likewise.
15543 * nss/nss_files/files-proto.c: Likewise.
15544 * nss/nss_files/files-pwd.c: Likewise.
15545 * nss/nss_files/files-rpc.c: Likewise.
15546 * nss/nss_files/files-service.c: Likewise.
15547 * nss/nss_files/files-sgrp.c: Likewise.
15548 * nss/nss_files/files-spwd.c: Likewise.
15549 * nss/nss_db/db-alias.c: Removed.
15550 * nss/nss_db/dummy-db.h: Removed.
15551
9ee76b5a
UD
155522011-06-02 Ulrich Drepper <drepper@gmail.com>
15553
15554 * nss/makedb.c: Rewritten to not use database library.
15555 * nss/Makefile: Update to build new makedb program.
15556
c71ca1f8
AJ
155572011-06-14 Andreas Jaeger <aj@suse.de>
15558
15559 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
15560 memset declaration.
15561
3154bfb8
UD
155622011-06-10 Andreas Schwab <schwab@redhat.com>
15563
15564 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
15565 tmpbuf.
15566
b350afab
RM
155672011-06-10 Roland McGrath <roland@hack.frob.com>
15568
decd4e50
RM
15569 * Makerules (shlib.lds): Fail if the linker script comes out empty.
15570 * elf/Makefile ($(objpfx)ld.so): Likewise.
15571
5615eaf2
RM
15572 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
15573 Don't list ld.so twice in dependencies.
15574
15575 * posix/bug-regex31.c: Include <stdlib.h>.
15576
15577 * nscd/hstcache.c (cache_addhst): Remove unused variable.
15578
15579 * nis/nss_compat/compat-spwd.c
15580 (getspent_next_nss_netgr): Remove unused variable.
15581 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
15582
15583 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
15584 nonmembers" output to use the right array.
15585
15586 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
15587
15588 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
15589
15590 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
15591 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
15592 * catgets/gencat.c (read_input_file): Likewise.
15593 * locale/programs/locarchive.c (enlarge_archive): Likewise.
15594
15595 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
15596 variable definition inside #if's controlling its use.
15597
15598 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
15599
15600 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
15601
15602 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
15603
15604 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
15605 unreachable code.
15606
15607 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
15608
b68e08db
RM
15609 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
15610 * configure: Regenerated.
15611
b350afab
RM
15612 * Makerules: Revert last change.
15613 * elf/Makefile: Likewise.
15614
28368601
RM
156152011-06-09 Roland McGrath <roland@hack.frob.com>
15616
15617 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
15618 * elf/Makefile ($(objpfx)librtld.os): Likewise.
15619 (reloc-link): Likewise.
15620
11988f8f
UD
156212011-06-09 Ulrich Drepper <drepper@gmail.com>
15622
15623 * elf/Makefile: Add rules to build pldd.
15624 * elf/pldd.c: New file.
15625 * elf/pldd-xx.c: New file.
15626
e80fab37
UD
156272011-06-07 Ulrich Drepper <drepper@gmail.com>
15628
15629 * version.h: Update for 2.15 development version.
15630
9b849836
DM
156312011-06-07 David S. Miller <davem@davemloft.net>
15632
15633 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
15634 ifuncs.
15635 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
15636 elf_machine_lazy_rel): Likewise.
15637 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15638 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
15639 elf_machine_lazy_rel): Likewise.
15640 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
15641 dl_hwcap via passed in argument.
15642 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
15643 Likewise.
15644
5a31b283
AK
156452011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15646
15647 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
15648
069e52f8
RM
156492011-06-06 Roland McGrath <roland@hack.frob.com>
15650
15651 [BZ #12849]
15652 * manual/fdl-1.1.texi: New file, verbatim from:
15653 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
15654 * manual/lgpl-2.1.texi: New file, verbatim from:
15655 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
15656 * manual/Makefile (licenses): New variable, list those new file names.
15657 (texis): Use it.
15658 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
15659
15660 * manual/fdl.texi: File removed.
15661 * manual/lesser.texi: File removed.
15662 * manual/libc.texinfo (Copying, Documentation License):
15663 Use new @include file names, put @appendix directive before @include.
15664
f16846a5
JJ
156652011-06-04 Jakub Jelinek <jakub@redhat.com>
15666
15667 [BZ #12841]
15668 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
15669 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
15670 (mq_open): Add __NTH.
15671
3d29045b
L
156722011-06-02 H.J. Lu <hongjiu.lu@intel.com>
15673
15674 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15675 Assume Intel Core i3/i5/i7 processor if AVX is available.
15676
8c297311
UD
156772011-05-31 Ulrich Drepper <drepper@gmail.com>
15678
15679 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15680 typo.
15681
c8fc0c91
UD
156822011-05-31 Andreas Schwab <schwab@redhat.com>
15683
15684 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
15685 memory. Use alloca_account. Fix memory leak when retrying.
15686
5b27a807
UD
156872011-05-31 Ulrich Drepper <drepper@gmail.com>
15688
356f8bc6
UD
15689 * version.h (RELEASE): Bump for 2.14 release.
15690 * include/features.h (__GLIBC_MINOR__): Bump to 14.
15691
5b27a807
UD
15692 * config.make.in (RANLIB): Remove entry.
15693
01f16ab0
UD
156942011-05-30 Ulrich Drepper <drepper@gmail.com>
15695
41fce8bd
UD
15696 * po/Makefile (po-sed-cmd): Add ksh to extensions.
15697 (libc.pot): Work around missing support for .ksh extension in xgettext.
15698
4769ae77
UD
15699 [BZ #12684]
15700 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
15701 if both request failed.
15702 (send_dg): In case of server errors clear resplen or *resplen2.
15703
6b1e7d19
UD
15704 [BZ #12454]
15705 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
15706 when there are multiple maps.
15707 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
15708 (_dl_fini): Remove test here.
15709
01f16ab0
UD
15710 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
15711
b1ebd700
UD
157122011-05-29 Ulrich Drepper <drepper@gmail.com>
15713
7ae22829
UD
15714 [BZ #12350]
15715 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
15716 bit from old_res_options.
15717 (gaih_inet): Likewise.
15718
553149f6 15719 [BZ #11099]
18a84741 15720 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
15721 as signed.
15722
652ffab1
UD
15723 * resolv/res_init.c (res_setoptions): Make the code more compact.
15724
16985fd0
UD
15725 [BZ #11558]
15726 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
15727 set RES_USEVC.
15728
0464f746
UD
15729 [BZ #11634]
15730 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
15731
7d17596c
UD
15732 * malloc/malloc.h: Mark malloc hook variables as deprecated.
15733
cf6bbbd7
UD
15734 [BZ #11781]
15735 * malloc/malloc.h: Declare malloc hook variables as volatile.
15736
13f1ab36
UD
15737 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
15738 in last patch.
15739
b1ebd700
UD
15740 [BZ #11799]
15741 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 15742 raise in the comment.
80e2212d
UD
15743 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15744 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15745 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 15746
ce67228d
UD
157472011-05-28 Ulrich Drepper <drepper@gmail.com>
15748
8887a920
UD
15749 [BZ #12811]
15750 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
15751 grow the buffers more if it already has to be sufficient.
15752 (build_wcs_upper_buffer): Likewise.
15753 * posix/regexec.c (check_matching): Likewise.
15754 (clean_state_log_if_needed): Likewise.
15755 (extend_buffers): Don't enlarge buffers beyond size of the input
15756 buffer.
15757 Patches mostly by Emil Wojak <emil@wojak.eu>.
15758 * posix/bug-regex32.c: New file.
15759 * posix/Makefile (tests): Add bug-regex32.
15760
4f031072
UD
15761 * locale/findlocale.c (_nl_find_locale): Return right away if
15762 _nl_explode_name failed.
15763 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
15764
d0478f0c
UD
15765 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
15766
de81b246
UD
15767 * debug/xtrace.sh: Unify messages.
15768 * malloc/memusage.sh: Likewise.
15769
c738465a
UD
15770 [BZ #12813]
15771 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
15772 time symbol from vDSO. Substitute with vsyscall if not available.
15773 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
15774 __vdso_time.
15775
f1f929d7
UD
15776 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
15777 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
15778 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
15779 Add sendmmsg and internal_sendmmsg.
15780 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
15781 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
15782 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
15783
ce67228d
UD
15784 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
15785 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
15786 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
15787
e57420c6
UD
157882011-05-27 Ulrich Drepper <drepper@gmail.com>
15789
a8509ca5
UD
15790 [BZ #12813]
15791 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
15792 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
15793 available.
15794 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
15795 __vdso_getcpu.
15796
e57420c6
UD
15797 [BZ #12814]
15798 * iconvdata/Makefile (tests): Add bug-iconv9.
15799 * iconvdata/bug-iconv9.c: New file.
15800
4d07db15
AS
158012011-05-27 Andreas Schwab <schwab@redhat.com>
15802
15803 [BZ #12814]
15804 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
15805
ea486f69
JJ
158062011-05-25 Jakub Jelinek <jakub@redhat.com>
15807
15808 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15809 (struct user_regs_struct): Change intcs field back to cs.
15810
6f038433
UD
158112011-05-25 Ulrich Drepper <drepper@gmail.com>
15812
15813 * po/ja.po: Update from translation team.
15814
67f86a25
UD
158152011-05-23 Ulrich Drepper <drepper@gmail.com>
15816
15817 [BZ #12795]
15818 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
15819 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
15820
def7fbd6
AS
158212011-05-20 Andreas Schwab <schwab@redhat.com>
15822
15823 * stdlib/longlong.h: Update from GCC.
15824
f50ef8f1
AS
158252011-05-23 Andreas Schwab <schwab@redhat.com>
15826
15827 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
15828 parameter name.
15829 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
15830 Add parameter name.
15831 (__sysconf): Pass it down.
15832
de7ce8f1
UD
158332011-05-22 Ulrich Drepper <drepper@gmail.com>
15834
f2962a71
UD
15835 [BZ #12671]
15836 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
15837 some situations.
15838 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15839 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
15840 add in in __libc_use_alloca calls. Adjust callers.
15841 (glob): Use malloc in some situations.
15842
de7ce8f1
UD
15843 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
15844 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
15845 pltexit.
15846
aec84f53
UD
158472011-05-21 Ulrich Drepper <drepper@gmail.com>
15848
05bb4a68
UD
15849 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
15850 and CLOCK_BOOTTIME_ALARM.
15851
7ea72f99
UD
15852 [BZ #12782]
15853 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
15854 is returned.
15855
7e4afad5
UD
15856 * string/_strerror.c (__strerror_r): Print negative errors as signed
15857 numbers.
15858
8e211fec
UD
15859 [BZ #12777]
15860 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
15861 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
15862 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
15863
f7d82dc9
UD
15864 * configure.in: Fix typo in redirection and correct removal of test
15865 files in two cases.
15866
cc9e536d
UD
15867 [BZ #12788]
15868 * locale/setlocale.c (new_composite_name): Fix test to check for
15869 identical name of all categories.
15870
aec84f53
UD
15871 [BZ #12792]
15872 * libio/filedoalloc.c (local_isatty): New function.
15873 (_IO_file_doallocate): Use local_isatty.
15874 * stdio-common/perror.c (perror): In case a new stream is used
15875 forward the stream error.
15876 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
15877 error flag.
15878
78e64fdc
RT
158792011-05-20 Ulrich Drepper <drepper@gmail.com>
15880
34a9094f
UD
15881 [BZ #11869]
15882 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
15883 alloca.
15884 * include/alloca.h (extend_alloca_account): Define.
15885
78e64fdc
RT
15886 [BZ #11857]
15887 * posix/regex.h: Fix comments with documentation of user-accessible
15888 fields after compilation and describe correct free'ing of pattern
15889 after re_compile_pattern.
15890 Patch by Reuben Thomas <rrt@sc3d.org>.
15891
457bddfc
RA
158922011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
15893
15894 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
15895 and -mno-altivec to prevent the compiler from using Altivec and/or
15896 VSX instructions when the corresponding registers are not available.
15897
a4527b51
AS
158982011-05-19 Andreas Schwab <schwab@redhat.com>
15899
15900 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
15901
ed690b2f
UD
159022011-05-19 Ulrich Drepper <drepper@gmail.com>
15903
15904 * libio/freopen.c (freopen): Use __dup2, not dup2.
15905 * libio/freopen64.c (freopen64): Likewise.
15906
8db73634
L
159072011-05-17 H.J. Lu <hongjiu.lu@intel.com>
15908
15909 [BZ #12775]
15910 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
15911 * math/Makefile (tests): Add test-powl.
15912 (CFLAGS-test-powl.c): Define.
15913 * math/test-powl.c: New file.
15914
0a197a9d
L
159152011-05-16 H.J. Lu <hongjiu.lu@intel.com>
15916
15917 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
15918
ee30c380
UD
159192011-05-17 Ulrich Drepper <drepper@gmail.com>
15920
15921 [BZ #11837]
15922 * iconvdata/gb18030.c: Update to GB18020-2005.
15923
6ce75379
UD
159242011-05-16 Ulrich Drepper <drepper@gmail.com>
15925
a4b89fd8
AR
15926 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
15927 RE_SYNTAX_POSIX_AWK): Update to match recent development.
15928 Patch by Aharon Robbins <arnold@skeeve.com>.
15929
ea389b12
UD
15930 [BZ #11892]
15931 * stdlib/putenv.c (putenv): Don't always create copy of the variable
15932 on the stack.
15933
68a3f91f
UD
15934 [BZ #11895]
15935 * misc/pselect.c (__pselect): Handle timeout value errors hidden
15936 through underflows.
15937
15cc7dd1
UD
15938 [BZ #12766]
15939 * misc/error.c (error_at_line): Ensure file_name and old_file_name
15940 point to strings before performing equality test for error_one_per_line
15941 mode.
15942
f3799213
UD
15943 [BZ #11697]
15944 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
15945
d79a9c94
UD
15946 [BZ #11820]
15947 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15948 (struct user_fpregs_struct): Avoid __uint*_t types.
15949
56e5eb46
UD
15950 [BZ #6420]
15951 * malloc/mtrace.c (tr_where): Add additional parameter to point to
15952 symbol info. Use it instead of calling _dl_addr locally.
15953 (lock_and_info): New function.
15954 (tr_freehook): Call lock_and_info and pass symbol info as additional
15955 parameter to tr_where.
15956 (tr_mallochook): Likewise.
15957 (tr_reallochook): Likewise.
15958 (tr_memalignhook): Likewise.
15959
6ce75379
UD
15960 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
15961 used and couldn't be at all thread-safe.
15962
f8a3b5bf
UD
159632011-05-15 Ulrich Drepper <drepper@gmail.com>
15964
94b7cc37
UD
15965 * libio/freopen.c (freopen): Don't close old file descriptor
15966 before the new one is opened. Instead dup the new file descriptor
15967 to the old one after the new stream is created.
15968 * libio/freopen64.c (freopen64): Likewise.
15969 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
15970 * libio/fileops.c (_IO_new_file_close_it): Handle new
15971 _IO_FLAGS2_NOCLOSE flag.
15972 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
15973 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
15974 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
15975 _IO_FLAGS2_NOCLOSE flag.
15976 * include/unistd.h: Add hidden_proto for dup3.
15977 Define __have_dup3.
15978 * io/dup3.c: Define hidden symbol.
15979 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
15980
bd25564e
UD
15981 [BZ #7101]
15982 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
15983 when an incomplete long option is used.
15984 * posix/tst-getopt_long1.c: New file.
15985 * posix/Makefile (tests): Add tst-getopt_long1.
15986
c84cfef4
UD
15987 [BZ #10138]
15988 * scripts/config.guess: Update from autoconf-2.68.
15989 * scripts/config.sub: Likewise.
15990
3b85df27
UD
15991 [BZ #10157]
15992 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
15993 tests into ...
15994 (has_cpuclock): ...this. New function.
15995 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
15996 macro here based on has_cpuclock code.
15997
15a856b1
UD
15998 [BZ #10149]
15999 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16000 First byte (not low byte) is now always NUL.
16001 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
16002
05f399e6
UD
16003 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16004 Use non-cancelable interfaces.
16005
10a52685 16006 [BZ #9809]
94ecc67d
UD
16007 * locale/iso-639.def: Add entry for Sorani.
16008
f8a3b5bf
UD
16009 [BZ #11901]
16010 * include/stdlib.h: Move include protection to the right place.
16011 Define abort_msg_s. Declare __abort_msg with it.
16012 * stdlib/abort.c (__abort_msg): Adjust type.
16013 * assert/assert.c (__assert_fail_base): New function. Majority
16014 of code from __assert_fail. Allocate memory for __abort_msg with
16015 mmap.
16016 (__assert_fail): Now call __assert_fail_base.
16017 * assert/assert-perr.c: Remove bulk of implementation. Use
16018 __assert_fail_base.
16019 * include/assert.hL Declare __assert_fail_base.
16020 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
16021 mmap.
16022 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
16023
1af4e298
UD
160242011-05-14 Ulrich Drepper <drepper@gmail.com>
16025
f8a3b5bf 16026 [BZ #11952]
d26dfc60
MG
16027 [BZ #12453]
16028 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
16029 until all modules are registered in the DTV.
16030 * elf/Makefile: Add rules to build and run tst-tls19.
16031 * elf/tst-tls19.c: New file.
16032 * elf/tst-tls19mod1.c: New file.
16033 * elf/tst-tls19mod2.c: New file.
16034 * elf/tst-tls19mod3.c: New file.
16035 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
16036
2fc54d6f
UD
16037 [BZ #12083]
16038 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
16039 correctly.
16040
98d76b46
UD
16041 [BZ #12601]
16042 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
16043 two-byte sequence errors.
16044 * iconvdata/Makefile (tests): Add bug-iconv8.
16045 * iconvdata/bug-iconv8.c: New file.
16046
da3c19ef
UD
16047 [BZ #12626]
16048 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
16049 buf2 definition.
16050
ca408c15
UD
16051 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
16052
d6f67f7d
UD
16053 [BZ #12432]
16054 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
16055 (dummy_getcfa): New function.
16056 (init): Get _Unwind_GetCFA address, use dummy if not found.
16057 (backtrace_helper): In recursion check, also check whether CFA changes.
16058 (__backtrace): Completely initialize arg.
16059
1af4e298 16060 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
16061 storing incomplete byte sequence in state object. Avoid testing for
16062 guaranteed too small input if we know there is enough data available.
1af4e298 16063
da62f81b
AS
160642011-05-11 Andreas Schwab <schwab@redhat.com>
16065
16066 * Makeconfig (+link-pie): Indent.
16067 * Rules (binaries-pie): Define if $(have-fpie) and
16068 $(build-shared).
16069 (binaries-shared): Also filter out $(binaries-pie).
16070 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
16071 * nscd/Makefile (others-pie): Add nscd.
16072 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
16073 ($(objpfx)nscd): Remove command override.
16074 * login/Makefile (others-pie): Add pt_chown.
16075 ($(objpfx)pt_chown): Remove command override.
16076 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
16077 remove command overrides.
16078
fcabc0f8
UD
160792011-05-13 Ulrich Drepper <drepper@gmail.com>
16080
20030ae6
UD
16081 * libio/tst_putwc.c: Fix error messages.
16082
fcabc0f8
UD
16083 [BZ #12724]
16084 * libio/fileops.c (_IO_new_file_close_it): Always flush when
16085 currently writing and seek to current position when not.
16086 * libio/Makefile (tests): Add bug-fclose1.
16087 * libio/bug-fclose1.c: New file.
16088
320a5dc0
PB
160892011-05-12 Ulrich Drepper <drepper@gmail.com>
16090
16091 [BZ #12511]
16092 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
16093 don't set DF_1_NODELETE here.
16094 (do_lookup_x): When entering new entry test for copy relocation
16095 and if necessary set DF_1_NODELETE flag.
16096 * elf/tst-unique4.cc: New file.
16097 * elf/tst-unique4.h: New file.
16098 * elf/tst-unique4lib.cc: New file.
16099 * elf/Makefile: Add rules to build and run tst-unique4.
16100 Patch by Piotr Bury <pbury@goahead.com>.
16101
22836f52
UD
161022011-05-11 Ulrich Drepper <drepper@gmail.com>
16103
f574184a
UD
16104 [BZ #12052]
16105 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
16106
e1fb097f
UD
16107 [BZ #12625]
16108 * misc/mntent_r.c (addmntent): Flush the stream after the output
16109
22836f52
UD
16110 [BZ #12393]
16111 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
16112 (is_trusted_path_normalize): Skip initial colon. Append slash
16113 to empty buffer. Duplicate is_trusted_path code but allow
16114 constructed patch to be prefix.
16115 (is_dst): Allow $ORIGIN followed by /.
16116 (_dl_dst_substitute): Correct clearing of check_for_trusted.
16117 Correct testing of result of is_trusted_path_normalize
16118 (decompose_rpath): Fix warning.
16119
7b3b0b2a
UD
161202011-05-10 Ulrich Drepper <drepper@gmail.com>
16121
16122 [BZ #11257]
16123 * grp/initgroups.c (internal_getgrouplist): When we found the service
16124 list through the initgroups entry in nsswitch.conf do not always
16125 continue on a successful lookup. Don't always use the
eac80ce2 16126 __nss_group_database value if it is set.
7b3b0b2a
UD
16127 * nss/nsswitch.conf (initgroups): Change action for successful db
16128 lookup to continue for compatibility.
16129
2a81eaa5
UD
161302011-05-09 Ulrich Drepper <drepper@gmail.com>
16131
be97a69e
UD
16132 [BZ #11532]
16133 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
16134 and CP774 modules.
16135 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
16136 and CP774 modules.
16137 * iconvdata/tst-tables.sh: Likewise.
16138 * iconvdata/cp770.c: New file.
16139 * iconvdata/cp771.c: New file.
16140 * iconvdata/cp772.c: New file.
16141 * iconvdata/cp773.c: New file.
16142 * iconvdata/cp774.c: New file.
16143 * iconvdata/testdata/CP770: New file.
16144 * iconvdata/testdata/CP770..UTF8: New file.
16145 * iconvdata/testdata/CP771: New file.
16146 * iconvdata/testdata/CP771..UTF8: New file.
16147 * iconvdata/testdata/CP772: New file.
16148 * iconvdata/testdata/CP772..UTF8: New file.
16149 * iconvdata/testdata/CP773: New file.
16150 * iconvdata/testdata/CP773..UTF8: New file.
16151 * iconvdata/testdata/CP774: New file.
16152 * iconvdata/testdata/CP774..UTF8: New file.
16153
16154 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
16155 END CHARMAP line.
16156 * iconvdata/gen-8bit-gap.sh: Likewise.
16157 * iconvdata/gen-8bit.sh: Likewise.
16158
c1e9e399
UD
16159 * locale/iso-639.def: Add ary entry.
16160
24c55fb3 16161 [BZ #11258]
96b4b1b0
UD
16162 * locale/C-translit.h.in: Add U20A1 transliteration.
16163
bdc2f971
KB
16164 [BZ #12178]
16165 * locale/iso-639.def: Add wae entry.
16166 Patch by Kevin Bortis <bortis@translate-wae.ch>.
16167
2952b117
UD
16168 [BZ #12545]
16169 * locale/programs/localedef.c (construct_output_path): Use ssize_t
16170 for n.
16171
2a81eaa5
UD
16172 [BZ #12711]
16173 * locale/C-translit.h.in: Add entry for U20B9.
16174 Patch by pravin.d.s@gmail.com.
16175
28377d1b
UD
161762011-05-08 Ulrich Drepper <drepper@gmail.com>
16177
7fb90fb8
UD
16178 [BZ #12713]
16179 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
16180 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
16181 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
16182 in rtld. Use *stat64.
7fb90fb8 16183 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 16184 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 16185 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
16186 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
16187 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
16188 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
16189 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
16190 __fstatat64 macros.
7fb90fb8
UD
16191 * include/dirent.h: Add libc_hidden_proto for rewinddir.
16192 * dirent/rewinddir.c: Add libc_hidden_def.
16193 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 16194 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 16195
28377d1b
UD
16196 * include/dirent.h (__alloc_dir): Add flags parameter.
16197 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
16198 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
16199 __alloc_dir.
16200 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
16201 from fdopendir if O_CLOEXEC is already set.
16202
66bdbaa4
AM
162032011-03-15 Alan Modra <amodra@gmail.com>
16204
16205 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
16206 l_tls_firstbyte_offset non-zero. Save padding offset in
16207 l_tls_firstbyte_offset for later use.
16208 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
16209 freeing static tls block.
16210
95721191
JN
162112011-03-05 Jonathan Nieder <jrnieder@gmail.com>
16212
16213 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
16214 where #ifdef was intended. The intent is to prevent ARG_MAX from
16215 being defined by the kernel headers.
16216
f87dfb1f
UD
162172011-05-07 Ulrich Drepper <drepper@gmail.com>
16218
16219 [BZ #12734]
16220 * resolv/resolv.h: Define RES_NOTLDQUERY.
16221 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
16222 no-tld-query and set RES_NOTLDQUERY.
16223 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
16224 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
16225 modern BIND to search name as TLD unless forbidden.
16226
47c3cd7a
UD
162272011-05-07 Petr Baudis <pasky@suse.cz>
16228 Ulrich Drepper <drepper@gmail.com>
16229
16230 [BZ #12393]
16231 * elf/dl-load.c (fillin_rpath): Move trusted path check...
16232 (is_trusted_path): ...to here.
c1e9ea35 16233 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 16234 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 16235 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 16236
8a35c912
PP
162372011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16238
16239 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
16240 __BEGIN/__END_DECLS.
16241
acd41f47
UD
162422011-05-06 Ulrich Drepper <drepper@gmail.com>
16243
16244 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
16245 NSS_STATUS_NOTFOUND if no record was found.
16246
597df647
AS
162472011-05-05 Andreas Schwab <schwab@redhat.com>
16248
16249 * sunrpc/Makefile (headers): Add rpc/netdb.h.
16250 (headers-not-in-tirpc): Remove rpc/netdb.h
16251 * resolv/netdb.h: Revert last change.
16252
b9af1301
PP
162532011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16254
16255 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
16256 circular dependency between libgcc.a and libc.a.
16257
4e34d5f5
AS
162582011-05-05 Andreas Schwab <schwab@redhat.com>
16259
16260 * resolv/netdb.h: Don't include <rpc/netdb.h>.
16261 * nis/Makefile: Don't install rpcsvc/*.
16262 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16263 instead of <rpc/types.h>.
16264 (MAXHOSTNAMELEN): Define.
16265
00ee369c
AS
162662011-05-03 Andreas Schwab <schwab@redhat.com>
16267
16268 * elf/ldconfig.c (add_dir): Don't crash on empty path.
16269
0b592a30
MB
162702011-04-28 Maciej Babinski <mbabinski@google.com>
16271
16272 [BZ #12714]
16273 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16274 gethostbyname4_r when IPv6 results are possible.
16275
6e04cbbe
UD
162762011-05-02 Ulrich Drepper <drepper@gmail.com>
16277
16278 [BZ #12723]
16279 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16280 _PC_PIPE_BUF handling.
16281
e4ecafe0
BH
162822011-04-30 Bruno Haible <bruno@clisp.org>
16283
16284 [BZ #12717]
16285 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16286 * resolv/netdb.h (getnameinfo): Change type of flags parameter
16287 to 'int'.
16288 * inet/getnameinfo.c (getnameinfo): Likewise.
16289
125ee683
UD
162902011-04-29 Ulrich Drepper <drepper@gmail.com>
16291
16292 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16293 to groups setting in database lookup.
16294 * nss/nsswitch.conf: Add initgroups entry.
16295
b722481a
EB
162962011-04-22 Ulrich Drepper <drepper@gmail.com>
16297
16298 [BZ #12685]
16299 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16300 mode string.
16301 Patch by Eric Blake <eblake@redhat.com>.
16302
4df46dbd
L
163032011-04-20 H.J. Lu <hongjiu.lu@intel.com>
16304
16305 * sunrpc/Makefile (need-export-routines): Add svc_run.
16306 (routines): Remove svc_run.
16307 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16308 * sunrpc/clnt_perr.c (clnt_perrno): Export.
16309 * sunrpc/svc_run.c (svc_run): Likewise.
16310 * sunrpc/svc_udp.c (svcudp_create): Likewise.
16311
e84142d2
UD
163122011-04-21 Ulrich Drepper <drepper@gmail.com>
16313
16314 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16315 problem in reallocation in last patch.
16316
877175d8
UD
163172011-04-20 Ulrich Drepper <drepper@gmail.com>
16318
16319 * sunrpc/Makefile: Move inclusion of Rules.
16320
ab8eed78
UD
163212011-04-19 Ulrich Drepper <drepper@gmail.com>
16322
16323 * nss/nss_files/files-initgroups.c: New file.
16324 * nss/Makefile (libnss_files-routines): Add files-initgroups.
16325 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16326 _nss_files_initgroups_dyn.
16327
e3d8f584
RS
163282011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
16329
16330 * elf/elf.h (R_ARM_IRELATIVE): Define.
16331
af190f45
UD
163322011-04-19 Ulrich Drepper <drepper@gmail.com>
16333
16334 * po/ru.po: Update from translation team.
16335
53cf59ef
UD
163362011-04-17 Ulrich Drepper <drepper@gmail.com>
16337
16338 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16339 dependencies.
16340
4c559bcd
MF
163412011-02-06 Mike Frysinger <vapier@gentoo.org>
16342
16343 [BZ #12653]
16344 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16345 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16346 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16347 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16348 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16349
4420675c
AS
163502011-03-28 Andreas Schwab <schwab@linux-m68k.org>
16351
16352 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16353 differing bytes.
16354 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16355 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16356 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16357
75ea32ab
UD
163582011-04-17 Ulrich Drepper <drepper@gmail.com>
16359
16360 [BZ #12420]
16361 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
16362 storing it.
16363 * stdlib/bug-getcontext.c: New file.
16364 * stdlib/Makefile: Add rules to build and run bug-getcontext.
16365
27390476
AK
163662011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16367
16368 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
16369 instructions into .machine "z9-109".
16370 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16371 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16372
10442705
AK
163732011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16374
16375 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
16376 between environment variables and auxiliary vector.
16377
7b57bfe5
UD
163782011-04-16 Ulrich Drepper <drepper@gmail.com>
16379
16380 * Makefile: Add rules to build linkobj/libc.so.
16381 * include/libc-symbols.h: Define libc_hidden_nolink.
16382 * include/rpc/auth.h: Mark functions which are to be hidden.
16383 * include/rpc/auth_des.h: Likewise.
16384 * include/rpc/auth_unix.h: Likewise.
16385 * include/rpc/clnt.h: Likewise.
16386 * include/rpc/des_crypt.h: Likewise.
16387 * include/rpc/key_prot.h: Likewise.
16388 * include/rpc/pmap_clnt.h: Likewise.
16389 * include/rpc/pmap_prot.h: Likewise.
16390 * include/rpc/pmap_rmt.h: Likewise.
16391 * include/rpc/rpc_msg.h: Likewise.
16392 * include/rpc/svc.h: Likewise.
16393 * include/rpc/svc_auth.h: Likewise.
16394 * include/rpc/xdr.h: Likewise.
16395 * nis/Makefile: Link all DSOs against linkobj/libc.so.
16396 * nss/Makefile: Likewise.
16397 * sunrpc/Makefile: Don't install headers. Build library with normal
16398 entry points. Don't build rpcinfo. Link RPC tests appropriately.
16399 * sunrpc/auth_des.c: Hide exported symbols by default, export some
16400 for the compat linking library. Remove use of INTDEF/INTUSE.
16401 * sunrpc/auth_none.c: Likewise.
16402 * sunrpc/auth_unix.c: Likewise.
16403 * sunrpc/authdes_prot.c: Likewise.
16404 * sunrpc/authuxprot.c: Likewise.
16405 * sunrpc/clnt_gen.c: Likewise.
16406 * sunrpc/clnt_perr.c: Likewise.
16407 * sunrpc/clnt_raw.c: Likewise.
16408 * sunrpc/clnt_simp.c: Likewise.
16409 * sunrpc/clnt_tcp.c: Likewise.
16410 * sunrpc/clnt_udp.c: Likewise.
16411 * sunrpc/clnt_unix.c: Likewise.
16412 * sunrpc/des_crypt.c: Likewise.
16413 * sunrpc/des_soft.c: Likewise.
16414 * sunrpc/get_myaddr.c: Likewise.
16415 * sunrpc/key_call.c: Likewise.
16416 * sunrpc/key_prot.c: Likewise.
16417 * sunrpc/netname.c: Likewise.
16418 * sunrpc/pm_getmaps.c: Likewise.
16419 * sunrpc/pm_getport.c: Likewise.
16420 * sunrpc/pmap_clnt.c: Likewise.
16421 * sunrpc/pmap_prot.c: Likewise.
16422 * sunrpc/pmap_prot2.c: Likewise.
16423 * sunrpc/pmap_rmt.c: Likewise.
16424 * sunrpc/publickey.c: Likewise.
16425 * sunrpc/rpc_cmsg.c: Likewise.
16426 * sunrpc/rpc_common.c: Likewise.
16427 * sunrpc/rpc_dtable.c: Likewise.
16428 * sunrpc/rpc_prot.c: Likewise.
16429 * sunrpc/rpc_thread.c: Likewise.
16430 * sunrpc/rtime.c: Likewise.
16431 * sunrpc/svc.c: Likewise.
16432 * sunrpc/svc_auth.c: Likewise.
16433 * sunrpc/svc_authux.c: Likewise.
16434 * sunrpc/svc_raw.c: Likewise.
16435 * sunrpc/svc_run.c: Likewise.
16436 * sunrpc/svc_simple.c: Likewise.
16437 * sunrpc/svc_tcp.c: Likewise.
16438 * sunrpc/svc_udp.c: Likewise.
16439 * sunrpc/svc_unix.c: Likewise.
16440 * sunrpc/svcauth_des.c: Likewise.
16441 * sunrpc/xcrypt.c: Likewise.
16442 * sunrpc/xdr.c: Likewise.
16443 * sunrpc/xdr_array.c: Likewise.
16444 * sunrpc/xdr_float.c: Likewise.
16445 * sunrpc/xdr_intXX_t.c: Likewise.
16446 * sunrpc/xdr_mem.c: Likewise.
16447 * sunrpc/xdr_rec.c: Likewise.
16448 * sunrpc/xdr_ref.c: Likewise.
16449 * sunrpc/xdr_sizeof.c: Likewise.
16450 * sunrpc/xdr_stdio.c: Likewise.
16451
e6c61494
UD
164522011-04-10 Ulrich Drepper <drepper@gmail.com>
16453
16454 [BZ #12650]
16455 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
16456 * sysdeps/ia64/dl-tls.h: Likewise.
16457 * sysdeps/powerpc/dl-tls.h: Likewise.
16458 * sysdeps/s390/dl-tls.h: Likewise.
16459 * sysdeps/sh/dl-tls.h: Likewise.
16460 * sysdeps/sparc/dl-tls.h: Likewise.
16461 * sysdeps/x86_64/dl-tls.h: Likewise.
16462 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
16463
34fe483e
AS
164642011-03-14 Andreas Schwab <schwab@redhat.com>
16465
16466 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
16467 rpath element also skip the following colon.
16468 (expand_dynamic_string_token): Add is_path parameter and pass
16469 down to DL_DST_REQUIRED and _dl_dst_substitute.
16470 (decompose_rpath): Call expand_dynamic_string_token with
16471 non-zero is_path. Ignore empty rpaths.
16472 (_dl_map_object_from_fd): Call expand_dynamic_string_token
16473 with zero is_path.
16474
f12a32e6
AS
164752011-04-08 Andreas Schwab <schwab@linux-m68k.org>
16476
16477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16478 Make cancelable.
16479
38a7d692
UD
164802011-04-09 Ulrich Drepper <drepper@gmail.com>
16481
16482 [BZ #12655]
16483 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
16484 Patch by Filipe David Manana <fdmanana@apache.org>.
16485
e451d22b
AS
164862011-04-07 Andreas Schwab <schwab@redhat.com>
16487
16488 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
16489 Maintain aligned stack.
16490 (CHECK_RSP): Remove unused macro.
16491
dedc7c7b
UD
164922011-04-03 Ulrich Drepper <drepper@gmail.com>
16493
16494 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
16495 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
16496
94521213
UD
164972011-04-02 Ulrich Drepper <drepper@gmail.com>
16498
16499 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
16500
8cb700c0 16501 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 16502
0354e355
L
165032011-03-26 H.J. Lu <hongjiu.lu@intel.com>
16504
16505 [BZ #12518]
16506 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
16507 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
16508 * sysdeps/x86_64/memmove.c: New file.
16509 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
16510 (memcpy): Renamed to ...
16511 (__new_memcpy): This.
16512 (memcpy): Provide GLIBC_2_14 memcpy.
16513 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
16514 (memcpy): Provide GLIBC_2_2_5 memcpy.
16515
8593482f
UD
165162011-04-01 Ulrich Drepper <drepper@gmail.com>
16517
16518 [BZ #12631]
16519 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
16520
81a5726b
AS
165212011-03-30 Andreas Schwab <schwab@redhat.com>
16522
16523 * misc/syncfs.c: New file.
16524 * misc/Makefile (routines): Add syncfs.
16525 * posix/unistd.h: Declare syncfs.
16526 * sysdeps/unix/syscalls.list: Add syncfs.
16527
00e5419f
AS
165282011-04-01 Andreas Schwab <schwab@redhat.com>
16529
16530 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
16531 open_by_handle_at.
16532 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16533 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16534 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16535 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16536 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16537 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
16538 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16539
748876bf
UD
165402011-04-01 Ulrich Drepper <drepper@gmail.com>
16541
658e451d
UD
16542 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
16543 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16544 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
16545 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16546 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16547 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16548 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16549
748876bf
UD
16550 * io/Makefile: Compile fallocate.c, fallocate64.c, and
16551 sync_file_range.c with -fexceptions.
16552 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
16553 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
16554 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16555 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16556 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16557 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16558 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
16559 sync_file_range as cancellation point
16560 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
16561 now a wrapper around __call_sync_file_range with cancellation handling.
16562 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
16563 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
16564 function name to __call_sync_file_range.
16565 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
16566 Add call_sync_file_range.
748876bf 16567
6e63d5e1
AS
165682011-04-01 Andreas Schwab <schwab@redhat.com>
16569
16570 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 16571 bits/timex.h.
6e63d5e1 16572
46998f74
UD
165732011-04-01 Ulrich Drepper <drepper@gmail.com>
16574
4c1423ed
UD
16575 * iconv/iconv.h: Fix typo in comment.
16576 * io/fcntl.h: Likewise.
16577 * libio/stdio.h: Likewise.
16578 * posix/spawn.h: Likewise.
16579 * posix/unistd.h: Likewise.
16580 * stdlib/stdlib.h: Likewise.
16581 * time/time.h: Likewise.
16582 * wcsmbs/wchar.h: Likewise.
16583
158648c0
UD
16584 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
16585 open_by_handle): Add.
16586 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
16587 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
16588 Augment a few comments.
16589 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16590 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16591 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16592 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16593 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16594 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
16595 open_by_handle.
16596
46998f74
UD
16597 * io/fcntl.h (AT_EMPTY_PATH): Define.
16598
83fe108b
UD
165992011-03-30 Ulrich Drepper <drepper@gmail.com>
16600
16601 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
16602 * sysdeps/unix/sysv/linux/bits/time.h: New file.
16603 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
16604 to...
16605 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
16606 * Versions.def: Add GLIBC_2.14.
16607 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
16608 Export.
83fe108b 16609
bb242059
UD
166102011-03-22 Ulrich Drepper <drepper@gmail.com>
16611
16612 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
16613 round counter.
16614 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16615
c97a1282
L
166162011-03-20 H.J. Lu <hongjiu.lu@intel.com>
16617
16618 [BZ #12597]
16619 * string/test-strncmp.c (do_page_test): New function.
16620 (check2): Likewise.
16621 (test_main): Call check2.
16622 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
16623
2a115601
UD
166242011-03-20 Ulrich Drepper <drepper@gmail.com>
16625
16626 [BZ #12587]
16627 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
16628 Handle cache information in CPU leaf 4.
16629 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16630
8126d904
UD
166312011-03-18 Ulrich Drepper <drepper@gmail.com>
16632
042c49c6 16633 [BZ #12583]
8126d904
UD
16634 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
16635 character representation.
16636 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
16637
ccfe366e
RA
166382011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
16639
16640 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
16641 END(__isnan) to END(__isnanf) to match function entry point/label
16642 EALIGN(__isnanf,...).
16643
c6e13027
JJ
166442011-03-10 Jakub Jelinek <jakub@redhat.com>
16645
16646 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
16647
33f85a3f
UD
166482011-03-10 Ulrich Drepper <drepper@gmail.com>
16649
028478fa
UD
16650 [BZ #12510]
16651 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
16652 copy from the symbol referenced in the relocation to initialize the
16653 used variable.
16654 Patch by Piotr Bury <pbury@goahead.com>.
16655 * elf/Makefile: Add rules to build and tst-unique3.
16656 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
16657 * elf/tst-unique3.cc: New file.
16658 * elf/tst-unique3.h: New file.
16659 * elf/tst-unique3lib.cc: New file.
16660 * elf/tst-unique3lib2.cc: New file.
16661
33f85a3f
UD
16662 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
16663
03592fc7
MF
166642011-03-10 Mike Frysinger <vapier@gentoo.org>
16665
16666 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
16667 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
16668 to _start.
03592fc7 16669
6a5ee102
UD
166702011-03-06 Ulrich Drepper <drepper@gmail.com>
16671
16672 * elf/dl-load.c (_dl_map_object): If we are looking for the first
16673 to-be-loaded object along a path to loader is ld.so.
16674
7e4ba49c
HJ
166752011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16676 Ulrich Drepper <drepper@gmail.com>
16677
16678 * sysdeps/x86_64/memset.S: After aligning destination, code
16679 branches to different locations depending on the value of
16680 misalignment, when multiarch is enabled. Fix this.
16681
166822011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16683
16684 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
16685 Set _x86_64_preferred_memory_instruction for AMD processsors.
16686 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16687 Set bit_Prefer_SSE_for_memop for AMD processors.
16688
13a804de
UD
166892011-03-04 Ulrich Drepper <drepper@gmail.com>
16690
16691 * libio/fmemopen.c (fmemopen): Optimize a bit.
16692
9d25c392
AS
166932011-03-03 Andreas Schwab <schwab@redhat.com>
16694
16695 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
16696
a5543c6a
RM
166972011-03-03 Roland McGrath <roland@redhat.com>
16698
16699 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
16700
012d35f7
DM
167012011-02-28 Aurelien Jarno <aurelien@aurel32.net>
16702
7e4ba49c 16703 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
16704 __bzero_ultra1 instead of __memset_ultra1.
16705
4bff6e01
AS
167062011-02-23 Andreas Schwab <schwab@redhat.com>
16707 Ulrich Drepper <drepper@gmail.com>
16708
16709 [BZ #12509]
16710 * include/link.h (struct link_map): Add l_orig_initfini.
16711 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
16712 returning unsuccessfully.
16713 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
16714 close of a file loaded at startup, restore the original l_initfini
16715 list.
16716 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
16717 list, store the pointer.
16718 * elf/Makefile ($(objpfx)noload-mem): New rule.
16719 (noload-ENV): Define.
16720 (tests): Add $(objpfx)noload-mem.
16721 * elf/noload.c: Include <memcheck.h>.
16722 (main): Call mtrace. Close all opened handles.
16723
f2092faf
AS
167242011-02-17 Andreas Schwab <schwab@redhat.com>
16725
16726 [BZ #12454]
16727 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
16728 dependencies are missing.
16729
6c8a2e88
ST
167302011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16731
f2092faf 16732 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
16733 Hurd needs munmap.
16734 * sysdeps/mach/hurd/ifreq.h: New file.
16735
84a42118
PB
167362011-01-27 Petr Baudis <pasky@suse.cz>
16737 Ulrich Drepper <drepper@gmail.com>
16738
071f805e 16739 [BZ 12445]#
84a42118
PB
16740 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
16741 to extend_alloca().
16742 * stdio-common/bug23.c: New file.
16743 * stdio-common/Makefile (tests): Add bug23.
16744
e23fe25b
AS
167452010-09-28 Andreas Schwab <schwab@redhat.com>
16746 Ulrich Drepper <drepper@gmail.com>
16747
16748 [BZ #12489]
16749 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
16750 before performing relro protection. At old place add assertion
16751 to make sure nothing changed.
16752
d3f02e10
NS
167532011-02-17 Nathan Sidwell <nathan@codesourcery.com>
16754 Glauber de Oliveira Costa <glommer@gmail.com>
16755
16756 * elf/elf.h: Add new ARM TLS relocs.
16757
d55fd7a5
RA
167582011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
16759
16760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16761 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
16762 cast from r3.
16763 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
16764 'tests' variable.
16765 * sysdeps/wordsize-64/tst-writev.c: New file.
16766
2206397e
RA
167672011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
16768
16769 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
16770 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
16771 insns in _dl_start to prevent a TOC reference before relocs are
16772 resolved.
16773
e9433893
UD
167742011-02-15 Ulrich Drepper <drepper@gmail.com>
16775
16776 [BZ #12469]
16777 * Makeconfig: Remove RANLIB definition.
16778 * Makerules: Don't use RANLIB.
16779 * aclocal.m4: Remove ranlib test.
16780 * configure.in: No need to check for ranlib.
16781 * elf/rtld-Rules: Don't use RANLIB.
16782
f75286c6
ST
167832011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16784
8e31c82d
ST
16785 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
16786 protection macro.
16787 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
16788 inclusion protection macro.
16789
f75286c6
ST
16790 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
16791 SIGRTMIN and SIGRTMAX and print information in that case only when
16792 SIGRTMIN is defined.
16793
c1d0e639
JJ
167942011-02-11 Jakub Jelinek <jakub@redhat.com>
16795
16796 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
16797 arginfo fn returning -1.
16798
16799 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
16800 and thousands string is zero terminated.
16801
edf9294e
AS
168022011-02-03 Andreas Schwab <schwab@redhat.com>
16803
16804 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
16805 sysdeps/unix/sysv/linux/bits/socket.h.
16806
2b7e92df
ST
168072011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16808
edf9294e
AS
16809 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
16810 (__CPU_COUNT): Remove old macros.
16811 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
16812 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
16813 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
16814 (__sched_cpualloc, __sched_cpufree): Add declarations.
16815
a4c7ea7b
UD
168162011-02-05 Ulrich Drepper <drepper@gmail.com>
16817
16818 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
16819 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
16820 * nscd/aicache.c (addhstaiX): Return timeout of added value.
16821 (readdhstai): Return value of addhstaiX call.
16822 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
16823 (addgrbyX): Return value returned by cache_addgr.
16824 (readdgrbyname): Return value returned by addgrbyX.
16825 (readdgrbygid): Likewise.
16826 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
16827 (addpwbyX): Return value returned by cache_addpw.
16828 (readdpwbyname): Return value returned by addhstbyX.
16829 (readdpwbyuid): Likewise.
16830 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
16831 (addservbyX): Return value returned by cache_addserv.
16832 (readdservbyname): Return value returned by addservbyX:
16833 (readdservbyport): Likewise.
16834 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
16835 (addhstbyX): Return value returned by cache_addhst.
16836 (readdhstbyname): Return value returned by addhstbyX.
16837 (readdhstbyaddr): Likewise.
16838 (readdhstbynamev6): Likewise.
16839 (readdhstbyaddrv6): Likewise.
16840 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
16841 (readdinitgroups): Return value returned by addinitgroupsX.
16842 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
16843 (prune_cache): Keep track of timeout value of re-added entries.
16844 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
16845 * nscd/nscd.h: Adjust prototypes of readd* functions.
16846
a0bf67cc
RM
168472011-02-04 Roland McGrath <roland@redhat.com>
16848
16849 * nis/nis_server.c (nis_servstate): Use the right name for 0.
16850 (nis_stats): Likewise.
16851 * nis/nis_modify.c (nis_modify): Likewise.
16852 * nis/nis_remove.c (nis_remove): Likewise.
16853 * nis/nis_add.c (nis_add): Likewise.
16854
16855 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
16856
16857 * posix/fnmatch_loop.c: Add some consts.
16858
16859 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
16860
435b95eb
L
168612011-02-02 H.J. Lu <hongjiu.lu@intel.com>
16862
16863 [BZ #12460]
16864 * config.make.in (config-cflags-novzeroupper): Define.
16865 * configure.in: Substitute libc_cv_cc_novzeroupper.
16866 * elf/Makefile (AVX-CFLAGS): Define.
16867 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
16868 (CFLAGS-tst-auditmod4a.c): Likewise.
16869 (CFLAGS-tst-auditmod4b.c): Likewise.
16870 (CFLAGS-tst-auditmod6b.c): Likewise.
16871 (CFLAGS-tst-auditmod6c.c): Likewise.
16872 (CFLAGS-tst-auditmod7b.c): Likewise.
16873 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
16874
8517b15e
UD
168752011-02-02 Ulrich Drepper <drepper@gmail.com>
16876
16877 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
16878 function to the callback.
16879 Patch partly by Jiri Olsa <jolsa@redhat.com>.
16880
10a656fe
AS
168812011-02-02 Andreas Schwab <schwab@redhat.com>
16882
16883 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
16884 of errno.
16885
968dad0a
UD
168862011-01-19 Ulrich Drepper <drepper@gmail.com>
16887
9f94d2ea 16888 [BZ #11724]
968dad0a
UD
16889 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
16890 of constructors.
16891 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
16892 of destructors.
16893 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
16894
16895 [BZ #11724]
16896 * elf/Makefile: Add rules to build and run new test.
16897 * elf/tst-initorder.c: New file.
16898 * elf/tst-initorder.exp: New file.
16899 * elf/tst-initordera1.c: New file.
16900 * elf/tst-initordera2.c: New file.
16901 * elf/tst-initordera3.c: New file.
16902 * elf/tst-initordera4.c: New file.
16903 * elf/tst-initorderb1.c: New file.
16904 * elf/tst-initorderb2.c: New file.
16905 * elf/tst-order-a1.c: New file.
16906 * elf/tst-order-a2.c: New file.
16907 * elf/tst-order-a3.c: New file.
16908 * elf/tst-order-a4.c: New file.
16909 * elf/tst-order-b1.c: New file.
16910 * elf/tst-order-b2.c: New file.
16911 * elf/tst-order-main.c: New file.
16912 New test case by George Gensure <werkt0@gmail.com>.
16913
86e92359
UD
169142010-10-01 Andreas Schwab <schwab@redhat.com>
16915
16916 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16917 decoding ACE if AI_CANONIDN.
16918
5d5732b0
UD
169192011-01-18 Ulrich Drepper <drepper@gmail.com>
16920
16921 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
16922
a77e8cbc
UD
169232011-01-17 Ulrich Drepper <drepper@gmail.com>
16924
6392473f
UD
16925 * version.h (RELEASE): Bump for 2.13 release.
16926 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
16927
620a0529
UD
16928 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
16929
18ba70a5
UD
16930 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
16931 MADV_NOHUGEPAGE.
32465c3e
UD
16932 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
16933 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16934 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16935 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16936 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16937 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16938
c0dafcf1
UD
16939 * posix/getconf.c: Update copyright year.
16940 * catgets/gencat.c: Likewise.
16941 * csu/version.c: Likewise.
16942 * debug/catchsegv.sh: Likewise.
16943 * debug/xtrace.sh: Likewise.
16944 * elf/ldconfig.c: Likewise.
16945 * elf/ldd.bash.in: Likewise.
16946 * elf/sprof.c (print_version): Likewise.
16947 * iconv/iconv_prog.c: Likewise.
16948 * iconv/iconvconfig.c: Likewise.
16949 * locale/programs/locale.c: Likewise.
16950 * locale/programs/localedef.c: Likewise.
16951 * malloc/memusage.sh: Likewise.
16952 * malloc/mtrace.pl: Likewise.
16953 * nscd/nscd.c (print_version): Likewise.
16954 * nss/getent.c: Likewise.
16955
a77e8cbc
UD
16956 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
16957 PF_CAIF, and PF_ALG.
16958 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16959
77e8bddf
AS
169602011-01-16 Andreas Schwab <schwab@linux-m68k.org>
16961
1f20b93a
AS
16962 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
16963 (modules-names): Use them.
16964 (ifunc-test-modules, ifunc-pie-tests): Define.
16965 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
16966 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
16967 (test-extras): Likewise.
16968 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
16969 $(compile-command.c).
16970 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
16971 (all-built-dso): Define.
16972 (check-textrel.out, check-execstack.out): Depend on it.
16973
77e8bddf
AS
16974 * configure.in: Don't override --enable-multi-arch.
16975
bc425b33
UD
169762011-01-15 Ulrich Drepper <drepper@gmail.com>
16977
16978 [BZ #6812]
16979 * nscd/hstcache.c (tryagain): Define.
16980 (cache_addhst): Return tryagain not notfound for temporary errors.
16981 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
16982 failed.
16983
794c3ad3
UD
169842011-01-14 Ulrich Drepper <drepper@gmail.com>
16985
70181fdd
UD
16986 [BZ #10563]
16987 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
16988 to make the syscall.
16989 * sysdeps/unix/sysv/linux/setgroups.c: New file.
16990
794c3ad3
UD
16991 [BZ #12378]
16992 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
16993 and fall back to matching as normal character if the string ends before
16994 the matching ']' is found. This is what POSIX requires.
16995 * posix/testfnm.c: Adjust test result.
16996 * posix/globtest.sh: Adjust test result. Add new test.
16997 * posix/tst-fnmatch.input: Likewise.
16998 * posix/tst-fnmatch2.c: Add new test.
16999
68dc9497
AS
170002010-12-28 Andreas Schwab <schwab@linux-m68k.org>
17001
17002 * elf/Makefile (check-execstack): Revert last change. Depend on
17003 check-execstack.h.
17004 (check-execstack.h): New target.
17005 (generated): Add check-execstack.h.
17006 * elf/check-execstack.c: Include "check-execstack.h".
17007 (main): Revert last change.
17008 (handle_file): Return zero if GNU_STACK is absent and
17009 DEFAULT_STACK_PERMS doesn't include PF_X.
17010
451f001b
UD
170112011-01-13 Ulrich Drepper <drepper@gmail.com>
17012
cfa28e56
UD
17013 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
17014 in child fails because the descriptor is already closed.
8cf8ce17
UD
17015 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
17016 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
17017 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 17018
1086d70d
UD
17019 [BZ #12397]
17020 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
17021 syscall.
17022
451f001b
UD
17023 [BZ #10484]
17024 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
17025 temporary buffer used to handle multi lookups locally.
a85b5cb4 17026 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 17027
08769175
UD
170282011-01-12 Ulrich Drepper <drepper@gmail.com>
17029
17030 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
17031 loader is ld.so.
17032
5e49c52e
UD
170332011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
17034
17035 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
17036 alignment for SSE2.
17037
60522a5f
UD
170382011-01-12 Ulrich Drepper <drepper@gmail.com>
17039
17040 [BZ #12394]
17041 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
17042 characters. When rounding increased number of integer digits recompute
17043 number of groups.
17044 * stdio-common/tst-grouping.c: New file.
17045 * stdio-common/Makefile: Add rules to build and run tst-grouping.
17046
f257bbd7
UD
170472011-01-09 Ulrich Drepper <drepper@gmail.com>
17048
17049 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
17050 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
17051
17052 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
17053 void.
17054 * bits/select.h: Likewise.
17055
fa9c15cb
UD
170562011-01-08 Ulrich Drepper <drepper@gmail.com>
17057
17058 * po/ja.po: Update from translation team.
17059
16c2895f
DM
170602011-01-04 David S. Miller <davem@sunset.davemloft.net>
17061
17062 [BZ #11155]
17063 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
17064 implementation just like for lxstat, fxstatat, et al.
17065
2543fef2
JM
170662010-12-27 Jim Meyering <meyering@redhat.com>
17067
17068 [BZ #12348]
17069 * posix/regexec.c (build_trtable): Return failure indication upon
17070 calloc failure. Otherwise, re_search_internal could infloop on OOM.
17071
98727dbe
UD
170722010-12-25 Ulrich Drepper <drepper@gmail.com>
17073
5bd6dc5c
UD
17074 [BZ #12201]
17075 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
17076 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
17077 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
17078 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
17079
97983464
UD
17080 [BZ #12207]
17081 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
17082
98727dbe
UD
17083 [BZ #12204]
17084 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
17085 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
17086
4a531bb0
L
170872010-12-15 H.J. Lu <hongjiu.lu@intel.com>
17088
17089 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
17090 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
17091 script has SORT_BY_INIT_PRIORITY.
17092 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
17093 NO_CTORS_DTORS_SECTIONS is defined.
17094 * elf/soinit.c: Likewise.
17095 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
17096 NO_CTORS_DTORS_SECTIONS is defined.
17097 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
17098 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
17099 * sysdeps/sh/init-first.c: Likewise.
17100 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
17101
07eb4b71
UD
171022010-12-24 Ulrich Drepper <drepper@gmail.com>
17103
17104 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
17105 always use the slow path.
17106
30950a5f
RA
171072010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
17108
17109 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
17110 similar rule which adds the sysdep directories to the header search in
17111 order to pick up the correct platform stackinfo.h.
17112 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
17113 perform test if it is, otherwise return successfully without testing.
17114 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
17115 DEFAULT_STACK_PERMS define in stackinfo.h.
17116 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
17117 defined in stackinfo.h.
17118 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
17119 DEFAULT_STACK_PERMS defined in stackinfo.h.
17120 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
17121 * sysdeps/ia64/stackinfo.h: Likewise.
17122 * sysdeps/s390/stackinfo.h: Likewise.
17123 * sysdeps/sh/stackinfo.h: Likewise.
17124 * sysdeps/sparc/stackinfo.h: Likewise.
17125 * sysdeps/x86_64/stackinfo.h: Likewise.
17126 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
17127 PF_X for powerpc64. Retain PF_X for powerpc32.
17128
db753e2c
UD
171292010-12-19 Ulrich Drepper <drepper@gmail.com>
17130
14b697f7
UD
17131 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
17132 accurately.
db753e2c
UD
17133 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
17134 GETDENTS_64BIT_ALIGNED.
17135
28300719
UD
171362010-12-14 Ulrich Drepper <dreper@gmail.com>
17137
14b697f7 17138 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 17139
4f197237
AS
171402010-12-10 Andreas Schwab <schwab@redhat.com>
17141
dbb0472f
AS
17142 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
17143 _GNU_SOURCE.
17144
4f197237
AS
17145 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
17146 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
17147 Remove __restrict.
17148 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
17149 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
17150
fb88ac72
UD
171512010-12-09 Ulrich Drepper <drepper@gmail.com>
17152
17153 [BZ #11655]
17154 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
17155 are initialized.
17156
42acbb92
JJ
171572010-12-09 Jakub Jelinek <jakub@redhat.com>
17158
17159 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
17160
c038d98d
UD
171612010-12-03 Ulrich Drepper <drepper@gmail.com>
17162
17163 * po/it.po: Update from translation team.
17164
3a4a2499
L
171652010-12-01 H.J. Lu <hongjiu.lu@intel.com>
17166
17167 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
17168 unused codes.
17169
1e24cf6e
UD
171702010-11-30 Ulrich Drepper <drepper@gmail.com>
17171
17172 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
17173
a7690819
AS
171742010-11-24 Andreas Schwab <schwab@redhat.com>
17175
17176 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
17177 specially.
17178 (gaih_getanswer_slice): Likewise.
17179
3bf8d1b1
JJ
171802010-10-20 Jakub Jelinek <jakub@redhat.com>
17181
17182 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
17183
6db52fbb
PB
171842010-05-31 Petr Baudis <pasky@suse.cz>
17185
17186 [BZ #11149]
17187 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
17188 silently even in the chroot mode.
17189
eaca7569
UD
171902010-11-22 Ulrich Drepper <drepper@gmail.com>
17191
17192 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
17193 last patch a bit. Pretty printing
17194
3056dcdb
UD
171952010-05-31 Petr Baudis <pasky@suse.cz>
17196
17197 [BZ #10085]
17198 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
17199 initialization of skip_initgroups_dyn.
17200
cf7c9078
UD
172012010-11-19 Ulrich Drepper <drepper@gmail.com>
17202
17203 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
17204 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17205
a1fb5e3e
UD
172062010-11-16 Ulrich Drepper <drepper@gmail.com>
17207
17208 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
17209
3540d66b
AS
172102010-11-11 Andreas Schwab <schwab@redhat.com>
17211
17212 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
17213 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
17214 (tst-fnmatch-ENV): Set MALLOC_TRACE.
17215 ($(objpfx)tst-fnmatch-mem): New rule.
17216 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
17217 * posix/tst-fnmatch.c (main): Call mtrace.
17218
13b69574
L
172192010-11-11 H.J. Lu <hongjiu.lu@intel.com>
17220
17221 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17222 Support Intel processor model 6 and model 0x2c.
17223
da93d214
LM
172242010-11-10 Luis Machado <luisgpm@br.ibm.com>
17225
17226 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
17227 signed comparison.
17228
8ca52c6e
L
172292010-11-09 H.J. Lu <hongjiu.lu@intel.com>
17230
17231 [BZ #12205]
17232 * string/test-strncasecmp.c (check_result): New function.
17233 (do_one_test): Use it.
17234 (check1): New function.
17235 (test_main): Use it.
17236 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
17237 Support strcasecmp and strncasecmp.
17238
69da074d
UD
172392010-11-08 Ulrich Drepper <drepper@gmail.com>
17240
17241 [BZ #12194]
17242 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
17243 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17244
ff02d528
L
172452010-11-07 H.J. Lu <hongjiu.lu@intel.com>
17246
17247 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
17248 IFUNC support.
17249 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17250 memset-x86-64.
17251 * sysdeps/x86_64/multiarch/bzero.S: New file.
17252 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
17253 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
17254 * sysdeps/x86_64/multiarch/memset.S: New file.
17255 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
17256 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17257 Set bit_Prefer_SSE_for_memop for Intel processors.
17258 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
17259 Define.
17260 (index_Prefer_SSE_for_memop): Define.
17261 (HAS_PREFER_SSE_FOR_MEMOP): Define.
17262
344d0b54
LM
172632010-11-04 Luis Machado <luisgpm@br.ibm.com>
17264
17265 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17266 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17267
c0dde15b
UD
172682010-11-03 H.J. Lu <hongjiu.lu@intel.com>
17269
17270 [BZ #12191]
17271 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17272 (__x86_64_raw_data_cache_size_half): Likewise.
17273 (__x86_64_raw_shared_cache_size): Likewise.
17274 (__x86_64_raw_shared_cache_size_half): Likewise.
17275
17276 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17277 (__x86_64_raw_data_cache_size_half): Likewise.
17278 (__x86_64_raw_shared_cache_size): Likewise.
17279 (__x86_64_raw_shared_cache_size_half): Likewise.
17280 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17281 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17282 and __x86_64_raw_shared_cache_size_half. Round
17283 __x86_64_data_cache_size_half, __x86_64_data_cache_size
17284 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17285 to multiple of 256 bytes.
17286
0e516e0e
MS
172872010-11-03 Ulrich Drepper <drepper@gmail.com>
17288
17289 [BZ #12167]
17290 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17291 of inacessible symlinks. Verify result of symlink before returning it.
17292 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17293 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17294
0e012e87
ER
172952010-10-28 Erich Ritz <erichritz@gmail.com>
17296
17297 * math/math.h (isinf): Fix typo in comment.
17298
de0ff7bc
UD
172992010-11-01 Ulrich Drepper <drepper@gmail.com>
17300
17301 * po/da.po: Update from translation team.
17302
fa41c84d
UD
173032010-10-26 Ulrich Drepper <drepper@gmail.com>
17304
17305 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17306 is added to the list.
17307
f0967738
AK
173082010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17309 Ulrich Drepper <drepper@gmail.com>
17310
17311 * elf/dl-object.c (_dl_new_object): Don't append the new object to
17312 the global list here. Move code to...
17313 (_dl_add_to_namespace_list): ...here. New function.
17314 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17315 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17316 * elf/dl-load.c (lose): Don't remove the element from the list.
17317 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17318 (_dl_map_object): Likewise.
17319
173202010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
17321
17322 [BZ #12159]
17323 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17324 into all bytes of SSE register.
17325 Patch by Richard Li <richardpku@gmail.com>.
17326
f0967738 173272010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
17328
17329 [BZ #12140]
17330 * malloc/malloc.c (_int_free): Fill correct number of bytes when
17331 perturbing.
17332
d0b9e94f
MB
173332010-10-20 Michael B. Brutman <brutman@us.ibm.com>
17334
17335 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17336 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17337 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17338 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17340 submachine.
17341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17342
8e9f92e9
AS
173432010-10-22 Andreas Schwab <schwab@redhat.com>
17344
17345 * include/dlfcn.h (__RTLD_SECURE): Define.
17346 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
17347 mode & __RTLD_SECURE instead.
17348 (open_path): Rename preloaded parameter to secure.
17349 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17350 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17351 * elf/dl-deps.c (openaux): Likewise.
17352 * elf/rtld.c (struct map_args): Remove is_preloaded.
17353 (map_doit): Don't use it.
17354 (dl_main): Likewise.
17355 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
17356 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
17357
bc96fbda
AS
173582010-09-09 Andreas Schwab <schwab@redhat.com>
17359
17360 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
17361 (sysd-rules-targets): Remove duplicates.
17362 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
17363 rtld-%.$o dependency.
17364
22cd1c9b
AS
173652010-10-18 Andreas Schwab <schwab@redhat.com>
17366
17367 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
17368 _dl_map_object do it.
17369
18edac48
UD
173702010-10-19 Ulrich Drepper <drepper@gmail.com>
17371
17372 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
17373 fast fma builtins, define the macros in the C99 standard.
17374 (FP_FAST_FMAF): Likewise.
17375 (FP_FAST_FMAL): Likewise.
17376 * sysdeps/x86_64/bits/mathdef.h: Likewise.
17377
17378 * bits/mathdef.h: Update copyright year.
17379 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17380
d2050124
MM
173812010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
17382
17383 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
17384 builtins, define the macros in the C99 standard.
17385 (FP_FAST_FMAF): Likewise.
17386 (FP_FAST_FMAL): Likewise.
17387 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
17388 multiply/add.
17389 (FP_FAST_FMAF): Likewise.
17390
475facd1
JJ
173912010-10-15 Jakub Jelinek <jakub@redhat.com>
17392
17393 [BZ #3268]
17394 * math/libm-test.inc (fma_test): Some new testcases.
17395 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
17396 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
17397 y and infinite z. Do multiplication by C already in long double.
17398 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
17399 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
17400 y and infinite z. Do bitwise or of inexact bit into u.d.
17401 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
17402 * sysdeps/i386/fpu/s_fmaf.S: Removed.
17403 * sysdeps/i386/fpu/s_fma.S: Removed.
17404 * sysdeps/i386/fpu/s_fmal.S: Removed.
17405
7c08a05c
JJ
174062010-10-16 Jakub Jelinek <jakub@redhat.com>
17407
17408 [BZ #3268]
17409 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
17410 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
17411 computation is not scheduled after fetestexcept. Fix value
17412 of minimum denormal long double.
17413
f3f7372d
JJ
174142010-10-14 Jakub Jelinek <jakub@redhat.com>
17415
17416 [BZ #3268]
17417 * math/libm-test.inc (fma_test): Add some more tests.
17418 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
17419 correctly.
17420
14d43591
AS
174212010-10-15 Andreas Schwab <schwab@redhat.com>
17422
17423 * scripts/data/localplt-s390-linux-gnu.data: New file.
17424 * scripts/data/localplt-s390x-linux-gnu.data: New file.
17425
5e908464
JJ
174262010-10-13 Jakub Jelinek <jakub@redhat.com>
17427
17428 [BZ #3268]
17429 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
17430 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
17431 instead of dbl-64.
17432 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
17433 inlines.
17434 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
17435 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
17436 if one of x and y is very large and the other is subnormal.
17437 * sysdeps/s390/fpu/s_fmaf.c: New file.
17438 * sysdeps/s390/fpu/s_fma.c: New file.
17439 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
17440 * sysdeps/powerpc/fpu/s_fma.S: New file.
17441 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
17442 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
17443 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
17444
174452010-10-12 Jakub Jelinek <jakub@redhat.com>
17446
17447 [BZ #3268]
17448 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
17449 fma tests.
17450 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
17451 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
17452 * sysdeps/i386/i686/multiarch/s_fma.c: Include
17453 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
17454 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
17455 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
17456 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
17457
b833d51f
UD
174582010-10-12 Ulrich Drepper <drepper@redhat.com>
17459
17460 [BZ #12078]
17461 * posix/regcomp.c (parse_branch): One more memory leak plugged.
17462 * posix/bug-regex31.input: Add test case.
17463
1751705d
UD
174642010-10-11 Ulrich Drepper <drepper@gmail.com>
17465
e9b9cbf5
UD
17466 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
17467 * posix/bug-regex31.input: New file.
17468
17469 [BZ #12078]
17470 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
17471 (parse_sub_exp): Fix last change, use postorder.
17472
ef06edbe
UD
17473 * posix/bug-regex31.c: New file.
17474 * posix/Makefile: Add rules to build and run bug-regex31.
17475
a129c80d
UD
17476 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
17477
17478 [BZ #12078]
17479 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
17480
b76b818e
UD
17481 [BZ #12108]
17482 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
17483 to have entries in sys_siglist.
17484
1751705d
UD
17485 [BZ #12093]
17486 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
17487 be NULL.
17488
9ff8d36f
JJ
174892010-10-07 Jakub Jelinek <jakub@redhat.com>
17490
17491 [BZ #3268]
17492 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
17493 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
17494 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
17495 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
17496 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17497 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
17498 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
17499 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
17500 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
17501 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
17502 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
17503 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
17504 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17505 * math/ftestexcept.c (fetestexcept): Likewise.
17506 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
17507 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
17508 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17509 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
17510 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
17511 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
17512 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17513
af325969
UD
175142010-10-11 Ulrich Drepper <drepper@gmail.com>
17515
c579b202 17516 [BZ #12107]
af325969
UD
17517 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
17518 newline.
17519
67a67b95
UD
175202010-10-06 Ulrich Drepper <drepper@gmail.com>
17521
17522 * string/bug-strstr1.c: New file.
17523 * string/Makefile: Add rules to build and run bug-strstr1.
17524
5fb308bc
EB
175252010-10-05 Eric Blake <eblake@redhat.com>
17526
17527 [BZ #12092]
17528 * string/str-two-way.h (two_way_long_needle): Always clear memory
17529 when skipping input due to the shift table.
17530
45db99c7
UD
175312010-10-03 Ulrich Drepper <drepper@gmail.com>
17532
3b111893
UD
17533 [BZ #12005]
17534 * malloc/mcheck.c: Handle large requests.
17535
45db99c7
UD
17536 [BZ #12077]
17537 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
17538 for strncmp and strncasecmp.
17539 * string/stratcliff.c: Add tests for strcmp and strncmp.
17540 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
17541
cf7a1eb8
NI
175422010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17543
17544 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
17545 __set_fpscr.
17546
6484ba5e
AJ
175472010-09-30 Andreas Jaeger <aj@suse.de>
17548
17549 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
17550 (CGROUP_SUPER_MAGIC): Define.
17551 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17552 Handle btrfs and cgroup file systems.
17553 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17554 Likewise.
17555
91c42559
LM
175562010-09-27 Luis Machado <luisgpm@br.ibm.com>
17557
17558 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
17559 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
17560
87a97932
AK
175612010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17562
17563 [BZ #12067]
17564 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
17565 trying to locate the ELF header.
17566
c21cc9bc
AS
175672010-09-27 Andreas Schwab <schwab@redhat.com>
17568
17569 [BZ #11611]
17570 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
17571 Mask out sign-bit copies when constructing f_fsid.
17572
315970f6
PB
175732010-09-24 Petr Baudis <pasky@suse.cz>
17574
17575 * debug/stack_chk_fail_local.c: Add missing licence exception.
17576 * debug/warning-nop.c: Likewise.
17577
1ac7a2c7
JM
175782010-09-15 Joseph Myers <joseph@codesourcery.com>
17579
17580 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
17581 implementing getdents64 using getdents syscall, set d_type if
17582 __ASSUME_GETDENTS32_D_TYPE.
17583
56801c50
AS
175842010-09-16 Andreas Schwab <schwab@redhat.com>
17585
17586 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
17587 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
17588
dda51327
UD
175892010-09-21 Ulrich Drepper <drepper@redhat.com>
17590
17591 [BZ #12037]
17592 * posix/unistd.h: Undo change of feature selection for ftruncate from
17593 2010-01-11.
17594
8ffcee4a
UD
175952010-09-20 Ulrich Drepper <drepper@redhat.com>
17596
a545ecd9 17597 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
17598 detection.
17599
e24f0a8b
AS
176002010-09-20 Andreas Schwab <schwab@redhat.com>
17601
17602 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
17603 fanotify_mark.
17604 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17605
7291c56f
AS
176062010-09-14 Andreas Schwab <schwab@redhat.com>
17607
17608 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
17609 variables after CHECK_SP call.
17610 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
17611
bc5fb037
AS
176122010-09-13 Andreas Schwab <schwab@redhat.com>
17613 Ulrich Drepper <drepper@redhat.com>
17614
17615 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
17616 re-relocationg ld.so.
17617 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
17618 _dl_init_paths call.
17619 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
17620 here anymore.
17621
e66e7419
UD
176222010-09-14 Ulrich Drepper <drepper@redhat.com>
17623
17624 * resolv/res_init.c (__res_vinit): Count the default server we added.
17625
c044aa75
CLT
176262010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
17627 Ulrich Drepper <drepper@redhat.com>
17628
17629 [BZ #11968]
17630 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17631 (____longjmp_chk): Use %ebx for saving value across system call.
17632 Add unwind info.
17633
32cf4069
AS
176342010-09-06 Andreas Schwab <schwab@redhat.com>
17635
17636 * manual/Makefile: Don't mix pattern rules with normal rules.
17637
817328ee
AS
176382010-09-05 Andreas Schwab <schwab@linux-m68k.org>
17639
17640 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
17641 operation.
17642 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17643 * libio/iofopncook.c (_IO_cookie_init): Likewise.
17644 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17645 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17646 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17647 Likewise.
17648
29fddf61
UD
176492010-09-04 Ulrich Drepper <drepper@redhat.com>
17650
17651 [BZ #11979]
17652 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
17653 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
17654
0959ffc9
UD
176552010-09-02 Ulrich Drepper <drepper@redhat.com>
17656
17657 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
17658 * sysdeps/x86_64/addmul_1.S: Likewise.
17659 * sysdeps/x86_64/lshift.S: Likewise.
17660 * sysdeps/x86_64/mul_1.S: Likewise.
17661 * sysdeps/x86_64/rshift.S: Likewise.
17662 * sysdeps/x86_64/sub_n.S: Likewise.
17663 * sysdeps/x86_64/submul_1.S: Likewise.
17664
ece29840
ST
176652010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
17666
0959ffc9
UD
17667 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
17668 Define __sched_param instead of SCHED_* and sched_param when
ece29840 17669 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 17670 * bits/sched.h [__need_schedparam]
ece29840 17671 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
17672 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
17673 (__defined_schedparam): Define to 1.
ece29840
ST
17674 (__sched_param): New structure, identical to sched_param.
17675 (__need_schedparam): Undefine.
17676
e53a31fe
MF
176772010-08-31 Mike Frysinger <vapier@gentoo.org>
17678
fdc0c10d
MF
17679 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
17680 (epoll_create1): Declare.
17681
e53a31fe
MF
17682 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
17683
a726d796
AS
176842010-08-31 Andreas Schwab <schwab@redhat.com>
17685
17686 [BZ #7066]
17687 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
17688 shifting retval into place.
17689
2f3e3dc7
UD
176902010-09-01 Ulrich Drepper <drepper@redhat.com>
17691
f2933da9
UD
17692 * nis/rpcsvc/nis.h: Update copyright notice.
17693 * nis/rpcsvc/nis.x: Likewise.
17694 * nis/rpcsvc/nis_callback.h: Likewise.
17695 * nis/rpcsvc/nis_callback.x: Likewise.
17696 * nis/rpcsvc/nis_object.x: Likewise.
17697 * nis/rpcsvc/nis_tags.h: Likewise.
17698 * nis/rpcsvc/yp.h: Likewise.
17699 * nis/rpcsvc/yp.x: Likewise.
17700 * nis/rpcsvc/ypupd.h: Likewise.
17701 * nis/yp_xdr.c: Likewise.
17702 * nis/ypupdate_xdr.c: Likewise.
17703
2f3e3dc7
UD
17704 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
17705 mainly the body of pmap_getport. Add parameters to specify timeouts.
17706 (pmap_getport): Use __libc_rpc_getport.
17707 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
17708 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
17709 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
17710
f3dcc2f9
AS
177112010-08-31 Andreas Schwab <schwab@linux-m68k.org>
17712
17713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
17714 fanotify_mark.
17715
6d34eb5b
RM
177162010-08-27 Roland McGrath <roland@redhat.com>
17717
17718 * sysdeps/i386/i686/multiarch/Makefile
17719 (CFLAGS-varshift.c): New variable.
17720
9ea3de11
UD
177212010-08-27 Ulrich Drepper <drepper@redhat.com>
17722
c96d23fc
UD
17723 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
17724 * sysdeps/i386/i686/multiarch/varshift.c: New file.
17725
9ea3de11
UD
17726 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
17727
17728 * sysdeps/x86_64/strlen.S: Minimal code improvement.
17729
623aac7f
L
177302010-08-26 H.J. Lu <hongjiu.lu@intel.com>
17731
17732 * sysdeps/x86_64/strlen.S: Unroll the loop.
17733 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17734 strlen-sse2 strlen-sse2-bsf.
17735 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
17736 __strlen_no_bsf if bit_Slow_BSF is set.
17737 (__strlen_sse42): Removed.
17738 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
17739 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
17740
8b2b7715
RM
177412010-08-25 Roland McGrath <roland@redhat.com>
17742
17743 * sysdeps/x86_64/multiarch/varshift.S: File removed.
17744 * sysdeps/x86_64/multiarch/varshift.c: New file.
17745 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
17746 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
17747 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
17748 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17749
e73015f2
L
177502010-08-25 H.J. Lu <hongjiu.lu@intel.com>
17751
17752 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17753 strlen-sse2 strlen-sse2-bsf.
17754 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
17755 __strlen_sse2_bsf if bit_Slow_BSF is unset.
17756 (__strlen_sse2): Removed.
17757 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
17758 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
17759 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17760 bit_Slow_BSF for Atom.
17761 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
17762 (index_Slow_BSF): Define.
17763 (HAS_SLOW_BSF): Define.
17764
df24a73e
UD
177652010-08-25 Ulrich Drepper <drepper@redhat.com>
17766
17767 [BZ #10851]
17768 * resolv/res_init.c (__res_vinit): When no server address at all
17769 is given default to loopback.
17770
f2ac4868
RM
177712010-08-24 Roland McGrath <roland@redhat.com>
17772
09055553
RM
17773 * configure.in: Remove config-name.h generation.
17774 * configure: Regenerated.
17775 * config-name.in: File removed.
17776 * scripts/config-uname.sh: New file.
17777 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
17778 ($(objdir)config-name.h): New target.
17779
f2ac4868
RM
17780 * sunrpc/rpc_parse.h: Avoid nested comment.
17781
73f27d5e
RH
177822010-08-24 Richard Henderson <rth@redhat.com>
17783 Ulrich Drepper <drepper@redhat.com>
17784 H.J. Lu <hongjiu.lu@intel.com>
17785
17786 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
17787 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
17788 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
17789 Replace _mm_srli_si128 with __m128i_shift_right. Replace
17790 _mm_alignr_epi8 with _mm_loadu_si128.
17791 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
17792 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
17793 (__m128i_shift_right): Removed.
17794 * sysdeps/i386/i686/multiarch/varshift.h: New file.
17795 * sysdeps/i386/i686/multiarch/varshift.S: New file.
17796 * sysdeps/x86_64/multiarch/varshift.h: New file.
17797 * sysdeps/x86_64/multiarch/varshift.S: New file.
17798
84b9230c
MF
177992010-08-21 Mike Frysinger <vapier@gentoo.org>
17800
17801 * configure.in: Move assembler checks to before sysdep dir checking.
17802
9bbd0ddc
PB
178032010-08-20 Petr Baudis <pasky@suse.cz>
17804
17805 * LICENSES: Sync the sunrpc license.
17806
9da4bb31
UD
178072010-08-19 Ulrich Drepper <drepper@redhat.com>
17808
a7ab6ec8
UD
17809 * sunrpc/auth_des.c: Update copyright notice once again.
17810 * sunrpc/auth_none.c: Likewise.
17811 * sunrpc/auth_unix.c: Likewise.
17812 * sunrpc/authdes_prot.c: Likewise.
17813 * sunrpc/authuxprot.c: Likewise.
17814 * sunrpc/bindrsvprt.c: Likewise.
17815 * sunrpc/clnt_gen.c: Likewise.
17816 * sunrpc/clnt_perr.c: Likewise.
17817 * sunrpc/clnt_raw.c: Likewise.
17818 * sunrpc/clnt_simp.c: Likewise.
17819 * sunrpc/clnt_tcp.c: Likewise.
17820 * sunrpc/clnt_udp.c: Likewise.
17821 * sunrpc/clnt_unix.c: Likewise.
17822 * sunrpc/des_crypt.c: Likewise.
17823 * sunrpc/des_soft.c: Likewise.
17824 * sunrpc/get_myaddr.c: Likewise.
17825 * sunrpc/getrpcport.c: Likewise.
17826 * sunrpc/key_call.c: Likewise.
17827 * sunrpc/key_prot.c: Likewise.
17828 * sunrpc/openchild.c: Likewise.
17829 * sunrpc/pm_getmaps.c: Likewise.
17830 * sunrpc/pm_getport.c: Likewise.
17831 * sunrpc/pmap_clnt.c: Likewise.
17832 * sunrpc/pmap_prot.c: Likewise.
17833 * sunrpc/pmap_prot2.c: Likewise.
17834 * sunrpc/pmap_rmt.c: Likewise.
17835 * sunrpc/rpc/auth.h: Likewise.
17836 * sunrpc/rpc/auth_unix.h: Likewise.
17837 * sunrpc/rpc/clnt.h: Likewise.
17838 * sunrpc/rpc/des_crypt.h: Likewise.
17839 * sunrpc/rpc/key_prot.h: Likewise.
17840 * sunrpc/rpc/netdb.h: Likewise.
17841 * sunrpc/rpc/pmap_clnt.h: Likewise.
17842 * sunrpc/rpc/pmap_prot.h: Likewise.
17843 * sunrpc/rpc/pmap_rmt.h: Likewise.
17844 * sunrpc/rpc/rpc.h: Likewise.
17845 * sunrpc/rpc/rpc_des.h: Likewise.
17846 * sunrpc/rpc/rpc_msg.h: Likewise.
17847 * sunrpc/rpc/svc.h: Likewise.
17848 * sunrpc/rpc/svc_auth.h: Likewise.
17849 * sunrpc/rpc/types.h: Likewise.
17850 * sunrpc/rpc/xdr.h: Likewise.
17851 * sunrpc/rpc_clntout.c: Likewise.
17852 * sunrpc/rpc_cmsg.c: Likewise.
17853 * sunrpc/rpc_common.c: Likewise.
17854 * sunrpc/rpc_cout.c: Likewise.
17855 * sunrpc/rpc_dtable.c: Likewise.
17856 * sunrpc/rpc_hout.c: Likewise.
17857 * sunrpc/rpc_main.c: Likewise.
17858 * sunrpc/rpc_parse.c: Likewise.
17859 * sunrpc/rpc_parse.h: Likewise.
17860 * sunrpc/rpc_prot.c: Likewise.
17861 * sunrpc/rpc_sample.c: Likewise.
17862 * sunrpc/rpc_scan.c: Likewise.
17863 * sunrpc/rpc_scan.h: Likewise.
17864 * sunrpc/rpc_svcout.c: Likewise.
17865 * sunrpc/rpc_tblout.c: Likewise.
17866 * sunrpc/rpc_util.c: Likewise.
17867 * sunrpc/rpc_util.h: Likewise.
17868 * sunrpc/rpcinfo.c: Likewise.
17869 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
17870 * sunrpc/rpcsvc/key_prot.x: Likewise.
17871 * sunrpc/rpcsvc/klm_prot.x: Likewise.
17872 * sunrpc/rpcsvc/mount.x: Likewise.
17873 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
17874 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
17875 * sunrpc/rpcsvc/rex.x: Likewise.
17876 * sunrpc/rpcsvc/rstat.x: Likewise.
17877 * sunrpc/rpcsvc/rusers.x: Likewise.
17878 * sunrpc/rpcsvc/sm_inter.x: Likewise.
17879 * sunrpc/rpcsvc/spray.x: Likewise.
17880 * sunrpc/rpcsvc/yppasswd.x: Likewise.
17881 * sunrpc/rtime.c: Likewise.
17882 * sunrpc/svc.c: Likewise.
17883 * sunrpc/svc_auth.c: Likewise.
17884 * sunrpc/svc_authux.c: Likewise.
17885 * sunrpc/svc_raw.c: Likewise.
17886 * sunrpc/svc_run.c: Likewise.
17887 * sunrpc/svc_simple.c: Likewise.
17888 * sunrpc/svc_tcp.c: Likewise.
17889 * sunrpc/svc_udp.c: Likewise.
17890 * sunrpc/svc_unix.c: Likewise.
17891 * sunrpc/svcauth_des.c: Likewise.
17892 * sunrpc/xcrypt.c: Likewise.
17893 * sunrpc/xdr.c: Likewise.
17894 * sunrpc/xdr_array.c: Likewise.
17895 * sunrpc/xdr_float.c: Likewise.
17896 * sunrpc/xdr_mem.c: Likewise.
17897 * sunrpc/xdr_rec.c: Likewise.
17898 * sunrpc/xdr_ref.c: Likewise.
17899 * sunrpc/xdr_sizeof.c: Likewise.
17900 * sunrpc/xdr_stdio.c: Likewise.
17901
9da4bb31
UD
17902 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
17903 handling.
17904
bdaa77bc
AS
179052010-08-19 Andreas Schwab <schwab@redhat.com>
17906
17907 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
17908
fe2f79db
LM
179092010-08-19 Luis Machado <luisgpm@br.ibm.com>
17910
17911 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
17912 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
17913 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
17914 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
17915 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
17916 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
17917 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
17918 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
17919 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
17920 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
17921 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
17922 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
17923 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
17924 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
17925
b9b42ee0
AB
179262010-07-26 Anton Blanchard <anton@samba.org>
17927
17928 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
17929 * malloc/arena.c (heap_trim): Likewise.
17930
1c06ba31
UD
179312010-08-16 Ulrich Drepper <drepper@redhat.com>
17932
17933 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
17934 here. Not...
17935 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
17936 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
17937
f8392f40
L
179382010-08-12 H.J. Lu <hongjiu.lu@intel.com>
17939
17940 * sysdeps/i386/elf/Makefile: New file.
17941
3162f12e
AS
179422010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17943
17944 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
17945 from fanotify_init.
17946 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
17947 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17948
28c90b2c
UD
179492010-08-15 Ulrich Drepper <drepper@redhat.com>
17950
17951 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
17952 of strncasecmp_l.
1feccb6c 17953 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 17954
ca6bb004
UD
179552010-08-14 Ulrich Drepper <drepper@redhat.com>
17956
e9f82e0d
UD
17957 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17958 strncase_l-nonascii.
17959 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17960 Add strncase_l-ssse3.
17961 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
17962 * sysdeps/x86_64/strcmp.S: Likewise.
17963 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
17964 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
17965 * sysdeps/x86_64/strncase.S: New file.
17966 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
17967 * sysdeps/x86_64/strncase_l.S: New file.
17968 * string/Makefile (strop-tests): Add strncasecmp.
17969 * string/test-strncasecmp.c: New file.
17970
17971 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
17972 warning.
17973
ca6bb004
UD
17974 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
17975 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
17976
052fa7b3
AS
179772010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17978
17979 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
17980
962dba78
UD
179812010-08-12 Ulrich Drepper <drepper@redhat.com>
17982
17983 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
17984 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
17985 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
17986
bebff237
AM
179872010-05-01 Alan Modra <amodra@gmail.com>
17988
17989 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
17990 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
17991 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
17992 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
17993 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
17994 tidying. Don't tail-call __sigjmp_save for static lib.
17995 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
17996 save location.
17997 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
17998 (CALL_MCOUNT): Add eh info, and nop after bl.
17999 (TAIL_CALL_SYSCALL_ERROR): New macro.
18000 (PSEUDO_RET): Use it.
18001 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18002 Correct save location of integer regs and cr.
18003 (_dl_profile_resolve): Correct cr save location. Delete nops
18004 after bl when SHARED. Reduce cfi size a little by better
18005 placement of cfi directives.
18006 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
18007 make a stack frame. Instead use parm save area as a temp.
18008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
18009 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
18010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18011 Don't make a stack frame for parent, use parm save area.
18012 Increase child stack frame to 112 bytes. Don't save unused reg,
18013 and adjust reg usage. Set up cfi on error recovery and
18014 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
18015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18016 (__makecontext): Add dummy nop after jump to exit.
18017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
18018 Use correct parm save area and cr save, reduce stack frame.
18019 Correct cfi for possible PSEUDO_RET frame setup.
18020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
18021 Branch to local label emitted by PSEUDO_RET rather than
18022 __syscall_error.
18023
02637374
AS
180242010-08-12 Andreas Schwab <schwab@redhat.com>
18025
18026 [BZ #11904]
18027 * locale/programs/locale.c (print_assignment): New function.
18028 (show_locale_vars): Use it.
18029
c3e2f19b
UD
180302010-08-11 Ulrich Drepper <drepper@redhat.com>
18031
3cdaa6ad
UD
18032 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
18033 field.
18034 (struct statfs64): Likewise.
18035 (_STATFS_F_FLAGS): Define.
18036 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
18037 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18038 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
18039 (ST_VALID): Define locally.
18040 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
18041 __statvfs_getflags, use the provided value.
18042 * sysdeps/unix/sysv/linux/kernel-features.h: Define
18043 __ASSUME_STATFS_F_FLAGS.
18044
754f7da3
UD
18045 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
18046
10b3bedc
UD
18047 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
18048 Add sys/fanotify.h.
18049 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
18050 fanotify_mask for GLIBC_2.13.
18051 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
18052 fanotify_init and fanotify_mark.
18053 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18054 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
18055
c08fb0d7
UD
18056 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
18057 Add prlimit.
18058 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
18059 prlimit64 for GLIBC_2.13.
18060 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
18061 prlimit64.
18062 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
18063 syscall.
18064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18065 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18066 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
18067 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
18068 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
18069 add prlimit alias.
18070 * sysdeps/unix/sysv/linux/prlimit.c: New file.
18071
15bac72b
UD
18072 [BZ #11903]
18073 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
18074 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
18075
c3e2f19b
UD
18076 * nss/Makefile: Add rules to build and run tst-nss-test1.
18077 * shlib-versions: Add entry for libnss_test1.
18078 * nss/nss_test1.c: New file.
18079 * nss/tst-nss-test1.c: New file.
18080
18081 * nss/nsswitch.c (__nss_database_custom): Define new variable.
18082 (__nss_configure_lookup): Set appropriate entry in
18083 __nss_configure_lookup to true.
18084 * nss/nsswitch.h: Define enum with indeces of databases in
18085 databases and __nss_database_custom arrays. Declare
18086 __nss_database_custom.
18087 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
18088 to avoid using nscd when custom rules are installed.
18089 * nss/getXXbyYY_r.c: Likewise.
18090 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18091
18092 * nss/nss_files/files-parse.c: Whitespace fixes.
18093
f15ce4d8
UD
180942010-08-09 Ulrich Drepper <drepper@redhat.com>
18095
18096 [BZ #11883]
18097 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
18098 * posix/fnmatch_loop.c: Likewise.
18099
d22e4cc9
AK
181002010-07-17 Andi Kleen <ak@linux.intel.com>
18101
18102 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
18103 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
18104 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
18105 * Versions.def [GLIBC_2.13]: Add.
18106
805bc17d
UD
181072010-08-06 Ulrich Drepper <drepper@redhat.com>
18108
18109 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18110 Also fail if tpwd after pwuid call is NULL.
18111
5a42321d
ST
181122010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
18113
18114 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
18115 when converting to ms.
18116
fd3ebeda
ST
181172010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18118
18119 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
18120 EOPNOTSUPP errors with ENOTTY.
18121 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
18122 EOPNOTSUPP errors with ENOTTY.
18123
73507d3a
UD
181242010-07-31 Ulrich Drepper <drepper@redhat.com>
18125
18126 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18127 Add strcasecmp_l-ssse3.
18128 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
18129 strcasecmp.
18130 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
18131 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
18132 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
18133
fe36dd02
UD
181342010-07-30 Ulrich Drepper <drepper@redhat.com>
18135
66f6765a
UD
18136 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
18137
42e08a54
UD
18138 * string/Makefile (strop-tests): Add strcasecmp.
18139 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18140 strcasecmp_l-nonascii.
18141 (gen-as-const-headers): Add locale-defines.sym.
18142 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
18143 * sysdeps/x86_64/strcasecmp.S: New file.
18144 * sysdeps/x86_64/strcasecmp_l.S: New file.
18145 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
18146 * sysdeps/x86_64/locale-defines.sym: New file.
18147 * string/test-strcasecmp.c: New file.
18148
fe36dd02
UD
18149 * string/test-strcasestr.c: Test both ends of the range of characters.
18150 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
18151
48cbc0d6
RM
181522010-07-29 Roland McGrath <roland@redhat.com>
18153
76e6d6bc 18154 [BZ #11856]
48cbc0d6
RM
18155 * manual/locale.texi (Yes-or-No Questions): Fix example code.
18156
880113d9
UD
181572010-07-27 Ulrich Drepper <drepper@redhat.com>
18158
18159 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
18160 for ld.so.
18161
deb9cabb
AS
181622010-07-27 Andreas Schwab <schwab@redhat.com>
18163
18164 * manual/memory.texi (Malloc Tunable Parameters): Document
18165 M_PERTURB.
18166
1c7570ff
RM
181672010-07-26 Roland McGrath <roland@redhat.com>
18168
18169 [BZ #11840]
18170 * configure.in (-fgnu89-inline check): Set and substitute
18171 gnu89_inline, not libc_cv_gnu89_inline.
18172 * configure: Regenerated.
18173 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
18174
24fb0f88
UD
181752010-07-26 Ulrich Drepper <drepper@redhat.com>
18176
18177 * string/test-strnlen.c: New file.
18178 * string/Makefile (strop-tests): Add strnlen.
18179 * string/tester.c (test_strnlen): Add a few more test cases.
18180 * string/tst-strlen.c: Better error reporting.
18181
18182 * sysdeps/x86_64/strnlen.S: New file.
18183
8e96b93a
UD
181842010-07-24 Ulrich Drepper <drepper@redhat.com>
18185
18186 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
18187 lower-latency instructions.
18188
dbc676d4
UD
181892010-07-23 Ulrich Drepper <drepper@redhat.com>
18190
18191 * string/test-strcasestr.c: New file.
18192 * string/test-strstr.c: New file.
18193 * string/Makefile (strop-tests): Add strstr and strcasestr.
18194 * string/str-two-way.h: Don't undefine MAX.
18195 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
18196
f6a31e0e
AS
181972010-07-21 Andreas Schwab <schwab@redhat.com>
18198
18199 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18200 strcasestr-nonascii.
18201 (CFLAGS-strcasestr-nonascii.c): Define.
18202 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
18203 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
18204 Remove unused attribute.
18205
5dbc3b6c
RM
182062010-07-20 Roland McGrath <roland@redhat.com>
18207
18208 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
18209 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
18210 ld.so.cache was broken. With it, there is no way to disable dsocaps
18211 like LD_HWCAP_MASK can disable hwcaps.
18212
23d101d8
EPM
182132010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18214
18215 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
18216
cc9f2e47
UD
182172010-07-16 Ulrich Drepper <drepper@redhat.com>
18218
18219 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
18220 call in strcasestr.
18221 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
18222 __strcasestr_sse42_nonascii.
18223 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
18224 strcasestr-nonascii.c.
18225 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
18226
77c1b069
LM
182272010-06-15 Luis Machado <luisgpm@br.ibm.com>
18228
18229 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
18230 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
18231 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
18232 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
18233
440566c3
UD
182342010-07-09 Ulrich Drepper <drepper@redhat.com>
18235
18236 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
18237 fcntl.
18238
5be9d05d
AS
182392010-07-06 Andreas Schwab <schwab@redhat.com>
18240
c30b7ee2 18241 [BZ #11577]
5be9d05d
AS
18242 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
18243 dl_signal_cerror.
18244
8a492a67
UD
182452010-07-06 Ulrich Drepper <drepper@redhat.com>
18246
18247 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
18248 _PC_PIPE_BUF using F_GETPIPE_SZ.
18249
713df3d5
RM
182502010-07-05 Roland McGrath <roland@redhat.com>
18251
18252 * manual/arith.texi (Rounding Functions): Fix rint description
18253 implicit in round description.
18254
702e8f14
UD
182552010-07-02 Ulrich Drepper <drepper@redhat.com>
18256
18257 * elf/Makefile: Fix linking for a few tests to make recent linker
18258 happy.
18259
52ed8be9
AS
182602010-06-30 Andreas Schwab <schwab@redhat.com>
18261
18262 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18263 $(common-objpfx)libc_nonshared.a.
18264
f47c9a11
LM
182652010-06-21 Luis Machado <luisgpm@br.ibm.com>
18266
18267 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18268 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18269 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18270 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18271 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18272 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18273 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18274 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18289 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18290 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18291 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18292 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18293 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18294 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18295 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18296 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18297 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18298 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18299 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18300 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18315
6fb8cbcb
L
183162010-06-25 H.J. Lu <hongjiu.lu@intel.com>
18317
18318 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18319 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
18320 * string/memmove.c (memmove): Renamed to ...
18321 (MEMMOVE): ...this. Default to memmove.
18322 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18323 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18324 (END_CHK): Define.
18325 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18326 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18327 mempcpy-ssse3-back memmove-ssse3-back.
18328 * sysdeps/x86_64/multiarch/bcopy.S: New file .
18329 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18330 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18331 * sysdeps/x86_64/multiarch/memcpy.S: New file.
18332 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18333 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18334 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18335 * sysdeps/x86_64/multiarch/memmove.c: New file.
18336 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18337 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18338 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18339 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18340 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18341 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18342 Define.
18343 (index_Fast_Copy_Backward): Define.
18344 (HAS_ARCH_FEATURE): Define.
18345 (HAS_FAST_REP_STRING): Define.
18346 (HAS_FAST_COPY_BACKWARD): Define.
18347
4e733bac 183482010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
18349
18350 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18351 Restore proper fallback handling.
18352
63c4ed22
UD
183532010-06-19 Ulrich Drepper <drepper@redhat.com>
18354
ac2b484c
UD
18355 [BZ #11701]
18356 * posix/group_member.c (__group_member): Correct checking loop.
18357
63c4ed22
UD
18358 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
18359 OOM in getpwuid_r correctly. Return error number when the caller
18360 should return, otherwise -1.
18361 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
18362 call returning > 0 value.
18363 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
18364
765ade4b
AS
183652010-06-07 Andreas Schwab <schwab@redhat.com>
18366
18367 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
18368 libc_nonshared.a from targets in modules-names.
18369
80da2e09
KS
183702010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
18371
18372 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
18373 requires it.
18374
158db122
LM
183752010-06-10 Luis Machado <luisgpm@br.ibm.com>
18376
18377 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
18378 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
18379 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
18380 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
18381
caa78cf8
AS
183822010-06-02 Andreas Schwab <schwab@redhat.com>
18383
18384 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
18385
b2ef2c01
UD
183862010-06-14 Ulrich Drepper <drepper@redhat.com>
18387
18388 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
18389 and F_GETPIPE_SZ.
18390 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18391 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18392 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18393 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18394 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18395 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
18396
fbd643b6
RM
183972010-06-14 Roland McGrath <roland@redhat.com>
18398
18399 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
18400
f32f2869
JJ
184012010-06-07 Jakub Jelinek <jakub@redhat.com>
18402
18403 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
18404 __REDIRECT followed by __THROW.
18405 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
18406 * posix/getopt.h (getopt): Likewise.
18407
2a50c078
EPM
184082010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18409
18410 * hurd/lookup-at.c (__file_name_lookup_at): Accept
18411 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
18412 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
18413 in AT_FLAGS.
18414 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
18415 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
18416
eb5ad2eb
LM
184172010-05-28 Luis Machado <luisgpm@br.ibm.com>
18418
18419 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
18420
3c88fe1e
L
184212010-05-26 H.J. Lu <hongjiu.lu@intel.com>
18422
18423 [BZ #11640]
18424 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18425 Properly check family and model.
18426
d2f73151
TY
184272010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
18428
18429 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
18430
ebd2e13d
LM
184312010-05-24 Luis Machado <luisgpm@br.ibm.com>
18432
18433 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
18434
b32b8b45
UD
184352010-05-21 Ulrich Drepper <drepper@redhat.com>
18436
18437 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
18438 symbol reference.
18439
9acbe24d
AS
184402010-05-19 Andreas Schwab <schwab@redhat.com>
18441
18442 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
18443 symbol reference.
18444
f0ccf6ea
AS
184452010-05-21 Andreas Schwab <schwab@redhat.com>
18446
3d04ff3a
AS
18447 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
18448 and internal_recvmmsg.
18449 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
18450 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
18451 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
18452 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
18453
f0ccf6ea
AS
18454 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
18455 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18456 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18457
5b08ac57
AS
184582010-05-20 Andreas Schwab <schwab@redhat.com>
18459
18460 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
18461
4828935d
LM
184622010-05-17 Luis Machado <luisgpm@br.ibm.com>
18463
18464 POWER7 optimizations.
18465 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
18466 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
18467
373d545e
UD
184682010-05-19 Ulrich Drepper <drepper@redhat.com>
18469
18470 * version.h: Update for 2.13 development version.
18471
21a2b1ae
AS
184722010-05-12 Andrew Stubbs <ams@codesourcery.com>
18473
18474 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
18475 exceptions. Return 0.
18476
3f7dcb2b
RM
184772010-05-07 Roland McGrath <roland@redhat.com>
18478
18479 * elf/ldconfig.c (main): Add a const.
18480
5f24d53a 184812010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 18482
a160f8d8
UD
18483 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
18484 (args_options): Add no-idn option.
18485 (ahosts_keys_int): Add idn_flags to ai_flags.
18486 (parse_option): Handle 'i' option to clear idn_flags.
18487
5f24d53a
UD
18488 * malloc/malloc.c (_int_free): Possible race in the most recently
18489 added check. Only act on the data if no current modification
18490 happened.
265bb1ce
UD
18491
18492See ChangeLog.17 for earlier changes.
This page took 2.37015 seconds and 5 git commands to generate.