]> sourceware.org Git - glibc.git/blame - ChangeLog
Add a cast to silence a warning.
[glibc.git] / ChangeLog
CommitLineData
c75ccd4c
RM
12012-08-17 Roland McGrath <roland@hack.frob.com>
2
b7c08a66
RM
3 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
4 last change.
5
b2e1c562
RM
6 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
7 [_IO_MTSAFE_IO].
8 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
10 New macros.
11
c75ccd4c
RM
12 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
14 rather than -D_IO_MTSAFE_IO conditionally.
15 * stdio-common/Makefile (CPPFLAGS): Likewise.
16 * wcsmbs/Makefile (CPPFLAGS): Likewise.
17 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
18 Use $(libio-mtsafe).
19 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
20 of -D_IO_MTSAFE_IO.
21 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
22 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
23 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
25 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
26 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
27 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
28 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
29 (CFLAGS-fread_u_chk.c): Likewise.
30 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
32 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
33 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
34 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
35 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
36 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
37 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
38 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
39
40 * libio/Makefile: Test [$(libc-reentrant) = yes]
41 instead of [$(filter %REENTRANT, $(defines)) nonempty].
42
43 * Makeconfig
44 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
45 * sysdeps/pthread/configure: File removed.
46 * sysdeps/pthread/Makeconfig: New file.
47 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
48 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
49
d9195db8
GB
502012-08-16 Gary Benson <gbenson@redhat.com>
51
52 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
53 unmapping the first object in a namespace.
54
86466cd9
RM
552012-08-16 Roland McGrath <roland@hack.frob.com>
56
57 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
58 (__internal_setnetgrent): ... this. Add internal_function to
59 definition. Add libc_hidden_def.
60 (setnetgrent): Update caller.
61 (internal_endnetgrent): Renamed to ...
62 (__internal_endnetgrent): ... this. Add internal_function to
63 definition. Add libc_hidden_def.
64 (endnetgrent): Update caller.
65 (internal_getnetgrent_r): Renamed to ...
66 (__internal_getnetgrent_r): ... this. Add internal_function to
67 definition. Add libc_hidden_def.
68 (__getnetgrent_r): Update caller.
69 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
70
c3c8283c
JM
712012-08-16 Joseph Myers <joseph@codesourcery.com>
72
73 * stdlib/longlong.h: Update from GCC.
74
db1ee0a8
RM
752012-08-16 Roland McGrath <roland@hack.frob.com>
76
77 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
78 on _QL, which is set by umul_ppmm but never used.
79 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
80 variables, which are set by GMP macros but never used.
81 * stdio-common/_itowa.c (_itowa): Likewise.
82 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
83 * stdlib/mod_1.c (mpn_mod_1): Likewise.
84
30f69637
CD
852012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
86
87 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
88 struct La_sh_regs is not constant.
89 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
90 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
91 and struct La_sparc64_regs are not constant.
92
93a78ac4
JM
932012-08-16 Joseph Myers <joseph@codesourcery.com>
94
95 * sysdeps/unix/sysv/linux/kernel-features.h
96 (__ASSUME_POSIX_TIMERS): Remove.
97 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
98 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
99 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
100 Make code unconditional.
101 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
102 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
103 Make code unconditional.
104 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
105 * sysdeps/unix/sysv/linux/clock_nanosleep.c
106 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
107 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
108 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
109 Make code unconditional.
110 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
111 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
112 (__libc_missing_posix_timers): Remove.
113
dd924cd7
RM
1142012-08-15 Roland McGrath <roland@hack.frob.com>
115
4b4f2771
RM
116 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
117 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
118
601c888b
RM
119 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
120
176790a7
RM
121 * elf/dl-sym.c: Include <stdlib.h>.
122
329bc018
RM
123 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
124 constants, which avoids warnings in 32-bit builds.
125
e04e272d
RM
126 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
127 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
128
952bf94a
RM
129 * misc/lseek.c: File moved to ...
130 * io/lseek.c: ... here.
131
7c99b50a
RM
132 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
133
dd924cd7
RM
134 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
135 shifting LEN more than 31 bits at once.
136
b3f479a8
LD
1372012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
138
139 [BZ #14195]
140 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
141 segmentation fault for a case of two empty input strings.
142 * string/test-strncasecmp.c (check1): Renamed to...
143 (bz12205): ...this.
144 (bz14195): Add new testcase for two empty input strings and N > 0.
145 (test_main): Call new testcase, adapt for renamed function.
146
9c55864e
AJ
1472012-08-15 Andreas Jaeger <aj@suse.de>
148
149 [BZ #14090]
150 * crypt/md5test2.c: New test, based on test supplied by Serge
151 Belyshev <belyshev@depni.sinp.msu.ru>.
152 * crypt/Makefile (xtests): Add md5test-giant..
153 * crypt/Makefile ($(objpfx)md5test-giant): Add.
154
02dcb6c5
PE
1552012-08-15 Paul Eggert <eggert@cs.ucla.edu>
156
157 [BZ #14090]
158 * crypt/md5.c (md5_process_block): Don't assume the buffer
159 length is less than 2**32.
160 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
161 length is less than 2**64.
162
a3f95dcc
RM
1632012-08-15 Roland McGrath <roland@hack.frob.com>
164
be75d758
RM
165 * string/str-two-way.h: Include <sys/param.h>.
166 (MAX): Macro removed.
167
7312ca90
RM
168 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
169 Move #define and #undef of memmove to just before and after
170 including <string.h>.
171
9a0a5486
RM
172 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
173 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
174 and after including <string.h>. Move declarations of
175 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
176 to before #include "string/memmove.c".
177
67cc348d
RM
178 * include/dirent.h: Declare __getdirentries.
179
a3f95dcc
RM
180 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
181 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
182
ca98e171
MF
1832012-08-14 Mike Frysinger <vapier@gentoo.org>
184
185 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
186 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
187 * sysdeps/i386/configure: Regenerated.
188 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
189 STABS_CURRENT_FILE, and STABS_FUN.
190 (END): Remove call to STABS_FUN_END.
191 (STABS_CURRENT_FILE1): Delete.
192 (STABS_CURRENT_FILE): Likewise.
193 (STABS_FUN): Likewise.
194 (STABS_FUN_END): Likewise.
195 (STABS_FUN2): Likewise.
196 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
197 * sysdeps/x86_64/configure: Regenerated.
198
5908bf46
RM
1992012-08-14 Roland McGrath <roland@hack.frob.com>
200
201 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 202 * elf/dl-lookup.c: Likewise.
5908bf46 203
f2c05b9e
JM
2042012-08-14 Joseph Myers <joseph@codesourcery.com>
205
206 * sysdeps/unix/sysv/linux/kernel-features.h
207 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
208 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
209 unconditionally.
210 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
211 unconditionally.
212 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
213 condition on __ASSUME_CLONE_THREAD_FLAGS.
214
e11f5155
AJ
2152012-08-14 Andreas Jaeger <aj@suse.de>
216
217 * sysdeps/i386/fpu/libm-test-ulps: Update.
218
51a9ba86
MK
2192012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
220
2fdd4f78
AJ
221 * include/atomic.h (atomic_exchange_and_add): Split into ...
222 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
223 New atomic macros.
51a9ba86 224
ba6cba9e
MT
2252012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
226
227 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
228
42443a47
JL
2292012-08-13 Jeff Law <law@redhat.com>
230
231 * manual/stdio.texi (snprintf): Clarify handling of the trailing
232 null byte in the output string.
233
121dce05
JM
2342012-08-10 Joseph Myers <joseph@codesourcery.com>
235
236 * sysdeps/unix/sysv/linux/kernel-features.h
237 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
238 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
239 (__ASSUME_ARG_MAX_STACK_BASED): Define.
240 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
241 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
242 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
243 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
244
bf51f568
JL
2452012-08-09 Jeff Law <law@redhat.com>
246
247 [BZ #13939]
248 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
249 When avoid_arena is set, don't retry in the that arena. Pick the
250 next one, whatever it might be.
251 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
252 (arena_lock): Pass in new parameter to arena_get2.
253 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
254 arena_get2.
255 (__libc_malloc): Unify retrying after main arena failure with
256 __libc_memalign version.
257 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
258
f85fa270
L
2592012-08-09 H.J. Lu <hongjiu.lu@intel.com>
260
261 [BZ #14166]
262 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
263 to __redirect_strstr.
264 (__strstr_sse42): Use typeof __redirect_strstr.
265 (__strstr_ia32): Likewise.
266 (__libc_strstr): New prototype.
267 (strstr): Renamed to ...
268 (__libc_strstr): This.
269 (strstr): New strong alias of __libc_strstr.
270 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
271 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
272 __redirect_time.
273 Include <time.h>.
274 (__libc_time): New prototype.
275 (time_ifunc): Replace time with __libc_time.
276 (time): New strong alias and hidden definition of __libc_time.
277 (__GI_time): Remove strong alias.
278 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
279 Include <stddef.h>.
280 (memmove): Redefined to __redirect_memmove.
281 (__memmove_sse2): Use typeof __redirect_memmove.
282 (__memmove_ssse3): Likewise.
283 (__memmove_ssse3_back): Likewise.
284 (__libc_memmove): New prototype.
285 (memmove): Renamed to ...
286 (__libc_memmove): This.
287 (memmove): New strong alias of __libc_memmove.
288
33b4a91e
MS
2892012-08-08 Mark Salter <msalter@redhat.com>
290
291 * elf/elf.h
292 (R_MN10300_TLS_GD): Define.
293 (R_MN10300_TLS_LD): Likewise.
294 (R_MN10300_TLS_LDO): Likewise.
295 (R_MN10300_TLS_GOTIE): Likewise.
296 (R_MN10300_TLS_IE): Likewise.
297 (R_MN10300_TLS_LE): Likewise.
298 (R_MN10300_TLS_DTPMOD): Likewise.
299 (R_MN10300_TLS_DTPOFF): Likewise.
300 (R_MN10300_TLS_TPOFF): Likewise.
301 (R_MN10300_SYM_DIFF): Likewise.
302 (R_MN10300_ALIGN): Likewise.
303 (R_MN10300_NUM): Update.
304
b36137f1
JM
3052012-08-08 Joseph Myers <joseph@codesourcery.com>
306
307 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
308 Remove.
309
cdd915fd
RM
3102012-08-08 Roland McGrath <roland@hack.frob.com>
311
a2433aac
RM
312 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
313
cdd915fd
RM
314 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
315 sysdeps/unix -> sysdeps/posix move.
316 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
317
bf9b740a
AM
3182012-08-07 Allan McRae <allan@archlinux.org>
319
320 [BZ #14303]
321 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
322 (SUNOS_CPP): Likewise.
323 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
324 not found.
325 (open_input): Call CPP using execvp.
326
93df14ee
JM
3272012-08-07 Joseph Myers <joseph@codesourcery.com>
328
329 * sysdeps/unix/sysv/linux/kernel-features.h
330 (__ASSUME_PROT_GROWSUPDOWN): Remove.
331 (__ASSUME_NO_CLONE_DETACHED): Likewise.
332 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
333 (__ASSUME_WAITID_SYSCALL): Likewise.
334 * sysdeps/unix/sysv/linux/dl-execstack.c
335 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
336 code unconditional.
337 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
338 conditional code.
339 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
340 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
341 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
342 code.
343 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
344 unconditional.
345 [__ASSUME_WAITID_SYSCALL]: Likewise.
346 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
347
d34689de
RM
3482012-08-07 Roland McGrath <roland@hack.frob.com>
349
a281decc
RM
350 * sysdeps/unix/closedir.c: Renamed to ...
351 * sysdeps/posix/closedir.c: ... here.
352 * sysdeps/unix/dirfd.c: Renamed to ...
353 * sysdeps/posix/dirfd.c: ... here.
354 * sysdeps/unix/dirstream.h: Renamed to ...
355 * sysdeps/posix/dirstream.h: ... here.
356 * sysdeps/unix/fdopendir.c: Renamed to ...
357 * sysdeps/posix/fdopendir.c: ... here.
358 * sysdeps/unix/opendir.c: Renamed to ...
359 * sysdeps/posix/opendir.c: ... here.
360 * sysdeps/unix/readdir.c: Renamed to ...
361 * sysdeps/posix/readdir.c: ... here.
362 * sysdeps/unix/readdir_r.c: Renamed to ...
363 * sysdeps/posix/readdir_r.c: ... here.
364 * sysdeps/unix/rewinddir.c: Renamed to ...
365 * sysdeps/posix/rewinddir.c: ... here.
366 * sysdeps/unix/seekdir.c: Renamed to ...
367 * sysdeps/posix/seekdir.c: ... here.
368 * sysdeps/unix/telldir.c: Renamed to ...
369 * sysdeps/posix/telldir.c: ... here.
370 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
371 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
372 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
373 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
374
22895b47
RM
375 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
376 * bits/fcntl.h: ... here.
377
707a53b6
RM
378 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
379 not 0.
380 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
381 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
382 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
383 (struct flock): Move l_start, l_len to the beginning.
384 Use __pid_t for l_pid.
385 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
386 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
387 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
388 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
389 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
390 [__USE_LARGEFILE64] (struct flock64): New type.
391 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
392
f0bd3e25
RM
393 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
394 * bits/dirent.h: ... here.
395
d34689de
RM
396 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
397 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
398
6dad2c06
JM
3992012-08-07 Joseph Myers <joseph@codesourcery.com>
400
401 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
402 Change from 2.6.0 to 2.6.16.
403 * sysdeps/unix/sysv/linux/configure: Regenerated.
404 * sysdeps/unix/sysv/linux/kernel-features.h
405 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
406 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
407 version.
408 (__ASSUME_UTIMES): Likewise.
409 (__ASSUME_CLONE_STOPPED): Remove.
410 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
411 architectures, not kernel version.
412 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
413 (__ASSUME_NO_CLONE_DETACHED): Likewise.
414 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
415 (__ASSUME_WAITID_SYSCALL): Likewise.
416 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
417 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
418 * README: State 2.6.16 as minimum Linux kernel version. Do not
419 refer to older versions.
420
03af9520
RM
4212012-08-06 Roland McGrath <roland@hack.frob.com>
422
8e49df1d
RM
423 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
424 Define alphasort64 as an alias.
425 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
426 Define versionsort64 as an alias.
427 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
428 Define scandir64 as an alias.
429 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
430 Define scandirat64 as an alias.
431 * dirent/alphasort64.c (alphasort64):
432 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
433 * dirent/versionsort64.c: Likewise.
434 * dirent/scandir64.c: Likewise.
435 * dirent/scandirat64.c: Likewise.
436 * sysdeps/wordsize-64/alphasort.c: File removed.
437 * sysdeps/wordsize-64/alphasort64.c: File removed.
438 * sysdeps/wordsize-64/scandir.c: File removed.
439 * sysdeps/wordsize-64/scandir64.c: File removed.
440 * sysdeps/wordsize-64/scandirat.c: File removed.
441 * sysdeps/wordsize-64/scandirat64.c: File removed.
442 * sysdeps/wordsize-64/versionsort.c: File removed.
443 * sysdeps/wordsize-64/versionsort64.c: File removed.
444 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
445 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
446 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
447 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
448 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
449 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
450 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
451 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
452
453 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
454 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
455 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
456 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
457 [defined __arch64__ || defined __sparcv9]
458 (__INO_T_MATCHES_INO64_T): New macro.
459 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
460 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
461 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
462 * sysdeps/unix/sysv/linux/bits/dirent.h
463 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
464 (_DIRENT_MATCHES_DIRENT64): New macro.
465
03af9520
RM
466 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
467 Define lockf64 as an alias.
468 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
469 Define fseeko64 as an alias.
470 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
471 Define ftello64 as an alias.
472 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
473 Define _IO_fgetpos64 and fgetpos64 as aliases.
474 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
475 Define _IO_fsetpos64 and fsetpos64 as aliases.
476 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
477 Conditionalize body on this.
478 * libio/fseeko64.c: Likewise.
479 * libio/ftello64.c: Likewise.
480 * libio/iofgetpos64.c: Likewise.
481 * libio/iofsetpos64.c: Likewise.
482 * sysdeps/wordsize-64/lockf.c: File removed.
483 * sysdeps/wordsize-64/lockf64.c: File removed.
484 * sysdeps/wordsize-64/fseeko.c: File removed.
485 * sysdeps/wordsize-64/fseeko64.c: File removed.
486 * sysdeps/wordsize-64/ftello.c: File removed.
487 * sysdeps/wordsize-64/ftello64.c: File removed.
488 * sysdeps/wordsize-64/iofgetpos.c: File removed.
489 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
490 * sysdeps/wordsize-64/iofsetpos.c: File removed.
491 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
492 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
493 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
494 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
495 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
496 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
497 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
498 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
499 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
500 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
501 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
502
503 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
504 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
505 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
506 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
507 [defined __arch64__ || defined __sparcv9]
508 (__OFF_T_MATCHES_OFF64_T): New macro.
509 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
510 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
511 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
512 (__OFF_T_MATCHES_OFF64_T): New macro.
513
c5757acd
L
5142012-08-06 H.J. Lu <hongjiu.lu@intel.com>
515
516 * stdlib/secure-getenv.c (__secure_getenv): Replace
517 GLIBC_2_16 with GLIBC_2_17.
518
3a31811e
L
5192012-08-06 H.J. Lu <hongjiu.lu@intel.com>
520
521 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
522 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
523
faa2bccb
DM
5242012-08-03 David S. Miller <davem@davemloft.net>
525
526 * sysdeps/sparc/fpu/libm-test-ulps: Update.
527
85fe1997
JM
5282012-08-03 Joseph Myers <joseph@codesourcery.com>
529
530 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
531 Remove.
532 (__ASSUME_CORRECT_SI_PID): Likewise.
533 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
534 (__ASSUME_TMPFS_NAME): Likewise.
535 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
536 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
537 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
538 (HAVE_AUX_SECURE): Make definition unconditional.
539 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
540 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
541
4f75b7a0
RM
5422012-08-03 Roland McGrath <roland@hack.frob.com>
543
544 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
545 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
546 * sysdeps/mach/hurd/eloop-threshold.h: New file.
547 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
548 __eloop_threshold instead of SYMLOOP_MAX.
549
550 * sysdeps/generic/eloop-threshold.h: New file.
551 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
552 of MAXSYMLINKS.
553 * elf/chroot_canon.c (chroot_canon): Likewise.
554
7aab07e4
JM
5552012-08-03 Joseph Myers <joseph@codesourcery.com>
556
557 [BZ #13717]
558 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
559 Change to 2.6.0 everywhere.
560 * sysdeps/unix/sysv/linux/configure: Regenerated.
561 * sysdeps/unix/sysv/linux/kernel-features.h
562 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
563 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
564 kernel versions.
565 (__ASSUME_POSIX_TIMERS): Define unconditionally.
566 (__ASSUME_FUTEX_REQUEUE): Remove.
567 (__ASSUME_STATFS64): Define unconditionally.
568 (__ASSUME_AT_SECURE): Likewise.
569 (__ASSUME_CORRECT_SI_PID): Likewise.
570 (__ASSUME_TGKILL): Define without depending on kernel version for
571 i386.
572 (__ASSUME_UTIMES): Likewise.
573 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
574 kernel version.
575 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
576 (__ASSUME_TMPFS_NAME): Likewise.
577 * README: Update reference to Linux kernel versions.
578
b67e9372
MP
5792012-08-02 Marek Polacek <polacek@redhat.com>
580
581 [BZ#14150]
582 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
583 libc_cv_asm_type_prefix with %.
584 * configure: Regenerated.
d2441631
RM
585 * include/libc-symbols.h: Remove comment about
586 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
587 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
588 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
589 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
590 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
591 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
592 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
593 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
594 * elf/tst-unique2mod1.c: Likewise.
595 * elf/tst-unique1mod2.c: Likewise.
596 * elf/tst-unique1mod1.c: Likewise.
597 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
598 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
599 Replace ASM_TYPE_DIRECTIVE with .type.
600 * sysdeps/s390/s390-64/sysdep.h: Likewise.
601 * sysdeps/i386/sysdep.h: Likewise.
602 * sysdeps/x86_64/sysdep.h: Likewise.
603 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
605 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 606 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
607 * sysdeps/powerpc/powerpc32/sysdep.h:
608 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
609 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
610 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
611 * sysdeps/i386/fpu/e_powf.S: Likewise.
612 * sysdeps/i386/fpu/e_expl.S: Likewise.
613 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
614 * sysdeps/i386/fpu/e_acosh.S: Likewise.
615 * sysdeps/i386/fpu/e_pow.S: Likewise.
616 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
617 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
618 * sysdeps/i386/fpu/s_expm1.S: Likewise.
619 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
620 * sysdeps/i386/fpu/e_log2.S: Likewise.
621 * sysdeps/i386/fpu/e_log2l.S: Likewise.
622 * sysdeps/i386/fpu/e_scalb.S: Likewise.
623 * sysdeps/i386/fpu/e_powl.S: Likewise.
624 * sysdeps/i386/fpu/e_log10f.S: Likewise.
625 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
626 * sysdeps/i386/fpu/e_logl.S: Likewise.
627 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
628 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
629 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
630 * sysdeps/i386/fpu/e_log2f.S: Likewise.
631 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
632 * sysdeps/i386/fpu/e_log.S: Likewise.
633 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
634 * sysdeps/i386/fpu/e_logf.S: Likewise.
635 * sysdeps/i386/fpu/e_log10l.S: Likewise.
636 * sysdeps/i386/fpu/e_atanh.S: Likewise.
637 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
638 * sysdeps/i386/fpu/e_log10.S: Likewise.
639 * sysdeps/i386/fpu/s_frexp.S: Likewise.
640 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
641 * sysdeps/i386/fpu/s_asinh.S: Likewise.
642 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
643 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
644 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
645 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
646 * sysdeps/i386/i686/strtok.S: Likewise.
647 * sysdeps/i386/i386-mcount.S: Likewise.
648 * sysdeps/i386/strtok.S: Likewise.
649 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
650 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
651 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
652 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
653 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
654 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
655 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
656 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
657 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
658 * sysdeps/x86_64/_mcount.S: Likewise.
659 * sysdeps/x86_64/strtok.S: Likewise.
660 * sysdeps/sh/_mcount.S: Likewise.
661
2747bf9a
RM
6622012-08-01 Roland McGrath <roland@hack.frob.com>
663
664 * libio/iofopen.c: Include <fcntl.h>.
665 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
666 (_IO_fopen64, fopen64): Define as aliases.
667 * libio/iofopen64.c: Include <fcntl.h>.
668 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
669 Conditionalize body on this.
670 * sysdeps/wordsize-64/iofopen.c: File removed.
671 * sysdeps/wordsize-64/iofopen64.c: File removed.
672
3fb791b8
MP
6732012-08-01 Marek Polacek <polacek@redhat.com>
674
675 * libc/Makeconfig: Use elf in place of binfmt-subdir.
676 Use dlfcn directly instead of a variable.
677 (binfmt-subdir): Do not define.
678 (dlfcn): Likewise.
679
a9f1039f
JM
6802012-08-01 Joseph Myers <joseph@codesourcery.com>
681
23bddc06
JM
682 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
683 Remove all definitions.
684 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
685 <kernel-features.h>.
686 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
687 (miss_F_GETOWN_EX): Remove all definitions.
688 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
689 macro definition.
690 [!__ASSUME_FCNTL64]: Remove conditional code.
691 [__ASSUME_FCNTL64]: Make code unconditional.
692 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
693 <kernel-features.h>.
694 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
695 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
696 (lockf64) [__NR_fcntl64]: Make code unconditional.
697 (lockf64) [__ASSUME_FCNTL64]: Likewise.
698
a9f1039f
JM
699 * sysdeps/unix/sysv/linux/kernel-features.h
700 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
701 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
702 Make code unconditional.
703 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
704 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
706 [__NR_vfork]: Make code unconditional.
707 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
708 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
710 [__NR_vfork]: Make code unconditional.
711 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
712 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
713
09c0ee5f
RM
7142012-08-01 Roland McGrath <roland@hack.frob.com>
715
48aec5b9
RM
716 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
717 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
718
cd97c966
RM
719 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
720 Define mkstemp64 as an alias.
3f55550c
RM
721 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
722 Define mkstemps64 as an alias.
cd97c966
RM
723 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
724 Define mkostemp64 as an alias.
b8625cfc
RM
725 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
726 Define mkostemps64 as an alias.
cd97c966
RM
727 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
728 Conditionalize body on this.
729 * misc/mkostemp64.c: Likewise.
b8625cfc 730 * misc/mkostemps64.c: Likewise.
3f55550c 731 * misc/mkstemps64.c: Likewise.
cd97c966
RM
732 * sysdeps/wordsize-64/mkstemp64.c: File removed.
733 * sysdeps/wordsize-64/mkostemp64.c: File removed.
734 * sysdeps/wordsize-64/mkostemp.c: File removed.
735 * sysdeps/wordsize-64/mkstemp.c: File removed.
736 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
737 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
738 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
739 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
740
09c0ee5f
RM
741 [BZ #14138]
742 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
743 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
744 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
745 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
746
747 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
748 compat_symbol macros from <shlib-compat.h> rather than the underlying
749 default_symbol_version and symbol_version macros, so that DEFAULT
750 lines in shlib-versions are respected.
751 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
752
7e66ee51
FW
7532012-08-01 Florian Weimer <fweimer@redhat.com>
754
755 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
756 Declare with warn_unused_result.
757 (setgid, setregid, setegid, setresgid): Likewise.
758 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
759 Likewise.
760 * WUR-REPORT: Remove set*id functions.
761
d2a54255
PT
7622012-07-31 Pino Toscano <toscano.pino@tiscali.it>
763
764 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
765
7ecdb005
RM
7662012-07-31 Roland McGrath <roland@hack.frob.com>
767
789bd351
RM
768 * include/sys/socket.h (__libc_accept, __libc_accept4):
769 Add attribute_hidden.
770 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
771
40ce302d
RM
772 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
773 use of PTR_MANGLE.
774 * inet/getnetgrent_r.c (setup): Likewise.
775
7ecdb005
RM
776 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
777
e2eabb2c
DM
7782012-07-31 David S. Miller <davem@davemloft.net>
779
780 * sysdeps/sparc/fpu/libm-test-ulps: Update.
781
d0419dbf
JM
7822012-07-31 Joseph Myers <joseph@codesourcery.com>
783
784 [BZ #13629]
785 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
786 value between 1.0 and 2.0 and smaller part has absolute value less
787 than 1.0.
788 * math/s_clog10.c (__clog10): Likewise.
789 * math/s_clog10f.c (__clog10f): Likewise.
790 * math/s_clog10l.c (__clog10l): Likewise.
791 * math/s_clogf.c (__clogf): Likewise.
792 * math/s_clogl.c (__clogl): Likewise.
793 * math/libm-test.inc (clog_test): Add more tests.
794 (clog10_test): Likewise.
795 * sysdeps/i386/fpu/libm-test-ulps: Update.
796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
797
2bc13872
FW
7982012-07-31 Florian Weimer <fweimer@redhat.com>
799
800 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
801 Exit with zero in case no suitable GID is found, and write a
802 message to standard error.
803
bea9b193
RM
8042012-07-30 Roland McGrath <roland@hack.frob.com>
805
806 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
807 rather than to 1.
808 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
809 (MAXPATHLEN): Removed.
810 (NOGROUP, NODEV): New macros.
811 (setbit, clrbit, isset, isclr): New macros.
812 (howmany, roundup, powerof2): New macros.
813 (DEV_BSIZE): New macro.
814
815 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
816 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
817
818 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
819 definition on [!__NO_LONG_DOUBLE_MATH].
820
821 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
822 PTR_MANGLE and PTR_DEMANGLE.
823
824 * socket/accept4.c (accept4): Rename to __libc_accept4.
825 Define accept4 as a weak alias.
826
827 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
828 on [_DIRENT_HAVE_D_TYPE].
829 * io/ftw.c (ftw_dir): Likewise.
830
831 * io/xmknod.c (__xmknod): Don't check PATH for being null.
832
833 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
834
835 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
836 Use the BSD numbers rather than the arbitrary ones we had.
837 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
838 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
839 (SIGXCPU, SIGXFSZ): New macros.
840 (_NSIG): Now 32.
841
842 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
843 initializer on [_LIBC_REENTRANT].
844
845 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
846 definitions inside [_POSIX_MAPPED_FILES].
847
848 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
849
850 * dirent/opendir.c: Include <fcntl.h>.
851
852 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
853 (__libc_getspecific): Likewise.
854 (__libc_key_create): Likewise.
855
856 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
857 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
858 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
859 (tmpfile64): Define as alias.
860 * sysdeps/wordsize-64/tmpfile.c: File removed.
861 * sysdeps/wordsize-64/tmpfile64.c: File removed.
862 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
863 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
864
865 * stdio-common/vfscanf.c: Include <stdbool.h>.
866 * nss/makedb.c: Likewise.
867 * stdio-common/_i18n_number.h: Likewise.
868 * argp/argp-help.c: Likewise.
869 * posix/wordexp.c: Likewise.
870 * sysdeps/posix/spawni.c: Likewise.
871 * nss/nss_files/files-initgroups.c: Likewise.
872 * stdio-common/reg-modifier.c: Include <stdlib.h>.
873 * nss/nss_files/files-initgroups.c: Likewise.
874 * nss/nss_db/db-netgrp.c: Likewise.
875 * nss/nss_db/db-initgroups.c: Likewise.
876 * io/fchmodat.c: Include <sys/stat.h>.
877
878 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
879 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
880
881 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
882 [HAVE_MMAP].
883
884 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
885 Add multiple inclusion protection.
886
e5abc686
DM
8872012-07-27 David S. Miller <davem@davemloft.net>
888
889 * sysdeps/sparc/fpu/libm-test-ulps: Update.
890
815e6fa3
GB
8912012-07-27 Gary Benson <gbenson@redhat.com>
892
893 [BZ #14298]
894 * elf/rtld.c: Include <stap-probe.h>.
895 (dl_main): Added static probes "init_start" and "init_complete".
896 * elf/dl-load.c: Include <stap-probe.h>.
897 (lose): Take new parameter "nsid".
898 Added static probe "map_failed".
899 (_dl_map_object_from_fd): Pass namespace id to lose.
900 Added static probe "map_start".
901 (open_verify): Pass namespace id to lose.
902 * elf/dl-open.c: Include <stap-probe.h>.
903 (dl_open_worker) Added static probes "map_complete", "reloc_start"
904 and "reloc_complete".
905 * elf/dl-close.c: Include <stap-probe.h>.
906 (_dl_close_worker): Added static probes "unmap_start" and
907 "unmap_complete".
908 * elf/rtld-debugger-interface.txt: New file documenting the above.
909
9f98c16c
RM
9102012-07-26 Roland McGrath <roland@hack.frob.com>
911
912 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
913 rather than a string variable.
914 * sunrpc/rpc_main.c (h_output): Likewise.
915 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
916
f3c22df3
PT
9172012-07-26 Pino Toscano <toscano.pino@tiscali.it>
918
919 * inet/check_native.c: New file.
920
3129cfc6
JM
9212012-07-26 Joseph Myers <joseph@codesourcery.com>
922
da865e95
JM
923 [BZ #13629]
924 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
925 if larger part has absolute value 1.0.
926 * math/s_clog10.c (__clog10): Likewise.
927 * math/s_clog10f.c (__clog10f): Likewise.
928 * math/s_clog10l.c (__clog10l): Likewise.
929 * math/s_clogf.c (__clogf): Likewise.
930 * math/s_clogl.c (__clogl): Likewise.
931 * math/libm-test.inc (clog_test): Add more tests.
932 (clog10_test): Likewise.
933 * sysdeps/i386/fpu/libm-test-ulps: Update.
934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
935
3129cfc6
JM
936 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
937 (pltexit): Likewise.
938 (La_regs): Likewise.
939 (La_retval): Likewise.
940 (int_retval): Likewise.
941 Update #error for removed macros to refer only to definitions in
942 tst-audit.h.
943 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
944 macro.
945 (pltexit): Likewise.
946 (La_regs): Likewise.
947 (La_retval): Likewise.
948 (int_retval): Likewise.
949 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
950 macro.
951 (pltexit): Likewise.
952 (La_regs): Likewise.
953 (La_retval): Likewise.
954 (int_retval): Likewise.
955 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
956 macro.
957 (pltexit): Likewise.
958 (La_regs): Likewise.
959 (La_retval): Likewise.
960 (int_retval): Likewise.
961 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
962 macro.
963 (pltexit): Likewise.
964 (La_regs): Likewise.
965 (La_retval): Likewise.
966 (int_retval): Likewise.
967 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
968 macro.
969 (pltexit): Likewise.
970 (La_regs): Likewise.
971 (La_retval): Likewise.
972 (int_retval): Likewise.
973 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
974 macro.
975 (pltexit): Likewise.
976 (La_regs): Likewise.
977 (La_retval): Likewise.
978 (int_retval): Likewise.
979 * sysdeps/generic/tst-audit.h: Update comment to refer only to
980 macro definitions in tst-audit.h.
981 * sysdeps/i386/tst-audit.h: New file.
982 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
983 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
984 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
985 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
986 * sysdeps/sh/tst-audit.h: Likewise.
987 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
988 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
989 * sysdeps/x86_64/tst-audit.h: Likewise.
990
bfc07087
AJ
9912012-07-26 Andreas Jaeger <aj@suse.de>
992
b1b2aaf8
AJ
993 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
994 ptrace.
995
996 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
997 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
998 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
999 PTRACE_O_MASK.
1000 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
1001 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
1002 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
1003
bfc07087
AJ
1004 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
1005 value.
1006
1007 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
1008 _sigsys.
1009 (si_call_addr, si_syscall, si_arch): Define new macro.
1010 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
1011 _sigsys.
1012 (si_call_addr, si_syscall, si_arch): Define new marcro.
1013 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
1014 _sigsys.
1015 (si_call_addr, si_syscall, si_arch): Define new macro.
1016 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
1017 _sigsys.
1018 (si_call_addr, si_syscall, si_arch): Define new macro.
1019
89b4b02f
JM
10202012-07-25 Joseph Myers <joseph@codesourcery.com>
1021
1022 [BZ #13717]
1023 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1024 Change to 2.4.21 where previously 2.4.1.
1025 * sysdeps/unix/sysv/linux/configure: Regenerated.
1026 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
1027 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
1028 Linux kernel version.
1029 (__ASSUME_STD_AUXV): Remove.
1030 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
1031 kernel version.
1032 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
1033 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
1034 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
1035 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
1036 (__ASSUME_NETLINK_SUPPORT): Likewise.
1037 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
1038 (__no_netlink_support): Remove conditional definition.
1039 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
1040 Remove.
1041 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1042 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
1043 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
1044 (if_nameindex_ioctl): Remove.
1045 (if_nameindex_netlink): Do not handle __no_netlink_support.
1046 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1047 code.
1048 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
1049 Remove conditional code.
1050 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1051 code.
1052 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
1053 unconditional.
1054 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1055 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
1056 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
1057 Remove.
1058 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1059 [!__ASSUME_STD_AUXV]: Remove conditional code.
1060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
1061 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
1062 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
1063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
1064 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
1065 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1066 code.
1067 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1069 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
1070 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1071 conditional code.
1072 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1074 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1075 code.
1076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1077 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1078 conditional code.
1079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
1080 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1081 code unconditional.
1082 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1083 conditional code.
1084 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1085 unconditional.
1086 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1087 conditional code.
1088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1089 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1090 unconditional.
1091 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1092 conditional code.
1093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1094 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1095 code unconditional.
1096 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1097 conditional code.
1098 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1099 unconditional.
1100 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1101 conditional code.
1102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1103 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1104 code unconditional.
1105 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1106 conditional code.
1107 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1108 unconditional.
1109 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1110 conditional code.
1111
842a39cd
AS
11122012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1113
1114 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
1115 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
1116 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1117 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
1118 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1119 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1120 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1121 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1122 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1123 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1124 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
1125 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1126 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
1127 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1128 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1129 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
1130 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1131 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
1132 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
1133 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
1134 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1135 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1136 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1137
84b3fd84
FW
11382012-07-25 Florian Weimer <fweimer@redhat.com>
1139
1140 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
1141 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
1142 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
1143 Introduce __libc_secure_getenv.
0c7936d5
FW
1144 * stdlib/Versions (2.17): Add secure_getenv
1145 (GLIBC_PRIVATE): Add __libc_secure_getenv.
1146 * stdlib/secure-getenv.c: Rename __secure_getenv to
1147 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
1148 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
1149 * stdlib/tst-secure-getenv.c: New.
1150 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
1151 * manual/startup.texi (Environment Access): Document
1152 secure_getenv.
84b3fd84
FW
1153 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
1154 __libc_secure_getenv.
1155 * inet/ruserpass.c (ruserpass): Likewise.
1156 * malloc/mtrace.c (mtrace): Likewise.
1157 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 1158 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
1159 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
1160 * sysdeps/posix/tempname.c: Likewise. Evaluate
1161 HAVE_SECURE_GETENV.
1162 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 1163 __secure_getenv to __libc_secure_getenv.
84b3fd84 1164 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
1165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1166 Likewise.
1167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1168 Likewise.
1169 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1170 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1171 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1173 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1174 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1175 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 1176
56e49b71
JM
11772012-07-25 Joseph Myers <joseph@codesourcery.com>
1178
1179 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
1180 (struct La_i86_retval): Likewise.
1181 (struct La_x86_64_regs): Likewise.
1182 (struct La_x86_64_retval): Likewise.
1183 (struct La_x32_regs): Likewise.
1184 (struct La_x32_retval): Likewise.
1185 (struct La_ppc32_regs): Likewise.
1186 (struct La_ppc32_retval): Likewise.
1187 (struct La_ppc64_regs): Likewise.
1188 (struct La_ppc64_retval): Likewise.
1189 (struct La_sh_regs): Likewise.
1190 (struct La_sh_retval): Likewise.
1191 (struct La_s390_32_regs): Likewise.
1192 (struct La_s390_32_retval): Likewise.
1193 (struct La_s390_64_regs): Likewise.
1194 (struct La_s390_64_retval): Likewise.
1195 (struct La_sparc32_regs): Likewise.
1196 (struct La_sparc32_retval): Likewise.
1197 (struct La_sparc64_regs): Likewise.
1198 (struct La_sparc64_retval): Likewise.
1199 (struct audit_ifaces): Remove architecture-specific pltenter and
1200 pltexit members.
1201 * sysdeps/i386/ldsodefs.h: New file.
1202 * sysdeps/powerpc/ldsodefs.h: Likewise.
1203 * sysdeps/s390/ldsodefs.h: Likewise.
1204 * sysdeps/sh/ldsodefs.h: Likewise.
1205 * sysdeps/sparc/ldsodefs.h: Likewise.
1206 * sysdeps/x86_64/ldsodefs.h: Likewise.
1207
354691b7
MP
12082012-07-25 Marek Polacek <polacek@redhat.com>
1209
1210 [BZ #6808]
1211 * math/libm-test.inc (yn_test): Add another test.
1212 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
1213 to ERANGE when the result is +-Inf.
1214 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1215 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1216 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
1217 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
1218
bf9e2071
JM
12192012-07-24 Joseph Myers <joseph@codesourcery.com>
1220
1221 * conform/data/time.h-data (NULL): Use macro-constant. Require
1222 equal to 0.
1223 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
1224 clock_t.
1225 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
1226
57633811
TS
12272012-07-23 Thomas Schwinge <thomas@codesourcery.com>
1228
1229 * configure.in <sysdeps resolving>: Correct printing
1230 Implies_before.
1231 * configure: Regenerate.
1232
c23c33b0
TS
12332012-07-22 Thomas Schwinge <thomas@codesourcery.com>
1234
1235 * math/w_ilogb.c: Include <limits.h>.
1236 * math/w_ilogbl.c: Likewise.
1237
b5982523
JM
12382012-07-20 Joseph Myers <joseph@codesourcery.com>
1239
1240 * manual/lang.texi (__va_copy): Document primarily as ISO C99
1241 va_copy. Document allowing for unavailable va_copy only as
1242 pre-C99 compatibility.
1243 * manual/string.texi (Copying and Concatenation): Use va_copy
1244 instead of __va_copy in concat example.
1245
ac4ea442
PT
12462012-07-20 Pino Toscano <toscano.pino@tiscali.it>
1247
1248 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1249 (__sendto): Use create_address_port. Initialize APORT and deallocate
1250 it if not null.
1251
f98eafbd
PT
1252 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1253 with O_NOLINK passed to __file_name_lookup.
1254
898c7aab
PT
1255 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1256 with O_NOLINK passed to __file_name_lookup.
1257
0ced335a
PT
1258 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1259 negative N or less than NGIDS.
1260
b3404dbd
PT
1261 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1262 type to string_t. Set ERANGE as errno and return it if NAME is not big
1263 enough. Use memcpy instead of strncpy.
1264
0f48659e
JM
12652012-07-20 Joseph Myers <joseph@codesourcery.com>
1266
1267 * elf/Makefile (check-data): Remove.
1268 (localplt.data): New vpath directive.
1269 ($(objpfx)check-localplt.out): Use localplt.data from vpath
1270 instead of $(check-data).
1271 * scripts/data/localplt-generic.data: Move to ...
1272 * sysdeps/generic/localplt.data: ... here.
1273 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1274 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1275 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1277 ... here.
1278 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1280 ... here.
1281 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1282 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1283 ... here.
1284 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1285 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1286 ... here.
1287 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1288 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1289 ... here.
1290 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1291 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1292 ... here.
1293
d37cbdaa
AZ
12942012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1295
1296 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1297 PPC32 and PPC64 files.
1298 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1299 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1300
46f85fc2
AK
13012012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1302
1303 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1304 __makecontext_ret to ...
1305 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1306 ... here and call exit if uc_link is NULL. New file.
1307 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1308 __makecontext_ret.S.
1309 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1310 __makecontext_ret to ...
1311 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1312 ... here and call exit if uc_link is NULL. New file.
1313 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1314 __makecontext_ret.S.
1315
08f43f9b
AK
13162012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1317
1318 * elf/elf.h (R_390_IRELATIVE): New definition.
1319 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1320 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
1321 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1322 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1323 (elf_machine_lazy_rel): Likewise.
1324 * sysdeps/s390/dl-irel.h: New file.
1325 * sysdeps/s390/s390-64/memcpy.S: New asm code.
1326 * sysdeps/s390/s390-64/memset.S: New asm code.
1327 * sysdeps/s390/s390-64/memcmp.S: New asm code.
1328 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
1329 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
1330 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
1331 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
1332 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
1333 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
1334 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
1335 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
1336 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
1337 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
1338 * sysdeps/s390/s390-32/memcpy.S: New asm code.
1339 * sysdeps/s390/s390-32/memset.S: New asm code.
1340 * sysdeps/s390/s390-32/memcmp.S: New asm code.
1341
3b05db33
MP
13422012-07-17 Marek Polacek <polacek@redhat.com>
1343
1344 [BZ #14349]
1345 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
1346 * sysdeps/s390/s390-64/configure.in: Likewise.
1347 * sysdeps/sparc/configure.in: Likewise.
1348 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
1349 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
1350 * sysdeps/i386/configure.in: Likewise.
1351 * sysdeps/x86_64/configure.in: Likewise.
1352 * sysdeps/sh/configure.in: Likewise.
1353 * sysdeps/s390/s390-32/configure: Regenerated.
1354 * sysdeps/s390/s390-64/configure: Likewise.
1355 * sysdeps/x86_64/configure: Likewise.
1356 * sysdeps/sh/configure: Likewise.
1357 * sysdeps/powerpc/powerpc64/configure: Likewise.
1358 * sysdeps/powerpc/powerpc32/configure: Likewise.
1359 * sysdeps/sparc/configure: Likwise.
1360 * sysdeps/i386/configure: Likewise.
1361
a66877c6
MP
1362 * elf/dl-open.c: Comment fixes.
1363
cfc82fd8
JM
13642012-07-17 Joseph Myers <joseph@codesourcery.com>
1365
bd29910a
JM
1366 * Makefile [CXX] (check-data): Remove.
1367 [CXX] (c++-types.data): New vpath directive.
1368 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
1369 vpath. Do not allow for C++ type data being missing.
1370 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
1371 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
1372 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
1373 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
1374 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
1375 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
1376 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
1377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1378 ... here.
1379 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
1380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1381 ... here.
1382 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
1383 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
1384 ... here.
1385 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
1386 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
1387 ... here.
1388 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
1389 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
1390 ... here.
1391 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
1392 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
1393 ... here.
1394 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
1395 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
1396 ... here.
1397 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
1398 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
1399
cfc82fd8
JM
1400 * elf/tls-macros.h (TLS_LE): Move architecture-specific
1401 definitions to architecture-specific files.
1402 (TLS_IE): Likewise.
1403 (TLS_LD): Likewise.
1404 (TLS_GD): Likewise.
1405 * sysdeps/i386/tls-macros.h: New file.
1406 * sysdeps/powerpc/tls-macros.h: Likewise.
1407 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1408 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1409 * sysdeps/sh/tls-macros.h: Likewise.
1410 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
1411 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
1412 * sysdeps/x86_64/tls-macros.h: Likewise.
1413
f7db3170
TS
14142012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1415
07cbfc23
TS
1416 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
1417 zero value for regular exit case.
1418
f7db3170
TS
1419 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1420 (__start_context): Preserve zero value for regular exit case.
1421
dc97c227
TS
14222012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1423 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1424
1425 * manual/setjmp.texi (setcontext): Clarify normal process
1426 termination when uc_link is the null pointer.
1427 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
1428 exit call.
1429
d0cd7d02
AS
14302012-07-16 Andreas Schwab <schwab@linux-m68k.org>
1431
1432 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
1433 preprocessor. Test for each exception mask separately.
1434
dd318934
AJ
14352012-07-16 Andreas Jaeger <aj@suse.de>
1436
1437 * po/ru.po: Update from translation team.
1438
8048311a
JM
14392012-07-15 Joseph Myers <joseph@codesourcery.com>
1440
1441 * conform/data/string.h-data (NULL): Use macro-constant. Require
1442 equal to 0.
1443 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1444 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1445 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
1446 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
1447 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1448
b637d46e
AJ
14492012-07-13 Andreas Jaeger <aj@suse.de>
1450
1451 * po/fr.po: Update from translation team.
1452
541428fe
MP
14532012-07-12 Marek Polacek <polacek@redhat.com>
1454
1455 [BZ #14173]
1456 * math/libm-test.inc (yn_test): Add test for BZ #14173.
1457 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
1458 loop condition.
1459
ec332e94
JM
14602012-07-12 Joseph Myers <joseph@codesourcery.com>
1461
1462 [BZ #13717]
1463 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1464 Change to 2.4.1 where previously 2.4.0.
1465 * sysdeps/unix/sysv/linux/configure: Regenerated.
1466 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
1467 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
1468 version.
1469 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
1470 (__ASSUME_AT_CLKTCK): Remove.
1471 (__ASSUME_AT_PAGESIZE): Likewise.
1472 (__ASSUME_AT_XID): Likewise.
1473 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
1474 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
1475 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
1476 unconditionally.
1477 (HAVE_AUX_PAGESIZE): Likewise.
1478 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
1479 [__ASSUME_AT_CLKTCK]: Make code unconditional.
1480 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
1481
7b6e99be
JB
14822012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
1483
1484 [BZ #14307]
1485 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
1486 the temporary buffer used to invoke __gethostbyname2_r,
1487 __gethostbyaddr_r and gethostbyname4_r to make room for struct
1488 host_data / struct gaih_addrtuple.
1489 * resolv/nss_dns/dns-host.c (global scope): Move definition of
1490 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
1491 header file nss/nsswitch.h.
1492 * nss/nsswitch.h (global scope): Add definition of implementation
1493 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
1494 resolv/nss_dns/dns-host.c).
1495
608404eb
AJ
14962012-07-11 Andreas Jaeger <aj@suse.de>
1497
1498 * po/fr.po: Update from translation team.
1499
71220aca
AJ
1500 * po/sv.po: Update from translation team
1501 * po/fr.po: Another update from translation team.
1502
28cfe843
AZ
15032012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1504
1505 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
1506 for subnormals or multiply small sinh result by itself.
1507 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1508 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1509
6b90f981
DM
15102012-07-11 David S. Miller <davem@davemloft.net>
1511
1512 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1513
c6825772
AS
15142012-07-10 Andreas Schwab <schwab@linux-m68k.org>
1515
1516 [BZ #14347]
1517 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
1518 (INTERNAL_MARK): Shift it here.
1519
7b8e0d49
MP
15202012-07-10 Marek Polacek <polacek@redhat.com>
1521
1522 [BZ #14151]
1523 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
1524 libc_cv_asm_global_directive with .globl.
1525 * configure: Regenerated.
1526 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
1527 with .globl.
1528 * sysdeps/i386/configure: Regenerated.
1529 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
1530 with .globl.
1531 * sysdeps/x86_64/configure: Regenerated.
1532 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
1533 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
1534 * elf/tst-unique2mod2.c: Likewise.
1535 * elf/tst-unique2mod1.c: Likewise.
1536 * elf/tst-unique1mod2.c: Likewise.
1537 * elf/tst-unique1mod1.c: Likewise.
1538 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1539 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1540 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1541 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1542 * sysdeps/mach/sysdep.h: Likewise.
1543 * sysdeps/i386/sysdep.h: Likewise.
1544 * sysdeps/i386/i386-mcount.S: Likewise.
1545 * sysdeps/x86_64/_mcount.S: Likewise.
1546 * sysdeps/x86_64/sysdep.h: Likewise.
1547 * sysdeps/sh/_mcount.S: Likewise.
1548 * sysdeps/sh/sysdep.h: Likewise.
1549 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
1550 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
1551 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
1552 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1553 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
1554 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
1555 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
1556 * locale/localeinfo.h: Likewise.
1557 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
1558 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
1559
6c55cda3
RM
15602012-07-09 Roland McGrath <roland@hack.frob.com>
1561
1562 [BZ #14336]
1563 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
1564 system".
1565 * manual/message.texi (The Uniforum approach): Likewise.
1566 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
1567 (glibc iconv Implementation): Likewise.
1568
638a572e
JM
15692012-07-09 Joseph Myers <joseph@codesourcery.com>
1570
1571 [BZ #14337]
1572 * math/s_clog.c (__clog): Avoid scaling a value down where that
1573 could result in underflow.
1574 * math/s_clog10.c (__clog10): Likewise.
1575 * math/s_clog10f.c (__clog10f): Likewise.
1576 * math/s_clog10l.c (__clog10l): Likewise.
1577 * math/s_clogf.c (__clogf): Likewise.
1578 * math/s_clogl.c (__clogl): Likewise.
1579 * math/libm-test.inc (clog_test): Add more tests.
1580 (clog10_test): Likewise.
1581 * sysdeps/i386/fpu/libm-test-ulps: Update.
1582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1583
261f4859
AS
15842012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1585
0abaf3e4
AS
1586 [BZ #14283]
1587 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
1588 by 7 not 8 to examine high bit of fractional part.
1589
261f4859
AS
1590 [BZ #14042]
1591 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
1592 for call to __mcount_internal.
1593 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
1594 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
1595 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
1596
f17ac40d
JM
15972012-07-06 Joseph Myers <joseph@codesourcery.com>
1598
9ad63c23
JM
1599 [BZ #14154]
1600 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
1601 approximation for values within 0x1p-13f of an odd multiple of
1602 pi/4.
1603 * math/libm-test.inc (tan_test): Do not allow spurious underflow
1604 exception. Add more tests.
1605 * sysdeps/i386/fpu/libm-test-ulps: Update.
1606
f17ac40d
JM
1607 [BZ #6778]
1608 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
1609 inputs and return -1 for them. Do not check for +Inf in case not
1610 reachable for +Inf.
1611 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1612 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
1613 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1614 and return -1 for them. Do not check for +Inf in case not
1615 reachable for +Inf.
1616 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
1617 define.
1618 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1619 and return -1 for them. Do not check for +Inf in case not
1620 reachable for +Inf.
1621 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
1622 spurious underflow.
1623 * sysdeps/i386/fpu/libm-test-ulps: Update.
1624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1625
fb21f89b
MF
16262012-07-06 Mike Frysinger <vapier@gentoo.org>
1627
1628 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
1629
cdfe2c5e
JM
16302012-07-05 Joseph Myers <joseph@codesourcery.com>
1631
1632 [BZ #14157]
1633 [BZ #14331]
1634 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
1635 could result in spurious underflow. Scale down values above
1636 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
1637 * math/s_csqrtf.c (__csqrtf): Likewise.
1638 * math/s_csqrtl.c (__csqrtl): Likewise.
1639 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
1640 spurious underflow.
1641 * sysdeps/i386/fpu/libm-test-ulps: Update.
1642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1643
70d35b67
AS
16442012-07-04 Andreas Schwab <schwab@linux-m68k.org>
1645
704bc459
AS
1646 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
1647 xopen-msg.sed.
1648 * catgets/xopen-msg.awk: New file.
1649 * catgets/xopen-msg.sed: Removed.
1650
70d35b67
AS
1651 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
1652 po2text.sed.
1653 * intl/po2test.awk: New file.
1654 * intl/po2test.sed: Removed.
1655
ca61cf32
JM
16562012-07-04 Joseph Myers <joseph@codesourcery.com>
1657
1658 [BZ #14328]
1659 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
1660 or multiply small sinh result by itself.
1661 * math/s_ctanf.c (__ctanf): Likewise.
1662 * math/s_ctanh.c (__ctanh): Likewise.
1663 * math/s_ctanhf.c (__ctanhf): Likewise.
1664 * math/s_ctanhl.c (__ctanhl): Likewise.
1665 * math/s_ctanl.c (__ctanl): Likewise.
1666 * math/libm-test.inc (ctan_test_tonearest): New function.
1667 (ctan_test_towardzero): Likewise.
1668 (ctan_test_downward): Likewise.
1669 (ctan_test_upward): Likewise.
1670 (ctanh_test_tonearest): Likewise.
1671 (ctanh_test_towardzero): Likewise.
1672 (ctanh_test_downward): Likewise.
1673 (ctanh_test_upward): Likewise.
1674 (main): Call these new functions.
1675 * sysdeps/i386/fpu/libm-test-ulps: Update.
1676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1677
ca48a46a
MF
16782012-07-03 Mike Frysinger <vapier@gentoo.org>
1679
1680 * .gitignore: Delete /ports entry.
1681
9d63d37d
AJ
16822012-07-03 Andreas Jaeger <aj@suse.de>
1683
1684 * po/bg.po: Update from translation team.
1685 * po/cs.po: Likewise.
1686 * po/de.po: Likewise.
1687 * po/hr.po: Likewise.
1688 * po/nl.pl: Likewise.
1689 * po/pl.po: Likewise.
1690 * po/vi.po: Likewise.
1691
370ca3d2
JM
16922012-07-03 Joseph Myers <joseph@codesourcery.com>
1693
95f5a9a8
JM
1694 * Makeconfig [!+link] (+link-before-libc): New variable.
1695 [!+link] (+link-after-libc): Likewise.
1696 [!+link] (+link-tests): Likewise.
1697 [!+link] (+link): Define in terms of $(+link-before-libc) and
1698 $(+link-after-libc).
1699 [!+link-static] (+link-static-before-libc): New variable.
1700 [!+link-static] (+link-static-after-libc): Likewise.
1701 [!+link-static] (+link-static-tests): Likewise.
1702 [!+link-static] (+link-static): Define in terms of
1703 $(+link-static-before-libc) and $(+link-static-after-libc).
1704 [build-shared] (link-libc-before-gnulib): New variable.
1705 [build-shared] (link-libc-tests): Likewise.
1706 [build-shared] (link-libc): Define in terms of
1707 $(link-libc-before-gnulib).
1708 [!build-shared] (link-libc-tests): New variable.
1709 (link-libc-static-tests): New variable.
1710 [!gnulib] (gnulib-arch): New variable.
1711 [!gnulib] (gnulib-tests): Likewise.
1712 [!gnulib] (static-gnulib-arch): Likewise.
1713 [!gnulib] (static-gnulib-tests): Likewise.
1714 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
1715 Define with "=" instead of ":=".
1716 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
1717 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
1718 * Rules (binaries-all-notests): New variable.
1719 (binaries-all-tests): Likewise.
1720 (binaries-static-notests): Likewise.
1721 (binaries-static-tests): Likewise.
1722 (binaries-all): Define using $(binaries-all-notests) and
1723 $(binaries-all-tests).
1724 (binaries-static): Define using $(binaries-static-notests) and
1725 $(binaries-static-tests).
1726 (binaries-shared-tests): New variable.
1727 (binaries-shared-notests): Likewise.
1728 (binaries-shared): Remove variable.
1729 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
1730 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
1731 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
1732 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
1733 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
1734 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
1735 * elf/Makefile (sln-modules): New variable.
1736 (extra-objs): Add $(sln-modules:=.o).
1737 (ldconfig-modules): Add static-stubs.
1738 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
1739 * elf/static-stubs.c: New file.
1740
7a845b2c
JM
1741 [BZ #14283]
1742 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
1743 by 7 not 8 to examine high bit of fractional part. Use volatile
1744 variables when splitting into final array of floats if
1745 __FLT_EVAL_METHOD__ != 0.
1746 * math/libm-test.inc (cos_test): Add another test.
1747 (sin_test): Likewise.
1748 * sysdeps/i386/fpu/libm-test-ulps: Update.
1749
e2283f38
JM
1750 [BZ #14273]
1751 * math/libm-test.inc (cosh_test): Add more tests.
1752
370ca3d2
JM
1753 * version.h (RELEASE): Set to "development".
1754 (VERSION): Set to "2.16.90".
1755
ee9247c3
CD
17562012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
1757
1758 * NEWS: Update copyright. Remove last-updated date.
1759 Mention math library bug fixes and timezone data changes.
1760 * README: Mention GNU/Hurd, x32, and HPPA support status.
1761
4648c381
TS
17622012-06-28 Thomas Schwinge <thomas@codesourcery.com>
1763
1764 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
1765
aac78a43
AJ
17662012-06-27 Andreas Jaeger <aj@suse.de>
1767
1768 * manual/contrib.texi (Contributors): Add Samuel Thibault.
1769
ed3dbfad
AJ
17702012-06-25 Andreas Jaeger <aj@suse.de>
1771
1772 * sysdeps/s390/fpu/libm-test-ulps: Update.
1773
4d0ee855
AS
17742012-06-23 Andreas Schwab <schwab@linux-m68k.org>
1775 Thomas Schwinge <thomas@codesourcery.com>
1776
1777 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
1778 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
1779 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
1780 fanotify_mark.
1781
af1bce34
TS
17822012-06-23 Thomas Schwinge <thomas@codesourcery.com>
1783
a9fa33ba
TS
1784 * sysdeps/mach/start.c: Remove file.
1785 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
1786 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
1787 * sysdeps/sh/init-first.c: Likewise.
1788
58f902b8
TS
1789 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
1790 registers for frame unwinding purposes, add CFI directives.
1791 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1792 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
1793 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1794 Likewise.
1795
1518f58b
TS
1796 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
1797 __fortify_fail returning.
1798 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1799
db9b5059
TS
1800 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
1801 sysdeps/sh/____longjmp_chk.S.
1802 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
1803 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
1804 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
1805 (gen-as-const-headers): Append sigaltstack-offsets.sym.
1806
967705fe
TS
1807 * sysdeps/sh/abort-instr.h: New file.
1808 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
1809 process in case exit returns.
1810
a9def8c4
TS
1811 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
1812 initialize the GOT register before use.
1813
2a649725
TS
1814 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
1815 calculation of ARGC > 4.
1816
af1bce34
TS
1817 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
1818 meaningful names to some local labels.
1819
d230f50a
KK
18202012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1821 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1822
1823 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
1824 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
1825 (__arch_compare_and_exchange_val_16_acq): Likewise.
1826 (__arch_compare_and_exchange_val_32_acq): Likewise.
1827 (atomic_exchange_and_add): Fix gUSA sequence.
1828 (atomic_add): Likewise.
1829 (atomic_add_negative): Likewise.
1830 (atomic_add_zero): Likewise.
1831 (atomic_bit_test_set): Likewise.
1832
0479b305
AS
18332012-06-22 Andreas Schwab <schwab@redhat.com>
1834
1835 [BZ #13579]
1836 * include/link.h (struct link_map): Add l_free_initfini.
1837 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
1838 l_initfini.
1839 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
1840 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
1841 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
1842 set.
1843
0e3933b9
CD
18442012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
1845
1846 * configure.in: Use AC_LANG_SOURCE.
1847 * configure: Regenerate.
1848
4248b1b1
RM
18492012-06-22 Roland McGrath <roland@hack.frob.com>
1850
1851 * configure.in (libc_cv_localstatedir): New substituted variable.
1852 * configure: Regenerated.
1853 * config.make.in (localstatedir): New variable, substituted from
1854 libc_cv_localstatedir.
1855 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
1856 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
1857 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
1858 * sysdeps/gnu/configure: Regenerated.
1859
006dd861
JL
18602012-06-21 Jeff Law <law@redhat.com>
1861
1862 [BZ #14277]
1863 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
1864 free. Simplify list management for _LIBC case.
1865
79662d42
JM
18662012-06-21 Joseph Myers <joseph@codesourcery.com>
1867
b7abb4bf
JM
1868 [BZ #14273]
1869 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1870 Clear sign bit of 64-bit integer value before comparing against
1871 overflow value.
1872
79662d42
JM
1873 * sysdeps/mach/configure: Regenerated.
1874
1f150908
L
18752012-06-21 H.J. Lu <hongjiu.lu@intel.com>
1876
1877 [BZ #14278]
1878 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
1879
28363bbf
JL
18802012-06-21 Jeff Law <law@redhat.com>
1881
1882 [BZ #13882]
1883 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
1884 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 1885 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
1886 * elf/dl-open.c (dl_open_worker): Likewise.
1887
09615db4
CD
18882012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
1889
1890 * scripts/list-sources.sh: Scan PORTS for translations.
1891 * po/libc.pot: Regenerated.
1892
2174c6dd
AJ
18932012-06-21 Andreas Jaeger <aj@suse.de>
1894
1895 [BZ #12194]
1896 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
1897 warning.
1898 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
1899 * bits/byteswap-16.h (__bswap_16): Likewise.
1900 * bits/byteswap.h (__bswap_constant_16): Likewise.
1901
3ee947b1
L
19022012-06-18 H.J. Lu <hongjiu.lu@intel.com>
1903
1904 [BZ #14117]
a2f34833
L
1905 * sysdeps/i386/fpu_control.h: Removed.
1906 * sysdeps/x86_64/fpu_control.h: Moved to ...
1907 * sysdeps/x86/fpu_control.h: Here.
1908
3ee947b1
L
1909 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
1910 (_FPU_SETCW): Likewise.
1911
ed1825f8
L
19122012-06-15 H.J. Lu <hongjiu.lu@intel.com>
1913
25f1282a
L
1914 [BZ #14117]
1915 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
1916 * sysdeps/x86/fpu/bits/mathinline.h: This.
1917 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
1918
ed1825f8
L
1919 [BZ #14050]
1920 [BZ #14117]
1921 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
1922 functions if __x86_64__ is defined.
1923
36d54b74
CLT
19242012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
1925
1926 * string/endian.h: Add !__ASSEMBLER__ condition for including
1927 conversion interfaces.
1928
10285c21
JM
19292012-06-15 Joseph Myers <joseph@codesourcery.com>
1930
1931 [BZ #14241]
1932 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
1933 of ABS(x) in calculating zero to negative powers other than odd
1934 integers.
1935 * math/libm-test.inc (pow_test): Add more tests.
1936
06c5abbd
AJ
19372012-06-15 Andreas Jaeger <aj@suse.de>
1938
1939 * manual/contrib.texi (Contributors): Update entry of Liubov
1940 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
1941 Machado Filho.
1942
a3aeac40
CH
19432012-06-15 Cyril Hrubis <metan@ucw.cz>
1944
1945 * string/string.h: Add __wur to GNU version of strerror_r.
1946
49bdf4c1
L
19472012-06-14 H.J. Lu <hongjiu.lu@intel.com>
1948
1949 [BZ #14229]
1950 * string/Makefile (tests): Add tst-strtok_r.
1951 * string/tst-strtok_r.c: New file.
1952 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
1953 RAX_LP/RDX_LP on SAVE_PTR.
1954
834f9b8d
RM
19552012-06-14 Roland McGrath <roland@hack.frob.com>
1956
1957 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
1958
75fa1921
JM
19592012-06-14 Joseph Myers <joseph@codesourcery.com>
1960
1961 * libm_test.inc (csqrt_test): Allow more spurious underflow
1962 exceptions.
1963 (j0_test): Likewise.
1964 (j1_test): Likewise.
1965 (y0_test): Likewise.
1966 (y1_test): Likewise.
1967
771766df
CD
19682012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
1969
1970 * po/Makefile (libc.pot): Use UTF-8 charset.
1971
ceb9e56b
PP
19722012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
1973
1974 [BZ #14210]
1975 Suppress sign-conversion warning from FD_SET.
1976 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
1977 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
1978 not unsigned long int.
1979 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
1980
ddb28975
L
19812012-06-12 H.J. Lu <hongjiu.lu@intel.com>
1982
1983 [BZ #14050]
1984 [BZ #14117]
1985 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
1986 __extern_always_inline instead of __extern_inline.
1987 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
1988 (__signbit): Likewise.
1989 (__signbitl): Support C++ namespace.
1990 (lrintf): New inline function.
1991 (lrint): Likewise.
1992 (llrintf): Likewise.
1993 (llrint): Likewise.
1994 (fmaxf): Likewise.
1995 (fmax): Likewise.
1996 (fminf): Likewise.
1997 (fmin): Likewise.
1998 (rint): Likewise.
1999 (rintf): Likewise.
2000 (ceil): Likewise.
2001 (ceilf): Likewise.
2002 (floor): Likewise.
2003 (floorf): Likewise.
2004 (nearbyint): Likewise.
2005 (nearbyintf): Likewise.
2006
d7b4fb26
TS
20072012-06-12 Thomas Schwinge <thomas@codesourcery.com>
2008
2009 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
2010 non-default versions.
2011
eb55f5c2
RM
20122012-06-11 Roland McGrath <roland@hack.frob.com>
2013
2014 [BZ #14218]
2015 * manual/argp.texi (Argp): Reword argp_parse description slightly.
2016
366af02c
TS
20172012-06-09 Thomas Schwinge <thomas@codesourcery.com>
2018
99ff6e5c
TS
2019 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
2020 (FE_UPWARD, FE_DOWNWARD): Don't define.
2021 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
2022 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2023
366af02c
TS
2024 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
2025 reading it.
2026 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2027 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2028
793ea851
KK
20292012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2030
2031 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2032 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
2033 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
2034 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
2035
a728a38f
L
20362012-06-06 H.J. Lu <hongjiu.lu@intel.com>
2037
2038 [BZ #14117]
c08010c7
L
2039 * sysdeps/i386/fpu/bits/fenv.h: Removed.
2040 * sysdeps/i386/fpu/Implies: New file.
2041 * sysdeps/x86_64/fpu/Implies: Likewise.
2042 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
2043 * sysdeps/x86/fpu/bits/fenv.h: This.
2044
a728a38f
L
2045 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
2046 __SSE_MATH__.
2047
6e230d11
SP
20482012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2049
2050 [BZ #14134]
2051 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
2052 character 0xffff that matches the last element of the
2053 conversion table.
2054
1b671feb
AZ
20552012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2056
2057 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
2058 fmodl commit.
2059
6043738b
AZ
20602012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2061
2062 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
2063 values higher than 25.6283.
2064
34ae0b32
AZ
20652012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2066
2067 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
2068 subnormal exponent extraction and add some __builtin_expect.
2069 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
2070 Fix for subnormal mantissa calculation.
2071
1214ec8f
MF
20722012-06-04 Mike Frysinger <vapier@gentoo.org>
2073
2074 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
2075 cpu2 is -1 and errno is not ENOSYS.
2076
f3d1f93c
L
20772012-06-04 H.J. Lu <hongjiu.lu@intel.com>
2078
2079 [BZ #14117]
0e4a3cd7
L
2080 * sysdeps/i386/i486/bits/string.h: Renamed to ...
2081 * sysdeps/x86/bits/string.h: This.
2082 * sysdeps/x86_64/bits/string.h: Removed.
2083
6704c645
L
2084 * sysdeps/i386/i486/bits/string.h: Define inline functions only
2085 if not compiling for x86-64, but compiling for >= i486.
2086
48495318
L
2087 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
2088 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
2089
14adcbfc
L
2090 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
2091 New macro from Linux kernel 3.4.0.
2092 (FP_XSTATE_MAGIC2): Likewise.
2093 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2094 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
2095 (struct _fpx_sw_bytes): New struct.
2096 (struct _xsave_hdr): Likewise.
2097 (struct _ymmh_state): Likewise.
2098 (struct _xstate): Likewise.
2099
68e408ab
L
2100 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
2101 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
2102 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
2103 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
2104 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
2105 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
2106
f3d1f93c
L
2107 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
2108 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
2109 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
2110 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
2111 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
2112 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
2113
d9dc34cd
TMQMF
21142012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2115
2116 [BZ #13743]
2117 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
2118 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
2119 (sysdep_headers): Include sys/platform/ppc.h.
2120 * sysdeps/powerpc/test-gettimebase.c: Test for
2121 __ppc_get_timebase() to catch future ISA opcode/insn changes.
2122 * manual/Makefile (appendices): Include platform.texi.
2123 * manual/contrib.texi (Contributors): Update @node pointers.
2124 * manual/maint.texi (Maintenance): Likewise.
2125 (Platform): New node.
2126 * manual/platform.texi: New file. Document the new features.
2127
4af3879c
SP
21282012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2129 Jakub Jelinek <jakub@redhat.com>
2130
2131 [BZ #14188]
2132 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
2133 where __builtin_expect is unavailable.
2134
2fd6ff13
DM
21352012-06-03 David S. Miller <davem@davemloft.net>
2136
2137 * stdlib/longlong.h: Updated from GCC.
2138
173f7220
AS
21392012-06-02 Andreas Schwab <schwab@linux-m68k.org>
2140
2141 [BZ #14042]
2142 * sysdeps/powerpc/powerpc32/mcount.c: New file.
2143 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
2144 __mcount_internal.
2145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2146 (GLIBC_2.16): Likewise.
2147
f34a1c6f
L
21482012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2149
2150 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
2151
88a4576f
JM
21522012-06-01 Joseph Myers <joseph@codesourcery.com>
2153
ea32bcdd
JM
2154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2155 (default-abi): New variable.
2156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
2157 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
2158 variable.
2159 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
2160 Likewise.
2161 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
2162 Likewise.
2163 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
2164 Likewise.
2165
88a4576f
JM
2166 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
2167 definition. Document in comment.
2168
402fe938
DM
21692012-06-01 David S. Miller <davem@davemloft.net>
2170
2171 * stdlib/longlong.h: Updated from GCC.
2172
3553723f
L
21732012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2174
2175 [BZ #14117]
3bd872c4
L
2176 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
2177 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
2178 sys/debugreg.h sys/io.h here.
2179 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
2180 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
2181 sys/io.h.
2182 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
2183 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
2184 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
2185 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
2186 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
2187 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
2188
3553723f
L
2189 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
2190 Define only if __x86_64__ is defined.
2191
4842e4fe
JM
21922012-06-01 Joseph Myers <joseph@codesourcery.com>
2193
c5bfe3d5
JM
2194 [BZ #14048]
2195 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
2196 Use int64_t for variable i.
2197 * math/libm-test.inc (fmod_test): Add more tests.
2198
4842e4fe
JM
2199 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
2200 z computation is not scheduled after fetestexcept.
2201 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
2202 Use math_force_eval instead of asm to ensure calculation scheduled
2203 before exception test.
2204 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
2205 Ensure a1 + u.d computation is not scheduled after fetestexcept.
2206
efb73488
AJ
22072012-06-01 Aurelien Jarno <aurelien@aurel32.net>
2208
2209 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
2210 computation is not scheduled after fetestexcept.
2211
29bcce7c
L
22122012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2213
2214 [BZ #14117]
2215 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
2216 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
2217
73a68f94
AZ
22182012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2219
2220 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
2221 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2222
67b6df78
L
22232012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2224
edf2933a 2225 [BZ #14117]
ebc64a18
L
2226 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
2227 <bits/wordsize.h>.
2228 (__WCHAR_MIN): Support __WORDSIZE == 64.
2229 (__WCHAR_MAX): Likewise.
2230
edf2933a
L
2231 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
2232 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2233
57c6cf40
L
2234 [BZ #14183]
2235 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2236 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2237
67b6df78 2238 [BZ #14117]
8eb6281e
L
2239 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2240 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2241
aac639f4
L
2242 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2243 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2244
67b6df78
L
2245 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2246 Defined to 1 if __x86_64__ isn't defined.
2247 (_STAT_VER_LINUX_OLD): New.
2248 (st_atime): Remove duplicate.
2249 (st_mtime): Likewise.
2250 (st_ctime): Likewise.
2251
1c2cfe81
DM
22522012-05-31 David S. Miller <davem@davemloft.net>
2253
2254 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2255 entries.
2256
5be8418c
AS
22572012-06-01 Andreas Schwab <schwab@linux-m68k.org>
2258
e7725326
AS
2259 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2260 gen-libm-test.pl.
2261
5be8418c
AS
2262 [BZ #14132]
2263 * elf/dl-reloc.c: Include <_itoa.h>.
2264 (_dl_reloc_bad_type): Remove use of INTUSE.
2265 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2266 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2267 * stdio-common/psiginfo.c (psiginfo): Likewise.
2268 * stdio-common/psignal.c (psignal): Likewise.
2269 * string/strsignal.c (strsignal): Likewise.
2270 * include/signal.h (_sys_siglist): Declare hidden proto.
2271 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
2272 INTVARDEF with libc_hidden_data_def.
2273 * stdio-common/itoa-udigits.c: Likewise.
2274 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2275 (_itoa_lower_digits_internal): Remove declaration.
2276 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2277 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2278 (_sys_sigabbrev_internal): Remove aliases.
2279 (_sys_siglist): Define hidden alias.
2280
507352f1
MT
22812012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
2282
2283 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2284 bits/sysctl.h.
2285
42bbb1c3
L
22862012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2287
2288 [BZ #14117]
6bd784b6
L
2289 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2290 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2291
8bca20f0
L
2292 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2293 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2294 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2295 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2296 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2297 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2298
f9e890a9
L
2299 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2300 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2301 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2302
471101a1
L
2303 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2304 with __addr.
2305 (insw): Likewise.
2306 (insl): Likewise.
2307 (outsb): Likewise.
2308 (outsw): Likewise.
2309 (outsl): Likewise.
2310
6451c862
L
2311 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2312 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2313 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2314
a254b8c9
L
2315 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2316 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2317 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2318 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2319 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2320 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2321
b8dfdd92
L
2322 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2323 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2324
578cd270
L
2325 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
2326 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
2327
de662f5f
L
2328 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
2329 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
2330 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
2331
25653439
L
2332 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
2333 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
2334 to ...
2335 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
2336
6bad24a0
L
2337 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
2338 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
2339 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
2340
42bbb1c3
L
2341 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
2342 for x86-64.
2343 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2344
2d10d547
JM
23452012-05-31 Joseph Myers <joseph@codesourcery.com>
2346
2347 * math/math.h (M_El): Use two more decimal places.
2348 (M_LOG2El): Likewise.
2349 (M_LOG10El): Likewise.
2350 (M_LN2l): Likewise.
2351 (M_LN10l): Likewise.
2352 (M_PIl): Likewise.
2353 (M_PI_2l): Likewise.
2354 (M_PI_4l): Likewise.
2355 (M_1_PIl): Likewise.
2356 (M_2_PIl): Likewise.
2357 (M_2_SQRTPIl): Likewise.
2358 (M_SQRT2l): Likewise.
2359 (M_SQRT1_2l): Likewise.
2360
f230c29b
DM
23612012-05-31 David S. Miller <davem@davemloft.net>
2362
2363 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
2364 values between float registers.
2365 * sysdeps/sparc/sparc64/memset.S: Likewise.
2366 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2367
fed806c3
MF
23682012-05-31 Mike Frysinger <vapier@gentoo.org>
2369
2370 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
2371 -D_FORTIFY_SOURCE=1.
2372 (CPPFLAGS-tst-longjmp_chk.c): Define.
2373 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
2374 (CPPFLAGS-tst-longjmp_chk2.c): Define.
2375 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
2376 CFLAGS-tst-wchar-h.c.
2377
30917259
MP
23782012-05-31 Marek Polacek <polacek@redhat.com>
2379
2380 [BZ #14132]
2381 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
2382 __endmntent_internal): Remove declaration.
2383 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
2384 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
2385 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
2386
1c58d5dc
DM
23872012-05-30 David S. Miller <davem@davemloft.net>
2388
2389 * sysdeps/sparc/sparc32/soft-fp/q_util.c
2390 (___Q_simulate_exceptions): Use real FP ops rather than writing
2391 into the %fsr.
2392 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
2393 Likewise.
2394
7dc00e0d
L
23952012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2396
2397 [BZ #14117]
0bd53985
L
2398 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
2399 * sysdeps/x86/bits/xtitypes.h: This.
2400
3a257e66
L
2401 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
2402 * sysdeps/x86/bits/wordsize.h: This.
2403
62f62904
L
2404 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
2405 * sysdeps/x86/bits/huge_vall.h: This.
2406
404fe9d9
L
2407 * sysdeps/i386/bits/select.h: Removed.
2408 * sysdeps/x86_64/bits/select.h: Renamed to ...
2409 * sysdeps/x86/bits/select.h: This.
2410
d48d0446
L
2411 * sysdeps/i386/bits/setjmp.h: Removed.
2412 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
2413 * sysdeps/x86/bits/setjmp.h: This.
2414
7dc00e0d
L
2415 * sysdeps/i386/bits/mathdef.h: Removed.
2416 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
2417 * sysdeps/x86/bits/mathdef.h: This.
2418
03277f8f
AS
24192012-05-30 Andreas Schwab <schwab@linux-m68k.org>
2420
2421 [BZ #14132]
2422 * include/sys/socket.h (__connect_internal)
2423 (__libc_sa_len_internal): Remove declaration.
2424 (__connect, __libc_sa_len): Declare hidden_proto.
2425 (SA_LEN): Remove use of INTUSE.
2426 * socket/connect.c: Add libc_hidden_def.
2427 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
2428 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
2429 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
2430 alias.
2431 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2432 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2433 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
2434 of adding _internal alias.
2435
13764867
L
24362012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2437
2438 [BZ #14117]
6bd97696
L
2439 * sysdeps/i386/bits/link.h: Removed.
2440 * sysdeps/i386/bits/linkmap.h: Likewise.
2441 * sysdeps/x86_64/bits/link.h: Renamed to ...
2442 * sysdeps/x86/bits/link.h: This.
2443 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
2444 * sysdeps/x86/bits/linkmap.h: This.
2445
f726f0bb
L
2446 * sysdeps/i386/bits/endian.h: Removed.
2447 * sysdeps/x86_64/bits/endian.h: Renamed to ...
2448 * sysdeps/x86/bits/endian.h: This.
2449
13764867
L
2450 * sysdeps/i386/bits/byteswap.h: Removed.
2451 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2452 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
2453 * sysdeps/x86/bits/byteswap.h: This.
2454 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
2455 * sysdeps/x86/bits/byteswap-16.h: This.
2456 * sysdeps/i386/Implies: Add x86.
2457 * sysdeps/x86_64/Implies: Likewise.
2458
ae251b0b
DM
24592012-05-30 David S. Miller <davem@davemloft.net>
2460
2461 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
2462 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
2463 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2464 (FP_TRAPPING_EXCEPTIONS): Define.
2465 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2466 (FP_TRAPPING_EXCEPTIONS): Define.
2467 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
2468 subnormals only when inexact has been signalled or underflow
2469 exceptions are enabled.
2470 (_FP_PACK_CANONICAL): Likewise.
2471
d5c90867
L
24722012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2473
2474 [BZ #14183]
2475 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
2476 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
2477
63f1549e
RH
24782012-05-30 Richard Henderson <rth@twiddle.net>
2479
8d8f2279
RH
2480 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
2481 with #ifndef NOT_IN_libc.
2482
63f1549e
RH
2483 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
2484 marked to avoid plt entry.
2485
0ab0291b
L
24862012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2487
2488 [BZ #14112]
2489 * Makeconfig (default-abi): New macro.
2490 (abi-includes): Likewise.
2491 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
2492 $(abi-$(default-abi)-lib-soname) for soname if defined.
2493 ($(common-objpfx)gnu/lib-names.stmp): Generate from
2494 abi-variants.
2495 * Makefile (installed-stubs): Likewise.
2496 * include/stubs-biarch.h: Removed.
2497 * scripts/lib-names.awk: Only handle one library at a time.
2498 * scripts/soversions.awk: Remove WORDSIZE support.
2499 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
2500 entries.
2501 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
2502 Removed.
2503 (syscall-list-default-condition): Likewise.
2504 (syscall-list-default-condition): Likewise.
2505 (syscall-list-includes): Likewise.
2506 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
2507 syscall-list-* with abi-*. Handle undefined abi-variants.
2508 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
2509 * sysdeps/unix/sysv/linux/i386/Implies: New file.
2510 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
2511 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
2512 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
2513 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
2514 Removed.
2515 (syscall-list-32-options): Likewise.
2516 (syscall-list-32-condition): Likewise.
2517 (syscall-list-64-options): Likewise.
2518 (syscall-list-64-condition): Likewise.
2519 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
2520 macro.
2521 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
2522 Renamed to ...
2523 (abi-*): This.
2524 (abi-64-ld-soname): New macro.
2525 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
2526 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
2527 Renamed to ...
2528 (abi-*): This.
2529 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
2530 * sysdeps/x86_64/x32/shlib-versions: Likewise.
2531
4da0431d
JM
25322012-05-30 Joseph Myers <joseph@codesourcery.com>
2533
3a85279c
JM
2534 * sysdeps/unix/sysv/linux/kernel-features.h
2535 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
2536 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
2537 include <kernel-features.h>.
2538 [!__NR_ftruncate64]: Remove conditional code.
2539 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2540 [__NR_ftruncate64]: Make code unconditional.
2541 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2542 * sysdeps/unix/sysv/linux/truncate64.c: Do not
2543 include <kernel-features.h>.
2544 [!__NR_ftruncate64]: Remove conditional code.
2545 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2546 [__NR_ftruncate64]: Make code unconditional.
2547 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
2549 include <kernel-features.h>.
2550 [!__NR_ftruncate64]: Remove conditional code.
2551 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2552 [__NR_ftruncate64]: Make code unconditional.
2553 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2555 include <kernel-features.h>.
2556 [!__NR_ftruncate64]: Remove conditional code.
2557 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2558 [__NR_ftruncate64]: Make code unconditional.
2559 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2560
4da0431d
JM
2561 * configure.in (libc_cv_fpie): Weaken to a compile test using
2562 LIBC_TRY_CC_OPTION.
2563 * configure: Regenerated.
2564
11ef492c
AK
25652012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2566
2567 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
2568 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
2569 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
2570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2571 Refreshed.
2572 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
2573 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
2574 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
2575 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
2576 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
2577 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2578 Refreshed.
2579
d66ef399
DM
25802012-05-27 David S. Miller <davem@davemloft.net>
2581
2582 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
2583 (___Q_zero): New.
2584 (__Q_simulate_exceptions): Return void. Change to simulate
2585 exceptions by writing into the %fsr.
2586 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
2587 (__Qp_handle_exceptions): Likewise.
2588 (numbers): Delete.
2589 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
2590 __Qp_handle_exceptions.
2591 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
2592 __Qp_handle_exceptions.
2593 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2594 as unused and give dummy FP_RND_NEAREST initializer.
2595 (FP_INHIBIT_RESULTS): Define.
2596 (___Q_simulate_exceptions): Update declaration.
2597 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
2598 formatting.
2599 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2600 as unused and give dummy FP_RND_NEAREST initializer.
2601 (__Qp_handle_exceptions): Update declaration.
2602 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
2603 formatting.
2604
04fb54b5
TS
26052012-05-27 Thomas Schwinge <thomas@codesourcery.com>
2606
2607 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
2608 the temporary FPU control word.
2609 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2610 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
2611 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2612 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2613 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2614 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2615 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2616 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2617 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2618 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2619 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2620
3f99608f
KK
26212012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2622
2623 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
2624 fields.
2625
65a4de4e
CLT
26262012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
2627
2628 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
2629 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
2630 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
2631 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
2632 Likewise.
2633 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
2634 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
2635 Likewise.
2636
15749d40
UD
26372012-05-27 Ulrich Drepper <drepper@gmail.com>
2638
2639 * po/h.po: Update from translation team.
2640
25dbcb27
AS
26412012-05-26 Andreas Schwab <schwab@linux-m68k.org>
2642
3d3f8e55
AS
2643 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
2644
25dbcb27
AS
2645 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
2646 handling of denormals.
2647 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2648 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2649 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2650 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2651 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2652 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
2653 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
2654 Likewise.
2655
7ad47a80 26562012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
2657
2658 [BZ #14152]
2659 * math/libm-test.inc (fma_test): Don't always expect underflow
2660 exception.
2661
9c6ea9fa
SP
26622012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2663
2664 [BZ #12416]
2665 * elf/tst-execstack.c: Include stackinfo.h.
2666 (do_test): Adjust test case to ensure that pthread_getattr_np
2667 behaviour remains the same after marking stack executable.
2668
a8239222
JM
26692012-05-25 Joseph Myers <joseph@codesourcery.com>
2670
2671 * sysdeps/unix/sysv/linux/kernel-features.h
2672 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
2673 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
2674 kernel-features.h.
2675 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2676 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2677 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
2678 kernel-features.h.
2679 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2680 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2681
918b5606
L
26822012-05-25 H.J. Lu <hongjiu.lu@intel.com>
2683
2684 * configure.in: Define the default includes to being none.
2685 * configure: Regenerated.
2686
3a097cc7
RM
26872012-05-25 Roland McGrath <roland@hack.frob.com>
2688
8422c9a5
RM
2689 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
2690 * sysdeps/x86_64/setjmp.S: Likewise.
2691 * sysdeps/i386/bsd-setjmp.S: Likewise.
2692 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2693 * sysdeps/i386/setjmp.S: Likewise.
2694 * sysdeps/i386/__longjmp.S: Likewise.
2695 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2696 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
2697
3a097cc7
RM
2698 * include/stap-probe.h: New file.
2699 * configure.in: Handle --enable-systemtap.
2700 * configure: Regenerated.
2701 * config.h.in (USE_STAP_PROBE): New #undef.
2702 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
2703 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
2704 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2705
21708942
JM
27062012-05-25 Joseph Myers <joseph@codesourcery.com>
2707
2708 [BZ #13717]
2709 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2710 to 2.4.0 where earlier.
2711 * sysdeps/unix/sysv/linux/configure: Regenerated.
2712 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2713 <kernel-features.h>.
2714 [__ASSUME_32BITUIDS]: Make code unconditional.
2715 [!__ASSUME_32BITUIDS]: Remove conditional code.
2716 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
2717 <kernel-features.h>.
2718 [__ASSUME_32BITUIDS]: Make code unconditional.
2719 [!__ASSUME_32BITUIDS]: Remove conditional code.
2720 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
2721 [__ASSUME_32BITUIDS]: Make code unconditional.
2722 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
2723 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
2724 <kernel-features.h>.
2725 [__ASSUME_32BITUIDS]: Make code unconditional.
2726 [!__ASSUME_32BITUIDS]: Remove conditional code.
2727 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
2728 <kernel-features.h>.
2729 [__ASSUME_32BITUIDS]: Make code unconditional.
2730 [!__ASSUME_32BITUIDS]: Remove conditional code.
2731 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
2732 <kernel-features.h>.
2733 [__ASSUME_32BITUIDS]: Make code unconditional.
2734 [!__ASSUME_32BITUIDS]: Remove conditional code.
2735 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
2736 <kernel-features.h>.
2737 [__ASSUME_32BITUIDS]: Make code unconditional.
2738 [!__ASSUME_32BITUIDS]: Remove conditional code.
2739 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2740 <kernel-features.h>.
2741 [__ASSUME_32BITUIDS]: Make code unconditional.
2742 [!__ASSUME_32BITUIDS]: Remove conditional code.
2743 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2744 <kernel-features.h>.
2745 [__ASSUME_32BITUIDS]: Make code unconditional.
2746 [!__ASSUME_32BITUIDS]: Remove conditional code.
2747 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
2748 <kernel-features.h>.
2749 [__ASSUME_32BITUIDS]: Make code unconditional.
2750 [!__ASSUME_32BITUIDS]: Remove conditional code.
2751 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2752 <kernel-features.h>.
2753 [__ASSUME_32BITUIDS]: Make code unconditional.
2754 [!__ASSUME_32BITUIDS]: Remove conditional code.
2755 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2756 <kernel-features.h>.
2757 [__ASSUME_32BITUIDS]: Make code unconditional.
2758 [!__ASSUME_32BITUIDS]: Remove conditional code.
2759 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
2760 <kernel-features.h>.
2761 [__ASSUME_32BITUIDS]: Make code unconditional.
2762 [!__ASSUME_32BITUIDS]: Remove conditional code.
2763 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
2764 <kernel-features.h>.
2765 [__NR_setresgid] (__setresgid): Do not declare.
2766 [__ASSUME_32BITUIDS]: Make code unconditional.
2767 [!__ASSUME_32BITUIDS]: Remove conditional code.
2768 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
2769 <kernel-features.h>.
2770 [__NR_setresuid] (__setresuid): Do not declare.
2771 [__ASSUME_32BITUIDS]: Make code unconditional.
2772 [!__ASSUME_32BITUIDS]: Remove conditional code.
2773 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
2774 <kernel-features.h>.
2775 [__ASSUME_32BITUIDS]: Make code unconditional.
2776 [!__ASSUME_32BITUIDS]: Remove conditional code.
2777 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
2778 <kernel-features.h>.
2779 [__ASSUME_32BITUIDS]: Make code unconditional.
2780 [!__ASSUME_32BITUIDS]: Remove conditional code.
2781 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
2782 <kernel-features.h>.
2783 [__ASSUME_32BITUIDS]: Make code unconditional.
2784 [!__ASSUME_32BITUIDS]: Remove conditional code.
2785 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
2786 <kernel-features.h>.
2787 [__ASSUME_32BITUIDS]: Make code unconditional.
2788 [!__ASSUME_32BITUIDS]: Remove conditional code.
2789 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
2790 <kernel-features.h>.
2791 [__ASSUME_32BITUIDS]: Make code unconditional.
2792 [!__ASSUME_32BITUIDS]: Remove conditional code.
2793 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
2794 <kernel-features.h>.
2795 [__ASSUME_32BITUIDS]: Make code unconditional.
2796 [!__ASSUME_32BITUIDS]: Remove conditional code.
2797 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
2798 <kernel-features.h>.
2799 [__ASSUME_32BITUIDS]: Make code unconditional.
2800 [!__ASSUME_32BITUIDS]: Remove conditional code.
2801 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
2802 <kernel-features.h>.
2803 [__ASSUME_32BITUIDS]: Make code unconditional.
2804 [!__ASSUME_32BITUIDS]: Remove conditional code.
2805 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
2806 <kernel-features.h>.
2807 [__ASSUME_32BITUIDS]: Make code unconditional.
2808 [!__ASSUME_32BITUIDS]: Remove conditional code.
2809 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2810 <kernel-features.h>.
2811 [__ASSUME_32BITUIDS]: Make code unconditional.
2812 [!__ASSUME_32BITUIDS]: Remove conditional code.
2813 * sysdeps/unix/sysv/linux/kernel-features.h
2814 (__ASSUME_SETRESUID_SYSCALL): Remove.
2815 (__ASSUME_SETRESGID_SYSCALL): Likewise.
2816 (__ASSUME_32BITUIDS): Likewise.
2817 (__ASSUME_LDT_WORKS): Likewise.
2818 (__ASSUME_O_DIRECTORY): Likewise.
2819 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
2820 architecture but not kernel version.
2821 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2822 (__ASSUME_MMAP2_SYSCALL): Likewise.
2823 (__ASSUME_STAT64_SYSCALL): Likewise.
2824 (__ASSUME_IPC64): Likewise.
2825 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
2826 <kernel-features.h>.
2827 [__ASSUME_32BITUIDS]: Make code unconditional.
2828 [!__ASSUME_32BITUIDS]: Remove conditional code.
2829 * sysdeps/unix/sysv/linux/opendir.c: Do not include
2830 <kernel-features.h>.
2831 [__ASSUME_O_DIRECTORY]: Make code unconditional.
2832 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
2833 132096]: Remove conditional code.
2834 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
2835 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2836 <kernel-features.h>.
2837 [__ASSUME_32BITUIDS]: Make code unconditional.
2838 [!__ASSUME_32BITUIDS]: Remove conditional code.
2839 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2840 <kernel-features.h>.
2841 [__ASSUME_32BITUIDS]: Make code unconditional.
2842 [!__ASSUME_32BITUIDS]: Remove conditional code.
2843 * sysdeps/unix/sysv/linux/setegid.c: Do not include
2844 <kernel-features.h>.
2845 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
2846 unconditional.
2847 (__setresgid): Do not declare.
2848 [__ASSUME_32BITUIDS]: Make code unconditional.
2849 [!__ASSUME_32BITUIDS]: Remove conditional code.
2850 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
2851 <kernel-features.h>.
2852 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
2853 unconditional.
2854 (__setresuid): Do not declare.
2855 [__ASSUME_32BITUIDS]: Make code unconditional.
2856 [!__ASSUME_32BITUIDS]: Remove conditional code.
2857 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2858 <kernel-features.h>.
2859 [__ASSUME_32BITUIDS]: Make code unconditional.
2860 [!__ASSUME_32BITUIDS]: Remove conditional code.
2861 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
2862 <kernel-features.h>.
2863 [__ASSUME_32BITUIDS]: Make code unconditional.
2864 [!__ASSUME_32BITUIDS]: Remove conditional code.
2865
a386f1cc
RH
28662012-05-25 Richard Henderson <rth@twiddle.net>
2867
2868 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
2869 dl_hwcap to ifunc resolver.
2870 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
2871 elf_ifunc_invoke.
2872 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
2873 dl_hwcap to ifunc resolver.
2874 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
2875
b6550497
JM
28762012-05-24 Joseph Myers <joseph@codesourcery.com>
2877
2878 [BZ #14153]
2879 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
2880 for |x| <= 2**-26, not 2**-57.
2881 * math/libm-test.inc (acos_test): Do not allow spurious underflow
2882 exception.
2883
b0bc23a1
JL
28842012-05-24 Jeff Law <law@redhat.com>
2885
2886 * stdio-common/Makefile (tests): Add bug25.
2887 * stdio-common/bug25.c: New test.
2888
347c92e9
L
28892012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2890
2891 [BZ #13576]
2892 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
2893 multiple of MALLOC_ALIGNMENT in size.
2894 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
2895
6bcc8b3f
JM
28962012-05-24 Joseph Myers <joseph@codesourcery.com>
2897
2898 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
2899 Require >= 256.
2900 (FILENAME_MAX): Use macro-int-constant.
2901 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
2902 (_IOFBF): Use macro-int-constant.
2903 (_IOLBF): Likewise.
2904 (_IONBF): Likewise.
2905 (SEEK_CUR): Likewise.
2906 (SEEK_END): Likewise.
2907 (SEEK_SET): Likewise.
2908 (TMP_MAX): Likewise.
2909 (EOF): Use macro-int-constant. Require < 0.
2910 (NULL): Use macro-constant. Require == 0.
2911 (stdin): Require type to be FILE *.
2912 (stdout): Likewise.
2913 (stderr): Likewise.
2914 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
2915 macro-int-constant.
2916 (EXIT_SUCCESS): Likewise.
2917 (NULL): Use macro-constant. Require == 0.
2918 (RAND_MAX): Use macro-int-constant.
2919 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
2920 [C99-based standards] (strtof): Require function.
2921 [C99-based standards] (strtold): Likewise.
2922 [C99-based standards] (strtoll): Likewise.
2923 [C99-based standards] (strtoull): Likewise.
2924 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2925 [ISO || ISO99 || ISO11] (limits.h): Likewise.
2926 [ISO || ISO99 || ISO11] (math.h): Likewise.
2927 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
2928 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2929 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2930
d18ea0c5
AS
29312012-05-24 Andreas Schwab <schwab@linux-m68k.org>
2932
2933 [BZ #14132]
56d25bb8
AS
2934 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
2935 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
2936 * intl/dgettext.c (DCGETTEXT): Likewise.
2937 * intl/gettext.c (DCGETTEXT): Likewise.
2938 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
2939 * posix/regex_internal.h (gettext): Likewise.
2940 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
2941 Remove declaration.
2942 * include/argz.h (__argz_count_internal)
2943 (__argz_stringify_internal): Remove declaration.
2944 (__argz_count, __argz_stringify): Declare hidden proto.
2945 * intl/dcgettext.c: Remove use of INTDEF.
2946 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
2947 * string/argz-stringify.c: Likewise.
2948 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2949 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2950 Declare hidden proto.
d18ea0c5
AS
2951 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2952 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2953 Declare hidden proto.
2954 * include/stdio.h (__asprintf_internal): Don't declare.
2955 (__asprintf): Don't define as macro. Declare hidden proto.
2956 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
2957 (__fsetlocking): Declare hidden proto.
2958 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
2959 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
2960 hidden proto.
2961 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
2962 (_IO_setlinebuf): Remove use of INTUSE.
2963 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
2964 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
2965 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
2966 Remove declaration.
2967 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
2968 (_IO_do_flush): Remove use of INTUSE.
2969 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
2970 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
2971 (_IO_adjust_column, _IO_least_wmarker)
2972 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
2973 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
2974 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
2975 (_IO_default_doallocate, _IO_wdefault_doallocate)
2976 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
2977 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
2978 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
2979 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
2980 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
2981 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
2982 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
2983 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
2984 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
2985 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
2986 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
2987 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
2988 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
2989 proto.
2990 (_IO_flush_all_internal, _IO_adjust_column_internal)
2991 (_IO_default_uflow_internal, _IO_default_finish_internal)
2992 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
2993 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
2994 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
2995 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
2996 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
2997 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
2998 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
2999 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
3000 (_IO_file_close_internal, _IO_file_close_it_internal)
3001 (_IO_file_underflow_internal, _IO_file_overflow_internal)
3002 (_IO_file_init_internal, _IO_file_attach_internal)
3003 (_IO_file_fopen_internal, _IO_file_read_internal)
3004 (_IO_file_sync_internal, _IO_file_seek_internal)
3005 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
3006 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
3007 (_IO_str_underflow_internal, _IO_str_overflow_internal)
3008 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
3009 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
3010 (_IO_list_all_internal, _IO_link_in_internal)
3011 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
3012 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
3013 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
3014 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
3015 (_IO_do_write_internal, _IO_padn_internal)
3016 (_IO_getline_info_internal, _IO_getline_internal)
3017 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
3018 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
3019 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
3020 (_IO_vfscanf_internal, _IO_vfprintf_internal)
3021 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
3022 (_IO_init_internal, _IO_un_link_internal): Don't declare.
3023 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
3024 with libc_hidden_ver, remove use of INTUSE.
3025 * libio/genops.c: Likewise.
3026 * libio/freopen.c: Likewise.
3027 * libio/freopen64.c: Likewise.
3028 * libio/iofclose.c: Likewise.
3029 * libio/iofdopen.c: Likewise.
3030 * libio/iofflush.c: Likewise.
3031 * libio/iofflush_u.c: Likewise.
3032 * libio/iofgets.c: Likewise.
3033 * libio/iofgets_u.c: Likewise.
3034 * libio/iofopen.c: Likewise.
3035 * libio/iofopncook.c: Likewise.
3036 * libio/iofread.c: Likewise.
3037 * libio/iofread_u.c: Likewise.
3038 * libio/ioftell.c: Likewise.
3039 * libio/iofwrite.c: Likewise.
3040 * libio/iogetline.c: Likewise.
3041 * libio/iogets.c: Likewise.
3042 * libio/iogetwline.c: Likewise.
3043 * libio/iopadn.c: Likewise.
3044 * libio/iopopen.c: Likewise.
3045 * libio/ioseekoff.c: Likewise.
3046 * libio/ioseekpos.c: Likewise.
3047 * libio/iosetbuffer.c: Likewise.
3048 * libio/iosetvbuf.c: Likewise.
3049 * libio/ioungetc.c: Likewise.
3050 * libio/ioungetwc.c: Likewise.
3051 * libio/iovdprintf.c: Likewise.
3052 * libio/iovsprintf.c: Likewise.
3053 * libio/iovsscanf.c: Likewise.
3054 * libio/memstream.c: Likewise.
3055 * libio/obprintf.c: Likewise.
3056 * libio/oldfileops.c: Likewise.
3057 * libio/oldiofclose.c: Likewise.
3058 * libio/oldiofdopen.c: Likewise.
3059 * libio/oldiofopen.c: Likewise.
3060 * libio/oldiopopen.c: Likewise.
3061 * libio/oldstdfiles.c: Likewise.
3062 * libio/putc.c: Likewise.
3063 * libio/setbuf.c: Likewise.
3064 * libio/setlinebuf.c: Likewise.
3065 * libio/stdfiles.c: Likewise.
3066 * libio/strops.c: Likewise.
3067 * libio/vasprintf.c: Likewise.
3068 * libio/vscanf.c: Likewise.
3069 * libio/vsnprintf.c: Likewise.
3070 * libio/vswprintf.c: Likewise.
3071 * libio/wfiledoalloc.c: Likewise.
3072 * libio/wfileops.c: Likewise.
3073 * libio/wgenops.c: Likewise.
3074 * libio/wmemstream.c: Likewise.
3075 * libio/wstrops.c: Likewise.
3076 * libio/__fpurge.c: Likewise.
3077 * libio/__fsetlocking.c: Likewise.
3078 * assert/assert.c: Likewise.
3079 * debug/fgets_chk.c: Likewise.
3080 * debug/fgets_u_chk.c: Likewise.
3081 * debug/fread_chk.c: Likewise.
3082 * debug/fread_u_chk.c: Likewise.
3083 * debug/gets_chk.c: Likewise.
3084 * debug/obprintf_chk.c: Likewise.
3085 * debug/vasprintf_chk.c: Likewise.
3086 * debug/vdprintf_chk.c: Likewise.
3087 * debug/vsnprintf_chk.c: Likewise.
3088 * debug/vsprintf_chk.c: Likewise.
3089 * malloc/mtrace.c: Likewise.
3090 * misc/error.c: Likewise.
3091 * misc/syslog.c: Likewise.
3092 * stdio-common/asprintf.c: Likewise.
3093 * stdio-common/fxprintf.c: Likewise.
3094 * stdio-common/getw.c: Likewise.
3095 * stdio-common/isoc99_fscanf.c: Likewise.
3096 * stdio-common/isoc99_scanf.c: Likewise.
3097 * stdio-common/isoc99_vfscanf.c: Likewise.
3098 * stdio-common/isoc99_vscanf.c: Likewise.
3099 * stdio-common/isoc99_vsscanf.c: Likewise.
3100 * stdio-common/printf-prs.c: Likewise.
3101 * stdio-common/printf_fp.c: Likewise.
3102 * stdio-common/printf_fphex.c: Likewise.
3103 * stdio-common/printf_size.c: Likewise.
3104 * stdio-common/putw.c: Likewise.
3105 * stdio-common/scanf.c: Likewise.
3106 * stdio-common/sprintf.c: Likewise.
3107 * stdio-common/tmpfile.c: Likewise.
3108 * stdio-common/vfprintf.c: Likewise.
3109 * stdio-common/vfscanf.c: Likewise.
3110 * stdlib/strfmon_l.c: Likewise.
3111 * sunrpc/openchild.c: Likewise.
3112 * sunrpc/xdr_stdio.c: Likewise.
3113 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3114 * sysdeps/mach/hurd/tmpfile.c: Likewise.
3115
d6c33fda
RM
31162012-05-24 Roland McGrath <roland@hack.frob.com>
3117
c1487492
RM
3118 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3119
3120 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
3121 in the third column, to generate for the shared library an IFUNC
3122 that uses _dl_vdso_vsym.
3123 * Makerules (COMPILE.c, compile-stdin.c): New variables.
3124 * Makeconfig (object-suffixes-noshared): New variable.
3125
3126 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
3127 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
3128 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
3129 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
3130
d6c33fda
RM
3131 [BZ #14132]
3132 * include/sys/time.h (__gettimeofday): Remove macro.
3133 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
3134 * time/gettimeofday.c (__gettimeofday): Remove #undef.
3135 Remove INTDEF.
3136 (__gettimeofday): Add libc_hidden_def.
3137 (gettimeofday): Add libc_hidden_weak.
3138 * sysdeps/mach/gettimeofday.c: Likewise.
3139 * sysdeps/posix/gettimeofday.c: Likewise.
3140 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3141 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3142 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
3143 (__gettimeofday_internal): Remove strong_alias.
3144 (__gettimeofday): Add libc_hidden_def.
3145 (gettimeofday): Add libc_hidden_weak.
3146 * sysdeps/unix/syscalls.list (gettimeofday):
3147 Remove __gettimeofday_internal alias.
3148
b5a2bbe6
L
31492012-05-24 Daniel Jacobowitz <drow@false.org>
3150 H.J. Lu <hongjiu.lu@intel.com>
3151
3152 [BZ #12495]
3153 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
3154 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
3155 (largebin_index_32_big): New.
3156 (largebin_index): Use it for 16-byte alignment.
3157 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
3158 correction with front_misalign.
3159
cfba4fda
L
31602012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3161
7f907421
L
3162 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
3163 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3164 Likewise.
3165 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
3166 Likewise.
3167 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3168 Likewise.
3169 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
3170 Likewise.
3171 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
3172 Likewise.
3173 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
3174 Likewise.
3175 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
3176 Likewise.
3177 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3178 Likewise.
3179 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
3180 Likewise.
3181 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
3182 Likewise.
3183 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3184 Likewise.
3185 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
3186 Likewise.
3187
cfba4fda
L
3188 * scripts/data/c++-types-x32-linux-gnu.data: New file.
3189 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
3190
80bad0cc
JM
31912012-05-24 Joseph Myers <joseph@codesourcery.com>
3192
7a25eb06
JM
3193 [BZ #10846]
3194 [BZ #14036]
3195 * math/libm-test.inc (exp_test): Add test from bug 14036.
3196 (pow_test): Add test from bug 10846.
3197
795405f9
JM
3198 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
3199 and other flags.
3200 (special_function): Do not include flags in test name.
3201 (parse_args): Likewise.
3202 * sysdeps/i386/fpu/libm-test-ulps: Update.
3203 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3204 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3205 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3207
80bad0cc
JM
3208 * math/gen-libm-test.pl (%beautify): Add entries for underflow
3209 exceptions.
3210 * math/libm-test.inc ("Philosophy"): Update comment about
3211 exception testing.
3212 (UNDERFLOW_EXCEPTION): New macro.
3213 (UNDERFLOW_EXCEPTION_OK): Likewise.
3214 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3215 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3216 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3217 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3218 (INVALID_EXCEPTION_OK): Update value.
3219 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3220 (OVERFLOW_EXCEPTION_OK): Likewise.
3221 (IGNORE_ZERO_INF_SIGN): Likewise.
3222 (test_exceptions): Handle underflow exceptions.
3223 (acos_test): Update for underflow exception expectations.
3224 (cexp_test): Likewise.
3225 (clog_test): Likewise.
3226 (clog10_test): Likewise.
3227 (csqrt_test): Likewise.
3228 (ctan_test): Likewise.
3229 (ctanh_test): Likewise.
3230 (exp_test): Likewise.
3231 (exp10_test): Likewise.
3232 (exp2_test): Likewise.
3233 (expm1_test): Likewise.
3234 (fma_test): Likewise.
3235 (j0_test): Likewise.
3236 (jn_test): Likewise.
3237 (nexttoward_test): Likewise.
3238 (pow_test): Likewise.
3239 (scalbn_test): Likewise.
3240 (scalbln_test): Likewise.
3241 (tan_test): Likewise.
3242 (y1_test): Likewise.
3243 * sysdeps/i386/fpu/libm-test-ulps: Update.
3244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3245
9e0e3d0b
DM
32462012-05-23 David S. Miller <davem@davemloft.net>
3247
3248 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3249 (__libc_sigaction): Remove unused local variables.
3250
ccd0a08f
L
32512012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3252
3253 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3254
62bdf9a6
PE
32552012-05-23 Paul Eggert <eggert@cs.ucla.edu>
3256
f8591f80
PE
3257 mktime: avoid signed integer overflow
3258 * time/mktime.c (__mktime_internal): Do not mishandle the case
3259 where diff == INT_MIN.
3260
94c7d826
PE
3261 mktime: simplify computation of average
3262 * time/mktime.c (ranged_convert): Use new time_t_avg function
3263 instead of rolling our own (probably-slower) code.
3264
ce73d683
PE
3265 mktime: do not assume signed right shift propagates sign bit
3266 * time/mktime.c (isdst_differ): New static function.
3267 (__mktime_internal): No need to normalize tm_isdst now.
3268 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3269 tm_isdst values.
3270
72a22e59
PE
3271 mktime: merge another wrapv change from gnulib
3272 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3273 from some compilers.
3274
68605433
PE
3275 mktime: remove incorrect attempt at unusual arithmetics
3276 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3277 The code didn't really work on such machines anyway.
3278 (TYPE_MINIMUM): Assume two's complement.
3279 (twos_complement_arithmetic): Verify that long_int and time_t
3280 are two's complement (or unsigned, in the latter case).
3281
03cf7fe3
PE
3282 mktime: check signed shifts on long_int and time_t, too
3283 * time/mktime.c (SHR): Check that shifts work as desired
3284 on the types long_int and time_t too, as SHR is used on
3285 such types.
3286
f04dfbc2
PE
3287 mktime: do not assume 'long' is wide enough
3288 * time/mktime.c (verify): Move decl up.
3289 (long_int): New type.
3290 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3291 to remove assumption in the code that 'long' is wide enough to
3292 store year values. This assumption is not true on x32 and on
3293 some non-glibc platforms.
3294
62bdf9a6
PE
3295 mktime: merge wrapv change from gnulib
3296 * time/mktime.c (WRAPV): New macro.
3297 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3298 (guess_time_tm, __mktime_internal): Do not assume that signed
3299 integer overflow wraps around; modern compilers generate code
3300 where this assumption is no longer valid.
3301
5e292e4f
L
33022012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3303
3304 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3305 Replace "jmp L(pseudo_end)" with "ret".
3306 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3307 Likewise.
3308
8caf8c87
AJ
33092012-05-23 Andreas Jaeger <aj@suse.de>
3310
3311 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3312 * sysdeps/unix/sysv/linux/poll.c: Remove file.
3313
1a09dc56
AJ
33142012-05-23 Andreas Jaeger <aj@suse.de>
3315 Maximilian Attems <max@stro.at>
3316
3317 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3318 New macros.
3319
1c87aba0
L
33202012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3321
3322 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3323 code so that pseudo_end is just ret and the stack pointer is
3324 correct also for static library in error case.
3325
40e45bd5
JM
33262012-05-23 Joseph Myers <joseph@codesourcery.com>
3327
c2670533
JM
3328 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
3329 move to syscalls.list.
3330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3334
40e45bd5
JM
3335 * manual/install.texi (Running make install): Do not mention Linux
3336 kernel version for which pt_chown is not needed.
3337 (Linux): Do not mention problems with nscd with 2.0 kernels.
3338 * INSTALL: Regenerated.
3339
be08eda5
AJ
33402012-05-23 Andreas Jaeger <aj@suse.de>
3341
3342 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3343 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
3344 macro.
3345 * sysdeps/unix/sysv/linux/s390/bits/mman.h
3346 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3347 * sysdeps/unix/sysv/linux/sh/bits/mman.h
3348 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3349 * sysdeps/unix/sysv/linux/i386/bits/mman.h
3350 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3351 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
3352 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3353 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
3354 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3355 * sysdeps/unix/sysv/linux/bits/in.h
3356 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
3357
a6a056bb
RM
33582012-05-22 Roland McGrath <roland@hack.frob.com>
3359
3360 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
3361 (PREPARE_VERSION): Just use assert instead, it will be elided
3362 under [NDEBUG] anyway.
3363
c9009328
L
33642012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3365
3366 * sysdeps/unix/sysv/linux/Makefile: Include
3367 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 3368 (sysdep_routines): Remove sysctl.
c9009328
L
3369 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
3370 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
3371 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
3372 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
3373 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
3374
73338355
AJ
33752012-05-22 Andreas Jaeger <aj@suse.de>
3376
3377 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
3378 that pseudo_end is just ret and the stack pointer is correct also
3379 for static library in error case.
3380
d44638b0
PP
33812012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3382
3383 [BZ #14122]
3384 * nss/nsswitch.c (defconfig_entries): New variable.
3385 (__nss_database_lookup): Don't leak defconfig entries.
3386 (nss_parse_service_list): Don't leak on error paths.
3387 (free_database_entries): New function.
3388 (free_defconfig): New function.
3389 (free_mem): Move common code to free_database_entries.
3390
31a39bd8
L
33912012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3392
da0331a8
L
3393 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
3394 Add arch_prctl.
3395 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
3396
31a39bd8
L
3397 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3398 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
3399 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
3400 New macro.
3401 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3402 (INTERNAL_SYSCALL_TYPES): Likewise.
3403 (LOAD_ARGS_TYPES_[1-6]): Likewise.
3404 (LOAD_REGS_TYPES_[1-6]): Likewise.
3405 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
3406 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
3407
45470df3
AZ
34082012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3409
3410 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
3411 copysignl for GLIBC_2_0.
3412 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
3413 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
3414 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
3415 logbl for GLIBC_2_0.
3416 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3417 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3418
98a61bcb
L
34192012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3420
a4f6e481
L
3421 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
3422 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3423
f63d5db6
L
3424 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3425 Use "neg %eax".
3426
98a61bcb
L
3427 * time/mktime.c: Update copyright years.
3428
95770f14
PE
34292012-05-22 Paul Eggert <eggert@cs.ucla.edu>
3430
6226efbd
PE
3431 mktime: merge comment-quoting-style change from gnulib
3432 * time/mktime.c: Quote 'like this' in comments.
3433 The GNU coding standards suggest that we no longer quote `like this',
3434 as "`" and "'" are typically rendered asymmetrically nowadays.
3435 The typical gnulib style is to quote 'like this' when quoting
3436 code, and "like this" when quoting English.
3437
b99e4f78
PE
3438 * time/mktime.c (compile-command): Add "-I.".
3439
643e01e6
PE
3440 mktime: merge mktime-internal.h change from gnulib
3441 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
3442
2554247d
PE
3443 mktime: merge time_r change from gnulib
3444 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
3445
826dd0ab
PE
3446 mktime: merge DEBUG change from gnulib
3447 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
3448 case system <time.h> has a #define.
3449
bd83aabe
PE
3450 mktime: merge <sys/types.h> change from gnulib
3451 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
3452 since <time.t> is now guaranteed to define time_t.
3453
95770f14
PE
3454 mktime: merge HAVE_CONFIG_H change from gnulib
3455 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
3456
5e1a27a9
L
34572012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3458
0e44a77e
L
3459 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3460 Use "neg %eax".
3461
5e1a27a9
L
3462 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
3463 __rlim_t cast.
3464 (struct rusage): Use anonymous union to pad each field to
3465 __syscall_slong_t.
3466
46259bec
DM
34672012-05-21 David S. Miller <davem@davemloft.net>
3468
3469 * Makefules (o-iterator): Remove .s cases.
3470 (compile-command.s): Delete.
3471 (COMPILE.s): Delete.
3472 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
3473
59f0c22e
JM
34742012-05-21 Joseph Myers <joseph@codesourcery.com>
3475
3476 * configure.in (libc_cv_predef_stack_protector): Only consider
3477 "foobar" and "__stack_chk_fail" lines in libc_undefs.
3478 * configure: Regenerated.
3479
20c07380
L
34802012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3481
bbb3154b
L
3482 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3483 New macro. Use R*LP on int and pointer.
3484 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
3485 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
3486 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
3487 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
3488
20c07380
L
3489 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
3490 [__WORDSIZE_TIME64_COMPAT32] instead of
3491 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
3492 (struct utmp): Likewise.
3493 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
3494 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
3495 Renamed to ...
3496 (__WORDSIZE_TIME64_COMPAT32): This.
3497 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3498 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3499 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
3500 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
3501 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
3502 (__WORDSIZE_TIME64_COMPAT32): New macro.
3503
d8d1017e
AJ
35042012-05-21 Andreas Jaeger <aj@suse.de>
3505
3506 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
3507 only if [SHARED]. Add prototype for __wcschr_ia32.
3508
6c7fb145
RM
35092012-05-21 Roland McGrath <roland@hack.frob.com>
3510
3511 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
3512 of %rbp unmolested in the jmp_buf while mangling the low bits.
3513 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
3514 unmolested high bits of %rbp while demangling the low bits.
3515 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3516
66274218
AJ
35172012-05-21 Andreas Jaeger <aj@suse.de>
3518
07c58f8f
AJ
3519 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
3520 * sunrpc/svc_simple.c: Use it for registerrpc.
3521 * sunrpc/xcrypt.c: Use it for passwd2des.
3522
66274218
AJ
3523 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
3524
61f65140
L
35252012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3526
3527 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
3528 Don't define if [__SYSCALL_WORDSIZE != 32].
3529 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
3530 New macro.
3531
5fefb436
AJ
35322012-05-21 Bruno Haible <bruno@clisp.org>
3533 Andreas Jaeger <aj@suse.de>
3534
3535 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
3536 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
3537 inptr and inend for must_buffer_ch.
3538 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
3539 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
3540 * stdio-common/Makefile (tests): Remove bug15.
3541 (bug15-ENV): Remove macro.
3542 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
3543 anymore.
3544
d8e272ab
AJ
35452012-05-19 Andreas Jaeger <aj@suse.de>
3546 Roland McGrath <roland@hack.frob.com>
3547
3548 * manual/contrib.texi: Completely rewritten. It contains now an
3549 alphabetical list of contributors and their contributions.
3550
4a56a162
RH
35512012-05-21 Richard Henderson <rth@twiddle.net>
3552
3553 * misc/getauxval.c (__getauxval): Use unsigned long int.
3554 * misc/sys/auxv.h: Include <sys/cdefs.h>.
3555 (getauxval): Use unsigned long int.
3556
d024d23c
L
35572012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3558
3559 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3560
cbc00a03
RM
35612012-05-21 Roland McGrath <roland@hack.frob.com>
3562
3563 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
3564 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
3565 __alignof__ (long double).
3566
478143fa
AZ
35672012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3568
3569 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3570
c7683a6d
RH
35712012-05-20 Richard Henderson <rth@twiddle.net>
3572
3573 * misc/getauxval.c: New file.
3574 * misc/sys/auxv.h: New file.
3575 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
3576 (routines): Add getauxval.
3577 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
3578 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
3579 * elf/dl-sysdep.c (_dl_auxv): Remove.
3580 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
3581 * elf/dl-support.c (_dl_auxv): New variable.
3582 (_dl_aux_init): Initialize it.
3583 * manual/startup.texi (Auxiliary Vector): New node.
3584 * sysdeps/generic/bits/hwcap.h: New file.
3585 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
3586 * sysdeps/powerpc/sysdep.h: ... here. Include it.
3587 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
3588 * sysdeps/sparc/sysdep.h: ... here. Include it.
3589 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
3590 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
3591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3592 Update.
c7683a6d
RH
3593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
3594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
3595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
3596 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
3597 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3598 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3599 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
3600 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
3601
a6f1845d
AZ
36022012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3603
3604 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3605
cbcbe830
DM
36062012-05-19 David S. Miller <davem@davemloft.net>
3607
3608 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3609
e0b16cc2
JM
36102012-05-19 Joseph Myers <joseph@codesourcery.com>
3611
3612 [BZ #14123]
3613 * math/s_ccosh.c: Include <float.h>
3614 (__ccosh): Avoid internal overflow calculating sinh and cosh
3615 values before multiplying by sin and cos values.
3616 * math/s_ccoshf.c: Likewise.
3617 * math/s_ccoshl.c: Likewise.
3618 * math/s_csin.c: Likewise.
3619 * math/s_csinf.c: Likewise.
3620 * math/s_csinl.c: Likewise.
3621 * math/s_csinh.c: Likewise.
3622 * math/s_csinhf.c: Likewise.
3623 * math/s_csinhl.c: Likewise.
3624 * math/libm-test.inc (ccos_test): Add more tests.
3625 (ccosh_test): Likewise.
3626 (csin_test): Likewise.
3627 (csinh_test): Likewise.
3628 * sysdeps/i386/fpu/libm-test-ulps: Update.
3629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3630
6ad13e08
L
36312012-05-19 H.J. Lu <hongjiu.lu@intel.com>
3632
f66f0ce8
L
3633 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
3634 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3635
6ad13e08
L
3636 * sysdeps/x86_64/x32/_itoa.h: Add comment.
3637
b1d072a7
JM
36382012-05-19 Joseph Myers <joseph@codesourcery.com>
3639
3640 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
3641 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
3642 * sysdeps/powerpc/soft-fp/Versions: Likewise.
3643 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
3644 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
3645 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
3646 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
3647 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
3648 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
3649 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
3650 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
3651 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
3652 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
3653 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
3654 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
3655 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
3656 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
3657 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
3658 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
3659 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
3660 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
3661 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
3662 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
3663 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
3664 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
3665 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
3666 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
3667 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
3668 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
3669 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
3670 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
3671
9eae47cb
AJ
36722012-05-18 Andreas Jaeger <aj@suse.de>
3673
3674 * csu/.gitignore: Delete.
3675
bb07f69f
L
36762012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3677
3678 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
3679 (timex): Use __syscall_slong_t.
3680
e6bdb741
AJ
36812012-05-18 Andreas Jaeger <aj@suse.de>
3682 Carlos O'Donell <carlos_odonell@mentor.com>
3683
3684 * manual/install.texi (Configuring and compiling): Update
3685 description about files modified in the source directory.
d6c33fda 3686 * INSTALL: Regenerated.
e6bdb741 3687
1b74487e
L
36882012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3689
3690 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
3691 value. Use "or" to set return value to -1.
3692 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
3693 negate return value.
3694
a88b64b9
TMQMF
36952012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3696
3697 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
3698 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
3699 failure if the compiler has Graphite support disabled.
3700 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
3701 Likewise.
3702 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
3703 CFLAGS-memmove.c): Likewise.
3704 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
3705 Likewise.
3706
3707636e
L
37072012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3708
610b8622
L
3709 * sysdeps/x86_64/x32/_itoa.h: New file.
3710
7cd195df
L
3711 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
3712 getdents system call only if kernel and user dirents have the
3713 same d_ino and d_off.
3714
94b07d20
L
3715 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3716 LLONG_MAX != LONG_MAX.
3717 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3718 (_fitoa_word): Likewise.
3719
18298070
L
3720 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
3721 years.
3722 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
3723 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
3724 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
3725
553c7ea4
L
3726 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
3727 include <bits/wordsize.h>. Check __x86_64__ instead of
3728 __WORDSIZE.
3729 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
3730 if __x86_64__ is defined. Use anonymous union on fpstate.
3731
3707636e
L
3732 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
3733 anonymous union.
3734
b53ef01a
AS
37352012-05-18 Andreas Schwab <schwab@linux-m68k.org>
3736
37fb1dc0
AS
3737 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3738 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
3739 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
3740 Refer to _rtld_local_ro instead of _rtld_global_ro.
3741 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
3742 Likewise.
3743 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
3744 Likewise.
3745 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
3746 Likewise.
3747 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
3748 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
3749 of _rtld_global, and rtld_progname instead of _dl_argv[0].
3750
b53ef01a
AS
3751 * sysdeps/powerpc/powerpc32/dl-machine.c
3752 (__elf_machine_runtime_setup) [PROF]: Don't reference
3753 _dl_prof_resolve.
3754
7a185db2
AJ
37552012-05-18 Andreas Jaeger <aj@suse.de>
3756
3757 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
3758 function only available for GCCs before 3.4 since GCC 3.4
3759 introduced a builtin.
3760 (lrint): Likewise.
3761 (llrintf): Likewise.
3762 (llrint): Likewise.
3763 (fmaxf): Likewise.
3764 (fmax): Likewise.
3765 (fminf): Likewise.
3766 (fmin): Likewise.
3767 (rint): Likewise.
3768 (rintf): Likewise.
3769 (nearbyint): Likewise.
3770 (nearbyintf): Likewise.
3771 (ceil): Likewise.
3772 (ceilf): Likewise.
3773 (floor): Likewise.
3774 (floorf): Likewise.
3775
3e5aef87
L
37762012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3777
428bd707
L
3778 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
3779 on both fields and cast pointer to __syscall_ulong_t.
3780
3e5aef87
L
3781 * bits/types.h (__fsword_t): New type.
3782 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
3783 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
3784 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3785 (__FSWORD_T_TYPE): Likewise.
3786 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3787 (__FSWORD_T_TYPE): Likewise.
3788 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3789 (__FSWORD_T_TYPE): Likewise.
3790 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
3791 (__FSWORD_T_TYPE): Likewise.
3792 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
3793 __SWORD_TYPE with __fsword_t.
3794 (statfs64): Likewise.
3795
1ba7c3dc
DM
37962012-05-17 David S. Miller <davem@davemloft.net>
3797
3798 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
3799
59910343
AJ
38002012-05-17 Andreas Jaeger <aj@suse.de>
3801
3802 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
3803 warning.
3804
2e4c1e9e
L
38052012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3806
3807 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
3808
de7f5ce7
AJ
38092012-05-17 Andreas Jaeger <aj@suse.de>
3810
3811 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
3812 when it is used.
3813
286abc3d
CM
38142012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3815
3816 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
3817
477cc68e
L
38182012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3819
3820 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
3821 * sysdeps/x86_64/tst-mallocalign1.c: New file.
3822
1a0994f5
CD
38232012-05-17 Andreas Jaeger <aj@suse.de>
3824 Carlos O'Donell <carlos_odonell@mentor.com>
3825
3826 [BZ #14059]
3827 * sysdeps/x86_64/multiarch/init-arch.h
3828 (bit_YMM_Usable): Rename to...
3829 (bit_AVX_Usable): ... this.
3830 (bit_FMA4_Usable): New macro.
3831 (bit_XMM_state): New macro.
3832 (bit_YMM_state): New macro.
3833 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
3834 [__ASSEMBLER__] (index_AVX_Usable): ... this.
3835 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
3836 (CPUID_OSXSAVE): New macro.
3837 (CPUID_AVX): New macro.
3838 (CPUID_FMA4): New macro.
3839 (index_YMM_Usable): Rename to...
3840 (index_AVX_Usable): ... this.
3841 (HAS_AVX): Use HAS_ARCH_FEATURE.
3842 (HAS_FMA4): Likewise.
3843 (HAS_YMM_USABLE): Remove.
3844 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3845 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
3846 are present.
3847 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
3848 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
3849 * sysdeps/x86_64/multiarch/Makefile: Likewise.
3850 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
3851 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
3852
0af797de
CM
38532012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3854
3855 * math/libm-test.c: Support platforms without multiple rounding modes.
3856 * math/bug-nextafter.c: Support platforms without FP exceptions.
3857 * math/bug-nexttoward.c: Likewise.
3858 * math/test-fenv.c: Likewise.
3859 * math/test-misc.c: Likewise.
3860 * stdlib/bug-getcontext.c: Likewise.
3861
e39745ff
AJ
38622012-05-17 Andreas Jaeger <aj@suse.de>
3863
3864 * manual/examples/search.c (critter_cmp): Change signature to
3865 avoid warnings.
3866 * manual/string.texi (Collation Functions): Likewise.
3867
48970aba
L
38682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3869
3870 * bits/types.h: Fold copyright years.
3871 * bits/typesizes.h: Likewise.
3872 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
3873 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
3874 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
3875 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
3876 * time/time.h: Likewise.
3877
bedee953
PP
38782012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3879
3880 [BZ #208]
3881 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
3882 in instead of returning them. Return void.
3883 (__libc_mallinfo): Accumulate over all arenas.
3884 (__malloc_stats): Adjust for change in int_mallinfo interface.
3885
61653dfb
RM
38862012-05-16 Roland McGrath <roland@hack.frob.com>
3887
30b99d79
RM
3888 [BZ #10375]
3889 * configure.in (NM): Add AC_CHECK_TOOL for it.
3890 (libc_extra_cflags): New substituted variable.
3891 Check for -fstack-protector being used implicitly.
3892 * configure: Regenerated.
3893 * config.make.in (config-extra-cflags): New variable,
3894 gets @libc_extra_cflags@.
3895 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
3896
61653dfb
RM
3897 [BZ #10375]
3898 * configure.in: Check for _FORTIFY_SOURCE being predefined.
3899 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
3900 * configure: Regenerated.
3901 * config.make.in (CPPUNDEFS): New substituted variable.
3902 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
3903 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
3904 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
3905
661768bb
L
39062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3907
3908 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
3909 (mq_attr): Use __syscall_slong_t.
3910
d4261567
L
39112012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3912
3913 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
3914 Check __x86_64__ instead of __WORDSIZE.
3915 (_STAT_VER_LINUX): Likewise.
3916 (stat): Check __x86_64__ instead of __WORDSIZE. Use
3917 __syscall_ulong_t and __syscall_slong_t.
3918 (stat64): Likewise.
3919
cf3ff365
L
39202012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3921
3922 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
3923
76cf3e4d
L
39242012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3925
3926 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
3927
a637753a
L
39282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3929
3930 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
3931 __syscall_ulong_t.
3932
d5e05119
L
3933 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
3934 include <bits/wordsize.h>. Check __x86_64__ instead of
3935 __WORDSIZE.
3936 (greg_t): Use "__extension__ long long int" if __x86_64__ is
3937 defined.
3938 (mcontext_t): Replace "unsigned long" with "unsigned long long".
3939
f62ee380
L
3940 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
3941 include <bits/wordsize.h>. Check __x86_64__ instead of
3942 __WORDSIZE.
3943 (user_regs_struct): Use "__extension__ unsigned long long"
3944 instead of "unsigned long" if __x86_64__ is defined.
3945 (user): Likewise. Pad after pointer field if __ILP32__ is
3946 defined.
3947
4e124ced
JM
39482012-05-16 Joseph Myers <joseph@codesourcery.com>
3949
6a3951a0
JM
3950 * configure.in (makeinfo): Require version 4.5 or later. Allow
3951 versions 5 to 9.
3952 * configure: Regenerated.
3953 * manual/install.texi (texinfo): Increase version requirement to
3954 4.5 or later.
3955 * INSTALL: Regenerated.
3956
4e124ced
JM
3957 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
3958
953ca31a
L
39592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3960
3961 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
3962
617aca05
L
3963 * sysdeps/x86_64/x32/ffs.c: New file.
3964
5762f7ae
L
3965 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
3966 __syscall_ulong_t.
3967 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
3968 defined. Use __syscall_ulong_t.
3969 (shminfo): Use __syscall_ulong_t.
3970 (shm_info): Likewise.
3971
a26b6856
L
3972 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
3973 __syscall_ulong_t.
3974
cb2b9ef7
L
3975 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
3976 <bits/wordsize.h>.
3977 (msgqnum_t): Use __syscall_ulong_t.
3978 (msglen_t): Likewise.
3979 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
3980 __syscall_ulong_t.
3981
34683bb0
L
3982 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
3983 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3984
84a68786
L
3985 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
3986
48baa5f1
L
3987 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
3988 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
3989
180be88b
L
3990 * sysvipc/sys/msg.h (msgbuf): Replace long int with
3991 __syscall_slong_t.
3992
5e90c8ad
L
3993 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
3994 include <bits/wordsize.h>. Check __x86_64__ instead of
3995 __WORDSIZE.
3996
23dfb58b
L
3997 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
3998 "unsigned long long int" if __x86_64__ is defined.
3999 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
4000
ce5d54b0
L
4001 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
4002 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4003 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
4004
13dc9eac
L
4005 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
4006 <stdint.h>.
4007 (GET_PC): Cast to uintptr_t first.
4008 (GET_FRAME): Likewise.
4009 (GET_STACK): Likewise.
4010
a7895d15
L
4011 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
4012 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
4013 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
4014 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
4015 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
4016 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
4017 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
4018 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
4019 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4020 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
4021 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
4022 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
4023 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4024 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
4025 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
4026 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
4027 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
4028 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
4029 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
4030 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
4031 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
4032 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
4033 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
4034 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
4035 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
4036 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
4037 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
4038 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
4039 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
4040
656416c9
AS
40412012-05-16 Andreas Schwab <schwab@linux-m68k.org>
4042
5bd66283
AS
4043 * Makerules (+depfiles): Also collect depfiles from .oS in
4044 $(extra-objs).
4045 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
4046 .oS, $(libnldbl-routines)).
4047
656416c9
AS
4048 * Makerules (native-compile-mkdep-flags): Define.
4049 * sunrpc/Makefile (extra-objs): Add $(addprefix
4050 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
4051 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
4052 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
4053 calling $(make-target-directory).
4054
a46f2169
L
40552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4056
4057 * bits/types.h (__snseconds_t): Removed.
4058 * time/time.h (struct timespec): Replace __snseconds_t with
4059 __syscall_slong_t.
4060 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
4061 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
4062 Likewise.
4063 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4064 (__SNSECONDS_T_TYPE): Likewise.
4065 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4066 (__SNSECONDS_T_TYPE): Likewise.
4067 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4068 (__SNSECONDS_T_TYPE): Likewise.
4069
6af6528b
L
40702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4071
4072 * sysdeps/mach/hurd/bits/typesizes.h
4073 (__SYSCALL_SLONG_TYPE): New macro.
4074 (__SYSCALL_ULONG_TYPE): Likewise.
4075
de986b56
L
40762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4077
4078 * bits/types.h (__syscall_slong_t): New type.
4079 (__syscall_ulong_t): Likewise.
4080
4081 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
4082 (__SYSCALL_ULONG_TYPE): Likewise.
4083 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4084 (__SYSCALL_SLONG_TYPE): Likewise.
4085 (__SYSCALL_ULONG_TYPE): Likewise.
4086 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4087 (__SYSCALL_SLONG_TYPE): Likewise.
4088 (__SYSCALL_ULONG_TYPE): Likewise.
4089 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4090 (__SYSCALL_SLONG_TYPE): Likewise.
4091 (__SYSCALL_ULONG_TYPE): Likewise.
4092
85736dc7
L
40932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4094
4095 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
4096 Add sigaltstack-offsets.sym.
4097 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
4098 <sigaltstack-offsets.h>.
4099 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
4100 longjmp_msg pointer.
4101 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
4102 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
4103 signal stack.
4104 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
4105
cc03b296
JM
41062012-05-15 Joseph Myers <joseph@codesourcery.com>
4107
a9538892
JM
4108 * elf/stackguard-macros.h: Remove file.
4109 * sysdeps/generic/stackguard-macros.h: New file.
4110 * sysdeps/i386/stackguard-macros.h: Likewise.
4111 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4112 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4113 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4114 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4115 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4116 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4117 * sysdeps/x86_64/stackguard-macros.h: Likewise.
4118 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
4119 <elf/stackguard-macros.h>.
4120
cc03b296
JM
4121 [BZ #14109]
4122 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
4123 __aligned__ in attribute.
4124 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
4125 (gregset_t): Likewise.
4126
93171016
L
41272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4128
4129 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
4130 * sysdeps/x86_64/64/Implies-after: Here. New file.
4131 * sysdeps/x86_64/x32/Implies-after: New file.
4132
d86813a0
L
41332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4134
4135 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
4136 and access return value for _dl_profile_fixup. Use R10_LP to
4137 load frame size.
4138
2953ec75
L
41392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4140
4141 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
4142
3b550e9e
L
41432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4144
4145 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
4146 * sysdeps/x86_64/x32/sysdep.h: New file.
4147
eda41706
L
41482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4149
4150 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
4151 * sysdeps/x86_64/setjmp.S: Likewise.
4152
9ea01d93
AZ
41532012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4154
4155 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
4156 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
4157 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
4158 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
4159 remove unused global constant.
4160
02a91938
CM
41612012-05-15 Chris Metcalf <cmetcalf@tilera.com>
4162
4163 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
4164 include of <not-cancel.h>.
4165
6540185f
RM
41662012-05-15 Roland McGrath <roland@hack.frob.com>
4167
4168 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
4169
509072a0
AJ
41702012-05-15 Jeff Law <law@redhat.com>
4171 Andreas Jaeger <aj@suse.de>
4172
4173 [BZ #13594]
4174 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
4175 out from...
4176 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
4177 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
4178 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
4179 code changing __hst_map_handle.map.
4180
ba75122d
RM
41812012-05-15 Roland McGrath <roland@hack.frob.com>
4182
4183 * configure.in (sysnames): Look for Implies-before and Implies-after
4184 files.
4185 * configure: Regenerated.
4186
890d8bd8
L
41872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4188
4189 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
4190 8-byte data alignment with LP_SIZE alignment.
4191
f6ee6623
L
41922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4193
4194 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
4195 into R10_LP.
4196
ea2626f6
L
41972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4198
4199 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
4200
085f715e
L
42012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4202
4203 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
4204 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
4205 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
4206 Likewise.
4207 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4208
be8498fc
L
42092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4210
4211 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
4212 (stackinfo_sub_sp): Likewise.
4213
70bc83b9
L
42142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4215
4216 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
4217 RAX_LP.
4218
9bc0b730
L
42192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4220
4221 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
4222 into R*_LP.
4223
6d2850e7
L
42242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4225
4226 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
4227 sizes into R*_LP.
4228
3cb84561
L
42292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4230
4231 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4232
54e2ed81
L
42332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4234
4235 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4236 into R11_LP and load __x86_64_shared_cache_size_half into
4237 R8_LP.
4238
8a17f349
L
42392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4240
4241 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4242 R8_LP.
4243
777b1eea
AZ
42442012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4245
4246 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4247 logb for POWER7.
4248 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4249 logbf for POWER7.
4250 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4251 logbl for POWER7.
4252 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4253 powerpc32/power7/fpu/s_logb.c via #include.
4254 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4255 powerpc32/power7/fpu/s_logbf.c via #include.
4256 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4257 powerpc32/power7/fpu/s_logbl.c via #include.
4258
d20d4ac2
JM
42592012-05-15 Joseph Myers <joseph@codesourcery.com>
4260
4261 * README.libm: Remove file.
4262
6cdef1ab
L
42632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4264
4265 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4266 count for x32. Use R*_LP and omit operand-size suffix.
4267
0b254d8f
L
42682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4269
4270 * shlib-versions: Move x86_64-.*-linux.* entries to ...
4271 * sysdeps/x86_64/64/shlib-versions: Here. New file.
4272 * sysdeps/x86_64/x32/shlib-versions: New file.
4273
ceb809dc
RM
42742012-05-14 Roland McGrath <roland@hack.frob.com>
4275
4276 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4277 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4278 Use _dl_fatal_printf instead.
4279
37f1abd4
JM
42802012-05-14 Joseph Myers <joseph@codesourcery.com>
4281
4282 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4283 set if not set by the user. Do not allow for being unset.
4284 * sysdeps/unix/sysv/linux/configure: Regenerated.
4285
11de3a33
L
42862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4287
4288 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4289 the `q' suffix from lea and replace .quad with ASM_ADDR.
4290
e02f153a
L
42912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4292
4293 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4294 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
4295 instead of $17.
4296 (PTR_DEMANGLE): Likewise.
4297
520ae0fd
L
42982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4299
4300 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4301 (LP_OP): Likewise.
4302 (ASM_ADDR): Likewise.
4303 (RAX_LP): Likewise.
4304 (RBP_LP): Likewise.
4305 (RBX_LP): Likewise.
4306 (RCX_LP): Likewise.
4307 (RDI_LP): Likewise.
4308 (RSI_LP): Likewise.
4309 (RSP_LP): Likewise.
4310 (R8_LP): Likewise.
4311 (R9_LP): Likewise.
4312 (R10_LP): Likewise.
4313 (R10_LP): Likewise.
4314 (R11_LP): Likewise.
4315 (R12_LP): Likewise.
4316 (R13_LP): Likewise.
4317 (R14_LP): Likewise.
4318 (R15_LP): Likewise.
4319
b985be81
L
43202012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4321
4322 * sysdeps/x86_64/x32/dl-machine.h: New file.
4323
6a4888ff
AJ
43242012-05-14 Andreas Jaeger <aj@suse.de>
4325
4326 * manual/Makefile (subdir): Remove export of subdir.
4327 (all): Remove target.
4328 (.PHONY): Remove all from list.
4329 (mkinstalldirs): Remove.
4330 (.PHONY): Remove installdirs from list.
4331 ($(inst_infodir)/libc.info): Use make-target-directory.
4332 (installdirs): Remove.
4333 (subdir_%): Remove.
4334 (glibc-targets): Remove.
4335 (lib): Remove.
4336 (stubs): Remove.
4337 ($(objpfx)stubs ../po/manual.pot): Remove.
4338 ($(objpfx)stamp%): Remove.
4339 (make-target-directory): Remove.
4340 (subdir_install): Remove.
4341 (routines): Remove.
4342 (aux): Remove.
4343 (sources): Remove.
4344 (objects): Remove.
4345 (headers): Remove.
4346
4347 [BZ #13750]
4348 * manual/.gitignore: Remove, it's not needed anymore.
4349 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
4350 all files in it.
4351 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
4352 directory.
4353 (texis): Renamed to $(objpfx)texis.
4354 (texis-path): New, contains path to generated files.
4355 (chapters.%): Use texis-path for complete path, add extra argument
4356 libc-texinfo.sh.
4357 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
4358 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
4359 (summary,texi, stamp-summary): Use complete path of
4360 files. Generate files in build dir.
4361 (dir-add.texi): Build in build dir.
4362 (libm-err.texi,stamp-libm-err): Likewise.
4363 (version.texi, stamp-version): Likewise.
4364 (.%c.texi): Likewise.
4365 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
4366 (mostlyclean): Remove target.
4367 (realclean): Remove target.
4368 (generated): Add new variable with contents from mostlyclean and
4369 realclean, remove entries duplicated in common-mostlyclean, add
4370 stamp-libm-err and stamp-version.
4371 (generated-dirs): Add libc directory.
4372 ($(inst_infodir)/libc.info): Install files from build dir.
4373
4374 * manual/install.texi (Configuring and compiling): Adjust since
4375 the info files are not part of the tar ball anymore.
4376
7ac77294
AJ
43772012-05-14 Andreas Jaeger <aj@suse.de>
4378
4379 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
4380 variable.
4381
ffb7875d
JM
43822012-05-14 Joseph Myers <joseph@codesourcery.com>
4383
4384 [BZ #13717]
4385 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4386 to 2.2.0 where earlier.
4387 * sysdeps/unix/sysv/linux/configure: Regenerated.
4388 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
4389 Remove conditional code.
4390 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
4391 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
4392 Remove conditional code.
4393 [!__NR_lchown]: Likewise.
4394 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4395 [__NR_lchown]: Likewise.
4396 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
4397 comment referencing __ASSUME_LCHOWN_SYSCALL.
4398 * sysdeps/unix/sysv/linux/i386/sigaction.c
4399 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4400 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4401 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
4402 Remove conditional code.
4403 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
4404 (__protocol_available): Remove #if 0 code.
4405 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
4406 conditional code.
4407 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
4408 * sysdeps/unix/sysv/linux/kernel-features.h
4409 (__ASSUME_GETCWD_SYSCALL): Don't define.
4410 (__ASSUME_REALTIME_SIGNALS): Likewise.
4411 (__ASSUME_PREAD_SYSCALL): Likewise.
4412 (__ASSUME_PWRITE_SYSCALL): Likewise.
4413 (__ASSUME_POLL_SYSCALL): Likewise.
4414 (__ASSUME_LCHOWN_SYSCALL): Likewise.
4415 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
4416 non-SPARC.
4417 (__ASSUME_SIOCGIFNAME): Don't define.
4418 (__ASSUME_MSG_NOSIGNAL): Likewise.
4419 (__ASSUME_SENDFILE): Define unconditionally.
4420 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
4421 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
4422 conditional code.
4423 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
4424 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
4425 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4426 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4427 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
4428 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4429 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
4431 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4432 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4434 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4435 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
4437 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4438 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4440 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4441 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
4443 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4444 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4446 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4447 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
4449 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4450 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4452 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4453 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4454 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
4455 Remove conditional code.
4456 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4457 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4458 Remove conditional code.
4459 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4460 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
4461 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
4462 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4463 Remove conditional code.
4464 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4465 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
4466 Remove conditional code.
4467 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4468 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
4469 Remove conditional code.
4470 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4471 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4472 Remove conditional code.
4473 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4474 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4475 Remove conditional code.
4476 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4477 * sysdeps/unix/sysv/linux/sh/pwrite64.c
4478 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4479 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4480 * sysdeps/unix/sysv/linux/sigaction.c
4481 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4482 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4483 * sysdeps/unix/sysv/linux/sigpending.c
4484 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4485 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4486 * sysdeps/unix/sysv/linux/sigprocmask.c
4487 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4488 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4489 * sysdeps/unix/sysv/linux/sigsuspend.c
4490 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4491 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4492 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4493 (__libc_missing_rt_sigs): Remove.
4494 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
4495 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
4496 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
4497 Remove conditional code.
4498 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
4499 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
4500 return 1.
4501 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
4502 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
4503 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
4504 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
4505
1bfb7291
AJ
45062012-05-14 Andreas Jaeger <aj@suse.de>
4507
caae5a81
AJ
4508 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
4509 it's not used in glibc.
4510 (__coshm1): Likewise.
4511 (__acosh1p): Likewise.
4512 (__sgn): Likewise.
4513
1bfb7291
AJ
4514 * manual/string.texi (Copying and Concatenation): Add missing
4515 variable in concat example.
4516 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4517
c044d724
L
45182012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4519
144c5467 4520 [BZ #14103]
c044d724
L
4521 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
4522 __builtin_clzl with __builtin_clzll.
4523
2523c62b
L
45242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4525
4526 [BZ #14104]
4527 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
4528 libc_freeres_ptr.
4529
d7bb4c42
LD
45302012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4531
4532 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
4533 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
4534 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
4535 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
4536
9dc4e1fb
MF
45372012-05-14 Mike Frysinger <vapier@gentoo.org>
4538
4539 * NEWS: Update ia64 info.
4540
c7df0112
AS
45412012-05-12 Andreas Schwab <schwab@linux-m68k.org>
4542
4543 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
4544 used as bcopy.
4545
dc70356c
TS
45462012-05-12 Thomas Schwinge <thomas@codesourcery.com>
4547
4548 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
4549 * sysdeps/unix/syscalls.list (dup3): Likewise.
4550 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
4551 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
4552
9fb1a21f
L
45532012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4554
4555 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
4556 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
4557
4822a2a5
L
45582012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4559
4560 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
4561 thread pointer.
4562 (TLS_IE): Use mov/add instead of movq/addq to load thread
4563 pointer.
4564 (TLS_GD_PREFIX): New.
4565 (TLS_GD): Use it.
4566
842b81d6
DM
45672012-05-11 David S. Miller <davem@davemloft.net>
4568
4569 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
4570 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
4571 (_FPU_SETCW): Likewise.
4572
1cf463cd
L
45732012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4574
4575 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
4576 is 32-byte aligned.
4577
60cc4a18
AS
45782012-05-11 Andreas Schwab <schwab@linux-m68k.org>
4579
4580 [BZ #11837]
4581 * iconvdata/gb18030.c: Update tables.
4582 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
4583 characters specially.
4584 (BODY for TO_LOOP): Add encoding of missing ranges.
4585
febb44a4
TS
45862012-05-11 Thomas Schwinge <thomas@codesourcery.com>
4587
4588 [BZ #13673]
4589 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
4590 * sysdeps/mach/hurd/dup3.c: Likewise.
4591 * sysdeps/mach/hurd/readlinkat.c: Likewise.
4592 * sysdeps/powerpc/memmove.c:: Likewise.
4593
0a10fb9e
L
45942012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4595
4596 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
4597 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
4598
df8a552f
L
45992012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4600
4601 * elf/elf.h (R_X86_64_RELATIVE64): New.
4602 (R_X86_64_NUM): Updated.
4603 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4604 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
4605 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
4606 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
4607 tst-quad1pie tst-quad2pie
4608 (modules-names): Add tst-quadmod1 tst-quadmod2.
4609 ($(objpfx)tst-quad1): New dependency.
4610 ($(objpfx)tst-quad2): Likewise.
4611 ($(objpfx)tst-quad1pie): Likewise.
4612 ($(objpfx)tst-quad2pie): Likewise.
4613 * sysdeps/x86_64/tst-quad1.c: New file.
4614 * sysdeps/x86_64/tst-quad1pie.c: New file.
4615 * sysdeps/x86_64/tst-quad2.c: Likewise.
4616 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
4617 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
4618 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
4619 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
4620 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
4621
f34d6f84
ST
46222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4623
f42d41d1
ST
4624 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
4625 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
4626 * streams/stropts.h (t_scalar_t): Define type.
4627
3c3571fc
ST
4628 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
4629 (_PATH_PRESERVE): Set to "/var/lib".
4630 (_PATH_RWHODIR): Set to "/var/spool/rwho".
4631
61f06bd3
ST
4632 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
4633 instead of int.
4634
918d4d71
ST
4635 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
4636 if __dir_mkfile succeeded.
4637
f34d6f84
ST
4638 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
4639 checking for _hurd_dtablesize. Unlock it right after having
4640 finished _hurd_dtable allocation.
4641
10589b4a
TS
46422012-05-10 Thomas Schwinge <thomas@schwinge.name>
4643
674cdbc7
TS
4644 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
4645 * sysdeps/mach/hurd/configure: Regenerated.
4646 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
4647 special-casing to...
4648 * sysdeps/gnu/configure.in: ... this new file.
4649 * sysdeps/unix/sysv/linux/configure: Regenerated.
4650 * sysdeps/gnu/configure: New generated file.
4651
8e41b99f
TS
4652 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
4653 for Linux: use nsec instead of usec, as well as:
4654 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
4655 members of type struct timespec.
4656 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
4657 New macros.
4658 (struct stat64): Likewise.
4659 (_STATBUF_ST_NSEC): New macro.
4660 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
4661
10589b4a
TS
4662 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4663 __strtoul_internal rather than strtoul.
4664
63643c85
PT
46652012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4666
4667 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
4668 and reject them.
4669
3faebe6a
ST
46702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4671
4672 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
4673 which preserves existing values.
4674 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
4675
c6474b07
PT
46762012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4677
4678 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
4679 TIMEOUT values. Return EINVAL for NFDS values either negative or
4680 greater than FD_SETSIZE.
4681
1043890b
ST
46822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4683
4684 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
4685 allocated, call __vm_protect to finish enabling the existing space, and
4686 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
4687 allocate the remainder.
4688
37ed8b9b
PT
46892012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4690
4691 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
4692 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
4693
db653660
ST
46942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4695
37ed8b9b
PT
4696 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
4697 sysdeps/mach/hurd/readlink.c.
b29d4053 4698
db653660
ST
4699 * posix/tst-sysconf.c (posix_options): Only use
4700 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
4701 _POSIX_SYNCHRONIZED_IO when they are defined
4702 * sysdeps/mach/hurd/bits/posix_opt.h:
4703 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
4704 (_XOPEN_REALTIME): Undefine macro.
4705 (_XOPEN_REALTIME_THREADS): Undefine macro.
4706 (_XOPEN_SHM): Undefine macro.
4707 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
4708 macro to -1.
4709 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
4710 macro to -1.
4711 (_POSIX_ASYNC_IO): Undefine macro.
4712 (_POSIX_PRIORITIZED_IO): Undefine macro.
4713 (_POSIX_SPIN_LOCKS): Define macro to -1.
4714
ee16e894
ST
4715 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
4716 SA_NODEFER, SA_RESETHAND.
4717 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
4718 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
4719 F_DUPFD_CLOEXEC.
4720
6103ae3b
TS
47212012-05-10 Thomas Schwinge <thomas@schwinge.name>
4722
4723 * elf/Makefile (pldd-modules): Define unconditionally.
4724
80b4e5f3
TS
47252012-05-10 Thomas Schwinge <thomas@schwinge.name>
4726
4727 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
4728
edadcbd6
ST
47292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4730
4731 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
4732 Return ENOENT when name is empty.
4733 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
4734
80694780
TS
47352012-05-10 Thomas Schwinge <thomas@schwinge.name>
4736
1792c087
TS
4737 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
4738
80694780
TS
4739 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
4740
6b645f0d
ST
47412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4742
80694780
TS
4743 Fix mlock in all cases except non-readable pages.
4744 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
4745 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 4746
6b645f0d
ST
4747 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
4748 (__mkdir): When path is `/', just fail with EEXIST.
4749 * sysdeps/mach/hurd/mkdirat.c: Likewise.
4750
e468f8a3
TS
47512012-05-10 Thomas Schwinge <thomas@schwinge.name>
4752
4753 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
4754 <sys/uio.h> (for writev).
4755 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
4756 and <sys/param.h> (for MIN).
4757
a4186cff
PT
47582012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4759
4760 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
4761 REQUESTED_TIME. Properly set the remaining time and return EINTR
4762 if interrupted.
4763
510bbf14
TS
47642012-05-10 Thomas Schwinge <thomas@schwinge.name>
4765
4766 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
4767 Depend on against $(link-rpcuserlibs).
4768
5d5722e8
ST
47692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4770
a4186cff
PT
4771 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
4772 (__libc_stack_end): Do not use attribute_relro.
4773 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
4774 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 4775 to libthread-provided value.
a4186cff
PT
4776 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
4777 attribute_relro.
5d5722e8 4778
37233df9
TS
47792012-05-10 Thomas Schwinge <thomas@schwinge.name>
4780
be971a2b
TS
4781 [BZ #3748]
4782 * bits/libc-lock.h (__libc_once_get): New macro.
4783 * sysdeps/mach/bits/libc-lock.h: Likewise.
4784 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
4785 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
4786 instead of using implementation details.
4787
37233df9
TS
4788 * libio/fileops.c: Unconditionally include <kernel-features.h>.
4789 * libio/freopen.c: Likewise.
4790 * libio/freopen64.c: Likewise.
4791 * misc/syslog.c: Likewise.
4792 * nscd/connections.c: Likewise.
4793 * nscd/netgroupcache.c: Likewise.
4794 * sysdeps/posix/getcwd.c: Likewise.
4795
38de94a5
RM
47962012-05-10 Roland McGrath <roland@hack.frob.com>
4797
4798 * math/w_ilogbf.c: Add #include <limits.h>.
4799
67530489
ST
48002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4801
a4186cff 4802 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
4803 path instead of returning without unlocking.
4804
67530489
ST
4805 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
4806 immediate-write ioctls.
4807 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
4808
5aa3a74a
TS
48092012-05-10 Thomas Schwinge <thomas@schwinge.name>
4810
18bad2ae
TS
4811 * sysdeps/mach/hurd/i386/init-first.c (init): Use
4812 __builtin_frame_address instead of making assumptions about the
4813 location of the return address relative to DATA. Force early load of
4814 the return address.
4815 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
4816 __builtin_frame_address.
4817
5aa3a74a
TS
4818 dup3 for GNU Hurd.
4819 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
4820 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
4821 implement dup3 and do some further code clean-ups.
4822 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
4823 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
4824
ecd0de9a
ST
48252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4826
cd9fa985
ST
4827 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
4828
a4186cff
PT
4829 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
4830 HURD_CRITICAL_END around holding _hurd_dtable_lock.
4831 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
4832 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
4833 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
4834 d->port.lock.
802ca5a5 4835
a4186cff
PT
4836 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
4837 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
4838 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 4839
bcf55240
TS
48402012-05-10 Thomas Schwinge <thomas@schwinge.name>
4841
6960eb42
TS
4842 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
4843 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
4844 definitions.
4845
eb43375f
TS
4846 accept4 for GNU Hurd.
4847 * include/sys/socket.h (__libc_accept4): New prototype.
4848 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
4849 to implement __libc_accept4.
4850 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
4851 __libc_accept4.
4852 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
4853
bcf55240
TS
4854 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
4855 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
4856 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
4857 signal-defines.sym.
4858
6178c55b
ST
48592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4860
a4186cff 4861 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 4862
6f080c2f
TS
48632012-05-10 Thomas Schwinge <thomas@schwinge.name>
4864
4865 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
4866 assertion on O_CLOEXEC flag.
4867 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
4868 * hurd/intern-fd.c: Likewise.
4869 * hurd/port2fd.c: Likewise.
4870
bcfe3a54
ST
48712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4872
4873 [BZ #3906]
4874 * bits/in.h (IPV6_PKTINFO): Define new macro.
4875 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
4876
89c9aa49
AZ
48772012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4878
4879 [BZ #13954]
4880 [BZ #13955]
4881 [BZ #13956]
4882 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
4883 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4884 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
4885 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4886 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4887 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4888 * math/libm-test.inc (logb_test) : Additional logb tests.
4889
021db4be
AJ
48902012-05-09 Andreas Schwab <schwab@linux-m68k.org>
4891 Andreas Jaeger <aj@suse.de>
4892
4893 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
4894 * configure: Regenerated.
4895 * config.h.in (LINK_OBSOLETE_RPC): New macro.
4896 * config.make.in (link-obsolete-rpc): New substituted variable.
4897 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
4898 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
4899 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4900 (shared-only-routines): Don't set it under [link-obsolete-rpc],
4901 so that libc.a contains the symbols.
4902 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4903 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
4904 * sunrpc/auth_none.c: Likewise.
4905 * sunrpc/auth_unix.c: Likewise.
4906 * sunrpc/authdes_prot.c: Likewise.
4907 * sunrpc/authuxprot.c: Likewise.
4908 * sunrpc/clnt_gen.c: Likewise.
4909 * sunrpc/clnt_perr.c: Likewise.
4910 * sunrpc/clnt_raw.c: Likewise.
4911 * sunrpc/clnt_simp.c: Likewise.
4912 * sunrpc/clnt_tcp.c: Likewise.
4913 * sunrpc/clnt_udp.c: Likewise.
4914 * sunrpc/clnt_unix.c: Likewise.
4915 * sunrpc/des_crypt.c: Likewise.
4916 * sunrpc/des_soft.c: Likewise.
4917 * sunrpc/get_myaddr.c: Likewise.
4918 * sunrpc/key_call.c: Likewise.
4919 * sunrpc/key_prot.c: Likewise.
4920 * sunrpc/netname.c: Likewise.
4921 * sunrpc/pm_getmaps.c: Likewise.
4922 * sunrpc/pm_getport.c: Likewise.
4923 * sunrpc/pmap_clnt.c: Likewise.
4924 * sunrpc/pmap_prot.c: Likewise.
4925 * sunrpc/pmap_prot2.c: Likewise.
4926 * sunrpc/pmap_rmt.c: Likewise.
4927 * sunrpc/publickey.c: Likewise.
4928 * sunrpc/rpc_cmsg.c: Likewise.
4929 * sunrpc/rpc_common.c: Likewise.
4930 * sunrpc/rpc_dtable.c: Likewise.
4931 * sunrpc/rpc_prot.c: Likewise.
4932 * sunrpc/rpc_thread.c: Likewise.
4933 * sunrpc/rtime.c: Likewise.
4934 * sunrpc/svc.c: Likewise.
4935 * sunrpc/svc_auth.c: Likewise.
4936 * sunrpc/svc_raw.c: Likewise.
4937 * sunrpc/svc_run.c: Likewise.
4938 * sunrpc/svc_tcp.c: Likewise.
4939 * sunrpc/svc_udp.c: Likewise.
4940 * sunrpc/svc_unix.c: Likewise.
4941 * sunrpc/svcauth_des.c: Likewise.
4942 * sunrpc/xcrypt.c: Likewise.
4943 * sunrpc/xdr.c: Likewise.
4944 * sunrpc/xdr_array.c: Likewise.
4945 * sunrpc/xdr_float.c: Likewise.
4946 * sunrpc/xdr_intXX_t.c: Likewise.
4947 * sunrpc/xdr_mem.c: Likewise.
4948 * sunrpc/xdr_rec.c: Likewise.
4949 * sunrpc/xdr_ref.c: Likewise.
4950 * sunrpc/xdr_sizeof.c: Likewise.
4951 * sunrpc/xdr_stdio.c: Likewise.
4952
b5c086a2
RM
49532012-05-10 Roland McGrath <roland@hack.frob.com>
4954
4955 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
4956 change. Update copyright years.
4957
6d74dd09
JM
49582012-05-10 Joseph Myers <joseph@codesourcery.com>
4959
4960 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
4961
28e72501
MK
49622012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
4963 Joseph Myers <joseph@codesourcery.com>
4964 Paul Pluzhnikov <ppluzhnikov@google.com>
4965
4966 [BZ #14012]
4967 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
4968 requiring rpcgen.
4969 [cross-compiling] (extra-libs): Likewise.
4970 [cross-compiling] (extra-libs-others): Likewise.
4971 [cross-compiling] (librpcsvc-routines): Likewise.
4972 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
4973 [cross-compiling] (omit-deps): Likewise.
4974 (sunrpc-CPPFLAGS): New variable.
4975 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
4976 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
4977 (cross-rpcgen-objs): New variable.
4978 (extra-objs): Append $(cross-rpcgen-objs).
4979 ($(cross-rpcgen-objs)): New rule.
4980 ($(objpfx)cross-rpcgen): Likewise.
4981 (rpcgen-cmd): Define to use $(built-program-file). Expand
4982 comment.
4983 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
4984 ($(objpfx)x%.stmp): Likewise.
4985 * sunrpc/proto.h [IS_IN_build] (_): Define.
4986 [IS_IN_build] (_libc_intl_domainname): Likewise.
4987
c8c59454
L
49882012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4989
4990 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
4991 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
4992 and R_X86_64_TPOFF64.
4993
6f27cd16
JM
49942012-05-10 Joseph Myers <joseph@codesourcery.com>
4995
4996 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
4997 sysdeps/unix/sysv/syscalls.list.
4998 (stime): Likewise.
4999 (utime): Likewise.
5000 * sysdeps/unix/sysv/syscalls.list: Remove file.
5001
02467e1c
PE
50022012-05-10 Paul Eggert <eggert@cs.ucla.edu>
5003
5004 [BZ #3440]
5005 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
5006 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
5007 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
5008 (__LC_IDENTIFICATION): Make these macros useful in #if
5009 expressions, as required by C99.
5010
da392631
AS
50112012-05-10 Andreas Schwab <schwab@linux-m68k.org>
5012
5013 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
5014 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
5015 after this.
5016
8115f29b
L
50172012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5018
5019 * stdlib/longlong.h: Updated from GCC.
5020
bdd74070
AJ
50212012-05-09 Andreas Jaeger <aj@suse.de>
5022
edfe0dbe
AJ
5023 * nscd/nscd.c (run_modes): Make named enum, reorder so that
5024 default is first entry.
5025 (run_mode): Set type.
5026 (main): Remove informal message about syslog.
5027 (options): Fix typo.
5028
bcfe3a54
ST
5029 [BZ #14053]
5030 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 5031 to asm.
bcfe3a54
ST
5032 (lrint): Likewise.
5033 (llrintf): Likewise.
5034 (llrint): Likewise.
5035 (rint): Likewise.
5036 (rintf): Likewise.
5037 (nearbyint): Likewise.
5038 (nearbyintf): Likewise.
bdd74070 5039
91d8d69e
AJ
50402012-05-09 Andreas Jaeger <aj@suse.de>
5041 Pedro Alves <palves@redhat.com>
5042
5043 * nscd/nscd.c (run_mode): Use enum.
5044 (main): Cleanup coding style issue.
5045
bb90b80b
AJ
50462012-05-09 Alexandre Oliva <aoliva@redhat.com>
5047 Andreas Jaeger <aj@suse.de>
5048
bcfe3a54
ST
5049 * nscd/nscd.c (go_background): Replaced with...
5050 (run_mode): ... this.
bb90b80b 5051 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
5052 (options): Add -F --foreground.
5053 (main): Implement it.
5054 (parse_opt): Parse it.
bb90b80b 5055
1a4b75a1
AJ
50562012-05-09 Andreas Jaeger <aj@suse.de>
5057
5058 [BZ #14083]
5059 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
5060 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
5061 -Wconversion warning.
5062 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
5063 Likewise.
5064
b1cc2472
JM
50652012-05-09 Joseph Myers <joseph@codesourcery.com>
5066
5067 * conform/data/locale.h-data (NULL): Use macro-constant. Require
5068 == 0.
5069 (LC_ALL): Use macro-int-constant.
5070 (LC_COLLATE): Likewise.
5071 (LC_CTYPE): Likewise.
5072 (LC_MESSAGES): Likewise.
5073 (LC_MONETARY): Likewise.
5074 (LC_NUMERIC): Likewise.
5075 (LC_TIME): Likewise.
5076 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
5077 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5078 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5079 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
5080 Specify type.
5081 [C99-based standards] (float_t): Expect type.
5082 [C99-based standards] (double_t): Expect type.
5083 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
5084 type.
5085 [C99-based standards] (HUGE_VALL): Likewise.
5086 [C99-based standards] (INFINITY): Likewise.
5087 [C99-based standards] (NAN): Likewise.
5088 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
5089 [C99-based standards] (FP_NAN): Likewise.
5090 [C99-based standards] (FP_NORMAL): Likewise.
5091 [C99-based standards] (FP_SUBNORMAL): Likewise.
5092 [C99-based standards] (FP_ZERO): Likewise.
5093 [C99-based standards] (FP_FAST_FMA): Use
5094 optional-macro-int-constant. Specify type. Require == 1.
5095 [C99-based standards] (FP_FAST_FMAF): Likewise.
5096 [C99-based standards] (FP_FAST_FMAL): Likewise.
5097 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
5098 [C99-based standards] (FP_ILOGBNAN): Likewise.
5099 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
5100 Specify type.
5101 [C99-based standards] (MATH_ERREXCEPT): Likewise.
5102 [C99-based standards] (math_errhandling): Specify type.
5103 [ISO99 || ISO11] (signgam): Do not allow.
5104 [non-C99-based standards] (copysignf): Do not allow.
5105 [non-C99-based standards] (exp2f): Likewise.
5106 [non-C99-based standards] (log2f): Likewise.
5107 [non-C99-based standards] (modff): Allow.
5108 [non-C99-based standards] (erff): Do not allow.
5109 [non-C99-based standards] (erfcf): Likewise.
5110 [non-C99-based standards] (gammaf): Likewise.
5111 [non-C99-based standards] (hypotf): Likewise.
5112 [non-C99-based standards] (j0f): Likewise.
5113 [non-C99-based standards] (j1f): Likewise.
5114 [non-C99-based standards] (jnf): Likewise.
5115 [non-C99-based standards] (lgammaf): Likewise.
5116 [non-C99-based standards] (tgammaf): Likewise.
5117 [non-C99-based standards] (y0f): Likewise.
5118 [non-C99-based standards] (y1f): Likewise.
5119 [non-C99-based standards] (ynf): Likewise.
5120 [non-C99-based standards] (isnanf): Likewise.
5121 [non-C99-based standards] (acoshf): Likewise.
5122 [non-C99-based standards] (asinhf): Likewise.
5123 [non-C99-based standards] (atanhf): Likewise.
5124 [non-C99-based standards] (cbrtf): Likewise.
5125 [non-C99-based standards] (expm1f): Likewise.
5126 [non-C99-based standards] (ilogbf): Likewise.
5127 [non-C99-based standards] (log1pf): Likewise.
5128 [non-C99-based standards] (logbf): Likewise.
5129 [non-C99-based standards] (nextafterf): Likewise.
5130 [non-C99-based standards] (remainderf): Likewise.
5131 [non-C99-based standards] (rintf): Likewise.
5132 [non-C99-based standards] (scalbf): Likewise.
5133 [non-C99-based standards] (copysignl): Likewise.
5134 [non-C99-based standards] (exp2l): Likewise.
5135 [non-C99-based standards] (log2l): Likewise.
5136 [non-C99-based standards] (modfl): Allow.
5137 [non-C99-based standards] (erfl): Do not allow.
5138 [non-C99-based standards] (erfcl): Likewise.
5139 [non-C99-based standards] (gammal): Likewise.
5140 [non-C99-based standards] (hypotl): Likewise.
5141 [non-C99-based standards] (j0l): Likewise.
5142 [non-C99-based standards] (j1l): Likewise.
5143 [non-C99-based standards] (jnl): Likewise.
5144 [non-C99-based standards] (lgammal): Likewise.
5145 [non-C99-based standards] (tgammal): Likewise.
5146 [non-C99-based standards] (y0l): Likewise.
5147 [non-C99-based standards] (y1l): Likewise.
5148 [non-C99-based standards] (ynl): Likewise.
5149 [non-C99-based standards] (isnanl): Likewise.
5150 [non-C99-based standards] (acoshl): Likewise.
5151 [non-C99-based standards] (asinhl): Likewise.
5152 [non-C99-based standards] (atanhl): Likewise.
5153 [non-C99-based standards] (cbrtl): Likewise.
5154 [non-C99-based standards] (expm1l): Likewise.
5155 [non-C99-based standards] (ilogbl): Likewise.
5156 [non-C99-based standards] (log1pl): Likewise.
5157 [non-C99-based standards] (logbl): Likewise.
5158 [non-C99-based standards] (nextafterl): Likewise.
5159 [non-C99-based standards] (remainderl): Likewise.
5160 [non-C99-based standards] (rintl): Likewise.
5161 [non-C99-based standards] (scalbl): Likewise.
5162 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5163 [non-C99-based standards] (FP_*): Do not allow.
5164 [C99-based standards] (FP_*): Change to
5165 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5166 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5167 allow.
5168 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
5169 (SIG_ERR): Likewise.
5170 [X/Open-based standards] (SIG_HOLD): Likewise.
5171 (SIG_IGN): Likewise.
5172 (SIGABRT): Use macro-int-constant. Specify type. Require
5173 positive value.
5174 (SIGFPE): Likewise.
5175 (SIGILL): Likewise.
5176 (SIGINT): Likewise.
5177 (SIGSEGV): Likewise.
5178 (SIGTER): Likewise.
5179 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
5180 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
5181 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
5182 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
5183 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
5184 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
5185 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
5186 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
5187 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
5188 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
5189 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
5190 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
5191 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
5192 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
5193 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
5194 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
5195 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
5196 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
5197 [X/Open-based standards] (SIGTRAP): Likewise.
5198 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
5199 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
5200 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
5201 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
5202 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5203 allow.
5204
b9f1922d
IW
52052012-05-08 Ian Wienand <ianw@vmware.com>
5206
5207 [BZ #14080]
5208 * time/tzset.c (__tzset_parse_tz): Update default rules for
5209 daylight time changes in the Energy Policy Act of 2005.
5210
1db86e88
AJ
52112012-05-09 Andreas Jaeger <aj@suse.de>
5212
5213 [BZ #13983]
5214 * elf/ldconfig.c (parse_conf): Change string to make clear that
5215 ldconfig only issued a warning if ld.so.conf does not exist.
5216
dee4a4e3
DM
52172012-05-08 David S. Miller <davem@davemloft.net>
5218
ee0db190
DM
5219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
5220 movxtod instead of popping the value on the stack.
5221
dee4a4e3
DM
5222 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5223
6a43ec98
CD
52242012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
5225
5226 * config.h.in: Add HAVE_ARM_PCS_VFP.
5227
05c2c961
RMG
52282012-05-08 Roland Mc Grath <roland@hack.frob.com>
5229
bcfe3a54
ST
5230 [BZ #13979]
5231 * include/features.h: Warn if user requests __FORTIFY_SOURCE
5232 checking but the checks are disabled for any reason.
05c2c961 5233
4b30f61a
L
52342012-05-08 H.J. Lu <hongjiu.lu@intel.com>
5235
5236 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5237 and ELF64_R_TYPE with ELFW(R_TYPE).
5238
eee2bc67
JM
52392012-05-08 Joseph Myers <joseph@codesourcery.com>
5240
7ea5391a
JM
5241 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5242 (ulimit): Likewise.
5243
eee2bc67
JM
5244 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5245 (settimeofday): Likewise.
5246
abb66a67
MF
52472012-05-08 Mike Frysinger <vapier@gentoo.org>
5248
5249 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
5250 a struct th_u2 inside the union, and move tu_block/tu_code into
5251 a new th_u3 union of tu_block/tu_code inside of that. Move
5252 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
5253 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
5254 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5255 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5256 (th_stuff): Change to th_u1.tu_stuff.
5257 (th_data): Define.
5258 (th_msg): Change to th_u1.th_u2.tu_data.
5259
7f18b530
DM
52602012-05-07 David S. Miller <davem@davemloft.net>
5261
05760585
DM
5262 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5263
7f18b530
DM
5264 [BZ #14074]
5265 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5266 (SETUP_PIC_REG): Use it.
5267 (SETUP_PIC_REG_LEAF): Use it.
5268
495fd99f
JM
52692012-05-07 Joseph Myers <joseph@codesourcery.com>
5270
5271 [BZ #13885]
5272 [BZ #13923]
5273 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5274 USE_AS_EXPM1L.
5275 (EXPL_FINITE): Likewise.
5276 (FLDLOG): Likewise.
5277 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5278 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5279 e_expl.S.
5280 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5281 USE_AS_EXPM1L.
5282 (EXPL_FINITE): Likewise.
5283 (FLDLOG): Likewise.
5284 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5285 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5286 e_expl.S.
5287 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
5288 test of -max_value argument for long double.
5289 * sysdeps/i386/fpu/libm-test-ulps: Update.
5290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5291
6693d694
DM
52922012-05-06 David S. Miller <davem@davemloft.net>
5293
5294 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5295 quad soft-float symbols whose references which are compiler
5296 generated.
5297 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5298
6c23e11c
JM
52992012-05-06 Joseph Myers <joseph@codesourcery.com>
5300
d8b82cad
JM
5301 [BZ #13884]
5302 [BZ #13914]
5303 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5304 USE_AS_EXP10L.
5305 (EXPL_FINITE): Likewise.
5306 (FLDLOG): Likewise.
5307 (c0): Likewise.
5308 (c1): Likewise.
5309 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5310 Adjust comments for base varying.
5311 (__expl_finite): Change alias to EXPL_FINITE.
5312 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5313 e_expl.S.
5314 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5315 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5316 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5317 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5318 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5319 USE_AS_EXP10L.
5320 (EXPL_FINITE): Likewise.
5321 (FLDLOG): Likewise.
5322 (c0): Likewise.
5323 (c1): Likewise.
5324 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5325 Adjust comments for base varying.
5326 (__expl_finite): Change alias to EXPL_FINITE.
5327 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
5328 tests for bugs.
5329 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5330
6c23e11c
JM
5331 [BZ #14064]
5332 * math/libm-test.inc (check_float_internal): Correct ulp
5333 calculation for subnormal expected results.
5334
29ba805c
AJ
53352012-05-06 Andreas Jaeger <aj@suse.de>
5336
5337 * Makeconfig (+math-flags): New, set to -frounding-math.
5338 (+cflags): Add +math-flags so that all of glibc gets compiled with
5339 it.
5340
5341 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
5342
7b17aeda
JM
53432012-05-05 Joseph Myers <joseph@codesourcery.com>
5344
5779f134
JM
5345 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
5346 Disable one test.
5347
41498f4d
JM
5348 [BZ #13787]
5349 [BZ #13922]
5350 [BZ #14036]
5351 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
5352 (__ieee754_expl): Allow for and saturate large arguments.
5353 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
5354 (u_threshold): Likewise.
5355 (__exp): Call __ieee754_exp before checking for overflow and
5356 underflow.
5357 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
5358 (u_threshold): Likewise.
5359 (__expf): Call __ieee754_expf before checking for overflow and
5360 underflow.
5361 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
5362 (u_threshold): Likewise.
5363 (__expl): Call __ieee754_expl before checking for overflow and
5364 underflow.
5365 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
5366 (__ieee754_expl): Allow for and saturate large arguments.
5367 * math/libm-test.inc (exp_test): Add another test. Do not allow
5368 missing overflow exception on overflow.
5369 (expm1_test): Do not allow missing overflow exception on overflow.
5370
6698b8bf
JM
5371 * sysdeps/i386/fpu/e_expl.c: Move to ...
5372 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
5373 rather than using inline asm.
5374 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
5375 * sysdeps/x86_64/fpu/e_expl.S: Copy from
5376 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
5377
7b17aeda
JM
5378 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
5379 (nice): Likewise.
5380 (poll): Likewise.
5381 (signal): Likewise.
5382 (time): Likewise.
5383 (times): Likewise.
5384
f7c85819
JM
53852012-05-04 Joseph Myers <joseph@codesourcery.com>
5386
5387 * sysdeps/unix/syscalls.list (adjtime): Add entry from
5388 sysdeps/unix/common/syscalls.list.
5389 (fchmod): Likewise.
5390 (fchown): Likewise.
5391 (ftruncate): Likewise.
5392 (getrusage): Likewise.
5393 (gettimeofday): Likewise.
5394 (setpgid): Likewise.
5395 (setregid): Likewise.
5396 (setreuid): Likewise.
5397 (sigaction): Likewise.
5398 (truncate): Likewise.
5399 (vhangup): Likewise.
5400 * sysdeps/unix/common/syscalls.list: Remove file.
5401 * sysdeps/unix/bsd/Implies: Don't include unix/common.
5402 * sysdeps/unix/sysv/linux/Implies: Likewise.
5403
336270d0
L
54042012-05-04 H.J. Lu <hongjiu.lu@intel.com>
5405
5406 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
5407 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
5408 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
5409 Moved to ...
5410 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5411 Here.
5412 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
5413 to ...
5414 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
5415 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
5416 to ...
5417 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
5418 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
5419 to ...
5420 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
5421 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
5422 to ...
5423 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
5424 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
5425 to ...
5426 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
5427 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
5428 to ...
5429 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
5430 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
5431 to ...
5432 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5433 Here.
5434 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
5435 to ...
5436 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
5437 Here.
5438 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
5439 to ...
5440 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
5441 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
5442 Moved to ...
5443 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
5444 Here.
5445 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
5446 to ...
5447 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
5448
d128e450
JM
54492012-05-04 Joseph Myers <joseph@codesourcery.com>
5450
fa8ee516
JM
5451 * sysdeps/unix/common/bits/dirent.h: Remove file.
5452 * sysdeps/unix/common/bits/fcntl.h: Likewise.
5453
d128e450
JM
5454 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
5455 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
5456 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
5457 * sysdeps/unix/bsd/isatty.c: Likewise.
5458 * sysdeps/unix/bsd/tcdrain.c: Likewise.
5459 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
5460 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
5461
ff8faaf0 54622012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 5463
62881be4 5464 [BZ #13563]
31dc8730
AZ
5465 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
5466 long double comparison inaccuracies.
5467 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5468 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5469
6fef930c
AS
54702012-05-04 Andreas Schwab <schwab@linux-m68k.org>
5471
5472 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
5473 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
5474
8f203e6c
JM
54752012-05-04 Joseph Myers <joseph@codesourcery.com>
5476
5477 [BZ #14049]
5478 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
5479 nonzero digits before rounding a hex value.
5480 * stdlib/tst-strtod.c (tests): Add another test.
5481
5197d9c2
AK
54822012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5483
5484 * sysdeps/s390/fpu/libm-test-ulps: Update.
5485
f0c1dedf
AJ
54862012-05-03 Andreas Jaeger <aj@suse.de>
5487
5488 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
5489 does not get optimized out.
5490 (malloc_opt_barrier): New.
5491
a65ef2ae 54922012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 5493 Roland McGrath <roland@hack.frob.com>
a65ef2ae 5494
2b942cb7 5495 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 5496 intermediate file deletion.
2b942cb7 5497 (generated): Add .symlist files.
a65ef2ae 5498
54b71e02
JM
54992012-05-03 Joseph Myers <joseph@codesourcery.com>
5500
5501 [BZ #13775]
5502 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
5503 Redirect under this condition.
5504 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5505 [__USE_GNU] (__dprintf_chk): Not under this condition.
5506 [__USE_GNU] (__vdprintf_chk): Likewise.
5507 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
5508 under this condition.
5509 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5510 [__USE_XOPEN2K8] (dprintf): Define under this condition.
5511 [__USE_XOPEN2K8] (vdprintf): Likewise.
5512 [__USE_GNU] (__dprintf_chk): Not under this condition.
5513 [__USE_GNU] (__vdprintf_chk): Likewise.
5514 [__USE_GNU] (dprintf): Likewise.
5515 [__USE_GNU] (vdprintf): Likewise.
5516
d3dfcc41
RM
55172012-05-03 Roland McGrath <roland@hack.frob.com>
5518
5519 * elf/Makefile (common-generated): Set this instead of generated for
5520 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
5521 $(all-built-dso)-derived lists.
5522
7ac30cc5
AJ
55232012-05-03 Andreas Jaeger <aj@suse.de>
5524
0c51e550
AJ
5525 * sysdeps/i386/fpu/libm-test-ulps: Update.
5526
7ac30cc5
AJ
5527 * FAQ: Removed.
5528 * FAQ.in: Likewise.
5529 * scripts/gen-FAQ.pl: Likewise.
5530 * manual/install.texi (Installation): Point to online location of
5531 FAQ.
5532 * Makefile (files-for-dist): Remove FAQ.
5533 (FAQ): Remove.
5534
d4c2917f
AM
55352012-05-02 Allan McRae <allan@archlinux.org>
5536
5537 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
5538 (LDFLAGS-reldepmod5.so): Likewise.
5539 (LDFLAGS-reldep6mod1.so): Likewise.
5540 (LDFLAGS-reldep6mod4.so): Likewise.
5541 (LDFLAGS-reldep8mod3.so): Likewise.
5542 (LDFLAGS-unload4mod1.so): Likewise.
5543 (LDFLAGS-unload4mod2.so): Likewise.
5544 (LDFLAGS-tst-initorder): Likewise.
5545 (LDFLAGS-tst-initordera2.so): Likewise.
5546 (LDFLAGS-tst-initordera3.so): Likewise.
5547 (LDFLAGS-tst-initordera4.so): Likewise.
5548 (LDFLAGS-tst-initorderb2.so): Likewise.
5549 (LDFLAGS-noload): Likewise.
5550 (LDFLAGS-next): Likewise.
5551 (LDFLAGS-order2mod1.so): Likewise.
5552 (LDFLAGS-order2mod2.so): Likewise.
5553 (LDFLAGS-tst-initorder2): Likewise.
5554 (LDFLAGS-tst-initorder2a.so): Likewise.
5555 (LDFLAGS-tst-initorder2b.so): Likewise.
5556 (LDFLAGS-tst-initorder2c.so): Likewise.
5557 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
5558
d77f993f
DM
55592012-05-02 David S. Miller <davem@davemloft.net>
5560
5561 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5562
171a70b4
PP
55632012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
5564
5565 [BZ #14055]
5566 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
5567
0be196ad
AJ
55682012-05-02 Andreas Jaeger <aj@suse.de>
5569
5570 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
5571 since we manipulate rounding mode.
5572 (CPPFLAGS-test-idouble.c): Likewise.
5573 (CPPFLAGS-test-ifloat.c): Likewise.
5574 (CFLAGS-test-ldouble.c): Likewise.
5575 (CFLAGS-test-double.c): Likewise.
5576 (CFLAGS-test-float.c): Likewise.
5577 (CFLAGS-test-misc.c): Likewise.
5578 (CFLAGS-test-test-fenv.c): Likewise.
5579
4f9d04aa
AZ
55802012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5581
2b942cb7
RM
5582 [BZ #2550]
5583 [BZ #2570]
5584 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
5585 comparisons to determine direction to adjust input.
4f9d04aa 5586
82a79e7d
RM
55872012-05-01 Roland McGrath <roland@hack.frob.com>
5588
f5a01ca9
RM
5589 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
5590 output to the target.
5591
90fe4186
RM
5592 * scripts/localplt.awk: New file.
5593 * elf/Makefile ($(objpfx)check-localplt): Target removed.
5594 (check-localplt-CFLAGS): Variable removed.
5595 ($(all-built-dso:=.jmprel)): New static pattern rule.
5596 (generated): Add those targets.
5597 (localplt-built-dso): New variable.
5598 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
5599
5600 * elf/check-localplt.c: File removed.
5601
82397ed6
RM
5602 * scripts/check-execstack.awk: New file.
5603 * elf/Makefile ($(objpfx)check-execstack): Target removed.
5604 (check-execstack-CFLAGS): Variable removed.
5605 ($(objpfx)check-execstack.h): Target removed.
5606 ($(objpfx)execstack-default): New target.
5607 (generated): Add that instead of check-execstack.h.
5608 ($(all-built-dso:=.phdr)): New static pattern rule.
5609 (generated): Add those targets.
5610 * elf/check-execstack.c: File removed.
5611
82a79e7d
RM
5612 * scripts/check-textrel.awk: New file.
5613 * elf/Makefile ($(objpfx)check-textrel): Target removed.
5614 (check-textrel-CFLAGS): Variable removed.
5615 (all-built-dso): Use := to define.o
5616 ($(all-built-dso:=.dyn)): New static pattern rule.
5617 (generated): Add those targets.
5618 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
5619 * config.make.in (READELF): New substituted variable.
5620 * elf/check-textrel.c: File removed.
5621
62fde54f 56222012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 5623
615605c9
JM
5624 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5625 allow.
5626 * conform/data/ctype.h-data [C99-based standards] (isblank):
5627 Expect function.
5628 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
5629 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
5630 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5631 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
5632 Specify type. Require positive value.
5633 (EILSEQ): Likewise.
5634 (ERANGE): Likewise.
5635 [ISO || POSIX] (EILSEQ): Do not expect.
5636 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
5637 Specify type. Require positive value.
5638 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
5639 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
5640 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
5641 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
5642 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
5643 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
5644 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
5645 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
5646 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
5647 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
5648 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
5649 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
5650 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
5651 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
5652 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
5653 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
5654 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
5655 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
5656 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
5657 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
5658 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
5659 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
5660 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
5661 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
5662 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
5663 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
5664 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
5665 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
5666 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
5667 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
5668 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
5669 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
5670 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
5671 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
5672 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
5673 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
5674 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
5675 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
5676 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
5677 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
5678 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
5679 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
5680 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
5681 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
5682 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
5683 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
5684 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
5685 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
5686 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
5687 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
5688 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
5689 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
5690 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
5691 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
5692 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
5693 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
5694 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
5695 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
5696 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
5697 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
5698 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
5699 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
5700 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
5701 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
5702 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
5703 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
5704 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
5705 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
5706 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
5707 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
5708 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
5709 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
5710 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
5711 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
5712 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
5713 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
5714 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
5715 Require >= 2.
5716 (FLT_ROUNDS): Expect as macro, not constant.
5717 (FLT_MANT_DIG): Use macro-int-constant.
5718 (DBL_MANT_DIG): Likewise.
5719 (LDBL_MANT_DIG): Likewise.
5720 (FLT_DIG): Likewise.
5721 (DBL_DIG): Likewise.
5722 (LDBL_DIG): Likewise.
5723 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
5724 (DBL_MIN_EXP): Likewise.
5725 (LDBL_MIN_EXP): Likewise.
5726 (FLT_MAX_EXP): Use macro-int-constant.
5727 (DBL_MAX_EXP): Likewise.
5728 (LDBL_MAX_EXP): Likewise.
5729 (FLT_MAX_10_EXP): Likewise.
5730 (DBL_MAX_10_EXP): Likewise.
5731 (LDBL_MAX_10_EXP): Likewise.
5732 (FLT_MAX): Use macro-constant.
5733 (DBL_MAX): Likewise.
5734 (LDBL_MAX): Likewise.
5735 (FLT_EPSILON): Use macro-constant. Give upper bound.
5736 (DBL_EPSILON): Likewise.
5737 (LDBL_EPSILON): Likewise.
5738 (FLT_MIN): Likewise.
5739 (DBL_MIN): Likewise.
5740 (LDBL_MIN): Likewise.
5741 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
5742 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
5743 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
5744 [ISO11] (FLT_HAS_SUBNORM): Likewise.
5745 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
5746 [ISO11] (DBL_DECIMAL_DIG): Likewise.
5747 [ISO11] (FLT_DECIMAL_DIG): Likewise.
5748 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
5749 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
5750 [ISO11] (FLT_TRUE_MIN): Likewise.
5751 [ISO11] (LDBL_TRUE_MIN): Likewise.
5752 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5753 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
5754 (SCHAR_MIN): Use macro-int-constant. Specify type.
5755 (SCHAR_MAX): Likewise.
5756 (UCHAR_MAX): Likewise.
5757 (CHAR_MIN): Likewise.
5758 (CHAR_MAX): Likewise.
5759 (MB_LEN_MAX): Use macro-int-constant.
5760 (SHRT_MIN): Use macro-int-constant. Specify type.
5761 (SHRT_MAX): Likewise.
5762 (USHRT_MAX): Likewise.
5763 (INT_MAX): Likewise.
5764 (INT_MIN): Use macro-int-constant. Specify type. Make upper
5765 bound negative.
5766 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
5767 bound with "U".
5768 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5769 bound with "L".
5770 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
5771 bound negative. Suffix upper bound with "L".
5772 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5773 bound with "UL".
5774 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
5775 Specify type.
5776 [C99-based standards] (LLONG_MAX): Likewise.
5777 [C99-based standards] (ULLONG_MAX): Likewise.
5778 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
5779 == 0.
5780 [ISO11] (max_align_t): Require type.
5781 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5782
c9140a62
JM
5783 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
5784 from $CFLAGS, without defining away __attribute__ calls.
5785 (checknamespace): Use $CFLAGS_namespace.
5786
9af0bf29
JM
5787 * conform/conformtest.pl (@keywords): Only include C99 keywords
5788 for standards based on C99 or C11.
5789
343222a2
JM
5790 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
5791 Disable tests.
5792 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
5793 UNIX98]: Likewise.
5794
661f8cf0
JM
5795 * conform/conformtest.pl: Handle "macro-int-constant" and test for
5796 usability of symbols in #if.
5797
ee74b9cb
JM
5798 * conform/conformtest.pl: If macro or constant types start
5799 "promoted:", expect the symbol to be of the following type
5800 promoted by the integer promotions.
62fde54f 5801
aafc49b3
JM
5802 * conform/conformtest.pl: Parse all "constant" and "macro" lines
5803 in one place. Also handle "macro-constant".
5804
fefdf574
JM
5805 * conform/conformtest.pl: Only accept expected macro values with
5806 "==". Parse all "macro" lines in one place.
5807 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
5808
f2d922fe
JM
5809 * conform/conformtest.pl: Handle braced types on "constant" lines
5810 instead of handling "typed-constant".
5811 * conform/data/signal.h-data: Use "constant" instead of
5812 "typed-constant".
5813
d22956c9
JM
5814 * conform/conformtest.pl: Handle "optional-" at start of lines in
5815 one place rather than duplicating several cases. Handle each
5816 format of "macro" line with initial "optional-".
5817
028e2e38
JM
5818 * conform/conformtest.pl: Only accept expected constant or
5819 optional-constant values with "==". Parse all "constant" lines in
5820 one place. Parse all "optional-constant" lines in one place.
5821 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
5822 * conform/data/fmtmsg.h-data: Likewise.
5823 * conform/data/netinet/in.h-data: Likewise.
5824 * conform/data/tar.h-data: Likewise.
5825 * conform/data/limits.h-data: Use "==" form on "constant" and
5826 "optional-constant" lines.
5827
1b8f2850
JM
5828 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
5829 Use -std=c99 for XOPEN2K.
5830 (@knownproblems): Remove.
5831 (newtoken): Don't check %isknown.
5832
a05a144b
JM
5833 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
5834 Do not expect macro.
5835 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
5836 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
5837 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
5838 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
5839 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
5840 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
5841 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
5842 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
5843 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
5844 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
5845 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
5846 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
5847 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
5848 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
5849 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
5850 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
5851 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
5852 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
5853 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
5854 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
5855 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
5856 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
5857 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
5858 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
5859 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
5860 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
5861 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
5862 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
5863 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
5864 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
5865 [XPG3] (acosh): Likewise.
5866 [XPG3] (asinh): Likewise.
5867 [XPG3] (atanh): Likewise.
5868 [XPG3] (cbrt): Likewise.
5869 [XPG3] (expm1): Likewise.
5870 [XPG3] (ilogb): Likewise.
5871 [XPG3] (log1p): Likewise.
5872 [XPG3] (logb): Likewise.
5873 [XPG3] (nextafter): Likewise.
5874 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
5875 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
5876 [XPG3] (remainder): Likewise.
5877 [XPG3] (rint): Likewise.
5878 [XPG3 || XPG4 || UNIX98] (round): Likewise.
5879 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
5880 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
5881 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
5882 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
5883 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
5884 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
5885 [UNIX98 || XOPEN2K] (scalb): Expect.
5886 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
5887 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
5888 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
5889 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
5890 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
5891 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
5892 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
5893 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
5894 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
5895 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
5896 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
5897 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
5898 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
5899 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
5900 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
5901 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
5902 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
5903 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
5904 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
5905 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
5906 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
5907 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
5908 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
5909 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
5910 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
5911 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
5912 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
5913 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
5914 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
5915 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
5916 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
5917 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
5918 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
5919 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
5920 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
5921 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
5922 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
5923 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
5924 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
5925 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
5926 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
5927 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
5928 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
5929 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
5930 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
5931 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
5932 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
5933 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
5934 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
5935 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
5936 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
5937 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
5938 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
5939 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
5940 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
5941 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
5942 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
5943 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
5944 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
5945 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
5946 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
5947 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
5948 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
5949 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
5950 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
5951 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
5952 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
5953 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
5954 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
5955 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
5956 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
5957 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
5958 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
5959 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
5960 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
5961 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
5962 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
5963 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
5964 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
5965 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
5966 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
5967 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
5968 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
5969 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
5970 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
5971 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
5972 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
5973 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
5974 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
5975 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
5976 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
5977 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
5978 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
5979 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
5980 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
5981 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
5982 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
5983 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
5984 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
5985 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
5986 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
5987 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
5988 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
5989 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
5990 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
5991 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
5992 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
5993 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
5994 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
5995 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
5996 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
5997 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
5998 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
5999 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
6000 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
6001 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
6002 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
6003 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
6004 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
6005 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
6006 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
6007 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
6008 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
6009 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
6010 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
6011 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
6012 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
6013 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
6014 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
6015 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
6016 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
6017 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
6018 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
6019 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
6020 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
6021 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
6022 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
6023
73c5ebe3
JM
6024 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
6025 _XOPEN_SOURCE_EXTENDED for XPG4.
6026
39c33b6c
JM
6027 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
6028
62fde54f
JM
6029 * Makeconfig (localtime): Remove variable.
6030 (inst_localtime-file): Likewise.
6031
0741d64c
AS
60322012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6033
6034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6035 Update.
6036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6037 Update.
6038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6039 Update.
6040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6041 Update.
6042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6043 Update.
6044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
6045 Update.
6046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6047 Update.
6048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
6049 Update.
6050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6051 Update.
6052
7cb029ee
JM
60532012-05-01 Joseph Myers <joseph@codesourcery.com>
6054
6055 [BZ #2550]
6056 [BZ #2570]
6057 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6058 comparisons to determine direction to adjust input.
6059 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6060 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
6061 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6062 Likewise.
6063 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6064 Likewise.
6065 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6066 Likewise.
6067 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6068 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6069 Likewise.
6070 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6071 Likewise.
6072 * math/libm-test.inc (nexttoward_test): Add more tests.
6073
412bd966
AS
60742012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6075
6076 [BZ #14040]
6077 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
6078 in version GLIBC_2.1, not GLIBC_2.0.
6079 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
6080 Likewise.
6081
9568c0c2
JM
60822012-04-30 Joseph Myers <joseph@codesourcery.com>
6083
adfbc8ac
JM
6084 [BZ #13942]
6085 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
6086 (1 - x) * (1 + x).
6087 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6088 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
6089 * math/libm-test.inc (acos_test): Add more tests.
6090 (asin_test): Likewise.
6091 * sysdeps/i386/fpu/libm-test-ulps: Update.
6092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6093
5ba3cc69
JM
6094 [BZ #14034]
6095 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
6096 of square root.
6097 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
6098 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6099 * math/libm-test.inc (acos_test_tonearest): New function.
6100 (acos_test_towardzero): Likewise.
6101 (acos_test_downward): Likewise.
6102 (acos_test_upward): Likewise.
6103 (asin_test_tonearest): Likewise.
6104 (asin_test_towardzero): Likewise.
6105 (asin_test_downward): Likewise.
6106 (asin_test_upward): Likewise.
6107 (main): Call the new functions.
6108 * sysdeps/i386/fpu/libm-test-ulps: Update.
6109 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6110
9568c0c2
JM
6111 [BZ #13884]
6112 [BZ #13924]
6113 * math/e_exp10.c: Include <float.h>.
6114 (__ieee754_exp10): Handle underflow here rather than multiplying
6115 large negative argument by M_LN10.
6116 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
6117 of __ieee754_expf.
6118 * math/e_exp10l.c: Include <float.h>.
6119 (__ieee754_exp10l): Handle underflow here rather than multiplying
6120 large negative argument by M_LN10l.
6121 * math/libm-test.inc (exp10_test): Add another test. Do not allow
6122 spurious overflow exception on underflow.
6123
5ac3ea17
MP
61242012-04-29 Marek Polacek <polacek@redhat.com>
6125
6126 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
6127 (__fortify_function): New macro.
6128 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
6129 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
6130 __extern_always_inline.
6131 * libio/bits/stdio2.h: Likewise.
6132 * libio/bits/stdio.h: Likewise.
6133 * string/string.h: Likewise.
6134 * string/bits/string3.h: Likewise.
6135 * include/stdio.h: Likewise.
6136 * stdlib/bits/stdlib.h: Likewise.
6137 * stdlib/stdlib.h: Likewise.
6138 * rt/bits/mqueue2.h: Likewise.
6139 * rt/mqueue.h: Likewise.
6140 * posix/bits/unistd.h: Likewise.
6141 * posix/unistd.h: Likewise.
6142 * io/bits/poll2.h: Likewise.
6143 * io/bits/fcntl2.h: Likewise.
6144 * io/fcntl.h: Likewise.
6145 * io/sys/poll.h: Likewise.
6146 * misc/bits/syslog.h: Likewise.
6147 * misc/bits/syslog-ldbl.h: Likewise.
6148 * misc/sys/syslog.h: Likewise.
6149 * socket/bits/socket2.h: Likewise.
6150 * socket/sys/socket.h: Likewise.
6151 * debug/tst-chk1.c: Likewise.
6152 * wcsmbs/bits/wchar2.h: Likewise.
6153 * wcsmbs/bits/wchar-ldbl.h: Likewise.
6154 * wcsmbs/wchar.h: Likewise.
6155
ecf0ebfb
AJ
61562012-04-29 Andreas Jaeger <aj@suse.de>
6157
6158 * Makerules (tests): Remove enable-check-abi protection.
6159 (check-abi-warn): Remove.
6160 (check-abi-%): Remove check-abi-warn usage.
6161
6162 * configure.in: Remove check-abi configure option.
6163 * configure: Regenerated.
6164 * config.make.in (enable-check-abi): Remove.
6165
6d5c57fa
AS
61662012-04-28 Andreas Schwab <schwab@linux-m68k.org>
6167
24c5d07e 6168 [BZ #14033]
ded5180a
AS
6169 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
6170 double functions to double *_finite functions.
6171
7e0d315d
AS
6172 [BZ #13941]
6173 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
6174 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
6175 LDBL_MIN_EXP.
6176 * stdio-common/Makefile (tests): Add tst-sprintf3.
6177 * stdio-common/tst-sprintf3.c: New file.
6178
6d5c57fa
AS
6179 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
6180 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
6181
0749ff8b
JM
61822012-04-28 Joseph Myers <joseph@codesourcery.com>
6183
6184 * conform/conformtest.pl: Remove duplicate typed-constant
6185 handling.
6186
8dbd5d7b
DM
61872012-04-28 David S. Miller <davem@davemloft.net>
6188
6189 * Makerules (%.abilist): Add vpath on sysdep_dirs.
6190 (check-abi-%): Remove AWK script prerequisite and explicit
6191 abilist directory.
6192 (check-abi): Rewrite to just diff the symlist with the abilist.
6193 (config-tls, config-abi-config): Delete, no longer used.
6194 (update-abi-%): Remove AWK script and explicit abilist directory.
6195 (update-abi): Rewrite to simply compare and conditionally copy the
6196 symlist and the sysdep abilist file. Remove update-abi-config
6197 checks.
6198 * abilist/ld.abilist: Remove.
6199 * abilist/libBrokenLocale.abilist: Remove.
6200 * abilist/libanl.abilist: Remove.
6201 * abilist/libcrypt.abilist: Remove.
6202 * abilist/libdl.abilist: Remove.
6203 * abilist/librt.abilist: Remove.
6204 * abilist/libthread_db.abilist: Remove.
6205 * abilist/libutil.abilist: Remove.
6206 * scripts/extract-abilist.awk: Remove.
6207 * scripts/merge-abilist.awk: Remove.
6208 * sysdeps/generic/libcidn.abilist: New file.
6209 * sysdeps/generic/libnss_compat.abilist: New file.
6210 * sysdeps/generic/libnss_db.abilist: New file.
6211 * sysdeps/generic/libnss_dns.abilist: New file.
6212 * sysdeps/generic/libnss_files.abilist: New file.
6213 * sysdeps/generic/libnss_hesiod.abilist: New file.
6214 * sysdeps/generic/libnss_nis.abilist: New file.
6215 * sysdeps/generic/libnss_nisplus.abilist: New file.
6216 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
6217 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
6218 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
6219 file.
6220 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
6221 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
6222 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
6223 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
6224 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
6225 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
6226 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
6227 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
6228 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
6229 file.
6230 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
6231 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
6232 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6233 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6234 file.
6235 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6236 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6237 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6238 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6239 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6240 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6241 file.
6242 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6243 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6244 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6245 file.
6246 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6247 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6248 New file.
6249 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6250 New file.
6251 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6252 New file.
6253 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6254 New file.
6255 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6256 New file.
6257 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6258 New file.
6259 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6260 New file.
6261 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6262 New file.
6263 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6264 New file.
6265 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6266 New file.
6267 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6268 New file.
6269 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6270 New file.
6271 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6272 New file.
6273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6274 file.
6275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6276 New file.
6277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6278 New file.
6279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6280 file.
6281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6282 New file.
6283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6284 New file.
6285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6286 file.
6287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6288 New file.
6289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6290 New file.
6291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6292 New file.
6293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6294 New file.
6295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6296 New file.
6297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6298 New file.
6299 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6300 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6301 file.
6302 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6303 New file.
6304 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6305 file.
6306 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6307 file.
6308 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6309 file.
6310 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6311 file.
6312 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6313 file.
6314 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6315 New file.
6316 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6317 file.
6318 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6319 file.
6320 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6321 New file.
6322 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6323 file.
6324 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6325 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
6326 file.
6327 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6328 New file.
6329 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
6330 file.
6331 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
6332 file.
6333 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
6334 file.
6335 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
6336 file.
6337 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
6338 file.
6339 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6340 New file.
6341 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
6342 file.
6343 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
6344 file.
6345 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6346 New file.
6347 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
6348 file.
6349 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6350 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
6351 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
6352 file.
6353 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
6354 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
6355 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
6356 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
6357 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
6358 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
6359 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
6360 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
6361 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
6362 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
6363 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
6364 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
6365 file.
6366 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6367 New file.
6368 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
6369 file.
6370 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
6371 file.
6372 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
6373 file.
6374 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
6375 file.
6376 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
6377 file.
6378 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6379 New file.
6380 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6381 New file.
6382 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
6383 file.
6384 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6385 New file.
6386 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
6387 file.
6388 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
6389 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
6390 file.
6391 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6392 New file.
6393 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
6394 file.
6395 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
6396 file.
6397 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
6398 file.
6399 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
6400 file.
6401 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
6402 file.
6403 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6404 New file.
6405 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6406 New file.
6407 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
6408 file.
6409 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6410 New file.
6411 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
6412 file.
6413
41d73a1b
JM
64142012-04-28 Joseph Myers <joseph@codesourcery.com>
6415
6416 * conform/conformtest.pl: Fix typo in handling typed-constant from
6417 allow-header.
6418
28aeeda4
JM
64192012-04-27 Joseph Myers <joseph@codesourcery.com>
6420
adae8f5e
JM
6421 * README: Cut down references to pre-2.6 Linux kernels and
6422 Linuxthreads. Update lists of configurations in libc and ports
6423 and sort alphabetically. Say "or newer" with Linux kernel version
6424 requirements.
6425
28aeeda4
JM
6426 * config.h.in [IS_IN_build]: Allow compiling without optimization.
6427
a462cb63
RA
64282012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6429
6430 [BZ #887]
6431 * math/libm-test.inc (logb_test_downward): New test to expose
6432 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
6433 rounding mode.
6434
6ad3493e
JM
64352012-04-27 Joseph Myers <joseph@codesourcery.com>
6436
6437 [BZ #14027]
6438 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
6439 to be done.
6440 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
6441 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
6442
2ce4f015
JM
64432012-04-26 Joseph Myers <joseph@codesourcery.com>
6444
5aeb141a
JM
6445 * sysdeps/unix/i386/brk.S: Remove file.
6446 * sysdeps/unix/i386/dl-brk.S: Likewise.
6447 * sysdeps/unix/i386/pipe.S: Likewise.
6448 * sysdeps/unix/i386/sigreturn.S: Likewise.
6449 * sysdeps/unix/i386/syscall.S: Likewise.
6450 * sysdeps/unix/i386/vfork.S: Likewise.
6451 * sysdeps/unix/i386/wait.S: Likewise.
6452
7143acae
JM
6453 * sysdeps/unix/common/tcsendbrk.c: Move to ...
6454 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
6455
2ce4f015
JM
6456 * configure.in (arm*-none*): Do not allow without
6457 --enable-hacker-mode.
6458 (netbsd*): Remove case setting base_os.
6459 (386bsd*): Likewise.
6460 (freebsd*): Likewise.
6461 (bsdi*): Likewise.
6462 (osf*): Likewise.
6463 (sunos*): Likewise.
6464 (ultrix*): Likewise.
6465 (newsos*): Likewise.
6466 (dynix*): Likewise.
6467 (*bsd*): Likewise.
6468 (sysv*): Likewise.
6469 (isc*): Likewise.
6470 (esix*): Likewise.
6471 (sco*): Likewise.
6472 (minix*): Likewise.
6473 (irix4*): Likewise.
6474 (irix6*): Likewise.
6475 (solaris[2-9]*): Likewise.
6476 (none): Likewise.
6477 * configure: Regenerated.
6478
0ac229c8
AZ
64792012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6480
6481 [BZ #11521]
6482 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
6483 overflow or cancellation in calculating denominator.
6484 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
6485 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
6486 down expression to avoid unexpected rounding in newer GCCs.
6487 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
6488
33f244f4
DM
64892012-04-26 David S. Miller <davem@davemloft.net>
6490
6491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
6492 long-double compat symbols.
6493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
6497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
6499 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
6500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
6501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
6502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
6504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
6505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6506
cfa1f3e8
DM
65072012-04-25 David S. Miller <davem@davemloft.net>
6508
6509 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
6510 HWCAP_* values only after the memory barriers have been defined.
6511 (atomic_full_barrier): Define.
6512 (atomic_read_barrier): Define.
6513 (atomic_write_barrier): Define.
6514
6e236b92
SP
65152012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6516
6517 * shlib-versions: Add libgcc_s version information.
6518 * sysdeps/generic/libgcc_s.h: Remove.
6519 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
6520 libgcc_s.h.
6521 * sysdeps/gnu/unwind-resume.c: Likewise.
6522 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
6523
aab39a09
DM
65242012-04-25 David S. Miller <davem@davemloft.net>
6525
6526 * sysdeps/unix/sparc/brk.S: Delete.
6527 * sysdeps/unix/sparc/dl-brk.S: Delete.
6528 * sysdeps/unix/sparc/pipe.S: Delete.
6529 * sysdeps/unix/sparc/sysdep.S: Delete.
6530 * sysdeps/unix/sparc/sysdep.h: Delete.
6531 * sysdeps/unix/sparc/vfork.S: Delete.
6532 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
6533 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
6534 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
6535 ret_ERRVAL, r0, r1, MOVE): Define.
6536 (JUMPTARGET): Remove.
6537 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
6538 sysdeps/unix/sparc/sysdep.h
6539 (ENTRY, END): Remove.
6540 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6541
a3cc4f48
JM
65422012-04-25 Joseph Myers <joseph@codesourcery.com>
6543
2ed8cda2
JM
6544 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
6545 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
6546 -DIS_IN_build.
6547
35d76d59
JM
6548 * timezone/README: Update upstream location and email address for
6549 tzcode and tzdata.
6550 * timezone/zdump.c: Update from tzcode 2012b.
6551 * timezone/zic.c: Likewise.
6552
a3cc4f48
JM
6553 * configure.in (libc_cv_as_needed): Remove test.
6554 * configure: Regenerated.
6555 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
6556 conditional definition.
6557 [$(have-as-needed) != yes] (no-as-needed): Likewise.
6558 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
6559 * config.make.in (have-as-needed): Remove variable.
6560
ceab42c3
SP
65612012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6562 Paul Pluzhnikov <ppluzhnikov@google.com>
6563
6564 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
6565 strings correctly.
6566
3ce2865f
CLT
65672012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
6568
6569 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
6570 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
6571 * sysdeps/sh/strlen.S: Likewise.
6572
f37e0d68
JM
65732012-04-24 Joseph Myers <joseph@codesourcery.com>
6574
ae186e9a
JM
6575 * sysdeps/unix/fork.S: Remove file.
6576 * sysdeps/unix/i386/fork.S: Likewise.
6577 * sysdeps/unix/sparc/fork.S: Likewise.
6578
b96914af
JM
6579 * sysdeps/unix/system.c: Remove file.
6580 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
6581
f37e0d68
JM
6582 * sysdeps/unix/getegid.S: Remove file.
6583 * sysdeps/unix/geteuid.S: Likewise.
6584
87ef29ca
RM
65852012-04-24 Roland McGrath <roland@hack.frob.com>
6586
83bcd236
RM
6587 * scripts/check-localplt.awk: New file.
6588 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
6589 of diff.
6590 * scripts/data/localplt-generic.data: Add a comment.
6591
87ef29ca
RM
6592 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
6593 NODE when __dir_mkfile failed.
6594 * sysdeps/mach/hurd/symlinkat.c: Likewise.
6595 Reported by Ludovic Courtès <ludo@gnu.org>.
6596
e5a6e567
AJ
65972012-04-24 Andreas Jaeger <aj@suse.de>
6598
6599 * Makerules (common-clean): Also remove gen-as-const-headers
6600 files.
6601
c1820385
JM
66022012-04-24 Joseph Myers <joseph@codesourcery.com>
6603
6604 * Makerules (native-compile): Do not change working directory for
6605 build. Use $(OUTPUT_OPTION) in command.
6606 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
6607
94e02fc4
AZ
66082012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6609
6610 [BZ #13886]
6611 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
6612 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
6613 * math/libm-test.inc (floor_test): Add more tests.
6614 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
6615
3a533ca3
JM
66162012-04-24 Joseph Myers <joseph@codesourcery.com>
6617
940ab4b3
JM
6618 * sysdeps/unix/getdents.c: Remove file.
6619 * sysdeps/unix/sysv/getdents.c: Likewise.
6620 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
6621
90e037bd
JM
6622 * sysdeps/unix/syscalls.list (madvise): Add syscall from
6623 sysdeps/unix/mman/syscalls.list.
6624 (mmap): Likewise.
6625 (mprotect): Likewise.
6626 (msync): Likewise.
6627 (munmap): Likewise.
6628 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
6629 * sysdeps/unix/mman/syscalls.list: Remove.
6630 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
6631
3a533ca3
JM
6632 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
6633 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
6634 * configure: Regenerated.
6635 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
6636 $(libgcc_s_suffix).
6637 * config.make.in (libgcc_s_suffix): Remove variable.
6638
1ad743de
JM
66392012-04-23 Joseph Myers <joseph@codesourcery.com>
6640
4ad451e2
JM
6641 * sysdeps/unix/sysv/gethostname.c: Move to ...
6642 * sysdeps/posix/gethostname.c: ... here.
6643
5e37ce39
JM
6644 * sysdeps/unix/execve.S: Remove file.
6645
1ad743de
JM
6646 * sysdeps/unix/_exit.S: Remove file.
6647
4e681b5b
AJ
66482012-04-23 Andreas Jaeger <aj@suse.de>
6649
6650 [BZ #13739]
6651 * manual/Makefile: Remove make dist support, there's no
6652 need for a stand-alone documentation tar ball.
6653 (TEXI2DVI): Define always, it's not in Makeconfig.
6654 (dist): Removed.
6655 (tar-it): Removed.
6656 (edition): Removed.
6657 (glibc-doc-$(edition).tar): Removed
6658 (%.Z): Removed.
6659 (%.gz): Removed.
6660 (%.uu): Removed.
6661 (ETAGS): Remove, it's in Makeconfig.
6662 (move-if-change): Remove, it's in Makeconfig.
6663
c0baea34
PE
66642013-04-23 Paul Eggert <eggert@cs.ucla.edu>
6665
6666 [BZ #13970]
6667 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
6668 (strtod, strtof, strtold, strtol, strtoul, strtoq)
6669 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
6670 (strtod_l, strtof_l, strtold_l): Remove __wur.
6671 It is not necessarily an error to ignore strtol's return value.
6672 One can reliably look at the stored endptr to decide whether
6673 the number had valid syntax.
6674
7c0616fa
AJ
66752012-04-21 Andreas Jaeger <aj@suse.de>
6676
803cb6b7 6677 [BZ #13739]
7c0616fa
AJ
6678 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
6679
b0fe253f
JM
66802012-04-21 Joseph Myers <joseph@codesourcery.com>
6681
6682 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
6683 * sysdeps/unix/sysv/Versions: Remove file.
6684
8280f22d
MT
66852012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
6686
6687 [BZ #13927]
6688 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6689
75ce411f 66902012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
6691
6692 [BZ #7064]
6693 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
6694 version from __vm86.
6695
097d59fa
JM
66962012-04-20 Joseph Myers <joseph@codesourcery.com>
6697
a90f3bcb
JM
6698 * sysdeps/unix/common/lxstat.c: Remove file.
6699 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
6700
edc7ea78
JM
6701 * sysdeps/unix/sysv/Makefile: Remove file.
6702
cb78c221
JM
6703 * sysdeps/unix/sysv/direct.h: Remove file.
6704
efa6a45f
JM
6705 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
6706 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
6707 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
6708 * sysdeps/unix/sysv/bits/signum.h: Likewise.
6709 * sysdeps/unix/sysv/bits/stat.h: Likewise.
6710 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
6711 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
6712
9c9f2d0c
JM
6713 * sysdeps/unix/sysv/setrlimit.c: Remove file.
6714
4541c83b
JM
6715 * sysdeps/unix/xmknod.c: Remove file.
6716 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
6717
f5d153a0
JM
6718 * sysdeps/unix/sysv/settimeofday.c: Remove file.
6719
aa746595
JM
6720 * sysdeps/unix/sysv/i386/time.S: Remove file.
6721
cce5905e
JM
6722 * sysdeps/unix/fxstat.c: Remove file.
6723 * sysdeps/unix/xstat.c: Likewise.
6724 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
6725
37fa3841
JM
6726 * sysdeps/unix/sysv/sigaction.c: Remove file.
6727
ff1962a3
JM
6728 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
6729 (sysdep_headers): Remove variable.
6730 [termio.h not in sysdep_headers] (generated): Likewise.
6731 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
6732 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
6733 * sysdeps/unix/sysv/tcdrain.c: Likewise.
6734 * sysdeps/unix/sysv/tcflow.c: Likewise.
6735 * sysdeps/unix/sysv/tcflush.c: Likewise.
6736 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
6737 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
6738 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6739 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6740 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
6741
e7740d31
JM
6742 * sysdeps/unix/siglist.c: Remove file.
6743
ee06f18b
JM
6744 * sysdeps/unix/getppid.S: Remove file.
6745
097d59fa
JM
6746 * sysdeps/unix/mkdir.c: Remove file.
6747 * sysdeps/unix/rmdir.c: Likewise.
6748
ff3d51ec
AS
67492012-04-19 Andreas Schwab <schwab@linux-m68k.org>
6750
6751 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
6752 ERR_MAX value.
6753 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
6754 errlist-compat value.
6755
50f81fd7
DM
67562012-04-18 David S. Miller <davem@davemloft.net>
6757
6758 * sysdeps/generic/memcopy.h (reg_char): Delete.
6759 * debug/strcat_chk.c: Use char, not reg_char.
6760 * debug/strcpy_chk.c: Likewise.
6761 * debug/strncat_chk.c: Likewise.
6762 * debug/strncpy_chk.c: Likewise.
6763 * string/memchr.c: Likewise.
6764 * string/memrchr.c: Likewise.
6765 * string/rawmemchr.c: Likewise.
6766 * string/strcat.c: Likewise.
6767 * string/strchr.c: Likewise.
6768 * string/strchrnul.c: Likewise.
6769 * string/strcmp.c: Likewise.
6770 * string/strcpy.c: Likewise.
6771 * string/strncat.c: Likewise.
6772 * string/strncmp.c: Likewise.
6773 * string/strncpy.c: Likewise.
6774
8ff41c46
WS
67752012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6776
6777 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
6778 __builtin_memcopy is called when src and dest ranges are known to not
6779 overlap.
6780
6b652f46
WS
67812012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6782
6783 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
6784 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
6785 fwd_align_merge macro call.
6786 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
6787 bwd_align_merge macro call.
6788 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6789
b282631e
WS
67902012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6791
6792 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
6793 bwd_align_merge macros.
6794 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
6795 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
6796 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6797
95aa737c
DM
67982012-04-18 David S. Miller <davem@davemloft.net>
6799
6800 * sysdeps/sparc/sparc64/memcopy.h: Delete.
6801
7a99a614
AJ
68022012-04-18 Andreas Jaeger <aj@suse.de>
6803
6804 [BZ# 6794]
6805 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
6806 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
6807 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6808
6809 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
6810 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
6811 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6812
6813 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
6814 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
6815 Adjust for changed ldbl-128 files.
6816
6817 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
6818 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
6819 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6820
e5270c23
DM
68212012-04-17 David S. Miller <davem@davemloft.net>
6822
6823 * sysdeps/sparc/sparc32/memcopy.h: Delete.
6824
fb5e92c9
AS
68252012-04-17 Andreas Schwab <schwab@linux-m68k.org>
6826
6827 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
6828 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
6829 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
6830 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
6831 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6832 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
6833
76da7265
AZ
68342012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6835
6836 [BZ #6794]
6837 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
6838 * math/libm-test.inc: Add ilogb errno and exception tests.
6839 * math/w_ilogb.c: New file: ilogb wrapper.
6840 * math/w_ilogbf.c: New file: ilogbf wrapper.
6841 * math/w_ilogbl.c: New file: ilogbl wrapper.
6842 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
6843 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
6844 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
6845 exception being thrown with 0.0 as argument.
6846 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
6847 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
6848 exception being thrown with 0.0 as argument.
6849 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
6850 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6851 exception being thrown with 0.0 as argument.
6852 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
6853 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6854 exception being thrown with 0.0 as argument.
6855 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
6856 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 6857 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
6858 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
6859 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
6860 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
6861 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
6862 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
6863 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
6864
0396e69d
PB
68652012-04-17 Petr Baudis <pasky@ucw.cz>
6866
6867 * include/sys/uio.h: Change __vector to __iovec to avoid clash
6868 with altivec.
6869
750b5926
MP
68702012-04-16 Marek Polacek <polacek@redhat.com>
6871
6872 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
6873
751728a1
MP
68742012-04-16 Marek Polacek <polacek@redhat.com>
6875
6876 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
6877 operands of fdivp instruction.
6878
34a27407
L
68792012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6880
6881 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
6882 * elf/tst-auditmod3b.c: Likewise.
6883 * elf/tst-auditmod4b.c: Likewise.
6884 * elf/tst-auditmod5b.c: Likewise.
6885 * elf/tst-auditmod6b.c: Likewise.
6886 * elf/tst-auditmod6c.c: Likewise.
6887 * elf/tst-auditmod7b.c: Likewise.
6888 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
6889 * sysdeps/x86_64/preconfigure.in: Likewise.
6890 * sysdeps/x86_64/preconfigure: Regenerated.
6891
7e73e17d
L
68922012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6893
6894 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
6895 __ILP32__.
6896
c7a6ab72
AB
68972012-04-13 Antoine Balestrat <merkil33@gmail.com>
6898
6899 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6900 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
6901
a9e8e0e0
CL
69022012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
6903
6904 [BZ #13973]
6905 * locale/iso-639.def: Fix gl language name. Spotted by
6906 Yaron Shahrabani.
6907
ec98af7d
RM
69082012-04-12 Roland McGrath <roland@hack.frob.com>
6909
6910 [BZ #2074]
6911 * libio/libio.h (__io_write_fn): Update comment.
6912
247c3ede
PB
69132012-04-12 Petr Baudis <pasky@ucw.cz>
6914
6915 [BZ #2074]
6916 * stdio.texi (Hook Functions): The user provided writer function
6917 is not allowed to return -1.
6918
55939d6d
DM
69192012-04-11 David S. Miller <davem@davemloft.net>
6920
6921 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6922
90020f5a
MF
69232012-04-11 Mike Frysinger <vapier@gentoo.org>
6924
6925 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
6926 Add a leading slash to rtkaio.
6927
288f9098
JM
69282012-04-11 Jim Meyering <meyering@redhat.com>
6929
90020f5a
MF
6930 [BZ #11959]
6931 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
6932 It is not necessarily an error to ignore fwrite's return
6933 value. One can reliably use ferror to test for errors after
6934 the fact.
288f9098 6935
4be2b570
L
69362012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6937
6938 * bits/types.h (__snseconds_t): New type.
6939 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
6940
6941 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
6942 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6943 (__SNSECONDS_T_TYPE): Likewise.
6944 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6945 (__SNSECONDS_T_TYPE): Likewise.
6946 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6947 (__SNSECONDS_T_TYPE): Likewise.
6948
288f9098 69492012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
6950
6951 [BZ #2636]
6952 * manual/time.texi (Processor Time): Return type of times is
6953 elapsed real time since an arbitrary point in the past.
6954 (CPU Time): Move CLK_TCK from here...
6955 (Processor Time): ...to here. Correct description.
6956 * manual/conf.texi (Constants for Sysconf): Correct description of
6957 _SC_CLK_TCK.
6958
d7dd4413
DM
69592012-04-10 David S. Miller <davem@davemloft.net>
6960
6961 [BZ #13967]
6962 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
6963 where the is a gap between DT_REL(A) and DT_JMPREL.
6964
b46068fc
L
69652012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6966
6967 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
6968 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6969 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6970
73d65cc3
SP
69712012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6972
6973 * elf/dl-support.c (_dl_inhibit_cache): New variable.
6974 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
6975 (dl_main): Handle --inhibit-cache.
6976 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
6977 _dl_inhibit_cache.
6978 * elf/dl-load.c (_dl_map_object): Use it.
6979 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
6980
bcc8d661
JM
69812012-04-09 Joseph Myers <joseph@codesourcery.com>
6982
8f9a2fae
JM
6983 [BZ #13872]
6984 * sysdeps/i386/fpu/e_powl.S (p78): New object.
6985 (__ieee754_powl): Saturate large exponents rather than testing for
6986 overflow of y*log2(x).
6987 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6988 * math/libm-test.inc (pow_test): Do not permit spurious overflow
6989 exceptions.
6990
bcc8d661
JM
6991 [BZ #11521]
6992 * math/s_ctan.c: Include <float.h>.
6993 (__ctan): Avoid internal overflow or cancellation in calculating
6994 denominator.
6995 * math/s_ctanf.c: Likewise.
6996 * math/s_ctanl.c: Likewise.
6997 * math/s_ctanh.c: Likewise.
6998 * math/s_ctanhf.c: Likewise.
6999 * math/s_ctanhl.c: Likewise.
7000 * math/libm-test.inc (ctan_test): Add more tests.
7001 (ctanh_test): Likewise.
7002 * sysdeps/i386/fpu/libm-test-ulps: Update.
7003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7004
823fbbb4
AJ
70052012-04-09 Andreas Jaeger <aj@suse.de>
7006
03879793
AJ
7007 [BZ #6894]
7008 * manual/filesys.texi (Directory Entries): Mention that d_namlen
7009 is an optional BSD extension.
7010
823fbbb4
AJ
7011 [BZ #10254]
7012 * manual/stdio.texi (Opening Streams): Document additional fopen
7013 parameters.
7014
8de131cb
RM
70152012-04-09 Roland McGrath <roland@hack.frob.com>
7016
7017 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
7018 %eax without telling the compiler.
7019
c0ed9d7d
CD
70202012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
7021
7022 [BZ # 13963]
7023 * manual/install.texi: Use sourceware.org.
7024
c483f6b4
JM
70252012-04-09 Joseph Myers <joseph@codesourcery.com>
7026
d7dd9453
JM
7027 [BZ #13873]
7028 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
7029 (__ieee754_pow): Generate overflow and underflow using huge*huge
7030 and tiny*tiny rather than just returning constant infinity or zero
7031 for large exponents.
7032 * math/libm-test.inc (pow_test): Require overflow exceptions for
7033 applicable cases of large exponents.
7034
c483f6b4
JM
7035 [BZ #706]
7036 * sysdeps/i386/fpu/e_pow.S (p10): New object.
7037 (__ieee754_pow): Use iterative multiplication algorithm only for
7038 integer exponents with absolute value below 1024. Check for odd
7039 integer exponents when using algorithm for real exponents.
7040 * math/libm-test.inc (pow_test): Add more tests.
7041 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7042
d2de7579
JM
70432012-04-08 Joseph Myers <joseph@codesourcery.com>
7044
7045 [BZ #13705]
7046 * math/libm-test.inc (exp_test): Do not allow overflow exception
7047 on underflow test.
7048
f77f1232
AJ
70492012-04-08 Aurelien Jarno <aurelien@aurel32.net>
7050
7051 [BZ #13705]
7052 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
7053 instead of __kernel_standard_f.
7054
3884932b
MF
70552012-04-08 Mike Frysinger <vapier@gentoo.org>
7056
7057 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
7058 * sysdeps/x86_64/memset_chk.S: Likewise.
7059
54472e9c
AJ
70602012-04-08 Andreas Jaeger <aj@suse.de>
7061
6ab0fbfc
AJ
7062 [BZ #10153]
7063 * manual/startup.texi (Environment Access): Describe return value
7064 for putenv and setenv.
7065
61efba8c
AJ
7066 [BZ #6895]
7067 * manual/filesys.texi (Directory Entries): Add description for
7068 DT_LNK.
7069
95c3f29a
AJ
7070 [BZ #6890]
7071 * manual/filesys.texi (Directory Entries): Clarify that it's file
7072 system not operating system in the description of DT_UNKNOWN.
7073
54472e9c
AJ
7074 [BZ #6578]
7075 * manual/syslog.texi (closelog): Fix reference, it's openlog.
7076
624254b1
SC
70772012-04-08 Stephen Compall <s11@member.fsf.org>
7078
7079 [BZ #6649]
7080 * manual/llio.texi (Opening and Closing Files): Add cross
7081 reference to explain mode argument.
7082
1e4920e0
MF
70832012-04-07 Mike Frysinger <vapier@gentoo.org>
7084
7085 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
7086 * sysdeps/x86_64/memset_chk.S: Likewise.
7087
5ed848f3
DM
70882012-04-07 David S. Miller <davem@davemloft.net>
7089
7090 * elf/elf.h (R_SPARC_WDISP10): Define.
7091 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
7092 R_SPARC_SIZE32.
7093 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7094 R_SPARC_SIZE64 and R_SPARC_H34.
7095
96154cd8
CD
70962012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
7097
7098 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
7099 conditions and remove no longer applicable assertion.
7100
9904dc47
L
71012012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7102
7103 * bits/byteswap.h: Include <features.h>.
7104 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7105 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7106
f8887d0a
L
71072012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7108
7109 * bits/byteswap.h (__bswap_16): Removed.
7110 Include <bits/byteswap-16.h> to get __bswap_16.
7111 * sysdeps/i386/bits/byteswap.h: Likewise.
7112 * sysdeps/s390/bits/byteswap.h: Likewise.
7113 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7114 * bits/byteswap-16.h: New file.
7115 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7116 * sysdeps/s390/bits/byteswap-16.h: Likewise.
7117 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
7118 * string/Makefile (headers): Add bits/byteswap-16.h.
7119
62470f60
PP
71202012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7121
7122 [BZ #13895]
7123 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
7124 extra indirection.
7125 * nss/Makefile (tests-static, tests): Add tst-nss-static.
7126 * nss/tst-nss-static.c: New.
7127
4dad7bab
RM
71282012-04-06 Robert Millan <rmh@gnu.org>
7129
7130 [BZ #6486]
7131 * manual/llio.texi (File Position Primitive): lseek
7132 refers to WHENCE when it really means OFFSET.
7133
e9142a17
AJ
71342012-04-06 Andreas Jaeger <aj@suse.de>
7135
2c040eff
AJ
7136 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
7137 strncmp declarations.
7138
e9142a17
AJ
7139 * abilist/libc.abilist: Add __poll and __ppoll.
7140
ff9f1c5f
DM
71412012-04-05 David S. Miller <davem@davemloft.net>
7142
dcd2ae90
DM
7143 * scripts/check-local-headers.sh: Accept a host triplet in the
7144 path matched by the exclude regexp.
7145
993eb054
DM
7146 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
7147 definition.
7148 * sysdeps/powerpc/powerpc32/dl-machine.h
7149 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
7150 * sysdeps/s390/s390-32/dl-machine.h
7151 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7152 * sysdeps/sparc/sparc32/dl-machine.h
7153 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7154 * sysdeps/sparc/sparc64/dl-machine.h
7155 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7156
ff9f1c5f
DM
7157 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
7158 lazy binding.
48e2e132 7159 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
7160 undefined symbol errors.
7161
48e2e132 7162 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
7163 DT_NEEDED entries.
7164
e80d6f94
MM
71652012-04-05 Michael Matz <matz@suse.de>
7166
7167 [BZ #13592]
7168 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
7169
349fa79f
AJ
71702012-04-05 Andreas Jaeger <aj@suse.de>
7171
7172 [BZ #13908]
7173 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
7174 comment.
7175
f402708f
KK
71762012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7177
7178 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
7179 which ROUND is no valid rounding mode.
7180
2ecccfc9
KK
71812012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7182
7183 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
7184 read again.
7185 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
7186
8a53f50f
KK
71872012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7188
7189 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
7190 an exception using FPU order intentionally.
7191
71922012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7193
7194 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
7195 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
7196 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
7197 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
7198
d653abb7
SJ
71992012-04-05 Simon Josefsson <simon@josefsson.org>
7200
7201 [BZ #12340]
7202 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
7203 EINVAL when BUFLEN is too smal.
7204
c3b1bf7d
TS
72052012-04-05 Thomas Schwinge <thomas@codesourcery.com>
7206
7207 [BZ #13553]
7208 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
7209 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
7210
b1aa60f3
AJ
72112012-04-03 Andreas Jaeger <aj@suse.de>
7212
c3b1bf7d 7213 [BZ #13938]
67f60a26
AJ
7214 * manual/setjmp.texi (System V contexts): Fix sentence.
7215
b1aa60f3
AJ
7216 [BZ #13926]
7217 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
7218 New macro for this case.
7219 [!__GNUC__] (__bswap_64): New inline function for this case.
7220 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7221 * bits/byteswap.h: Likewise.
7222 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
7223 ull, guard with __GLIBC_HAVE_LONG_LONG.
7224
7225 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
7226 __GLIBC_HAVE_LONG_LONG.
7227
7228 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
7229 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
7230
39c59c35
TMQMF
72312012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7232
7233 [BZ #13691]
7234 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7235 inptr and inend, rather than using last_ch.
7236
135ffda8
DM
72372012-04-02 David S. Miller <davem@davemloft.net>
7238
7239 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7240 * stdio-common/printf-parse.h (read_int): Change return type to
7241 'int', return -1 on INT_MAX overflow.
7242 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7243 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
7244 overflows INT_MAX. Check for overflow of in-format-string precision
7245 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
7246 SIZE_MAX not INT_MAX for integer overflow test.
7247 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7248 skip the construct in the format string but do not record anything.
7249 * stdio-common/bug22.c: Adjust to test both width/prevision
7250 INT_MAX overflow as well as total length INT_MAX overflow. Check
7251 explicitly for proper errno values.
7252
228c019e
TS
72532012-04-02 Thomas Schwinge <thomas@codesourcery.com>
7254
302cadd3
TS
7255 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7256 CHAR_MAX.
7257 * string/test-strcmp.c [! WIDE]: Likewise.
7258 * time/tst-mktime2.c: Likewise for INT_MAX.
7259 * string/test-string.h: #include <sys/param.h> for MIN.
7260
228c019e
TS
7261 * csu/init-first.c (__libc_init_first): Call __ctype_init.
7262 * sysdeps/i386/init-first.c (init): Likewise.
7263 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7264 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7265 * sysdeps/sh/init-first.c (init): Likewise.
7266
cfa633f5
UD
72672012-04-01 Ulrich Drepper <drepper@gmail.com>
7268
7269 * po/ru.po: Update from translation team.
d1635ef8 7270 * po/vi.po: Likewise.
cfa633f5 7271
6cd0a5ea
SP
72722012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7273
7274 * resolv/nss_dns/dns-host.c: Merge copyright years.
7275
4b43400f
LD
72762012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7277
7278 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7279 Optimize memcpy with prefetch if
7280 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
7281 src, dst pointers have unequal 16 byte alignments.
7282
48c41d04
SP
72832012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7284
7285 [BZ #13928]
7286 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7287 from a CNAME entry and return the minimum ttl for the query.
7288 (gaih_getanswer_slice): Likewise.
7289
b8dc394d
JL
72902012-03-30 Jeff Law <law@redhat.com>
7291
7292 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7293 due to long keys.
7294 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7295 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7296
2f5a5ed0
JL
7297 * resolv/nss_dns/dns-host.c: Update copyright year.
7298
1d39e359
UD
72992012-03-30 Ulrich Drepper <drepper@gmail.com>
7300
c030f70c 7301 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 7302 requests to save a system call. Fix check that all bytes are sent.
c030f70c 7303
1d39e359
UD
7304 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7305 comments for sendmmsg.
7306
73072012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
7308
7309 [BZ #13691]
7310 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7311 with only 1 character between 0x0041 and 0x01b0.
7312 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7313 * wcsmbs/tst-mbsnrtowcs.c: New file.
7314
20fde227
DM
73152012-03-29 David S. Miller <davem@davemloft.net>
7316
7317 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7318 small copies by hand.
7319
984a4237
JL
73202012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7321
7322 [BZ #13761]
7323 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7324 _nss_compat_initgroups_dyn): Fall back to malloc/free
7325 for large group memberships.
7326
18c9d62b
DM
73272012-03-28 David S. Miller <davem@davemloft.net>
7328
88d85d4f
DM
7329 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
7330 that branches into memcpy.
7331 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7332 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7333 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7334 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7335 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
7336 bits.
7337 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
7338 implementation too.
7339 * sysdeps/sparc/mempcpy.S: New file.
7340
e5aa83e1
DM
7341 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
7342 the IFUNC routine in the libc case.
7343 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7344
88570753
DM
7345 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
7346 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
7347 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
7348 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7349 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
7350 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
7351 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
7352 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
7353
249d7567
DM
7354 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
7355 loop to 256 bytes instead of 64 bytes and fix test signedness.
7356
18c9d62b
DM
7357 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
7358 * sysdeps/sparc/sparc32/Makefile: rather than here...
7359 * sysdeps/sparc/sparc64/Makefile: and here.
7360
05f3d1f6
UD
73612012-03-28 Ulrich Drepper <drepper@gmail.com>
7362
7363 * malloc/mallocbug.c: Avoid warnings about unused variables.
7364
86ae07a8
JL
73652012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7366
7367 [BZ #13760]
7368 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
7369 in the right place. Discard and retry query if response is
7370 larger than input buffer size.
7371
41bf21a1
JM
73722012-03-28 Joseph Myers <joseph@codesourcery.com>
7373
d6270972
JM
7374 [BZ #369]
7375 [BZ #2678]
7376 [BZ #3866]
7377 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
7378 x for large integer exponent.
7379 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7380 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
7381 sign of result as needed afterwards.
7382 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7383 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
7384 result for underflowing pow the same as for overflow.
7385 (__kernel_standard_l): Handle powl overflow and underflow here
7386 rather than calling __kernel_standard.
7387 * math/libm-test.inc (pow_test): Add more tests.
7388
414fca03 7389 [BZ #3868]
41bf21a1
JM
7390 [BZ #13879]
7391 [BZ #13910]
7392 [BZ #13911]
7393 [BZ #13912]
7394 [BZ #13913]
7395 [BZ #13915]
7396 [BZ #13916]
7397 [BZ #13917]
7398 [BZ #13918]
7399 [BZ #13919]
7400 [BZ #13920]
7401 [BZ #13921]
7402 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
7403 * sysdeps/ieee754/k_standard.c: Include <float.h>.
7404 (__kernel_standard_l): New function.
7405 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
7406 __kernel_standard.
7407 * math/w_acosl.c (__acosl): Likewise.
7408 * math/w_asinl.c (__asinl): Likewise.
7409 * math/w_atan2l.c (__atan2l): Likewise.
7410 * math/w_atanhl.c (__atanhl): Likewise.
7411 * math/w_coshl.c (__coshl): Likewise.
7412 * math/w_exp10l.c (__exp10l): Likewise.
7413 * math/w_exp2l.c (__exp2l): Likewise.
7414 * math/w_fmodl.c (__fmodl): Likewise.
7415 * math/w_hypotl.c (__hypotl): Likewise.
7416 * math/w_j0l.c (__j0l, __y0l): Likewise.
7417 * math/w_j1l.c (__j1l, __y1l): Likewise.
7418 * math/w_jnl.c (__jnl, __ynl): Likewise.
7419 * math/w_lgammal.c (__lgammal): Likewise.
7420 * math/w_log10l.c (__log10l): Likewise.
7421 * math/w_log2l.c (__log2l): Likewise.
7422 * math/w_logl.c (__logl): Likewise.
7423 * math/w_powl.c (__powl): Likewise.
7424 * math/w_remainderl.c (__remainderl): Likewise.
7425 * math/w_scalbl.c (sysv_scalbl): Likewise.
7426 * math/w_sinhl.c (__sinhl): Likewise.
7427 * math/w_sqrtl.c (__sqrtl): Likewise.
7428 * math/w_tgammal.c (__tgammal): Likewise.
7429 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
7430 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
7431 * math/libm-test.inc (acos_test): Add more tests.
7432 (acosh_test): Likewise.
7433 (asin_test): Likewise.
7434 (atanh_test): Likewise.
7435 (exp_test): Likewise.
7436 (exp10_test): Likewise.
7437 (exp2_test): Likewise.
7438 (expm1_test): Likewise.
7439 (lgamma_test): Likewise.
7440 (log_test): Likewise.
7441 (log10_test): Likewise.
7442 (log1p_test): Likewise.
7443 (log2_test): Likewise.
7444 (pow_test): Do not allow some spurious overflow exceptions.
7445 (sqrt_test): Add more tests.
7446 (tgamma_test): Likewise.
7447 (y0_test): Likewise.
7448 (y1_test): Likewise.
7449 (yn_test): Likewise.
7450
dd62fda6
AB
74512012-03-27 Anton Blanchard <anton@samba.org>
7452
7453 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
7454 MAP_HUGETLB.
7455 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7456 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7457 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7458
1e3cdfda
AJ
74592012-03-27 David S. Miller <davem@davemloft.net>
7460
b855ab85
DM
7461 * conform/Makefile: Run run-conformtest.sh using $(BASH).
7462
1e3cdfda
AJ
7463 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
7464 have-as-vis3 check.
7465
74662012-03-27 Andreas Jaeger <aj@suse.de>
7467
7468 * sysdeps/x86_64/elf/configure.in: Moved to ...
7469 * sysdeps/x86_64/configure.in: ... here.
7470 * sysdeps/x86_64/elf/start.S: Moved to ...
7471 * sysdeps/x86_64/start.S: ... here.
7472 * sysdeps/x86_64/elf/configure: Delete.
7473
7474 * sysdeps/x86_64/configure.in: Merge contents from
7475 sysdeps/i386/configure.in (without i686 check).
7476
7477 * sysdeps/i386/elf/Versions: Merge into ...
7478 * sysdeps/i386/Versions: ... this.
7479 * sysdeps/i386/elf/Versions: Delete file.
7480 * sysdeps/i386/elf/start.S: Moved to ...
7481 * sysdeps/i386/start.S: ...here.
7482 * sysdeps/i386/elf/configure.in: Merge into...
7483 * sysdeps/i386/configure.in: ...here.
7484 * sysdeps/i386/elf/configure.in: Delete file.
7485 * sysdeps/i386/elf/configure: Delete file.
7486
7487 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
7488 * debug/backtracesyms.c: ... here.
7489 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
7490 * debug/backtracesymsfd.c: ... here.
7491 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
7492 * sysdeps/generic/ifunc-sel.h: ... here.
7493
7494 * sysdeps/unix/i386/start.c: Delete file.
7495 * sysdeps/unix/sparc/start.c: Delete file.
7496 * sysdeps/unix/start.c: Delete file.
7497
7498 * sysdeps/sh/elf/configure.in: Moved to ...
7499 * sysdeps/sh/configure.in: ... here.
7500 * sysdeps/sh/elf/start.S: Moved to ...
7501 * sysdeps/sh/start.S: ... here.
7502 * sysdeps/sh/elf/configure: Delete file.
7503
7504 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
7505 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
7506 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
7507 * sysdeps/powerpc/powerpc64/entry.h: ... here.
7508 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
7509 * sysdeps/powerpc/powerpc64/start.S: here.
7510 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
7511 * sysdeps/powerpc/powerpc64/Makefile: ... this.
7512 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
7513 * sysdeps/powerpc/powerpc64/configure.in: ... this.
7514 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
7515
7516 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
7517 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
7518 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
7519 * sysdeps/powerpc/powerpc32/start.S: ... here.
7520 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
7521 * sysdeps/powerpc/powerpc32/configure.in: ... this.
7522 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
7523
7524 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
7525 * sysdeps/powerpc/ifunc-sel.h: ... here.
7526 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
7527 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
7528
7529 * sysdeps/sparc/elf/configure.in: Moved to ...
7530 * sysdeps/sparc/configure.in: ... here.
7531 * sysdeps/sparc/elf/configure: Delete file.
7532 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
7533 * sysdeps/sparc/sparc32/start.S: ... here.
7534 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
7535 * sysdeps/sparc/sparc64/start.S: ... here.
7536 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
7537 * sysdeps/sparc/sparc32/Makefile: ... this.
7538 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
7539 * sysdeps/sparc/sparc64/Makefile: ... this.
7540
7541 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
7542 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
7543 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
7544 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
7545 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
7546 * sysdeps/s390/s390-32/setjmp.S: ... here.
7547 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
7548 * sysdeps/s390/s390-32/configure.in: ... here.
7549 * sysdeps/s390/s390-32/elf/configure: Delete file.
7550 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
7551 * sysdeps/s390/s390-32/start.S: ... here.
7552
7553 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
7554 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
7555 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
7556 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
7557 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
7558 * sysdeps/s390/s390-64/setjmp.S: ... here.
7559 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
7560 * sysdeps/s390/s390-64/configure.in: ... here
7561 * sysdeps/s390/s390-64/elf/configure: Delete file.
7562 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
7563 * sysdeps/s390/s390-64/start.S: ... here.
7564 * sysdeps/s390/s390-64/elf/configure: Delete.
7565
7566 * configure.in: Remove support for elf directories in sysdeps.
7567
7568 * configure: Regenerated.
7569 * sysdeps/i386/configure: Regenerated.
7570 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7571 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7572 * sysdeps/s390/s390-32/configure: Regenerated.
7573 * sysdeps/s390/s390-64/configure: Regenerated.
7574 * sysdeps/sh/configure: Regenerated.
7575 * sysdeps/sparc/configure: Regenerated.
7576 * sysdeps/x86_64/configure: Regenerated.
7577
a3f61311
AS
75782012-03-26 Andreas Schwab <schwab@linux-m68k.org>
7579
c876e002
AS
7580 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7581
a3f61311
AS
7582 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
7583 denormal result into account.
7584
ac4c54f0
RM
75852012-03-25 Roland McGrath <roland@hack.frob.com>
7586
7587 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
7588 Reported by Allan McRae <allan@archlinux.org>.
7589
6a9b9c02
JL
75902012-03-23 Jeff Law <law@redhat.com>
7591
7592 * nss/getnssent.c (__nss_getent): Fix typo.
7593
4c42a0c1
DM
75942012-03-23 David S. Miller <davem@davemloft.net>
7595
7596 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7597
1532c7ac
L
75982012-03-23 H.J. Lu <hongjiu.lu@intel.com>
7599
7600 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
7601 to pad to uint64_t for each field.
7602 (dl_tls_index): Replace unsigned long with uint64_t.
7603
3ff42526
PP
76042012-03-23 Daniel Jacobowitz <dmj@google.com>
7605 Paul Pluzhnikov <ppluzhnikov@google.com>
7606
7607 [BZ #6528]
7608 * grp/Makefile (otherlibs): Don't set it.
7609 * inet/Makefile (otherlibs): Likewise.
7610 * login/Makefile (otherlibs): Likewise.
7611 * nscd/Makefile (otherlibs): Likewise.
7612 * posix/Makefile (otherlibs): Likewise.
7613 * pwd/Makefile (otherlibs): Likewise.
7614 * rt/Makefile (otherlibs): Likewise.
7615 * sunrpc/Makefile (otherlibs): Likewise.
7616 * nss/Makefile (otherlibs): Likewise.
7617 Add libnss_files to routines and static-only-routines.
7618 ($(objpfx)getent): Remove rule.
7619 * resolv/Makefile: Add libnss_dns and libresolv to routines and
7620 static-only-routines.
7621
7c69cd14
JM
76222012-03-22 Joseph Myers <joseph@codesourcery.com>
7623
7624 [BZ #13892]
7625 * math/s_cexp.c: Include <float.h>.
7626 (__cexp): Handle exp result overflowing not necessarily
7627 overflowing both real and imaginary parts of result.
7628 * math/s_cexpf.c: Likewise.
7629 * math/s_cexpl.c: Likewise.
7630 * math/libm-test.inc (cexp_test): Add more tests.
7631 * sysdeps/i386/fpu/libm-test-ulps: Update.
7632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7633
81b035fe
L
76342012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7635
7636 * include/link.h (ELFW): New macro.
7637 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
7638 Replace ELF64_R_TYPE with ELFW(R_TYPE).
7639
1da7940c
L
76402012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7641
7642 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
7643 with uint64_t.
7644
b749dbb9
L
76452012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7646
7647 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
7648 declaration.
7649 (struct La_x32_retval): Likewise.
7650
2ff87f3f
L
76512012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7652
7653 * sysdeps/x86_64/preconfigure.in: New file.
7654 * sysdeps/x86_64/preconfigure: New generated file.
7655
c0df8e69
JM
76562012-03-22 Joseph Myers <joseph@codesourcery.com>
7657
48e44791
JM
7658 [BZ #13824]
7659 * math/e_exp2l.c: Include <float.h>.
7660 (__ieee754_exp2l): Handle overflow and underflow cases
7661 separately. Only pass fractional part of argument to
7662 __ieee754_expl.
7663 * math/libm-test.inc (exp2_test): Add more tests.
7664
c0df8e69
JM
7665 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
7666 negating x to take absolute value.
7667 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7668 Likewise.
7669 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7670 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7671 Likewise.
7672 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
7673 computing low part if x was negated.
7674 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7675
c8e43ba7
L
76762012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7677
7678 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
7679 la_x32_gnu_pltexit.
7680 (pltexit): Cast int_retval to ptrdiff_t.
7681 * elf/tst-auditmod3b.c: Likewise.
7682 * elf/tst-auditmod4b.c: Likewise.
7683 * elf/tst-auditmod5b.c: Likewise.
7684 * elf/tst-auditmod6b.c: Likewise.
7685 * elf/tst-auditmod6c.c: Likewise.
7686 * elf/tst-auditmod7b.c: Likewise.
7687
7688 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
7689 and x32_gnu_pltexit.
7690
7691 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
7692 __ELF_NATIVE_CLASS.
7693 (La_x32_regs): New macro.
7694 (La_x32_retval): Likewise.
7695 (la_x32_gnu_pltenter): New function prototype.
7696 (la_x32_gnu_pltexit): Likewise.
7697
7998fa78
AS
76982012-03-21 Andreas Schwab <schwab@linux-m68k.org>
7699
dcb33988
AS
7700 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
7701 exponent.
7702
233fc563
AS
7703 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7704
7998fa78
AS
7705 * configure.in (libc_cv_cc_nofma): Check for option to disable
7706 generation of FMA instructions.
7707 * configure: Regenerate.
7708 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
7709 * sysdeps/ieee754/dbl-64/Makefile: New file.
7710 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7711 Remove brandred-fma4.
7712 (CFLAGS-brandred-fma4.c): Remove.
7713 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
7714 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
7715 define.
7716 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
7717 define.
7718
8e95c99a
L
77192012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7720
7721 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7722 LLONG_MAX != LONG_MAX.
7723 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7724 (_fitoa_word): Likewise.
7725 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
7726 LLONG_MAX != LONG_MAX.
7727 * stdio-common/_itowa.h: Include <_itoa.h>.
7728 (_itowa_word): Use _ITOA_WORD_TYPE on value.
7729 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
7730 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
7731 only if not defined.
7732 (_ITOA_WORD_TYPE): Likewise.
7733 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7734 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
7735
6f4db457
DM
77362012-03-21 David S. Miller <davem@davemloft.net>
7737
7738 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7739
7785fe5a
L
77402012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7741
7742 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
7743 of x86_64 when setting libc_cv_slibdir, libdir and
7744 libc_cv_localedir.
7745 * sysdeps/unix/sysv/linux/configure: Regenerated.
7746
4535cd55
JM
77472012-03-21 Joseph Myers <joseph@codesourcery.com>
7748
7749 * manual/lang.texi (Old Varargs): Remove section.
7750 (How Variadic): Update menu.
7751 (va_start): Do not mention varargs.h.
7752
17228132
TS
77532012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7754 Joseph Myers <joseph@codesourcery.com>
7755
7756 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
7757 link test.
7758 * configure: Regenerated.
7759
8149f976
TS
77602012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7761
05f3d1f6
UD
7762 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
7763 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
7764 conformtest.pl
8149f976 7765
1a4ac776
JM
77662012-03-21 Joseph Myers <joseph@codesourcery.com>
7767
be22ce65
JM
7768 * NOTES: Remove.
7769 * Makefile (files-for-dist): Remove NOTES.
7770 (NOTES): Remove rule.
7771 * README: Don't refer to NOTES.
7772 * manual/creature.texi: Don't include macros.texi.
7773 * manual/intro.texi (creature.texi): Remove comment referring to
7774 NOTES.
7775
40b601fb
JM
7776 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
7777 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
7778 * configure: Regenerated.
7779 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
7780 LIBC_TRY_CC_OPTION.
7781 (libc_cv_as_i686): Likewise.
7782 (libc_cv_cc_avx): Likewise.
7783 (libc_cv_cc_sse2avx): Likewise.
7784 (libc_cv_cc_fma4): Likewise.
7785 (libc_cv_cc_novzeroupper): Likewise.
7786 * sysdeps/i386/configure: Regenerated.
7787
1a4ac776
JM
7788 [BZ #13883]
7789 * sysdeps/i386/fpu/s_cexp.S: Remove.
7790 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7791 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7792 * math/libm-test.inc (cexp_test): Add more tests.
7793 * sysdeps/i386/fpu/libm-test-ulps: Update.
7794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7795
a458e7fe
AM
77962012-03-21 Allan McRae <allan@archlinux.org>
7797
7798 * timezone/Makefile: Do not install iso3166.tab and zone.tab
7799
0cb7efc5
JM
78002012-03-21 Joseph Myers <joseph@codesourcery.com>
7801
7802 [BZ #13871]
7803 * math/w_exp2.c: Do not include <float.h>.
7804 (o_threshold, u_threshold): Remove.
7805 (__exp2): Calculate result before checking finiteness and calling
7806 __kernel_standard.
7807 * math/w_exp2f.c: Likewise.
7808 * math/w_exp2l.c: Likewise.
7809 * math/libm-test.inc (exp2_test): Require overflow exception for
7810 1e6 input.
2460d3aa
JM
7811
7812 [BZ #3866]
7813 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
7814 range of signed 64-bit integers before using fistpll. Remove
7815 checks for whether integers fit in mantissa bits.
7816 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
7817 the range of signed 32-bit integers before using fistpl. Remove
7818 checks for whether integers fit in mantissa bits.
7819 * sysdeps/i386/fpu/e_powl.S (p64): New object.
7820 (__ieee754_powl): Test for y outside the range of signed 64-bit
7821 integers before using fistpll. Reduce 64-bit values to 63-bit
7822 ones as needed.
7823 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
7824 divide-by-zero is raised for zero to large negative powers.
7825 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
7826 (__ieee754_powl): Test for y outside the range of signed 64-bit
7827 integers before using fistpll. Reduce 64-bit values to 63-bit
7828 ones as needed.
7829 * math/libm-test.inc (pow_test): Add more tests.
7830
eb96ffb0
L
78312012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7832
7833 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
7834 <stdio-common/_itoa.h>.
7835 * debug/segfault.c: Likewise.
7836 * elf/dl-cache.c: Likewise.
7837 * elf/dl-minimal.c: Likewise.
7838 * elf/dl-misc.c: Likewise.
7839 * elf/dl-sysdep.c: Likewise.
7840 * elf/dl-version.c: Likewise.
7841 * elf/rtld.c: Likewise.
7842 * hurd/hurdsock.c: Likewise.
7843 * hurd/lookup-retry.c: Likewise.
7844 * malloc/malloc.c: Likewise.
7845 * malloc/mtrace.c: Likewise.
7846 * nscd/nscd_getgr_r.c: Likewise.
7847 * nscd/nscd_getpw_r.c: Likewise.
7848 * nscd/nscd_getserv_r.c: Likewise.
7849 * posix/getopt_init.c: Likewise.
7850 * posix/wordexp.c: Likewise.
7851 * stdio-common/_itoa.c: Likewise.
7852 * stdio-common/printf_fphex.c: Likewise.
7853 * stdio-common/vfprintf.c: Likewise.
7854 * string/_strerror.c: Likewise.
7855 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7856 * sysdeps/i386/i686/hp-timing.h: Likewise.
7857 * sysdeps/mach/_strerror.c: Likewise.
7858 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
7859 * sysdeps/mach/hurd/sethostid.c: Likewise.
7860 * sysdeps/mach/hurd/xmknodat.c: Likewise.
7861 * sysdeps/mach/xpg-strerror.c: Likewise.
7862 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7863 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7864 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
7865 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
7866 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7867 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
7868 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7869 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7870 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
7871 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
7872 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
7873 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7874 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
7875 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7876 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7877 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
7878 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
7879 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
7880 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7881 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7882 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
7883
7884 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
7885
7886 * stdio-common/_itoa.h: Moved to ...
7887 * sysdeps/generic/_itoa.h: Here.
7888
7889 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
7890
7891 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
7892 instead of "_itoa.h" and "_itowa.h".
7893 * stdio-common/vfprintf.: Likewise.
7894
d1af992d
L
78952012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7896
7897 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
7898 <bits/wordsize.h>.
7899 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
7900 (__signbit): Likwise.
7901 (llrintf): Likwise.
7902 (llrint): Likwise.
7903
114883e0
L
79042012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7905
7906 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
7907 __WORDSIZE != 64.
7908
c135cc1b
JM
79092012-03-20 Joseph Myers <joseph@codesourcery.com>
7910
7911 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
7912 OVERFLOW_EXCEPTION_OK.
7913 * math/libm-test.inc ("Philosophy"): Update comment about
7914 exception testing.
7915 (OVERFLOW_EXCEPTION): Define.
7916 (OVERFLOW_EXCEPTION_OK): Likewise.
7917 (INVALID_EXCEPTION_OK): Renumber.
7918 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7919 (IGNORE_ZERO_INF_SIGN): Likewise.
7920 (test_exceptions): Handle FE_OVERFLOW.
7921 (exp10_test): Expect overflow exceptions.
7922 (exp2_test): Likewise.
7923 (expm1_test): Likewise.
7924 (nextafter_test): Likewise.
7925 (pow_test): Likewise.
7926 (scalbn_test): Likewise.
7927 (scalbln_test): Likewise.
7928
95443d88
L
79292012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7930
7931 * sysdeps/x86_64/bits/atomic.h
7932 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
7933 64bit integer.
7934 (atomic_exchange_acq): Likewise.
7935 (__arch_exchange_and_add_body): Likewise.
7936 (__arch_add_body): Likewise.
7937 (atomic_add_negative): Likewise.
7938 (atomic_add_zero): Likewise.
7939
490df6c4
L
79402012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7941
c2722551 7942 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
7943 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
7944
5e52b189
L
79452012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7946
7947 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
7948 Check __x86_64__ instead of __WORDSIZE.
7949
a9879d4c
L
79502012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7951
7952 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
7953
5df98260
DM
79542012-03-19 David S. Miller <davem@davemloft.net>
7955
e1497744
DM
7956 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7957
5df98260
DM
7958 * sysdeps/sparc/fpu/fenv_private.h: New file.
7959 * sysdeps/sparc/fpu/math_private.h: Use it.
7960 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
7961 Remove.
7962 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
7963 (libc_feholdexcept_setroundl): Remove.
7964 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
7965 Remove.
7966 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
7967 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
7968
b4c35121
L
79692012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7970
7971 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
7972 int64_t instead of long int.
7973 (INSERT_WORDS64): Likwise.
7974
56965fd7
L
79752012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7976
7977 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
7978 _Unwind_GetCFA return to _Unwind_Ptr first.
7979
83d1aec8
JM
79802012-03-19 Joseph Myers <joseph@codesourcery.com>
7981
1897ad44
JM
7982 [BZ #13629]
7983 * math/s_clog.c: Include <float.h>.
7984 (__clog): Scale large or subnormal inputs.
7985 * math/s_clogf.c: Likewise.
7986 * math/s_clogl.c: Likewise.
7987 * math/s_clog10.c: Include <float.h>.
7988 (M_LOG10_2): Define.
7989 (__clog10): Scale large or subnormal inputs.
7990 * math/s_clog10f.c: Likewise.
7991 * math/s_clog10l.c: Likewise.
7992 * math/libm-test.inc (clog_test): Add more tests.
7993 (clog10_test): Likewise.
7994 * sysdeps/i386/fpu/libm-test-ulps: Update.
7995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7996
7726d6a9
JM
7997 [BZ #11451]
7998 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
7999 x and y.
8000 * math/libm-test.inc (atan2_test): Add another test.
8001
83d1aec8
JM
8002 * Makerules (common-objdir-compile): Remove.
8003 * sysdeps/unix/Makefile (config-generated): Do not add
8004 $(unix-generated) to variable.
8005 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
8006 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
8007 Remove rule.
8008 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
8009 Likewise.
8010 [generic bits/local_lim.h] (before-compile): Do not append to
8011 variable.
8012 [generic bits/local_lim.h] (common-generated): Likewise.
8013 [generic sys/param.h] (before-compile): Do not append to variable.
8014 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
8015 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
8016 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
8017 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
8018 include.
8019 [generic sys/param.h] (sys/param.h-includes): Remove variable.
8020 [generic sys/param.h] (sys/param.h-includes): Remove rule.
8021 [generic sys/param.h] ($(addprefix
8022 $(common-objpfx),$(sys/param.h-includes))): Likewise.
8023 [generic sys/param.h] (common-generated): Do not append to
8024 variable.
8025 [generic sys/param.h] (sysdep_headers): Likewise.
8026 [generic bits/errno.h] (before-compile): Do not append to
8027 variable.
8028 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
8029 rule.
8030 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
8031 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
8032 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
8033 [generic bits/errno.h] (common-generated): Do not append to
8034 variable.
8035 [generic bits/ioctls.h] (before-compile): Do not append to
8036 variable.
8037 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
8038 rule.
8039 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
8040 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
8041 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
8042 rule.
8043 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
8044 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
8045 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
8046 [generic bits/ioctls.h] (common-generated): Do not append to
8047 variable.
8048 [generic sys/syscall.h] (syscall.h): Remove variable.
8049 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
8050 rule.
8051 [generic sys/syscall.h] (before-compile): Do not append to
8052 variable.
8053 [generic sys/syscall.h] (common-generated): Likewise.
8054 * sysdeps/unix/errnos-tmpl.c: Remove file.
8055 * sysdeps/unix/errnos.awk: Likewise.
8056 * sysdeps/unix/ioctls-tmpl.c: Likewise.
8057 * sysdeps/unix/ioctls.awk: Likewise.
8058 * sysdeps/unix/mk-local_lim.c: Likewise.
8059 * sysdeps/unix/snarf-ioctls: Likewise.
8060
4851a949
RH
80612012-03-19 Richard Henderson <rth@twiddle.net>
8062
bd37f2ee
RH
8063 * sysdeps/i386/fpu/fenv_private.h: New file.
8064 * sysdeps/i386/fpu/math_private.h: Use it.
8065 (math_opt_barrier, math_force_eval): Remove.
8066 (libc_feholdexcept_setround_53bit): Remove.
8067 (libc_feupdateenv_53bit): Remove.
8068 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8069 (math_opt_barrier, math_force_eval): Remove.
8070 (libc_feholdexcept): Remove.
8071 (libc_feholdexcept_setround): Remove.
8072 (libc_fetestexcept, libc_fesetenv): Remove.
8073 (libc_feupdateenv_test): Remove.
8074 (libc_feupdateenv, libc_feholdsetround): Remove.
8075 (libc_feresetround): Remove.
8076
d0adc922
RH
8077 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
8078 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8079
0fe0f1f8
RH
8080 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
8081 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
8082 (libc_feupdateenv_testl): New.
8083 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
8084 (libc_feupdateenv_testf): New.
8085 (libc_feupdateenv): Use libc_feupdateenv_test.
8086 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
8087 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
8088
eb92c487
RH
8089 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
8090 (libc_feholdsetroundf, libc_feholdsetroundl): New.
8091 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
8092 (libc_feresetround_noex): New.
8093 (libc_feresetround_noexf): New.
8094 (libc_feresetround_noexl): New.
8095 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
8096 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
8097 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
8098 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
8099 SET_RESTORE_ROUND.
8100 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8101 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
8102 (__cos): Likewise.
8103 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
8104 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8105 SET_RESTORE_ROUND_NOEX.
8106 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
8107 SET_RESTORE_ROUND_NOEXF.
8108 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
8109 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
8110 (libc_feholdsetroundf): New.
8111 (libc_feresetround, libc_feresetroundf): New.
8112
7d2e8012
RH
8113 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
8114 (libc_feholdexcept_setround_53bit): Convert from macro to function.
8115 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
8116
b4dabbb4
RH
8117 * sysdeps/generic/math_private.h: Include <fenv.h>.
8118 (default_libc_feholdexcept): New.
8119 (default_libc_feholdexcept_setround): New.
8120 (default_libc_fesetenv, default_libc_feupdateenv): New.
8121 (libc_feholdexcept): Only define if undefined.
8122 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
8123 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
8124 (libc_feholdexcept_setroundl): Likewise.
8125 (libc_feholdexcept_setround_53bit): Likewise.
8126 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
8127 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
8128 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
8129 (libc_feupdateenv_53bit): Likewise.
8130 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
8131 (libc_feholdexcept): Convert from macro to inline function.
8132 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
8133 (libc_fesetenv, libc_feupdateenv): Likewise.
8134
4851a949
RH
8135 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
8136 not previously defined.
8137 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
8138 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
8139 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
8140 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
8141 * sysdeps/ieee754/flt-32/math_private.h: New file.
8142 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
8143 math_private.h below SET_FLOAT_WORD.
8144 (__isnan, __isinf_ns, __finite): Remove.
8145 (__isnanf, __isinf_nsf, __finitef): Remove.
8146
e79d442e
AS
81472012-03-18 Andreas Schwab <schwab@linux-m68k.org>
8148
8149 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8150
90b80344
DM
81512012-03-17 David S. Miller <davem@davemloft.net>
8152
8153 [BZ #6471]
8154 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
8155 for 2.16.
8156
edc21804
DM
81572012-03-16 David S. Miller <davem@davemloft.net>
8158
77e927af
DM
8159 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
8160 warnings.
8161
374976dd
DM
8162 [BZ #6471]
8163 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
8164 properly.
8165 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
8166 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
8167 sysdep_routines when subdir is sysvipc.
8168 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
8169 __getshmlba helper.
8170
edc21804
DM
8171 * sysdeps/sparc/fpu/libm-test/ulps: Update.
8172
473c3ef3
L
81732012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8174
8175 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
8176 [__LP64__].
8177
eb0f39b6
L
81782012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8179
8180 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
8181 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
8182 (__lround): Renamed to ...
8183 (__llround): This. Replace long int with long long int.
8184 Define lround functions as aliases of llround functions.
8185 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
8186
6b6cd74b
L
81872012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8188
8189 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
8190 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
8191 adresses to uintptr_t. Replace "long int" and "unsigned long
8192 int" with "greg_t" on va_arg.
8193
f1a77b01
L
81942012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8195
8196 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
8197 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
8198
8199 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
8200 Move e_machine check before EI_CLASS check. Handle x32
8201 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
8202 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
8203 SKIP_EM_IA_64 and include
8204 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
8205
8206 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
8207 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
8208 (add_system_dir): New macro.
8209
8210 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
8211 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
8212
11b90b9f
JM
82132012-03-16 Joseph Myers <joseph@codesourcery.com>
8214
c36e1d23
JM
8215 [BZ #2551]
8216 [BZ #2552]
8217 [BZ #2553]
8218 [BZ #2554]
8219 [BZ #2562]
8220 [BZ #2563]
8221 [BZ #2565]
8222 [BZ #2566]
8223 [BZ #2576]
8224 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
8225 (y0): Likewise.
8226 * math/w_j0f.c (j0f): Likewise.
8227 (y0f): Likewise.
8228 * math/w_j0l.c (__j0l): Likewise.
8229 (__y0l): Likewise.
8230 * math/w_j1.c (j1): Likewise.
8231 (y1): Likewise.
8232 * math/w_j1f.c (j1f): Likewise.
8233 (y1f): Likewise.
8234 * math/w_j1l.c (__j1l): Likewise.
8235 (__y1l): Likewise.
8236 * math/w_jn.c (jn): Likewise.
8237 (yn): Likewise.
8238 * math/w_jnf.c (jnf): Likewise.
8239 (ynf): Likewise.
8240 * math/w_jnl.c (__jnl): Likewise.
8241 (__ynl): Likewise.
8242 * math/libm-test.inc (j0_test): Add more tests.
8243 (j1_test): Likewise.
8244 (jn_test): Likewise. Add trailing semicolon to existing test.
8245 (y0_test): Likewise.
8246 (y1_test): Likewise.
8247 * sysdeps/i386/fpu/libm-test-ulps: Update.
8248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8249
11b90b9f
JM
8250 [BZ #13851]
8251 [BZ #13854]
8252 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8253 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8254 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8255 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8256 (__tanl): Set errno for infinite argument.
8257 * sysdeps/i386/fpu/mptan.c: Remove.
8258 * sysdeps/i386/fpu/s_tan.S: Likewise.
8259 * sysdeps/i386/fpu/s_tanl.S: Likewise.
8260 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8261 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8262 * math/libm-test.inc (tan_test): Add more tests and enable more
8263 tests for double and long double.
8264 * sysdeps/i386/fpu/libm-test-ulps: Update.
8265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8266
6a1bd2a1
JK
82672012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8268
8269 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8270 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8271
10a803e0
RM
82722012-03-16 Roland McGrath <roland@hack.frob.com>
8273
8274 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8275 * configure.in: Use it for both main tree and add-ons.
8276 * configure: Regenerated.
8277
f196c7f7
L
82782012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8279
8280 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8281
8848d99d
JM
82822012-03-16 Joseph Myers <joseph@codesourcery.com>
8283
96cbe7f4
JM
8284 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8285 in comment.
8286
8848d99d
JM
8287 [BZ #13851]
8288 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8289 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8290 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8291 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8292 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8293 infinite argument.
8294 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8295 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8296 != 0 for prec == 2.
8297 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8298 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8299 * sysdeps/i386/fpu/s_cosl.S: Likewise.
8300 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8301 * sysdeps/i386/fpu/s_sinl.S: Likewise.
8302 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8303 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8304 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8305 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8306 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8307 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8308 * math/libm-test.inc (cos_test): Add more tests and enable more
8309 tests for long double.
8310 (sin_test): Likewise.
8311 (sincos_test): Likewise.
8312 * sysdeps/i386/fpu/libm-test-ulps: Update.
8313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8314
dd7f4703
DM
83152012-03-16 David S. Miller <davem@davemloft.net>
8316
8317 * sysdeps/sparc/fpu/math_private.h: New file.
8318
006f1daa
DM
83192012-03-15 David S. Miller <davem@davemloft.net>
8320
c0c83bc8
DM
8321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8322 file.
e6a62e18 8323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
8324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8325 file.
e6a62e18
DM
8326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
8327 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
8328 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
8329 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
8330 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
8331 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
8332 sysdep routines.
8333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8334
88cb87d9
DM
8335 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
8336 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
8337
006f1daa 8338 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
8339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
8340 sparc-ifunc.h
006f1daa 8341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
8342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8343 Likewise.
8344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8345 Likewise.
006f1daa
DM
8346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
8347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
8349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8350 Likewise.
006f1daa
DM
8351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
8355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
8356 Likewise.
8357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
8358 Likewise.
006f1daa
DM
8359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
8361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8363 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8364 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8365 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
8366 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
8367 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8368 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8369 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8370 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8371 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8372 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8373 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
8374 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
8375 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
8376 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
8377 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
8378 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
8379 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
8380 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
8381 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
8382 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
8383
11e0098e
AS
83842012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8385
8386 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
8387 scaling.
8388 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8389
e85b09d0
AJ
83902012-03-15 Andreas Jaeger <aj@suse.de>
8391
8392 [BZ #13852]
8393 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
8394 ieee754/flt-32 implementation for sin, cos and sincos.
8395 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
8396 * sysdeps/i386/fpu/s_cosf.S: Likewise.
8397 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
8398 * sysdeps/i386/fpu/s_sinf.S: Likewise.
8399 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
8400 ieee754/flt-32 implementation for tan.
8401
8402 * math/libm-test.inc (cos_test): Enable some large input tests for
8403 float as well
8404 (sin_test): Likewise.
8405 (sincos_test): Likewise.
8406 (tan_test): Add tests for large input.
8407
8408 * sysdeps/i386/fpu/libm-test-ulps: Update.
8409
81c64153
AJ
84102012-03-15 Andreas Jaeger <aj@suse.de>
8411
8412 [BZ #13658]
8413 * math/libm-test.inc (cos_test): Add more test cases.
8414 (sin_test): Likewise.
8415 (sincos_test): Likewise.
8416
7bbfa5c6
AJ
84172012-03-15 Andreas Jaeger <aj@suse.de>
8418
8419 [BZ #13837]
8420 * math/libm-test.inc (cos_test): Add a test case for large input
8421 value.
8422 (sin_test): Likewise.
8423 (sincos_test): Likewise.
8424
84252012-03-15 Andreas Jaeger <aj@suse.de>,
8426 Joseph Myers <joseph@codesourcery.com>
8427
8428 [BZ #13658]
0671f479 8429 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
8430 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
8431 * sysdeps/i386/fpu/branred.c: Likewise.
8432 * sysdeps/i386/fpu/dosincos.c: Likewise.
8433 * sysdeps/i386/fpu/mpa.c: Likewise.
8434 * sysdeps/i386/fpu/s_cos.S: Likewise.
8435 * sysdeps/i386/fpu/s_sin.S: Likewise.
8436 * sysdeps/i386/fpu/s_sincos.S: Likewise.
8437 * sysdeps/i386/fpu/sincos32.c: Likewise.
8438
8439 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
8440 Define.
8441 (libc_feupdateenv_53bit): Define.
8442 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
8443 Define.
8444 (libc_feupdateenv_53bit): Define.
8445
8446 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
8447 53 bit (without extend i386 double precision).
8448
8449 * math/libm-test.inc (sincos_test): Add tests for large input.
8450 (sin): Likewise.
8451 (cos): Likewise.
8452
8453 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8454
9cad04ea
AS
84552012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8456
8457 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8458
f7062b9a
DM
84592012-03-15 David S. Miller <davem@davemloft.net>
8460
8461 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
8462 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
8463 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
8464 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
8465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
8466 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
8467 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
8468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
8469 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
8470 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
8471 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
8472 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
8473 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
8474 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
8475 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
8476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
8477 file.
f7062b9a 8478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
8479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
8480 file.
f7062b9a 8481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
8482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
8483 file.
f7062b9a 8484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
8485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
8486 file.
f7062b9a
DM
8487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
8488 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
8489 fmin/fmax sysdep routines.
8490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8491
7bd951ff
DM
84922012-03-14 David S. Miller <davem@davemloft.net>
8493
559398ab
DM
8494 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
8495 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
8496 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
8497 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
8498 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
8499 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
8500 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
8501 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
8502 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
8503 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
8504 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
8505 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
8506 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
8507 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
8508 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
8509 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
8510 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
8511 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
8512 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
8513 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
8514 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
8515 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
8516 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
8517 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
8518 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
8519 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
8520 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
8521 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
8522 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
8523 routines.
8524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
8525 file.
559398ab 8526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
8527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
8528 file.
559398ab 8529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
8530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
8531 file.
559398ab 8532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
8533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
8534 file.
559398ab 8535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
8536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
8537 file.
559398ab 8538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
8539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
8540 file.
8541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
8542 file.
8543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
8544 file.
8545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
8546 file.
8547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
8548 New file.
8549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
8550 file.
8551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
8552 file.
559398ab 8553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
8554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
8555 file.
559398ab 8556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
8557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
8558 file.
559398ab 8559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
8560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
8561 file.
559398ab 8562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
8563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
8564 VIS3 routines.
559398ab
DM
8565
8566 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8567 New file.
8568
5a1c1e32
DM
8569 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8570
eae47a36
DM
8571 * sysdeps/sparc/configure.in: New file.
8572 * sysdeps/sparc/configure: Generate.
8573 * configure.in (libc_cv_sparc_as_vis3): Substitute.
8574 * configure: Regenerate.
8575 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
8576 * config.make.in (have-as-vis3): New.
8577 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
8578 available use -Av9d instead of -Av9a.
8579 * sysdeps/sparc/sparc64/Makefile: Likewise.
8580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
8581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
8582 New file.
8583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
8584 file.
8585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
8586 New file.
8587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
8588 file.
eae47a36
DM
8589 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
8590 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
8591 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
8592 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
8593 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
8594
c0c83bc8
DM
8595 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
8596 fzeros/fnegs to load 0x80000000 into a float register instead of
8597 using the stack.
7bd951ff
DM
8598 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
8599
bd951ccb
JM
86002012-03-14 Joseph Myers <joseph@codesourcery.com>
8601
8602 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8603 bits/syscall.h.
8604 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
8605 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
8606 ($(inst_includedir)/bits/syscall.h): Remove rule.
8607 ($(objpfx)bits/syscall.d): Include instead of
8608 $(objpfx)syscall-list.d.
8609 (generated): Change syscall-list.h and syscall-list.d to
8610 bits/syscall.h and bits/syscall.d.
8611
bb4e6db2
RM
86122012-03-14 Roland McGrath <roland@hack.frob.com>
8613
8614 [BZ #13846]
8615 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
8616
aa4a2ae1
JM
86172012-03-14 Joseph Myers <joseph@codesourcery.com>
8618
e456826d
JM
8619 [BZ #13841]
8620 * math/s_csqrt.c: Include <float.h>.
8621 (__csqrt): Scale large or subnormal inputs.
8622 * math/s_csqrtf.c: Likewise.
8623 * math/s_csqrtl.c: Likewise.
8624 * math/libm-test.inc (csqrt_test): Add more tests.
8625 * sysdeps/i386/fpu/libm-test-ulps: Update.
8626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8627
aa4a2ae1
JM
8628 [BZ #13840]
8629 * math/libm-test.inc (hypot_test): Add more tests.
8630
7c10fd35
DM
86312012-03-13 David S. Miller <davem@davemloft.net>
8632
8633 [BZ #13840]
8634 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
8635 double-precision for the calculation instead of scaling.
8636
f453b98b
JM
86372012-03-13 Joseph Myers <joseph@codesourcery.com>
8638
8639 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
8640 manipulate bits before adding and subtracting TWO52[sx].
8641 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
8642 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8643 Likewise.
8644 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
8645
09a3453f
DM
86462012-03-13 David S. Miller <davem@davemloft.net>
8647
8e59da90
DM
8648 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
8649 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
8650 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
8651 rtld-global-offsets.h
8652 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8653
2a8ab7f2
DM
8654 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
8655 large parameters.
8656
10f62770
DM
8657 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
8658
5f0bdb18
DM
8659 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
8660 'err' in the ifdef scope in which it is actually used.
8661
09a3453f
DM
8662 * nss/nss_db/db-init.c: Include string.h
8663
b4b2eb5e
DM
86642012-03-12 David S. Miller <davem@davemloft.net>
8665
98bb2f1c
DM
8666 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8667 masking out of the most significant byte of random value used.
8668 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8669 Fix coding style in previous change.
8670
b4b2eb5e
DM
8671 * sysdeps/unix/sysv/linux/kernel-features.h
8672 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
8673 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
8674 expression.
8675 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
8676 later.
8677
6e226b09
DM
86782012-03-11 David S. Miller <davem@davemloft.net>
8679
a1bcbd40
DM
8680 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8681 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
8682 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
8683 for 'resultvar' otherwise things get truncated on 64-bit.
8684
cb9d6174
DM
8685 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8686 Fix masking out of the most significant byte of random value used.
8687
6e226b09
DM
8688 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8689
058c132d
AS
86902012-03-10 Andreas Schwab <schwab@linux-m68k.org>
8691
8692 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8693
2d2cd515
DM
86942012-03-09 David S. Miller <davem@davemloft.net>
8695
8696 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
8697 variables with appropriate CPP guards.
8698 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
8699 frame pointer, not the stack pointer. Correct layout comments. Fix test
8700 on resulting framesize and the management of the outregs buffer for pltexit.
8701 Preserve floating point return values across _dl_call_pltexit call.
8702 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
8703 framesize and the management of the outregs buffer for pltexit.
8704 Preserve floating point return values across _dl_call_pltexit
8705 call.
8706 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
8707 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
8708 (print_exit): Fix format string for return register value.
8709
9a07f9d0
JM
87102012-03-10 Joseph Myers <joseph@codesourcery.com>
8711
8712 * sunrpc/Makefile (others): Add rpcgen.
8713 ($(objpfx)rpcgen): Remove special build rule and dependency on
8714 libc.
8715 * sunrpc/rpcgen.c: New file.
8716
547b5e30
PE
87172012-03-09 Paul Eggert <eggert@cs.ucla.edu>
8718
c524201a
PE
8719 [BZ #13673]
8720 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
8721 * stdio-common/bug-vfprintf-nargs.c: Likewise.
8722 * sysdeps/i386/crti.S: Likewise.
8723 * sysdeps/i386/crtn.S: Likewise.
8724 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
8725 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
8726 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
8727 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
8728 * sysdeps/sh/crti.S: Likewise.
8729 * sysdeps/sh/crtn.S: Likewise.
8730 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8731
7b6235f2
PE
8732 [BZ #13673]
8733 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
8734 with URL.
8735 * locale/programs/locfile-kw.gperf: Likewise.
8736 * locale/programs/charmap-kw.h: Regenerated.
8737 * locale/programs/locfile-kw.h: Likewise.
8738
547b5e30
PE
8739 [BZ #13673]
8740 * intl/plural.y: Replace FSF snail mail address with URL.
8741 * intl/plural.c: Regenerated.
8742
5f0a5dae
RH
87432012-03-09 Richard Henderson <rth@twiddle.net>
8744
8745 * include/math_private.h: Remove file.
8746 * math/math_private.h: Move file ...
8747 * sysdeps/generic/math_private.h: ... here.
8748
b8c03620
RH
8749 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
8750 * sysdeps/powerpc/fpu/math_private.h: Likewise.
8751 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8752
4e234f5d 8753 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
8754 and <math_private.h>.
8755 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8756 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8757 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8758 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8759 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8760 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
8761 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8762 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8763 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8764 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8765 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8766 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8767 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8768 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8769 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8770 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8771 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8772 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8773 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8774 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8775 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8776 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8777 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8778 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8779 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8780 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8781 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8782 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8783 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8784 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8785 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8786 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8787 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8788 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8789 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8790 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8791 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8792 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8793 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8794 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8795 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
8796 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8797 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8798 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8799 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8800 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8801 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8802 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8803 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8804 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8805 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8806 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8807 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8808 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8809 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8810 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8811 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8812 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8813 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8814 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
8815 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8816 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8817 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8818 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8819 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8820 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8821 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8822 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8823 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
8824 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
8825 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8826 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8827 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8828 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8829 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
8830 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8831 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
8832 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8833 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
8834 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8835 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8836 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8837 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8838 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8839 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8840 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8841 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
8842 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8843 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8844 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8845 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8846 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8847 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8848 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8849 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8850 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8851 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8852 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8853 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8854 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8855 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8856 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8857 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8858 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8859 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8860 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8861 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8862 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8863 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8864 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8865 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8866 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8867 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8868 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8869 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8870 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8871 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8872 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8873 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8874 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8875 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8876 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8877 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8878 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
8879 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8880 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8881 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8882 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
8883 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8884 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8885 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8886 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8887 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8888 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8889 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8890 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8891 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8892 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8893 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
8894 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8895 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8896 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8897 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8898 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
8899 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
8900 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8901 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8902 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8903 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8904 * sysdeps/ieee754/k_standard.c: Likewise.
8905 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8906 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8907 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8908 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8909 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8910 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8911 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8912 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8913 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8914 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8915 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8916 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8917 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8918 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8919 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8920 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8921 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8922 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8923 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8924 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8925 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8926 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8927 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8928 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8929 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8930 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8931 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8932 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8933 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8934 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8935 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8936 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8937 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8938 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8939 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8940 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8941 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8942 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
8943 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8944 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8945 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8946 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8947 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8948 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8949 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8950 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8951 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8952 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8953 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8954 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8955 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8956 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8957 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8958 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8959 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8960 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8961 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
8962 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8963 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8964 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8965 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8966 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8967 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8968 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8969 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8970 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8971 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8972 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8973 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8974 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8975 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8976 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8977 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8978 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8979 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8980 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8981 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
8982 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8983 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8984 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8985 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8986 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8987 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8988 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8989 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
8990 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8991 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8992 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8993 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8994 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8995 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
8996 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8997 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8998 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8999 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9000 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9001 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
9002 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9003 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9004 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
9005 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9006 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9007 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9008 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9009 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
9010 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9011 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9012 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9013 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
9014 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9015 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9016 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9017 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9018 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9019 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9020 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9021 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9022 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9023 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9024 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9025 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9026 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9027 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9028 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9029 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9030 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9031 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9032 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9033 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9034 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9035 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9036 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9037 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9038 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9039 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9040 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9041 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
9042 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9043 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9044 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9045 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9046 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9047 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9048 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9049 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9050 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9051 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9052 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9053 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9054 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
9055 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9056 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9057 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9058 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9059 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
9060 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
9061 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9062 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9063 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9064 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9065 * sysdeps/ieee754/s_lib_version.c: Likewise.
9066 * sysdeps/ieee754/s_matherr.c: Likewise.
9067 * sysdeps/ieee754/s_signgam.c: Likewise.
9068 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9069 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9070 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9071 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9072 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9073 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9074 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
9075 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
9076 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
9077 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9078 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9079 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9080 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9081 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9082 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
9083 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9084 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9085 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9086 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9087 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9088 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 9089
1991fa03
JM
90902012-03-09 Joseph Myers <joseph@codesourcery.com>
9091
9092 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
9093 * sunrpc/rpc_main.c: Likewise.
9094 * sunrpc/rpc_svcout.c: Likewise.
9095
60d6f5a6
DM
90962012-03-09 David S. Miller <davem@davemloft.net>
9097
9098 * include/math_private.h: New file.
9099
4962050e
JM
91002012-03-09 Joseph Myers <joseph@codesourcery.com>
9101
02a6f887
JM
9102 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
9103 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
9104 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
9105 from <bits/socket_type.h>.
9106 (enum __socket_type): Don't define here.
9107 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
9108 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9109 bits/socket_type.h.
9110
c6e013c1
JM
9111 [BZ #13566]
9112 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
9113 checking __USE_GNU.
9114
4962050e
JM
9115 * Makerules ($(inst_includedir)/%.h): New rule.
9116 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
9117 (install-others): Remove variable setting.
9118 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
9119
38842f45
RH
91202012-03-08 Richard Henderson <rth@twiddle.net>
9121
67bb6da6
RH
9122 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
9123 from macro to inline function; merge with the
9124 !__LIBC_INTERNAL_MATH_INLINES version.
9125 (__ieee754_sqrtf): Likewise.
9126
15194b4b
RH
9127 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
9128 to inline function.
9129 (__rintf, __floor, __floorf): Likewise.
9130
64e21ede
RH
9131 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
9132 macro to inline function.
9133 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
9134
38842f45
RH
9135 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
9136 not <math/math_private.h>.
9137
c64bf5fe
DM
91382012-03-08 David S. Miller <davem@davemloft.net>
9139
9140 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
9141 copyright year.
9142 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9143
82d86f28
TS
91442012-03-08 Thomas Schwinge <thomas@codesourcery.com>
9145
9146 * resolv/gai_misc.c (handle_requests): Fix struct timespec
9147 normalization.
9148 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
9149 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9150
aea5d727
UD
91512012-03-08 Ulrich Drepper <drepper@gmail.com>
9152
9153 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
9154 be defined individually, they must be defined as a block. Define
9155 S for printing a string instead of hidint the different by using a
9156 macro for adding the 'l'.
9157 * stdio-common/tst-fphex-wide.c: Adjust.
9158
70bca0a3
MP
91592012-03-07 Marek Polacek <polacek@redhat.com>
9160
9161 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
9162
65b81130
MP
91632012-03-08 Marek Polacek <polacek@redhat.com>
9164
9165 [BZ #13806]
9166 * stdio-common/Makefile (tests): Add tst-fphex-wide.
9167 * stdio-common/tst-fphex.c: Define a few macros to make the
9168 test reusable. Use them.
9169 * stdio-common/tst-fphex-wide.c: New file.
9170
07037eeb
JM
91712012-03-08 Joseph Myers <joseph@codesourcery.com>
9172
a7a93d50
JM
9173 [BZ #6911]
9174 * manual/macros.texi (gnusystems): New macro.
9175 (nongnusystems): Likewise.
9176 (gnulinuxhurdsystems): Likewise.
9177 (gnuhurdsystems): Likewise..
9178 (gnulinuxsystems): Likewise.
9179 * manual/charset.texi: Use new macros or @theglibc{} to refer to
9180 variants of the GNU system, not "GNU system".
9181 * manual/conf.texi: Likewise.
9182 * manual/errno.texi: Likewise. Update example of errno macro
9183 expansion.
9184 * manual/filesys.texi: Likewise.
9185 (getumask): Document as specific to GNU/Hurd.
9186 * manual/install.texi: Likewise. Reword some references to
9187 GNU/Linux.
9188 * manual/intro.texi: Likewise.
9189 * manual/io.texi: Likewise.
9190 (File Name Portability): Detail which constraints are inapplicable
9191 to all GNU systems and which are only inapplicable to GNU/Hurd.
9192 * manual/job.texi: Likewise.
9193 * manual/llio.texi: Likewise.
9194 (O_NOCTTY): Document as present on GNU/Linux.
9195 * manual/maint.texi: Likewise.
9196 * manual/memory.texi: Likewise.
9197 * manual/pattern.texi: Likewise.
9198 * manual/pipe.texi: Likewise.
9199 * manual/process.texi: Likewise.
9200 * manual/resource.texi: Likewise.
9201 (RUSAGE_CHILDREN): Remove statement about specifying a particular
9202 child on GNU/Hurd.
9203 * manual/setjmp.texi: Likewise.
9204 * manual/signal.texi: Likewise.
9205 * manual/startup.texi: Likewise.
9206 * manual/stdio.texi: Likewise.
9207 * manual/terminal.texi: Likewise.
9208 (ONLCR): Document as POSIX.
9209 (OXTABS): Document availability on GNU/Linux as XTABS.
9210 (ONOEOT): Document availability separately from other bits.
9211 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
9212 * manual/time.texi: Likewise.
9213 * manual/users.texi: Likewise.
9214 * INSTALL: Regenerated.
9215 * sysdeps/gnu/errlist.c: Regenerated.
9216
07037eeb
JM
9217 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
9218 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
9219 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
9220 puts.
9221 * configure: Regenerated.
9222
d1d3431a
JM
92232012-03-07 Joseph Myers <joseph@codesourcery.com>
9224
af6a1e37
JM
9225 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
9226 default includes instead of AC_HEADER_CHECK.
9227 * sysdeps/i386/configure: Regenerated.
9228
d1d3431a
JM
9229 [BZ #10716]
9230 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
9231 * math/s_cacoshf.c (__cacoshf): Likewise.
9232 * math/s_cacoshl.c (__cacoshl): Likewise.
9233 * math/s_casinh.c (__casinh): Set signs of result from argument.
9234 * math/s_casinhf.c (__casinhf): Likewise.
9235 * math/s_casinhl.c (__casinhl): Likewise.
9236 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9237 (casinh_test): Add more tests.
9238 * sysdeps/i386/fpu/libm-test-ulps: Update.
9239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9240
482ff4da
UD
92412012-03-07 Ulrich Drepper <drepper@gmail.com>
9242
872fda05
UD
9243 * po/zh_TW.po: Update from translation team.
9244
a4300c7a
UD
9245 * login/Makefile (distribute): Remove variable.
9246 * catgets/Makefile: Likewise.
9247 * mach/Makefile: Likewise.
9248 * malloc/Makefile: Likewise.
9249 * misc/Makefile: Likewise.
9250 * iconv/Makefile: Likewise.
9251 * nscd/Makefile: Likewise.
9252 * hurd/Makefile: Likewise.
9253 * manual/Makefile: Likewise.
9254 * locale/Makefile: Likewise.
9255 * intl/Makefile: Likewise.
9256 * conform/Makefile: Likewise.
9257 * nss/Makefile: Likewise.
9258 * time/Makefile: Likewise.
9259 * soft-fp/Makefile: Likewise.
9260 * dirent/Makefile: Likewise.
9261 * gmon/Makefile: Likewise.
9262 * po/Makefile: Likewise.
9263 * rt/Makefile: Likewise.
9264 * socket/Makefile: Likewise.
9265 * math/Makefile: Likewise.
9266 * signal/Makefile: Likewise.
9267 * debug/Makefile: Likewise.
9268 * elf/Makefile: Likewise.
9269 * timezone/Makefile: Likewise.
9270 * stdlib/Makefile: Likewise.
9271 * iconvdata/Makefile: Likewise.
9272 * sunrpc/Makefile: Likewise.
9273 * io/Makefile: Likewise.
9274 * argp/Makefile: Likewise.
9275 * inet/Makefile: Likewise.
9276 * hesiod/Makefile: Likewise.
9277 * grp/Makefile: Likewise.
9278 * csu/Makefile: Likewise.
9279 * wctype/Makefile: Likewise.
9280 * crypt/Makefile: Likewise.
9281 * libio/Makefile: Likewise.
9282 * string/Makefile: Likewise.
9283 * nis/Makefile: Likewise.
9284 * resolv/Makefile: Likewise.
9285 * stdio-common/Makefile: Likewise.
9286 * wcsmbs/Makefile: Likewise.
9287 * dlfcn/Makefile: Likewise.
9288 * posix/Makefile: Likewise.
9289
3b7c4e74 9290 [BZ #6959]
482ff4da
UD
9291 * timezone/Makefile: Don't install timezone files, just the programs
9292 and scripts.
9293
f72ed77d
UD
92942012-03-06 Ulrich Drepper <drepper@gmail.com>
9295
a000466f
UD
9296 * nss/databases.def: Add missing gshadow entry.
9297
f72ed77d
UD
9298 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
9299
a53b7a4e
MP
93002012-03-06 Marek Polacek <polacek@redhat.com>
9301
9302 [BZ #13726]
9303 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9304 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9305 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9306 * stdio-common/tst-long-dbl-fphex.c: New file.
9307
e9258400
DM
93082012-03-06 David S. Miller <davem@davemloft.net>
9309
9310 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9311 (set_obp_int): New function.
9312 (get_obp_int): New function.
9313 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
9314 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9315 Avoid unused variable warnings on 'val' and use builtin_expect.
9316 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9317 __builtin_expect.
e9258400
DM
9318 (INLINE_CLONE_SYSCALL): Likewise.
9319
3bd2c723
DM
93202012-03-05 David S. Miller <davem@davemloft.net>
9321
9322 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9323
bbb78d03
AS
93242012-03-05 Andreas Schwab <schwab@linux-m68k.org>
9325
884c5db4
AS
9326 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9327
bbb78d03
AS
9328 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
9329 only for |x| >= 40.
9330 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9331
1c9f702a 93322012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
9333
9334 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
9335 Replace gettimeofday with __vdso_gettimeofday.
9336
7be16f82
RM
9337 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9338 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
9339 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
9340
9341 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
9342 time with __vdso_time.
9343
ed58a00f
JM
93442012-03-05 Joseph Myers <joseph@codesourcery.com>
9345
9346 * manual/lang.texi (size_t): Note types to which size_t may be
9347 equivalent with the GNU C Library, but do not describe when
9348 differences between them are significant.
9349
30ee4ced
AJ
93502012-03-05 Andreas Jaeger <aj@suse.de>
9351
9352 * sysdeps/i386/fpu/libm-test-ulps: Update.
9353
b7cd39e8
JM
93542012-03-05 Joseph Myers <joseph@codesourcery.com>
9355
9356 [BZ #3976]
9357 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
9358 (__ieee754_pow): Save and restore rounding mode and use
9359 round-to-nearest for main computations.
9360 * math/libm-test.inc (pow_test_tonearest): New function.
9361 (pow_test_towardzero): Likewise.
9362 (pow_test_downward): Likewise.
9363 (pow_test_upward): Likewise.
9364 (main): Call the new functions.
9365 * sysdeps/i386/fpu/libm-test-ulps: Update.
9366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
9367
9368 [BZ #3976]
9369 * math/libm-test.inc (cosh_test_tonearest): New function.
9370 (cosh_test_towardzero): Likewise.
9371 (cosh_test_downward): Likewise.
9372 (cosh_test_upward): Likewise.
9373 (sinh_test_tonearest): Likewise.
9374 (sinh_test_towardzero): Likewise.
9375 (sinh_test_downward): Likewise.
9376 (sinh_test_upward): Likewise.
9377 (main): Call the new functions.
9378 * sysdeps/i386/fpu/libm-test-ulps: Update.
9379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9380
6c6a98c9
TV
93812012-03-05 Tom de Vries <tom@codesourcery.com>
9382
9383 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
9384 default stack guard is set in last bytes.
9385 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
9386
21bb2d2e 93872012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 9388
21bb2d2e 9389 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 9390
21bb2d2e
AJ
9391 [BZ #13656]
9392 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
9393 possibly allocate from heap instead of stack.
9394 * stdio-common/bug-vfprintf-nargs.c: New file.
9395 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 9396
c6922934
AS
93972012-03-03 Andreas Schwab <schwab@linux-m68k.org>
9398
9399 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9400
bc957d53
MP
94012012-03-03 Marek Polacek <polacek@redhat.com>
9402
9403 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
9404 * math/math_private.h: Likewise.
9405 * stdlib/tst-strtod.c: Likewise.
9406 * sysdeps/i386/i486/bits/atomic.h: Likewise.
9407 * sysdeps/x86_64/bits/atomic.h: Likewise.
9408
6358490d
DM
94092012-03-02 David S. Miller <davem@davemloft.net>
9410
9411 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
9412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
9413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
9414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
9415 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
9416 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
9417 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
9418 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
9419
01ae168d
RM
94202012-03-02 Roland McGrath <roland@hack.frob.com>
9421
d9a17c07
RM
9422 [BZ #13792]
9423 * manual/examples/README: New file, says the example source files
9424 can be used under GPL>=2.
9425 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
9426 line containing just "*/".
9427 * manual/examples/add.c: Add copyright header (GPL>=2).
9428 * manual/examples/argp-ex1.c: Likewise.
9429 * manual/examples/argp-ex2.c: Likewise.
9430 * manual/examples/argp-ex3.c: Likewise.
9431 * manual/examples/argp-ex4.c: Likewise.
9432 * manual/examples/atexit.c: Likewise.
9433 * manual/examples/db.c: Likewise.
9434 * manual/examples/dir.c: Likewise.
9435 * manual/examples/dir2.c: Likewise.
9436 * manual/examples/execinfo.c: Likewise.
9437 * manual/examples/filecli.c: Likewise.
9438 * manual/examples/filesrv.c: Likewise.
9439 * manual/examples/fmtmsgexpl.c: Likewise.
9440 * manual/examples/genpass.c: Likewise.
9441 * manual/examples/inetcli.c: Likewise.
9442 * manual/examples/inetsrv.c: Likewise.
9443 * manual/examples/isockad.c: Likewise.
9444 * manual/examples/longopt.c: Likewise.
9445 * manual/examples/memopen.c: Likewise.
9446 * manual/examples/memstrm.c: Likewise.
9447 * manual/examples/mkfsock.c: Likewise.
9448 * manual/examples/mkisock.c: Likewise.
9449 * manual/examples/mygetpass.c: Likewise.
9450 * manual/examples/pipe.c: Likewise.
9451 * manual/examples/popen.c: Likewise.
9452 * manual/examples/rprintf.c: Likewise.
9453 * manual/examples/search.c: Likewise.
9454 * manual/examples/select.c: Likewise.
9455 * manual/examples/setjmp.c: Likewise.
9456 * manual/examples/sigh1.c: Likewise.
9457 * manual/examples/sigusr.c: Likewise.
9458 * manual/examples/stpcpy.c: Likewise.
9459 * manual/examples/strdupa.c: Likewise.
9460 * manual/examples/strftim.c: Likewise.
9461 * manual/examples/strncat.c: Likewise.
9462 * manual/examples/subopt.c: Likewise.
9463 * manual/examples/swapcontext.c: Likewise.
9464 * manual/examples/termios.c: Likewise.
9465 * manual/examples/testopt.c: Likewise.
9466 * manual/examples/testpass.c: Likewise.
9467 * manual/examples/timeval_subtract.c: Likewise.
9468
01ae168d
RM
9469 [BZ #13792]
9470 * manual/time.texi (Elapsed Time): Move timeval_subtract example
9471 function to ...
9472 * manual/timeval_subtract.c.texi: ... here, new file.
9473
49efa33d
DM
94742012-03-02 David S. Miller <davem@davemloft.net>
9475
9476 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
9477
28afd92d
JM
94782012-03-02 Joseph Myers <joseph@codesourcery.com>
9479
804360ed
JM
9480 [BZ #3976]
9481 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
9482 (__sin): Save and restore rounding mode and use round-to-nearest
9483 for all computations.
9484 (__cos): Save and restore rounding mode and use round-to-nearest
9485 for all computations.
9486 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
9487 <fenv.h>.
9488 (tan): Save and restore rounding mode and use round-to-nearest for
9489 all computations.
9490 * math/libm-test.inc (cos_test_tonearest): New function.
9491 (cos_test_towardzero): Likewise.
9492 (cos_test_downward): Likewise.
9493 (cos_test_upward): Likewise.
9494 (sin_test_tonearest): Likewise.
9495 (sin_test_towardzero): Likewise.
9496 (sin_test_downward): Likewise.
9497 (sin_test_upward): Likewise.
9498 (tan_test_tonearest): Likewise.
9499 (tan_test_towardzero): Likewise.
9500 (tan_test_downward): Likewise.
9501 (tan_test_upward): Likewise.
9502 (main): Call the new functions.
9503 * sysdeps/i386/fpu/libm-test-ulps: Update.
9504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9505
a6d06d7b
JM
9506 [BZ #10135]
9507 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
9508 small n, then large n, before computing and testing k+n.
9509 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9510 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9511 Likewise.
9512 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9513 Likewise.
9514 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
9515 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9516 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9517 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9518 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9519 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9520 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9521 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
9522 * math/libm-test.inc (scalbn_test): Add more tests.
9523 (scalbln_test): Likewise.
9524
07e12bb3
JM
9525 * manual/filesys.texi (mode_t): Describe constraints on size and
9526 signedness, not exact equivalence to a particular type.
9527 (ino_t): Likewise.
9528 (ino64_t): Likewise.
9529 (dev_t): Likewise.
9530 (nlink_t): Likewise.
9531 (blkcnt_t): Likewise.
9532 (blkcnt64_t): Likewise.
9533 * manual/llio.texi (off_t): Likewise.
9534
28afd92d
JM
9535 [BZ #3976]
9536 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
9537 (__ieee754_exp): Save and restore rounding mode and use
9538 round-to-nearest for all computations.
9539 * math/libm-test.inc (exp_test_tonearest): New function.
9540 (exp_test_towardzero): Likewise.
9541 (exp_test_downward): Likewise.
9542 (exp_test_upward): Likewise.
9543 (main): Call the new functions.
9544 * sysdeps/i386/fpu/libm-test-ulps: Update.
9545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9546
b1eeb65d
CD
95472012-03-01 Chris Demetriou <cgd@google.com>
9548
9549 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
9550 have predictable order.
9551
53362a4b
DM
95522012-03-01 David S. Miller <davem@davemloft.net>
9553
3c969083
DM
9554 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
9555
759707de
DM
9556 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
9557 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
9558 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
9559 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
9560
dfdb8ff2
DM
9561 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
9562 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
9563 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
9564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
9565 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
9566 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
9567 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
9568 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
9569 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
9570
ead89f96
DM
9571 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9572
7f66bd07
DM
9573 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
9574 * sysdeps/sparc/fpu/libm-test-ulps: to here.
9575 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
9576
53362a4b
DM
9577 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
9578 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9579 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9580 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9581 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9582 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9583 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9584 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9585 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9586 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9587 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9588 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9589 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9590 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9591 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9592 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9593 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
9594 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
9595 * sysdeps/sparc/elf/configure: Regenerated.
9596
7b1902cb
JM
95972012-03-01 Joseph Myers <joseph@codesourcery.com>
9598
bec039bc
JM
9599 * configure.in (AS, LD): Require binutils 2.20 or later.
9600 * configure: Regenerated.
9601 * manual/install.texi (Tools for Compilation): Give binutils 2.20
9602 as required minimum version.
9603 * INSTALL: Regenerated.
9604
7b1902cb
JM
9605 [BZ #2541]
9606 [BZ #4108]
9607 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
9608 before squaring exponent.
9609 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
9610 bottom long double and 27 bits of top long double before squaring
9611 exponent.
9612 * math/libm-test.inc (erfc_test): Add more tests.
9613 * sysdeps/i386/fpu/libm-test-ulps: Update.
9614 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9616
f775c276
KT
96172012-03-01 Kai Tietz <ktietz@redhat.com>
9618
9619 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
9620 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
9621 containing bit-fields.
9622 * soft-fp/extended.h (_FP_UNION_E): Likewise.
9623 * soft-fp/single.h (_FP_UNION_S): Likewise.
9624 * soft-fp/double.h (_FP_UNION_D): Likewise.
9625
5b8a4d4a
JM
96262012-02-29 Joseph Myers <joseph@codesourcery.com>
9627
0bab47b6
JM
9628 [BZ #13786]
9629 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
9630 not include ../strcmp.S.
9631 [USE_AS_STRNCASECMP_L]: Likewise.
9632 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
9633 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
9634 * sysdeps/i386/i686/multiarch/strncase_l-c.c
9635 (__strncasecmp_l_ia32): Define as alias to
9636 __strncasecmp_l_nonascii.
9637
0fcad3e2
JM
9638 [BZ #5794]
9639 * math/libm-test.inc (expm1_test): Add test for bug 5794.
9640 * sysdeps/i386/fpu/libm-test-ulps: Update.
9641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9642
5b8a4d4a
JM
9643 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
9644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9645
8fdceb2e
JL
96462012-02-29 Jeff Law <law@redhat.com>
9647
9648 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
9649 out of bounds read.
9650
1f393a11
MP
96512012-02-29 Marek Polacek <polacek@redhat.com>
9652
9653 [BZ #13706]
9654 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
9655 * elf/Makefile: Add rules to run tst-unused-dep.out.
9656
8847f037
DM
96572012-02-28 David S. Miller <davem@davemloft.net>
9658
9659 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
9660 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
9661 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
9662 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
9663 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
9664 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
9665
169d7f11
JM
96662012-02-29 Joseph Myers <joseph@codesourcery.com>
9667
9668 * math/libm-test.inc (llround_test): Move one test from
9669 lround_test. Use TEST_f_L in moved test.
9670 (lround_test): Move misplaced test to llround_test. Add testcase
9671 from bug 2561.
9672
39adf059
UD
96732012-02-28 Ulrich Drepper <drepper@gmail.com>
9674
9675 * sysdeps/x86_64/fpu/e_expf.S: New file.
9676 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
9677
71b5d1c5
SB
96782012-02-28 Stanislav Brabec <sbrabec@suse.cz>
9679
9680 [BZ #13637]
9681 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
9682 of remain_len that may cause incomplete multi-byte character and
9683 false match.
9684 * posix/bug-regex33.c: New file.
9685 * posix/Makefile (tests): Add bug-regex33.
9686
1f77f049
JM
96872012-02-28 Joseph Myers <joseph@codesourcery.com>
9688
9689 * manual/macros.texi: New file.
9690 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
9691 * manual/libc.texinfo: Include macros.texi.
9692 * manual/creatute.texi: Likewise.
9693 * manual/install.texi: Likewise.
9694 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
9695 @glibcadj{} in references to the GNU C Library.
9696 * manual/charset.texi: Likewise.
9697 * manual/conf.texi: Likewise.
9698 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
9699 when not using those macros.
9700 * manual/creature.texi: Likewise.
9701 * manual/crypt.texi: Likewise.
9702 * manual/errno.texi: Likewise.
9703 * manual/filesys.texi: Likewise.
9704 * manual/header.texi: Likewise.
9705 * manual/install.texi: Likewise.
9706 * manual/intro.texi: Likewise.
9707 * manual/io.texi: Likewise.
9708 * manual/job.texi: Likewise.
9709 * manual/lang.texi: Likewise.
9710 * manual/libc.texiinfo: Likewise.
9711 * manual/llio.texi: Likewise.
9712 * manual/locale.texi: Likewise.
9713 * manual/maint.texi: Likewise.
9714 * manual/math.texi: Likewise.
9715 * manual/memory.texi: Likewise.
9716 * manual/message.texi: Likewise.
9717 * manual/nss.texi: Likewise.
9718 * manual/pattern.texi: Likewise.
9719 * manual/process.texi: Likewise.
9720 * manual/resource.texi: Likewise.
9721 * manual/search.texi: Likewise.
9722 * manual/setjmp.texi: Likewise.
9723 * manual/signal.texi: Likewise.
9724 * manual/socket.texi: Likewise.
9725 * manual/startup.texi: Likewise.
9726 * manual/stdio.texi: Likewise.
9727 * manual/string.texi: Likewise.
9728 * manual/sysinfo.texi: Likewise.
9729 * manual/syslog.texi: Likewise.
9730 * manual/terminal.texi: Likewise.
9731 * manual/time.texi: Likewise.
9732 * manual/users.texi: Likewise.
9733 * INSTALL: Regenerated.
9734 * NOTES: Regenerated.
d40c5d54 9735 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 9736
450bf206
AS
97372012-02-28 Andreas Schwab <schwab@linux-m68k.org>
9738
9739 * include/dirent.h: Include <dirstream.h> before
9740 <dirent/dirent.h>.
9741
741a235b
DM
97422012-02-28 David S. Miller <davem@davemloft.net>
9743
9744 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
9745 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
9746 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
9747 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
9748
d6b5aa58
DM
97492012-02-27 David S. Miller <davem@davemloft.net>
9750
1aff59a3
DM
9751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
9752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
9753 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
9754 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
9755
d6b5aa58
DM
9756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
9757 frame pointer instead of stack pointer relative arg slot.
9758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9759 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9760 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9761
433f48bf
CD
97622012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
9763
9764 [BZ #3992]
9765 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
9766
d674b76d
DM
97672012-02-27 David S. Miller <davem@davemloft.net>
9768
9769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
9770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
9773 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9774 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9775 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
9776 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
9777
0e7727f7
JM
97782012-02-27 Joseph Myers <joseph@codesourcery.com>
9779
9780 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
9781 later. Allow versions 5-9.
43be4ca2 9782 * configure: Regenerated.
0e7727f7
JM
9783 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
9784 required minimum version and 4.6 as recommended version. Do not
9785 mention bugs in GCC 2.7 and 2.8.
43be4ca2 9786 * INSTALL: Regenerated.
0e7727f7 9787
a78bc654
DM
97882012-02-27 David S. Miller <davem@davemloft.net>
9789
428d5830
DM
9790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
9791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
9792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
9793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
9794 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
9795 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
9796 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
9797 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
9798
a78bc654
DM
9799 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
9800 manipulate bits before adding and subtracting TWO112[sx].
9801 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9802
4579f81c
RM
98032012-02-27 Roland McGrath <roland@hack.frob.com>
9804
36c8acb4
RM
9805 [BZ #13775]
9806 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
9807 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
9808 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
9809 being in POSIX, because they are in 1003.1-2008.
9810
84ad622b
RM
9811 * rt/tst-aio.c: Include <fcntl.h>.
9812 * rt/tst-aio7.c: Likewise.
9813 * rt/tst-aio64.c: Likewise.
9814
4579f81c
RM
9815 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
9816
abd923db
JM
98172012-02-27 Joseph Myers <joseph@codesourcery.com>
9818
9819 * manual/install.texi (--with-headers): Describe headers as
9820 interface headers, not private headers.
9821 (Specific advice for GNU/Linux systems): Describe use of headers
9822 from "make headers_install", not private headers from older
9823 kernels.
43be4ca2 9824 * INSTALL: Regenerated.
abd923db
JM
9825 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
9826 Change to 2.6.19.
9827 * sysdeps/unix/sysv/linux/configure: Regenerated.
9828
6664049b
JM
9829 * manual/llio.texi (fclean): Remove documentation.
9830
bb8b6697
JM
9831 * manual/Makefile (libc-texi-generated): New variable. Include
9832 version.texi.
9833 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
9834 $(libc-texi-generated), not duplicated list of files.
9835 (version.texi, stamp-version): New rules.
9836 (realclean): Remove $(libc-texi-generated), not individual files
9837 from that list. Do not remove dir-add.texinfo.
9838 * manual/libc.texinfo: Comment out uses of edition numbers and
9839 references to printed manual. Remove last-updated dates.
9840 (EDITION): Comment out.
9841 (ISBN): Likewise.
9842 (VERSION, UPDATED): Remove.
9843 (version.texi): Include.
9844
12e5c3b9
AS
98452012-02-27 Andreas Schwab <schwab@linux-m68k.org>
9846
9847 * sysdeps/posix/spawni.c: Include <signal.h>.
9848 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
9849 * sysdeps/pthread/aio_fsync.c: Likewise.
9850
4efeffc1 98512012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 9852
ba63ba08
UD
9853 * conform/Makefile (tests): Run only when not cross-compiling and
9854 when fast-check is not defined.
9855
d94a4670
UD
9856 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
9857 * conform/data/limits.h-data: Fixes for POSIX2008.
9858 * conform/run-conformtest.sh: Run all tests.
9859 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
9860 headers.
9861 * include/bits/dlfcn.h: Likewise.
9862 * include/langinfo.h: Likewise.
9863 * include/monetary.h: Likewise.
9864 * include/sys/poll.h: Likewise.
9865
9866 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
9867 for __USE_GNU.
9868 * posix/spawn.h: Define __need_sigset_t.
9869 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
9870 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
9871 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
9872 to get sigevent_t only.
9873 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
9874 only for __USE_GNU.
9875 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9876 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9877 process_vm_writev only for __USE_GNU.
9878 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
9879
9880 * conform/Makefile: For now ignore errors from run-conformtest.
9881 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
9882 POSIX to avoid namespace pollution. Don't prepend headers.
9883 * conform/data/aio.h-data: Fixes for POSIX testing.
9884 * conform/data/fcntl.h-data: Likewise.
9885 * conform/data/glob.h-data: Likewise.
9886 * conform/data/grp.h-data: Likewise.
9887 * conform/data/pthread.h-data: Likewise.
9888 * conform/data/pwd.h-data: Likewise.
9889 * conform/data/signal.h-data: Likewise.
9890 * conform/data/spawn.h-data: Likewise.
9891 * conform/data/stdio.h-data: Likewise.
9892 * conform/data/stdlib.h-data: Likewise.
9893 * conform/data/stropts.h-data: Likewise.
9894 * conform/data/sys/mman.h-data: Likewise.
9895 * conform/data/sys/stat.h-data: Likewise.
9896 * conform/data/sys/types.h-data: Likewise.
9897 * conform/data/sys/wait.h-data: Likewise.
9898 * conform/data/time.h-data: Likewise.
9899 * conform/data/unistd.h-data: Likewise.
9900 * conform/data/utime.h-data: Likewise.
9901
9902 * io/sys/stat.h: fchmod was always in POSIX.
9903 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
9904 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
9905 * rt/aio.h: Define __need_timespec before including <time.h>.
9906 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
9907 struct. Add forward declaration of pthread_attr_t and use it in
9908 sigevent.
9909 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9910 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9911 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
9912 always remove CLK_TCK definition.
9913
c20105c3
AS
99142012-02-26 Andreas Schwab <schwab@linux-m68k.org>
9915
9916 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
9917
7a270350
UD
99182012-02-25 Ulrich Drepper <drepper@gmail.com>
9919
31341567
UD
9920 * conform/run-conformtest.sh: New file.
9921 * conform/Makefile: Run run-conformtest for tests.
9922 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
9923 support.
9924
9925 * conform/data/uchar.h-data: New file.
9926 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
9927 * conform/data/arpa/inet.h-data: Likewise.
9928 * conform/data/assert.h-data: Likewise.
9929 * conform/data/complex.h-data: Likewise.
9930 * conform/data/cpio.h-data: Likewise.
9931 * conform/data/ctype.h-data: Likewise.
9932 * conform/data/dirent.h-data: Likewise.
9933 * conform/data/dlfcn.h-data: Likewise.
9934 * conform/data/errno.h-data: Likewise.
9935 * conform/data/fcntl.h-data: Likewise.
9936 * conform/data/float.h-data: Likewise.
9937 * conform/data/fmtmsg.h-data: Likewise.
9938 * conform/data/fnmatch.h-data: Likewise.
9939 * conform/data/ftw.h-data: Likewise.
9940 * conform/data/glob.h-data: Likewise.
9941 * conform/data/grp.h-data: Likewise.
9942 * conform/data/iconv.h-data: Likewise.
9943 * conform/data/inttypes.h-data: Likewise.
9944 * conform/data/langinfo.h-data: Likewise.
9945 * conform/data/libgen.h-data: Likewise.
9946 * conform/data/limits.h-data: Likewise.
9947 * conform/data/locale.h-data: Likewise.
9948 * conform/data/math.h-data: Likewise.
9949 * conform/data/monetary.h-data: Likewise.
9950 * conform/data/mqueue.h-data: Likewise.
9951 * conform/data/ndbm.h-data: Likewise.
9952 * conform/data/net/if.h-data: Likewise.
9953 * conform/data/netdb.h-data: Likewise.
9954 * conform/data/netinet/in.h-data: Likewise.
9955 * conform/data/nl_types.h-data: Likewise.
9956 * conform/data/poll.h-data: Likewise.
9957 * conform/data/pthread.h-data: Likewise.
9958 * conform/data/pwd.h-data: Likewise.
9959 * conform/data/regex.h-data: Likewise.
9960 * conform/data/sched.h-data: Likewise.
9961 * conform/data/search.h-data: Likewise.
9962 * conform/data/semaphore.h-data: Likewise.
9963 * conform/data/setjmp.h-data: Likewise.
9964 * conform/data/signal.h-data: Likewise.
9965 * conform/data/spawn.h-data: Likewise.
9966 * conform/data/stdarg.h-data: Likewise.
9967 * conform/data/stdio.h-data: Likewise.
9968 * conform/data/stdlib.h-data: Likewise.
9969 * conform/data/string.h-data: Likewise.
9970 * conform/data/strings.h-data: Likewise.
9971 * conform/data/stropts.h-data: Likewise.
9972 * conform/data/sys/ipc.h-data: Likewise.
9973 * conform/data/sys/mman.h-data: Likewise.
9974 * conform/data/sys/msg.h-data: Likewise.
9975 * conform/data/sys/resource.h-data: Likewise.
9976 * conform/data/sys/select.h-data: Likewise.
9977 * conform/data/sys/sem.h-data: Likewise.
9978 * conform/data/sys/shm.h-data: Likewise.
9979 * conform/data/sys/socket.h-data: Likewise.
9980 * conform/data/sys/stat.h-data: Likewise.
9981 * conform/data/sys/statvfs.h-data: Likewise.
9982 * conform/data/sys/time.h-data: Likewise.
9983 * conform/data/sys/timeb.h-data: Likewise.
9984 * conform/data/sys/times.h-data: Likewise.
9985 * conform/data/sys/types.h-data: Likewise.
9986 * conform/data/sys/uio.h-data: Likewise.
9987 * conform/data/sys/un.h-data: Likewise.
9988 * conform/data/sys/utsname.h-data: Likewise.
9989 * conform/data/sys/wait.h-data: Likewise.
9990 * conform/data/syslog.h-data: Likewise.
9991 * conform/data/tar.h-data: Likewise.
9992 * conform/data/termios.h-data: Likewise.
9993 * conform/data/utime.h-data: Likewise.
9994 * conform/data/utmpx.h-data: Likewise.
9995 * conform/data/varargs.h-data: Likewise.
9996 * conform/data/wchar.h-data: Likewise.
9997 * conform/data/wctype.h-data: Likewise.
9998 * conform/data/wordexp.h-data: Likewise.
9999
10000 * include/stropts.h: New file.
10001 * include/uchar.h: New file.
10002 * include/aio.h: Changes to allow conformtest.pl to use the headers.
10003 * include/assert.h: Likewise.
10004 * include/ctype.h: Likewise.
10005 * include/dirent.h: Likewise.
10006 * include/dlfcn.h: Likewise.
10007 * include/fcntl.h: Likewise.
10008 * include/fnmatch.h: Likewise.
10009 * include/glob.h: Likewise.
10010 * include/grp.h: Likewise.
10011 * include/libio.h: Likewise.
10012 * include/locale.h: Likewise.
10013 * include/math.h: Likewise.
10014 * include/net/if.h: Likewise.
10015 * include/netdb.h: Likewise.
10016 * include/netinet/in.h: Likewise.
10017 * include/pthread.h: Likewise.
10018 * include/pwd.h: Likewise.
10019 * include/regex.h: Likewise.
10020 * include/sched.h: Likewise.
10021 * include/search.h: Likewise.
10022 * include/setjmp.h: Likewise.
10023 * include/signal.h: Likewise.
10024 * include/stdio.h: Likewise.
10025 * include/stdlib.h: Likewise.
10026 * include/string.h: Likewise.
10027 * include/sys/cdefs.h: Likewise.
10028 * include/sys/mman.h: Likewise.
10029 * include/sys/msg.h: Likewise.
10030 * include/sys/resource.h: Likewise.
10031 * include/sys/select.h: Likewise.
10032 * include/sys/socket.h: Likewise.
10033 * include/sys/stat.h: Likewise.
10034 * include/sys/statvfs.h: Likewise.
10035 * include/sys/time.h: Likewise.
10036 * include/sys/times.h: Likewise.
10037 * include/sys/uio.h: Likewise.
10038 * include/sys/utsname.h: Likewise.
10039 * include/sys/wait.h: Likewise.
10040 * include/termios.h: Likewise.
10041 * include/time.h: Likewise.
10042 * include/ulimit.h: Likewise.
10043 * include/unistd.h: Likewise.
10044 * include/utime.h: Likewise.
10045 * include/wchar.h: Likewise.
10046 * include/wctype.h: Likewise.
10047 * include/wordexp.h: Likewise.
10048
10049 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
10050
7a270350
UD
10051 * time/time.h: TIME_UTC must be a macro.
10052 Make timespec_get available for ISO C11 only as well.
10053
7724defc
UD
100542012-02-24 Ulrich Drepper <drepper@gmail.com>
10055
10056 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
10057 Reported by Peng Haitao <penght@cn.fujitsu.com>.
10058
6b1d1d46
JM
100592012-02-24 Joseph Myers <joseph@codesourcery.com>
10060
10061 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 10062
0f8bbd69
JM
100632012-02-24 Joseph Myers <joseph@codesourcery.com>
10064
10065 * manual/texinfo.tex: Update to version 2012-01-19.16.
10066
66ab80bc
JM
100672012-02-24 Joseph Myers <joseph@codesourcery.com>
10068
10069 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
10070
74981cc5
RM
100712012-02-24 Roland McGrath <roland@hack.frob.com>
10072
ee968201
RM
10073 [BZ #13738]
10074 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
10075 * manual/fdl-1.3.texi: New file.
10076 * manual/fdl-1.1.texi: File removed.
10077
74981cc5
RM
10078 [BZ #13738]
10079 * manual/libc.texinfo (FDL_VERSION): New @set.
10080 Use it for mention of FDL in cover text.
10081 (Documentation License): Use it in @include file name.
10082
7bb764bc
JM
100832012-02-22 Joseph Myers <joseph@codesourcery.com>
10084 Roland McGrath <roland@hack.frob.com>
10085
10086 [BZ #5461]
10087 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
10088 not LONG_LONG_MAX and LONG_LONG_MIN.
10089 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
10090 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
10091 name.
10092 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
10093
6cbeae47
JM
100942012-02-22 Joseph Myers <joseph@codesourcery.com>
10095
10096 [BZ #2547]
10097 [BZ #11365]
10098 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
10099 manipulate bits before adding and subtracting TWO23[sx].
10100 * math/libm-test.inc (nearbyint_test): Add more tests.
10101
fe45ce09
JM
101022012-02-22 Joseph Myers <joseph@codesourcery.com>
10103
10104 [BZ #2548]
10105 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
10106 bits before adding and subtracting TWO23[sx].
10107 * math/libm-test.inc (rint_test): Add more tests.
10108 (rint_test_tonearest): Likewise.
10109 (rint_test_towardzero): Likewise.
10110 (rint_test_downward): Likewise.
10111 (rint_test_upward: Likewise.
10112
ff3b3d82
JM
101132012-02-22 Joseph Myers <joseph@codesourcery.com>
10114
10115 [BZ #10110]
10116 * include/stdc-predef.h: New file. Extracted from features.h.
10117 * include/features.h: Include stdc-predef.h.
10118 * Makefile (headers): Add stdc-predef.h.
10119 * CONFORMANCE (Compiler limitations): Update.
10120
ef0aab35
JM
101212012-02-22 Joseph Myers <joseph@codesourcery.com>
10122
10123 * manual/libc.texinfo (VERSION, UPDATED): Revert.
10124
58639409
DM
101252012-02-21 David S. Miller <davem@davemloft.net>
10126
10127 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
10128 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10129
c0e70b25
DM
101302012-02-20 David S. Miller <davem@davemloft.net>
10131
10132 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
10133 using a normal save/restore sequence, rather than allocating a
10134 dummy stack frame just to store a frame pointer and restore.
10135 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10136
fb06851d
JM
101372012-02-21 Joseph Myers <joseph@codesourcery.com>
10138
10139 * manual/install.texi: Fix stray word in line-wrapped comment.
10140
7a8b71c3
DM
101412012-02-20 David S. Miller <davem@davemloft.net>
10142
d510c123
DM
10143 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
10144 both binutils and gcc support GOTDATA.
10145
0722d7c2
DM
10146 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
10147 "rd %pc" in the PIC register setup sequences.
10148
3d2b3019
DM
10149 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
10150 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10151 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10152 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10153 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10154 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10155 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10156 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10157 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
10158 (SYSCALL_ERROR_HANDLER): Likewise.
10159 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10160 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10161 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
10162 (SYSCALL_ERROR_HANDLER): Likewise.
10163
c80098a9
DM
10164 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
10165 (HAVE_GCC_GOTDATA): New.
10166 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
10167 relocation support in both binutils and gcc.
10168 * sysdeps/sparc/elf/configure: Regenerate.
10169
3a2545a0
DM
10170 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
10171 * sysdeps/sparc/sparc32/elf/configure: Delete.
10172 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
10173 * sysdeps/sparc/sparc64/elf/configure: Delete.
10174 * sysdeps/sparc/elf/configure.in: New file.
10175 * sysdeps/sparc/elf/configure: Generate.
10176
7a8b71c3
DM
10177 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
10178 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
10179 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10180 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
10181 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
10182
f1e86fca
JM
101832012-02-21 Joseph Myers <joseph@codesourcery.com>
10184
10185 * manual/install.texi: Do not mention specific glibc version
10186 numbers.
10187 * manual/libc.texinfo (VERSION, UPDATED): Update.
10188 (@copying): Use @copyright{} and range of years.
10189
0e7dfaef
JM
101902012-02-21 Joseph Myers <joseph@codesourcery.com>
10191
10192 [BZ #13695]
10193 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
10194 [crti.S not in sysdirs] (generated): Do not append.
10195 [crti.S not in sysdirs] (omit-deps): Likewise.
10196 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
10197 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
10198 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
10199 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
10200 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
10201 Likewise.
10202 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
10203 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
10204 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
10205 * csu/defs.awk: Remove file.
10206 * sysdeps/generic/initfini.c: Likewise.
10207 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
10208 variable.
10209 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
10210 Likewise.
10211
599af3ca
JM
102122012-02-20 Joseph Myers <joseph@codesourcery.com>
10213
10214 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
10215 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
10216 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
10217 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
10218 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10219 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
10220 <bits/epoll.h>.
10221 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
10222 (__EPOLL_PACKED): Define to empty if not defined by
10223 <bits/epoll.h>.
10224 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
10225 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10226 bits/epoll.h.
10227
0e499750
JM
102282012-02-20 Joseph Myers <joseph@codesourcery.com>
10229
10230 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
10231 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
10232 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10233 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10234 <bits/timerfd.h>.
10235 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10236 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10237 bits/timerfd.h.
10238
5ad91f6e
JM
102392012-02-20 Joseph Myers <joseph@codesourcery.com>
10240
10241 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10242 in C locale.
10243 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10244 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10245 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10247
06b99b02
AJ
102482012-02-20 Aurelien Jarno <aurelien@aurel32.net>
10249
10250 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10251 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10252
7638c0fd
AS
102532012-02-19 Andreas Schwab <schwab@linux-m68k.org>
10254
10255 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10256 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10257 defined.
10258 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10259 Likewise.
10260 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10261 entry for 2.16.
10262
92221550
AJ
102632012-02-19 Aurelien Jarno <aurelien@aurel32.net>
10264
10265 * math/w_acos.c: Use non-signaling floating-point comparisons.
10266 * math/w_acosf.c: Likewise.
10267 * math/w_acosh.c: Likewise.
10268 * math/w_acoshf.c: Likewise.
10269 * math/w_acoshl.c: Likewise.
10270 * math/w_acosl.c: Likewise.
10271 * math/w_asin.c: Likewise.
10272 * math/w_asinf.c: Likewise.
10273 * math/w_asinl.c: Likewise.
10274 * math/w_atanh.c: Likewise.
10275 * math/w_atanhf.c: Likewise.
10276 * math/w_atanhl.c: Likewise.
10277 * math/w_exp2.c: Likewise.
10278 * math/w_exp2f.c: Likewise.
10279 * math/w_exp2l.c: Likewise.
10280 * math/w_j0.c: Likewise.
10281 * math/w_j0f.c: Likewise.
10282 * math/w_j0l.c: Likewise.
10283 * math/w_j1.c: Likewise.
10284 * math/w_j1f.c: Likewise.
10285 * math/w_j1l.c: Likewise.
10286 * math/w_jn.c: Likewise.
10287 * math/w_jnf.c: Likewise.
10288 * math/w_log.c: Likewise.
10289 * math/w_log10.c: Likewise.
10290 * math/w_log10f.c: Likewise.
10291 * math/w_log10l.c: Likewise.
10292 * math/w_log2.c: Likewise.
10293 * math/w_log2f.c: Likewise.
10294 * math/w_log2l.c: Likewise.
10295 * math/w_logf.c: Likewise.
10296 * math/w_logl.c: Likewise.
10297 * math/w_sqrt.c: Likewise.
10298 * math/w_sqrtf.c: Likewise.
10299 * math/w_sqrtl.c: Likewise.
10300 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10301 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10302 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10303 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10304 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10305
ebaf36eb
JM
103062012-02-19 Joseph Myers <joseph@codesourcery.com>
10307
10308 [BZ #9739]
10309 * manual/string.texi (strnlen): Use correct parameter name in
10310 equivalent expression.
10311
71c254a6
JM
103122012-02-19 Joseph Myers <joseph@codesourcery.com>
10313
10314 [BZ #11174]
10315 * manual/users.texi (seteuid): Consistently use neweuid for
10316 argument name.
10317
16d2c631
JM
103182012-02-19 Joseph Myers <joseph@codesourcery.com>
10319
10320 [BZ #13704]
10321 * manual/nss.texi (Services in the NSS configuration): Correct
10322 list of services in example configuration file.
10323
cd837b09
NB
103242012-02-19 Nick Bowler <nbowler@draconx.ca>
10325
10326 [BZ #11322]
10327 * manual/arith.texi: Remove statements about negative zero
10328 behaving identically to zero.
10329
02c4bbad
JM
103302012-02-18 Joseph Myers <joseph@codesourcery.com>
10331
10332 [BZ #5993]
10333 * manual/install.texi: Do not document upgrading from libc5.
10334
366842e7
JM
103352012-02-18 Joseph Myers <joseph@codesourcery.com>
10336
10337 [BZ #4596]
10338 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
10339
dd54084d
DM
103402012-02-18 David S. Miller <davem@davemloft.net>
10341
10342 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
10343 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
10344 %o7 across the call.
10345 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
10346 instead.
10347 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
10348 SETUP_PIC_REG_LEAF.
10349 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10350 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
10351 * sysdeps/sparc/crtn.S: Likewise.
10352
2bcc53a3
UD
103532012-02-17 Ulrich Drepper <drepper@gmail.com>
10354
10355 * aout/Makefile: Remove.
10356
09c093b5
RK
103572012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
10358
10359 [BZ #13058]
10360 * manual/examples/argp-ex1.c (main): Format definition in GNU
10361 style.
10362 * manual/examples/argp-ex2.c (main): Likewise.
10363 * manual/examples/argp-ex3.c (main): Likewise.
10364 * manual/examples/argp-ex4.c (main): Likewise.
10365 * manual/examples/longopt.c (main): Use new-style prototype
10366 definition.
10367 * manual/examples/strncat.c (main): Specify return type and use
10368 (void) for arguments.
10369 * manual/examples/subopt.c (main): Use char **argv argument.
10370
2ee633a2
JM
103712012-02-17 Joseph Myers <joseph@codesourcery.com>
10372
10373 [BZ #5077]
10374 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
10375 rounding modes.
10376
0520adde
FB
103772012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
10378
10379 [BZ #6907]
10380 * manual/string.texi (strchr): Change when strchrnul is
10381 recommended.
10382
3f4081cd
DGM
103832012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
10384
10385 [BZ #174]
10386 * manual/locale.texi (setlocale): Document LOCPATH.
10387
d1b10e78
JM
103882012-02-17 Joseph Myers <joseph@codesourcery.com>
10389
10390 [BZ #10210]
10391 * manual/process.texi (execle): Move @dots{} before last argument.
10392
79c6869c
PB
103932012-02-17 Paul Bolle <pebolle@tiscali.nl>
10394
10395 [BZ #12047]
10396 * manual/charset.texi (Generic Charset Conversion): Fix typo
10397 (LC_TYPE -> LC_CTYPE).
10398
cc6e48bc
NB
103992012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
10400
10401 [BZ #5805]
10402 * manual/arith.texi (scalbn): Use @var{} on parameter names.
10403 (scalbnf): Likewise.
10404 (scalbnl): Likewise.
10405 (scalbln): Likewise.
10406 (scalblnf): Likewise.
10407 (scalblnl): Likewise.
10408 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
10409 (vwarnx): Likewise.
10410 (verr): Likewise.
10411 (verrx): Likewise.
10412 * manual/filesys.texi (telldir): Use braces around return type.
10413 * manual/llio.texi (mmap): Add space after comma.
10414 (mmap64): Likewise.
10415 * manual/math.texi (jn): Use @var{} on parameter names.
10416 (jnf): Likewise.
10417 (jnl): Likewise.
10418 (yn): Likewise.
10419 (ynf): Likewise.
10420 (ynl): Likewise.
10421 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
10422 line.
10423 * manual/resource.texi (ulimit): Use @dots{} instead of literal
10424 "...".
10425 (sched_get_priority_min): Remove semicolon on @deftypefun line.
10426 (sched_get_priority_max): Likewise.
10427 * manual/signal.texi (sigvec): Add space after comma.
10428 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
10429 names.
10430 (if_indextoname): Likewise.
10431 (if_freenameindex): Likewise.
10432 (sendto): Use ',' instead of '.' in prototype.
10433 * manual/startup.texi (syscall): Use @dots{} instead of literal
10434 "...".
10435 * manual/stdio.texi (__fpending): Separate initial words of
10436 paragraph from @deftypefun line.
10437 * manual/syslog.texi (syslog): Use @dots{} instead of literal
10438 "...".
10439 (vsyslog): Use @var{} on parameter names.
10440 * manual/terminal.texi (stty): Use @var{} on parameter names.
10441 * manual/users.texi (getutmp): Use @var{} on parameter names.
10442 (getutmpx): Likewise.
10443
5b23062f
JM
104442012-02-17 Joseph Myers <joseph@codesourcery.com>
10445
10446 [BZ #6884]
10447 * manual/stdio.texi (fopen): Fix typos in description of
10448 ",ccs=STRING".
10449
8dee4833
AJ
104502012-02-17 Aurelien Jarno <aurelien@aurel32.net>
10451
10452 [BZ #4026]
10453 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
10454 get clock_id definition.
10455
9078ce93
TS
104562012-02-17 Thomas Schwinge <thomas@schwinge.name>
10457
10458 [BZ #4822]
10459 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
10460 (madvise): Cast every argument to void on its own.
10461
3835c55f
JM
104622012-02-17 Joseph Myers <joseph@codesourcery.com>
10463
10464 [BZ #9902]
10465 * manual/startup.texi (Exit Status): Fix typo.
10466
35c47e37
JM
104672012-02-17 Joseph Myers <joseph@codesourcery.com>
10468
10469 [BZ #10140]
10470 * manual/examples/argp-ex1.c: Include <stdlib.h>.
10471 * manual/examples/argp-ex2.c: Likewise.
10472 * manual/examples/argp-ex3.c: Likewise.
10473
e3b69ca7
RH
104742012-02-16 Richard Henderson <rth@redhat.com>
10475
10476 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
10477 * sysdeps/s390/s390-32/initfini.c: Remove.
10478 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
10479 * sysdeps/s390/s390-64/initfini.c: Remove.
10480
df83af67
KK
104812012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10482
10483 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
10484 compiler output for sysdeps/generic/initfini.c.
10485 * sysdeps/sh/elf/initfini.c: Remove file.
10486
f63f3380
DM
104872012-02-16 David S. Miller <davem@davemloft.net>
10488
fb59b3a4
DM
10489 [BZ #11494]
10490 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
10491
f63f3380
DM
10492 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
10493 * sysdeps/sparc/crti.S: New file.
10494 * sysdeps/sparc/crtn.S: New file.
10495 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
10496 * sysdeps/sparc/sparc64/Makefile: Likewise.
10497
df6a4a4a
MF
104982012-02-15 Mike Frysinger <vapier@gentoo.org>
10499
6dd8f3dc 10500 [BZ #3335]
df6a4a4a
MF
10501 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
10502
1cac7236
RM
105032012-02-15 Roland McGrath <roland@hack.frob.com>
10504
d2c736f8
RM
10505 [BZ #4822]
10506 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
10507
1cac7236
RM
10508 * mach/devstream.c (cookie_io_functions_t): Macro removed.
10509 (write, read, close): Likewise.
10510 Patch by Aurelien Jarno <aurelien@aurel32.net>.
10511
8e475601
JM
105122012-02-15 Joseph Myers <joseph@codesourcery.com>
10513
10514 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
10515 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
10516 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
10517 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
10518 <bits/signalfd.h>.
10519 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
10520 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10521 bits/signalfd.h.
10522
ed656b40
MP
105232012-02-14 Marek Polacek <polacek@redhat.com>
10524
10525 * sysdeps/x86_64/crti.S: New file.
10526 * sysdeps/x86_64/crtn.S: New file.
10527 * sysdeps/x86_64/elf/initfini.c: Remove file.
10528
2a979d3a
JM
105292012-02-13 Joseph Myers <joseph@codesourcery.com>
10530
10531 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
10532 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
10533 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
10534 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
10535 <bits/inotify.h>.
10536 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
10537 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10538 bits/inotify.h.
10539
2a418ac3
JM
105402012-02-13 Joseph Myers <joseph@codesourcery.com>
10541
10542 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
10543 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
10544 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
10545 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
10546 <bits/eventfd.h>.
10547 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
10548 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10549 bits/eventfd.h.
10550
fb779be7
TS
105512012-02-10 Thomas Schwinge <thomas@codesourcery.com>
10552
e19e83c5
RM
10553 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
10554 __feraiseexcept instead of feraiseexcept.
7c35ffed 10555
fb779be7
TS
10556 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
10557 nanosleep invocations.
10558 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
10559 strings, and add error checking for a nanosleep invocations.
10560
59ba27a6
PE
105612012-02-09 Paul Eggert <eggert@cs.ucla.edu>
10562
10563 Replace FSF snail mail address with URLs, as per GNU coding standards.
10564 Most of the snail mail addresses were wrong anyway, and omitting
10565 them makes the source code easier to maintain. Almost all of the
10566 changes are to license notices and to locale LC_IDENTIFICATION
10567 addresses, except for this one:
10568 * manual/libc.texinfo: In "Published by", give the FSF's URL,
10569 not its snail mail address.
10570
57b957eb
RH
105712012-02-09 Richard Henderson <rth@twiddle.net>
10572
af850b1c
RH
10573 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
10574 of kernel-features.h.
10575
57b957eb
RH
10576 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
10577
6b73181a
MP
105782012-02-08 Marek Polacek <polacek@redhat.com>
10579
10580 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
10581 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
10582 * sysdeps/gnu/_G_config.h: Likewise.
10583 * sysdeps/generic/_G_config.h: Likewise.
10584
26ecc33a
AS
105852012-02-08 Andreas Schwab <schwab@linux-m68k.org>
10586
6c6dbc63
AS
10587 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
10588 tests.
10589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10590
e216c012
AS
10591 * sysdeps/powerpc/powerpc32/crti.S: New file.
10592 * sysdeps/powerpc/powerpc32/crtn.S: New file.
10593 * sysdeps/powerpc/powerpc64/crti.S: New file.
10594 * sysdeps/powerpc/powerpc64/crtn.S: New file.
10595
26ecc33a
AS
10596 * Makeconfig (have-initfini): Don't set.
10597 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
10598 * configure.in (nopic_initfini): Don't substitute.
10599 * config.h.in (HAVE_INITFINI): Don't #undef.
10600 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
10601 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
10602
3add8e13
JM
106032012-02-08 Joseph Myers <joseph@codesourcery.com>
10604
10605 Support crti.S and crtn.S provided directly by architectures.
10606 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
10607 [crti.S in sysdirs] (omit-deps): Likewise.
10608 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
10609 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
10610 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
10611 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
10612 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
10613 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
10614 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
10615 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
10616 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
10617 compiler output for sysdeps/generic/initfini.c.
10618 * sysdeps/i386/elf/Makefile: Remove file.
10619 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
10620
a22f12b4
MP
106212012-02-07 Marek Polacek <polacek@redhat.com>
10622
10623 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
10624 * sysdeps/gnu/_G_config.h: Likewise.
10625 * sysdeps/mach/hurd/_G_config.h: Likewise.
10626
148cf100
MP
106272012-02-07 Marek Polacek <polacek@redhat.com>
10628
10629 * math/Makefile (tests): Add tst-CMPLX2.
10630 * math/tst-CMPLX2.c: New file.
10631
cfdc0dd7
AS
106322012-02-07 Andreas Schwab <schwab@linux-m68k.org>
10633
84ba42c4
AS
10634 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10635
cfdc0dd7
AS
10636 * math/libm-test.inc (jn_test): Add missing L suffix.
10637
622c86f4
MP
106382012-02-06 Marek Polacek <polacek@redhat.com>
10639
10640 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
10641 * sysdeps/i386/fpu/e_powf.S: Likewise.
10642 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10643 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10644 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10645 * sysdeps/i386/fpu/e_pow.S: Likewise.
10646 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10647 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10648 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10649 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10650 * sysdeps/i386/fpu/e_log2.S: Likewise.
10651 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10652 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10653 * sysdeps/i386/fpu/e_powl.S: Likewise.
10654 * sysdeps/i386/fpu/s_log1p.S: Likewise.
10655 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10656 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10657 * sysdeps/i386/fpu/e_logl.S: Likewise.
10658 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10659 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
10660 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10661 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10662 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10663 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10664 * sysdeps/i386/fpu/e_log.S: Likewise.
10665 * sysdeps/i386/fpu/s_cexp.S: Likewise.
10666 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10667 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
10668 * sysdeps/i386/fpu/e_logf.S: Likewise.
10669 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10670 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10671 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
10672 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10673 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10674 * sysdeps/i386/fpu/e_log10.S: Likewise.
10675 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10676 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10677 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10678 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10679 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10680 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10681 * sysdeps/i386/asm-syntax.h: Likewise.
10682 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10683 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10684 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10685 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
10686 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
10687 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10688 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10689 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10690 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10691 * sysdeps/powerpc/sysdep.h: Likewise.
10692 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
10693 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10694
d4a54ac6
JM
106952012-02-06 Joseph Myers <joseph@codesourcery.com>
10696
10697 [BZ #411]
10698 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
10699
314054ea
JM
107002012-02-06 Joseph Myers <joseph@codesourcery.com>
10701
10702 * sysdeps/i386/sysdep.h: Include <features.h>.
10703 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
10704 version.
10705
d8e0ca50
JM
107062012-02-05 Joseph Myers <joseph@codesourcery.com>
10707
10708 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
10709 Define.
10710 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
10711 LOAD_PIC_REG_STR.
10712
b1da7dd9
JM
107132012-02-03 Joseph Myers <joseph@codesourcery.com>
10714
10715 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
10716 (SETUP_PIC_REG): Use GET_PC_THUNK.
10717 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
10718 macro.
10719
9a1d9254
JM
107202012-02-03 Joseph Myers <joseph@codesourcery.com>
10721
10722 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
10723 for non-PIC compilation.
10724 (SETUP_PIC_REG): Add .p2align directive.
10725 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
10726 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10727 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10728 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10729 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10730 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10731 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10732 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10733 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10734 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10735 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10736 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10737 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10738 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10739 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10740 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10741 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10742 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10743 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10744 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10745 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10746 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10747 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10748 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10749 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10750 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10751 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10752 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10753 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10754 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10755 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10756 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10757 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10758 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10759 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10760 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10761 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10762 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10763 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10764 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10765 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10766
65dc3b75
JM
107672012-02-03 Joseph Myers <joseph@codesourcery.com>
10768
10769 * math/tst-CMPLX.c: Include <stdio.h>.
10770
d55bf177
JM
107712012-01-31 Joseph Myers <joseph@codesourcery.com>
10772
10773 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
10774 float.
10775 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10776 * sysdeps/sparc/bits/mathdef.h: Likewise.
10777
69db4f8f
MP
107782012-01-31 Marek Polacek <polacek@redhat.com>
10779
10780 * libio/libio.h: Don't define _PARAMS.
10781 * locale/programs/config.h: Don't define PARAMS.
10782 * stdlib/strtol_l.c: Likewise.
10783 (__strtol_l): Remove PARAMS from the prototype.
10784
41b81892
UD
107852012-01-31 Ulrich Drepper <drepper@gmail.com>
10786
3b49edc0
UD
10787 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
10788 names. Just use the correct names. Remove unnecessary wrapper
10789 functions.
10790 * malloc/arena.c: Likewise.
10791 * malloc/hooks.c: Likewise.
10792
41b81892
UD
10793 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
10794 ARENA_TEST says not to. Simplify test for creation of a new arena.
10795 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
10796
27a25b6e
UD
107972012-01-30 Ulrich Drepper <drepper@gmail.com>
10798
10799 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
10800 into tail calls.
10801 (update_get_addr): New function.
10802 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
10803 GET_ADDR_MODULE parameter.
10804
c8a89e7d
JM
108052012-01-30 Joseph Myers <joseph@codesourcery.com>
10806
10807 * crypt/cert.c: Remove __STDC__ conditionals.
10808 * crypt/crypt-entry.c: Likewise.
10809 * crypt/crypt_util.c: Likewise.
10810 * libio/filedoalloc.c: Likewise.
10811 * libio/fileops.c: Likewise.
10812 * libio/genops.c: Likewise.
10813 * libio/iofclose.c: Likewise.
10814 * libio/iofdopen.c: Likewise.
10815 * libio/iofopen.c: Likewise.
10816 * libio/iofopen64.c: Likewise.
10817 * libio/iogetdelim.c: Likewise.
10818 * libio/iopopen.c: Likewise.
10819 * libio/obprintf.c: Likewise.
10820 * libio/oldfileops.c: Likewise.
10821 * libio/oldiofclose.c: Likewise.
10822 * libio/oldiofdopen.c: Likewise.
10823 * libio/oldiofopen.c: Likewise.
10824 * libio/oldiopopen.c: Likewise.
10825 * libio/wfiledoalloc.c: Likewise.
10826 * libio/wgenops.c: Likewise.
10827 * locale/programs/xmalloc.c: Likewise.
10828 * misc/syslog.c: Likewise.
10829 * stdio-common/xbug.c: Likewise.
10830 * string/memchr.c: Likewise.
10831 * string/memcmp.c: Likewise.
10832 * string/memrchr.c: Likewise.
10833 * string/rawmemchr.c: Likewise.
10834 * sysdeps/posix/getcwd.c: Likewise.
10835 * time/strftime_l.c: Likewise.
10836
3b100462
JM
108372012-01-30 Joseph Myers <joseph@codesourcery.com>
10838
10839 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
10840 * config.make.in (config-cflags-sse2avx): Define.
10841 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
10842 Fix typo.
10843
607998af
CM
108442012-01-29 Chris Metcalf <cmetcalf@tilera.com>
10845
10846 * scripts/config.guess: Update from upstream config git repository.
10847 * scripts/config.sub: Likewise.
10848
3601428f
CM
108492012-01-28 Chris Metcalf <cmetcalf@tilera.com>
10850
3ac8b282
CM
10851 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
10852 (EM_NUM): Update.
10853 (R_TILEPRO_*, R_TILEGX_*): New macros.
10854
e034841e
CM
10855 * scripts/firstversions.awk: Fix bug in version range handling.
10856
540d7568
CM
10857 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
10858
3601428f
CM
10859 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
10860
463de862
CM
10861 * include/sys/epoll.h: New file.
10862 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
10863 libc_hidden_def.
10864
73139a76
UD
108652012-01-28 Ulrich Drepper <drepper@gmail.com>
10866
96bc5b45
UD
10867 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
10868 Avoid unnecessary __WORDSIZE == 64 test.
10869 (fmaxf): Use VEX format if possible.
10870 (fmax): Likewise.
10871 (fminf): Likewise.
10872 (fmin): Likewise.
10873
56f6f6a2
UD
10874 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
10875 * math/math_private.h: Remove libc_fegetround* and
10876 libc_fesetround*.
10877 * sysdeps/i386/configure.in: Check for -msse2avx.
10878 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
10879 also if SSE2AVX is defined.
10880 Remove libc_fegetround* and libc_fesetround*.
10881 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
10882 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
10883 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
10884 of HAS_YMM_USABLE.
10885 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10886 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10887 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10888 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10889 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10890
73139a76
UD
10891 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
10892
d73f93a4
AZ
108932012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10894
10895 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
10896 size is not set.
10897 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10898
6ee65ed6
UD
108992012-01-27 Ulrich Drepper <drepper@gmail.com>
10900
10901 [BZ #13618]
10902 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
10903 relocation.
10904 * Makeconfig (libm): Define.
10905 * elf/Makefile: Add rules to build and run tst-relsort1.
10906 * elf/tst-relsort1.c: New file.
10907 * elf/tst-relsort1mod1.c: New file.
10908 * elf/tst-relsort1mod2.c: New file.
10909
8db21882
JM
109102012-01-27 Joseph Myers <joseph@codesourcery.com>
10911
10912 * math/s_ldexp.c: Remove __STDC__ conditionals.
10913 * math/s_ldexpf.c: Likewise.
10914 * math/s_ldexpl.c: Likewise.
10915 * math/s_nextafter.c: Likewise.
10916 * math/s_nexttowardf.c: Likewise.
10917 * math/s_significand.c: Likewise.
10918 * math/s_significandf.c: Likewise.
10919 * math/s_significandl.c: Likewise.
10920 * math/w_jnl.c: Likewise.
10921 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10922 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10923 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10924 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10925 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10926 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10927 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
10928 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10929 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10930 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10931 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10932 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10933 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10934 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10935 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10936 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10937 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10938 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10939 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10940 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10941 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10942 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10943 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10944 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10945 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10946 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10947 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10948 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10949 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10950 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10951 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10952 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10953 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10954 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10955 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10956 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10957 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10958 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10959 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10960 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10961 * sysdeps/ieee754/k_standard.c: Likewise.
10962 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10963 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10964 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10965 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10966 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10967 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10968 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10969 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10970 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10971 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10972 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10973 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10974 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10975 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10976 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10977 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10978 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10979 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10980 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10981 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10982 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10983 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10984 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10985 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10986 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10987 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10988 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10989 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10990 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10991 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10992 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10993 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10994 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10995 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10996 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10997 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10998 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10999 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11000 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11001 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11002 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11003 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11004 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11005 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11006 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11007 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11008 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11009 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11010 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11011 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11012 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11013 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11014 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11015 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11016 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11017 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11018 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11019 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11020 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11021 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11022 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11023 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11024 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11025 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11026 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11027 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11028 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11029 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11030 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11031 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11032 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11033 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11034 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11035 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11036 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11037 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11038 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11039 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11040 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11041 * sysdeps/ieee754/s_matherr.c: Likewise.
11042 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11043 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11044 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11045 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11046
965a54a4
JM
110472012-01-26 Joseph Myers <joseph@codesourcery.com>
11048
11049 * crypt/md5.h: Remove __STDC__ conditionals.
11050 * libio/libioP.h: Likewise.
11051 * locale/programs/config.h: Likewise.
11052 * sysdeps/generic/sysdep.h: Likewise.
11053 * sysdeps/i386/asm-syntax.h: Likewise.
11054 * sysdeps/s390/asm-syntax.h: Likewise.
11055 * sysdeps/unix/sysdep.h: Likewise.
11056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11058
7071ad79
JM
110592012-01-26 Joseph Myers <joseph@codesourcery.com>
11060
11061 * libio/libio.h: Remove __STDC__ conditionals.
11062 * malloc/obstack.h: Likewise.
11063 * math/complex.h: Likewise.
11064 * math/math.h: Likewise.
11065 * sysdeps/generic/_G_config.h: Likewise.
11066 * sysdeps/gnu/_G_config.h: Likewise.
11067 * sysdeps/mach/hurd/_G_config.h: Likewise.
11068 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11069 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11070 * sysdeps/sparc/bits/mathdef.h: Likewise.
11071
afc5ed09
UD
110722012-01-26 Ulrich Drepper <drepper@gmail.com>
11073
11074 [BZ #13583]
11075 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 11076 Clean up HAS_* macros.
afc5ed09 11077 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
11078 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
11079 possible.
11080 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
11081 HAS_AVX.
11082 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11083 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11084 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11085 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11086 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 11087
bdb6de1d
JM
110882012-01-25 Joseph Myers <joseph@codesourcery.com>
11089
11090 * elf/tst-unique3.cc (gets): Remove declaration.
11091 * elf/tst-unique3lib.cc (gets): Likewise.
11092 * elf/tst-unique3lib2.cc (gets): Likewise.
11093 * elf/tst-unique4.cc (gets): Likewise.
11094
b15549e6
UD
110952012-01-24 Ulrich Drepper <drepper@gmail.com>
11096
11097 * include/stdio.h: Add C++ protection. Add gets declarations and
11098 definitions.
11099 * debug/tst-chk1.c: Don't declare gets here.
11100 * stdio-common/tst-gets.c: Likewise.
11101
a037381f
JM
111022012-01-24 Joseph Myers <joseph@codesourcery.com>
11103
11104 * posix/glob: Remove directory.
11105
f1d4aa75
JM
111062012-01-24 Joseph Myers <joseph@codesourcery.com>
11107
11108 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
11109
81c0c964
PT
111102012-01-22 Pino Toscano <toscano.pino@tiscali.it>
11111
11112 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
11113 of the non-standard EPFNOSUPPORT.
11114
0ea698ae
ST
111152011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
11116
11117 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
11118 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
11119 ANYWHERE set to 1 only on KERN_NO_SPACE error.
11120
d220b117
UD
111212012-01-21 Ulrich Drepper <drepper@gmail.com>
11122
11123 * wcsmbs/uchar.h: Test __STDC_VERSION__.
11124
3e1aa84e
UD
111252012-01-20 Ulrich Drepper <drepper@gmail.com>
11126
11127 * nscd/aicache.c (addhstaiX): Do not cache negative results of
11128 transient errors.
11129 * nscd/grpcache.c (cache_addgr): Likewise.
11130 * nscd/hstcache.c (cache_addhst): Likewise.
11131 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11132 * nscd/pwdcache.c (cache_addpw): Likewise.
11133 * nscd/servicescache.c (cache_addserv): Likewise.
11134
400aa020
UD
111352012-01-16 Ulrich Drepper <drepper@gmail.com>
11136
d77e7869
UD
11137 * malloc/malloc.c: Various cleanups.
11138 * malloc/hooks.c: Likewise.
11139
400aa020
UD
11140 * stdlib/Makefile (tests): Add bug-fmtmsg1.
11141 * stdlib/bug-fmtmsg1.c: New file.
11142
11143 * stdlib/fmtmsg.c (init): Add missing unlock.
11144 Patch by Peng Haitao <penght@cn.fujitsu.com>.
11145
e0a309cf
MP
111462012-01-12 Marek Polacek <polacek@redhat.com>
11147
11148 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
11149 and _GNU_SOURCE.
11150
929d11c7
WS
111512012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11152
11153 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
11154 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
11155 macro to ensure uniqueness of label name.
11156 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11157 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11158
41d0e869
UD
111592012-01-11 Ulrich Drepper <drepper@gmail.com>
11160
0cc5ed3b
UD
11161 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
11162
41d0e869
UD
11163 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
11164 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11165 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11166 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
11167
a47a831a
UD
111682012-01-10 Ulrich Drepper <drepper@gmail.com>
11169
daa891c0
UD
11170 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
11171
11172 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
11173 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11174 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11175
e58ef0f2
UD
11176 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
11177
a47a831a 11178 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
11179 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11180 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 11181 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
11182
11183 * math/bits/math-finite.h: Add ldexp support.
11184
a0bfc9c7
MP
111852012-01-10 Marek Polacek <polacek@redhat.com>
11186
11187 * locale/programs/localedef.h (show_archive_content): Add noreturn
11188 attribute.
11189
d6e97a1d
UD
111902012-01-09 Ulrich Drepper <drepper@gmail.com>
11191
11192 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
11193
d5835c26
UD
111942012-01-08 Ulrich Drepper <drepper@gmail.com>
11195
e5f484c6
UD
11196 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
11197
d5835c26
UD
11198 * io/Makefile (headers): Add bits/poll2.h.
11199
d1f741e9
WS
112002011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
11201
11202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
11203 typo #include statement.
11204
ec09c1c4
UD
112052012-01-08 Ulrich Drepper <drepper@gmail.com>
11206
11207 * include/sys/cdefs.h: Define __attribute_alloc_size.
11208 * catgets/gencat.c: Add alloc_size attribute and apply consistently
11209 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
11210 * elf/pldd.c: Likewise.
11211 * iconv/iconv_charmap.c: Likewise.
11212 * iconv/iconvconfig.c: Likewise.
11213 * iconv/strtab.c: Likewise.
11214 * locale/programs/locale.c: Likewise.
11215 * locale/programs/localedef.h: Likewise.
11216 * locale/programs/simple-hash.c: Likewise.
11217 * nscd/nscd.h: Likewise.
11218 * nss/makedb.c: Likewise.
11219 * sysdeps/generic/ldconfig.h: Likewise.
11220 * locale/programs/localedef.c: Remove xmalloc prototype.
11221 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
11222
20b38e03
PP
112232012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11224
11225 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
11226 appropriate.
11227
a0da5fe1
UD
112282012-01-08 Ulrich Drepper <drepper@gmail.com>
11229
1d5a644a 11230 * math/Makefile (tests): Add tst-CMPLX.
669704fd 11231 * math/tst-CMPLX.c: New file.
1d5a644a 11232
8784a6db
UD
11233 * math/complex.h (CMPLXL): Fix typo.
11234
d9a216c0
UD
11235 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11236 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11237 GLIBC_2.16.
11238 * debug/tst-chk1.c: Add poll and ppoll tests.
11239 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11240 * include/sys/poll.h: Add hidden proto for ppoll.
11241 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11242 * sysdeps/mach/hurd/ppoll.c: Likewise.
11243 * io/ppoll.c: Likewise.
11244 * debug/poll_chk.c: New file.
11245 * debug/ppoll_chk.c: New file.
11246 * include/bits/poll2.h: New file.
11247 * io/bits/poll2.h: New file.
11248
ac097f5c
UD
11249 [BZ #1350]
11250 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11251
2119dcfa
UD
11252 * configure.in: static is always set to yes. Remove.
11253 * config.make.in: Don't set build-static.
11254 * Makeconfig: Remove use of build-static.
11255 * dlfcn/Makefile: Likewise.
11256 * elf/Makefile: Likewise.
11257 * math/Makefile: Likewise.
11258 * misc/Makefile: Likewise.
11259 * nptl/Makefile: Likewise.
11260 * sysdeps/mach/hurd/Makefile: Likewise.
11261
121766a9
UD
11262 * configure.in: PWD_P is not used anymore.
11263 * config.make.in: Remove PWD_P entry.
11264
51a1d39c 11265 * configure.in: Remove last remnants of RANLIB.
8720d066 11266 No need to check for signed size_t anymore.
215f4bdc
UD
11267 Don't set libc_commonpagesize and libc_relro_required here for Alpha
11268 and IA-64.
3857022a 11269 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
11270 * aclocal.m4: Likewise.
11271
d3ed7225
UD
11272 * wcsmbs/mbrtoc16.c: Implement using towc function.
11273 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11274 * wcsmbs/wcsmbsload.c: Likewise.
11275 * iconv/gconv_simple.c: Likewise.
11276 * iconv/gconv_int.h: Likewise.
11277 * iconv/gconv_builtin.h: Likewise.
11278 * iconv/iconv_prog.c: Remove CHAR16 handling.
11279
11280 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11281
11282 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11283
a0da5fe1
UD
11284 * configure.in: Remove --with-elf and --enable-bounded options.
11285 Dont set base_machine for ia64. More non-ELF conditions removed.
11286 Remove testing and setting of leading underscore information.
11287 * config.make.in (build-bounded): Set to no.
11288 * config.h.in: Remove NO_UNDERSCORES entry.
11289 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
11290 them.
11291 * csu/start.c: Remove !NO_UNDERSCORE code.
11292 * locale/localeinfo.h: Likewise.
11293 * sysdeps/generic/machine-gmon.h: Likewise.
11294 * sysdeps/generic/sysdep.h: Likewise.
11295 * sysdeps/i386/sysdep.h: Likewise.
11296 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11297 * sysdeps/mach/sysdep.h: Likewise.
11298 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11299 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11300 * sysdeps/sh/sysdep.h: Likewise.
11301 * sysdeps/sparc/sparc32/alloca.S: Likewise.
11302 * sysdeps/unix/i386/sysdep.S: Likewise.
11303 * sysdeps/unix/sparc/start.c: Likewise.
11304 * sysdeps/unix/sparc/sysdep.S: Likewise.
11305 * sysdeps/unix/sparc/sysdep.h: Likewise.
11306 * sysdeps/unix/start.c: Likewise.
11307 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11308 * sysdeps/x86_64/sysdep.h: Likewise.
11309
df78418a
UD
113102012-01-07 Ulrich Drepper <drepper@gmail.com>
11311
a784e502
UD
11312 [BZ #13553]
11313 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11314 for non-gcc.
11315 * argp/argp-fmtstream.h: Use const instead __const.
11316 * argp/argp.h: Likewise.
11317 * assert/assert.h: Likewise.
11318 * bits/fenv.h: Likewise.
11319 * bits/sched.h: Likewise.
11320 * bits/sigset.h: Likewise.
11321 * bits/sigthread.h: Likewise.
11322 * catgets/nl_types.h: Likewise.
11323 * conform/data/pthread.h-data: Likewise.
11324 * crypt/crypt-private.h: Likewise.
11325 * crypt/crypt.h: Likewise.
11326 * crypt/crypt_util.c: Likewise.
11327 * ctype/ctype.h: Likewise.
11328 * debug/execinfo.h: Likewise.
11329 * debug/mbsnrtowcs_chk.c: Likewise.
11330 * debug/mbsrtowcs_chk.c: Likewise.
11331 * debug/wcsnrtombs_chk.c: Likewise.
11332 * debug/wcsrtombs_chk.c: Likewise.
11333 * debug/wcstombs_chk.c: Likewise.
11334 * dirent/dirent.h: Likewise.
11335 * dlfcn/dlfcn.h: Likewise.
11336 * elf/neededtest4.c: Likewise.
11337 * grp/grp.h: Likewise.
11338 * gshadow/gshadow.h: Likewise.
11339 * iconv/gconv.h: Likewise.
11340 * iconv/gconv_int.h: Likewise.
11341 * iconv/gconv_simple.c: Likewise.
11342 * iconv/iconv.h: Likewise.
11343 * iconv/loop.c: Likewise.
11344 * iconv/skeleton.c: Likewise.
11345 * include/aio.h: Likewise.
11346 * include/aliases.h: Likewise.
11347 * include/argz.h: Likewise.
11348 * include/arpa/inet.h: Likewise.
11349 * include/assert.h: Likewise.
11350 * include/dirent.h: Likewise.
11351 * include/dlfcn.h: Likewise.
11352 * include/execinfo.h: Likewise.
11353 * include/fcntl.h: Likewise.
11354 * include/fenv.h: Likewise.
11355 * include/glob.h: Likewise.
11356 * include/grp.h: Likewise.
11357 * include/libintl.h: Likewise.
11358 * include/mntent.h: Likewise.
11359 * include/netdb.h: Likewise.
11360 * include/pwd.h: Likewise.
11361 * include/rpc/netdb.h: Likewise.
11362 * include/sched.h: Likewise.
11363 * include/search.h: Likewise.
11364 * include/shadow.h: Likewise.
11365 * include/signal.h: Likewise.
11366 * include/stdio.h: Likewise.
11367 * include/stdlib.h: Likewise.
11368 * include/string.h: Likewise.
11369 * include/sys/socket.h: Likewise.
11370 * include/sys/stat.h: Likewise.
11371 * include/sys/statfs.h: Likewise.
11372 * include/sys/statvfs.h: Likewise.
11373 * include/sys/syslog.h: Likewise.
11374 * include/sys/time.h: Likewise.
11375 * include/sys/uio.h: Likewise.
11376 * include/time.h: Likewise.
11377 * include/unistd.h: Likewise.
11378 * include/utmp.h: Likewise.
11379 * include/wchar.h: Likewise.
11380 * include/wctype.h: Likewise.
11381 * inet/aliases.h: Likewise.
11382 * inet/arpa/inet.h: Likewise.
11383 * inet/netinet/ether.h: Likewise.
11384 * inet/netinet/in.h: Likewise.
11385 * intl/libintl.h: Likewise.
11386 * io/bits/fcntl2.h: Likewise.
11387 * io/fcntl.h: Likewise.
11388 * io/ftw.h: Likewise.
11389 * io/sys/poll.h: Likewise.
11390 * io/sys/stat.h: Likewise.
11391 * io/sys/statfs.h: Likewise.
11392 * io/sys/statvfs.h: Likewise.
11393 * io/utime.h: Likewise.
11394 * libio/bits/stdio.h: Likewise.
11395 * libio/bits/stdio2.h: Likewise.
11396 * libio/libio.h: Likewise.
11397 * libio/libioP.h: Likewise.
11398 * libio/stdio.h: Likewise.
11399 * locale/lc-ctype.c: Likewise.
11400 * locale/locale.h: Likewise.
11401 * login/utmp.h: Likewise.
11402 * malloc/arena.c: Likewise.
11403 * malloc/malloc.c: Likewise.
11404 * malloc/malloc.h: Likewise.
11405 * malloc/mcheck.c: Likewise.
11406 * malloc/mtrace.c: Likewise.
11407 * math/bits/mathcalls.h: Likewise.
11408 * math/fenv.h: Likewise.
11409 * math/math_private.h: Likewise.
11410 * misc/bits/error.h: Likewise.
11411 * misc/bits/syslog.h: Likewise.
11412 * misc/err.h: Likewise.
11413 * misc/error.h: Likewise.
11414 * misc/fstab.h: Likewise.
11415 * misc/mntent.h: Likewise.
11416 * misc/regexp.h: Likewise.
11417 * misc/search.h: Likewise.
11418 * misc/sgtty.h: Likewise.
11419 * misc/sys/mman.h: Likewise.
11420 * misc/sys/syslog.h: Likewise.
11421 * misc/sys/uio.h: Likewise.
11422 * misc/sys/xattr.h: Likewise.
11423 * misc/ttyent.h: Likewise.
11424 * nis/rpcsvc/ypclnt.h: Likewise.
11425 * nss/nss.h: Likewise.
11426 * posix/bits/unistd.h: Likewise.
11427 * posix/fnmatch.h: Likewise.
11428 * posix/glob.h: Likewise.
11429 * posix/sched.h: Likewise.
11430 * posix/spawn.h: Likewise.
11431 * posix/sys/wait.h: Likewise.
11432 * posix/unistd.h: Likewise.
11433 * posix/wordexp.h: Likewise.
11434 * pwd/pwd.h: Likewise.
11435 * resolv/netdb.h: Likewise.
11436 * resource/sys/resource.h: Likewise.
11437 * rt/aio.h: Likewise.
11438 * rt/bits/mqueue2.h: Likewise.
11439 * rt/mqueue.h: Likewise.
11440 * shadow/shadow.h: Likewise.
11441 * signal/signal.h: Likewise.
11442 * socket/send.c: Likewise.
11443 * socket/sendto.c: Likewise.
11444 * socket/sys/socket.h: Likewise.
11445 * stdio-common/printf.h: Likewise.
11446 * stdlib/bits/stdlib.h: Likewise.
11447 * stdlib/fmtmsg.h: Likewise.
11448 * stdlib/monetary.h: Likewise.
11449 * stdlib/stdlib.h: Likewise.
11450 * stdlib/ucontext.h: Likewise.
11451 * streams/stropts.h: Likewise.
11452 * string/argz.h: Likewise.
11453 * string/bits/string2.h: Likewise.
11454 * string/string.h: Likewise.
11455 * string/strings.h: Likewise.
11456 * sunrpc/rpc/auth.h: Likewise.
11457 * sunrpc/rpc/auth_des.h: Likewise.
11458 * sunrpc/rpc/clnt.h: Likewise.
11459 * sunrpc/rpc/netdb.h: Likewise.
11460 * sunrpc/rpc/pmap_clnt.h: Likewise.
11461 * sunrpc/rpc/xdr.h: Likewise.
11462 * sysdeps/generic/inttypes.h: Likewise.
11463 * sysdeps/generic/net/if.h: Likewise.
11464 * sysdeps/generic/sys/swap.h: Likewise.
11465 * sysdeps/gnu/net/if.h: Likewise.
11466 * sysdeps/gnu/utmpx.h: Likewise.
11467 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11468 * sysdeps/i386/i486/bits/string.h: Likewise.
11469 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
11470 * sysdeps/s390/bits/string.h: Likewise.
11471 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
11472 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
11473 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
11474 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11475 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11476 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
11477 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11478 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
11479 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11480 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
11481 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
11482 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11483 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
11484 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11485 * sysdeps/unix/sysv/linux/readv.c: Likewise.
11486 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
11487 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11488 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11489 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11490 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11491 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11492 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
11493 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
11494 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
11495 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
11496 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
11497 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
11498 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11499 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
11500 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
11501 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
11502 * sysvipc/sys/ipc.h: Likewise.
11503 * sysvipc/sys/msg.h: Likewise.
11504 * sysvipc/sys/sem.h: Likewise.
11505 * sysvipc/sys/shm.h: Likewise.
11506 * termios/termios.h: Likewise.
11507 * time/sys/time.h: Likewise.
11508 * time/time.h: Likewise.
11509 * wcsmbs/bits/wchar2.h: Likewise.
11510 * wcsmbs/uchar.h: Likewise.
11511 * wcsmbs/wchar.h: Likewise.
11512 * wctype/wctype.h: Likewise.
11513
0269750c
UD
11514 [BZ #13551]
11515 * Makeconfig: Remove all but ELF support including AIX support.
11516 * Makerules: Likewise.
11517 * config.h.in: Likewise.
11518 * config.make.in: Likewise.
11519 * configure: Likewise.
11520 * configure.in: Likewise.
11521 * csu/Makefile: Likewise.
11522 * csu/version.c: Likewise.
11523 * debug/Makefile: Likewise.
11524 * dlfcn/Makefile: Likewise.
11525 * elf/Makefile: Likewise.
11526 * extra-lib.mk: Likewise.
11527 * iconv/Makefile: Likewise.
11528 * include/libc-symbols.h: Likewise.
11529 * include/shlib-compat.h: Likewise.
11530 * resolv/Makefile: Likewise.
11531 * resolv/res_libc.c: Likewise.
11532 * rt/Makefile: Likewise.
11533 * sysdeps/i386/asm-syntax.h: Likewise.
11534 * sysdeps/i386/sysdep.h: Likewise.
11535 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11536 * sysdeps/mach/sysdep.h: Likewise.
11537 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
11538 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
11539 * sysdeps/s390/asm-syntax.h: Likewise.
11540 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11541 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11542 * sysdeps/sh/sysdep.h: Likewise.
11543 * sysdeps/unix/sparc/sysdep.h: Likewise.
11544 * sysdeps/wordsize-32/divdi3.c: Likewise.
11545 * sysdeps/x86_64/sysdep.h: Likewise.
11546
00bbd29b
UD
11547 * argp/Versions: Remove _argp_unlock_xxx.
11548
11549 [BZ #13559]
11550 * abilist/ld.abilist: Update. Adjust for removal of tls option.
11551 * abilist/libBrokenLocale.abilist: Likewise.
11552 * abilist/libanl.abilist: Likewise.
11553 * abilist/libc.abilist: Likewise.
11554 * abilist/libcrypt.abilist: Likewise.
11555 * abilist/libdl.abilist: Likewise.
11556 * abilist/libm.abilist: Likewise.
11557 * abilist/libnsl.abilist: Likewise.
11558 * abilist/libpthread.abilist: Likewise.
11559 * abilist/libresolv.abilist: Likewise.
11560 * abilist/librt.abilist: Likewise.
11561 * abilist/libthread_db.abilist: Likewise.
11562 * abilist/libutil.abilist: Likewise.
11563 * abilist/libnss_db.abilist: New file.
11564
11565 * scripts/abilist.awk: Add support for indirect functions.
11566
a2693a0e
UD
11567 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
11568
3f05895f
UD
11569 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
11570
ecb6fb48
UD
11571 * shlib-versions: Remove entries for ports architectures.
11572
664f8cb9
UD
11573 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
11574 files in ports.
11575 * elf/stackguard-macros.h: Remove support for IA-64.
11576 * elf/tst-auditmod1.c: Likewise.
11577 * sysdeps/generic/ldsodefs.h: Likewise.
11578
7ae81d88
UD
11579 * sysdeps/unix/sysv/linux/configure.in: Ports should define
11580 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
11581 configure files.
11582
bdeba135
UD
11583 [BZ #13552]
11584 * configure.in: Remove --enable-omitfp support.
11585 * FAQ.in: Adjust.
11586 * config.make.in: Likewise.
11587 * Makeconfig: Likewise.
11588 * manual/install.texi: Likewise.
11589
d75a0a62
UD
11590 In case anyone cares, the IA-64 architecture could move to ports.
11591 * sysdeps/ia64/*: Removed.
11592 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 11593 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 11594
dcc9756b
UD
11595 [BZ #13555]
11596 * configure.in: Remove entries for unsupported architectures.
11597
d3761ebc 11598 [BZ #13533]
9954432e
UD
11599 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
11600 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
11601 routines.
11602 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
11603 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
11604 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
11605 fall back to using wcrtomb.
11606 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
11607 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
11608 renaming.
11609 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
11610 * wcsmbs/tst-c16c32-1.c: New file.
11611
11612 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
11613 local variable.
11614
c3a87236
UD
11615 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
11616
28926a1b
UD
11617 * elf/tst-unique3.cc: Add explicit declaration of gets.
11618 * elf/tst-unique3lib.cc: Likewise.
11619 * elf/tst-unique3lib2.cc: Likewise.
11620 * elf/tst-unique4.cc: Likewise.
11621
df78418a
UD
11622 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
11623
8ecd6b2a
JM
116242012-01-06 Joseph Myers <joseph@codesourcery.com>
11625
11626 [BZ #13566]
11627 * assert/assert.h (static_assert): Don't define for C++.
11628 * libio/stdio.h (gets): Do declare for C++ <= C++11.
11629 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
11630
9f115170
UD
116312012-01-03 Ulrich Drepper <drepper@gmail.com>
11632
5e0d0300
UD
11633 * iconv/loop.c (single loop): Fix assertion in storing of
11634 remaining bytes.
11635
9f115170
UD
11636 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
11637
81fb02b0
UD
116382012-01-01 Ulrich Drepper <drepper@gmail.com>
11639
11640 * posix/getconf.c: Update copyright year.
11641 * nss/getent.c: Likewise.
a316c1f6 11642 * nss/makedb.c: Likewise.
81fb02b0
UD
11643 * iconv/iconvconfig.c: Likewise.
11644 * iconv/iconv_prog.c: Likewise.
11645 * elf/ldconfig.c: Likewise.
a316c1f6
UD
11646 * elf/pldd.c: Likewise.
11647 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
11648 * catgets/gencat.c: Likewise.
11649 * csu/version.c: Likewise.
11650 * elf/ldd.bash.in: Likewise.
11651 * elf/sprof.c (print_version): Likewise.
11652 * locale/programs/locale.c: Likewise.
11653 * locale/programs/localedef.c: Likewise.
a316c1f6 11654 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
11655 * nscd/nscd.c (print_version): Likewise.
11656 * debug/xtrace.sh: Likewise.
11657 * malloc/memusage.sh: Likewise.
11658 * malloc/mtrace.pl: Likewise.
11659 * debug/catchsegv.sh: Likewise.
11660
2ba92745
JJ
116612011-12-30 Jakub Jelinek <jakub@redhat.com>
11662
11663 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
11664 pure attribute.
11665
dadebdae
UD
116662011-12-24 Ulrich Drepper <drepper@gmail.com>
11667
d3761ebc 11668 [BZ #13533]
db6af3eb
UD
11669 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
11670 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
11671 transformations.
11672 * iconv/gconv_int.h: Likewise.
11673 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
11674 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
11675 from libc for GLIBC_2.16.
11676 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
11677 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
11678 * wcsmbs/uchar.h: Really define mbstate_t.
11679 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
11680 * wcsmbs/c16rtomb.c: New file.
11681 * wcsmbs/mbrtoc16.c: New file.
11682 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
11683 for C/POSIX locale.
11684 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
11685 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
11686
dadebdae
UD
11687 * wcsmbs/wchar.h: Add missing __restrict.
11688
67371b56
UD
116892011-12-23 Ulrich Drepper <drepper@gmail.com>
11690
74033a25
UD
11691 [BZ #13532]
11692 * time/Makefile (routines): Add timespec_get.
11693 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
11694 * time/time.h: Define TIME_UTC and declare timespec_get. Define
11695 timespec for ISO C11.
11696 * time/timespec_get.c: New file.
11697 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
11698 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
11699
380d7e87
UD
11700 [BZ #13531]
11701 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
11702 * stdlib/stdlib.h: Declare aligned_alloc.
11703 * Versions.def: Add GLIBC_2.16 for libc.
11704 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
11705
4e9e7a35
UD
11706 [BZ 13527]
11707 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
11708 ISO C11.
11709
380d7e87 11710 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
11711 code.
11712
03a71829
UD
11713 [BZ #13528]
11714 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
11715
839e283e
UD
11716 [BZ #13529]
11717 * assert/assert.h (static_assert): Define.
11718
ce5294e2 11719 * version.h: Update for 2.16 development version.
90fa7312 11720
8d44e150 11721 [BZ #13526]
d7809905
UD
11722 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
11723 _ISOC11_SOURCE.
11724
c0da14cd
UD
11725 * version.h (RELEASE): Bump for 2.15 release.
11726 * include/features.h (__GLIBC_MINOR__): Bump to 15.
11727
530a3249
MP
11728 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
11729 Patch by Marek Polacek <mpolacek@redhat.com>.
11730
67371b56
UD
11731 * bits/byteswap.h: Protect long long constants with __extension__.
11732 * sysdeps/i386/bits/byteswap.h: Likewise.
11733 * sysdeps/ia64/bits/byteswap.h: Likewise.
11734 * sysdeps/s390/bits/byteswap.h: Likewise.
11735 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11736
15db4de1
LD
117372011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11738
11739 [BZ #13540]
bbe315ea
LD
11740 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
11741 destination buffer.
15db4de1
LD
11742 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11743
2b2596b1
MP
117442011-12-23 Marek Polacek <polacek@redhat.com>
11745
11746 * elf/dl-addr.c (determine_info): Add inline keyword.
11747 * elf/tst-auditmod4b.c (check_avx): Likewise.
11748 * elf/tst-auditmod6b.c (check_avx): Likewise.
11749 * elf/tst-auditmod6c.c (check_avx): Likewise.
11750 * elf/tst-auditmod7b.c (check_avx): Likewise.
11751
70c6c246
UD
117522011-12-23 Ulrich Drepper <drepper@gmail.com>
11753
11754 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
11755 !__SSE_MATH__.
11756
c044cf14
LD
117572011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11758
15db4de1 11759 [BZ #13540]
c044cf14
LD
11760 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
11761 processing for last bytes.
11762
6b13d9d9
BH
117632011-08-06 Bruno Haible <bruno@clisp.org>
11764
d455f537
BH
11765 [BZ #13061]
11766 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
11767 U+0385, not to U+1FEE.
11768
6b13d9d9
BH
11769 [BZ #13062]
11770 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
11771 entry for U+00A5 U+0301.
11772
db910efd
UD
117732011-12-22 Ulrich Drepper <drepper@gmail.com>
11774
27deeafc
UD
11775 [BZ #13166]
11776 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
11777 buffer for the output is too small.
11778
aed9d171
UD
11779 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
11780 optimization.
11781
db910efd
UD
11782 [BZ #13185]
11783 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
11784 SSE flags if possible.
11785
2bd779ae
LD
117862011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11787
e7f9dac3 11788 [BZ #13540]
2bd779ae
LD
11789 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
11790 processing for last bytes.
11791
154bfc16
JM
117922011-12-22 Joseph Myers <joseph@codesourcery.com>
11793
11794 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
11795 (syscall-list-default-options, syscall-list-default-condition)
11796 (syscall-list-includes): Define.
11797 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
11798 list of ABIs and options and #if conditions for each ABI. Do not
11799 handle common syscalls between ABIs specially.
11800 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
11801 Remove.
11802 (syscall-list-variants, syscall-list-32bit-options)
11803 (syscall-list-32bit-condition, syscall-list-64bit-options)
11804 (syscall-list-64bit-condition): Define.
11805 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
11806 (syscall-list-variants, syscall-list-32bit-options)
11807 (syscall-list-32bit-condition, syscall-list-64bit-options)
11808 (syscall-list-64bit-condition): Define.
11809 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
11810 Remove.
11811 (syscall-list-variants, syscall-list-32bit-options)
11812 (syscall-list-32bit-condition, syscall-list-64bit-options)
11813 (syscall-list-64bit-condition): Define.
11814 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
11815 Remove.
11816 (syscall-list-variants, syscall-list-32bit-options)
11817 (syscall-list-32bit-condition, syscall-list-64bit-options)
11818 (syscall-list-64bit-condition): Define.
11819
21eaf3a5
UD
118202011-12-22 Ulrich Drepper <drepper@gmail.com>
11821
16c6f992
UD
11822 * locale/iso-639.def: Add brx entry.
11823
41043168
UD
11824 [BZ #13328]
11825 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
11826 Proposed by Mariusz_Cukr <marcukr@op.pl>.
11827
21eaf3a5
UD
11828 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
11829 __feraiseexcept_renamed.
11830
e3a851a2
UD
118312011-12-21 Ulrich Drepper <drepper@gmail.com>
11832
4920765e
UD
11833 [BZ #13538]
11834 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
11835 EPOLLET with unsigned values.
11836 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11837 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11838
e3a851a2
UD
11839 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
11840 to large cancellation.
11841 * math/s_cacoshf.c: Likewise.
11842 * math/s_cacoshl.c: Likewise.
11843
b27e24b8
RK
118442011-11-18 Richard B. Kreckel <kreckel@ginac.de>
11845
11846 [BZ #13305]
aebefeee 11847 [BZ #12786]
b27e24b8
RK
11848 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
11849 * math/s_cacoshf.c: Likewise.
11850 * math/s_cacoshl.c: Likewise.
11851
ee190f67
UD
118522011-12-21 Ulrich Drepper <drepper@gmail.com>
11853
11854 [BZ #13439]
11855 * iconv/gconv.h: Define __GCONV_SWAP.
11856 * iconvdata/unicode.c: The swap bit must be stored in __flags.
11857 * iconvdata/utf-16.c: Likewise.
11858 * iconvdata/utf-32.c: Likewise.
11859
707f25df
AS
118602011-12-21 Andreas Schwab <schwab@linux-m68k.org>
11861
11862 [BZ #13524]
11863 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
11864 numerator after shifting it by one limb.
11865
d2daaa1e
RÁE
118662011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
11867
11868 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
11869 under [__USE_EXTERN_INLINES].
11870
a4647e72
UD
118712011-12-17 Ulrich Drepper <drepper@gmail.com>
11872
11873 [BZ #13446]
11874 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
11875
f0b264f1
AZ
118762011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11877
11878 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
11879 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
11880 optimized code.
11881 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
11882 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
11883 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
11884 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
11885 for strncasecmp/strncasecmp_l compilation.
11886 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
11887 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
11888
8ef4f244
MP
118892011-12-08 Marek Polacek <mpolacek@redhat.com>
11890
11891 [BZ #13484]
11892 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
11893 of __asm__.
11894
97ac2654
UD
118952011-12-17 Ulrich Drepper <drepper@gmail.com>
11896
11897 [BZ #13506]
11898 * time/tzfile.c (__tzfile_read): Check values from file header.
11899
91d2a845
WS
119002011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11901
11902 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
11903 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
11904 * powerpc/powerpc32/dl-start.S: Likewise.
11905 * powerpc/powerpc32/elf/start.S: Likewise.
11906 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11907 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
11908 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
11909 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
11910 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11911 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
11912 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
11913 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11914 * powerpc/powerpc32/fpu/s_round.S: Likewise.
11915 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11916 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11917 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11918 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11919 * powerpc/powerpc32/memset.S: Likewise.
11920 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11921 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11922 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11923 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11924 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11925 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11926 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11927 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11928 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
11929 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
11930 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
11931 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11932 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11933
a1267ba1
AZ
119342011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11935
11936 * math/libm-test.inc: Added more nearbyint tests.
11937 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
11938 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
11939 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
11940 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
11941
ad8ac1bd
RL
119422011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
11943
11944 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
11945 FD_CLOEXEC.
11946
1d3e4b61
UD
119472011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11948
11949 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
11950 Add wcscpy-ssse3 wcscpy-c.
11951 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
11952 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
11953 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
11954 * sysdeps/x86_64/wcschr.S: New file.
11955 * sysdeps/x86_64/wcsrchr.S: New file.
11956 * string/test-strcmp.c: Remove checking of wcscmp function for
11957 wrong alignments.
11958 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
11959 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
11960 wcsrchr-sse2 wcsrchr-c.
11961 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
11962 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
11963 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
11964 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
11965 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
11966 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
11967 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
11968 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
11969 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
11970 * wcsmbc/wcschr.c (WCSCHR): New macro.
11971
5b330a2d
UD
119722011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11973
11974 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
11975 * wcsmbs/test-wcsrchr.c: New file.
11976 * string/test-strrchr.c: Add wcsrchr support.
11977 (WIDE): New macro.
11978 * wcsmbs/test-wcscpy.c: New file.
11979 * string/test-strcpy.c: Add wcscpy support.
11980 (WIDE): New macro.
26428b7c 11981
f039c043
UD
119822011-12-10 Ulrich Drepper <drepper@gmail.com>
11983
11984 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
11985 the inner loop.
11986
850fb039
AS
119872011-12-06 Andreas Schwab <schwab@linux-m68k.org>
11988
11989 [BZ #13472]
11990 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
11991
4efbd5cb
UD
119922011-12-04 Ulrich Drepper <drepper@gmail.com>
11993
52ff5dd0 11994 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 11995 Minor optimizations.
52ff5dd0 11996
4efbd5cb
UD
11997 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
11998 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
11999 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12000
8a426e12
UD
120012011-12-03 Ulrich Drepper <drepper@gmail.com>
12002
aff2453d
UD
12003 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
12004 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
12005 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
12006 for gcc to avoid warnings.
12007 * inet/Makefile (tests): Add tst-checks.
12008 * inet/tst-checks.c: New file.
12009
12010 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
12011 warning.
12012
12013 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
12014 __wmemcmp_sse2.
12015
12016 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
12017 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
12018
8a426e12
UD
12019 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
12020
9bea3473
UD
120212011-12-02 Ulrich Drepper <drepper@gmail.com>
12022
3a965496
UD
12023 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
12024 problem.
12025
9bea3473
UD
12026 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
12027
f101631b
UD
120282011-11-29 Joseph Myers <joseph@codesourcery.com>
12029
12030 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
12031 conditional on GCC version.
12032 (__arch_compare_and_exchange_val_8_acq)
12033 (__arch_compare_and_exchange_val_16_acq)
12034 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
12035 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
12036 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
12037
a98275aa
UD
120382011-12-02 Joseph Myers <joseph@codesourcery.com>
12039
12040 * sysdeps/sh/backtrace.c: New file.
12041
d4cc29a2
AS
120422011-12-02 Andreas Schwab <schwab@redhat.com>
12043
12044 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
12045 parenthesis.
12046
6257af2d
AS
120472011-12-01 Andreas Schwab <schwab@redhat.com>
12048
12049 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
12050 falling back to utime.
12051
b5f44c1a
AS
120522011-11-30 Andreas Schwab <schwab@redhat.com>
12053
12054 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
12055 expectations for float.
12056
f3a6cc0a
AS
120572011-11-29 Andreas Schwab <schwab@redhat.com>
12058
12059 * locale/weight.h (findidx): Add parameter len.
12060 * locale/weightwc.h (findidx): Likewise.
12061 * posix/fnmatch_loop.c (FCT): Adjust caller.
12062 * posix/regcomp.c (build_equiv_class): Likewise.
12063 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
12064 * posix/regexec.c (check_node_accept_bytes): Likewise.
12065 * string/strcoll_l.c (STRCOLL): Likewise.
12066 * string/strxfrm_l.c (STRXFRM): Likewise.
12067
9d65ea3a
UD
120682011-11-17 Ulrich Drepper <drepper@gmail.com>
12069
12070 * Makefile.in: Remove CVSOPT handling.
12071 * configure.in: Remove use of AC_REVISION.
12072 * iconvdata/Makefile (distribute): No need to filter out CVS.
12073 * scripts/list-sources.sh: Remove CVS, subversion and monotone
12074 handling.
12075
5583a086
AS
120762011-11-16 Andreas Schwab <schwab@redhat.com>
12077
12078 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
12079 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
12080 [USE_AS_STRNCASECMP_L]: Likewise.
12081 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
12082 NO_TLS_DIRECT_SEG_REFS.
12083 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
12084 Fix argument offsets for non-PIC.
12085 [USE_AS_STRNCASECMP_L]: Likewise.
12086 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
12087 NO_TLS_DIRECT_SEG_REFS.
12088
d62a8200
UD
120892011-11-15 Ulrich Drepper <drepper@gmail.com>
12090
9d65ea3a 12091 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
12092 O_CLOEXEC.
12093 * locale/loadlocale.c (_nl_load_locale): Likewise.
12094
09f93bd3
AS
120952011-11-15 Andreas Schwab <schwab@redhat.com>
12096
446514f9
AS
12097 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
12098 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
12099 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
12100 (SYSCALL_GETTIME): Set errno on error.
12101
09f93bd3
AS
12102 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
12103 count references to noai6ai_cached.
12104
312be3f9
UD
121052011-11-15 Ulrich Drepper <drepper@gmail.com>
12106
12107 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
12108
12109 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
12110 FD_CLOEXEC for /proc/self/maps.
12111
12112 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
12113 FD_CLOEXEC for /proc/meminfo.
12114
12115 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
12116 gai.conf.
12117
12118 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
12119 FD_CLOEXEC for given file.
12120
12121 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
12122
12123 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
12124 FD_CLOEXEC for /etc/hosts.
12125 (_gethtent): Likewise.
12126
12127 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
12128
12129 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
12130 cancellation and set FD_CLOEXEC for /etc/netgroup.
12131
12132 * nss/nss_files/files-key.c (search): Don't allow cancellation when
12133 reading /etc/publickey.
12134
12135 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
12136 allow cancellation when reading /etc/group.
12137
12138 * nss/nss_files/files-alias.c (internal_setent): Don't allow
12139 cancellation.
12140 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
12141
12142 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
12143 when using data file.
12144
12145 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
12146
12147 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
12148 (write_nis_obj): Use "c" and "e" in fopen.
12149
12150 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
12151
12152 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
12153
12154 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
12155
12156 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
12157
12158 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
12159 locale.alias.
12160
12161 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
12162
12163 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
12164
12165 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
12166
12167 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
12168 file parsing and set FD_CLOEXEC.
12169
82af0fa8
UD
121702011-11-14 Ulrich Drepper <drepper@gmail.com>
12171
12172 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
12173
a5fb313c
AS
121742011-11-14 Andreas Schwab <schwab@redhat.com>
12175
12176 * malloc/arena.c (arena_get2): Don't call reused_arena when
12177 _int_new_arena failed.
12178
6abf3465
UD
121792011-11-14 Ulrich Drepper <drepper@gmail.com>
12180
12181 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
12182 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
12183 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
12184 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12185 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12186 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
12187 to compile strcasecmp and strncasecmp.
12188 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
12189 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
12190
12191 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
12192
76e3966e
UD
121932011-11-13 Ulrich Drepper <drepper@gmail.com>
12194
12195 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
12196 locale-defines.sym to gen-as-const-headers.
12197 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
12198 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
12199 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
12200 to compile strcasecmp and strncasecmp.
12201 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
12202 strcasecmp_l and strncasecmp_l.
12203 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
12204 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
12205 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
12206 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
12207 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
12208 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
12209 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
12210 * sysdeps/i386/i686/multiarch/strncase.S: New file.
12211 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
12212 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
12213 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
12214
ab26144e
UD
122152011-11-12 Ulrich Drepper <drepper@gmail.com>
12216
7edb22ef
UD
12217 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
12218 result of SYSDEP_GETTIME_CPU to retval.
12219 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
12220 parameter list to macro. Remove trailing semicolon. Adjust users.
12221
9694fc44
UD
12222 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
12223 variable.
12224
8ad89ef8
UD
12225 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
12226 mantissa words.
12227 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12228
0c822ef9
UD
12229 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
12230 from unused variable.
12231
874e0564
UD
12232 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12233 DWARF definitions.
12234 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12235 for assembling.
12236
3a2edc79
UD
12237 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12238 over namespaces.
12239
f3c2577f
UD
12240 * sunrpc/rpc_prot.c (rejected): Fix case value.
12241
294ce126
UD
12242 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12243 unsigned long long int to avoid warnings in shift.
12244
5e2b63c6
UD
12245 * posix/regex_internal.c (re_string_reconstruct): Actually use result
12246 of use of trans.
12247 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12248 variable tmp.
12249
e7f4b08e
UD
12250 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12251 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12252 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12253
ab26144e
UD
12254 * nis/nis_table.c (nis_list): Use variable of correct type for
12255 result of __follow_path call.
12256
8a6d5255
AZ
122572011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12258
12259 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12260 of math functions ceil, trunc, floor, round, and sqrt, when
12261 avaliable on the platform.
12262 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12263 name clash.
12264 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12265 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12266 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12267
aaddc98c
MP
122682011-10-30 Marek Polacek <mpolacek@redhat.com>
12269
12270 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12271 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12272
95b7042b
RM
122732011-11-11 Roland McGrath <roland@hack.frob.com>
12274
12275 * include/unistd.h: Fix __readlink return type.
12276 Reported by Chris Metcalf <cmetcalf@tilera.com>.
12277
57769839
UD
122782011-11-11 Ulrich Drepper <drepper@gmail.com>
12279
12280 * stdlib/ucontext.h: Undo last change for makecontext.
12281
edc5984d
AS
122822011-11-11 Andreas Schwab <schwab@redhat.com>
12283
98591e58
AS
12284 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12285
edc5984d
AS
12286 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12287 * setjmp/setjmp.h: Mark functions as non-leaf.
12288 * setjmp/bits/setjmp2.h: Likewise.
12289 * stdlib/ucontext.h: Likewise.
12290
77cdc054
AS
122912011-11-10 Andreas Schwab <schwab@redhat.com>
12292
12293 * malloc/arena.c (_int_new_arena): Don't increment narenas.
12294 (reused_arena): Don't check arena limit.
12295 (arena_get2): Atomically check arena limit.
12296
fe72eebd
UD
122972011-11-08 Ulrich Drepper <drepper@gmail.com>
12298
5f078c32
UD
12299 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12300 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12301
fe72eebd
UD
12302 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12303 instructions.
12304
ae1bc2fa
AS
123052011-11-07 Andreas Schwab <schwab@redhat.com>
12306
7583a88d
AS
12307 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12308 handler when locking.
12309
ae1bc2fa
AS
12310 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12311 Fix size of allocated buffer.
12312
10fb0bfa
AS
123132011-11-04 Andreas Schwab <schwab@redhat.com>
12314
998832a4
AS
12315 [BZ #10103]
12316 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12317 declarations for long double functions.
12318 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12319
10fb0bfa
AS
12320 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12321
3d7ba52b
AS
123222011-11-03 Andreas Schwab <schwab@redhat.com>
12323
a9ae54a1
AS
12324 * nscd/nscd.c (main): Don't start AVC thread until credentials are
12325 installed.
12326
3d7ba52b
AS
12327 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
12328 is disabled.
12329
bc8db248
ST
123302011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12331
12332 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
12333
45b96dd6
AS
123342011-11-01 Andreas Schwab <schwab@linux-m68k.org>
12335
647776f6
AS
12336 * include/alloca.h (stackinfo_alloca_round): Define.
12337 (extend_alloca): Use it.
12338 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
12339 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
12340 here.
12341
d91a8b93
AS
12342 * scripts/check-local-headers.sh: Ignore libaudit.h.
12343
45b96dd6
AS
12344 * nscd/Makefile (extra-objs): Make recursively expanded.
12345
432d41ce
UD
123462011-11-01 Ulrich Drepper <drepper@gmail.com>
12347
34372fc6
UD
12348 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
12349 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12350
fadb59f8
UD
12351 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
12352 * posix/tst-rfc3484-2.c: Likewise.
12353 * posix/tst-rfc3484-3.c: Likewise.
12354
78239589
UD
12355 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12356 process_vm_writev.
12357 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
12358 process_vm_writev.
12359 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
12360 process_vm_writev from libc using GLIBC_2.15 version.
12361
432d41ce
UD
12362 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
12363
02f9c6cf
PP
123642011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12365
12366 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
12367 stack usage.
12368
3a2c0242
UD
123692011-10-31 Ulrich Drepper <drepper@gmail.com>
12370
f4ec4833
UD
12371 [BZ #13367]
12372 * nss/getent.c (initgroups_keys): Show error message in case no group
12373 names are given.
12374
3a2c0242
UD
12375 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
12376 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
12377 __bump_nl_timestamp.
12378 * nscd/connections (nscd_init): When host database is served open
12379 netlink socket and request notification about configuration changes.
12380 (main_loop_poll): Track netlink file descriptor and bump timestamp
12381 in case data becomes available.
12382 (main_loop_epoll): Likewise.
12383 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
12384 (database_pers_head): Add extra_data fileds.
12385 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
12386 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
12387 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
12388 Adjust caller.
12389 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
12390 in6ai data, call __free_in6ai.
12391 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
12392 Add -DHAVE_NETLINK.
12393 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
12394 interface information. Reuse previous data if netlink timestamp
12395 is not changed.
12396 (__bump_nl_timestamp): New function.
12397 (__free_in6ai): New function.
12398
636064eb
UD
123992011-10-30 Ulrich Drepper <drepper@gmail.com>
12400
12401 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
12402 close_not_cancel_no_status here.
12403 (__check_pf): Reorganize code a bit to not call close twice if OOM.
12404
9beb2334
UD
124052011-10-29 Ulrich Drepper <drepper@gmail.com>
12406
6ef76f3b
UD
12407 [BZ #13276]
12408 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
12409 return value.
12410
0ffc4f3e 12411 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
12412 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
12413 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
12414
cb95113e
UD
124152011-07-03 Andreas Jaeger <aj@suse.de>
12416
12417 [BZ #10709]
12418 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
12419 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
12420 * math/libm-test.inc (sin_test): Add test case.
12421
a1b560ff
UD
124222011-10-29 Ulrich Drepper <drepper@gmail.com>
12423
c9aaface
UD
12424 [BZ #13337]
12425 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
12426 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12427
d272e7f1
UD
12428 * elf/chroot_canon.c (chroot_canon): Cleanups.
12429
1bc33071
UD
12430 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
12431
1760874d
TJ
12432 [BZ #13335]
12433 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
12434 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12435
51d91b18
UD
12436 * string/test-strchr.c: Make usable for strchrnul testing.
12437 * string/test-strchrnul.c: New file.
12438 * string/Makefile (strop-tests): Add strchrnul.
12439
a1b560ff 12440 * po/it.po: Update from translation team.
b611fb81 12441 * po/es.po: Likewise.
a1b560ff 12442
a5b81e1f
UD
124432011-10-28 Ulrich Drepper <drepper@gmail.com>
12444
fd52bc6d
UD
12445 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
12446 the three constants needed as parameters. Drop the others.
12447 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
12448 __m128i_strloadu_tolower.
52e4b9eb
UD
12449 Create and initialize variable zero and use it in all the places
12450 where _mm_setzero_si128 was used.
fd52bc6d 12451
a5b81e1f
UD
12452 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
12453 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
12454 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
12455 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
12456 anymore.
12457 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
12458 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
12459 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
12460 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
12461 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
12462 __mpranred, __mptan.
12463 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
12464 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
12465 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
12466 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
12467 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
12468 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
12469 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
12470 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
12471 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
12472
b4343346
AS
124732011-10-28 Andreas Schwab <schwab@redhat.com>
12474
0c92d8a8
AS
12475 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
12476 redefine if SHARED.
12477 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
12478
b4343346
AS
12479 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
12480 wide char related routines to wcsmbs subdir.
12481
3871f58f
AS
124822011-10-27 Andreas Schwab <schwab@redhat.com>
12483
12484 [BZ #13344]
12485 * misc/sys/cdefs.h (__THROWNL): Define.
12486 * posix/unistd.h: Use __THREADNL instead of __THREAD
12487 for memory synchronization functions.
12488
94d44d9f
RM
124892011-10-26 Roland McGrath <roland@hack.frob.com>
12490
21b64b15 12491 [BZ #13349]
94d44d9f
RM
12492 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
12493 doesn't exist.
12494 * manual/stdio.texi (Obstack Streams): Node removed.
12495
f6ce9294
AS
124962011-10-26 Andreas Schwab <schwab@redhat.com>
12497
80479147
AS
12498 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
12499 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12500 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12501
f6ce9294
AS
12502 * math/math_private.h (math_force_eval): Allow non-addressable
12503 arguments.
12504 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
12505
618280a1
UD
125062011-10-25 Ulrich Drepper <drepper@gmail.com>
12507
e0016b11
UD
12508 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
12509 file is not needed.
12510
12511 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
12512 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12513 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12514 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12515 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12516 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12517 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12518 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
12519 Add AVX variants.
12520 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
12521 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
12522 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
12523 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
12524 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
12525 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
12526 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
12527 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
12528 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
12529 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
12530 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
12531 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
12532 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
12533 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
12534 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
12535 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
12536 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
12537 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
12538 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
12539
12540 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
12541 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
12542
618280a1
UD
12543 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
12544 place. Use VEX encoding when compiling for AVX.
12545
37822576
AS
125462011-10-25 Andreas Schwab <schwab@redhat.com>
12547
1f1e1947
AS
12548 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
12549 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12550
37822576
AS
12551 * string/test-strchr.c (do_test): Don't generate NUL bytes.
12552
31ea014d
UD
125532011-10-25 Ulrich Drepper <drepper@gmail.com>
12554
d7826aa1 12555 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 12556 useless if() expression.
d7826aa1
UD
12557 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12558 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12559 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12560 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12561 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12562 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12563 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12564 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12565 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12566 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12567 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12568 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12569 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12570 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12571 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12572 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12573 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12574 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12575 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12576
31ea014d
UD
12577 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
12578
16437fec
AS
125792011-10-25 Andreas Schwab <schwab@redhat.com>
12580
12581 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
12582 condition.
12583 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12584
31d3cc00
UD
125852011-10-25 Ulrich Drepper <drepper@gmail.com>
12586
12587 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
12588 .text section. Avoid duplicate constants.
12589 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12590 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12591 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12592 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12593 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12594 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12595 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12596 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12597 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12598 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
12599 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12600 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12601 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12602 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12603 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12604 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12605 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12606 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12607 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12608 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12609 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12610 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12611 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12612 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
12613 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
12614 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
12615 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
12616 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
12617 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
12618 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
12619 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
12620 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
12621 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12622 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
12623 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
12624 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
12625 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
12626 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
12627 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
12628 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
12629 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
12630 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
12631 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
12632 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
12633 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
12634
58985aa9
UD
126352011-10-24 Ulrich Drepper <drepper@gmail.com>
12636
202c9deb
UD
12637 * sysdeps/x86_64/dla.h: Move to ...
12638 * sysdeps/x86_64/fpu/dla.h: ...here.
12639 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
12640 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 12641
af968f62
UD
12642 * config.make.in: Add have-mfma4 entry.
12643 * configure.in: Substitute libc_cv_cc_fma4.
12644 * math/Makefile (dbl-only-routines): Add sincostab.
12645 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
12646 Use __sincostab not sincos.
12647 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
12648 name is a macro.
12649 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12650 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12651 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12652 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
12653 using __copysign.
12654 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
12655 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
12656 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
12657 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
12658 and __inv.
12659 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
12660 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
12661 __copysign.
12662 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
12663 define aliases when function name is a macro.
12664 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
12665 sysdeps/ieee754/dbl-64/sincos.tbl.
12666 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
12667 fma4-enabled routines.
12668 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
12669 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
12670 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
12671 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
12672 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
12673 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
12674 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
12675 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
12676 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
12677 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
12678 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
12679 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
12680 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
12681 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
12682 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
12683 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
12684 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
12685 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
12686 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
12687 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
12688 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
12689 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
12690 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
12691 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
12692 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
12693 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
12694 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
12695 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
12696 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
12697 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
12698
58985aa9
UD
12699 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
12700 rename.
12701 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12702 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12703 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12704 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12705 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12706 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12707 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12708 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12709
a201fbcf
AS
127102011-10-24 Andreas Schwab <schwab@redhat.com>
12711
12712 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
12713
fc2ee42a
LD
127142011-10-23 Ulrich Drepper <drepper@gmail.com>
12715
bb3129bd
UD
12716 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
12717
0275fff8
UD
12718 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
12719 prediction.
12720 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
12721
2fa2ae85
UD
12722 * string/strnlen.c: Don't define STRNLEN, reverse logic.
12723 Remove unused variable magic_bits.
12724 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
12725
fc2ee42a
LD
12726 * string/strnlen.c: Define and use STRNLEN macro.
12727 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
12728 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
12729 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
12730 * wcsmbs/wcslen.c: Define and use WCSLEN.
12731 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
12732 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
12733 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
12734 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
12735 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
12736 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
12737 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12738
ce7dd29f
LD
127392011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12740
12741 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12742 strnlen-sse2-no-bsf.
12743 Rename strlen-no-bsf to strlen-sse2-no-bsf.
12744 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
12745 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
12746 Add strnlen support.
12747 (USE_AS_STRNLEN): New macro.
12748 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
12749 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
12750 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
12751 * sysdeps/x86_64/wcslen.S: New file.
12752
979c70a3
MZ
127532011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
12754
12755 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12756 XMM-moves are used for copying on small sizes.
12757
2d09f82f
LD
127582011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12759
12760 * wcsmbs/Makefile (strop-tests): Add wcschr.
12761 * wcsmbs/test-wcschr.c: New file.
12762 * string/test-strchr.c: Update.
12763 Add wcschr support.
12764 (WIDE): New macro.
12765
619fccca
LD
127662011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12767
2d09f82f 12768 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
12769 * wcsmbs/test-wcslen.c: New file.
12770 * string/test-strlen.c: Update.
12771 Add wcslen support.
12772 (WIDE): New macro.
12773
09f699ea
UD
127742011-10-23 Ulrich Drepper <drepper@gmail.com>
12775
12776 * po/it.po: Update from translation team.
12777
95584d3b
LD
127782011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12779
12780 * sysdeps/x86_64/wcscmp.S: Update.
12781 Fix wrong comparison semantics.
12782 wcscmp shall use signed comparison not unsigned.
12783 Don't use substraction to avoid overflow bug.
12784 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12785 * wcsmbc/wcscmp.c: Likewise.
12786 * string/test-strcmp.c: Likewise.
12787 Add new tests to check cases with negative values.
12788
c8b3296b
UD
127892011-10-23 Ulrich Drepper <drepper@gmail.com>
12790
12791 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
12792 * sysdeps/x86_64/dla.h: ...here. New file.
12793 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
12794 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12795 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12796 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12797 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12798 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12799 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12800 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12801 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12802
246ad57a
AS
128032011-10-23 Andreas Schwab <schwab@linux-m68k.org>
12804
12805 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
12806 __ynl_finite aliases.
12807
a1a87169
UD
128082011-10-22 Ulrich Drepper <drepper@gmail.com>
12809
0d355eb7
UD
12810 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12811
a1a87169
UD
12812 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
12813 define DLA_FMA.
12814 [DLA_FMA] (EMULV): Use DLA_FMA.
12815 [DLA_FMA] (MUL12): Use EMULV.
12816 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
12817 that are not needed.
12818 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12819 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12820 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12821 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12822 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12823 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12824 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12825
ee2aafe0
AS
128262011-10-22 Andreas Schwab <schwab@linux-m68k.org>
12827
12828 * math/s_nan.c: Undef __nan.
12829 * math/s_nanf.c: Undef __nanf.
12830 * math/s_nanl.c: Undef __nanl.
12831 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
12832 "math_private.h".
12833
bc62c2fb
UD
128342011-10-22 Ulrich Drepper <drepper@gmail.com>
12835
77425c63
UD
12836 * math/s_catan.c: Add branch predictions.
12837 * math/s_catanf.c: Likewise.
12838 * math/s_catanh.c: Likewise.
12839 * math/s_catanhf.c: Likewise.
12840 * math/s_catanhl.c: Likewise.
12841 * math/s_catanl.c: Likewise.
12842 * math/s_cexp.c: Likewise.
12843 * math/s_cexpf.c: Likewise.
12844 * math/s_cexpl.c: Likewise.
12845 * math/s_clog.c: Likewise.
12846 * math/s_clog10.c: Likewise.
12847 * math/s_clog10f.c: Likewise.
12848 * math/s_clog10l.c: Likewise.
12849 * math/s_clogf.c: Likewise.
12850 * math/s_clogl.c: Likewise.
12851 * math/s_csqrt.c: Likewise.
12852 * math/s_csqrtf.c: Likewise.
12853 * math/s_csqrtl.c: Likewise.
12854 * math/s_ctanf.c: Likewise.
12855 * math/s_ctanh.c: Likewise.
12856 * math/s_ctanhf.c: Likewise.
12857 * math/s_ctanhl.c: Likewise.
12858 * math/s_ctanl.c: Likewise.
12859
bc62c2fb
UD
12860 * math/math_private.h: Define __nan, __nanf, __nanl.
12861 * math/s_cacosh.c: Include <math_private.h>.
12862 * math/s_cacoshl.c: Likewise.
12863 * math/s_casinh.c: Likewise.
12864 * math/s_casinhf.c: Likewise.
12865 * math/s_casinhl.c: Likewise.
12866 * math/s_ccos.c: Rely entire on ccosh.
12867 * math/s_ccosf.c: Rely entire on ccoshf.
12868 * math/s_ccosl.c: Rely entirely on ccoshl.
12869 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
12870 Remove tests for FE_INVALID.
12871 * math/s_ccoshf.c: Likewise.
12872 * math/s_ccoshl.c: Likewise.
12873 * math/s_csin.c: Likewise.
12874 * math/s_csinf.c: Likewise.
12875 * math/s_csinh.c Likewise.
12876 * math/s_csinhf.c: Likewise.
12877 * math/s_csinhl.c: Likewise.
12878 * math/s_csinl.c: Likewise.
12879 * math/s_ctan.c: Likewise.
12880 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
12881 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
12882 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
12883
8ec250a4
UD
128842011-10-21 Ulrich Drepper <drepper@gmail.com>
12885
c196fed8
UD
12886 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
12887 compilation problems.
12888
8ec250a4
UD
12889 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
12890 __builtin_expect.
12891
8d4f46c6
UD
128922011-10-20 Ulrich Drepper <drepper@gmail.com>
12893
ed72b654
UD
12894 * sysdeps/i386/configure.in: Test for -mfma4 option.
12895 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
12896 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
12897 COMMON_CPUID_INDEX_80000001.
12898 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
12899 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
12900 use it if FMA3 is not supported.
12901 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12902
8d4f46c6
UD
12903 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
12904 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12905
d45c60c2
AS
129062011-10-20 Andreas Schwab <schwab@redhat.com>
12907
12908 [BZ #12892]
12909 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
12910 it would create a cycle with a link time dependency.
12911
d9a4d2ab
UD
129122011-10-19 Ulrich Drepper <drepper@gmail.com>
12913
855d1560
UD
12914 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
12915 instruction.
12916 * string/Makefile (strop-tests): Add rawmemchr.
12917 * string/test-rawmemchr.c: New file.
12918
d9a4d2ab
UD
12919 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
12920 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
12921 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
12922 when compiling str{,n}casecmp and when AVX is available. Hook up
12923 new optimized code in initializers.
12924
8f3b1ffe
AS
129252011-10-19 Andreas Schwab <schwab@redhat.com>
12926
12927 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
12928 __feraiseexcept instead of feraiseexcept.
12929
d38f1dba
UD
129302011-10-18 Ulrich Drepper <drepper@gmail.com>
12931
d9a8d0ab
UD
12932 * math/math_private.h: Define defaults for libc_fetestexcept and
12933 libc_feupdateenv.
12934 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
12935 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12936 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12937 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12938 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12939 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12940 libc_fetestexcept and libc_feupdateenv.
12941
4855e3dd
UD
12942 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
12943 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
12944 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
12945 * sysdeps/x86_64/fpu/math_private.h: Define special version of
12946 libc_feholdexcept_setround.
12947
581d30e3
UD
12948 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
12949 Add s_nearbyint-c and s_nearbyintf-c.
12950 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
12951 nearbyintf inlines.
12952 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
12953 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
12954 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
12955 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
12956
d38f1dba
UD
12957 * math/math_private.h: Define defaults for libc_fegetround,
12958 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
12959 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
12960 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
12961 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
12962 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
12963 standard functions.
12964 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12965 Remove comments and hacks for old compiler versions.
12966 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12967 libc_fegetround, libc_fesetround, libc_feholdexcept, and
12968 libc_feholdexceptl.
12969
caa6c9d8
AS
129702011-10-18 Andreas Schwab <schwab@redhat.com>
12971
12972 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
12973 (__feraiseexcept_renamed): Add __NTH.
12974 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
12975 namespace violations.
12976
97c066e6
UD
129772011-10-17 Ulrich Drepper <drepper@gmail.com>
12978
99ce7b04
UD
12979 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
12980
1004d182
UD
12981 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
12982
228a984d
UD
12983 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
12984 recently added interfaces.
12985 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
12986
c8553a6a
UD
12987 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
12988 about macro parameter expansion.
12989
ed22dcf6
UD
12990 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
12991 __NO_MATH_INLINES is defined. Cleanups.
12992
12993 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
12994 and __floorf is target has SSE4.1.
12995 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
12996 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
12997 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
12998 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
12999
b171c137
UD
13000 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
13001 name.
13002 (floorf): Likewise.
13003
97c066e6
UD
13004 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
13005
629f62ef
AS
130062011-10-17 Andreas Schwab <schwab@redhat.com>
13007
49a43d80
AS
13008 * misc/sys/cdefs.h: Fix last change.
13009
629f62ef
AS
13010 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
13011 database lookup.
13012
e453f6cd
UD
130132011-10-16 Ulrich Drepper <drepper@gmail.com>
13014
aa78043a
UD
13015 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
13016
ad0f5cad
UD
13017 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
13018 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13019 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13020 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13021 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13022 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13023 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13024 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13025 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13026 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
13027 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
13028 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
13029 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
13030 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
13031 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
13032 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
13033 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
13034 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
13035 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
13036 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
13037 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
13038 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
13039
13040 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
13041 ceil, ceilf, floor, floorf.
13042
13043 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
13044 Perform IRELATIVE relocations last.
13045
e453f6cd
UD
13046 * elf/do-rel.h: Add another parameter nrelative, replacing the
13047 local variable with the same name. Change name of the function
13048 to end in Rel or Rela (uppercase).
13049 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
13050 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
13051 elf_dynamic_do_##reloc function.
13052
fd5bdc09
UD
130532011-10-15 Ulrich Drepper <drepper@gmail.com>
13054
79b195b5
UD
13055 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
13056 is sufficient, at least on modern CPUs.
13057
d4a28569
UD
13058 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
13059
b61099b5
UD
13060 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
13061 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
13062
bcf01e6d
UD
13063 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
13064 __expl_finite.
13065 * math/bits/math-finite.h: Add entries for exp.
13066 * math/e_expl.c: Add __*_finite alias.
13067 * sysdeps/i386/fpu/e_exp.S: Likewise.
13068 * sysdeps/i386/fpu/e_expf.S: Likewise.
13069 * sysdeps/i386/fpu/e_expl.c: Likewise.
13070 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13071 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13072 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13073 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13074 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
13075 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13076 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13077
ba1a0d59
UD
13078 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
13079 is sufficient, at least on modern CPUs.
13080
fd5bdc09
UD
13081 * ctype/ctype-info.c (__ctype_init): Define.
13082 * include/ctype.h (__ctype_init): Declare.
13083 (__ctype_b_loc): The variable is always initialized.
13084 (__ctype_toupper_loc): Likewise.
13085 (__ctype_tolower_loc): Likewise.
13086 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
13087 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
13088
7872cfb0
AS
130892011-10-15 Andreas Schwab <schwab@linux-m68k.org>
13090
b468825a
AS
13091 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
13092
7872cfb0
AS
13093 * configure.in: Also look in $cxxmachine/include for C++ system
13094 headers.
13095
be13f7bf
LD
130962011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13097
13098 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
13099 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
13100 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
13101 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
13102 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
13103 (USE_AS_WMEMCMP): New macro.
13104 Fixing indents.
13105 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
13106 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
13107 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
13108 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
13109 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13110 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
13111 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
13112 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
13113 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
13114 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
13115 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
13116 (USE_AS_WMEMCMP): New macro.
13117 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
13118 * sysdeps/string/test-memcmp.c: Update.
13119 Fix simple_wmemcmp.
13120 Add new tests.
13121 * wcsmbs/wmemcmp.c: Update.
13122 (WMEMCMP): New macro.
13123 Fix overflow bug.
13124
556a2007
AJ
131252011-10-12 Andreas Jaeger <aj@suse.de>
13126
13127 [BZ #13268]
13128 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
13129
538faaa7
UD
131302011-10-15 Ulrich Drepper <drepper@gmail.com>
13131
ab6737ff
UD
13132 * libio/iofwide.c (do_length): Avoid warning.
13133
538faaa7
UD
13134 * ctype/ctype.h (__isctype_f): Add missing __THROW.
13135
396a21b1
UD
131362011-10-14 Ulrich Drepper <drepper@gmail.com>
13137
cdf2901f
UD
13138 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
13139
38ad40ce
UD
13140 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
13141 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
13142 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
13143 * sysdeps/i386/i686/fpu/e_log.S: New file.
13144 * sysdeps/i386/i686/fpu/e_logf.S: New file.
13145 * sysdeps/i386/i686/fpu/e_logl.S: New file.
13146
396a21b1
UD
13147 * ctype/ctype.h: Add support for inlined isXXX functions when
13148 compiling C++ code.
13149
6b1f68c9
AS
131502011-10-14 Andreas Schwab <schwab@redhat.com>
13151
349290c0
AS
13152 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13153
6b1f68c9
AS
13154 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
13155
f2282d42
RM
131562011-10-13 Roland McGrath <roland@hack.frob.com>
13157
13158 [BZ #13291]
13159 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
13160
5298ffa8
AS
131612011-10-13 Andreas Schwab <schwab@redhat.com>
13162
714fad23
AS
13163 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
13164 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
13165 feraiseexcept.
13166
81dcc7fb
AS
13167 * sysdeps/x86_64/memrchr.S: Check for zero size.
13168
5298ffa8
AS
13169 * string/stratcliff.c: Add memrchr tests.
13170
951fbcec
LD
131712011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13172
13173 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13174 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
13175 rawmemchr-sse2 rawmemchr-sse2-bsf.
13176 * sysdeps/i386/i686/multiarch/memchr.S: New file.
13177 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
13178 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
13179 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
13180 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
13181 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
13182 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
13183 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
13184 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
13185 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
13186 * string/memrchr.c (MEMRCHR): New macro.
13187
0ac5ae23
UD
131882011-10-12 Ulrich Drepper <drepper@gmail.com>
13189
13190 Add integration with gcc's -ffinite-math-only and optimize wrapper
13191 functions in libm.
13192 * Versions.def: Define GLIBC_2.15 version for libm.
13193 * math/Makefile (headers): Add bits/math-finite.h.
13194 * math/bits/math-finite.h: New file.
13195 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
13196 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
13197 * math/e_acoshl.c: Add __*_finite alias.
13198 * math/e_acosl.c: Likewise.
13199 * math/e_asinl.c: Likewise.
13200 * math/e_atan2l.c: Likewise.
13201 * math/e_atanhl.c: Likewise.
13202 * math/e_coshl.c: Likewise.
13203 * math/e_exp10.c: Likewise.
13204 * math/e_exp10f.c: Likewise.
13205 * math/e_exp10l.c: Likewise.
13206 * math/e_exp2l.c: Likewise.
13207 * math/e_fmodl.c: Likewise.
13208 * math/e_gammal_r.c: Likewise.
13209 * math/e_hypotl.c: Likewise.
13210 * math/e_j0l.c: Likewise.
13211 * math/e_j1l.c: Likewise.
13212 * math/e_jnl.c: Likewise.
13213 * math/e_lgammal_r.c: Likewise.
13214 * math/e_log10l.c: Likewise.
13215 * math/e_log2l.c: Likewise.
13216 * math/e_logl.c: Likewise.
13217 * math/e_powl.c: Likewise.
13218 * math/e_sinhl.c: Likewise.
13219 * math/e_sqrtl.c: Likewise.
13220 * math/e_scalb.c: Completely rewritten and optimized.
13221 * math/e_scalbf.c: Likewise.
13222 * math/e_scalbl.c: Likewise.
13223 * math/w_acos.c: Likewise.
13224 * math/w_acosf.c: Likewise.
13225 * math/w_acosl.c: Likewise.
13226 * math/w_acosh.c: Likewise.
13227 * math/w_acoshf.c: Likewise.
13228 * math/w_acoshl.c: Likewise.
13229 * math/w_asin.c: Likewise.
13230 * math/w_asinf.c: Likewise.
13231 * math/w_asinl.c: Likewise.
13232 * math/w_atan2.c: Likewise.
13233 * math/w_atan2f.c: Likewise.
13234 * math/w_atan2l.c: Likewise.
13235 * math/w_atanh.c: Likewise.
13236 * math/w_atanhf.c: Likewise.
13237 * math/w_atanhl.c: Likewise.
13238 * math/w_exp10.c: Likewise.
13239 * math/w_exp10f.c: Likewise.
13240 * math/w_exp10l.c: Likewise.
13241 * math/w_fmod.c: Likewise.
13242 * math/w_fmodf.c: Likewise.
13243 * math/w_fmodl.c: Likewise.
13244 * math/w_j0.c: Likewise.
13245 * math/w_j0f.c: Likewise.
13246 * math/w_j0l.c: Likewise.
13247 * math/w_j1.c: Likewise.
13248 * math/w_j1f.c: Likewise.
13249 * math/w_j1l.c: Likewise.
13250 * math/w_jn.c: Likewise.
13251 * math/w_jnf.c: Likewise.
13252 * math/w_log.c: Likewise.
13253 * math/w_logf.c: Likewise.
13254 * math/w_logl.c: Likewise.
13255 * math/w_log10.c: Likewise.
13256 * math/w_log10f.c: Likewise.
13257 * math/w_log10l.c: Likewise.
13258 * math/w_log2.c: Likewise.
13259 * math/w_log2f.c: Likewise.
13260 * math/w_log2l.c: Likewise.
13261 * math/w_pow.c: Likewise.
13262 * math/w_powf.c: Likewise.
13263 * math/w_powl.c: Likewise.
13264 * math/w_remainder.c: Likewise.
13265 * math/w_remainderf.c: Likewise.
13266 * math/w_remainderl.c: Likewise.
13267 * math/w_scalb.c: Likewise.
13268 * math/w_scalbf.c: Likewise.
13269 * math/w_scalbl.c: Likewise.
13270 * math/w_sqrt.c: Likewise.
13271 * math/w_sqrtf.c: Likewise.
13272 * math/w_sqrtl.c: Likewise.
13273 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13274 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
13275 used.
13276 * math/math_private.h: Declare __kernel_standard_f.
13277 * math/w_cosh.c: Remove cruft and optimize a bit.
13278 * math/w_coshf.c: Likewise.
13279 * math/w_coshl.c: Likewise.
13280 * math/w_exp2.c: Likewise.
13281 * math/w_exp2f.c: Likewise.
13282 * math/w_exp2l.c: Likewise.
13283 * math/w_hypot.c: Likewise.
13284 * math/w_hypotf.c: Likewise.
13285 * math/w_hypotl.c: Likewise.
13286 * math/w_lgamma.c: Likewise.
13287 * math/w_lgamma_r.c: Likewise.
13288 * math/w_lgammaf.c: Likewise.
13289 * math/w_lgammaf_r.c: Likewise.
13290 * math/w_lgammal.c: Likewise.
13291 * math/w_lgammal_r.c: Likewise.
13292 * math/w_sinh.c: Likewise.
13293 * math/w_sinhf.c: Likewise.
13294 * math/w_sinhl.c: Likewise.
13295 * math/w_tgamma.c: Likewise.
13296 * math/w_tgammaf.c: Likewise.
13297 * math/w_tgammal.c: Likewise.
13298 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13299 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13300 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13301 Minor optimizations. Pretty printing. Remove cruft.
13302 * sysdeps/i386/fpu/e_acosf.S: Likewise.
13303 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13304 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13305 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13306 * sysdeps/i386/fpu/e_acosl.c: Likewise.
13307 * sysdeps/i386/fpu/e_asin.S: Likewise.
13308 * sysdeps/i386/fpu/e_asinf.S: Likewise.
13309 * sysdeps/i386/fpu/e_atan2.S: Likewise.
13310 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13311 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13312 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13313 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13314 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13315 * sysdeps/i386/fpu/e_exp10.S: Likewise.
13316 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13317 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13318 * sysdeps/i386/fpu/e_exp2.S: Likewise.
13319 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13320 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13321 * sysdeps/i386/fpu/e_fmod.S: Likewise.
13322 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13323 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13324 * sysdeps/i386/fpu/e_hypot.S: Likewise.
13325 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
13326 * sysdeps/i386/fpu/e_log.S: Likewise.
13327 * sysdeps/i386/fpu/e_log10.S: Likewise.
13328 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13329 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13330 * sysdeps/i386/fpu/e_log2.S: Likewise.
13331 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13332 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13333 * sysdeps/i386/fpu/e_logf.S: Likewise.
13334 * sysdeps/i386/fpu/e_logl.S: Likewise.
13335 * sysdeps/i386/fpu/e_pow.S: Likewise.
13336 * sysdeps/i386/fpu/e_powf.S: Likewise.
13337 * sysdeps/i386/fpu/e_powl.S: Likewise.
13338 * sysdeps/i386/fpu/e_remainder.S: Likewise.
13339 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
13340 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
13341 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13342 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13343 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13344 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
13345 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
13346 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
13347 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13348 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13349 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13350 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13351 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13352 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13353 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13354 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13355 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13356 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13357 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13358 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13359 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13360 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13361 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13362 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13363 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13364 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13365 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13366 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13367 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13368 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13369 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13370 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13371 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13372 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13373 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13374 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13375 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13376 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13377 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13378 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13379 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13380 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13381 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13382 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13383 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13384 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13385 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13386 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13387 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13388 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13389 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13390 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13391 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13392 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13393 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13394 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13395 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13396 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13397 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13398 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13399 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13400 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13401 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13402 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13403 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13404 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13405 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13406 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13407 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13408 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13409 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13410 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13411 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13412 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13413 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13414 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13415 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13416 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13417 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13418 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13419 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13420 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13421 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13422 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13423 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13424 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13425 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13426 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13427 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13428 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13429 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13430 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13431 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13432 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13433 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13434 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13435 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13436 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13437 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13438 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13439 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13440 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13441 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13442 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13443 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13444 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13445 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13446 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13447 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
13448 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
13449 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
13450 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
13451 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13452 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13453 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13454 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13455 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
13456 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13457 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
13458 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
13459 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
13460 (__isnanf): Likewise.
13461 (__isinf_ns): Likewise.
13462 (__isinf_nsf): Likewise.
13463 (__finite): Likewise.
13464 (__finitef): Likewise.
13465 (__ieee754_sqrt): Define as macro.
13466 (__ieee754_sqrtf): Define as macro.
13467 (__ieee754_sqrtl): Define as macro.
13468 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
13469 inlined copy.
13470 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
13471 __FINITE_MATH_ONLY__ consistent.
13472 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
13473
12cc2fcd
AS
134742011-10-10 Andreas Schwab <schwab@linux-m68k.org>
13475
a843a204
AS
13476 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
13477 of rawmemchr.
13478
12cc2fcd
AS
13479 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
13480
c853acd5
UD
134812011-10-09 Ulrich Drepper <drepper@gmail.com>
13482
13483 * po/ja.po: Update from translation team.
13484
c658d255
RM
134852011-10-08 Roland McGrath <roland@hack.frob.com>
13486
110946e4
RM
13487 * locale/programs/locarchive.c (prepare_address_space): New function.
13488 (create_archive, enlarge_archive, open_archive): Use it.
13489
50604220
RM
13490 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
13491 inside [SHARED], where it is used.
13492
c658d255
RM
13493 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
13494
13495 * nss/getent.c (netgroup_keys): Remove unused variable.
13496 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13497
6a621eb7
UD
134982011-10-08 Ulrich Drepper <drepper@gmail.com>
13499
7edb55ce
UD
13500 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
13501 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
13502 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
13503 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
13504 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
13505 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
13506 * math/Makefile (libm-calls): Add s_isinf_ns.
13507 * math/divtc3.c: Use __isinf_nsl instead of isinf.
13508 * math/multc3.c: Likewise.
13509 * math/s_casin.c: Likewise.
13510 * math/s_casinf.c: Likewise.
13511 * math/s_casinl.c: Likewise.
13512 * math/s_ccos.c: Likewise.
13513 * math/s_ccosf.c: Likewise.
13514 * math/s_ccosl.c: Likewise.
13515 * math/s_ctan.c: Likewise.
13516 * math/s_ctanf.c: Likewise.
13517 * math/s_ctanh.c: Likewise.
13518 * math/s_ctanhf.c: Likewise.
13519 * math/s_ctanhl.c: Likewise.
13520 * math/s_ctanl.c: Likewise.
13521 * math/w_fmod.c: Likewise.
13522 * math/w_fmodf.c: Likewise.
13523 * math/w_fmodl.c: Likewise.
13524 * math/w_remainder.c: Likewise.
13525 * math/w_remainderf.c: Likewise.
13526 * math/w_remainderl.c: Likewise.
13527 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
13528 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
13529 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
13530 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
13531 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
13532 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
13533 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
13534 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
13535
187da0ae
UD
13536 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
13537 of the number.
13538 * stdio-common/printf_fphex.c: Likewise.
13539 * stdio-common/printf_size.c: Likewise.
13540
9277c064
UD
13541 * math/e_exp10.c: Include math_private.h using <...> not "...".
13542 * math/e_exp10f.c: Likewise.
13543 * math/e_exp10l.c: Likewise.
13544 * math/e_exp2l.c: Likewise.
13545 * math/e_j0l.c: Likewise.
13546 * math/e_j1l.c: Likewise.
13547 * math/e_jnl.c: Likewise.
13548 * math/e_lgammal_r.c: Likewise.
13549 * math/e_rem_pio2l.c: Likewise.
13550 * math/e_scalb.c: Likewise.
13551 * math/e_scalbf.c: Likewise.
13552 * math/e_scalbl.c: Likewise.
13553 * math/k_cosl.c: Likewise.
13554 * math/k_sinl.c: Likewise.
13555 * math/k_tanl.c: Likewise.
13556 * math/s_cacoshf.c: Likewise.
13557 * math/s_catan.c: Likewise.
13558 * math/s_catanf.c: Likewise.
13559 * math/s_catanh.c: Likewise.
13560 * math/s_catanhf.c: Likewise.
13561 * math/s_catanhl.c: Likewise.
13562 * math/s_catanl.c: Likewise.
13563 * math/s_ccosh.c: Likewise.
13564 * math/s_ccoshf.c: Likewise.
13565 * math/s_ccoshl.c: Likewise.
13566 * math/s_cexp.c: Likewise.
13567 * math/s_cexpf.c: Likewise.
13568 * math/s_cexpl.c: Likewise.
13569 * math/s_clog.c: Likewise.
13570 * math/s_clog10.c: Likewise.
13571 * math/s_clog10f.c: Likewise.
13572 * math/s_clog10l.c: Likewise.
13573 * math/s_clogf.c: Likewise.
13574 * math/s_clogl.c: Likewise.
13575 * math/s_csin.c: Likewise.
13576 * math/s_csinf.c: Likewise.
13577 * math/s_csinh.c: Likewise.
13578 * math/s_csinhf.c: Likewise.
13579 * math/s_csinhl.c: Likewise.
13580 * math/s_csinl.c: Likewise.
13581 * math/s_csqrt.c: Likewise.
13582 * math/s_csqrtf.c: Likewise.
13583 * math/s_csqrtl.c: Likewise.
13584 * math/s_ctan.c: Likewise.
13585 * math/s_ctanf.c: Likewise.
13586 * math/s_ctanh.c: Likewise.
13587 * math/s_ctanhf.c: Likewise.
13588 * math/s_ctanhl.c: Likewise.
13589 * math/s_ctanl.c: Likewise.
13590 * math/s_ldexp.c: Likewise.
13591 * math/s_ldexpf.c: Likewise.
13592 * math/s_ldexpl.c: Likewise.
13593 * math/s_significand.c: Likewise.
13594 * math/s_significandf.c: Likewise.
13595 * math/s_significandl.c: Likewise.
13596 * math/w_acos.c: Likewise.
13597 * math/w_acosf.c: Likewise.
13598 * math/w_acosh.c: Likewise.
13599 * math/w_acoshf.c: Likewise.
13600 * math/w_acoshl.c: Likewise.
13601 * math/w_acosl.c: Likewise.
13602 * math/w_asin.c: Likewise.
13603 * math/w_asinf.c: Likewise.
13604 * math/w_asinl.c: Likewise.
13605 * math/w_atan2.c: Likewise.
13606 * math/w_atan2f.c: Likewise.
13607 * math/w_atan2l.c: Likewise.
13608 * math/w_atanh.c: Likewise.
13609 * math/w_atanhf.c: Likewise.
13610 * math/w_atanhl.c: Likewise.
13611 * math/w_cosh.c: Likewise.
13612 * math/w_coshf.c: Likewise.
13613 * math/w_coshl.c: Likewise.
13614 * math/w_dremf.c: Likewise.
13615 * math/w_exp10.c: Likewise.
13616 * math/w_exp10f.c: Likewise.
13617 * math/w_exp10l.c: Likewise.
13618 * math/w_exp2.c: Likewise.
13619 * math/w_exp2f.c: Likewise.
13620 * math/w_fmod.c: Likewise.
13621 * math/w_fmodf.c: Likewise.
13622 * math/w_fmodl.c: Likewise.
13623 * math/w_hypot.c: Likewise.
13624 * math/w_hypotf.c: Likewise.
13625 * math/w_hypotl.c: Likewise.
13626 * math/w_j0.c: Likewise.
13627 * math/w_j0f.c: Likewise.
13628 * math/w_j0l.c: Likewise.
13629 * math/w_j1.c: Likewise.
13630 * math/w_j1f.c: Likewise.
13631 * math/w_j1l.c: Likewise.
13632 * math/w_jn.c: Likewise.
13633 * math/w_jnf.c: Likewise.
13634 * math/w_jnl.c: Likewise.
13635 * math/w_lgamma.c: Likewise.
13636 * math/w_lgamma_r.c: Likewise.
13637 * math/w_lgammaf.c: Likewise.
13638 * math/w_lgammaf_r.c: Likewise.
13639 * math/w_lgammal.c: Likewise.
13640 * math/w_lgammal_r.c: Likewise.
13641 * math/w_log.c: Likewise.
13642 * math/w_log10.c: Likewise.
13643 * math/w_log10f.c: Likewise.
13644 * math/w_log10l.c: Likewise.
13645 * math/w_log2.c: Likewise.
13646 * math/w_log2f.c: Likewise.
13647 * math/w_log2l.c: Likewise.
13648 * math/w_logf.c: Likewise.
13649 * math/w_logl.c: Likewise.
13650 * math/w_pow.c: Likewise.
13651 * math/w_powf.c: Likewise.
13652 * math/w_powl.c: Likewise.
13653 * math/w_remainder.c: Likewise.
13654 * math/w_remainderf.c: Likewise.
13655 * math/w_remainderl.c: Likewise.
13656 * math/w_scalb.c: Likewise.
13657 * math/w_scalbf.c: Likewise.
13658 * math/w_scalbl.c: Likewise.
13659 * math/w_sinh.c: Likewise.
13660 * math/w_sinhf.c: Likewise.
13661 * math/w_sinhl.c: Likewise.
13662 * math/w_sqrt.c: Likewise.
13663 * math/w_sqrtf.c: Likewise.
13664 * math/w_sqrtl.c: Likewise.
13665 * math/w_tgamma.c: Likewise.
13666 * math/w_tgammaf.c: Likewise.
13667 * math/w_tgammal.c: Likewise.
13668
6a621eb7
UD
13669 * po/ja.po: Update from translation team.
13670
bf582445
AJ
136712011-09-29 Andreas Jaeger <aj@suse.de>
13672
f9efbf3a
AJ
13673 [BZ #13179]
13674 * sunrpc/netname.c (netname2host): Fix logic.
13675
bf582445
AJ
13676 [BZ #6779]
13677 [BZ #6783]
13678 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
13679 correctly.
13680 * math/w_remainder.c (__remainder): Likewise.
13681 * math/w_remainderf.c (__remainderf): Likewise.
13682 * math/libm-test.inc (remainder_test): Add test cases.
13683
48693bea
AK
136842011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13685
13686 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
13687 sdiv_qrnnd.
13688
42622229
LD
136892011-10-07 Ulrich Drepper <drepper@gmail.com>
13690
13691 * string/test-memcmp.c: Avoid unncessary #defines.
13692 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13693
093ecf92
LD
136942011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13695
13696 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
13697 Use new sse2 version for core i3 - i7 as it's faster
13698 than sse42 version.
13699 (bit_Prefer_PMINUB_for_stringop): New.
13700 * sysdeps/x86_64/rawmemchr.S: Update.
13701 Replace with faster SSE2 version.
13702 * sysdeps/x86_64/memrchr.S: New file.
13703 * sysdeps/x86_64/memchr.S: Update.
13704 Replace with faster SSE2 version.
13705
fde56e5c
MP
137062011-09-12 Marek Polacek <mpolacek@redhat.com>
13707
13708 * elf/dl-load.c (lose): Add cast to avoid warning.
13709
21fd49a9
UD
137102011-10-07 Ulrich Drepper <drepper@gmail.com>
13711
5a06e643
UD
13712 * po/ca.po: Update from translation team.
13713
684ae515
UD
13714 * inet/getnetgrent_r.c: Hook up nscd.
13715 * nscd/Makefile (routines): Add nscd_netgroup.
13716 (nscd-modules): Add netgroupcache.
13717 (CFLAGS-netgroupcache.c): Define.
13718 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
13719 (cache_search): Add const to second parameter.
13720 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
13721 INNETGR.
13722 (dbs): Add netgrdb entry.
13723 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
13724 (verify_persistent_db): Handle netgrdb.
13725 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
13726 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
13727 GETFDNETGR.
13728 (netgroup_response_header): Define.
13729 (innetgroup_response_header): Define.
13730 (datahead): Add netgroup_response_header and innetgroup_response_header
13731 elements.
13732 * nscd/nscd.conf: Add entries for netgroup cache.
13733 * nscd/nscd.h (dbtype): Add netgrdb.
13734 (_PATH_NSCD_NETGROUP_DB): Define.
13735 (netgroup_iov_disabled): Declare.
13736 (xmalloc, xcalloc, xrealloc): Move declarations here.
13737 (cache_search): Adjust prototype.
13738 Add netgroup-related prototypes.
13739 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
13740 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
13741 (__nscd_innetgr): Declare.
13742 * nscd/selinux.c (perms): Use access_vector_t as element type and
13743 add netgroup-related initializers.
13744 * nscd/netgroupcache.c: New file.
13745 * nscd/nscd_netgroup.c: New file.
13746 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
13747 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
13748 For four parameters use innetgr.
13749 * nss/nss_files/files-init.c: Add definition and callback for netgr.
13750 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
13751 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
13752 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
13753
21fd49a9
UD
13754 * nscd/connections.c (register_traced_file): Don't register file
13755 for disabled databases.
13756
054c0457
UD
137572011-10-06 Ulrich Drepper <drepper@gmail.com>
13758
32b63198
UD
13759 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
13760
054c0457
UD
13761 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
13762 from tree and freeing node.
13763
64031225
JO
137642011-09-25 Jiri Olsa <jolsa@redhat.com>
13765
13766 * nss/nsswitch.c (__nss_database_lookup): Handle
13767 nss_parse_service_list out of memory case.
13768
0490345c
JO
137692011-09-15 Jiri Olsa <jolsa@redhat.com>
13770
13771 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
13772 out of memory case.
13773
3a62d00d
AS
137742011-10-04 Andreas Schwab <schwab@redhat.com>
13775
13776 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
13777 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
13778 pass it down.
13779 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
13780 elf_machine_rela, elf_machine_lazy_rel.
13781 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
13782 (ELF_DYNAMIC_DO_REL): Likewise.
13783 (ELF_DYNAMIC_DO_RELA): Likewise.
13784 (ELF_DYNAMIC_RELOCATE): Likewise.
13785 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
13786 to ELF_DYNAMIC_DO_REL.
13787 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
13788 (dl_main): In trace mode always set __RTLD_NOIFUNC.
13789 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
13790 elf_machine_rela.
13791 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
13792 skip_ifunc, don't call ifunc function if non-zero.
13793 (elf_machine_rela): Likewise.
13794 (elf_machine_lazy_rel): Likewise.
13795 (elf_machine_lazy_rela): Likewise.
13796 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13797 (elf_machine_lazy_rel): Likewise.
13798 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13799 Likewise.
13800 (elf_machine_lazy_rel): Likewise.
13801 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13802 Likewise.
13803 (elf_machine_lazy_rel): Likewise.
13804 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
13805 (elf_machine_lazy_rel): Likewise.
13806 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
13807 (elf_machine_lazy_rel): Likewise.
13808 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13809 (elf_machine_lazy_rel): Likewise.
13810 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
13811 (elf_machine_lazy_rel): Likewise.
13812 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
13813 (elf_machine_lazy_rel): Likewise.
13814 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13815 (elf_machine_lazy_rel): Likewise.
13816
68577918
UD
138172011-09-28 Ulrich Drepper <drepper@gmail.com>
13818
13819 * nss/nss_files/files-init.c (_nss_files_init): Use static
13820 initialization for all the *_traced_file variables.
13821
68822d74
AS
138222011-09-28 Andreas Schwab <schwab@redhat.com>
13823
13824 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13825
2056100b
RM
138262011-09-27 Roland McGrath <roland@hack.frob.com>
13827
13828 [BZ #13226]
13829 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
13830
32c76b63
AS
138312011-09-27 Andreas Schwab <schwab@redhat.com>
13832
13833 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13834 Reread the line before reparsing it.
13835
bf972c9d
AS
138362011-09-26 Andreas Schwab <schwab@redhat.com>
13837
13838 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
13839
e057a1b5
JM
138402011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
13841 Maxim Kuvyrkov <maxim@codesourcery.com>
13842 Joseph Myers <joseph@codesourcery.com>
13843
13844 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
13845 if needed for __stack_chk_guard.
13846
bc7e1c36
RM
138472011-09-19 Roland McGrath <roland@hack.frob.com>
13848
ecb1482f
RM
13849 * sysdeps/posix/spawni.c (script_execute): Always define it.
13850 It will be optimized away if unused.
13851 (maybe_script_execute): New function.
13852 (__spawni): Call it.
13853
bc7e1c36
RM
13854 * Makerules: Don't include tls.make.
13855 (config-tls): Always set to thread.
13856 * tls.make.c: File removed.
13857
1c3b002b
MF
138582011-09-19 Mike Frysinger <vapier@gentoo.org>
13859
13860 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
13861 * config.make.in (CPPFLAGS-config): New substituted variable.
13862
2840865d
UD
138632011-09-15 Ulrich Drepper <drepper@gmail.com>
13864
88738eb6
UD
13865 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
13866
cbf645a6 13867 [BZ #13192]
2840865d
UD
13868 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
13869 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
13870
b402e91a
RM
138712011-09-15 Roland McGrath <roland@hack.frob.com>
13872
13873 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
13874 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
13875 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13876 (CALL_FAIL): Likewise.
13877 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
13878 (CALL_FAIL): Macro removed.
13879 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
13880
4c1a1f71
UD
138812011-09-15 Ulrich Drepper <drepper@gmail.com>
13882
13883 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
13884 for __FINITE_MATH_ONLY__ == 1.
13885
edc121be
AS
138862011-09-15 Andreas Schwab <schwab@redhat.com>
13887
13888 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
13889 __ieee754_sqrt instead of sqrt.
13890 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
13891 __ieee754_sqrtf instead of sqrtf.
13892 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
13893 __floorf instead of floorf.
13894 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
13895 __floorf, __truncf instead of floorf, truncf.
13896
cd205654
UD
138972011-09-14 Ulrich Drepper <drepper@gmail.com>
13898
ee4d0315
UD
13899 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
13900
cd205654
UD
13901 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
13902 __extern_always_inline.
13903 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
13904 32-bit.
13905
48b67d71
AS
139062011-09-14 Andreas Schwab <schwab@redhat.com>
13907
13908 * elf/rtld.c (dl_main): Also relocate in dependency order when
13909 doing symbol dependency testing.
13910
1ae12c75
AS
139112011-09-13 Andreas Schwab <schwab@linux-m68k.org>
13912
13913 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13914 Always define `refsym'.
13915
995a80df
AS
139162011-09-13 Andreas Schwab <schwab@redhat.com>
13917
e529793b
AS
13918 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
13919 (__FD_ELT): Renamed from __FDELT.
13920 * misc/bits/select2.h (__FD_ELT): Likewise.
13921 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
13922 __FD_MASK instead of __FDELT, __FDMASK.
13923 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13924 Likewise.
13925 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13926 Likewise.
13927
52d4fef8
AS
13928 * elf/Makefile (gen-ldd): Fix pattern.
13929
995a80df
AS
13930 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
13931 (init_tls): Likewise.
13932
8682f8b0
UD
139332011-09-12 Ulrich Drepper <drepper@gmail.com>
13934
13935 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
13936
de82006d
AS
139372011-09-12 Andreas Schwab <schwab@redhat.com>
13938
a7c8e6a1
AS
13939 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
13940 `struct cmsghdr *' instead of `void *'.
13941 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
13942 Likewise.
13943
0f31fe77
AS
139442011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13945
13946 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
13947 if non-absolute.
13948 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
13949 ldd_rewrite_script.
0f31fe77 13950
32b4c839
UD
139512011-09-11 Ulrich Drepper <drepper@gmail.com>
13952
83cd1420
UD
13953 * configure.in: Remove --with-tls option.
13954 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
13955 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
13956 out in case it is missing.
13957 * sysdeps/ia64/elf/configure.in: Likewise.
13958 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
13959 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
13960 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
13961 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
13962 * sysdeps/sh/elf/configure.in: Likewise.
13963 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
13964 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13965 * sysdeps/x86_64/elf/configure.in: Likewise.
13966 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
13967 * sysdeps/mach/hurd/tls.h: Likewise.
13968
633f745d
UD
13969 [BZ #13067]
13970 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
13971
f318beb8
UD
13972 [BZ #13090]
13973 * configure.in: Fix use of AC_INIT.
13974
32b4c839
UD
13975 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
13976
3ce1f295
UD
139772011-09-10 Ulrich Drepper <drepper@gmail.com>
13978
bb016596
UD
13979 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
13980 __set_errno.
8e58439c
UD
13981 * malloc/hooks.c: Likewise.
13982
aebae053 13983 [BZ #11929]
02d46fc4
UD
13984 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
13985 variables statically.
13986 (narenas): Initialize.
13987 (list_lock): Initialize.
bb016596
UD
13988 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
13989 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
13990 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
13991 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
13992 Add initializers to main_arena and mp_.
13993 (malloc_state): Remove pagesize member. Change all users to use
13994 GLRO(dl_pagesize).
13995
13996 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
13997 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
13998 is always initialized.
13999
22a89187
UD
14000 * malloc/malloc.c: Removed unused configurations and dead code.
14001 * malloc/arena.c: Likewise.
14002 * malloc/hooks.c: Likewise.
02d46fc4 14003 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 14004
d063d164
UD
14005 * include/tls.h: Removed. USE___THREAD must always be defined.
14006 * bits/libc-tsd.h: Don't handle !USE___THREAD.
14007 * elf/dl-libc.c: Likewise.
14008 * elf/dl-tsd.c: Likewise.
14009 * include/errno.h: Likewise.
14010 * include/netdb.h: Likewise.
14011 * include/resolv.h: Likewise.
14012 * inet/herrno-loc.c: Likewise.
14013 * inet/herrno.c: Likewise.
14014 * malloc/arena.c: Likewise.
14015 * malloc/hooks.c: Likewise.
14016 * malloc/malloc.c: Likewise.
14017 * resolv/res-state.c: Likewise.
14018 * resolv/res_libc.c: Likewise.
14019 * sysdeps/i386/dl-machine.h: Likewise.
14020 * sysdeps/ia64/dl-machine.h: Likewise.
14021 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14022 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14023 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14024 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14025 * sysdeps/sh/dl-machine.h: Likewise.
14026 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14027 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14028 * sysdeps/unix/i386/sysdep.S: Likewise.
14029 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14030 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
14031 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
14032 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14033 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
14034 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14035 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14036 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14037 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14038 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14039 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14040 * sysdeps/x86_64/dl-machine.h: Likewise.
14041 * tls.make.c: Likewise.
14042
3ce1f295
UD
14043 * configure.in: Remove --with-__thread option. Make tests for
14044 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
14045 tls_model attribute fail if no support is available. Remove
14046 USE_IN_LIBIO.
14047 * Makeconfig: Adjust for dropped configure option. All features are
14048 now mandatory.
14049 * Makerules: Likewise.
14050 * Versions.def: Likewise.
14051 * argp/argp-fmtstream.c: Likewise.
14052 * argp/argp-fmtstream.h: Likewise.
14053 * argp/argp-help.c: Likewise.
14054 * assert/assert.c: Likewise.
14055 * config.h.in: Likewise.
14056 * config.make.in: Likewise.
14057 * configure: Likewise.
14058 * configure.in: Likewise.
14059 * csu/Versions: Likewise.
14060 * csu/init.c: Likewise.
14061 * elf/tst-audit2.c: Likewise.
14062 * elf/tst-tls10.c: Likewise.
14063 * elf/tst-tls10.h: Likewise.
14064 * elf/tst-tls11.c: Likewise.
14065 * elf/tst-tls12.c: Likewise.
14066 * elf/tst-tls14.c: Likewise.
14067 * elf/tst-tlsmod11.c: Likewise.
14068 * elf/tst-tlsmod12.c: Likewise.
14069 * elf/tst-tlsmod13.c: Likewise.
14070 * elf/tst-tlsmod13a.c: Likewise.
14071 * elf/tst-tlsmod14a.c: Likewise.
14072 * elf/tst-tlsmod15b.c: Likewise.
14073 * elf/tst-tlsmod16a.c: Likewise.
14074 * elf/tst-tlsmod16b.c: Likewise.
14075 * elf/tst-tlsmod7.c: Likewise.
14076 * elf/tst-tlsmod8.c: Likewise.
14077 * elf/tst-tlsmod9.c: Likewise.
14078 * gmon/gmon.c: Likewise.
14079 * grp/fgetgrent_r.c: Likewise.
14080 * grp/putgrent.c: Likewise.
14081 * hurd/fopenport.c: Likewise.
14082 * include/libc-symbols.h: Likewise.
14083 * include/tls.h: Likewise.
14084 * intl/gettextP.h: Likewise.
14085 * intl/loadinfo.h: Likewise.
14086 * locale/global-locale.c: Likewise.
14087 * locale/localeinfo.h: Likewise.
14088 * mach/devstream.c: Likewise.
14089 * malloc/arena.c: Likewise.
14090 * malloc/set-freeres.c: Likewise.
14091 * misc/err.c: Likewise.
14092 * misc/getttyent.c: Likewise.
14093 * misc/mntent_r.c: Likewise.
14094 * posix/getopt.c: Likewise.
14095 * posix/wordexp.c: Likewise.
14096 * pwd/fgetpwent_r.c: Likewise.
14097 * resolv/Versions: Likewise.
14098 * resolv/res_hconf.c: Likewise.
14099 * shadow/fgetspent_r.c: Likewise.
14100 * shadow/putspent.c: Likewise.
14101 * stdio-common/printf_fphex.c: Likewise.
14102 * stdio-common/tmpfile.c: Likewise.
14103 * stdlib/abort.c: Likewise.
14104 * stdlib/fmtmsg.c: Likewise.
14105 * sunrpc/auth_unix.c: Likewise.
14106 * sunrpc/clnt_perr.c: Likewise.
14107 * sunrpc/clnt_tcp.c: Likewise.
14108 * sunrpc/clnt_udp.c: Likewise.
14109 * sunrpc/clnt_unix.c: Likewise.
14110 * sunrpc/openchild.c: Likewise.
14111 * sunrpc/svc_simple.c: Likewise.
14112 * sunrpc/svc_tcp.c: Likewise.
14113 * sunrpc/svc_udp.c: Likewise.
14114 * sunrpc/svc_unix.c: Likewise.
14115 * sunrpc/xdr.c: Likewise.
14116 * sunrpc/xdr_array.c: Likewise.
14117 * sunrpc/xdr_rec.c: Likewise.
14118 * sunrpc/xdr_ref.c: Likewise.
14119 * sunrpc/xdr_stdio.c: Likewise.
14120
1248c1c4
PB
141212011-09-09 Ulrich Drepper <drepper@gmail.com>
14122
14123 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14124
141252011-07-03 Andreas Jaeger <aj@suse.de>
14126
14127 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
14128 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
14129 regenerate with gen-libm-tests.pl.
14130
141312010-05-12 Petr Baudis <pasky@suse.cz>
14132
14133 [BZ #11589]
14134 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
14135 around j0() zero points by switching to j1().
14136 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14137 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14138 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14139 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14140
f22e1074
UD
141412011-09-09 Ulrich Drepper <drepper@gmail.com>
14142
f19009c1
UD
14143 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
14144 instead of 0.
14145 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
14146 instead of 0. .
14147 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14148 Patch in part by Pavel Roskin <proski@gnu.org>.
14149
3f8cc204
UD
14150 [BZ #13138]
14151 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
14152 realloc.
14153 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
14154 Free memory block if necessary.
14155
f22e1074
UD
14156 [BZ #12847]
14157 * libio/genops.c (INTDEF): For string streams the _lock pointer can
14158 be NULL. Don't lock in this case.
14159
0a2349f9
RM
141602011-09-09 Roland McGrath <roland@hack.frob.com>
14161
14162 * elf/elf.h (ELFOSABI_GNU): New macro.
14163 (ELFOSABI_LINUX): Define to that.
14164
f3cdd467
DZ
141652011-07-29 Denis Zaitceff <zaitceff@gmail.com>
14166
14167 * string/strncat.c (strncat): Undef the symbol in case it has been
14168 defined in bits/string.h.
14169
74718d13
UD
141702011-09-09 Ulrich Drepper <drepper@gmail.com>
14171
633e9e0f
UD
14172 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
14173
0a2349f9 14174 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
14175 link map.
14176
f9924780
AJ
141772011-08-17 Andreas Jaeger <aj@suse.de>
14178
14179 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
14180
7f5517aa
PP
141812011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14182 Ian Lance Taylor <iant@google.com>
14183
14184 * math/libm-test.inc (lround_test): New testcase.
14185 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
14186
762011fe
UD
141872011-09-08 Ulrich Drepper <drepper@gmail.com>
14188
92963737
UD
14189 * Makefile: Remove support for automatic cvs check-ins.
14190 * Makerules: Likewise.
14191 * config.make.in: Likewise.
14192 * configure.in: Likewise.
14193 * intl/Makefile: Likewise.
14194 * locale/Makefile: Likewise.
14195 * po/Makefile: Likewise.
14196 * posix/Makefile: Likewise.
14197 * sysdeps/gnu/Makefile: Likewise.
14198 * sysdeps/mach/hurd/Makefile: Likewise.
14199 * sysdeps/sparc/sparc32/Makefile: Likewise.
14200
b0727fd8
JS
14201 [BZ #13118]
14202 * posix/Makefile (bug-regex32-ENV): Define.
14203 Patch by John Stanley <jpsinthemix@verizon.net>.
14204
a0f33f99
UD
14205 * misc/Makefile (headers): Add bits/select2.h.
14206 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
14207 * misc/bits/select2.h: New file.
14208 * include/bits/select2.h: New file.
14209 * debug/Makefile (routines): Add fdelt_chk.
14210 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
14211 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
14212 FD_ISSET.
14213 * debug/fdelt_chk.c: New file.
14214
762011fe
UD
14215 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
14216 * wcsmbs/test-wmemcmp.c: Likewise.
14217 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 14218 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
14219
142202011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14221
14222 * string/Makefile (strop-tests): Add memcmp.
14223 * string/test-wmemcmp.c: New file.
14224 * string/test-memcmp.c: Add wmemcmp support.
14225
7f513ec8
RM
142262011-09-08 Roland McGrath <roland@hack.frob.com>
14227
0442afb4
RM
14228 [BZ #13153]
14229 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
14230 2011-07-19 change.
14231
7f513ec8
RM
14232 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14233 garbage value in a __mach_port_mod_refs call in the cases of the
14234 task-self and thread-self ports.
14235
a12b2239
ST
142362011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14237
14238 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14239
610f9ab4
AS
142402011-09-08 Andreas Schwab <schwab@redhat.com>
14241
7f513ec8 14242 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 14243
48882a1a
LD
142442011-09-07 Ulrich Drepper <drepper@gmail.com>
14245
b49865be
UD
14246 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14247
fdc86bc9
UD
14248 * elf/dl-libc.c (dlerror_run): Pass back error code from
14249 dl_catch_error.
14250
c966526a
UD
14251 [BZ #13123]
14252 * elf/dl-load.c (lose): Free l_origin if it is valid.
14253
48882a1a
LD
14254 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14255 names.
14256 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14257 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14258 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14259 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14260 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14261 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14262
77a2a8b4
AZ
142632011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14264
14265 * sysdeps/powerpc/fpu/e_hypot.c: New file.
14266 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14267 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14268 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14269 * sysdeps/powerpc/fpu/k_cosf.c: New file.
14270 * sysdeps/powerpc/fpu/k_sinf.c: New file.
14271 * sysdeps/powerpc/fpu/s_cosf.c: New file.
14272 * sysdeps/powerpc/fpu/s_sinf.c: New file.
14273 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14274 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14275
24f579d8
AM
142762011-08-15 Alan Modra <amodra@gmail.com>
14277
14278 [BZ #13092]
14279 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14280 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14281 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
14282 ppc_mcount to static-only-routines.
14283 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14284 __mcount_internal.
14285 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14286 __mcount_internal with usual JUMPTARGET. Remove useless nop.
14287
3d4837df
UD
142882011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
14289
14290 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14291 for finite and infinity parameters.
14292
22700377
WS
142932011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14294
14295 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14296 and add nop instructions for throughput optimization.
14297 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14298
5025581e
WS
142992011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
14300
14301 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14302 aligned copy for power7 with vector-scalar instructions.
14303 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14304
08a300c9
L
143052011-07-24 H.J. Lu <hongjiu.lu@intel.com>
14306
14307 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14308 AVX check.
14309
59178ef9
AS
143102011-09-07 Andreas Schwab <schwab@redhat.com>
14311
14312 [BZ #13144]
14313 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14314 last change.
14315
e38ba7ab
UD
143162011-09-07 Ulrich Drepper <drepper@gmail.com>
14317
14318 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14319 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14320 syscall wrapper around clock_gettime in __vdso_clock_gettime.
14321 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14322 clock_gettime.
14323
d53a73ac
UD
143242011-09-06 Ulrich Drepper <drepper@gmail.com>
14325
fc8bffcc
UD
14326 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
14327 Forgot to demangle the pointer.
14328
ceaa0c5d
UD
14329 * sysdeps/i386/sysdep.h: Define atom_text_section.
14330 * sysdeps/x86_64/sysdep.h: Likewise.
14331 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
14332 section with atom_text_section.
14333 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14334 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14335 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14336 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14337 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
14338
a77d3c17
UD
14339 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
14340 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
14341 already be defined. Change to take two parameters and don't assign
14342 result to variable. Adjust all users.
14343 Define INTERNAL_GETTIME if not already defined.
14344 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
14345 call.
14346 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
14347 HAVE_CLOCK_GETTIME_VSYSCALL.
14348 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
14349
d53a73ac
UD
14350 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
14351 gettimeofday vsyscall, just use time.
14352
a8f84144
AS
143532011-09-06 Andreas Schwab <schwab@redhat.com>
14354
14355 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
14356 <errno.h>.
14357
ef606249
UD
143582011-09-06 Ulrich Drepper <drepper@gmail.com>
14359
14360 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
14361 syscall on x86-64.
14362 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
14363 syscall.
14364 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14365 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
14366 syscall if possible.
14367
6585cb60
UD
143682011-09-05 Ulrich Drepper <drepper@gmail.com>
14369
14370 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
14371 e_ident. Don't pass to find_mapsXX.
14372 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
14373
a5f524e4
LD
143742011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14375
14376 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14377 strchr-sse2-no-bsf strrchr-sse2-no-bsf
14378 * sysdeps/x86_64/multiarch/strchr.S: Update.
14379 Check bit_slow_BSF bit.
14380 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14381 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
14382 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
14383
554881ef
UD
143842011-09-05 Ulrich Drepper <drepper@gmail.com>
14385
d96de963
UD
14386 [BZ #13134]
14387 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
14388 before glibc 2.15.
14389 (tryshell): Define.
14390 (__spawni): Change last parameter to be flag. Test
14391 SPAWN_XFLAGS_USE_PATH flag to use path or not.
14392 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
14393 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
14394 * posix/spawni.c: Likewise.
14395 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
14396 * posix/spawnp.c: Likewise. Change normal version to use
14397 SPAWN_XFLAGS_USE_PATH.
14398 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
14399 SPAWN_XFLAGS_TRY_SHELL.
14400
d48e5868
UD
14401 [BZ #13150]
14402 * posix/glob.h: Remove gcc 1.x support.
14403
554881ef
UD
14404 [BZ #13068]
14405 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
14406
693fb948
LD
144072011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14408
14409 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14410 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
14411 strrchr-sse2-bsf
14412 * sysdeps/i386/i686/multiarch/strchr.S: New file.
14413 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
14414 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
14415 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
14416 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
14417 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
14418
1b48c537
UD
144192011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14420
49d42c37
UD
14421 * sysdeps/x86_64/wcscmp.S: New file.
14422
1b48c537
UD
14423 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
14424 wcscmp-c wcscmp-sse2
14425 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
14426 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
14427 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
14428 * wcsmbs/wcscmp.c: Allow renaming.
14429
15c95c5d
DM
144302011-09-05 David S. Miller <davem@davemloft.net>
14431
14432 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
14433 stack slot, rather than the struct return pointer slot.
14434 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
14435 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
14436 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
14437 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
14438
2f0ad8f3
UD
144392011-09-05 Ulrich Drepper <drepper@gmail.com>
14440
d88ae418
UD
14441 * po/ja.po: Update from translation team.
14442
2f0ad8f3
UD
14443 [BZ #13144]
14444 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
14445 kernel in 64-bit binaries.
14446
5f4318d1
DM
144472011-09-01 David S. Miller <davem@davemloft.net>
14448
14449 * elf/elf.h (HWCAP_SPARC_*): Move to..
14450 * sysdeps/sparc/sysdep.h: this new file and add new values.
14451 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
14452 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
14453 _DL_HWCAP_COUNT to 24.
14454 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14455 entries.
14456 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
14457 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
14458 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
14459 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
14460 instead of magic constants.
14461 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14462
3ba57516
DM
144632011-08-31 David S. Miller <davem@davemloft.net>
14464
14465 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
14466 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
14467 Reimplement to do errno handling inline.
14468 (SYSCALL_ERROR_HANDLER): New macro.
14469 (__SYSCALL_STRING): Do not do errno handling in asm.
14470 (__CLONE_SYSCALL_STRING): Delete.
14471 (__INTERNAL_SYSCALL_STRING): Delete.
14472 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
14473 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
14474 (PSEUDO): Reimplement to do errno handling inline.
14475 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
14476 (SYSCALL_ERROR_HANDLER): New macro.
14477 (__SYSCALL_STRING): Do not do errno handling in asm.
14478 (__CLONE_SYSCALL_STRING): Delete.
14479 (__INTERNAL_SYSCALL_STRING): Delete.
14480 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
14481 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
14482 i386.
14483 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
14484 (inline_syscall*): Add 'err' argument.
14485 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
14486 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
14487 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
14488 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
14489
14490 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
14491 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14492
2bc17433
AS
144932011-08-30 Andreas Schwab <schwab@redhat.com>
14494
14495 * elf/rtld.c (dl_main): Relocate objects in dependency order.
14496
fbeb5f4d
JO
144972011-08-29 Jiri Olsa <jolsa@redhat.com>
14498
14499 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
14500 directive.
14501
ad69cc26
DM
145022011-08-24 David S. Miller <davem@davemloft.net>
14503
14504 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
14505
39dd69df
AS
145062011-08-24 Andreas Schwab <schwab@redhat.com>
14507
14508 * elf/Makefile: Add rules to build and run unload8 test.
14509 * elf/unload8.c: New file.
14510 * elf/unload8mod1.c: New file.
14511 * elf/unload8mod1x.c: New file.
14512 * elf/unload8mod2.c: New file.
14513 * elf/unload8mod3.c: New file.
14514
14515 * elf/dl-close.c (_dl_close_worker): Reset private search list if
14516 it wasn't used.
14517
2c0b250a
DM
145182011-08-23 David S. Miller <davem@davemloft.net>
14519
14520 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
14521 subtract stack bias.
14522 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
14523 %sp not %fp in calculations.
14524 (_JMPBUF_UNWINDS_ADJ): Likewise.
14525
22044b48
DM
14526 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
14527 (aio_suspend): Call it to force an exception region around the
14528 AIO_MISC_WAIT() invocation.
14529
2cae4995
AS
145302011-08-23 Andreas Schwab <schwab@redhat.com>
14531
14532 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
14533 backslash.
14534
873a772e
AJ
145352011-07-04 Aurelien Jarno <aurelien@aurel32.net>
14536
14537 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
14538 protection macro.
14539 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
14540 and <dl-machine.h>.
14541 (Elf64_FuncDesc): Remove.
14542
25ad0df1
DM
145432011-08-22 David S. Miller <davem@davemloft.net>
14544
14545 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
14546 sigaltstack check, add missing cfi directives.
14547 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
14548 missing cfi directives, and sigaltstack handling.
14549
e888bcbe
AS
145502011-08-16 Andreas Schwab <schwab@redhat.com>
14551
14552 [BZ #11724]
14553 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
14554 object is seen twice.
14555 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14556
14557 * elf/Makefile (distribute): Add tst-initorder2.c.
14558 (tests): Add tst-initorder2.
14559 (modules-names): Add tst-initorder2a tst-initorder2b
14560 tst-initorder2c tst-initorder2d. Add rules to build them.
14561 ($(objpfx)tst-initorder2.out): New rule.
14562 * elf/tst-initorder2.c: New file.
14563 * elf/tst-initorder2.exp: New file.
14564
87162f46
AS
145652011-08-22 Andreas Schwab <schwab@redhat.com>
14566
70538b7f
AS
14567 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
14568
f55ffe58
AS
14569 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
14570 dependencies back to end of function.
14571
87162f46
AS
14572 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14573 $(elfobjdir)/ld.so.
14574
91b392a4
UD
145752011-08-21 Ulrich Drepper <drepper@gmail.com>
14576
14577 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
14578 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
14579 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
14580 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
14581 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
14582 of __vdso_gettimeofday.
14583 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
14584 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
14585 attribute_hidden.
14586 (_libc_vdso_platform_setup): Remove initialization of
14587 __vdso_gettimeofday and __vdso_time.
14588
5c43483f
UD
145892011-08-20 Ulrich Drepper <drepper@gmail.com>
14590
775a77e7
UD
14591 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
14592 and fgetc_unlocked.
14593 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
14594 getc_unlocked.
89f447ed 14595
49c74ba9
UD
14596 * elf/dl-open.c (add_to_global): Report additions to the global scope
14597 for LD_DEBUG=scopes.
14598 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 14599 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 14600
5c43483f
UD
14601 [BZ #13114]
14602 * stdio-common/Makefile (tests): Add bug24.
14603 * stdio-common/bug24.c: New file.
14604
a101b025
AJ
146052011-08-19 Andreas Jaeger <aj@suse.de>
14606
14607 [BZ #13114]
14608 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
14609 non-existant file when using close-on-exec mode.
14610
c88f1766
UD
146112011-08-20 Ulrich Drepper <drepper@gmail.com>
14612
0276a718
UD
14613 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
14614 the very first instruction.
14615
c88f1766
UD
14616 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
14617 the CFI state in the end.
14618 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
14619 inclusion of dl-trampoline.h.
14620 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
14621
51ccffa0
AS
146222011-08-19 Andreas Schwab <schwab@redhat.com>
14623
94d7165f
AS
14624 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
14625 expectations for long double.
14626
51ccffa0
AS
14627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
14628 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
14629
fd708658 146302011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
14631
14632 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
14633 artificual limit depends upon the system page size.
14634
44f0a71e
UD
146352011-08-17 Ulrich Drepper <drepper@gmail.com>
14636
14637 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
14638 * resolv/Makefile: Define CFLAGS-libresolv.
14639
8de79a24
AS
146402011-08-17 Andreas Schwab <schwab@redhat.com>
14641
14642 * nss/makedb.c (compute_tables): Make variables used in nested
14643 function static.
14644
27724598
UD
146452011-08-17 Ulrich Drepper <drepper@gmail.com>
14646
c5305d88
UD
14647 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
14648 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
14649 if buffer was too small.
14650
27724598
UD
14651 * elf/pldd.c (main): Attach to all threads in the process.
14652 Rewrite /proc handling to use *at functions.
14653
076fe015
UD
146542011-08-16 Ulrich Drepper <drepper@gmail.com>
14655
174baab3
UD
14656 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
14657 specifies first scope to show.
14658 (dl_open_worker): Update callers. Move printing scope of new
14659 object to before the relocation.
44f0a71e 14660 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
14661 * sysdeps/generic/ldsodefs.h: Update declaration.
14662
076fe015
UD
14663 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
14664 string for the scope number.
14665
a60df2c3
UD
146662011-08-14 Ulrich Drepper <drepper@gmail.com>
14667
14668 * nscd/servicescache.c (cache_addserv): Make sure written is always
14669 initialized.
14670
5e4287d1
RM
146712011-08-14 Roland McGrath <roland@hack.frob.com>
14672
85ae0589
RM
14673 * sysdeps/i386/i486/bits/atomic.h
14674 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
14675 statement expression, so as to suppress "set but not used" warning.
14676 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
14677
69f63097
RM
14678 * string/strncat.c (STRNCAT): Use prototype definition.
14679
675456ef
RM
14680 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
14681 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
14682 -Iprograms here.
14683 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
14684 (localedef-modules): Add localedef.
14685 (locale-modules): Add locale.
14686
5e4287d1
RM
14687 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
14688 * elf/rtld.c (dl_main): Invert order of assignment in last change,
14689 to avoid a warning.
14690
9c96ff23
DM
146912011-08-14 David S. Miller <davem@davemloft.net>
14692
14693 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
14694 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
14695
f9ddf089
UD
146962011-08-13 Ulrich Drepper <drepper@gmail.com>
14697
44f0a71e 14698 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
14699 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
14700 * elf/rtld.c (dl_main): Set l_name of vDSO.
14701 Call _dl_show_scope when DL_DEBUG_SCOPES.
14702 (process_dl_debug): Recognize scopes flag and also set it for all.
14703 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
14704 Declare _dl_show_scope.
14705
1dc27704
UD
14706 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
14707 (do_dlopen): Pass caller_dlopen to dl_open.
14708 (__libc_dlopen_mode): Initialize caller_dlopen.
14709
f9ddf089
UD
14710 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
14711 of libc. Make tolower call locale-independent. Optimize a bit by
14712 using isdigit instead of isalnum.
14713 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
14714
9ac533d3
UD
147152011-08-12 Ulrich Drepper <drepper@gmail.com>
14716
14717 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
14718 was a dependency or dynamically loaded.
14719
89edf2e9
UD
147202011-08-11 Ulrich Drepper <drepper@gmail.com>
14721
8e999d29
UD
14722 * intl/l10nflist.c: Allow architecture-specific pop function.
14723 * sysdeps/x86_64/l10nflist.c: New file.
14724
89edf2e9
UD
14725 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
14726 classification.
14727
14d96785
AS
147282011-08-10 Andreas Schwab <schwab@redhat.com>
14729
14730 * include/dirent.h: Add libc_hidden_proto for scandirat and
14731 scandirat64. Don't declare __scandirat64.
14732 * dirent/scandirat.c: Add libc_hidden_def.
14733 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
14734 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
14735
6761ac04
DM
147362011-08-10 David S. Miller <davem@davemloft.net>
14737
14738 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
14739 enum.
14740 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14741 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14742 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14743
c55fbd1e
UD
147442011-08-09 Ulrich Drepper <drepper@gmail.com>
14745
14746 * Versions.def [libc]: Add GLIBC_2.15.
14747 * dirent/Makefile (routines): Add scandirat and scandirat64.
14748 * dirent/Versions [libc]: Export scandirat and scandirat64 for
14749 GLIBC_2.15.
14750 * dirent/dirent.h: Declare scandirat and scandirat64.
14751 * dirent/scandirat.c: New file.
14752 * dirent/scandirat64.c: New file.
14753 * sysdeps/wordsize-64/scandirat.c: New file.
14754 * sysdeps/wordsize-64/scandirat64.c: New file.
14755 * dirent/opendir.c: Define opendirat.
14756 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
14757 using scandirat.
14758 * dirent/scandir64.c: Adjust for scandir.c change.
14759 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
14760 __scandirat64, and __scandir_cancel_handler.
14761 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
14762 additional parameter and use openat instead of open (outside of ld.so).
14763 Add new __opendir as wrapper around __opendirat.
14764 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
14765 here without requiring old scandirat implementation.
14766
879165f2
UD
147672011-08-08 Ulrich Drepper <drepper@gmail.com>
14768
14769 * dirent/scandir.c (cancel_handler): Renamed to
14770 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
14771 defined. Adjust users.
14772 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
14773 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14774
cb7e923b
UD
147752011-08-04 Ulrich Drepper <drepper@gmail.com>
14776
16292edd
UD
14777 * string/test-string.h (IMPL): Use __STRING to expand name and then
14778 stringify it.
14779
cb7e923b
UD
14780 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
14781 of cleanups.
14782
cff82933
LD
147832011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14784
14785 * string/Makefile: Update.
14786 (strop-tests): Append strncat.
14787 * string/test-wcscmp.c: New file.
14788 New comprehensive test for wcscmp.
14789 * string/test-strcmp.c: Update.
14790 (WIDE): New define.
14791
9be9bfcc
AS
147922011-07-22 Andreas Schwab <schwab@redhat.com>
14793
14794 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
14795 line.
14796
2e96f1c7
AS
147972011-07-26 Andreas Schwab <schwab@redhat.com>
14798
14799 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14800 encoding to ACE if AI_IDN.
14801
85188888
JJ
148022011-08-01 Jakub Jelinek <jakub@redhat.com>
14803
14804 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
14805 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
14806
5fa16e9b
LD
148072011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14808
14809 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
14810 Fix overflow bug in strncat.
14811 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
14812
14813 * string/test-strncat.c: Update.
14814 Add new tests for checking overflow bugs.
14815
148162011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14817
14818 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14819 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
14820 * sysdeps/i386/i686/multiarch/strcat.S: New file.
14821 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
14822 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
14823 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
14824 * sysdeps/i386/i686/multiarch/strncat.S: New file.
14825 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
14826 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
14827
14828 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
14829 (USE_AS_STRCAT): Define.
14830 Add strcat and strncat support.
14831 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14832
8c1a459f
AS
148332011-07-25 Andreas Schwab <schwab@redhat.com>
14834
14835 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
14836 __n bigger than INT_MAX+1.
14837 (__strncmp_g): Likewise.
14838
bba33c28
UD
148392011-07-23 Ulrich Drepper <drepper@gmail.com>
14840
798be72d
UD
14841 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
14842 * libio/stido.h: Likewise.
14843
8accd4dc
UD
14844 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
14845 (AF_NFC): Define.
14846 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
14847 (AF_NFC): Define.
14848
cbff0d96
UD
14849 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
14850 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14851 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14852 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14853 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14854
9191c04a
UD
14855 [BZ #13021]
14856 * scripts/test-installation.pl: Don't expect libnss_test1 to be
14857 installed.
14858
bba33c28
UD
14859 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
14860 typo.
14861 (_dl_x86_64_save_sse): Likewise.
14862
90f139dd
UD
148632011-07-22 Ulrich Drepper <drepper@gmail.com>
14864
1aae088a
UD
14865 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
14866 OSXSAVE.
14867 (_dl_x86_64_save_sse): Likewise.
14868
8e2045f5
UD
14869 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
14870
90f139dd
UD
14871 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
14872
1d002f25
AS
148732011-07-21 Andreas Schwab <schwab@redhat.com>
14874
14875 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
14876 change.
14877 (_dl_x86_64_save_sse): Use correct AVX check.
14878
21137f89
UD
148792011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14880
14881 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
14882 bug in strncpy/strncat.
14883 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
14884
a65c0b7a
UD
148852011-07-21 Ulrich Drepper <drepper@gmail.com>
14886
14887 * string/tester.c (test_strcat): Add tests for different alignments
14888 of source and destination.
14889 (test_strncat): Likewise.
14890
6986b98a
UD
148912011-07-20 Ulrich Drepper <drepper@gmail.com>
14892
90bb2039
UD
14893 [BZ #12852]
14894 * posix/glob.c (glob): Check passed in values before using them in
14895 expressions to avoid some overflows.
14896 (glob_in_dir): Likewise.
14897
5644ef54
UD
14898 [BZ #13007]
14899 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
14900 check for AVX enablement so that we don't crash with old kernels and
14901 new hardware.
14902 * elf/tst-audit4.c: Add same checks here.
14903 * elf/tst-audit6.c: Likewise.
14904
14905 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 14906
bfc9dc9b
AS
149072011-07-09 Andreas Schwab <schwab@linux-m68k.org>
14908
14909 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
14910
702e64bb
UD
149112011-07-20 Ulrich Drepper <drepper@gmail.com>
14912
14913 * po/cs.po: Update from translation team.
14914 * po/bg.po: Likewise.
14915
295e904f
MP
149162011-07-12 Marek Polacek <mpolacek@redhat.com>
14917
14918 * misc/sys/cdefs.h: Add support for const attribute.
14919 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
14920 to gnu_dev_{major,minor,makedev} functions.
14921
3ff94596
MP
149222011-07-20 Marek Polacek <mpolacek@redhat.com>
14923
14924 * intl/dcigettext.c (get_output_charset): Add missing bracket.
14925
28b59fca
AS
149262011-07-20 Andreas Schwab <schwab@redhat.com>
14927
14928 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
14929 strlen results.
14930
19df733e
AK
149312011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14932
14933 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14934 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
14935 register in order to avoid conflicts with the soft frame pointer
14936 being held in r11 when necessary.
14937 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14938 (INTERNAL_VSYSCALL_NCS): Likewise.
14939
c8835729
MP
149402011-07-14 Marek Polacek <mpolacek@redhat.com>
14941
14942 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
14943 * elf/dl-fini.c (_dl_fini): Adjust caller.
14944 * elf/dl-close.c (_dl_close_worker): Likewise.
14945 * sysdeps/generic/ldsodefs.h: Adjust declaration.
14946
b902330c
MP
149472011-07-15 Marek Polacek <mpolacek@redhat.com>
14948
8991e135
MP
14949 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
14950 "aux_cache->nlibs < 0".
14951
b902330c
MP
14952 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
14953 in the reload-count case.
14954
99710781
LD
149552011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14956
14957 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14958 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
14959 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
14960 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
14961 * sysdeps/x86_64/multiarch/strcat.S: New file.
14962 * sysdeps/x86_64/multiarch/strncat.S: New file.
14963 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
14964 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
14965 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
14966 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
14967 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
14968 (USE_AS_STRCAT): Define.
14969 Add strcat and strncat support.
14970 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14971 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14972 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
14973 * string/strncat.c: Update.
14974 (USE_AS_STRNCAT): Define.
14975 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14976 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
14977 and i7.
14978 * sysdeps/x86_64/multiarch/init-arch.h
14979 (bit_Prefer_PMINUB_for_stringop): New.
14980 (index_Prefer_PMINUB_for_stringop): Likewise.
14981 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
14982 bit_Prefer_PMINUB_for_stringop.
14983
7dc6bd90
UD
149842011-07-19 Ulrich Drepper <drepper@gmail.com>
14985
14986 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
14987 buffer64.
14988 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
14989 of casting of buffer.
14990 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
14991 buffer32 and buffer64.
14992 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
14993 writes instead of casting of buffer.
14994 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
14995 buffer32.
14996 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
14997 casting of buffer.
14998
e0e72284
AS
149992011-07-19 Andreas Schwab <schwab@redhat.com>
15000
15001 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
15002
feb1eb0b
UD
150032011-07-19 Ulrich Drepper <drepper@gmail.com>
15004
15005 * nscd/nscd.c (termination_handler): Don't do anything for a database
15006 if it has not yet been initialized.
15007
298711ff
UD
150082011-07-18 Ulrich Drepper <drepper@gmail.com>
15009
15010 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15011
150122011-07-15 Marek Polacek <mpolacek@redhat.com>
15013
15014 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15015
f9d68389
UD
150162011-07-18 Ulrich Drepper <drepper@gmail.com>
15017
15018 * po/nl.po: Update from translation team.
15019 * po/sv.po: Likewise.
15020
db290cf5
RM
150212011-07-16 Roland McGrath <roland@hack.frob.com>
15022
15023 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
15024 now disallowed by GCC.
5c550700 15025
fd5e21c7
RM
15026 * configure.in (use-default-link): Default to yes if a test -shared
15027 link meets our qualifications.
15028 * configure: Regenerated.
15029
5c550700
RM
15030 * config.make.in (output-format): New variable.
15031 * configure.in: Check for ld --print-output-format support.
15032 * configure: Regenerated.
15033 * Makerules ($(common-objpfx)format.lds)
15034 [$(output-format) != unknown]: Just use $(output-format),
15035 instead of the linker-script munging.
15036
9fa2c032
RM
150372011-07-14 Roland McGrath <roland@hack.frob.com>
15038
a6928d51
RM
15039 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
15040 of $(common-objpfx)shlib.lds.
15041 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
15042
661607b3
RM
15043 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
15044 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
15045
9fa2c032
RM
15046 * configure.in (-z relro check): Adjust test code to add a large
15047 writable data section after it.
15048 * configure: Regenerated.
15049
defe9061
RM
150502011-07-11 Roland McGrath <roland@hack.frob.com>
15051
15052 * configure.in (-z relro check): Fix test code to make the variable
15053 truly const.
15054 * configure: Regenerated.
15055
319b9ad4
UD
150562011-07-11 Ulrich Drepper <drepper@gmail.com>
15057
15058 * nscd/nscd.h (struct traced_file): Define.
15059 (struct database_dyn): Remove inotify_descr, reset_res, and filename
15060 elements. Add traced_files.
15061 (inotify_fd): Declare.
15062 (register_traced_file): Declare.
15063 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
15064 (inotify_fd): Export.
15065 (resolv_conf_descr): Remove.
15066 (nscd_init): Move inotify descriptor creation to main.
15067 Don't register files for notification here.
15068 (register_traced_file): New function.
15069 (invalidate_cache): Don't use reset_res to determine whether to call
15070 res_init, go through the list of registered files.
15071 (main_loop_poll): The inotify descriptors are now stored in the
15072 structures for the traced files.
15073 (main_loop_epoll): Likewise
15074 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
15075 to __nss_disable_nscd.
15076 * nscd/cache.c (prune_cache): There is no single inotify descriptor
15077 for a database anymore. Check the records for all the registered
15078 files instead.
15079 * nss/Makefile (libnss_files-routines): Add files-init.
15080 (libnss_db-routines): Add db-init.
15081 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
15082 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
15083 * nss/nss_db/db-init.c: New file.
15084 * nss/nss_files/files-init.c: New file.
15085 * nss/nsswitch.c (nss_load_library): New function. Broken out of
15086 __nss_lookup_function.
15087 (__nss_lookup_function): Call nss_load_library.
15088 (nss_load_all_libraries): New function.
15089 (__nss_disable_nscd): Take parameter with callback function for files
15090 to register. Set is_nscd. Load all the DSOs for the NSS modules
15091 used for the cached services.
15092 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
15093 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
15094 options for features to all the files in nscd.
15095
15096 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
15097
23bee3e8
RM
150982011-07-10 Roland McGrath <roland@hack.frob.com>
15099
15100 * csu/elf-init.c (__libc_csu_init): Comment typo.
15101
46a5b7f0
UD
151022011-07-09 Ulrich Drepper <drepper@gmail.com>
15103
15104 * po/pl.po: Update from translation team.
15105 * po/ja.po: Likewise.
15106 * po/ru.po: Likewise.
15107 * po/ko.po: Likewise.
15108 * po/fr.po: Likewise.
15109
d30cf5bb
RM
151102011-07-09 Roland McGrath <roland@hack.frob.com>
15111
113ddea4
RM
15112 * configure.in (.ctors/.dtors header and trailer check):
15113 Use an empirical test on a built program.
15114 * configure: Regenerated.
15115
574920b4
RM
15116 * configure.in (-z relro check): Use an empirical test on a built DSO.
15117 Detect, but do not require, on ia64.
15118 * configure: Regenerated.
15119
d30cf5bb
RM
15120 * configure.in (READELF): Find it with AC_CHECK_TOOL.
15121 Update tests that use readelf to use $READELF instead.
15122 * configure: Regenerated.
15123
8538fdb3
UD
151242011-07-08 Ulrich Drepper <drepper@gmail.com>
15125
15126 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
15127 if the result is not used.
15128
04d08991
AJ
151292011-07-05 Andreas Jaeger <aj@suse.de>
15130
15131 [BZ#9696]
15132 * stdlib/tst-strtod.c: Add testcase.
15133
de283087
AD
151342011-07-07 Ulrich Drepper <drepper@gmail.com>
15135
4e5f31c8 15136 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 15137 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
15138 The latter has a higher limit. Take additional parameter to pass to
15139 the new function.
15140 (__pathconf): Pass file to __statfs_link_max.
15141 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
15142 __statfs_link_max.
15143 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
15144 __statfs_link_max.
15145
de283087
AD
15146 [BZ #12868]
15147 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
15148 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15149 Handle Lustre.
15150 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
15151 (__statfs_filesize_max): Likewise.
15152 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
15153
c75fa153
AJ
151542011-07-05 Andreas Jaeger <aj@suse.de>
15155
15156 * resolv/res_comp.c (dn_skipname): Remove unused variable.
15157
1a544854
UD
151582011-07-06 Marek Polacek <mpolacek@redhat.com>
15159
15160 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
15161 `status' variable.
15162 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
15163 Likewise.
15164
6f0eec67
UD
151652011-07-04 H.J. Lu <hongjiu.lu@intel.com>
15166
15167 * Makefile (strop-tests): Add strncat.
15168 * string/test-strncat.c: New file.
15169
aae30307
UD
151702011-06-30 Marek Polacek <mpolacek@redhat.com>
15171
15172 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
15173
c0cfb5eb
UD
151742011-06-21 Andreas Jaeger <aj@suse.de>
15175
15176 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
15177 Copy rule from iconvdata/Makefile.
15178
01636b21
UD
151792011-07-06 Ulrich Drepper <drepper@gmail.com>
15180
15181 [BZ #12922]
15182 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
15183 but no long options are defined, just return 'W'.
15184
9895c8bc
UD
151852011-06-22 Marek Polacek <mpolacek@redhat.com>
15186
15187 [BZ #9696]
15188 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
15189
5d4cf042
UD
151902011-07-06 Ulrich Drepper <drepper@gmail.com>
15191
15192 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
15193 netgroups to read.
960e5535 15194 (innetgr): Likewise.
5d4cf042 15195
751eb97e
RM
151962011-07-05 Roland McGrath <roland@hack.frob.com>
15197
15198 * config.make.in (install_root): Default to $(DESTDIR).
15199
f15f1e45
UD
152002011-07-05 Ulrich Drepper <drepper@gmail.com>
15201
15202 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
15203
4e34ac6a
RM
152042011-07-02 Roland McGrath <roland@hack.frob.com>
15205
5e9b6af4
RM
15206 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
15207
84f9ea0f
RM
15208 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
15209 containing directory rather than embedding absolute directory names.
15210
ea5ee9f7
RM
15211 * scripts/check-local-headers.sh: Rewritten using awk.
15212 Match by word, not by line. Print error messages for matches.
15213 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
15214
1b74661a
RM
15215 * Makerules [shlib-lds-flags empty]:
15216 ($(common-objpfx)libc_pic.opts): New target.
15217 ($(common-objpfx)libc_pic.os.clean): New target.
15218 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
15219
15220 * config.make.in (OBJCOPY): New variable.
15221 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
15222 * configure: Regenerated.
15223
f781ef40
RM
15224 * config.make.in (use-default-link): New variable.
15225 * configure.in (use_default_link): Grok --with-default-link to set it.
15226 * configure: Regenerated.
15227 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
15228 (shlib-lds, shlib-lds-flags): Define to empty.
15229
2d4fa81e
RM
15230 * Makerules (shlib-lds): New variable.
15231 (shlib-lds-flags): New variable.
15232 (build-shlib, build-moduile, build-module-asneeded): Use it.
15233 ($(common-objpfx)libc.so): Use $(shlib-lds).
15234 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15235 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15236
31fffa6b
RM
15237 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15238 DT_FLAGS/DT_FLAGS_1 with zero flags.
15239
4e34ac6a
RM
15240 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15241 linker script munging.
15242
fcfc776b
UD
152432011-07-02 Ulrich Drepper <drepper@gmail.com>
15244
15245 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15246 as 128-bit value.
15247 * crypt/sha512.c (sha512_process_block): Perform total addition using
15248 128-bit if possible.
15249 (__sha512_finish_ctx): Likewise.
15250 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15251 as 64-bit value.
15252 * crypt/sha256.c (SWAP64): Define.
15253 (sha256_process_block): Perform total addition using 64-bit if
15254 possible.
15255 (__sha256_finish_ctx): Likewise.
15256
99231d9a
UD
152572011-07-01 Ulrich Drepper <drepper@gmail.com>
15258
15259 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
15260 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15261 * nscd/hstcache.c (cache_addhst): Likewise.
15262 * nscd/grpcache.c (cache_addgr): Likewise.
15263 * nscd/aicache.c (addhstaiX): Likewise
15264 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15265
445b4a53
TK
152662011-07-01 Thorsten Kukuk <kukuk@suse.de>
15267
15268 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15269 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15270 * nscd/hstcache.c (cache_addhst): Likewise.
15271 * nscd/grpcache.c (cache_addgr): Likewise.
15272 * nscd/aicache.c (addhstaiX): Likewise
15273
6d4d8e8e
AS
152742011-07-01 Andreas Schwab <schwab@redhat.com>
15275
15276 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15277 domain only when needed.
15278
89f654c5
AS
152792011-06-30 Andreas Schwab <schwab@redhat.com>
15280
15281 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15282 is always restored.
15283
cf3b23ff
UD
152842011-06-29 Ulrich Drepper <drepper@gmail.com>
15285
15286 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15287 are re-adding the entry.
15288 * nscd/servicescache.c (cache_addserv): Likewise.
15289
751626f9
AJ
152902011-06-30 Aurelien Jarno <aurelien@aurel32.net>
15291
15292 * sysdeps/generic/dl-irel.h: fix protection against multiple
15293 inclusions.
15294 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15295
9113ea1f
UD
152962011-06-28 Ulrich Drepper <drepper@gmail.com>
15297
5c0b8d90
UD
15298 [BZ #12935]
15299 * malloc/memusage.sh: Fix quoting in message.
15300 * debug/xtrace.sh: Likewise.
15301
9113ea1f
UD
15302 * configure.in: Remove support for --experimental-malloc option, make
15303 it the default.
15304 * config.make.in: Likewise.
15305 * malloc/Makefile: Likewise.
15306
a4172181
AS
153072011-06-27 Andreas Schwab <schwab@redhat.com>
15308
15309 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15310 two-byte characters.
15311
78a7eee7
RM
153122011-06-27 Roland McGrath <roland@hack.frob.com>
15313
62bede13
RM
15314 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15315 AC_CACHE_CHECK invocation.
15316 * configure: Regenerated.
15317
78a7eee7
RM
15318 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15319
5ce33a62
UD
153202011-06-27 Ulrich Drepper <drepper@gmail.com>
15321
034807a9
UD
15322 [BZ #12350]
15323 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
15324 bit from old_res_options.
15325
4902da17
UD
15326 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
15327
5ce33a62
UD
15328 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
15329 value type for setfct.
15330
c2344f56
L
153312011-06-23 H.J. Lu <hongjiu.lu@intel.com>
15332
15333 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15334 __gettimeofday instead of gettimeofday.
15335
68468076
UD
153362011-06-26 Ulrich Drepper <drepper@gmail.com>
15337
15338 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
15339
acb0d739
L
153402011-06-24 H.J. Lu <hongjiu.lu@intel.com>
15341
15342 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
15343
15344 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
15345 info.
15346
8912479f
L
153472011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15348
15349 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15350 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15351 strcpy-sse2-unaligned strncpy-sse2-unaligned
15352 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
15353 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
15354 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
15355 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
15356 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
15357 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
15358 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
15359 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
15360 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
15361 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
15362 (STRCPY): Support SSE2 and SSSE3 versions.
15363
d5495a11
UD
153642011-06-24 Ulrich Drepper <drepper@gmail.com>
15365
15366 [BZ #12874]
15367 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
15368 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
15369 kernels which artificially limit size of requests.
15370
0b1cbaae
L
153712011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15372
15373 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15374 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15375 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
15376 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
15377 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
15378 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
15379 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
15380 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
15381 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
15382 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
15383 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
15384 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
15385 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
15386 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
15387 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
15388 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15389 Enable unaligned load optimization for Intel Core i3, i5 and i7
15390 processors.
15391 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
15392 Define.
15393 (index_Fast_Unaligned_Load): Define.
15394 (HAS_FAST_UNALIGNED_LOAD): Define.
15395
07f494a0
MP
153962011-06-23 Marek Polacek <mpolacek@redhat.com>
15397
15398 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
15399
fa3fc0fe
UD
154002011-06-22 Ulrich Drepper <drepper@gmail.com>
15401
15402 [BZ #12907]
15403 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
15404 until it is clear that the information is realy needed.
15405 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
15406
e12df166
AS
154072011-06-22 Andreas Schwab <schwab@redhat.com>
15408
15409 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
15410
852eb34d
UD
154112011-06-22 Ulrich Drepper <drepper@gmail.com>
15412
84e2a551
UD
15413 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15414 /sys/devices/system/cpu/online if it is usable.
15415
852eb34d
UD
15416 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
15417 reading the information from the /proc filesystem to once a second.
15418
6e502e19
UD
154192011-06-21 Andreas Jaeger <aj@suse.de>
15420
15421 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
15422 NULL after inclusion of kernel headers.
15423
75d39ff2
UD
154242011-06-21 Ulrich Drepper <drepper@gmail.com>
15425
51f9aa6a
UD
15426 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
15427 calls to internal_setent.
15428
c0244a9d
UD
15429 [BZ #12885]
15430 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
15431 addresses using gethostbyname4_r ignore IPv4 addresses.
15432
c5e3c2ae
UD
15433 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
15434 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
15435
75d39ff2
UD
15436 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
15437
42675c6f
DM
154382011-06-20 David S. Miller <davem@davemloft.net>
15439
15440 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
15441 inclusions.
15442 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
15443
15444 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
15445 (elf_irel): Use it.
15446 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
15447 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
15448 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
15449 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
15450 * sysdeps/x86_64/dl-irel.h: Likewise.
15451
15452 * elf/dl-runtime.c: Use elf_ifunc_invoke.
15453 * elf/dl-sym.c: Likewise.
15454
57912a71
UD
154552011-06-15 Ulrich Drepper <drepper@gmail.com>
15456
15457 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
15458 need to dereference resplen2.
15459
ee22793d
AS
154602011-06-14 Andreas Schwab <schwab@redhat.com>
15461
15462 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
15463
a9e836b0
UD
154642011-06-15 Ulrich Drepper <drepper@gmail.com>
15465
77fb9117
UD
15466 * Makeconfig: Define vardbdir and inst_vardbdir.
15467 * nss/Makefile: Add rules to install db-Makefile.
15468
40c1b22c
UD
15469 * nss/nss_db/db-XXX.c: Cleanup.
15470
9f2da732
UD
15471 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
15472 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
15473 GLIBC_PRIVATE.
15474 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
15475 * nss/makedb.c: Implement -g option to specify that value strings
15476 are generated and should not be added to table iterated over for
15477 get*ent calls.
15478 * nss/nss_db/db-initgroups.c: New file.
15479
82e9a1f7
UD
15480 * nss/getent.c: Add support for initgroups lookups through getgrouplist
15481 interface.
15482
c41af17e
UD
15483 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
15484 (internal_getgrouplist): Adjust to name change.
15485 Update use_initgroups_entry if this is not the first call.
15486 * nss/databases.def: Add initgroups entry.
15487
a9e836b0
UD
15488 * nss/makedb.c (compute_tables): Check result of multiple hash table
15489 sizes to minimize maximum chain length.
15490
2666d441
UD
154912011-06-14 Ulrich Drepper <drepper@gmail.com>
15492
15493 * Versions.def: Add entry for libnss_db.
15494 * shlib-versions: Likewise.
15495 * nss/Makefile: Add rules to build libnss_db.
15496 * nss/Versions: Add libnss_db information. Organize libnss_files
15497 entries better.
15498 * nss/db-Makefile: Add gshadow support. Change rules for the new
15499 makedb progra. Some minor improvements to generate smaller files.
15500 * nss/nss_db/nss_db.h: Move NSS database header data structures to
15501 here from...
15502 * nss/makedb.c: ...here.
15503 Improve database format to be smaller and require less memory at
15504 runtime.
15505 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
15506 db anymore.
15507 * nss/nss_db/db-netgrp.c: Likewise.
15508 * nss/nss_db/db-open.c: Likewise.
15509 * nss/nss_files/flies-XXX.x: Adjust comments.
15510 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
15511 * nss/nss_files/files-grp.c: Likewise.
15512 * nss/nss_files/files-hosts.c: Likewise.
15513 * nss/nss_files/files-network.c: Likewise.
15514 * nss/nss_files/files-proto.c: Likewise.
15515 * nss/nss_files/files-pwd.c: Likewise.
15516 * nss/nss_files/files-rpc.c: Likewise.
15517 * nss/nss_files/files-service.c: Likewise.
15518 * nss/nss_files/files-sgrp.c: Likewise.
15519 * nss/nss_files/files-spwd.c: Likewise.
15520 * nss/nss_db/db-alias.c: Removed.
15521 * nss/nss_db/dummy-db.h: Removed.
15522
9ee76b5a
UD
155232011-06-02 Ulrich Drepper <drepper@gmail.com>
15524
15525 * nss/makedb.c: Rewritten to not use database library.
15526 * nss/Makefile: Update to build new makedb program.
15527
c71ca1f8
AJ
155282011-06-14 Andreas Jaeger <aj@suse.de>
15529
15530 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
15531 memset declaration.
15532
3154bfb8
UD
155332011-06-10 Andreas Schwab <schwab@redhat.com>
15534
15535 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
15536 tmpbuf.
15537
b350afab
RM
155382011-06-10 Roland McGrath <roland@hack.frob.com>
15539
decd4e50
RM
15540 * Makerules (shlib.lds): Fail if the linker script comes out empty.
15541 * elf/Makefile ($(objpfx)ld.so): Likewise.
15542
5615eaf2
RM
15543 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
15544 Don't list ld.so twice in dependencies.
15545
15546 * posix/bug-regex31.c: Include <stdlib.h>.
15547
15548 * nscd/hstcache.c (cache_addhst): Remove unused variable.
15549
15550 * nis/nss_compat/compat-spwd.c
15551 (getspent_next_nss_netgr): Remove unused variable.
15552 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
15553
15554 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
15555 nonmembers" output to use the right array.
15556
15557 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
15558
15559 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
15560
15561 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
15562 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
15563 * catgets/gencat.c (read_input_file): Likewise.
15564 * locale/programs/locarchive.c (enlarge_archive): Likewise.
15565
15566 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
15567 variable definition inside #if's controlling its use.
15568
15569 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
15570
15571 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
15572
15573 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
15574
15575 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
15576 unreachable code.
15577
15578 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
15579
b68e08db
RM
15580 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
15581 * configure: Regenerated.
15582
b350afab
RM
15583 * Makerules: Revert last change.
15584 * elf/Makefile: Likewise.
15585
28368601
RM
155862011-06-09 Roland McGrath <roland@hack.frob.com>
15587
15588 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
15589 * elf/Makefile ($(objpfx)librtld.os): Likewise.
15590 (reloc-link): Likewise.
15591
11988f8f
UD
155922011-06-09 Ulrich Drepper <drepper@gmail.com>
15593
15594 * elf/Makefile: Add rules to build pldd.
15595 * elf/pldd.c: New file.
15596 * elf/pldd-xx.c: New file.
15597
e80fab37
UD
155982011-06-07 Ulrich Drepper <drepper@gmail.com>
15599
15600 * version.h: Update for 2.15 development version.
15601
9b849836
DM
156022011-06-07 David S. Miller <davem@davemloft.net>
15603
15604 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
15605 ifuncs.
15606 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
15607 elf_machine_lazy_rel): Likewise.
15608 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15609 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
15610 elf_machine_lazy_rel): Likewise.
15611 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
15612 dl_hwcap via passed in argument.
15613 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
15614 Likewise.
15615
5a31b283
AK
156162011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15617
15618 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
15619
069e52f8
RM
156202011-06-06 Roland McGrath <roland@hack.frob.com>
15621
15622 [BZ #12849]
15623 * manual/fdl-1.1.texi: New file, verbatim from:
15624 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
15625 * manual/lgpl-2.1.texi: New file, verbatim from:
15626 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
15627 * manual/Makefile (licenses): New variable, list those new file names.
15628 (texis): Use it.
15629 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
15630
15631 * manual/fdl.texi: File removed.
15632 * manual/lesser.texi: File removed.
15633 * manual/libc.texinfo (Copying, Documentation License):
15634 Use new @include file names, put @appendix directive before @include.
15635
f16846a5
JJ
156362011-06-04 Jakub Jelinek <jakub@redhat.com>
15637
15638 [BZ #12841]
15639 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
15640 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
15641 (mq_open): Add __NTH.
15642
3d29045b
L
156432011-06-02 H.J. Lu <hongjiu.lu@intel.com>
15644
15645 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15646 Assume Intel Core i3/i5/i7 processor if AVX is available.
15647
8c297311
UD
156482011-05-31 Ulrich Drepper <drepper@gmail.com>
15649
15650 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15651 typo.
15652
c8fc0c91
UD
156532011-05-31 Andreas Schwab <schwab@redhat.com>
15654
15655 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
15656 memory. Use alloca_account. Fix memory leak when retrying.
15657
5b27a807
UD
156582011-05-31 Ulrich Drepper <drepper@gmail.com>
15659
356f8bc6
UD
15660 * version.h (RELEASE): Bump for 2.14 release.
15661 * include/features.h (__GLIBC_MINOR__): Bump to 14.
15662
5b27a807
UD
15663 * config.make.in (RANLIB): Remove entry.
15664
01f16ab0
UD
156652011-05-30 Ulrich Drepper <drepper@gmail.com>
15666
41fce8bd
UD
15667 * po/Makefile (po-sed-cmd): Add ksh to extensions.
15668 (libc.pot): Work around missing support for .ksh extension in xgettext.
15669
4769ae77
UD
15670 [BZ #12684]
15671 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
15672 if both request failed.
15673 (send_dg): In case of server errors clear resplen or *resplen2.
15674
6b1e7d19
UD
15675 [BZ #12454]
15676 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
15677 when there are multiple maps.
15678 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
15679 (_dl_fini): Remove test here.
15680
01f16ab0
UD
15681 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
15682
b1ebd700
UD
156832011-05-29 Ulrich Drepper <drepper@gmail.com>
15684
7ae22829
UD
15685 [BZ #12350]
15686 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
15687 bit from old_res_options.
15688 (gaih_inet): Likewise.
15689
553149f6 15690 [BZ #11099]
18a84741 15691 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
15692 as signed.
15693
652ffab1
UD
15694 * resolv/res_init.c (res_setoptions): Make the code more compact.
15695
16985fd0
UD
15696 [BZ #11558]
15697 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
15698 set RES_USEVC.
15699
0464f746
UD
15700 [BZ #11634]
15701 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
15702
7d17596c
UD
15703 * malloc/malloc.h: Mark malloc hook variables as deprecated.
15704
cf6bbbd7
UD
15705 [BZ #11781]
15706 * malloc/malloc.h: Declare malloc hook variables as volatile.
15707
13f1ab36
UD
15708 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
15709 in last patch.
15710
b1ebd700
UD
15711 [BZ #11799]
15712 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 15713 raise in the comment.
80e2212d
UD
15714 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15715 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15716 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 15717
ce67228d
UD
157182011-05-28 Ulrich Drepper <drepper@gmail.com>
15719
8887a920
UD
15720 [BZ #12811]
15721 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
15722 grow the buffers more if it already has to be sufficient.
15723 (build_wcs_upper_buffer): Likewise.
15724 * posix/regexec.c (check_matching): Likewise.
15725 (clean_state_log_if_needed): Likewise.
15726 (extend_buffers): Don't enlarge buffers beyond size of the input
15727 buffer.
15728 Patches mostly by Emil Wojak <emil@wojak.eu>.
15729 * posix/bug-regex32.c: New file.
15730 * posix/Makefile (tests): Add bug-regex32.
15731
4f031072
UD
15732 * locale/findlocale.c (_nl_find_locale): Return right away if
15733 _nl_explode_name failed.
15734 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
15735
d0478f0c
UD
15736 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
15737
de81b246
UD
15738 * debug/xtrace.sh: Unify messages.
15739 * malloc/memusage.sh: Likewise.
15740
c738465a
UD
15741 [BZ #12813]
15742 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
15743 time symbol from vDSO. Substitute with vsyscall if not available.
15744 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
15745 __vdso_time.
15746
f1f929d7
UD
15747 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
15748 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
15749 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
15750 Add sendmmsg and internal_sendmmsg.
15751 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
15752 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
15753 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
15754
ce67228d
UD
15755 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
15756 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
15757 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
15758
e57420c6
UD
157592011-05-27 Ulrich Drepper <drepper@gmail.com>
15760
a8509ca5
UD
15761 [BZ #12813]
15762 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
15763 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
15764 available.
15765 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
15766 __vdso_getcpu.
15767
e57420c6
UD
15768 [BZ #12814]
15769 * iconvdata/Makefile (tests): Add bug-iconv9.
15770 * iconvdata/bug-iconv9.c: New file.
15771
4d07db15
AS
157722011-05-27 Andreas Schwab <schwab@redhat.com>
15773
15774 [BZ #12814]
15775 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
15776
ea486f69
JJ
157772011-05-25 Jakub Jelinek <jakub@redhat.com>
15778
15779 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15780 (struct user_regs_struct): Change intcs field back to cs.
15781
6f038433
UD
157822011-05-25 Ulrich Drepper <drepper@gmail.com>
15783
15784 * po/ja.po: Update from translation team.
15785
67f86a25
UD
157862011-05-23 Ulrich Drepper <drepper@gmail.com>
15787
15788 [BZ #12795]
15789 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
15790 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
15791
def7fbd6
AS
157922011-05-20 Andreas Schwab <schwab@redhat.com>
15793
15794 * stdlib/longlong.h: Update from GCC.
15795
f50ef8f1
AS
157962011-05-23 Andreas Schwab <schwab@redhat.com>
15797
15798 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
15799 parameter name.
15800 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
15801 Add parameter name.
15802 (__sysconf): Pass it down.
15803
de7ce8f1
UD
158042011-05-22 Ulrich Drepper <drepper@gmail.com>
15805
f2962a71
UD
15806 [BZ #12671]
15807 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
15808 some situations.
15809 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15810 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
15811 add in in __libc_use_alloca calls. Adjust callers.
15812 (glob): Use malloc in some situations.
15813
de7ce8f1
UD
15814 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
15815 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
15816 pltexit.
15817
aec84f53
UD
158182011-05-21 Ulrich Drepper <drepper@gmail.com>
15819
05bb4a68
UD
15820 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
15821 and CLOCK_BOOTTIME_ALARM.
15822
7ea72f99
UD
15823 [BZ #12782]
15824 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
15825 is returned.
15826
7e4afad5
UD
15827 * string/_strerror.c (__strerror_r): Print negative errors as signed
15828 numbers.
15829
8e211fec
UD
15830 [BZ #12777]
15831 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
15832 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
15833 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
15834
f7d82dc9
UD
15835 * configure.in: Fix typo in redirection and correct removal of test
15836 files in two cases.
15837
cc9e536d
UD
15838 [BZ #12788]
15839 * locale/setlocale.c (new_composite_name): Fix test to check for
15840 identical name of all categories.
15841
aec84f53
UD
15842 [BZ #12792]
15843 * libio/filedoalloc.c (local_isatty): New function.
15844 (_IO_file_doallocate): Use local_isatty.
15845 * stdio-common/perror.c (perror): In case a new stream is used
15846 forward the stream error.
15847 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
15848 error flag.
15849
78e64fdc
RT
158502011-05-20 Ulrich Drepper <drepper@gmail.com>
15851
34a9094f
UD
15852 [BZ #11869]
15853 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
15854 alloca.
15855 * include/alloca.h (extend_alloca_account): Define.
15856
78e64fdc
RT
15857 [BZ #11857]
15858 * posix/regex.h: Fix comments with documentation of user-accessible
15859 fields after compilation and describe correct free'ing of pattern
15860 after re_compile_pattern.
15861 Patch by Reuben Thomas <rrt@sc3d.org>.
15862
457bddfc
RA
158632011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
15864
15865 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
15866 and -mno-altivec to prevent the compiler from using Altivec and/or
15867 VSX instructions when the corresponding registers are not available.
15868
a4527b51
AS
158692011-05-19 Andreas Schwab <schwab@redhat.com>
15870
15871 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
15872
ed690b2f
UD
158732011-05-19 Ulrich Drepper <drepper@gmail.com>
15874
15875 * libio/freopen.c (freopen): Use __dup2, not dup2.
15876 * libio/freopen64.c (freopen64): Likewise.
15877
8db73634
L
158782011-05-17 H.J. Lu <hongjiu.lu@intel.com>
15879
15880 [BZ #12775]
15881 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
15882 * math/Makefile (tests): Add test-powl.
15883 (CFLAGS-test-powl.c): Define.
15884 * math/test-powl.c: New file.
15885
0a197a9d
L
158862011-05-16 H.J. Lu <hongjiu.lu@intel.com>
15887
15888 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
15889
ee30c380
UD
158902011-05-17 Ulrich Drepper <drepper@gmail.com>
15891
15892 [BZ #11837]
15893 * iconvdata/gb18030.c: Update to GB18020-2005.
15894
6ce75379
UD
158952011-05-16 Ulrich Drepper <drepper@gmail.com>
15896
a4b89fd8
AR
15897 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
15898 RE_SYNTAX_POSIX_AWK): Update to match recent development.
15899 Patch by Aharon Robbins <arnold@skeeve.com>.
15900
ea389b12
UD
15901 [BZ #11892]
15902 * stdlib/putenv.c (putenv): Don't always create copy of the variable
15903 on the stack.
15904
68a3f91f
UD
15905 [BZ #11895]
15906 * misc/pselect.c (__pselect): Handle timeout value errors hidden
15907 through underflows.
15908
15cc7dd1
UD
15909 [BZ #12766]
15910 * misc/error.c (error_at_line): Ensure file_name and old_file_name
15911 point to strings before performing equality test for error_one_per_line
15912 mode.
15913
f3799213
UD
15914 [BZ #11697]
15915 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
15916
d79a9c94
UD
15917 [BZ #11820]
15918 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15919 (struct user_fpregs_struct): Avoid __uint*_t types.
15920
56e5eb46
UD
15921 [BZ #6420]
15922 * malloc/mtrace.c (tr_where): Add additional parameter to point to
15923 symbol info. Use it instead of calling _dl_addr locally.
15924 (lock_and_info): New function.
15925 (tr_freehook): Call lock_and_info and pass symbol info as additional
15926 parameter to tr_where.
15927 (tr_mallochook): Likewise.
15928 (tr_reallochook): Likewise.
15929 (tr_memalignhook): Likewise.
15930
6ce75379
UD
15931 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
15932 used and couldn't be at all thread-safe.
15933
f8a3b5bf
UD
159342011-05-15 Ulrich Drepper <drepper@gmail.com>
15935
94b7cc37
UD
15936 * libio/freopen.c (freopen): Don't close old file descriptor
15937 before the new one is opened. Instead dup the new file descriptor
15938 to the old one after the new stream is created.
15939 * libio/freopen64.c (freopen64): Likewise.
15940 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
15941 * libio/fileops.c (_IO_new_file_close_it): Handle new
15942 _IO_FLAGS2_NOCLOSE flag.
15943 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
15944 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
15945 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
15946 _IO_FLAGS2_NOCLOSE flag.
15947 * include/unistd.h: Add hidden_proto for dup3.
15948 Define __have_dup3.
15949 * io/dup3.c: Define hidden symbol.
15950 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
15951
bd25564e
UD
15952 [BZ #7101]
15953 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
15954 when an incomplete long option is used.
15955 * posix/tst-getopt_long1.c: New file.
15956 * posix/Makefile (tests): Add tst-getopt_long1.
15957
c84cfef4
UD
15958 [BZ #10138]
15959 * scripts/config.guess: Update from autoconf-2.68.
15960 * scripts/config.sub: Likewise.
15961
3b85df27
UD
15962 [BZ #10157]
15963 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
15964 tests into ...
15965 (has_cpuclock): ...this. New function.
15966 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
15967 macro here based on has_cpuclock code.
15968
15a856b1
UD
15969 [BZ #10149]
15970 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15971 First byte (not low byte) is now always NUL.
15972 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
15973
05f399e6
UD
15974 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15975 Use non-cancelable interfaces.
15976
10a52685 15977 [BZ #9809]
94ecc67d
UD
15978 * locale/iso-639.def: Add entry for Sorani.
15979
f8a3b5bf
UD
15980 [BZ #11901]
15981 * include/stdlib.h: Move include protection to the right place.
15982 Define abort_msg_s. Declare __abort_msg with it.
15983 * stdlib/abort.c (__abort_msg): Adjust type.
15984 * assert/assert.c (__assert_fail_base): New function. Majority
15985 of code from __assert_fail. Allocate memory for __abort_msg with
15986 mmap.
15987 (__assert_fail): Now call __assert_fail_base.
15988 * assert/assert-perr.c: Remove bulk of implementation. Use
15989 __assert_fail_base.
15990 * include/assert.hL Declare __assert_fail_base.
15991 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
15992 mmap.
15993 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
15994
1af4e298
UD
159952011-05-14 Ulrich Drepper <drepper@gmail.com>
15996
f8a3b5bf 15997 [BZ #11952]
d26dfc60
MG
15998 [BZ #12453]
15999 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
16000 until all modules are registered in the DTV.
16001 * elf/Makefile: Add rules to build and run tst-tls19.
16002 * elf/tst-tls19.c: New file.
16003 * elf/tst-tls19mod1.c: New file.
16004 * elf/tst-tls19mod2.c: New file.
16005 * elf/tst-tls19mod3.c: New file.
16006 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
16007
2fc54d6f
UD
16008 [BZ #12083]
16009 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
16010 correctly.
16011
98d76b46
UD
16012 [BZ #12601]
16013 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
16014 two-byte sequence errors.
16015 * iconvdata/Makefile (tests): Add bug-iconv8.
16016 * iconvdata/bug-iconv8.c: New file.
16017
da3c19ef
UD
16018 [BZ #12626]
16019 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
16020 buf2 definition.
16021
ca408c15
UD
16022 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
16023
d6f67f7d
UD
16024 [BZ #12432]
16025 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
16026 (dummy_getcfa): New function.
16027 (init): Get _Unwind_GetCFA address, use dummy if not found.
16028 (backtrace_helper): In recursion check, also check whether CFA changes.
16029 (__backtrace): Completely initialize arg.
16030
1af4e298 16031 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
16032 storing incomplete byte sequence in state object. Avoid testing for
16033 guaranteed too small input if we know there is enough data available.
1af4e298 16034
da62f81b
AS
160352011-05-11 Andreas Schwab <schwab@redhat.com>
16036
16037 * Makeconfig (+link-pie): Indent.
16038 * Rules (binaries-pie): Define if $(have-fpie) and
16039 $(build-shared).
16040 (binaries-shared): Also filter out $(binaries-pie).
16041 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
16042 * nscd/Makefile (others-pie): Add nscd.
16043 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
16044 ($(objpfx)nscd): Remove command override.
16045 * login/Makefile (others-pie): Add pt_chown.
16046 ($(objpfx)pt_chown): Remove command override.
16047 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
16048 remove command overrides.
16049
fcabc0f8
UD
160502011-05-13 Ulrich Drepper <drepper@gmail.com>
16051
20030ae6
UD
16052 * libio/tst_putwc.c: Fix error messages.
16053
fcabc0f8
UD
16054 [BZ #12724]
16055 * libio/fileops.c (_IO_new_file_close_it): Always flush when
16056 currently writing and seek to current position when not.
16057 * libio/Makefile (tests): Add bug-fclose1.
16058 * libio/bug-fclose1.c: New file.
16059
320a5dc0
PB
160602011-05-12 Ulrich Drepper <drepper@gmail.com>
16061
16062 [BZ #12511]
16063 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
16064 don't set DF_1_NODELETE here.
16065 (do_lookup_x): When entering new entry test for copy relocation
16066 and if necessary set DF_1_NODELETE flag.
16067 * elf/tst-unique4.cc: New file.
16068 * elf/tst-unique4.h: New file.
16069 * elf/tst-unique4lib.cc: New file.
16070 * elf/Makefile: Add rules to build and run tst-unique4.
16071 Patch by Piotr Bury <pbury@goahead.com>.
16072
22836f52
UD
160732011-05-11 Ulrich Drepper <drepper@gmail.com>
16074
f574184a
UD
16075 [BZ #12052]
16076 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
16077
e1fb097f
UD
16078 [BZ #12625]
16079 * misc/mntent_r.c (addmntent): Flush the stream after the output
16080
22836f52
UD
16081 [BZ #12393]
16082 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
16083 (is_trusted_path_normalize): Skip initial colon. Append slash
16084 to empty buffer. Duplicate is_trusted_path code but allow
16085 constructed patch to be prefix.
16086 (is_dst): Allow $ORIGIN followed by /.
16087 (_dl_dst_substitute): Correct clearing of check_for_trusted.
16088 Correct testing of result of is_trusted_path_normalize
16089 (decompose_rpath): Fix warning.
16090
7b3b0b2a
UD
160912011-05-10 Ulrich Drepper <drepper@gmail.com>
16092
16093 [BZ #11257]
16094 * grp/initgroups.c (internal_getgrouplist): When we found the service
16095 list through the initgroups entry in nsswitch.conf do not always
16096 continue on a successful lookup. Don't always use the
eac80ce2 16097 __nss_group_database value if it is set.
7b3b0b2a
UD
16098 * nss/nsswitch.conf (initgroups): Change action for successful db
16099 lookup to continue for compatibility.
16100
2a81eaa5
UD
161012011-05-09 Ulrich Drepper <drepper@gmail.com>
16102
be97a69e
UD
16103 [BZ #11532]
16104 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
16105 and CP774 modules.
16106 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
16107 and CP774 modules.
16108 * iconvdata/tst-tables.sh: Likewise.
16109 * iconvdata/cp770.c: New file.
16110 * iconvdata/cp771.c: New file.
16111 * iconvdata/cp772.c: New file.
16112 * iconvdata/cp773.c: New file.
16113 * iconvdata/cp774.c: New file.
16114 * iconvdata/testdata/CP770: New file.
16115 * iconvdata/testdata/CP770..UTF8: New file.
16116 * iconvdata/testdata/CP771: New file.
16117 * iconvdata/testdata/CP771..UTF8: New file.
16118 * iconvdata/testdata/CP772: New file.
16119 * iconvdata/testdata/CP772..UTF8: New file.
16120 * iconvdata/testdata/CP773: New file.
16121 * iconvdata/testdata/CP773..UTF8: New file.
16122 * iconvdata/testdata/CP774: New file.
16123 * iconvdata/testdata/CP774..UTF8: New file.
16124
16125 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
16126 END CHARMAP line.
16127 * iconvdata/gen-8bit-gap.sh: Likewise.
16128 * iconvdata/gen-8bit.sh: Likewise.
16129
c1e9e399
UD
16130 * locale/iso-639.def: Add ary entry.
16131
24c55fb3 16132 [BZ #11258]
96b4b1b0
UD
16133 * locale/C-translit.h.in: Add U20A1 transliteration.
16134
bdc2f971
KB
16135 [BZ #12178]
16136 * locale/iso-639.def: Add wae entry.
16137 Patch by Kevin Bortis <bortis@translate-wae.ch>.
16138
2952b117
UD
16139 [BZ #12545]
16140 * locale/programs/localedef.c (construct_output_path): Use ssize_t
16141 for n.
16142
2a81eaa5
UD
16143 [BZ #12711]
16144 * locale/C-translit.h.in: Add entry for U20B9.
16145 Patch by pravin.d.s@gmail.com.
16146
28377d1b
UD
161472011-05-08 Ulrich Drepper <drepper@gmail.com>
16148
7fb90fb8
UD
16149 [BZ #12713]
16150 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
16151 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
16152 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
16153 in rtld. Use *stat64.
7fb90fb8 16154 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 16155 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 16156 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
16157 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
16158 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
16159 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
16160 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
16161 __fstatat64 macros.
7fb90fb8
UD
16162 * include/dirent.h: Add libc_hidden_proto for rewinddir.
16163 * dirent/rewinddir.c: Add libc_hidden_def.
16164 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 16165 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 16166
28377d1b
UD
16167 * include/dirent.h (__alloc_dir): Add flags parameter.
16168 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
16169 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
16170 __alloc_dir.
16171 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
16172 from fdopendir if O_CLOEXEC is already set.
16173
66bdbaa4
AM
161742011-03-15 Alan Modra <amodra@gmail.com>
16175
16176 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
16177 l_tls_firstbyte_offset non-zero. Save padding offset in
16178 l_tls_firstbyte_offset for later use.
16179 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
16180 freeing static tls block.
16181
95721191
JN
161822011-03-05 Jonathan Nieder <jrnieder@gmail.com>
16183
16184 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
16185 where #ifdef was intended. The intent is to prevent ARG_MAX from
16186 being defined by the kernel headers.
16187
f87dfb1f
UD
161882011-05-07 Ulrich Drepper <drepper@gmail.com>
16189
16190 [BZ #12734]
16191 * resolv/resolv.h: Define RES_NOTLDQUERY.
16192 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
16193 no-tld-query and set RES_NOTLDQUERY.
16194 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
16195 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
16196 modern BIND to search name as TLD unless forbidden.
16197
47c3cd7a
UD
161982011-05-07 Petr Baudis <pasky@suse.cz>
16199 Ulrich Drepper <drepper@gmail.com>
16200
16201 [BZ #12393]
16202 * elf/dl-load.c (fillin_rpath): Move trusted path check...
16203 (is_trusted_path): ...to here.
c1e9ea35 16204 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 16205 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 16206 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 16207
8a35c912
PP
162082011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16209
16210 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
16211 __BEGIN/__END_DECLS.
16212
acd41f47
UD
162132011-05-06 Ulrich Drepper <drepper@gmail.com>
16214
16215 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
16216 NSS_STATUS_NOTFOUND if no record was found.
16217
597df647
AS
162182011-05-05 Andreas Schwab <schwab@redhat.com>
16219
16220 * sunrpc/Makefile (headers): Add rpc/netdb.h.
16221 (headers-not-in-tirpc): Remove rpc/netdb.h
16222 * resolv/netdb.h: Revert last change.
16223
b9af1301
PP
162242011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16225
16226 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
16227 circular dependency between libgcc.a and libc.a.
16228
4e34d5f5
AS
162292011-05-05 Andreas Schwab <schwab@redhat.com>
16230
16231 * resolv/netdb.h: Don't include <rpc/netdb.h>.
16232 * nis/Makefile: Don't install rpcsvc/*.
16233 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16234 instead of <rpc/types.h>.
16235 (MAXHOSTNAMELEN): Define.
16236
00ee369c
AS
162372011-05-03 Andreas Schwab <schwab@redhat.com>
16238
16239 * elf/ldconfig.c (add_dir): Don't crash on empty path.
16240
0b592a30
MB
162412011-04-28 Maciej Babinski <mbabinski@google.com>
16242
16243 [BZ #12714]
16244 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16245 gethostbyname4_r when IPv6 results are possible.
16246
6e04cbbe
UD
162472011-05-02 Ulrich Drepper <drepper@gmail.com>
16248
16249 [BZ #12723]
16250 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16251 _PC_PIPE_BUF handling.
16252
e4ecafe0
BH
162532011-04-30 Bruno Haible <bruno@clisp.org>
16254
16255 [BZ #12717]
16256 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16257 * resolv/netdb.h (getnameinfo): Change type of flags parameter
16258 to 'int'.
16259 * inet/getnameinfo.c (getnameinfo): Likewise.
16260
125ee683
UD
162612011-04-29 Ulrich Drepper <drepper@gmail.com>
16262
16263 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16264 to groups setting in database lookup.
16265 * nss/nsswitch.conf: Add initgroups entry.
16266
b722481a
EB
162672011-04-22 Ulrich Drepper <drepper@gmail.com>
16268
16269 [BZ #12685]
16270 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16271 mode string.
16272 Patch by Eric Blake <eblake@redhat.com>.
16273
4df46dbd
L
162742011-04-20 H.J. Lu <hongjiu.lu@intel.com>
16275
16276 * sunrpc/Makefile (need-export-routines): Add svc_run.
16277 (routines): Remove svc_run.
16278 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16279 * sunrpc/clnt_perr.c (clnt_perrno): Export.
16280 * sunrpc/svc_run.c (svc_run): Likewise.
16281 * sunrpc/svc_udp.c (svcudp_create): Likewise.
16282
e84142d2
UD
162832011-04-21 Ulrich Drepper <drepper@gmail.com>
16284
16285 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16286 problem in reallocation in last patch.
16287
877175d8
UD
162882011-04-20 Ulrich Drepper <drepper@gmail.com>
16289
16290 * sunrpc/Makefile: Move inclusion of Rules.
16291
ab8eed78
UD
162922011-04-19 Ulrich Drepper <drepper@gmail.com>
16293
16294 * nss/nss_files/files-initgroups.c: New file.
16295 * nss/Makefile (libnss_files-routines): Add files-initgroups.
16296 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16297 _nss_files_initgroups_dyn.
16298
e3d8f584
RS
162992011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
16300
16301 * elf/elf.h (R_ARM_IRELATIVE): Define.
16302
af190f45
UD
163032011-04-19 Ulrich Drepper <drepper@gmail.com>
16304
16305 * po/ru.po: Update from translation team.
16306
53cf59ef
UD
163072011-04-17 Ulrich Drepper <drepper@gmail.com>
16308
16309 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16310 dependencies.
16311
4c559bcd
MF
163122011-02-06 Mike Frysinger <vapier@gentoo.org>
16313
16314 [BZ #12653]
16315 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16316 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16317 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16318 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16319 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16320
4420675c
AS
163212011-03-28 Andreas Schwab <schwab@linux-m68k.org>
16322
16323 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16324 differing bytes.
16325 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16326 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16327 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16328
75ea32ab
UD
163292011-04-17 Ulrich Drepper <drepper@gmail.com>
16330
16331 [BZ #12420]
16332 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
16333 storing it.
16334 * stdlib/bug-getcontext.c: New file.
16335 * stdlib/Makefile: Add rules to build and run bug-getcontext.
16336
27390476
AK
163372011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16338
16339 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
16340 instructions into .machine "z9-109".
16341 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16342 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16343
10442705
AK
163442011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16345
16346 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
16347 between environment variables and auxiliary vector.
16348
7b57bfe5
UD
163492011-04-16 Ulrich Drepper <drepper@gmail.com>
16350
16351 * Makefile: Add rules to build linkobj/libc.so.
16352 * include/libc-symbols.h: Define libc_hidden_nolink.
16353 * include/rpc/auth.h: Mark functions which are to be hidden.
16354 * include/rpc/auth_des.h: Likewise.
16355 * include/rpc/auth_unix.h: Likewise.
16356 * include/rpc/clnt.h: Likewise.
16357 * include/rpc/des_crypt.h: Likewise.
16358 * include/rpc/key_prot.h: Likewise.
16359 * include/rpc/pmap_clnt.h: Likewise.
16360 * include/rpc/pmap_prot.h: Likewise.
16361 * include/rpc/pmap_rmt.h: Likewise.
16362 * include/rpc/rpc_msg.h: Likewise.
16363 * include/rpc/svc.h: Likewise.
16364 * include/rpc/svc_auth.h: Likewise.
16365 * include/rpc/xdr.h: Likewise.
16366 * nis/Makefile: Link all DSOs against linkobj/libc.so.
16367 * nss/Makefile: Likewise.
16368 * sunrpc/Makefile: Don't install headers. Build library with normal
16369 entry points. Don't build rpcinfo. Link RPC tests appropriately.
16370 * sunrpc/auth_des.c: Hide exported symbols by default, export some
16371 for the compat linking library. Remove use of INTDEF/INTUSE.
16372 * sunrpc/auth_none.c: Likewise.
16373 * sunrpc/auth_unix.c: Likewise.
16374 * sunrpc/authdes_prot.c: Likewise.
16375 * sunrpc/authuxprot.c: Likewise.
16376 * sunrpc/clnt_gen.c: Likewise.
16377 * sunrpc/clnt_perr.c: Likewise.
16378 * sunrpc/clnt_raw.c: Likewise.
16379 * sunrpc/clnt_simp.c: Likewise.
16380 * sunrpc/clnt_tcp.c: Likewise.
16381 * sunrpc/clnt_udp.c: Likewise.
16382 * sunrpc/clnt_unix.c: Likewise.
16383 * sunrpc/des_crypt.c: Likewise.
16384 * sunrpc/des_soft.c: Likewise.
16385 * sunrpc/get_myaddr.c: Likewise.
16386 * sunrpc/key_call.c: Likewise.
16387 * sunrpc/key_prot.c: Likewise.
16388 * sunrpc/netname.c: Likewise.
16389 * sunrpc/pm_getmaps.c: Likewise.
16390 * sunrpc/pm_getport.c: Likewise.
16391 * sunrpc/pmap_clnt.c: Likewise.
16392 * sunrpc/pmap_prot.c: Likewise.
16393 * sunrpc/pmap_prot2.c: Likewise.
16394 * sunrpc/pmap_rmt.c: Likewise.
16395 * sunrpc/publickey.c: Likewise.
16396 * sunrpc/rpc_cmsg.c: Likewise.
16397 * sunrpc/rpc_common.c: Likewise.
16398 * sunrpc/rpc_dtable.c: Likewise.
16399 * sunrpc/rpc_prot.c: Likewise.
16400 * sunrpc/rpc_thread.c: Likewise.
16401 * sunrpc/rtime.c: Likewise.
16402 * sunrpc/svc.c: Likewise.
16403 * sunrpc/svc_auth.c: Likewise.
16404 * sunrpc/svc_authux.c: Likewise.
16405 * sunrpc/svc_raw.c: Likewise.
16406 * sunrpc/svc_run.c: Likewise.
16407 * sunrpc/svc_simple.c: Likewise.
16408 * sunrpc/svc_tcp.c: Likewise.
16409 * sunrpc/svc_udp.c: Likewise.
16410 * sunrpc/svc_unix.c: Likewise.
16411 * sunrpc/svcauth_des.c: Likewise.
16412 * sunrpc/xcrypt.c: Likewise.
16413 * sunrpc/xdr.c: Likewise.
16414 * sunrpc/xdr_array.c: Likewise.
16415 * sunrpc/xdr_float.c: Likewise.
16416 * sunrpc/xdr_intXX_t.c: Likewise.
16417 * sunrpc/xdr_mem.c: Likewise.
16418 * sunrpc/xdr_rec.c: Likewise.
16419 * sunrpc/xdr_ref.c: Likewise.
16420 * sunrpc/xdr_sizeof.c: Likewise.
16421 * sunrpc/xdr_stdio.c: Likewise.
16422
e6c61494
UD
164232011-04-10 Ulrich Drepper <drepper@gmail.com>
16424
16425 [BZ #12650]
16426 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
16427 * sysdeps/ia64/dl-tls.h: Likewise.
16428 * sysdeps/powerpc/dl-tls.h: Likewise.
16429 * sysdeps/s390/dl-tls.h: Likewise.
16430 * sysdeps/sh/dl-tls.h: Likewise.
16431 * sysdeps/sparc/dl-tls.h: Likewise.
16432 * sysdeps/x86_64/dl-tls.h: Likewise.
16433 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
16434
34fe483e
AS
164352011-03-14 Andreas Schwab <schwab@redhat.com>
16436
16437 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
16438 rpath element also skip the following colon.
16439 (expand_dynamic_string_token): Add is_path parameter and pass
16440 down to DL_DST_REQUIRED and _dl_dst_substitute.
16441 (decompose_rpath): Call expand_dynamic_string_token with
16442 non-zero is_path. Ignore empty rpaths.
16443 (_dl_map_object_from_fd): Call expand_dynamic_string_token
16444 with zero is_path.
16445
f12a32e6
AS
164462011-04-08 Andreas Schwab <schwab@linux-m68k.org>
16447
16448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16449 Make cancelable.
16450
38a7d692
UD
164512011-04-09 Ulrich Drepper <drepper@gmail.com>
16452
16453 [BZ #12655]
16454 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
16455 Patch by Filipe David Manana <fdmanana@apache.org>.
16456
e451d22b
AS
164572011-04-07 Andreas Schwab <schwab@redhat.com>
16458
16459 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
16460 Maintain aligned stack.
16461 (CHECK_RSP): Remove unused macro.
16462
dedc7c7b
UD
164632011-04-03 Ulrich Drepper <drepper@gmail.com>
16464
16465 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
16466 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
16467
94521213
UD
164682011-04-02 Ulrich Drepper <drepper@gmail.com>
16469
16470 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
16471
8cb700c0 16472 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 16473
0354e355
L
164742011-03-26 H.J. Lu <hongjiu.lu@intel.com>
16475
16476 [BZ #12518]
16477 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
16478 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
16479 * sysdeps/x86_64/memmove.c: New file.
16480 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
16481 (memcpy): Renamed to ...
16482 (__new_memcpy): This.
16483 (memcpy): Provide GLIBC_2_14 memcpy.
16484 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
16485 (memcpy): Provide GLIBC_2_2_5 memcpy.
16486
8593482f
UD
164872011-04-01 Ulrich Drepper <drepper@gmail.com>
16488
16489 [BZ #12631]
16490 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
16491
81a5726b
AS
164922011-03-30 Andreas Schwab <schwab@redhat.com>
16493
16494 * misc/syncfs.c: New file.
16495 * misc/Makefile (routines): Add syncfs.
16496 * posix/unistd.h: Declare syncfs.
16497 * sysdeps/unix/syscalls.list: Add syncfs.
16498
00e5419f
AS
164992011-04-01 Andreas Schwab <schwab@redhat.com>
16500
16501 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
16502 open_by_handle_at.
16503 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16504 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16505 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16506 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16507 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16508 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
16509 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16510
748876bf
UD
165112011-04-01 Ulrich Drepper <drepper@gmail.com>
16512
658e451d
UD
16513 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
16514 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16515 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
16516 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16517 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16518 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16519 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16520
748876bf
UD
16521 * io/Makefile: Compile fallocate.c, fallocate64.c, and
16522 sync_file_range.c with -fexceptions.
16523 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
16524 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
16525 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16526 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16527 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16528 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16529 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
16530 sync_file_range as cancellation point
16531 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
16532 now a wrapper around __call_sync_file_range with cancellation handling.
16533 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
16534 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
16535 function name to __call_sync_file_range.
16536 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
16537 Add call_sync_file_range.
748876bf 16538
6e63d5e1
AS
165392011-04-01 Andreas Schwab <schwab@redhat.com>
16540
16541 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 16542 bits/timex.h.
6e63d5e1 16543
46998f74
UD
165442011-04-01 Ulrich Drepper <drepper@gmail.com>
16545
4c1423ed
UD
16546 * iconv/iconv.h: Fix typo in comment.
16547 * io/fcntl.h: Likewise.
16548 * libio/stdio.h: Likewise.
16549 * posix/spawn.h: Likewise.
16550 * posix/unistd.h: Likewise.
16551 * stdlib/stdlib.h: Likewise.
16552 * time/time.h: Likewise.
16553 * wcsmbs/wchar.h: Likewise.
16554
158648c0
UD
16555 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
16556 open_by_handle): Add.
16557 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
16558 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
16559 Augment a few comments.
16560 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16561 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16562 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16563 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16564 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16565 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
16566 open_by_handle.
16567
46998f74
UD
16568 * io/fcntl.h (AT_EMPTY_PATH): Define.
16569
83fe108b
UD
165702011-03-30 Ulrich Drepper <drepper@gmail.com>
16571
16572 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
16573 * sysdeps/unix/sysv/linux/bits/time.h: New file.
16574 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
16575 to...
16576 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
16577 * Versions.def: Add GLIBC_2.14.
16578 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
16579 Export.
83fe108b 16580
bb242059
UD
165812011-03-22 Ulrich Drepper <drepper@gmail.com>
16582
16583 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
16584 round counter.
16585 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16586
c97a1282
L
165872011-03-20 H.J. Lu <hongjiu.lu@intel.com>
16588
16589 [BZ #12597]
16590 * string/test-strncmp.c (do_page_test): New function.
16591 (check2): Likewise.
16592 (test_main): Call check2.
16593 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
16594
2a115601
UD
165952011-03-20 Ulrich Drepper <drepper@gmail.com>
16596
16597 [BZ #12587]
16598 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
16599 Handle cache information in CPU leaf 4.
16600 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16601
8126d904
UD
166022011-03-18 Ulrich Drepper <drepper@gmail.com>
16603
042c49c6 16604 [BZ #12583]
8126d904
UD
16605 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
16606 character representation.
16607 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
16608
ccfe366e
RA
166092011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
16610
16611 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
16612 END(__isnan) to END(__isnanf) to match function entry point/label
16613 EALIGN(__isnanf,...).
16614
c6e13027
JJ
166152011-03-10 Jakub Jelinek <jakub@redhat.com>
16616
16617 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
16618
33f85a3f
UD
166192011-03-10 Ulrich Drepper <drepper@gmail.com>
16620
028478fa
UD
16621 [BZ #12510]
16622 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
16623 copy from the symbol referenced in the relocation to initialize the
16624 used variable.
16625 Patch by Piotr Bury <pbury@goahead.com>.
16626 * elf/Makefile: Add rules to build and tst-unique3.
16627 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
16628 * elf/tst-unique3.cc: New file.
16629 * elf/tst-unique3.h: New file.
16630 * elf/tst-unique3lib.cc: New file.
16631 * elf/tst-unique3lib2.cc: New file.
16632
33f85a3f
UD
16633 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
16634
03592fc7
MF
166352011-03-10 Mike Frysinger <vapier@gentoo.org>
16636
16637 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
16638 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
16639 to _start.
03592fc7 16640
6a5ee102
UD
166412011-03-06 Ulrich Drepper <drepper@gmail.com>
16642
16643 * elf/dl-load.c (_dl_map_object): If we are looking for the first
16644 to-be-loaded object along a path to loader is ld.so.
16645
7e4ba49c
HJ
166462011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16647 Ulrich Drepper <drepper@gmail.com>
16648
16649 * sysdeps/x86_64/memset.S: After aligning destination, code
16650 branches to different locations depending on the value of
16651 misalignment, when multiarch is enabled. Fix this.
16652
166532011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16654
16655 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
16656 Set _x86_64_preferred_memory_instruction for AMD processsors.
16657 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16658 Set bit_Prefer_SSE_for_memop for AMD processors.
16659
13a804de
UD
166602011-03-04 Ulrich Drepper <drepper@gmail.com>
16661
16662 * libio/fmemopen.c (fmemopen): Optimize a bit.
16663
9d25c392
AS
166642011-03-03 Andreas Schwab <schwab@redhat.com>
16665
16666 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
16667
a5543c6a
RM
166682011-03-03 Roland McGrath <roland@redhat.com>
16669
16670 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
16671
012d35f7
DM
166722011-02-28 Aurelien Jarno <aurelien@aurel32.net>
16673
7e4ba49c 16674 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
16675 __bzero_ultra1 instead of __memset_ultra1.
16676
4bff6e01
AS
166772011-02-23 Andreas Schwab <schwab@redhat.com>
16678 Ulrich Drepper <drepper@gmail.com>
16679
16680 [BZ #12509]
16681 * include/link.h (struct link_map): Add l_orig_initfini.
16682 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
16683 returning unsuccessfully.
16684 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
16685 close of a file loaded at startup, restore the original l_initfini
16686 list.
16687 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
16688 list, store the pointer.
16689 * elf/Makefile ($(objpfx)noload-mem): New rule.
16690 (noload-ENV): Define.
16691 (tests): Add $(objpfx)noload-mem.
16692 * elf/noload.c: Include <memcheck.h>.
16693 (main): Call mtrace. Close all opened handles.
16694
f2092faf
AS
166952011-02-17 Andreas Schwab <schwab@redhat.com>
16696
16697 [BZ #12454]
16698 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
16699 dependencies are missing.
16700
6c8a2e88
ST
167012011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16702
f2092faf 16703 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
16704 Hurd needs munmap.
16705 * sysdeps/mach/hurd/ifreq.h: New file.
16706
84a42118
PB
167072011-01-27 Petr Baudis <pasky@suse.cz>
16708 Ulrich Drepper <drepper@gmail.com>
16709
071f805e 16710 [BZ 12445]#
84a42118
PB
16711 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
16712 to extend_alloca().
16713 * stdio-common/bug23.c: New file.
16714 * stdio-common/Makefile (tests): Add bug23.
16715
e23fe25b
AS
167162010-09-28 Andreas Schwab <schwab@redhat.com>
16717 Ulrich Drepper <drepper@gmail.com>
16718
16719 [BZ #12489]
16720 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
16721 before performing relro protection. At old place add assertion
16722 to make sure nothing changed.
16723
d3f02e10
NS
167242011-02-17 Nathan Sidwell <nathan@codesourcery.com>
16725 Glauber de Oliveira Costa <glommer@gmail.com>
16726
16727 * elf/elf.h: Add new ARM TLS relocs.
16728
d55fd7a5
RA
167292011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
16730
16731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16732 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
16733 cast from r3.
16734 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
16735 'tests' variable.
16736 * sysdeps/wordsize-64/tst-writev.c: New file.
16737
2206397e
RA
167382011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
16739
16740 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
16741 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
16742 insns in _dl_start to prevent a TOC reference before relocs are
16743 resolved.
16744
e9433893
UD
167452011-02-15 Ulrich Drepper <drepper@gmail.com>
16746
16747 [BZ #12469]
16748 * Makeconfig: Remove RANLIB definition.
16749 * Makerules: Don't use RANLIB.
16750 * aclocal.m4: Remove ranlib test.
16751 * configure.in: No need to check for ranlib.
16752 * elf/rtld-Rules: Don't use RANLIB.
16753
f75286c6
ST
167542011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16755
8e31c82d
ST
16756 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
16757 protection macro.
16758 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
16759 inclusion protection macro.
16760
f75286c6
ST
16761 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
16762 SIGRTMIN and SIGRTMAX and print information in that case only when
16763 SIGRTMIN is defined.
16764
c1d0e639
JJ
167652011-02-11 Jakub Jelinek <jakub@redhat.com>
16766
16767 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
16768 arginfo fn returning -1.
16769
16770 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
16771 and thousands string is zero terminated.
16772
edf9294e
AS
167732011-02-03 Andreas Schwab <schwab@redhat.com>
16774
16775 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
16776 sysdeps/unix/sysv/linux/bits/socket.h.
16777
2b7e92df
ST
167782011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16779
edf9294e
AS
16780 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
16781 (__CPU_COUNT): Remove old macros.
16782 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
16783 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
16784 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
16785 (__sched_cpualloc, __sched_cpufree): Add declarations.
16786
a4c7ea7b
UD
167872011-02-05 Ulrich Drepper <drepper@gmail.com>
16788
16789 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
16790 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
16791 * nscd/aicache.c (addhstaiX): Return timeout of added value.
16792 (readdhstai): Return value of addhstaiX call.
16793 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
16794 (addgrbyX): Return value returned by cache_addgr.
16795 (readdgrbyname): Return value returned by addgrbyX.
16796 (readdgrbygid): Likewise.
16797 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
16798 (addpwbyX): Return value returned by cache_addpw.
16799 (readdpwbyname): Return value returned by addhstbyX.
16800 (readdpwbyuid): Likewise.
16801 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
16802 (addservbyX): Return value returned by cache_addserv.
16803 (readdservbyname): Return value returned by addservbyX:
16804 (readdservbyport): Likewise.
16805 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
16806 (addhstbyX): Return value returned by cache_addhst.
16807 (readdhstbyname): Return value returned by addhstbyX.
16808 (readdhstbyaddr): Likewise.
16809 (readdhstbynamev6): Likewise.
16810 (readdhstbyaddrv6): Likewise.
16811 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
16812 (readdinitgroups): Return value returned by addinitgroupsX.
16813 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
16814 (prune_cache): Keep track of timeout value of re-added entries.
16815 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
16816 * nscd/nscd.h: Adjust prototypes of readd* functions.
16817
a0bf67cc
RM
168182011-02-04 Roland McGrath <roland@redhat.com>
16819
16820 * nis/nis_server.c (nis_servstate): Use the right name for 0.
16821 (nis_stats): Likewise.
16822 * nis/nis_modify.c (nis_modify): Likewise.
16823 * nis/nis_remove.c (nis_remove): Likewise.
16824 * nis/nis_add.c (nis_add): Likewise.
16825
16826 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
16827
16828 * posix/fnmatch_loop.c: Add some consts.
16829
16830 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
16831
435b95eb
L
168322011-02-02 H.J. Lu <hongjiu.lu@intel.com>
16833
16834 [BZ #12460]
16835 * config.make.in (config-cflags-novzeroupper): Define.
16836 * configure.in: Substitute libc_cv_cc_novzeroupper.
16837 * elf/Makefile (AVX-CFLAGS): Define.
16838 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
16839 (CFLAGS-tst-auditmod4a.c): Likewise.
16840 (CFLAGS-tst-auditmod4b.c): Likewise.
16841 (CFLAGS-tst-auditmod6b.c): Likewise.
16842 (CFLAGS-tst-auditmod6c.c): Likewise.
16843 (CFLAGS-tst-auditmod7b.c): Likewise.
16844 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
16845
8517b15e
UD
168462011-02-02 Ulrich Drepper <drepper@gmail.com>
16847
16848 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
16849 function to the callback.
16850 Patch partly by Jiri Olsa <jolsa@redhat.com>.
16851
10a656fe
AS
168522011-02-02 Andreas Schwab <schwab@redhat.com>
16853
16854 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
16855 of errno.
16856
968dad0a
UD
168572011-01-19 Ulrich Drepper <drepper@gmail.com>
16858
9f94d2ea 16859 [BZ #11724]
968dad0a
UD
16860 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
16861 of constructors.
16862 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
16863 of destructors.
16864 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
16865
16866 [BZ #11724]
16867 * elf/Makefile: Add rules to build and run new test.
16868 * elf/tst-initorder.c: New file.
16869 * elf/tst-initorder.exp: New file.
16870 * elf/tst-initordera1.c: New file.
16871 * elf/tst-initordera2.c: New file.
16872 * elf/tst-initordera3.c: New file.
16873 * elf/tst-initordera4.c: New file.
16874 * elf/tst-initorderb1.c: New file.
16875 * elf/tst-initorderb2.c: New file.
16876 * elf/tst-order-a1.c: New file.
16877 * elf/tst-order-a2.c: New file.
16878 * elf/tst-order-a3.c: New file.
16879 * elf/tst-order-a4.c: New file.
16880 * elf/tst-order-b1.c: New file.
16881 * elf/tst-order-b2.c: New file.
16882 * elf/tst-order-main.c: New file.
16883 New test case by George Gensure <werkt0@gmail.com>.
16884
86e92359
UD
168852010-10-01 Andreas Schwab <schwab@redhat.com>
16886
16887 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16888 decoding ACE if AI_CANONIDN.
16889
5d5732b0
UD
168902011-01-18 Ulrich Drepper <drepper@gmail.com>
16891
16892 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
16893
a77e8cbc
UD
168942011-01-17 Ulrich Drepper <drepper@gmail.com>
16895
6392473f
UD
16896 * version.h (RELEASE): Bump for 2.13 release.
16897 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
16898
620a0529
UD
16899 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
16900
18ba70a5
UD
16901 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
16902 MADV_NOHUGEPAGE.
32465c3e
UD
16903 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
16904 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16905 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16906 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16907 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16908 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16909
c0dafcf1
UD
16910 * posix/getconf.c: Update copyright year.
16911 * catgets/gencat.c: Likewise.
16912 * csu/version.c: Likewise.
16913 * debug/catchsegv.sh: Likewise.
16914 * debug/xtrace.sh: Likewise.
16915 * elf/ldconfig.c: Likewise.
16916 * elf/ldd.bash.in: Likewise.
16917 * elf/sprof.c (print_version): Likewise.
16918 * iconv/iconv_prog.c: Likewise.
16919 * iconv/iconvconfig.c: Likewise.
16920 * locale/programs/locale.c: Likewise.
16921 * locale/programs/localedef.c: Likewise.
16922 * malloc/memusage.sh: Likewise.
16923 * malloc/mtrace.pl: Likewise.
16924 * nscd/nscd.c (print_version): Likewise.
16925 * nss/getent.c: Likewise.
16926
a77e8cbc
UD
16927 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
16928 PF_CAIF, and PF_ALG.
16929 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16930
77e8bddf
AS
169312011-01-16 Andreas Schwab <schwab@linux-m68k.org>
16932
1f20b93a
AS
16933 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
16934 (modules-names): Use them.
16935 (ifunc-test-modules, ifunc-pie-tests): Define.
16936 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
16937 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
16938 (test-extras): Likewise.
16939 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
16940 $(compile-command.c).
16941 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
16942 (all-built-dso): Define.
16943 (check-textrel.out, check-execstack.out): Depend on it.
16944
77e8bddf
AS
16945 * configure.in: Don't override --enable-multi-arch.
16946
bc425b33
UD
169472011-01-15 Ulrich Drepper <drepper@gmail.com>
16948
16949 [BZ #6812]
16950 * nscd/hstcache.c (tryagain): Define.
16951 (cache_addhst): Return tryagain not notfound for temporary errors.
16952 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
16953 failed.
16954
794c3ad3
UD
169552011-01-14 Ulrich Drepper <drepper@gmail.com>
16956
70181fdd
UD
16957 [BZ #10563]
16958 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
16959 to make the syscall.
16960 * sysdeps/unix/sysv/linux/setgroups.c: New file.
16961
794c3ad3
UD
16962 [BZ #12378]
16963 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
16964 and fall back to matching as normal character if the string ends before
16965 the matching ']' is found. This is what POSIX requires.
16966 * posix/testfnm.c: Adjust test result.
16967 * posix/globtest.sh: Adjust test result. Add new test.
16968 * posix/tst-fnmatch.input: Likewise.
16969 * posix/tst-fnmatch2.c: Add new test.
16970
68dc9497
AS
169712010-12-28 Andreas Schwab <schwab@linux-m68k.org>
16972
16973 * elf/Makefile (check-execstack): Revert last change. Depend on
16974 check-execstack.h.
16975 (check-execstack.h): New target.
16976 (generated): Add check-execstack.h.
16977 * elf/check-execstack.c: Include "check-execstack.h".
16978 (main): Revert last change.
16979 (handle_file): Return zero if GNU_STACK is absent and
16980 DEFAULT_STACK_PERMS doesn't include PF_X.
16981
451f001b
UD
169822011-01-13 Ulrich Drepper <drepper@gmail.com>
16983
cfa28e56
UD
16984 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
16985 in child fails because the descriptor is already closed.
8cf8ce17
UD
16986 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
16987 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
16988 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 16989
1086d70d
UD
16990 [BZ #12397]
16991 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
16992 syscall.
16993
451f001b
UD
16994 [BZ #10484]
16995 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
16996 temporary buffer used to handle multi lookups locally.
a85b5cb4 16997 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 16998
08769175
UD
169992011-01-12 Ulrich Drepper <drepper@gmail.com>
17000
17001 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
17002 loader is ld.so.
17003
5e49c52e
UD
170042011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
17005
17006 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
17007 alignment for SSE2.
17008
60522a5f
UD
170092011-01-12 Ulrich Drepper <drepper@gmail.com>
17010
17011 [BZ #12394]
17012 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
17013 characters. When rounding increased number of integer digits recompute
17014 number of groups.
17015 * stdio-common/tst-grouping.c: New file.
17016 * stdio-common/Makefile: Add rules to build and run tst-grouping.
17017
f257bbd7
UD
170182011-01-09 Ulrich Drepper <drepper@gmail.com>
17019
17020 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
17021 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
17022
17023 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
17024 void.
17025 * bits/select.h: Likewise.
17026
fa9c15cb
UD
170272011-01-08 Ulrich Drepper <drepper@gmail.com>
17028
17029 * po/ja.po: Update from translation team.
17030
16c2895f
DM
170312011-01-04 David S. Miller <davem@sunset.davemloft.net>
17032
17033 [BZ #11155]
17034 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
17035 implementation just like for lxstat, fxstatat, et al.
17036
2543fef2
JM
170372010-12-27 Jim Meyering <meyering@redhat.com>
17038
17039 [BZ #12348]
17040 * posix/regexec.c (build_trtable): Return failure indication upon
17041 calloc failure. Otherwise, re_search_internal could infloop on OOM.
17042
98727dbe
UD
170432010-12-25 Ulrich Drepper <drepper@gmail.com>
17044
5bd6dc5c
UD
17045 [BZ #12201]
17046 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
17047 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
17048 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
17049 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
17050
97983464
UD
17051 [BZ #12207]
17052 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
17053
98727dbe
UD
17054 [BZ #12204]
17055 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
17056 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
17057
4a531bb0
L
170582010-12-15 H.J. Lu <hongjiu.lu@intel.com>
17059
17060 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
17061 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
17062 script has SORT_BY_INIT_PRIORITY.
17063 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
17064 NO_CTORS_DTORS_SECTIONS is defined.
17065 * elf/soinit.c: Likewise.
17066 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
17067 NO_CTORS_DTORS_SECTIONS is defined.
17068 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
17069 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
17070 * sysdeps/sh/init-first.c: Likewise.
17071 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
17072
07eb4b71
UD
170732010-12-24 Ulrich Drepper <drepper@gmail.com>
17074
17075 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
17076 always use the slow path.
17077
30950a5f
RA
170782010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
17079
17080 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
17081 similar rule which adds the sysdep directories to the header search in
17082 order to pick up the correct platform stackinfo.h.
17083 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
17084 perform test if it is, otherwise return successfully without testing.
17085 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
17086 DEFAULT_STACK_PERMS define in stackinfo.h.
17087 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
17088 defined in stackinfo.h.
17089 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
17090 DEFAULT_STACK_PERMS defined in stackinfo.h.
17091 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
17092 * sysdeps/ia64/stackinfo.h: Likewise.
17093 * sysdeps/s390/stackinfo.h: Likewise.
17094 * sysdeps/sh/stackinfo.h: Likewise.
17095 * sysdeps/sparc/stackinfo.h: Likewise.
17096 * sysdeps/x86_64/stackinfo.h: Likewise.
17097 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
17098 PF_X for powerpc64. Retain PF_X for powerpc32.
17099
db753e2c
UD
171002010-12-19 Ulrich Drepper <drepper@gmail.com>
17101
14b697f7
UD
17102 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
17103 accurately.
db753e2c
UD
17104 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
17105 GETDENTS_64BIT_ALIGNED.
17106
28300719
UD
171072010-12-14 Ulrich Drepper <dreper@gmail.com>
17108
14b697f7 17109 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 17110
4f197237
AS
171112010-12-10 Andreas Schwab <schwab@redhat.com>
17112
dbb0472f
AS
17113 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
17114 _GNU_SOURCE.
17115
4f197237
AS
17116 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
17117 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
17118 Remove __restrict.
17119 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
17120 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
17121
fb88ac72
UD
171222010-12-09 Ulrich Drepper <drepper@gmail.com>
17123
17124 [BZ #11655]
17125 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
17126 are initialized.
17127
42acbb92
JJ
171282010-12-09 Jakub Jelinek <jakub@redhat.com>
17129
17130 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
17131
c038d98d
UD
171322010-12-03 Ulrich Drepper <drepper@gmail.com>
17133
17134 * po/it.po: Update from translation team.
17135
3a4a2499
L
171362010-12-01 H.J. Lu <hongjiu.lu@intel.com>
17137
17138 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
17139 unused codes.
17140
1e24cf6e
UD
171412010-11-30 Ulrich Drepper <drepper@gmail.com>
17142
17143 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
17144
a7690819
AS
171452010-11-24 Andreas Schwab <schwab@redhat.com>
17146
17147 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
17148 specially.
17149 (gaih_getanswer_slice): Likewise.
17150
3bf8d1b1
JJ
171512010-10-20 Jakub Jelinek <jakub@redhat.com>
17152
17153 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
17154
6db52fbb
PB
171552010-05-31 Petr Baudis <pasky@suse.cz>
17156
17157 [BZ #11149]
17158 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
17159 silently even in the chroot mode.
17160
eaca7569
UD
171612010-11-22 Ulrich Drepper <drepper@gmail.com>
17162
17163 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
17164 last patch a bit. Pretty printing
17165
3056dcdb
UD
171662010-05-31 Petr Baudis <pasky@suse.cz>
17167
17168 [BZ #10085]
17169 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
17170 initialization of skip_initgroups_dyn.
17171
cf7c9078
UD
171722010-11-19 Ulrich Drepper <drepper@gmail.com>
17173
17174 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
17175 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17176
a1fb5e3e
UD
171772010-11-16 Ulrich Drepper <drepper@gmail.com>
17178
17179 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
17180
3540d66b
AS
171812010-11-11 Andreas Schwab <schwab@redhat.com>
17182
17183 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
17184 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
17185 (tst-fnmatch-ENV): Set MALLOC_TRACE.
17186 ($(objpfx)tst-fnmatch-mem): New rule.
17187 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
17188 * posix/tst-fnmatch.c (main): Call mtrace.
17189
13b69574
L
171902010-11-11 H.J. Lu <hongjiu.lu@intel.com>
17191
17192 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17193 Support Intel processor model 6 and model 0x2c.
17194
da93d214
LM
171952010-11-10 Luis Machado <luisgpm@br.ibm.com>
17196
17197 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
17198 signed comparison.
17199
8ca52c6e
L
172002010-11-09 H.J. Lu <hongjiu.lu@intel.com>
17201
17202 [BZ #12205]
17203 * string/test-strncasecmp.c (check_result): New function.
17204 (do_one_test): Use it.
17205 (check1): New function.
17206 (test_main): Use it.
17207 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
17208 Support strcasecmp and strncasecmp.
17209
69da074d
UD
172102010-11-08 Ulrich Drepper <drepper@gmail.com>
17211
17212 [BZ #12194]
17213 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
17214 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17215
ff02d528
L
172162010-11-07 H.J. Lu <hongjiu.lu@intel.com>
17217
17218 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
17219 IFUNC support.
17220 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17221 memset-x86-64.
17222 * sysdeps/x86_64/multiarch/bzero.S: New file.
17223 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
17224 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
17225 * sysdeps/x86_64/multiarch/memset.S: New file.
17226 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
17227 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17228 Set bit_Prefer_SSE_for_memop for Intel processors.
17229 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
17230 Define.
17231 (index_Prefer_SSE_for_memop): Define.
17232 (HAS_PREFER_SSE_FOR_MEMOP): Define.
17233
344d0b54
LM
172342010-11-04 Luis Machado <luisgpm@br.ibm.com>
17235
17236 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17237 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17238
c0dde15b
UD
172392010-11-03 H.J. Lu <hongjiu.lu@intel.com>
17240
17241 [BZ #12191]
17242 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17243 (__x86_64_raw_data_cache_size_half): Likewise.
17244 (__x86_64_raw_shared_cache_size): Likewise.
17245 (__x86_64_raw_shared_cache_size_half): Likewise.
17246
17247 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17248 (__x86_64_raw_data_cache_size_half): Likewise.
17249 (__x86_64_raw_shared_cache_size): Likewise.
17250 (__x86_64_raw_shared_cache_size_half): Likewise.
17251 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17252 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17253 and __x86_64_raw_shared_cache_size_half. Round
17254 __x86_64_data_cache_size_half, __x86_64_data_cache_size
17255 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17256 to multiple of 256 bytes.
17257
0e516e0e
MS
172582010-11-03 Ulrich Drepper <drepper@gmail.com>
17259
17260 [BZ #12167]
17261 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17262 of inacessible symlinks. Verify result of symlink before returning it.
17263 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17264 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17265
0e012e87
ER
172662010-10-28 Erich Ritz <erichritz@gmail.com>
17267
17268 * math/math.h (isinf): Fix typo in comment.
17269
de0ff7bc
UD
172702010-11-01 Ulrich Drepper <drepper@gmail.com>
17271
17272 * po/da.po: Update from translation team.
17273
fa41c84d
UD
172742010-10-26 Ulrich Drepper <drepper@gmail.com>
17275
17276 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17277 is added to the list.
17278
f0967738
AK
172792010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17280 Ulrich Drepper <drepper@gmail.com>
17281
17282 * elf/dl-object.c (_dl_new_object): Don't append the new object to
17283 the global list here. Move code to...
17284 (_dl_add_to_namespace_list): ...here. New function.
17285 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17286 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17287 * elf/dl-load.c (lose): Don't remove the element from the list.
17288 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17289 (_dl_map_object): Likewise.
17290
172912010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
17292
17293 [BZ #12159]
17294 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17295 into all bytes of SSE register.
17296 Patch by Richard Li <richardpku@gmail.com>.
17297
f0967738 172982010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
17299
17300 [BZ #12140]
17301 * malloc/malloc.c (_int_free): Fill correct number of bytes when
17302 perturbing.
17303
d0b9e94f
MB
173042010-10-20 Michael B. Brutman <brutman@us.ibm.com>
17305
17306 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17307 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17308 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17309 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17311 submachine.
17312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17313
8e9f92e9
AS
173142010-10-22 Andreas Schwab <schwab@redhat.com>
17315
17316 * include/dlfcn.h (__RTLD_SECURE): Define.
17317 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
17318 mode & __RTLD_SECURE instead.
17319 (open_path): Rename preloaded parameter to secure.
17320 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17321 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17322 * elf/dl-deps.c (openaux): Likewise.
17323 * elf/rtld.c (struct map_args): Remove is_preloaded.
17324 (map_doit): Don't use it.
17325 (dl_main): Likewise.
17326 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
17327 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
17328
bc96fbda
AS
173292010-09-09 Andreas Schwab <schwab@redhat.com>
17330
17331 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
17332 (sysd-rules-targets): Remove duplicates.
17333 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
17334 rtld-%.$o dependency.
17335
22cd1c9b
AS
173362010-10-18 Andreas Schwab <schwab@redhat.com>
17337
17338 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
17339 _dl_map_object do it.
17340
18edac48
UD
173412010-10-19 Ulrich Drepper <drepper@gmail.com>
17342
17343 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
17344 fast fma builtins, define the macros in the C99 standard.
17345 (FP_FAST_FMAF): Likewise.
17346 (FP_FAST_FMAL): Likewise.
17347 * sysdeps/x86_64/bits/mathdef.h: Likewise.
17348
17349 * bits/mathdef.h: Update copyright year.
17350 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17351
d2050124
MM
173522010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
17353
17354 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
17355 builtins, define the macros in the C99 standard.
17356 (FP_FAST_FMAF): Likewise.
17357 (FP_FAST_FMAL): Likewise.
17358 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
17359 multiply/add.
17360 (FP_FAST_FMAF): Likewise.
17361
475facd1
JJ
173622010-10-15 Jakub Jelinek <jakub@redhat.com>
17363
17364 [BZ #3268]
17365 * math/libm-test.inc (fma_test): Some new testcases.
17366 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
17367 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
17368 y and infinite z. Do multiplication by C already in long double.
17369 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
17370 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
17371 y and infinite z. Do bitwise or of inexact bit into u.d.
17372 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
17373 * sysdeps/i386/fpu/s_fmaf.S: Removed.
17374 * sysdeps/i386/fpu/s_fma.S: Removed.
17375 * sysdeps/i386/fpu/s_fmal.S: Removed.
17376
7c08a05c
JJ
173772010-10-16 Jakub Jelinek <jakub@redhat.com>
17378
17379 [BZ #3268]
17380 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
17381 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
17382 computation is not scheduled after fetestexcept. Fix value
17383 of minimum denormal long double.
17384
f3f7372d
JJ
173852010-10-14 Jakub Jelinek <jakub@redhat.com>
17386
17387 [BZ #3268]
17388 * math/libm-test.inc (fma_test): Add some more tests.
17389 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
17390 correctly.
17391
14d43591
AS
173922010-10-15 Andreas Schwab <schwab@redhat.com>
17393
17394 * scripts/data/localplt-s390-linux-gnu.data: New file.
17395 * scripts/data/localplt-s390x-linux-gnu.data: New file.
17396
5e908464
JJ
173972010-10-13 Jakub Jelinek <jakub@redhat.com>
17398
17399 [BZ #3268]
17400 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
17401 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
17402 instead of dbl-64.
17403 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
17404 inlines.
17405 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
17406 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
17407 if one of x and y is very large and the other is subnormal.
17408 * sysdeps/s390/fpu/s_fmaf.c: New file.
17409 * sysdeps/s390/fpu/s_fma.c: New file.
17410 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
17411 * sysdeps/powerpc/fpu/s_fma.S: New file.
17412 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
17413 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
17414 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
17415
174162010-10-12 Jakub Jelinek <jakub@redhat.com>
17417
17418 [BZ #3268]
17419 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
17420 fma tests.
17421 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
17422 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
17423 * sysdeps/i386/i686/multiarch/s_fma.c: Include
17424 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
17425 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
17426 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
17427 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
17428
b833d51f
UD
174292010-10-12 Ulrich Drepper <drepper@redhat.com>
17430
17431 [BZ #12078]
17432 * posix/regcomp.c (parse_branch): One more memory leak plugged.
17433 * posix/bug-regex31.input: Add test case.
17434
1751705d
UD
174352010-10-11 Ulrich Drepper <drepper@gmail.com>
17436
e9b9cbf5
UD
17437 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
17438 * posix/bug-regex31.input: New file.
17439
17440 [BZ #12078]
17441 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
17442 (parse_sub_exp): Fix last change, use postorder.
17443
ef06edbe
UD
17444 * posix/bug-regex31.c: New file.
17445 * posix/Makefile: Add rules to build and run bug-regex31.
17446
a129c80d
UD
17447 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
17448
17449 [BZ #12078]
17450 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
17451
b76b818e
UD
17452 [BZ #12108]
17453 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
17454 to have entries in sys_siglist.
17455
1751705d
UD
17456 [BZ #12093]
17457 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
17458 be NULL.
17459
9ff8d36f
JJ
174602010-10-07 Jakub Jelinek <jakub@redhat.com>
17461
17462 [BZ #3268]
17463 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
17464 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
17465 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
17466 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
17467 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17468 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
17469 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
17470 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
17471 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
17472 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
17473 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
17474 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
17475 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17476 * math/ftestexcept.c (fetestexcept): Likewise.
17477 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
17478 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
17479 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17480 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
17481 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
17482 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
17483 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17484
af325969
UD
174852010-10-11 Ulrich Drepper <drepper@gmail.com>
17486
c579b202 17487 [BZ #12107]
af325969
UD
17488 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
17489 newline.
17490
67a67b95
UD
174912010-10-06 Ulrich Drepper <drepper@gmail.com>
17492
17493 * string/bug-strstr1.c: New file.
17494 * string/Makefile: Add rules to build and run bug-strstr1.
17495
5fb308bc
EB
174962010-10-05 Eric Blake <eblake@redhat.com>
17497
17498 [BZ #12092]
17499 * string/str-two-way.h (two_way_long_needle): Always clear memory
17500 when skipping input due to the shift table.
17501
45db99c7
UD
175022010-10-03 Ulrich Drepper <drepper@gmail.com>
17503
3b111893
UD
17504 [BZ #12005]
17505 * malloc/mcheck.c: Handle large requests.
17506
45db99c7
UD
17507 [BZ #12077]
17508 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
17509 for strncmp and strncasecmp.
17510 * string/stratcliff.c: Add tests for strcmp and strncmp.
17511 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
17512
cf7a1eb8
NI
175132010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17514
17515 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
17516 __set_fpscr.
17517
6484ba5e
AJ
175182010-09-30 Andreas Jaeger <aj@suse.de>
17519
17520 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
17521 (CGROUP_SUPER_MAGIC): Define.
17522 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17523 Handle btrfs and cgroup file systems.
17524 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17525 Likewise.
17526
91c42559
LM
175272010-09-27 Luis Machado <luisgpm@br.ibm.com>
17528
17529 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
17530 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
17531
87a97932
AK
175322010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17533
17534 [BZ #12067]
17535 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
17536 trying to locate the ELF header.
17537
c21cc9bc
AS
175382010-09-27 Andreas Schwab <schwab@redhat.com>
17539
17540 [BZ #11611]
17541 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
17542 Mask out sign-bit copies when constructing f_fsid.
17543
315970f6
PB
175442010-09-24 Petr Baudis <pasky@suse.cz>
17545
17546 * debug/stack_chk_fail_local.c: Add missing licence exception.
17547 * debug/warning-nop.c: Likewise.
17548
1ac7a2c7
JM
175492010-09-15 Joseph Myers <joseph@codesourcery.com>
17550
17551 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
17552 implementing getdents64 using getdents syscall, set d_type if
17553 __ASSUME_GETDENTS32_D_TYPE.
17554
56801c50
AS
175552010-09-16 Andreas Schwab <schwab@redhat.com>
17556
17557 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
17558 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
17559
dda51327
UD
175602010-09-21 Ulrich Drepper <drepper@redhat.com>
17561
17562 [BZ #12037]
17563 * posix/unistd.h: Undo change of feature selection for ftruncate from
17564 2010-01-11.
17565
8ffcee4a
UD
175662010-09-20 Ulrich Drepper <drepper@redhat.com>
17567
a545ecd9 17568 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
17569 detection.
17570
e24f0a8b
AS
175712010-09-20 Andreas Schwab <schwab@redhat.com>
17572
17573 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
17574 fanotify_mark.
17575 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17576
7291c56f
AS
175772010-09-14 Andreas Schwab <schwab@redhat.com>
17578
17579 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
17580 variables after CHECK_SP call.
17581 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
17582
bc5fb037
AS
175832010-09-13 Andreas Schwab <schwab@redhat.com>
17584 Ulrich Drepper <drepper@redhat.com>
17585
17586 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
17587 re-relocationg ld.so.
17588 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
17589 _dl_init_paths call.
17590 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
17591 here anymore.
17592
e66e7419
UD
175932010-09-14 Ulrich Drepper <drepper@redhat.com>
17594
17595 * resolv/res_init.c (__res_vinit): Count the default server we added.
17596
c044aa75
CLT
175972010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
17598 Ulrich Drepper <drepper@redhat.com>
17599
17600 [BZ #11968]
17601 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17602 (____longjmp_chk): Use %ebx for saving value across system call.
17603 Add unwind info.
17604
32cf4069
AS
176052010-09-06 Andreas Schwab <schwab@redhat.com>
17606
17607 * manual/Makefile: Don't mix pattern rules with normal rules.
17608
817328ee
AS
176092010-09-05 Andreas Schwab <schwab@linux-m68k.org>
17610
17611 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
17612 operation.
17613 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17614 * libio/iofopncook.c (_IO_cookie_init): Likewise.
17615 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17616 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17617 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17618 Likewise.
17619
29fddf61
UD
176202010-09-04 Ulrich Drepper <drepper@redhat.com>
17621
17622 [BZ #11979]
17623 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
17624 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
17625
0959ffc9
UD
176262010-09-02 Ulrich Drepper <drepper@redhat.com>
17627
17628 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
17629 * sysdeps/x86_64/addmul_1.S: Likewise.
17630 * sysdeps/x86_64/lshift.S: Likewise.
17631 * sysdeps/x86_64/mul_1.S: Likewise.
17632 * sysdeps/x86_64/rshift.S: Likewise.
17633 * sysdeps/x86_64/sub_n.S: Likewise.
17634 * sysdeps/x86_64/submul_1.S: Likewise.
17635
ece29840
ST
176362010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
17637
0959ffc9
UD
17638 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
17639 Define __sched_param instead of SCHED_* and sched_param when
ece29840 17640 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 17641 * bits/sched.h [__need_schedparam]
ece29840 17642 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
17643 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
17644 (__defined_schedparam): Define to 1.
ece29840
ST
17645 (__sched_param): New structure, identical to sched_param.
17646 (__need_schedparam): Undefine.
17647
e53a31fe
MF
176482010-08-31 Mike Frysinger <vapier@gentoo.org>
17649
fdc0c10d
MF
17650 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
17651 (epoll_create1): Declare.
17652
e53a31fe
MF
17653 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
17654
a726d796
AS
176552010-08-31 Andreas Schwab <schwab@redhat.com>
17656
17657 [BZ #7066]
17658 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
17659 shifting retval into place.
17660
2f3e3dc7
UD
176612010-09-01 Ulrich Drepper <drepper@redhat.com>
17662
f2933da9
UD
17663 * nis/rpcsvc/nis.h: Update copyright notice.
17664 * nis/rpcsvc/nis.x: Likewise.
17665 * nis/rpcsvc/nis_callback.h: Likewise.
17666 * nis/rpcsvc/nis_callback.x: Likewise.
17667 * nis/rpcsvc/nis_object.x: Likewise.
17668 * nis/rpcsvc/nis_tags.h: Likewise.
17669 * nis/rpcsvc/yp.h: Likewise.
17670 * nis/rpcsvc/yp.x: Likewise.
17671 * nis/rpcsvc/ypupd.h: Likewise.
17672 * nis/yp_xdr.c: Likewise.
17673 * nis/ypupdate_xdr.c: Likewise.
17674
2f3e3dc7
UD
17675 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
17676 mainly the body of pmap_getport. Add parameters to specify timeouts.
17677 (pmap_getport): Use __libc_rpc_getport.
17678 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
17679 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
17680 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
17681
f3dcc2f9
AS
176822010-08-31 Andreas Schwab <schwab@linux-m68k.org>
17683
17684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
17685 fanotify_mark.
17686
6d34eb5b
RM
176872010-08-27 Roland McGrath <roland@redhat.com>
17688
17689 * sysdeps/i386/i686/multiarch/Makefile
17690 (CFLAGS-varshift.c): New variable.
17691
9ea3de11
UD
176922010-08-27 Ulrich Drepper <drepper@redhat.com>
17693
c96d23fc
UD
17694 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
17695 * sysdeps/i386/i686/multiarch/varshift.c: New file.
17696
9ea3de11
UD
17697 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
17698
17699 * sysdeps/x86_64/strlen.S: Minimal code improvement.
17700
623aac7f
L
177012010-08-26 H.J. Lu <hongjiu.lu@intel.com>
17702
17703 * sysdeps/x86_64/strlen.S: Unroll the loop.
17704 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17705 strlen-sse2 strlen-sse2-bsf.
17706 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
17707 __strlen_no_bsf if bit_Slow_BSF is set.
17708 (__strlen_sse42): Removed.
17709 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
17710 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
17711
8b2b7715
RM
177122010-08-25 Roland McGrath <roland@redhat.com>
17713
17714 * sysdeps/x86_64/multiarch/varshift.S: File removed.
17715 * sysdeps/x86_64/multiarch/varshift.c: New file.
17716 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
17717 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
17718 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
17719 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17720
e73015f2
L
177212010-08-25 H.J. Lu <hongjiu.lu@intel.com>
17722
17723 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17724 strlen-sse2 strlen-sse2-bsf.
17725 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
17726 __strlen_sse2_bsf if bit_Slow_BSF is unset.
17727 (__strlen_sse2): Removed.
17728 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
17729 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
17730 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17731 bit_Slow_BSF for Atom.
17732 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
17733 (index_Slow_BSF): Define.
17734 (HAS_SLOW_BSF): Define.
17735
df24a73e
UD
177362010-08-25 Ulrich Drepper <drepper@redhat.com>
17737
17738 [BZ #10851]
17739 * resolv/res_init.c (__res_vinit): When no server address at all
17740 is given default to loopback.
17741
f2ac4868
RM
177422010-08-24 Roland McGrath <roland@redhat.com>
17743
09055553
RM
17744 * configure.in: Remove config-name.h generation.
17745 * configure: Regenerated.
17746 * config-name.in: File removed.
17747 * scripts/config-uname.sh: New file.
17748 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
17749 ($(objdir)config-name.h): New target.
17750
f2ac4868
RM
17751 * sunrpc/rpc_parse.h: Avoid nested comment.
17752
73f27d5e
RH
177532010-08-24 Richard Henderson <rth@redhat.com>
17754 Ulrich Drepper <drepper@redhat.com>
17755 H.J. Lu <hongjiu.lu@intel.com>
17756
17757 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
17758 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
17759 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
17760 Replace _mm_srli_si128 with __m128i_shift_right. Replace
17761 _mm_alignr_epi8 with _mm_loadu_si128.
17762 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
17763 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
17764 (__m128i_shift_right): Removed.
17765 * sysdeps/i386/i686/multiarch/varshift.h: New file.
17766 * sysdeps/i386/i686/multiarch/varshift.S: New file.
17767 * sysdeps/x86_64/multiarch/varshift.h: New file.
17768 * sysdeps/x86_64/multiarch/varshift.S: New file.
17769
84b9230c
MF
177702010-08-21 Mike Frysinger <vapier@gentoo.org>
17771
17772 * configure.in: Move assembler checks to before sysdep dir checking.
17773
9bbd0ddc
PB
177742010-08-20 Petr Baudis <pasky@suse.cz>
17775
17776 * LICENSES: Sync the sunrpc license.
17777
9da4bb31
UD
177782010-08-19 Ulrich Drepper <drepper@redhat.com>
17779
a7ab6ec8
UD
17780 * sunrpc/auth_des.c: Update copyright notice once again.
17781 * sunrpc/auth_none.c: Likewise.
17782 * sunrpc/auth_unix.c: Likewise.
17783 * sunrpc/authdes_prot.c: Likewise.
17784 * sunrpc/authuxprot.c: Likewise.
17785 * sunrpc/bindrsvprt.c: Likewise.
17786 * sunrpc/clnt_gen.c: Likewise.
17787 * sunrpc/clnt_perr.c: Likewise.
17788 * sunrpc/clnt_raw.c: Likewise.
17789 * sunrpc/clnt_simp.c: Likewise.
17790 * sunrpc/clnt_tcp.c: Likewise.
17791 * sunrpc/clnt_udp.c: Likewise.
17792 * sunrpc/clnt_unix.c: Likewise.
17793 * sunrpc/des_crypt.c: Likewise.
17794 * sunrpc/des_soft.c: Likewise.
17795 * sunrpc/get_myaddr.c: Likewise.
17796 * sunrpc/getrpcport.c: Likewise.
17797 * sunrpc/key_call.c: Likewise.
17798 * sunrpc/key_prot.c: Likewise.
17799 * sunrpc/openchild.c: Likewise.
17800 * sunrpc/pm_getmaps.c: Likewise.
17801 * sunrpc/pm_getport.c: Likewise.
17802 * sunrpc/pmap_clnt.c: Likewise.
17803 * sunrpc/pmap_prot.c: Likewise.
17804 * sunrpc/pmap_prot2.c: Likewise.
17805 * sunrpc/pmap_rmt.c: Likewise.
17806 * sunrpc/rpc/auth.h: Likewise.
17807 * sunrpc/rpc/auth_unix.h: Likewise.
17808 * sunrpc/rpc/clnt.h: Likewise.
17809 * sunrpc/rpc/des_crypt.h: Likewise.
17810 * sunrpc/rpc/key_prot.h: Likewise.
17811 * sunrpc/rpc/netdb.h: Likewise.
17812 * sunrpc/rpc/pmap_clnt.h: Likewise.
17813 * sunrpc/rpc/pmap_prot.h: Likewise.
17814 * sunrpc/rpc/pmap_rmt.h: Likewise.
17815 * sunrpc/rpc/rpc.h: Likewise.
17816 * sunrpc/rpc/rpc_des.h: Likewise.
17817 * sunrpc/rpc/rpc_msg.h: Likewise.
17818 * sunrpc/rpc/svc.h: Likewise.
17819 * sunrpc/rpc/svc_auth.h: Likewise.
17820 * sunrpc/rpc/types.h: Likewise.
17821 * sunrpc/rpc/xdr.h: Likewise.
17822 * sunrpc/rpc_clntout.c: Likewise.
17823 * sunrpc/rpc_cmsg.c: Likewise.
17824 * sunrpc/rpc_common.c: Likewise.
17825 * sunrpc/rpc_cout.c: Likewise.
17826 * sunrpc/rpc_dtable.c: Likewise.
17827 * sunrpc/rpc_hout.c: Likewise.
17828 * sunrpc/rpc_main.c: Likewise.
17829 * sunrpc/rpc_parse.c: Likewise.
17830 * sunrpc/rpc_parse.h: Likewise.
17831 * sunrpc/rpc_prot.c: Likewise.
17832 * sunrpc/rpc_sample.c: Likewise.
17833 * sunrpc/rpc_scan.c: Likewise.
17834 * sunrpc/rpc_scan.h: Likewise.
17835 * sunrpc/rpc_svcout.c: Likewise.
17836 * sunrpc/rpc_tblout.c: Likewise.
17837 * sunrpc/rpc_util.c: Likewise.
17838 * sunrpc/rpc_util.h: Likewise.
17839 * sunrpc/rpcinfo.c: Likewise.
17840 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
17841 * sunrpc/rpcsvc/key_prot.x: Likewise.
17842 * sunrpc/rpcsvc/klm_prot.x: Likewise.
17843 * sunrpc/rpcsvc/mount.x: Likewise.
17844 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
17845 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
17846 * sunrpc/rpcsvc/rex.x: Likewise.
17847 * sunrpc/rpcsvc/rstat.x: Likewise.
17848 * sunrpc/rpcsvc/rusers.x: Likewise.
17849 * sunrpc/rpcsvc/sm_inter.x: Likewise.
17850 * sunrpc/rpcsvc/spray.x: Likewise.
17851 * sunrpc/rpcsvc/yppasswd.x: Likewise.
17852 * sunrpc/rtime.c: Likewise.
17853 * sunrpc/svc.c: Likewise.
17854 * sunrpc/svc_auth.c: Likewise.
17855 * sunrpc/svc_authux.c: Likewise.
17856 * sunrpc/svc_raw.c: Likewise.
17857 * sunrpc/svc_run.c: Likewise.
17858 * sunrpc/svc_simple.c: Likewise.
17859 * sunrpc/svc_tcp.c: Likewise.
17860 * sunrpc/svc_udp.c: Likewise.
17861 * sunrpc/svc_unix.c: Likewise.
17862 * sunrpc/svcauth_des.c: Likewise.
17863 * sunrpc/xcrypt.c: Likewise.
17864 * sunrpc/xdr.c: Likewise.
17865 * sunrpc/xdr_array.c: Likewise.
17866 * sunrpc/xdr_float.c: Likewise.
17867 * sunrpc/xdr_mem.c: Likewise.
17868 * sunrpc/xdr_rec.c: Likewise.
17869 * sunrpc/xdr_ref.c: Likewise.
17870 * sunrpc/xdr_sizeof.c: Likewise.
17871 * sunrpc/xdr_stdio.c: Likewise.
17872
9da4bb31
UD
17873 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
17874 handling.
17875
bdaa77bc
AS
178762010-08-19 Andreas Schwab <schwab@redhat.com>
17877
17878 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
17879
fe2f79db
LM
178802010-08-19 Luis Machado <luisgpm@br.ibm.com>
17881
17882 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
17883 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
17884 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
17885 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
17886 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
17887 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
17888 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
17889 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
17890 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
17891 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
17892 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
17893 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
17894 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
17895 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
17896
b9b42ee0
AB
178972010-07-26 Anton Blanchard <anton@samba.org>
17898
17899 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
17900 * malloc/arena.c (heap_trim): Likewise.
17901
1c06ba31
UD
179022010-08-16 Ulrich Drepper <drepper@redhat.com>
17903
17904 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
17905 here. Not...
17906 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
17907 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
17908
f8392f40
L
179092010-08-12 H.J. Lu <hongjiu.lu@intel.com>
17910
17911 * sysdeps/i386/elf/Makefile: New file.
17912
3162f12e
AS
179132010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17914
17915 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
17916 from fanotify_init.
17917 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
17918 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17919
28c90b2c
UD
179202010-08-15 Ulrich Drepper <drepper@redhat.com>
17921
17922 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
17923 of strncasecmp_l.
1feccb6c 17924 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 17925
ca6bb004
UD
179262010-08-14 Ulrich Drepper <drepper@redhat.com>
17927
e9f82e0d
UD
17928 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17929 strncase_l-nonascii.
17930 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17931 Add strncase_l-ssse3.
17932 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
17933 * sysdeps/x86_64/strcmp.S: Likewise.
17934 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
17935 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
17936 * sysdeps/x86_64/strncase.S: New file.
17937 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
17938 * sysdeps/x86_64/strncase_l.S: New file.
17939 * string/Makefile (strop-tests): Add strncasecmp.
17940 * string/test-strncasecmp.c: New file.
17941
17942 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
17943 warning.
17944
ca6bb004
UD
17945 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
17946 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
17947
052fa7b3
AS
179482010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17949
17950 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
17951
962dba78
UD
179522010-08-12 Ulrich Drepper <drepper@redhat.com>
17953
17954 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
17955 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
17956 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
17957
bebff237
AM
179582010-05-01 Alan Modra <amodra@gmail.com>
17959
17960 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
17961 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
17962 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
17963 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
17964 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
17965 tidying. Don't tail-call __sigjmp_save for static lib.
17966 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
17967 save location.
17968 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
17969 (CALL_MCOUNT): Add eh info, and nop after bl.
17970 (TAIL_CALL_SYSCALL_ERROR): New macro.
17971 (PSEUDO_RET): Use it.
17972 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17973 Correct save location of integer regs and cr.
17974 (_dl_profile_resolve): Correct cr save location. Delete nops
17975 after bl when SHARED. Reduce cfi size a little by better
17976 placement of cfi directives.
17977 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
17978 make a stack frame. Instead use parm save area as a temp.
17979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
17980 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
17981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17982 Don't make a stack frame for parent, use parm save area.
17983 Increase child stack frame to 112 bytes. Don't save unused reg,
17984 and adjust reg usage. Set up cfi on error recovery and
17985 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
17986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17987 (__makecontext): Add dummy nop after jump to exit.
17988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
17989 Use correct parm save area and cr save, reduce stack frame.
17990 Correct cfi for possible PSEUDO_RET frame setup.
17991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
17992 Branch to local label emitted by PSEUDO_RET rather than
17993 __syscall_error.
17994
02637374
AS
179952010-08-12 Andreas Schwab <schwab@redhat.com>
17996
17997 [BZ #11904]
17998 * locale/programs/locale.c (print_assignment): New function.
17999 (show_locale_vars): Use it.
18000
c3e2f19b
UD
180012010-08-11 Ulrich Drepper <drepper@redhat.com>
18002
3cdaa6ad
UD
18003 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
18004 field.
18005 (struct statfs64): Likewise.
18006 (_STATFS_F_FLAGS): Define.
18007 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
18008 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18009 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
18010 (ST_VALID): Define locally.
18011 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
18012 __statvfs_getflags, use the provided value.
18013 * sysdeps/unix/sysv/linux/kernel-features.h: Define
18014 __ASSUME_STATFS_F_FLAGS.
18015
754f7da3
UD
18016 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
18017
10b3bedc
UD
18018 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
18019 Add sys/fanotify.h.
18020 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
18021 fanotify_mask for GLIBC_2.13.
18022 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
18023 fanotify_init and fanotify_mark.
18024 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18025 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
18026
c08fb0d7
UD
18027 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
18028 Add prlimit.
18029 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
18030 prlimit64 for GLIBC_2.13.
18031 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
18032 prlimit64.
18033 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
18034 syscall.
18035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18036 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18037 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
18038 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
18039 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
18040 add prlimit alias.
18041 * sysdeps/unix/sysv/linux/prlimit.c: New file.
18042
15bac72b
UD
18043 [BZ #11903]
18044 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
18045 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
18046
c3e2f19b
UD
18047 * nss/Makefile: Add rules to build and run tst-nss-test1.
18048 * shlib-versions: Add entry for libnss_test1.
18049 * nss/nss_test1.c: New file.
18050 * nss/tst-nss-test1.c: New file.
18051
18052 * nss/nsswitch.c (__nss_database_custom): Define new variable.
18053 (__nss_configure_lookup): Set appropriate entry in
18054 __nss_configure_lookup to true.
18055 * nss/nsswitch.h: Define enum with indeces of databases in
18056 databases and __nss_database_custom arrays. Declare
18057 __nss_database_custom.
18058 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
18059 to avoid using nscd when custom rules are installed.
18060 * nss/getXXbyYY_r.c: Likewise.
18061 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18062
18063 * nss/nss_files/files-parse.c: Whitespace fixes.
18064
f15ce4d8
UD
180652010-08-09 Ulrich Drepper <drepper@redhat.com>
18066
18067 [BZ #11883]
18068 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
18069 * posix/fnmatch_loop.c: Likewise.
18070
d22e4cc9
AK
180712010-07-17 Andi Kleen <ak@linux.intel.com>
18072
18073 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
18074 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
18075 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
18076 * Versions.def [GLIBC_2.13]: Add.
18077
805bc17d
UD
180782010-08-06 Ulrich Drepper <drepper@redhat.com>
18079
18080 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18081 Also fail if tpwd after pwuid call is NULL.
18082
5a42321d
ST
180832010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
18084
18085 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
18086 when converting to ms.
18087
fd3ebeda
ST
180882010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18089
18090 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
18091 EOPNOTSUPP errors with ENOTTY.
18092 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
18093 EOPNOTSUPP errors with ENOTTY.
18094
73507d3a
UD
180952010-07-31 Ulrich Drepper <drepper@redhat.com>
18096
18097 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18098 Add strcasecmp_l-ssse3.
18099 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
18100 strcasecmp.
18101 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
18102 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
18103 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
18104
fe36dd02
UD
181052010-07-30 Ulrich Drepper <drepper@redhat.com>
18106
66f6765a
UD
18107 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
18108
42e08a54
UD
18109 * string/Makefile (strop-tests): Add strcasecmp.
18110 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18111 strcasecmp_l-nonascii.
18112 (gen-as-const-headers): Add locale-defines.sym.
18113 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
18114 * sysdeps/x86_64/strcasecmp.S: New file.
18115 * sysdeps/x86_64/strcasecmp_l.S: New file.
18116 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
18117 * sysdeps/x86_64/locale-defines.sym: New file.
18118 * string/test-strcasecmp.c: New file.
18119
fe36dd02
UD
18120 * string/test-strcasestr.c: Test both ends of the range of characters.
18121 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
18122
48cbc0d6
RM
181232010-07-29 Roland McGrath <roland@redhat.com>
18124
76e6d6bc 18125 [BZ #11856]
48cbc0d6
RM
18126 * manual/locale.texi (Yes-or-No Questions): Fix example code.
18127
880113d9
UD
181282010-07-27 Ulrich Drepper <drepper@redhat.com>
18129
18130 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
18131 for ld.so.
18132
deb9cabb
AS
181332010-07-27 Andreas Schwab <schwab@redhat.com>
18134
18135 * manual/memory.texi (Malloc Tunable Parameters): Document
18136 M_PERTURB.
18137
1c7570ff
RM
181382010-07-26 Roland McGrath <roland@redhat.com>
18139
18140 [BZ #11840]
18141 * configure.in (-fgnu89-inline check): Set and substitute
18142 gnu89_inline, not libc_cv_gnu89_inline.
18143 * configure: Regenerated.
18144 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
18145
24fb0f88
UD
181462010-07-26 Ulrich Drepper <drepper@redhat.com>
18147
18148 * string/test-strnlen.c: New file.
18149 * string/Makefile (strop-tests): Add strnlen.
18150 * string/tester.c (test_strnlen): Add a few more test cases.
18151 * string/tst-strlen.c: Better error reporting.
18152
18153 * sysdeps/x86_64/strnlen.S: New file.
18154
8e96b93a
UD
181552010-07-24 Ulrich Drepper <drepper@redhat.com>
18156
18157 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
18158 lower-latency instructions.
18159
dbc676d4
UD
181602010-07-23 Ulrich Drepper <drepper@redhat.com>
18161
18162 * string/test-strcasestr.c: New file.
18163 * string/test-strstr.c: New file.
18164 * string/Makefile (strop-tests): Add strstr and strcasestr.
18165 * string/str-two-way.h: Don't undefine MAX.
18166 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
18167
f6a31e0e
AS
181682010-07-21 Andreas Schwab <schwab@redhat.com>
18169
18170 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18171 strcasestr-nonascii.
18172 (CFLAGS-strcasestr-nonascii.c): Define.
18173 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
18174 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
18175 Remove unused attribute.
18176
5dbc3b6c
RM
181772010-07-20 Roland McGrath <roland@redhat.com>
18178
18179 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
18180 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
18181 ld.so.cache was broken. With it, there is no way to disable dsocaps
18182 like LD_HWCAP_MASK can disable hwcaps.
18183
23d101d8
EPM
181842010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18185
18186 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
18187
cc9f2e47
UD
181882010-07-16 Ulrich Drepper <drepper@redhat.com>
18189
18190 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
18191 call in strcasestr.
18192 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
18193 __strcasestr_sse42_nonascii.
18194 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
18195 strcasestr-nonascii.c.
18196 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
18197
77c1b069
LM
181982010-06-15 Luis Machado <luisgpm@br.ibm.com>
18199
18200 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
18201 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
18202 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
18203 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
18204
440566c3
UD
182052010-07-09 Ulrich Drepper <drepper@redhat.com>
18206
18207 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
18208 fcntl.
18209
5be9d05d
AS
182102010-07-06 Andreas Schwab <schwab@redhat.com>
18211
c30b7ee2 18212 [BZ #11577]
5be9d05d
AS
18213 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
18214 dl_signal_cerror.
18215
8a492a67
UD
182162010-07-06 Ulrich Drepper <drepper@redhat.com>
18217
18218 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
18219 _PC_PIPE_BUF using F_GETPIPE_SZ.
18220
713df3d5
RM
182212010-07-05 Roland McGrath <roland@redhat.com>
18222
18223 * manual/arith.texi (Rounding Functions): Fix rint description
18224 implicit in round description.
18225
702e8f14
UD
182262010-07-02 Ulrich Drepper <drepper@redhat.com>
18227
18228 * elf/Makefile: Fix linking for a few tests to make recent linker
18229 happy.
18230
52ed8be9
AS
182312010-06-30 Andreas Schwab <schwab@redhat.com>
18232
18233 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18234 $(common-objpfx)libc_nonshared.a.
18235
f47c9a11
LM
182362010-06-21 Luis Machado <luisgpm@br.ibm.com>
18237
18238 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18239 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18240 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18241 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18242 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18243 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18244 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18245 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18260 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18261 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18262 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18263 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18264 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18265 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18266 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18267 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18268 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18269 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18270 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18271 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18286
6fb8cbcb
L
182872010-06-25 H.J. Lu <hongjiu.lu@intel.com>
18288
18289 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18290 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
18291 * string/memmove.c (memmove): Renamed to ...
18292 (MEMMOVE): ...this. Default to memmove.
18293 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18294 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18295 (END_CHK): Define.
18296 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18297 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18298 mempcpy-ssse3-back memmove-ssse3-back.
18299 * sysdeps/x86_64/multiarch/bcopy.S: New file .
18300 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18301 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18302 * sysdeps/x86_64/multiarch/memcpy.S: New file.
18303 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18304 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18305 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18306 * sysdeps/x86_64/multiarch/memmove.c: New file.
18307 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18308 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18309 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18310 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18311 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18312 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18313 Define.
18314 (index_Fast_Copy_Backward): Define.
18315 (HAS_ARCH_FEATURE): Define.
18316 (HAS_FAST_REP_STRING): Define.
18317 (HAS_FAST_COPY_BACKWARD): Define.
18318
4e733bac 183192010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
18320
18321 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18322 Restore proper fallback handling.
18323
63c4ed22
UD
183242010-06-19 Ulrich Drepper <drepper@redhat.com>
18325
ac2b484c
UD
18326 [BZ #11701]
18327 * posix/group_member.c (__group_member): Correct checking loop.
18328
63c4ed22
UD
18329 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
18330 OOM in getpwuid_r correctly. Return error number when the caller
18331 should return, otherwise -1.
18332 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
18333 call returning > 0 value.
18334 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
18335
765ade4b
AS
183362010-06-07 Andreas Schwab <schwab@redhat.com>
18337
18338 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
18339 libc_nonshared.a from targets in modules-names.
18340
80da2e09
KS
183412010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
18342
18343 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
18344 requires it.
18345
158db122
LM
183462010-06-10 Luis Machado <luisgpm@br.ibm.com>
18347
18348 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
18349 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
18350 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
18351 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
18352
caa78cf8
AS
183532010-06-02 Andreas Schwab <schwab@redhat.com>
18354
18355 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
18356
b2ef2c01
UD
183572010-06-14 Ulrich Drepper <drepper@redhat.com>
18358
18359 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
18360 and F_GETPIPE_SZ.
18361 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18362 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18363 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18364 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18365 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18366 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
18367
fbd643b6
RM
183682010-06-14 Roland McGrath <roland@redhat.com>
18369
18370 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
18371
f32f2869
JJ
183722010-06-07 Jakub Jelinek <jakub@redhat.com>
18373
18374 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
18375 __REDIRECT followed by __THROW.
18376 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
18377 * posix/getopt.h (getopt): Likewise.
18378
2a50c078
EPM
183792010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18380
18381 * hurd/lookup-at.c (__file_name_lookup_at): Accept
18382 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
18383 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
18384 in AT_FLAGS.
18385 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
18386 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
18387
eb5ad2eb
LM
183882010-05-28 Luis Machado <luisgpm@br.ibm.com>
18389
18390 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
18391
3c88fe1e
L
183922010-05-26 H.J. Lu <hongjiu.lu@intel.com>
18393
18394 [BZ #11640]
18395 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18396 Properly check family and model.
18397
d2f73151
TY
183982010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
18399
18400 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
18401
ebd2e13d
LM
184022010-05-24 Luis Machado <luisgpm@br.ibm.com>
18403
18404 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
18405
b32b8b45
UD
184062010-05-21 Ulrich Drepper <drepper@redhat.com>
18407
18408 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
18409 symbol reference.
18410
9acbe24d
AS
184112010-05-19 Andreas Schwab <schwab@redhat.com>
18412
18413 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
18414 symbol reference.
18415
f0ccf6ea
AS
184162010-05-21 Andreas Schwab <schwab@redhat.com>
18417
3d04ff3a
AS
18418 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
18419 and internal_recvmmsg.
18420 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
18421 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
18422 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
18423 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
18424
f0ccf6ea
AS
18425 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
18426 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18427 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18428
5b08ac57
AS
184292010-05-20 Andreas Schwab <schwab@redhat.com>
18430
18431 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
18432
4828935d
LM
184332010-05-17 Luis Machado <luisgpm@br.ibm.com>
18434
18435 POWER7 optimizations.
18436 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
18437 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
18438
373d545e
UD
184392010-05-19 Ulrich Drepper <drepper@redhat.com>
18440
18441 * version.h: Update for 2.13 development version.
18442
21a2b1ae
AS
184432010-05-12 Andrew Stubbs <ams@codesourcery.com>
18444
18445 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
18446 exceptions. Return 0.
18447
3f7dcb2b
RM
184482010-05-07 Roland McGrath <roland@redhat.com>
18449
18450 * elf/ldconfig.c (main): Add a const.
18451
5f24d53a 184522010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 18453
a160f8d8
UD
18454 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
18455 (args_options): Add no-idn option.
18456 (ahosts_keys_int): Add idn_flags to ai_flags.
18457 (parse_option): Handle 'i' option to clear idn_flags.
18458
5f24d53a
UD
18459 * malloc/malloc.c (_int_free): Possible race in the most recently
18460 added check. Only act on the data if no current modification
18461 happened.
265bb1ce
UD
18462
18463See ChangeLog.17 for earlier changes.
This page took 2.477722 seconds and 5 git commands to generate.