]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Make malloc build for no-threads configurations.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
2ae1ae5c
RM
12012-08-17 Roland McGrath <roland@hack.frob.com>
2
750c1f2a
RM
3 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
4 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
5 Macros removed.
6 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
7 [!NO_THREADS].
8 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
10 Likewise.
11
2ae1ae5c
RM
12 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13 __libc_cleanup_push argument.
14
e66a42f5
RM
15 * bits/param.h: New file.
16 * misc/sys/param.h: New file.
17 * include/sys/param.h: New file.
18 * misc/Makefile (headers): Add bits/param.h.
19 * sysdeps/generic/sys/param.h: File removed.
20 * sysdeps/unix/sysv/linux/bits/param.h: New file.
21 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
22 * sysdeps/mach/hurd/bits/param.h: New file.
23 * sysdeps/mach/hurd/sys/param.h: New file.
24
b7c08a66
RM
25 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
26 last change.
27
b2e1c562
RM
28 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
29 [_IO_MTSAFE_IO].
30 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
32 New macros.
33
c75ccd4c
RM
34 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
35 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
36 rather than -D_IO_MTSAFE_IO conditionally.
37 * stdio-common/Makefile (CPPFLAGS): Likewise.
38 * wcsmbs/Makefile (CPPFLAGS): Likewise.
39 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
40 Use $(libio-mtsafe).
41 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
42 of -D_IO_MTSAFE_IO.
43 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
44 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
45 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
46 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
47 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
48 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
49 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
50 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
51 (CFLAGS-fread_u_chk.c): Likewise.
52 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
53 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
54 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
55 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
56 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
57 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
58 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
59 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
60 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
61
62 * libio/Makefile: Test [$(libc-reentrant) = yes]
63 instead of [$(filter %REENTRANT, $(defines)) nonempty].
64
65 * Makeconfig
66 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
67 * sysdeps/pthread/configure: File removed.
68 * sysdeps/pthread/Makeconfig: New file.
69 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
70 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
71
d9195db8
GB
722012-08-16 Gary Benson <gbenson@redhat.com>
73
74 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
75 unmapping the first object in a namespace.
76
86466cd9
RM
772012-08-16 Roland McGrath <roland@hack.frob.com>
78
79 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
80 (__internal_setnetgrent): ... this. Add internal_function to
81 definition. Add libc_hidden_def.
82 (setnetgrent): Update caller.
83 (internal_endnetgrent): Renamed to ...
84 (__internal_endnetgrent): ... this. Add internal_function to
85 definition. Add libc_hidden_def.
86 (endnetgrent): Update caller.
87 (internal_getnetgrent_r): Renamed to ...
88 (__internal_getnetgrent_r): ... this. Add internal_function to
89 definition. Add libc_hidden_def.
90 (__getnetgrent_r): Update caller.
91 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
92
c3c8283c
JM
932012-08-16 Joseph Myers <joseph@codesourcery.com>
94
95 * stdlib/longlong.h: Update from GCC.
96
db1ee0a8
RM
972012-08-16 Roland McGrath <roland@hack.frob.com>
98
99 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
100 on _QL, which is set by umul_ppmm but never used.
101 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
102 variables, which are set by GMP macros but never used.
103 * stdio-common/_itowa.c (_itowa): Likewise.
104 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
105 * stdlib/mod_1.c (mpn_mod_1): Likewise.
106
30f69637
CD
1072012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
108
109 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
110 struct La_sh_regs is not constant.
111 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
112 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
113 and struct La_sparc64_regs are not constant.
114
93a78ac4
JM
1152012-08-16 Joseph Myers <joseph@codesourcery.com>
116
117 * sysdeps/unix/sysv/linux/kernel-features.h
118 (__ASSUME_POSIX_TIMERS): Remove.
119 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
120 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
121 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
122 Make code unconditional.
123 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
124 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
125 Make code unconditional.
126 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
127 * sysdeps/unix/sysv/linux/clock_nanosleep.c
128 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
129 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
130 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
131 Make code unconditional.
132 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
133 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
134 (__libc_missing_posix_timers): Remove.
135
dd924cd7
RM
1362012-08-15 Roland McGrath <roland@hack.frob.com>
137
4b4f2771
RM
138 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
139 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
140
601c888b
RM
141 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
142
176790a7
RM
143 * elf/dl-sym.c: Include <stdlib.h>.
144
329bc018
RM
145 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
146 constants, which avoids warnings in 32-bit builds.
147
e04e272d
RM
148 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
149 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
150
952bf94a
RM
151 * misc/lseek.c: File moved to ...
152 * io/lseek.c: ... here.
153
7c99b50a
RM
154 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
155
dd924cd7
RM
156 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
157 shifting LEN more than 31 bits at once.
158
b3f479a8
LD
1592012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
160
161 [BZ #14195]
162 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
163 segmentation fault for a case of two empty input strings.
164 * string/test-strncasecmp.c (check1): Renamed to...
165 (bz12205): ...this.
166 (bz14195): Add new testcase for two empty input strings and N > 0.
167 (test_main): Call new testcase, adapt for renamed function.
168
9c55864e
AJ
1692012-08-15 Andreas Jaeger <aj@suse.de>
170
171 [BZ #14090]
172 * crypt/md5test2.c: New test, based on test supplied by Serge
173 Belyshev <belyshev@depni.sinp.msu.ru>.
174 * crypt/Makefile (xtests): Add md5test-giant..
175 * crypt/Makefile ($(objpfx)md5test-giant): Add.
176
02dcb6c5
PE
1772012-08-15 Paul Eggert <eggert@cs.ucla.edu>
178
179 [BZ #14090]
180 * crypt/md5.c (md5_process_block): Don't assume the buffer
181 length is less than 2**32.
182 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
183 length is less than 2**64.
184
a3f95dcc
RM
1852012-08-15 Roland McGrath <roland@hack.frob.com>
186
be75d758
RM
187 * string/str-two-way.h: Include <sys/param.h>.
188 (MAX): Macro removed.
189
7312ca90
RM
190 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
191 Move #define and #undef of memmove to just before and after
192 including <string.h>.
193
9a0a5486
RM
194 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
195 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
196 and after including <string.h>. Move declarations of
197 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
198 to before #include "string/memmove.c".
199
67cc348d
RM
200 * include/dirent.h: Declare __getdirentries.
201
a3f95dcc
RM
202 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
203 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
204
ca98e171
MF
2052012-08-14 Mike Frysinger <vapier@gentoo.org>
206
207 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
208 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
209 * sysdeps/i386/configure: Regenerated.
210 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
211 STABS_CURRENT_FILE, and STABS_FUN.
212 (END): Remove call to STABS_FUN_END.
213 (STABS_CURRENT_FILE1): Delete.
214 (STABS_CURRENT_FILE): Likewise.
215 (STABS_FUN): Likewise.
216 (STABS_FUN_END): Likewise.
217 (STABS_FUN2): Likewise.
218 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
219 * sysdeps/x86_64/configure: Regenerated.
220
5908bf46
RM
2212012-08-14 Roland McGrath <roland@hack.frob.com>
222
223 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 224 * elf/dl-lookup.c: Likewise.
5908bf46 225
f2c05b9e
JM
2262012-08-14 Joseph Myers <joseph@codesourcery.com>
227
228 * sysdeps/unix/sysv/linux/kernel-features.h
229 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
230 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
231 unconditionally.
232 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
233 unconditionally.
234 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
235 condition on __ASSUME_CLONE_THREAD_FLAGS.
236
e11f5155
AJ
2372012-08-14 Andreas Jaeger <aj@suse.de>
238
239 * sysdeps/i386/fpu/libm-test-ulps: Update.
240
51a9ba86
MK
2412012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
242
2fdd4f78
AJ
243 * include/atomic.h (atomic_exchange_and_add): Split into ...
244 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
245 New atomic macros.
51a9ba86 246
ba6cba9e
MT
2472012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
248
249 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
250
42443a47
JL
2512012-08-13 Jeff Law <law@redhat.com>
252
253 * manual/stdio.texi (snprintf): Clarify handling of the trailing
254 null byte in the output string.
255
121dce05
JM
2562012-08-10 Joseph Myers <joseph@codesourcery.com>
257
258 * sysdeps/unix/sysv/linux/kernel-features.h
259 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
260 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
261 (__ASSUME_ARG_MAX_STACK_BASED): Define.
262 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
263 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
264 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
265 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
266
bf51f568
JL
2672012-08-09 Jeff Law <law@redhat.com>
268
269 [BZ #13939]
270 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
271 When avoid_arena is set, don't retry in the that arena. Pick the
272 next one, whatever it might be.
273 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
274 (arena_lock): Pass in new parameter to arena_get2.
275 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
276 arena_get2.
277 (__libc_malloc): Unify retrying after main arena failure with
278 __libc_memalign version.
279 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
280
f85fa270
L
2812012-08-09 H.J. Lu <hongjiu.lu@intel.com>
282
283 [BZ #14166]
284 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
285 to __redirect_strstr.
286 (__strstr_sse42): Use typeof __redirect_strstr.
287 (__strstr_ia32): Likewise.
288 (__libc_strstr): New prototype.
289 (strstr): Renamed to ...
290 (__libc_strstr): This.
291 (strstr): New strong alias of __libc_strstr.
292 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
293 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
294 __redirect_time.
295 Include <time.h>.
296 (__libc_time): New prototype.
297 (time_ifunc): Replace time with __libc_time.
298 (time): New strong alias and hidden definition of __libc_time.
299 (__GI_time): Remove strong alias.
300 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
301 Include <stddef.h>.
302 (memmove): Redefined to __redirect_memmove.
303 (__memmove_sse2): Use typeof __redirect_memmove.
304 (__memmove_ssse3): Likewise.
305 (__memmove_ssse3_back): Likewise.
306 (__libc_memmove): New prototype.
307 (memmove): Renamed to ...
308 (__libc_memmove): This.
309 (memmove): New strong alias of __libc_memmove.
310
33b4a91e
MS
3112012-08-08 Mark Salter <msalter@redhat.com>
312
313 * elf/elf.h
314 (R_MN10300_TLS_GD): Define.
315 (R_MN10300_TLS_LD): Likewise.
316 (R_MN10300_TLS_LDO): Likewise.
317 (R_MN10300_TLS_GOTIE): Likewise.
318 (R_MN10300_TLS_IE): Likewise.
319 (R_MN10300_TLS_LE): Likewise.
320 (R_MN10300_TLS_DTPMOD): Likewise.
321 (R_MN10300_TLS_DTPOFF): Likewise.
322 (R_MN10300_TLS_TPOFF): Likewise.
323 (R_MN10300_SYM_DIFF): Likewise.
324 (R_MN10300_ALIGN): Likewise.
325 (R_MN10300_NUM): Update.
326
b36137f1
JM
3272012-08-08 Joseph Myers <joseph@codesourcery.com>
328
329 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
330 Remove.
331
cdd915fd
RM
3322012-08-08 Roland McGrath <roland@hack.frob.com>
333
a2433aac
RM
334 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
335
cdd915fd
RM
336 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
337 sysdeps/unix -> sysdeps/posix move.
338 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
339
bf9b740a
AM
3402012-08-07 Allan McRae <allan@archlinux.org>
341
342 [BZ #14303]
343 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
344 (SUNOS_CPP): Likewise.
345 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
346 not found.
347 (open_input): Call CPP using execvp.
348
93df14ee
JM
3492012-08-07 Joseph Myers <joseph@codesourcery.com>
350
351 * sysdeps/unix/sysv/linux/kernel-features.h
352 (__ASSUME_PROT_GROWSUPDOWN): Remove.
353 (__ASSUME_NO_CLONE_DETACHED): Likewise.
354 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
355 (__ASSUME_WAITID_SYSCALL): Likewise.
356 * sysdeps/unix/sysv/linux/dl-execstack.c
357 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
358 code unconditional.
359 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
360 conditional code.
361 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
362 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
363 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
364 code.
365 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
366 unconditional.
367 [__ASSUME_WAITID_SYSCALL]: Likewise.
368 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
369
d34689de
RM
3702012-08-07 Roland McGrath <roland@hack.frob.com>
371
a281decc
RM
372 * sysdeps/unix/closedir.c: Renamed to ...
373 * sysdeps/posix/closedir.c: ... here.
374 * sysdeps/unix/dirfd.c: Renamed to ...
375 * sysdeps/posix/dirfd.c: ... here.
376 * sysdeps/unix/dirstream.h: Renamed to ...
377 * sysdeps/posix/dirstream.h: ... here.
378 * sysdeps/unix/fdopendir.c: Renamed to ...
379 * sysdeps/posix/fdopendir.c: ... here.
380 * sysdeps/unix/opendir.c: Renamed to ...
381 * sysdeps/posix/opendir.c: ... here.
382 * sysdeps/unix/readdir.c: Renamed to ...
383 * sysdeps/posix/readdir.c: ... here.
384 * sysdeps/unix/readdir_r.c: Renamed to ...
385 * sysdeps/posix/readdir_r.c: ... here.
386 * sysdeps/unix/rewinddir.c: Renamed to ...
387 * sysdeps/posix/rewinddir.c: ... here.
388 * sysdeps/unix/seekdir.c: Renamed to ...
389 * sysdeps/posix/seekdir.c: ... here.
390 * sysdeps/unix/telldir.c: Renamed to ...
391 * sysdeps/posix/telldir.c: ... here.
392 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
393 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
394 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
395 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
396
22895b47
RM
397 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
398 * bits/fcntl.h: ... here.
399
707a53b6
RM
400 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
401 not 0.
402 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
403 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
404 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
405 (struct flock): Move l_start, l_len to the beginning.
406 Use __pid_t for l_pid.
407 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
408 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
409 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
410 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
411 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
412 [__USE_LARGEFILE64] (struct flock64): New type.
413 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
414
f0bd3e25
RM
415 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
416 * bits/dirent.h: ... here.
417
d34689de
RM
418 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
419 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
420
6dad2c06
JM
4212012-08-07 Joseph Myers <joseph@codesourcery.com>
422
423 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
424 Change from 2.6.0 to 2.6.16.
425 * sysdeps/unix/sysv/linux/configure: Regenerated.
426 * sysdeps/unix/sysv/linux/kernel-features.h
427 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
428 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
429 version.
430 (__ASSUME_UTIMES): Likewise.
431 (__ASSUME_CLONE_STOPPED): Remove.
432 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
433 architectures, not kernel version.
434 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
435 (__ASSUME_NO_CLONE_DETACHED): Likewise.
436 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
437 (__ASSUME_WAITID_SYSCALL): Likewise.
438 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
439 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
440 * README: State 2.6.16 as minimum Linux kernel version. Do not
441 refer to older versions.
442
03af9520
RM
4432012-08-06 Roland McGrath <roland@hack.frob.com>
444
8e49df1d
RM
445 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
446 Define alphasort64 as an alias.
447 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
448 Define versionsort64 as an alias.
449 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
450 Define scandir64 as an alias.
451 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
452 Define scandirat64 as an alias.
453 * dirent/alphasort64.c (alphasort64):
454 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
455 * dirent/versionsort64.c: Likewise.
456 * dirent/scandir64.c: Likewise.
457 * dirent/scandirat64.c: Likewise.
458 * sysdeps/wordsize-64/alphasort.c: File removed.
459 * sysdeps/wordsize-64/alphasort64.c: File removed.
460 * sysdeps/wordsize-64/scandir.c: File removed.
461 * sysdeps/wordsize-64/scandir64.c: File removed.
462 * sysdeps/wordsize-64/scandirat.c: File removed.
463 * sysdeps/wordsize-64/scandirat64.c: File removed.
464 * sysdeps/wordsize-64/versionsort.c: File removed.
465 * sysdeps/wordsize-64/versionsort64.c: File removed.
466 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
467 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
468 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
469 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
470 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
471 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
472 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
473 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
474
475 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
476 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
477 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
478 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
479 [defined __arch64__ || defined __sparcv9]
480 (__INO_T_MATCHES_INO64_T): New macro.
481 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
482 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
483 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
484 * sysdeps/unix/sysv/linux/bits/dirent.h
485 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
486 (_DIRENT_MATCHES_DIRENT64): New macro.
487
03af9520
RM
488 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
489 Define lockf64 as an alias.
490 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
491 Define fseeko64 as an alias.
492 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
493 Define ftello64 as an alias.
494 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
495 Define _IO_fgetpos64 and fgetpos64 as aliases.
496 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
497 Define _IO_fsetpos64 and fsetpos64 as aliases.
498 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
499 Conditionalize body on this.
500 * libio/fseeko64.c: Likewise.
501 * libio/ftello64.c: Likewise.
502 * libio/iofgetpos64.c: Likewise.
503 * libio/iofsetpos64.c: Likewise.
504 * sysdeps/wordsize-64/lockf.c: File removed.
505 * sysdeps/wordsize-64/lockf64.c: File removed.
506 * sysdeps/wordsize-64/fseeko.c: File removed.
507 * sysdeps/wordsize-64/fseeko64.c: File removed.
508 * sysdeps/wordsize-64/ftello.c: File removed.
509 * sysdeps/wordsize-64/ftello64.c: File removed.
510 * sysdeps/wordsize-64/iofgetpos.c: File removed.
511 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
512 * sysdeps/wordsize-64/iofsetpos.c: File removed.
513 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
514 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
515 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
516 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
517 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
518 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
519 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
520 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
521 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
522 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
523 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
524
525 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
526 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
527 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
528 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
529 [defined __arch64__ || defined __sparcv9]
530 (__OFF_T_MATCHES_OFF64_T): New macro.
531 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
532 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
533 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
534 (__OFF_T_MATCHES_OFF64_T): New macro.
535
c5757acd
L
5362012-08-06 H.J. Lu <hongjiu.lu@intel.com>
537
538 * stdlib/secure-getenv.c (__secure_getenv): Replace
539 GLIBC_2_16 with GLIBC_2_17.
540
3a31811e
L
5412012-08-06 H.J. Lu <hongjiu.lu@intel.com>
542
543 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
544 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
545
faa2bccb
DM
5462012-08-03 David S. Miller <davem@davemloft.net>
547
548 * sysdeps/sparc/fpu/libm-test-ulps: Update.
549
85fe1997
JM
5502012-08-03 Joseph Myers <joseph@codesourcery.com>
551
552 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
553 Remove.
554 (__ASSUME_CORRECT_SI_PID): Likewise.
555 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
556 (__ASSUME_TMPFS_NAME): Likewise.
557 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
558 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
559 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
560 (HAVE_AUX_SECURE): Make definition unconditional.
561 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
562 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
563
4f75b7a0
RM
5642012-08-03 Roland McGrath <roland@hack.frob.com>
565
566 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
567 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
568 * sysdeps/mach/hurd/eloop-threshold.h: New file.
569 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
570 __eloop_threshold instead of SYMLOOP_MAX.
571
572 * sysdeps/generic/eloop-threshold.h: New file.
573 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
574 of MAXSYMLINKS.
575 * elf/chroot_canon.c (chroot_canon): Likewise.
576
7aab07e4
JM
5772012-08-03 Joseph Myers <joseph@codesourcery.com>
578
579 [BZ #13717]
580 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
581 Change to 2.6.0 everywhere.
582 * sysdeps/unix/sysv/linux/configure: Regenerated.
583 * sysdeps/unix/sysv/linux/kernel-features.h
584 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
585 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
586 kernel versions.
587 (__ASSUME_POSIX_TIMERS): Define unconditionally.
588 (__ASSUME_FUTEX_REQUEUE): Remove.
589 (__ASSUME_STATFS64): Define unconditionally.
590 (__ASSUME_AT_SECURE): Likewise.
591 (__ASSUME_CORRECT_SI_PID): Likewise.
592 (__ASSUME_TGKILL): Define without depending on kernel version for
593 i386.
594 (__ASSUME_UTIMES): Likewise.
595 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
596 kernel version.
597 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
598 (__ASSUME_TMPFS_NAME): Likewise.
599 * README: Update reference to Linux kernel versions.
600
b67e9372
MP
6012012-08-02 Marek Polacek <polacek@redhat.com>
602
603 [BZ#14150]
604 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
605 libc_cv_asm_type_prefix with %.
606 * configure: Regenerated.
d2441631
RM
607 * include/libc-symbols.h: Remove comment about
608 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
609 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
610 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
611 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
612 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
613 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
614 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
615 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
616 * elf/tst-unique2mod1.c: Likewise.
617 * elf/tst-unique1mod2.c: Likewise.
618 * elf/tst-unique1mod1.c: Likewise.
619 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
620 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
621 Replace ASM_TYPE_DIRECTIVE with .type.
622 * sysdeps/s390/s390-64/sysdep.h: Likewise.
623 * sysdeps/i386/sysdep.h: Likewise.
624 * sysdeps/x86_64/sysdep.h: Likewise.
625 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
627 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 628 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
629 * sysdeps/powerpc/powerpc32/sysdep.h:
630 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
631 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
632 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
633 * sysdeps/i386/fpu/e_powf.S: Likewise.
634 * sysdeps/i386/fpu/e_expl.S: Likewise.
635 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
636 * sysdeps/i386/fpu/e_acosh.S: Likewise.
637 * sysdeps/i386/fpu/e_pow.S: Likewise.
638 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
639 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
640 * sysdeps/i386/fpu/s_expm1.S: Likewise.
641 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
642 * sysdeps/i386/fpu/e_log2.S: Likewise.
643 * sysdeps/i386/fpu/e_log2l.S: Likewise.
644 * sysdeps/i386/fpu/e_scalb.S: Likewise.
645 * sysdeps/i386/fpu/e_powl.S: Likewise.
646 * sysdeps/i386/fpu/e_log10f.S: Likewise.
647 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
648 * sysdeps/i386/fpu/e_logl.S: Likewise.
649 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
650 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
651 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
652 * sysdeps/i386/fpu/e_log2f.S: Likewise.
653 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
654 * sysdeps/i386/fpu/e_log.S: Likewise.
655 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
656 * sysdeps/i386/fpu/e_logf.S: Likewise.
657 * sysdeps/i386/fpu/e_log10l.S: Likewise.
658 * sysdeps/i386/fpu/e_atanh.S: Likewise.
659 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
660 * sysdeps/i386/fpu/e_log10.S: Likewise.
661 * sysdeps/i386/fpu/s_frexp.S: Likewise.
662 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
663 * sysdeps/i386/fpu/s_asinh.S: Likewise.
664 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
665 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
666 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
667 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
668 * sysdeps/i386/i686/strtok.S: Likewise.
669 * sysdeps/i386/i386-mcount.S: Likewise.
670 * sysdeps/i386/strtok.S: Likewise.
671 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
672 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
673 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
674 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
675 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
676 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
677 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
678 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
679 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
680 * sysdeps/x86_64/_mcount.S: Likewise.
681 * sysdeps/x86_64/strtok.S: Likewise.
682 * sysdeps/sh/_mcount.S: Likewise.
683
2747bf9a
RM
6842012-08-01 Roland McGrath <roland@hack.frob.com>
685
686 * libio/iofopen.c: Include <fcntl.h>.
687 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
688 (_IO_fopen64, fopen64): Define as aliases.
689 * libio/iofopen64.c: Include <fcntl.h>.
690 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
691 Conditionalize body on this.
692 * sysdeps/wordsize-64/iofopen.c: File removed.
693 * sysdeps/wordsize-64/iofopen64.c: File removed.
694
3fb791b8
MP
6952012-08-01 Marek Polacek <polacek@redhat.com>
696
697 * libc/Makeconfig: Use elf in place of binfmt-subdir.
698 Use dlfcn directly instead of a variable.
699 (binfmt-subdir): Do not define.
700 (dlfcn): Likewise.
701
a9f1039f
JM
7022012-08-01 Joseph Myers <joseph@codesourcery.com>
703
23bddc06
JM
704 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
705 Remove all definitions.
706 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
707 <kernel-features.h>.
708 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
709 (miss_F_GETOWN_EX): Remove all definitions.
710 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
711 macro definition.
712 [!__ASSUME_FCNTL64]: Remove conditional code.
713 [__ASSUME_FCNTL64]: Make code unconditional.
714 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
715 <kernel-features.h>.
716 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
717 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
718 (lockf64) [__NR_fcntl64]: Make code unconditional.
719 (lockf64) [__ASSUME_FCNTL64]: Likewise.
720
a9f1039f
JM
721 * sysdeps/unix/sysv/linux/kernel-features.h
722 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
723 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
724 Make code unconditional.
725 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
726 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
728 [__NR_vfork]: Make code unconditional.
729 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
730 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
732 [__NR_vfork]: Make code unconditional.
733 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
734 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
735
09c0ee5f
RM
7362012-08-01 Roland McGrath <roland@hack.frob.com>
737
48aec5b9
RM
738 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
739 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
740
cd97c966
RM
741 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
742 Define mkstemp64 as an alias.
3f55550c
RM
743 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
744 Define mkstemps64 as an alias.
cd97c966
RM
745 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
746 Define mkostemp64 as an alias.
b8625cfc
RM
747 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
748 Define mkostemps64 as an alias.
cd97c966
RM
749 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
750 Conditionalize body on this.
751 * misc/mkostemp64.c: Likewise.
b8625cfc 752 * misc/mkostemps64.c: Likewise.
3f55550c 753 * misc/mkstemps64.c: Likewise.
cd97c966
RM
754 * sysdeps/wordsize-64/mkstemp64.c: File removed.
755 * sysdeps/wordsize-64/mkostemp64.c: File removed.
756 * sysdeps/wordsize-64/mkostemp.c: File removed.
757 * sysdeps/wordsize-64/mkstemp.c: File removed.
758 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
759 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
760 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
761 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
762
09c0ee5f
RM
763 [BZ #14138]
764 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
765 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
766 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
767 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
768
769 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
770 compat_symbol macros from <shlib-compat.h> rather than the underlying
771 default_symbol_version and symbol_version macros, so that DEFAULT
772 lines in shlib-versions are respected.
773 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
774
7e66ee51
FW
7752012-08-01 Florian Weimer <fweimer@redhat.com>
776
777 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
778 Declare with warn_unused_result.
779 (setgid, setregid, setegid, setresgid): Likewise.
780 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
781 Likewise.
782 * WUR-REPORT: Remove set*id functions.
783
d2a54255
PT
7842012-07-31 Pino Toscano <toscano.pino@tiscali.it>
785
786 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
787
7ecdb005
RM
7882012-07-31 Roland McGrath <roland@hack.frob.com>
789
789bd351
RM
790 * include/sys/socket.h (__libc_accept, __libc_accept4):
791 Add attribute_hidden.
792 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
793
40ce302d
RM
794 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
795 use of PTR_MANGLE.
796 * inet/getnetgrent_r.c (setup): Likewise.
797
7ecdb005
RM
798 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
799
e2eabb2c
DM
8002012-07-31 David S. Miller <davem@davemloft.net>
801
802 * sysdeps/sparc/fpu/libm-test-ulps: Update.
803
d0419dbf
JM
8042012-07-31 Joseph Myers <joseph@codesourcery.com>
805
806 [BZ #13629]
807 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
808 value between 1.0 and 2.0 and smaller part has absolute value less
809 than 1.0.
810 * math/s_clog10.c (__clog10): Likewise.
811 * math/s_clog10f.c (__clog10f): Likewise.
812 * math/s_clog10l.c (__clog10l): Likewise.
813 * math/s_clogf.c (__clogf): Likewise.
814 * math/s_clogl.c (__clogl): Likewise.
815 * math/libm-test.inc (clog_test): Add more tests.
816 (clog10_test): Likewise.
817 * sysdeps/i386/fpu/libm-test-ulps: Update.
818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
819
2bc13872
FW
8202012-07-31 Florian Weimer <fweimer@redhat.com>
821
822 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
823 Exit with zero in case no suitable GID is found, and write a
824 message to standard error.
825
bea9b193
RM
8262012-07-30 Roland McGrath <roland@hack.frob.com>
827
828 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
829 rather than to 1.
830 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
831 (MAXPATHLEN): Removed.
832 (NOGROUP, NODEV): New macros.
833 (setbit, clrbit, isset, isclr): New macros.
834 (howmany, roundup, powerof2): New macros.
835 (DEV_BSIZE): New macro.
836
837 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
838 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
839
840 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
841 definition on [!__NO_LONG_DOUBLE_MATH].
842
843 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
844 PTR_MANGLE and PTR_DEMANGLE.
845
846 * socket/accept4.c (accept4): Rename to __libc_accept4.
847 Define accept4 as a weak alias.
848
849 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
850 on [_DIRENT_HAVE_D_TYPE].
851 * io/ftw.c (ftw_dir): Likewise.
852
853 * io/xmknod.c (__xmknod): Don't check PATH for being null.
854
855 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
856
857 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
858 Use the BSD numbers rather than the arbitrary ones we had.
859 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
860 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
861 (SIGXCPU, SIGXFSZ): New macros.
862 (_NSIG): Now 32.
863
864 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
865 initializer on [_LIBC_REENTRANT].
866
867 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
868 definitions inside [_POSIX_MAPPED_FILES].
869
870 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
871
872 * dirent/opendir.c: Include <fcntl.h>.
873
874 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
875 (__libc_getspecific): Likewise.
876 (__libc_key_create): Likewise.
877
878 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
879 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
880 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
881 (tmpfile64): Define as alias.
882 * sysdeps/wordsize-64/tmpfile.c: File removed.
883 * sysdeps/wordsize-64/tmpfile64.c: File removed.
884 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
885 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
886
887 * stdio-common/vfscanf.c: Include <stdbool.h>.
888 * nss/makedb.c: Likewise.
889 * stdio-common/_i18n_number.h: Likewise.
890 * argp/argp-help.c: Likewise.
891 * posix/wordexp.c: Likewise.
892 * sysdeps/posix/spawni.c: Likewise.
893 * nss/nss_files/files-initgroups.c: Likewise.
894 * stdio-common/reg-modifier.c: Include <stdlib.h>.
895 * nss/nss_files/files-initgroups.c: Likewise.
896 * nss/nss_db/db-netgrp.c: Likewise.
897 * nss/nss_db/db-initgroups.c: Likewise.
898 * io/fchmodat.c: Include <sys/stat.h>.
899
900 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
901 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
902
903 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
904 [HAVE_MMAP].
905
906 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
907 Add multiple inclusion protection.
908
e5abc686
DM
9092012-07-27 David S. Miller <davem@davemloft.net>
910
911 * sysdeps/sparc/fpu/libm-test-ulps: Update.
912
815e6fa3
GB
9132012-07-27 Gary Benson <gbenson@redhat.com>
914
915 [BZ #14298]
916 * elf/rtld.c: Include <stap-probe.h>.
917 (dl_main): Added static probes "init_start" and "init_complete".
918 * elf/dl-load.c: Include <stap-probe.h>.
919 (lose): Take new parameter "nsid".
920 Added static probe "map_failed".
921 (_dl_map_object_from_fd): Pass namespace id to lose.
922 Added static probe "map_start".
923 (open_verify): Pass namespace id to lose.
924 * elf/dl-open.c: Include <stap-probe.h>.
925 (dl_open_worker) Added static probes "map_complete", "reloc_start"
926 and "reloc_complete".
927 * elf/dl-close.c: Include <stap-probe.h>.
928 (_dl_close_worker): Added static probes "unmap_start" and
929 "unmap_complete".
930 * elf/rtld-debugger-interface.txt: New file documenting the above.
931
9f98c16c
RM
9322012-07-26 Roland McGrath <roland@hack.frob.com>
933
934 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
935 rather than a string variable.
936 * sunrpc/rpc_main.c (h_output): Likewise.
937 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
938
f3c22df3
PT
9392012-07-26 Pino Toscano <toscano.pino@tiscali.it>
940
941 * inet/check_native.c: New file.
942
3129cfc6
JM
9432012-07-26 Joseph Myers <joseph@codesourcery.com>
944
da865e95
JM
945 [BZ #13629]
946 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
947 if larger part has absolute value 1.0.
948 * math/s_clog10.c (__clog10): Likewise.
949 * math/s_clog10f.c (__clog10f): Likewise.
950 * math/s_clog10l.c (__clog10l): Likewise.
951 * math/s_clogf.c (__clogf): Likewise.
952 * math/s_clogl.c (__clogl): Likewise.
953 * math/libm-test.inc (clog_test): Add more tests.
954 (clog10_test): Likewise.
955 * sysdeps/i386/fpu/libm-test-ulps: Update.
956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
957
3129cfc6
JM
958 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
959 (pltexit): Likewise.
960 (La_regs): Likewise.
961 (La_retval): Likewise.
962 (int_retval): Likewise.
963 Update #error for removed macros to refer only to definitions in
964 tst-audit.h.
965 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
966 macro.
967 (pltexit): Likewise.
968 (La_regs): Likewise.
969 (La_retval): Likewise.
970 (int_retval): Likewise.
971 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
972 macro.
973 (pltexit): Likewise.
974 (La_regs): Likewise.
975 (La_retval): Likewise.
976 (int_retval): Likewise.
977 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
978 macro.
979 (pltexit): Likewise.
980 (La_regs): Likewise.
981 (La_retval): Likewise.
982 (int_retval): Likewise.
983 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
984 macro.
985 (pltexit): Likewise.
986 (La_regs): Likewise.
987 (La_retval): Likewise.
988 (int_retval): Likewise.
989 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
990 macro.
991 (pltexit): Likewise.
992 (La_regs): Likewise.
993 (La_retval): Likewise.
994 (int_retval): Likewise.
995 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
996 macro.
997 (pltexit): Likewise.
998 (La_regs): Likewise.
999 (La_retval): Likewise.
1000 (int_retval): Likewise.
1001 * sysdeps/generic/tst-audit.h: Update comment to refer only to
1002 macro definitions in tst-audit.h.
1003 * sysdeps/i386/tst-audit.h: New file.
1004 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
1005 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
1006 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
1007 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
1008 * sysdeps/sh/tst-audit.h: Likewise.
1009 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
1010 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
1011 * sysdeps/x86_64/tst-audit.h: Likewise.
1012
bfc07087
AJ
10132012-07-26 Andreas Jaeger <aj@suse.de>
1014
b1b2aaf8
AJ
1015 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
1016 ptrace.
1017
1018 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
1019 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
1020 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
1021 PTRACE_O_MASK.
1022 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
1023 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
1024 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
1025
bfc07087
AJ
1026 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
1027 value.
1028
1029 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
1030 _sigsys.
1031 (si_call_addr, si_syscall, si_arch): Define new macro.
1032 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
1033 _sigsys.
1034 (si_call_addr, si_syscall, si_arch): Define new marcro.
1035 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
1036 _sigsys.
1037 (si_call_addr, si_syscall, si_arch): Define new macro.
1038 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
1039 _sigsys.
1040 (si_call_addr, si_syscall, si_arch): Define new macro.
1041
89b4b02f
JM
10422012-07-25 Joseph Myers <joseph@codesourcery.com>
1043
1044 [BZ #13717]
1045 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1046 Change to 2.4.21 where previously 2.4.1.
1047 * sysdeps/unix/sysv/linux/configure: Regenerated.
1048 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
1049 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
1050 Linux kernel version.
1051 (__ASSUME_STD_AUXV): Remove.
1052 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
1053 kernel version.
1054 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
1055 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
1056 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
1057 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
1058 (__ASSUME_NETLINK_SUPPORT): Likewise.
1059 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
1060 (__no_netlink_support): Remove conditional definition.
1061 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
1062 Remove.
1063 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1064 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
1065 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
1066 (if_nameindex_ioctl): Remove.
1067 (if_nameindex_netlink): Do not handle __no_netlink_support.
1068 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1069 code.
1070 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
1071 Remove conditional code.
1072 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1073 code.
1074 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
1075 unconditional.
1076 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1077 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
1078 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
1079 Remove.
1080 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1081 [!__ASSUME_STD_AUXV]: Remove conditional code.
1082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
1083 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
1084 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
1085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
1086 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
1087 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1088 code.
1089 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1091 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
1092 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1093 conditional code.
1094 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1096 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1097 code.
1098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1099 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1100 conditional code.
1101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
1102 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1103 code unconditional.
1104 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1105 conditional code.
1106 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1107 unconditional.
1108 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1109 conditional code.
1110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1111 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1112 unconditional.
1113 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1114 conditional code.
1115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1116 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1117 code unconditional.
1118 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1119 conditional code.
1120 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1121 unconditional.
1122 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1123 conditional code.
1124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1125 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1126 code unconditional.
1127 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1128 conditional code.
1129 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1130 unconditional.
1131 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1132 conditional code.
1133
842a39cd
AS
11342012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1135
1136 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
1137 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
1138 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1139 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
1140 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1141 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1142 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1143 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1144 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1145 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1146 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
1147 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1148 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
1149 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1150 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1151 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
1152 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1153 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
1154 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
1155 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
1156 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1157 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1158 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1159
84b3fd84
FW
11602012-07-25 Florian Weimer <fweimer@redhat.com>
1161
1162 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
1163 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
1164 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
1165 Introduce __libc_secure_getenv.
0c7936d5
FW
1166 * stdlib/Versions (2.17): Add secure_getenv
1167 (GLIBC_PRIVATE): Add __libc_secure_getenv.
1168 * stdlib/secure-getenv.c: Rename __secure_getenv to
1169 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
1170 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
1171 * stdlib/tst-secure-getenv.c: New.
1172 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
1173 * manual/startup.texi (Environment Access): Document
1174 secure_getenv.
84b3fd84
FW
1175 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
1176 __libc_secure_getenv.
1177 * inet/ruserpass.c (ruserpass): Likewise.
1178 * malloc/mtrace.c (mtrace): Likewise.
1179 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 1180 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
1181 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
1182 * sysdeps/posix/tempname.c: Likewise. Evaluate
1183 HAVE_SECURE_GETENV.
1184 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 1185 __secure_getenv to __libc_secure_getenv.
84b3fd84 1186 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
1187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1188 Likewise.
1189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1190 Likewise.
1191 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1192 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1193 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1194 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1195 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1196 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1197 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 1198
56e49b71
JM
11992012-07-25 Joseph Myers <joseph@codesourcery.com>
1200
1201 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
1202 (struct La_i86_retval): Likewise.
1203 (struct La_x86_64_regs): Likewise.
1204 (struct La_x86_64_retval): Likewise.
1205 (struct La_x32_regs): Likewise.
1206 (struct La_x32_retval): Likewise.
1207 (struct La_ppc32_regs): Likewise.
1208 (struct La_ppc32_retval): Likewise.
1209 (struct La_ppc64_regs): Likewise.
1210 (struct La_ppc64_retval): Likewise.
1211 (struct La_sh_regs): Likewise.
1212 (struct La_sh_retval): Likewise.
1213 (struct La_s390_32_regs): Likewise.
1214 (struct La_s390_32_retval): Likewise.
1215 (struct La_s390_64_regs): Likewise.
1216 (struct La_s390_64_retval): Likewise.
1217 (struct La_sparc32_regs): Likewise.
1218 (struct La_sparc32_retval): Likewise.
1219 (struct La_sparc64_regs): Likewise.
1220 (struct La_sparc64_retval): Likewise.
1221 (struct audit_ifaces): Remove architecture-specific pltenter and
1222 pltexit members.
1223 * sysdeps/i386/ldsodefs.h: New file.
1224 * sysdeps/powerpc/ldsodefs.h: Likewise.
1225 * sysdeps/s390/ldsodefs.h: Likewise.
1226 * sysdeps/sh/ldsodefs.h: Likewise.
1227 * sysdeps/sparc/ldsodefs.h: Likewise.
1228 * sysdeps/x86_64/ldsodefs.h: Likewise.
1229
354691b7
MP
12302012-07-25 Marek Polacek <polacek@redhat.com>
1231
1232 [BZ #6808]
1233 * math/libm-test.inc (yn_test): Add another test.
1234 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
1235 to ERANGE when the result is +-Inf.
1236 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1237 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1238 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
1239 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
1240
bf9e2071
JM
12412012-07-24 Joseph Myers <joseph@codesourcery.com>
1242
1243 * conform/data/time.h-data (NULL): Use macro-constant. Require
1244 equal to 0.
1245 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
1246 clock_t.
1247 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
1248
57633811
TS
12492012-07-23 Thomas Schwinge <thomas@codesourcery.com>
1250
1251 * configure.in <sysdeps resolving>: Correct printing
1252 Implies_before.
1253 * configure: Regenerate.
1254
c23c33b0
TS
12552012-07-22 Thomas Schwinge <thomas@codesourcery.com>
1256
1257 * math/w_ilogb.c: Include <limits.h>.
1258 * math/w_ilogbl.c: Likewise.
1259
b5982523
JM
12602012-07-20 Joseph Myers <joseph@codesourcery.com>
1261
1262 * manual/lang.texi (__va_copy): Document primarily as ISO C99
1263 va_copy. Document allowing for unavailable va_copy only as
1264 pre-C99 compatibility.
1265 * manual/string.texi (Copying and Concatenation): Use va_copy
1266 instead of __va_copy in concat example.
1267
ac4ea442
PT
12682012-07-20 Pino Toscano <toscano.pino@tiscali.it>
1269
1270 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1271 (__sendto): Use create_address_port. Initialize APORT and deallocate
1272 it if not null.
1273
f98eafbd
PT
1274 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1275 with O_NOLINK passed to __file_name_lookup.
1276
898c7aab
PT
1277 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1278 with O_NOLINK passed to __file_name_lookup.
1279
0ced335a
PT
1280 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1281 negative N or less than NGIDS.
1282
b3404dbd
PT
1283 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1284 type to string_t. Set ERANGE as errno and return it if NAME is not big
1285 enough. Use memcpy instead of strncpy.
1286
0f48659e
JM
12872012-07-20 Joseph Myers <joseph@codesourcery.com>
1288
1289 * elf/Makefile (check-data): Remove.
1290 (localplt.data): New vpath directive.
1291 ($(objpfx)check-localplt.out): Use localplt.data from vpath
1292 instead of $(check-data).
1293 * scripts/data/localplt-generic.data: Move to ...
1294 * sysdeps/generic/localplt.data: ... here.
1295 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1296 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1297 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1299 ... here.
1300 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1302 ... here.
1303 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1304 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1305 ... here.
1306 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1307 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1308 ... here.
1309 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1310 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1311 ... here.
1312 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1313 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1314 ... here.
1315
d37cbdaa
AZ
13162012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1317
1318 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1319 PPC32 and PPC64 files.
1320 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1321 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1322
46f85fc2
AK
13232012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1324
1325 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1326 __makecontext_ret to ...
1327 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1328 ... here and call exit if uc_link is NULL. New file.
1329 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1330 __makecontext_ret.S.
1331 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1332 __makecontext_ret to ...
1333 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1334 ... here and call exit if uc_link is NULL. New file.
1335 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1336 __makecontext_ret.S.
1337
08f43f9b
AK
13382012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1339
1340 * elf/elf.h (R_390_IRELATIVE): New definition.
1341 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1342 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
1343 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1344 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1345 (elf_machine_lazy_rel): Likewise.
1346 * sysdeps/s390/dl-irel.h: New file.
1347 * sysdeps/s390/s390-64/memcpy.S: New asm code.
1348 * sysdeps/s390/s390-64/memset.S: New asm code.
1349 * sysdeps/s390/s390-64/memcmp.S: New asm code.
1350 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
1351 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
1352 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
1353 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
1354 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
1355 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
1356 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
1357 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
1358 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
1359 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
1360 * sysdeps/s390/s390-32/memcpy.S: New asm code.
1361 * sysdeps/s390/s390-32/memset.S: New asm code.
1362 * sysdeps/s390/s390-32/memcmp.S: New asm code.
1363
3b05db33
MP
13642012-07-17 Marek Polacek <polacek@redhat.com>
1365
1366 [BZ #14349]
1367 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
1368 * sysdeps/s390/s390-64/configure.in: Likewise.
1369 * sysdeps/sparc/configure.in: Likewise.
1370 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
1371 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
1372 * sysdeps/i386/configure.in: Likewise.
1373 * sysdeps/x86_64/configure.in: Likewise.
1374 * sysdeps/sh/configure.in: Likewise.
1375 * sysdeps/s390/s390-32/configure: Regenerated.
1376 * sysdeps/s390/s390-64/configure: Likewise.
1377 * sysdeps/x86_64/configure: Likewise.
1378 * sysdeps/sh/configure: Likewise.
1379 * sysdeps/powerpc/powerpc64/configure: Likewise.
1380 * sysdeps/powerpc/powerpc32/configure: Likewise.
1381 * sysdeps/sparc/configure: Likwise.
1382 * sysdeps/i386/configure: Likewise.
1383
a66877c6
MP
1384 * elf/dl-open.c: Comment fixes.
1385
cfc82fd8
JM
13862012-07-17 Joseph Myers <joseph@codesourcery.com>
1387
bd29910a
JM
1388 * Makefile [CXX] (check-data): Remove.
1389 [CXX] (c++-types.data): New vpath directive.
1390 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
1391 vpath. Do not allow for C++ type data being missing.
1392 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
1393 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
1394 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
1395 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
1396 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
1397 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
1398 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
1399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1400 ... here.
1401 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
1402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1403 ... here.
1404 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
1405 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
1406 ... here.
1407 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
1408 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
1409 ... here.
1410 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
1411 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
1412 ... here.
1413 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
1414 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
1415 ... here.
1416 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
1417 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
1418 ... here.
1419 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
1420 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
1421
cfc82fd8
JM
1422 * elf/tls-macros.h (TLS_LE): Move architecture-specific
1423 definitions to architecture-specific files.
1424 (TLS_IE): Likewise.
1425 (TLS_LD): Likewise.
1426 (TLS_GD): Likewise.
1427 * sysdeps/i386/tls-macros.h: New file.
1428 * sysdeps/powerpc/tls-macros.h: Likewise.
1429 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1430 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1431 * sysdeps/sh/tls-macros.h: Likewise.
1432 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
1433 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
1434 * sysdeps/x86_64/tls-macros.h: Likewise.
1435
f7db3170
TS
14362012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1437
07cbfc23
TS
1438 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
1439 zero value for regular exit case.
1440
f7db3170
TS
1441 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1442 (__start_context): Preserve zero value for regular exit case.
1443
dc97c227
TS
14442012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1445 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1446
1447 * manual/setjmp.texi (setcontext): Clarify normal process
1448 termination when uc_link is the null pointer.
1449 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
1450 exit call.
1451
d0cd7d02
AS
14522012-07-16 Andreas Schwab <schwab@linux-m68k.org>
1453
1454 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
1455 preprocessor. Test for each exception mask separately.
1456
dd318934
AJ
14572012-07-16 Andreas Jaeger <aj@suse.de>
1458
1459 * po/ru.po: Update from translation team.
1460
8048311a
JM
14612012-07-15 Joseph Myers <joseph@codesourcery.com>
1462
1463 * conform/data/string.h-data (NULL): Use macro-constant. Require
1464 equal to 0.
1465 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1466 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1467 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
1468 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
1469 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1470
b637d46e
AJ
14712012-07-13 Andreas Jaeger <aj@suse.de>
1472
1473 * po/fr.po: Update from translation team.
1474
541428fe
MP
14752012-07-12 Marek Polacek <polacek@redhat.com>
1476
1477 [BZ #14173]
1478 * math/libm-test.inc (yn_test): Add test for BZ #14173.
1479 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
1480 loop condition.
1481
ec332e94
JM
14822012-07-12 Joseph Myers <joseph@codesourcery.com>
1483
1484 [BZ #13717]
1485 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1486 Change to 2.4.1 where previously 2.4.0.
1487 * sysdeps/unix/sysv/linux/configure: Regenerated.
1488 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
1489 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
1490 version.
1491 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
1492 (__ASSUME_AT_CLKTCK): Remove.
1493 (__ASSUME_AT_PAGESIZE): Likewise.
1494 (__ASSUME_AT_XID): Likewise.
1495 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
1496 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
1497 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
1498 unconditionally.
1499 (HAVE_AUX_PAGESIZE): Likewise.
1500 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
1501 [__ASSUME_AT_CLKTCK]: Make code unconditional.
1502 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
1503
7b6e99be
JB
15042012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
1505
1506 [BZ #14307]
1507 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
1508 the temporary buffer used to invoke __gethostbyname2_r,
1509 __gethostbyaddr_r and gethostbyname4_r to make room for struct
1510 host_data / struct gaih_addrtuple.
1511 * resolv/nss_dns/dns-host.c (global scope): Move definition of
1512 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
1513 header file nss/nsswitch.h.
1514 * nss/nsswitch.h (global scope): Add definition of implementation
1515 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
1516 resolv/nss_dns/dns-host.c).
1517
608404eb
AJ
15182012-07-11 Andreas Jaeger <aj@suse.de>
1519
1520 * po/fr.po: Update from translation team.
1521
71220aca
AJ
1522 * po/sv.po: Update from translation team
1523 * po/fr.po: Another update from translation team.
1524
28cfe843
AZ
15252012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1526
1527 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
1528 for subnormals or multiply small sinh result by itself.
1529 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1530 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1531
6b90f981
DM
15322012-07-11 David S. Miller <davem@davemloft.net>
1533
1534 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1535
c6825772
AS
15362012-07-10 Andreas Schwab <schwab@linux-m68k.org>
1537
1538 [BZ #14347]
1539 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
1540 (INTERNAL_MARK): Shift it here.
1541
7b8e0d49
MP
15422012-07-10 Marek Polacek <polacek@redhat.com>
1543
1544 [BZ #14151]
1545 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
1546 libc_cv_asm_global_directive with .globl.
1547 * configure: Regenerated.
1548 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
1549 with .globl.
1550 * sysdeps/i386/configure: Regenerated.
1551 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
1552 with .globl.
1553 * sysdeps/x86_64/configure: Regenerated.
1554 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
1555 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
1556 * elf/tst-unique2mod2.c: Likewise.
1557 * elf/tst-unique2mod1.c: Likewise.
1558 * elf/tst-unique1mod2.c: Likewise.
1559 * elf/tst-unique1mod1.c: Likewise.
1560 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1561 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1562 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1563 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1564 * sysdeps/mach/sysdep.h: Likewise.
1565 * sysdeps/i386/sysdep.h: Likewise.
1566 * sysdeps/i386/i386-mcount.S: Likewise.
1567 * sysdeps/x86_64/_mcount.S: Likewise.
1568 * sysdeps/x86_64/sysdep.h: Likewise.
1569 * sysdeps/sh/_mcount.S: Likewise.
1570 * sysdeps/sh/sysdep.h: Likewise.
1571 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
1572 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
1573 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
1574 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1575 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
1576 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
1577 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
1578 * locale/localeinfo.h: Likewise.
1579 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
1580 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
1581
6c55cda3
RM
15822012-07-09 Roland McGrath <roland@hack.frob.com>
1583
1584 [BZ #14336]
1585 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
1586 system".
1587 * manual/message.texi (The Uniforum approach): Likewise.
1588 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
1589 (glibc iconv Implementation): Likewise.
1590
638a572e
JM
15912012-07-09 Joseph Myers <joseph@codesourcery.com>
1592
1593 [BZ #14337]
1594 * math/s_clog.c (__clog): Avoid scaling a value down where that
1595 could result in underflow.
1596 * math/s_clog10.c (__clog10): Likewise.
1597 * math/s_clog10f.c (__clog10f): Likewise.
1598 * math/s_clog10l.c (__clog10l): Likewise.
1599 * math/s_clogf.c (__clogf): Likewise.
1600 * math/s_clogl.c (__clogl): Likewise.
1601 * math/libm-test.inc (clog_test): Add more tests.
1602 (clog10_test): Likewise.
1603 * sysdeps/i386/fpu/libm-test-ulps: Update.
1604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1605
261f4859
AS
16062012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1607
0abaf3e4
AS
1608 [BZ #14283]
1609 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
1610 by 7 not 8 to examine high bit of fractional part.
1611
261f4859
AS
1612 [BZ #14042]
1613 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
1614 for call to __mcount_internal.
1615 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
1616 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
1617 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
1618
f17ac40d
JM
16192012-07-06 Joseph Myers <joseph@codesourcery.com>
1620
9ad63c23
JM
1621 [BZ #14154]
1622 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
1623 approximation for values within 0x1p-13f of an odd multiple of
1624 pi/4.
1625 * math/libm-test.inc (tan_test): Do not allow spurious underflow
1626 exception. Add more tests.
1627 * sysdeps/i386/fpu/libm-test-ulps: Update.
1628
f17ac40d
JM
1629 [BZ #6778]
1630 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
1631 inputs and return -1 for them. Do not check for +Inf in case not
1632 reachable for +Inf.
1633 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1634 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
1635 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1636 and return -1 for them. Do not check for +Inf in case not
1637 reachable for +Inf.
1638 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
1639 define.
1640 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1641 and return -1 for them. Do not check for +Inf in case not
1642 reachable for +Inf.
1643 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
1644 spurious underflow.
1645 * sysdeps/i386/fpu/libm-test-ulps: Update.
1646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1647
fb21f89b
MF
16482012-07-06 Mike Frysinger <vapier@gentoo.org>
1649
1650 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
1651
cdfe2c5e
JM
16522012-07-05 Joseph Myers <joseph@codesourcery.com>
1653
1654 [BZ #14157]
1655 [BZ #14331]
1656 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
1657 could result in spurious underflow. Scale down values above
1658 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
1659 * math/s_csqrtf.c (__csqrtf): Likewise.
1660 * math/s_csqrtl.c (__csqrtl): Likewise.
1661 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
1662 spurious underflow.
1663 * sysdeps/i386/fpu/libm-test-ulps: Update.
1664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1665
70d35b67
AS
16662012-07-04 Andreas Schwab <schwab@linux-m68k.org>
1667
704bc459
AS
1668 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
1669 xopen-msg.sed.
1670 * catgets/xopen-msg.awk: New file.
1671 * catgets/xopen-msg.sed: Removed.
1672
70d35b67
AS
1673 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
1674 po2text.sed.
1675 * intl/po2test.awk: New file.
1676 * intl/po2test.sed: Removed.
1677
ca61cf32
JM
16782012-07-04 Joseph Myers <joseph@codesourcery.com>
1679
1680 [BZ #14328]
1681 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
1682 or multiply small sinh result by itself.
1683 * math/s_ctanf.c (__ctanf): Likewise.
1684 * math/s_ctanh.c (__ctanh): Likewise.
1685 * math/s_ctanhf.c (__ctanhf): Likewise.
1686 * math/s_ctanhl.c (__ctanhl): Likewise.
1687 * math/s_ctanl.c (__ctanl): Likewise.
1688 * math/libm-test.inc (ctan_test_tonearest): New function.
1689 (ctan_test_towardzero): Likewise.
1690 (ctan_test_downward): Likewise.
1691 (ctan_test_upward): Likewise.
1692 (ctanh_test_tonearest): Likewise.
1693 (ctanh_test_towardzero): Likewise.
1694 (ctanh_test_downward): Likewise.
1695 (ctanh_test_upward): Likewise.
1696 (main): Call these new functions.
1697 * sysdeps/i386/fpu/libm-test-ulps: Update.
1698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1699
ca48a46a
MF
17002012-07-03 Mike Frysinger <vapier@gentoo.org>
1701
1702 * .gitignore: Delete /ports entry.
1703
9d63d37d
AJ
17042012-07-03 Andreas Jaeger <aj@suse.de>
1705
1706 * po/bg.po: Update from translation team.
1707 * po/cs.po: Likewise.
1708 * po/de.po: Likewise.
1709 * po/hr.po: Likewise.
1710 * po/nl.pl: Likewise.
1711 * po/pl.po: Likewise.
1712 * po/vi.po: Likewise.
1713
370ca3d2
JM
17142012-07-03 Joseph Myers <joseph@codesourcery.com>
1715
95f5a9a8
JM
1716 * Makeconfig [!+link] (+link-before-libc): New variable.
1717 [!+link] (+link-after-libc): Likewise.
1718 [!+link] (+link-tests): Likewise.
1719 [!+link] (+link): Define in terms of $(+link-before-libc) and
1720 $(+link-after-libc).
1721 [!+link-static] (+link-static-before-libc): New variable.
1722 [!+link-static] (+link-static-after-libc): Likewise.
1723 [!+link-static] (+link-static-tests): Likewise.
1724 [!+link-static] (+link-static): Define in terms of
1725 $(+link-static-before-libc) and $(+link-static-after-libc).
1726 [build-shared] (link-libc-before-gnulib): New variable.
1727 [build-shared] (link-libc-tests): Likewise.
1728 [build-shared] (link-libc): Define in terms of
1729 $(link-libc-before-gnulib).
1730 [!build-shared] (link-libc-tests): New variable.
1731 (link-libc-static-tests): New variable.
1732 [!gnulib] (gnulib-arch): New variable.
1733 [!gnulib] (gnulib-tests): Likewise.
1734 [!gnulib] (static-gnulib-arch): Likewise.
1735 [!gnulib] (static-gnulib-tests): Likewise.
1736 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
1737 Define with "=" instead of ":=".
1738 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
1739 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
1740 * Rules (binaries-all-notests): New variable.
1741 (binaries-all-tests): Likewise.
1742 (binaries-static-notests): Likewise.
1743 (binaries-static-tests): Likewise.
1744 (binaries-all): Define using $(binaries-all-notests) and
1745 $(binaries-all-tests).
1746 (binaries-static): Define using $(binaries-static-notests) and
1747 $(binaries-static-tests).
1748 (binaries-shared-tests): New variable.
1749 (binaries-shared-notests): Likewise.
1750 (binaries-shared): Remove variable.
1751 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
1752 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
1753 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
1754 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
1755 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
1756 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
1757 * elf/Makefile (sln-modules): New variable.
1758 (extra-objs): Add $(sln-modules:=.o).
1759 (ldconfig-modules): Add static-stubs.
1760 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
1761 * elf/static-stubs.c: New file.
1762
7a845b2c
JM
1763 [BZ #14283]
1764 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
1765 by 7 not 8 to examine high bit of fractional part. Use volatile
1766 variables when splitting into final array of floats if
1767 __FLT_EVAL_METHOD__ != 0.
1768 * math/libm-test.inc (cos_test): Add another test.
1769 (sin_test): Likewise.
1770 * sysdeps/i386/fpu/libm-test-ulps: Update.
1771
e2283f38
JM
1772 [BZ #14273]
1773 * math/libm-test.inc (cosh_test): Add more tests.
1774
370ca3d2
JM
1775 * version.h (RELEASE): Set to "development".
1776 (VERSION): Set to "2.16.90".
1777
ee9247c3
CD
17782012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
1779
1780 * NEWS: Update copyright. Remove last-updated date.
1781 Mention math library bug fixes and timezone data changes.
1782 * README: Mention GNU/Hurd, x32, and HPPA support status.
1783
4648c381
TS
17842012-06-28 Thomas Schwinge <thomas@codesourcery.com>
1785
1786 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
1787
aac78a43
AJ
17882012-06-27 Andreas Jaeger <aj@suse.de>
1789
1790 * manual/contrib.texi (Contributors): Add Samuel Thibault.
1791
ed3dbfad
AJ
17922012-06-25 Andreas Jaeger <aj@suse.de>
1793
1794 * sysdeps/s390/fpu/libm-test-ulps: Update.
1795
4d0ee855
AS
17962012-06-23 Andreas Schwab <schwab@linux-m68k.org>
1797 Thomas Schwinge <thomas@codesourcery.com>
1798
1799 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
1800 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
1801 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
1802 fanotify_mark.
1803
af1bce34
TS
18042012-06-23 Thomas Schwinge <thomas@codesourcery.com>
1805
a9fa33ba
TS
1806 * sysdeps/mach/start.c: Remove file.
1807 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
1808 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
1809 * sysdeps/sh/init-first.c: Likewise.
1810
58f902b8
TS
1811 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
1812 registers for frame unwinding purposes, add CFI directives.
1813 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1814 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
1815 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1816 Likewise.
1817
1518f58b
TS
1818 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
1819 __fortify_fail returning.
1820 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1821
db9b5059
TS
1822 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
1823 sysdeps/sh/____longjmp_chk.S.
1824 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
1825 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
1826 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
1827 (gen-as-const-headers): Append sigaltstack-offsets.sym.
1828
967705fe
TS
1829 * sysdeps/sh/abort-instr.h: New file.
1830 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
1831 process in case exit returns.
1832
a9def8c4
TS
1833 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
1834 initialize the GOT register before use.
1835
2a649725
TS
1836 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
1837 calculation of ARGC > 4.
1838
af1bce34
TS
1839 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
1840 meaningful names to some local labels.
1841
d230f50a
KK
18422012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1843 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1844
1845 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
1846 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
1847 (__arch_compare_and_exchange_val_16_acq): Likewise.
1848 (__arch_compare_and_exchange_val_32_acq): Likewise.
1849 (atomic_exchange_and_add): Fix gUSA sequence.
1850 (atomic_add): Likewise.
1851 (atomic_add_negative): Likewise.
1852 (atomic_add_zero): Likewise.
1853 (atomic_bit_test_set): Likewise.
1854
0479b305
AS
18552012-06-22 Andreas Schwab <schwab@redhat.com>
1856
1857 [BZ #13579]
1858 * include/link.h (struct link_map): Add l_free_initfini.
1859 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
1860 l_initfini.
1861 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
1862 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
1863 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
1864 set.
1865
0e3933b9
CD
18662012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
1867
1868 * configure.in: Use AC_LANG_SOURCE.
1869 * configure: Regenerate.
1870
4248b1b1
RM
18712012-06-22 Roland McGrath <roland@hack.frob.com>
1872
1873 * configure.in (libc_cv_localstatedir): New substituted variable.
1874 * configure: Regenerated.
1875 * config.make.in (localstatedir): New variable, substituted from
1876 libc_cv_localstatedir.
1877 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
1878 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
1879 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
1880 * sysdeps/gnu/configure: Regenerated.
1881
006dd861
JL
18822012-06-21 Jeff Law <law@redhat.com>
1883
1884 [BZ #14277]
1885 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
1886 free. Simplify list management for _LIBC case.
1887
79662d42
JM
18882012-06-21 Joseph Myers <joseph@codesourcery.com>
1889
b7abb4bf
JM
1890 [BZ #14273]
1891 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1892 Clear sign bit of 64-bit integer value before comparing against
1893 overflow value.
1894
79662d42
JM
1895 * sysdeps/mach/configure: Regenerated.
1896
1f150908
L
18972012-06-21 H.J. Lu <hongjiu.lu@intel.com>
1898
1899 [BZ #14278]
1900 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
1901
28363bbf
JL
19022012-06-21 Jeff Law <law@redhat.com>
1903
1904 [BZ #13882]
1905 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
1906 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 1907 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
1908 * elf/dl-open.c (dl_open_worker): Likewise.
1909
09615db4
CD
19102012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
1911
1912 * scripts/list-sources.sh: Scan PORTS for translations.
1913 * po/libc.pot: Regenerated.
1914
2174c6dd
AJ
19152012-06-21 Andreas Jaeger <aj@suse.de>
1916
1917 [BZ #12194]
1918 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
1919 warning.
1920 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
1921 * bits/byteswap-16.h (__bswap_16): Likewise.
1922 * bits/byteswap.h (__bswap_constant_16): Likewise.
1923
3ee947b1
L
19242012-06-18 H.J. Lu <hongjiu.lu@intel.com>
1925
1926 [BZ #14117]
a2f34833
L
1927 * sysdeps/i386/fpu_control.h: Removed.
1928 * sysdeps/x86_64/fpu_control.h: Moved to ...
1929 * sysdeps/x86/fpu_control.h: Here.
1930
3ee947b1
L
1931 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
1932 (_FPU_SETCW): Likewise.
1933
ed1825f8
L
19342012-06-15 H.J. Lu <hongjiu.lu@intel.com>
1935
25f1282a
L
1936 [BZ #14117]
1937 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
1938 * sysdeps/x86/fpu/bits/mathinline.h: This.
1939 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
1940
ed1825f8
L
1941 [BZ #14050]
1942 [BZ #14117]
1943 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
1944 functions if __x86_64__ is defined.
1945
36d54b74
CLT
19462012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
1947
1948 * string/endian.h: Add !__ASSEMBLER__ condition for including
1949 conversion interfaces.
1950
10285c21
JM
19512012-06-15 Joseph Myers <joseph@codesourcery.com>
1952
1953 [BZ #14241]
1954 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
1955 of ABS(x) in calculating zero to negative powers other than odd
1956 integers.
1957 * math/libm-test.inc (pow_test): Add more tests.
1958
06c5abbd
AJ
19592012-06-15 Andreas Jaeger <aj@suse.de>
1960
1961 * manual/contrib.texi (Contributors): Update entry of Liubov
1962 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
1963 Machado Filho.
1964
a3aeac40
CH
19652012-06-15 Cyril Hrubis <metan@ucw.cz>
1966
1967 * string/string.h: Add __wur to GNU version of strerror_r.
1968
49bdf4c1
L
19692012-06-14 H.J. Lu <hongjiu.lu@intel.com>
1970
1971 [BZ #14229]
1972 * string/Makefile (tests): Add tst-strtok_r.
1973 * string/tst-strtok_r.c: New file.
1974 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
1975 RAX_LP/RDX_LP on SAVE_PTR.
1976
834f9b8d
RM
19772012-06-14 Roland McGrath <roland@hack.frob.com>
1978
1979 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
1980
75fa1921
JM
19812012-06-14 Joseph Myers <joseph@codesourcery.com>
1982
1983 * libm_test.inc (csqrt_test): Allow more spurious underflow
1984 exceptions.
1985 (j0_test): Likewise.
1986 (j1_test): Likewise.
1987 (y0_test): Likewise.
1988 (y1_test): Likewise.
1989
771766df
CD
19902012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
1991
1992 * po/Makefile (libc.pot): Use UTF-8 charset.
1993
ceb9e56b
PP
19942012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
1995
1996 [BZ #14210]
1997 Suppress sign-conversion warning from FD_SET.
1998 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
1999 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
2000 not unsigned long int.
2001 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2002
ddb28975
L
20032012-06-12 H.J. Lu <hongjiu.lu@intel.com>
2004
2005 [BZ #14050]
2006 [BZ #14117]
2007 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
2008 __extern_always_inline instead of __extern_inline.
2009 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
2010 (__signbit): Likewise.
2011 (__signbitl): Support C++ namespace.
2012 (lrintf): New inline function.
2013 (lrint): Likewise.
2014 (llrintf): Likewise.
2015 (llrint): Likewise.
2016 (fmaxf): Likewise.
2017 (fmax): Likewise.
2018 (fminf): Likewise.
2019 (fmin): Likewise.
2020 (rint): Likewise.
2021 (rintf): Likewise.
2022 (ceil): Likewise.
2023 (ceilf): Likewise.
2024 (floor): Likewise.
2025 (floorf): Likewise.
2026 (nearbyint): Likewise.
2027 (nearbyintf): Likewise.
2028
d7b4fb26
TS
20292012-06-12 Thomas Schwinge <thomas@codesourcery.com>
2030
2031 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
2032 non-default versions.
2033
eb55f5c2
RM
20342012-06-11 Roland McGrath <roland@hack.frob.com>
2035
2036 [BZ #14218]
2037 * manual/argp.texi (Argp): Reword argp_parse description slightly.
2038
366af02c
TS
20392012-06-09 Thomas Schwinge <thomas@codesourcery.com>
2040
99ff6e5c
TS
2041 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
2042 (FE_UPWARD, FE_DOWNWARD): Don't define.
2043 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
2044 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2045
366af02c
TS
2046 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
2047 reading it.
2048 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2049 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2050
793ea851
KK
20512012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2052
2053 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2054 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
2055 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
2056 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
2057
a728a38f
L
20582012-06-06 H.J. Lu <hongjiu.lu@intel.com>
2059
2060 [BZ #14117]
c08010c7
L
2061 * sysdeps/i386/fpu/bits/fenv.h: Removed.
2062 * sysdeps/i386/fpu/Implies: New file.
2063 * sysdeps/x86_64/fpu/Implies: Likewise.
2064 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
2065 * sysdeps/x86/fpu/bits/fenv.h: This.
2066
a728a38f
L
2067 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
2068 __SSE_MATH__.
2069
6e230d11
SP
20702012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2071
2072 [BZ #14134]
2073 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
2074 character 0xffff that matches the last element of the
2075 conversion table.
2076
1b671feb
AZ
20772012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2078
2079 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
2080 fmodl commit.
2081
6043738b
AZ
20822012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2083
2084 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
2085 values higher than 25.6283.
2086
34ae0b32
AZ
20872012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2088
2089 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
2090 subnormal exponent extraction and add some __builtin_expect.
2091 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
2092 Fix for subnormal mantissa calculation.
2093
1214ec8f
MF
20942012-06-04 Mike Frysinger <vapier@gentoo.org>
2095
2096 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
2097 cpu2 is -1 and errno is not ENOSYS.
2098
f3d1f93c
L
20992012-06-04 H.J. Lu <hongjiu.lu@intel.com>
2100
2101 [BZ #14117]
0e4a3cd7
L
2102 * sysdeps/i386/i486/bits/string.h: Renamed to ...
2103 * sysdeps/x86/bits/string.h: This.
2104 * sysdeps/x86_64/bits/string.h: Removed.
2105
6704c645
L
2106 * sysdeps/i386/i486/bits/string.h: Define inline functions only
2107 if not compiling for x86-64, but compiling for >= i486.
2108
48495318
L
2109 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
2110 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
2111
14adcbfc
L
2112 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
2113 New macro from Linux kernel 3.4.0.
2114 (FP_XSTATE_MAGIC2): Likewise.
2115 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2116 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
2117 (struct _fpx_sw_bytes): New struct.
2118 (struct _xsave_hdr): Likewise.
2119 (struct _ymmh_state): Likewise.
2120 (struct _xstate): Likewise.
2121
68e408ab
L
2122 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
2123 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
2124 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
2125 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
2126 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
2127 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
2128
f3d1f93c
L
2129 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
2130 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
2131 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
2132 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
2133 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
2134 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
2135
d9dc34cd
TMQMF
21362012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2137
2138 [BZ #13743]
2139 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
2140 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
2141 (sysdep_headers): Include sys/platform/ppc.h.
2142 * sysdeps/powerpc/test-gettimebase.c: Test for
2143 __ppc_get_timebase() to catch future ISA opcode/insn changes.
2144 * manual/Makefile (appendices): Include platform.texi.
2145 * manual/contrib.texi (Contributors): Update @node pointers.
2146 * manual/maint.texi (Maintenance): Likewise.
2147 (Platform): New node.
2148 * manual/platform.texi: New file. Document the new features.
2149
4af3879c
SP
21502012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2151 Jakub Jelinek <jakub@redhat.com>
2152
2153 [BZ #14188]
2154 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
2155 where __builtin_expect is unavailable.
2156
2fd6ff13
DM
21572012-06-03 David S. Miller <davem@davemloft.net>
2158
2159 * stdlib/longlong.h: Updated from GCC.
2160
173f7220
AS
21612012-06-02 Andreas Schwab <schwab@linux-m68k.org>
2162
2163 [BZ #14042]
2164 * sysdeps/powerpc/powerpc32/mcount.c: New file.
2165 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
2166 __mcount_internal.
2167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2168 (GLIBC_2.16): Likewise.
2169
f34a1c6f
L
21702012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2171
2172 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
2173
88a4576f
JM
21742012-06-01 Joseph Myers <joseph@codesourcery.com>
2175
ea32bcdd
JM
2176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2177 (default-abi): New variable.
2178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
2179 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
2180 variable.
2181 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
2182 Likewise.
2183 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
2184 Likewise.
2185 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
2186 Likewise.
2187
88a4576f
JM
2188 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
2189 definition. Document in comment.
2190
402fe938
DM
21912012-06-01 David S. Miller <davem@davemloft.net>
2192
2193 * stdlib/longlong.h: Updated from GCC.
2194
3553723f
L
21952012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2196
2197 [BZ #14117]
3bd872c4
L
2198 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
2199 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
2200 sys/debugreg.h sys/io.h here.
2201 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
2202 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
2203 sys/io.h.
2204 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
2205 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
2206 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
2207 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
2208 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
2209 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
2210
3553723f
L
2211 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
2212 Define only if __x86_64__ is defined.
2213
4842e4fe
JM
22142012-06-01 Joseph Myers <joseph@codesourcery.com>
2215
c5bfe3d5
JM
2216 [BZ #14048]
2217 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
2218 Use int64_t for variable i.
2219 * math/libm-test.inc (fmod_test): Add more tests.
2220
4842e4fe
JM
2221 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
2222 z computation is not scheduled after fetestexcept.
2223 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
2224 Use math_force_eval instead of asm to ensure calculation scheduled
2225 before exception test.
2226 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
2227 Ensure a1 + u.d computation is not scheduled after fetestexcept.
2228
efb73488
AJ
22292012-06-01 Aurelien Jarno <aurelien@aurel32.net>
2230
2231 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
2232 computation is not scheduled after fetestexcept.
2233
29bcce7c
L
22342012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2235
2236 [BZ #14117]
2237 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
2238 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
2239
73a68f94
AZ
22402012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2241
2242 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
2243 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2244
67b6df78
L
22452012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2246
edf2933a 2247 [BZ #14117]
ebc64a18
L
2248 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
2249 <bits/wordsize.h>.
2250 (__WCHAR_MIN): Support __WORDSIZE == 64.
2251 (__WCHAR_MAX): Likewise.
2252
edf2933a
L
2253 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
2254 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2255
57c6cf40
L
2256 [BZ #14183]
2257 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2258 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2259
67b6df78 2260 [BZ #14117]
8eb6281e
L
2261 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2262 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2263
aac639f4
L
2264 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2265 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2266
67b6df78
L
2267 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2268 Defined to 1 if __x86_64__ isn't defined.
2269 (_STAT_VER_LINUX_OLD): New.
2270 (st_atime): Remove duplicate.
2271 (st_mtime): Likewise.
2272 (st_ctime): Likewise.
2273
1c2cfe81
DM
22742012-05-31 David S. Miller <davem@davemloft.net>
2275
2276 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2277 entries.
2278
5be8418c
AS
22792012-06-01 Andreas Schwab <schwab@linux-m68k.org>
2280
e7725326
AS
2281 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2282 gen-libm-test.pl.
2283
5be8418c
AS
2284 [BZ #14132]
2285 * elf/dl-reloc.c: Include <_itoa.h>.
2286 (_dl_reloc_bad_type): Remove use of INTUSE.
2287 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2288 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2289 * stdio-common/psiginfo.c (psiginfo): Likewise.
2290 * stdio-common/psignal.c (psignal): Likewise.
2291 * string/strsignal.c (strsignal): Likewise.
2292 * include/signal.h (_sys_siglist): Declare hidden proto.
2293 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
2294 INTVARDEF with libc_hidden_data_def.
2295 * stdio-common/itoa-udigits.c: Likewise.
2296 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2297 (_itoa_lower_digits_internal): Remove declaration.
2298 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2299 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2300 (_sys_sigabbrev_internal): Remove aliases.
2301 (_sys_siglist): Define hidden alias.
2302
507352f1
MT
23032012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
2304
2305 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2306 bits/sysctl.h.
2307
42bbb1c3
L
23082012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2309
2310 [BZ #14117]
6bd784b6
L
2311 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2312 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2313
8bca20f0
L
2314 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2315 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2316 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2317 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2318 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2319 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2320
f9e890a9
L
2321 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2322 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2323 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2324
471101a1
L
2325 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2326 with __addr.
2327 (insw): Likewise.
2328 (insl): Likewise.
2329 (outsb): Likewise.
2330 (outsw): Likewise.
2331 (outsl): Likewise.
2332
6451c862
L
2333 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2334 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2335 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2336
a254b8c9
L
2337 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2338 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2339 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2340 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2341 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2342 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2343
b8dfdd92
L
2344 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2345 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2346
578cd270
L
2347 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
2348 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
2349
de662f5f
L
2350 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
2351 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
2352 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
2353
25653439
L
2354 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
2355 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
2356 to ...
2357 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
2358
6bad24a0
L
2359 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
2360 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
2361 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
2362
42bbb1c3
L
2363 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
2364 for x86-64.
2365 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2366
2d10d547
JM
23672012-05-31 Joseph Myers <joseph@codesourcery.com>
2368
2369 * math/math.h (M_El): Use two more decimal places.
2370 (M_LOG2El): Likewise.
2371 (M_LOG10El): Likewise.
2372 (M_LN2l): Likewise.
2373 (M_LN10l): Likewise.
2374 (M_PIl): Likewise.
2375 (M_PI_2l): Likewise.
2376 (M_PI_4l): Likewise.
2377 (M_1_PIl): Likewise.
2378 (M_2_PIl): Likewise.
2379 (M_2_SQRTPIl): Likewise.
2380 (M_SQRT2l): Likewise.
2381 (M_SQRT1_2l): Likewise.
2382
f230c29b
DM
23832012-05-31 David S. Miller <davem@davemloft.net>
2384
2385 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
2386 values between float registers.
2387 * sysdeps/sparc/sparc64/memset.S: Likewise.
2388 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2389
fed806c3
MF
23902012-05-31 Mike Frysinger <vapier@gentoo.org>
2391
2392 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
2393 -D_FORTIFY_SOURCE=1.
2394 (CPPFLAGS-tst-longjmp_chk.c): Define.
2395 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
2396 (CPPFLAGS-tst-longjmp_chk2.c): Define.
2397 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
2398 CFLAGS-tst-wchar-h.c.
2399
30917259
MP
24002012-05-31 Marek Polacek <polacek@redhat.com>
2401
2402 [BZ #14132]
2403 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
2404 __endmntent_internal): Remove declaration.
2405 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
2406 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
2407 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
2408
1c58d5dc
DM
24092012-05-30 David S. Miller <davem@davemloft.net>
2410
2411 * sysdeps/sparc/sparc32/soft-fp/q_util.c
2412 (___Q_simulate_exceptions): Use real FP ops rather than writing
2413 into the %fsr.
2414 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
2415 Likewise.
2416
7dc00e0d
L
24172012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2418
2419 [BZ #14117]
0bd53985
L
2420 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
2421 * sysdeps/x86/bits/xtitypes.h: This.
2422
3a257e66
L
2423 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
2424 * sysdeps/x86/bits/wordsize.h: This.
2425
62f62904
L
2426 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
2427 * sysdeps/x86/bits/huge_vall.h: This.
2428
404fe9d9
L
2429 * sysdeps/i386/bits/select.h: Removed.
2430 * sysdeps/x86_64/bits/select.h: Renamed to ...
2431 * sysdeps/x86/bits/select.h: This.
2432
d48d0446
L
2433 * sysdeps/i386/bits/setjmp.h: Removed.
2434 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
2435 * sysdeps/x86/bits/setjmp.h: This.
2436
7dc00e0d
L
2437 * sysdeps/i386/bits/mathdef.h: Removed.
2438 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
2439 * sysdeps/x86/bits/mathdef.h: This.
2440
03277f8f
AS
24412012-05-30 Andreas Schwab <schwab@linux-m68k.org>
2442
2443 [BZ #14132]
2444 * include/sys/socket.h (__connect_internal)
2445 (__libc_sa_len_internal): Remove declaration.
2446 (__connect, __libc_sa_len): Declare hidden_proto.
2447 (SA_LEN): Remove use of INTUSE.
2448 * socket/connect.c: Add libc_hidden_def.
2449 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
2450 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
2451 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
2452 alias.
2453 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2454 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2455 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
2456 of adding _internal alias.
2457
13764867
L
24582012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2459
2460 [BZ #14117]
6bd97696
L
2461 * sysdeps/i386/bits/link.h: Removed.
2462 * sysdeps/i386/bits/linkmap.h: Likewise.
2463 * sysdeps/x86_64/bits/link.h: Renamed to ...
2464 * sysdeps/x86/bits/link.h: This.
2465 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
2466 * sysdeps/x86/bits/linkmap.h: This.
2467
f726f0bb
L
2468 * sysdeps/i386/bits/endian.h: Removed.
2469 * sysdeps/x86_64/bits/endian.h: Renamed to ...
2470 * sysdeps/x86/bits/endian.h: This.
2471
13764867
L
2472 * sysdeps/i386/bits/byteswap.h: Removed.
2473 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2474 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
2475 * sysdeps/x86/bits/byteswap.h: This.
2476 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
2477 * sysdeps/x86/bits/byteswap-16.h: This.
2478 * sysdeps/i386/Implies: Add x86.
2479 * sysdeps/x86_64/Implies: Likewise.
2480
ae251b0b
DM
24812012-05-30 David S. Miller <davem@davemloft.net>
2482
2483 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
2484 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
2485 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2486 (FP_TRAPPING_EXCEPTIONS): Define.
2487 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2488 (FP_TRAPPING_EXCEPTIONS): Define.
2489 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
2490 subnormals only when inexact has been signalled or underflow
2491 exceptions are enabled.
2492 (_FP_PACK_CANONICAL): Likewise.
2493
d5c90867
L
24942012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2495
2496 [BZ #14183]
2497 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
2498 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
2499
63f1549e
RH
25002012-05-30 Richard Henderson <rth@twiddle.net>
2501
8d8f2279
RH
2502 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
2503 with #ifndef NOT_IN_libc.
2504
63f1549e
RH
2505 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
2506 marked to avoid plt entry.
2507
0ab0291b
L
25082012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2509
2510 [BZ #14112]
2511 * Makeconfig (default-abi): New macro.
2512 (abi-includes): Likewise.
2513 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
2514 $(abi-$(default-abi)-lib-soname) for soname if defined.
2515 ($(common-objpfx)gnu/lib-names.stmp): Generate from
2516 abi-variants.
2517 * Makefile (installed-stubs): Likewise.
2518 * include/stubs-biarch.h: Removed.
2519 * scripts/lib-names.awk: Only handle one library at a time.
2520 * scripts/soversions.awk: Remove WORDSIZE support.
2521 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
2522 entries.
2523 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
2524 Removed.
2525 (syscall-list-default-condition): Likewise.
2526 (syscall-list-default-condition): Likewise.
2527 (syscall-list-includes): Likewise.
2528 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
2529 syscall-list-* with abi-*. Handle undefined abi-variants.
2530 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
2531 * sysdeps/unix/sysv/linux/i386/Implies: New file.
2532 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
2533 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
2534 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
2535 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
2536 Removed.
2537 (syscall-list-32-options): Likewise.
2538 (syscall-list-32-condition): Likewise.
2539 (syscall-list-64-options): Likewise.
2540 (syscall-list-64-condition): Likewise.
2541 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
2542 macro.
2543 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
2544 Renamed to ...
2545 (abi-*): This.
2546 (abi-64-ld-soname): New macro.
2547 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
2548 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
2549 Renamed to ...
2550 (abi-*): This.
2551 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
2552 * sysdeps/x86_64/x32/shlib-versions: Likewise.
2553
4da0431d
JM
25542012-05-30 Joseph Myers <joseph@codesourcery.com>
2555
3a85279c
JM
2556 * sysdeps/unix/sysv/linux/kernel-features.h
2557 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
2558 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
2559 include <kernel-features.h>.
2560 [!__NR_ftruncate64]: Remove conditional code.
2561 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2562 [__NR_ftruncate64]: Make code unconditional.
2563 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2564 * sysdeps/unix/sysv/linux/truncate64.c: Do not
2565 include <kernel-features.h>.
2566 [!__NR_ftruncate64]: Remove conditional code.
2567 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2568 [__NR_ftruncate64]: Make code unconditional.
2569 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
2571 include <kernel-features.h>.
2572 [!__NR_ftruncate64]: Remove conditional code.
2573 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2574 [__NR_ftruncate64]: Make code unconditional.
2575 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2577 include <kernel-features.h>.
2578 [!__NR_ftruncate64]: Remove conditional code.
2579 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2580 [__NR_ftruncate64]: Make code unconditional.
2581 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2582
4da0431d
JM
2583 * configure.in (libc_cv_fpie): Weaken to a compile test using
2584 LIBC_TRY_CC_OPTION.
2585 * configure: Regenerated.
2586
11ef492c
AK
25872012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2588
2589 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
2590 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
2591 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
2592 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2593 Refreshed.
2594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
2595 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
2596 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
2597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
2598 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
2599 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2600 Refreshed.
2601
d66ef399
DM
26022012-05-27 David S. Miller <davem@davemloft.net>
2603
2604 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
2605 (___Q_zero): New.
2606 (__Q_simulate_exceptions): Return void. Change to simulate
2607 exceptions by writing into the %fsr.
2608 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
2609 (__Qp_handle_exceptions): Likewise.
2610 (numbers): Delete.
2611 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
2612 __Qp_handle_exceptions.
2613 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
2614 __Qp_handle_exceptions.
2615 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2616 as unused and give dummy FP_RND_NEAREST initializer.
2617 (FP_INHIBIT_RESULTS): Define.
2618 (___Q_simulate_exceptions): Update declaration.
2619 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
2620 formatting.
2621 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2622 as unused and give dummy FP_RND_NEAREST initializer.
2623 (__Qp_handle_exceptions): Update declaration.
2624 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
2625 formatting.
2626
04fb54b5
TS
26272012-05-27 Thomas Schwinge <thomas@codesourcery.com>
2628
2629 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
2630 the temporary FPU control word.
2631 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2632 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
2633 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2634 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2635 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2636 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2637 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2638 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2639 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2640 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2641 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2642
3f99608f
KK
26432012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2644
2645 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
2646 fields.
2647
65a4de4e
CLT
26482012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
2649
2650 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
2651 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
2652 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
2653 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
2654 Likewise.
2655 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
2656 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
2657 Likewise.
2658
15749d40
UD
26592012-05-27 Ulrich Drepper <drepper@gmail.com>
2660
2661 * po/h.po: Update from translation team.
2662
25dbcb27
AS
26632012-05-26 Andreas Schwab <schwab@linux-m68k.org>
2664
3d3f8e55
AS
2665 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
2666
25dbcb27
AS
2667 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
2668 handling of denormals.
2669 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2670 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2671 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2672 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2673 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2674 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
2675 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
2676 Likewise.
2677
7ad47a80 26782012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
2679
2680 [BZ #14152]
2681 * math/libm-test.inc (fma_test): Don't always expect underflow
2682 exception.
2683
9c6ea9fa
SP
26842012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2685
2686 [BZ #12416]
2687 * elf/tst-execstack.c: Include stackinfo.h.
2688 (do_test): Adjust test case to ensure that pthread_getattr_np
2689 behaviour remains the same after marking stack executable.
2690
a8239222
JM
26912012-05-25 Joseph Myers <joseph@codesourcery.com>
2692
2693 * sysdeps/unix/sysv/linux/kernel-features.h
2694 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
2695 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
2696 kernel-features.h.
2697 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2698 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2699 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
2700 kernel-features.h.
2701 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2702 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2703
918b5606
L
27042012-05-25 H.J. Lu <hongjiu.lu@intel.com>
2705
2706 * configure.in: Define the default includes to being none.
2707 * configure: Regenerated.
2708
3a097cc7
RM
27092012-05-25 Roland McGrath <roland@hack.frob.com>
2710
8422c9a5
RM
2711 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
2712 * sysdeps/x86_64/setjmp.S: Likewise.
2713 * sysdeps/i386/bsd-setjmp.S: Likewise.
2714 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2715 * sysdeps/i386/setjmp.S: Likewise.
2716 * sysdeps/i386/__longjmp.S: Likewise.
2717 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2718 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
2719
3a097cc7
RM
2720 * include/stap-probe.h: New file.
2721 * configure.in: Handle --enable-systemtap.
2722 * configure: Regenerated.
2723 * config.h.in (USE_STAP_PROBE): New #undef.
2724 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
2725 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
2726 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2727
21708942
JM
27282012-05-25 Joseph Myers <joseph@codesourcery.com>
2729
2730 [BZ #13717]
2731 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2732 to 2.4.0 where earlier.
2733 * sysdeps/unix/sysv/linux/configure: Regenerated.
2734 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2735 <kernel-features.h>.
2736 [__ASSUME_32BITUIDS]: Make code unconditional.
2737 [!__ASSUME_32BITUIDS]: Remove conditional code.
2738 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
2739 <kernel-features.h>.
2740 [__ASSUME_32BITUIDS]: Make code unconditional.
2741 [!__ASSUME_32BITUIDS]: Remove conditional code.
2742 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
2743 [__ASSUME_32BITUIDS]: Make code unconditional.
2744 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
2745 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
2746 <kernel-features.h>.
2747 [__ASSUME_32BITUIDS]: Make code unconditional.
2748 [!__ASSUME_32BITUIDS]: Remove conditional code.
2749 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
2750 <kernel-features.h>.
2751 [__ASSUME_32BITUIDS]: Make code unconditional.
2752 [!__ASSUME_32BITUIDS]: Remove conditional code.
2753 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
2754 <kernel-features.h>.
2755 [__ASSUME_32BITUIDS]: Make code unconditional.
2756 [!__ASSUME_32BITUIDS]: Remove conditional code.
2757 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
2758 <kernel-features.h>.
2759 [__ASSUME_32BITUIDS]: Make code unconditional.
2760 [!__ASSUME_32BITUIDS]: Remove conditional code.
2761 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2762 <kernel-features.h>.
2763 [__ASSUME_32BITUIDS]: Make code unconditional.
2764 [!__ASSUME_32BITUIDS]: Remove conditional code.
2765 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2766 <kernel-features.h>.
2767 [__ASSUME_32BITUIDS]: Make code unconditional.
2768 [!__ASSUME_32BITUIDS]: Remove conditional code.
2769 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
2770 <kernel-features.h>.
2771 [__ASSUME_32BITUIDS]: Make code unconditional.
2772 [!__ASSUME_32BITUIDS]: Remove conditional code.
2773 * sysdeps/unix/sysv/linux/i386/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
2786 <kernel-features.h>.
2787 [__NR_setresgid] (__setresgid): Do not declare.
2788 [__ASSUME_32BITUIDS]: Make code unconditional.
2789 [!__ASSUME_32BITUIDS]: Remove conditional code.
2790 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
2791 <kernel-features.h>.
2792 [__NR_setresuid] (__setresuid): Do not declare.
2793 [__ASSUME_32BITUIDS]: Make code unconditional.
2794 [!__ASSUME_32BITUIDS]: Remove conditional code.
2795 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
2796 <kernel-features.h>.
2797 [__ASSUME_32BITUIDS]: Make code unconditional.
2798 [!__ASSUME_32BITUIDS]: Remove conditional code.
2799 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
2800 <kernel-features.h>.
2801 [__ASSUME_32BITUIDS]: Make code unconditional.
2802 [!__ASSUME_32BITUIDS]: Remove conditional code.
2803 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
2804 <kernel-features.h>.
2805 [__ASSUME_32BITUIDS]: Make code unconditional.
2806 [!__ASSUME_32BITUIDS]: Remove conditional code.
2807 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
2808 <kernel-features.h>.
2809 [__ASSUME_32BITUIDS]: Make code unconditional.
2810 [!__ASSUME_32BITUIDS]: Remove conditional code.
2811 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
2812 <kernel-features.h>.
2813 [__ASSUME_32BITUIDS]: Make code unconditional.
2814 [!__ASSUME_32BITUIDS]: Remove conditional code.
2815 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
2816 <kernel-features.h>.
2817 [__ASSUME_32BITUIDS]: Make code unconditional.
2818 [!__ASSUME_32BITUIDS]: Remove conditional code.
2819 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
2820 <kernel-features.h>.
2821 [__ASSUME_32BITUIDS]: Make code unconditional.
2822 [!__ASSUME_32BITUIDS]: Remove conditional code.
2823 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
2824 <kernel-features.h>.
2825 [__ASSUME_32BITUIDS]: Make code unconditional.
2826 [!__ASSUME_32BITUIDS]: Remove conditional code.
2827 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
2828 <kernel-features.h>.
2829 [__ASSUME_32BITUIDS]: Make code unconditional.
2830 [!__ASSUME_32BITUIDS]: Remove conditional code.
2831 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2832 <kernel-features.h>.
2833 [__ASSUME_32BITUIDS]: Make code unconditional.
2834 [!__ASSUME_32BITUIDS]: Remove conditional code.
2835 * sysdeps/unix/sysv/linux/kernel-features.h
2836 (__ASSUME_SETRESUID_SYSCALL): Remove.
2837 (__ASSUME_SETRESGID_SYSCALL): Likewise.
2838 (__ASSUME_32BITUIDS): Likewise.
2839 (__ASSUME_LDT_WORKS): Likewise.
2840 (__ASSUME_O_DIRECTORY): Likewise.
2841 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
2842 architecture but not kernel version.
2843 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2844 (__ASSUME_MMAP2_SYSCALL): Likewise.
2845 (__ASSUME_STAT64_SYSCALL): Likewise.
2846 (__ASSUME_IPC64): Likewise.
2847 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
2848 <kernel-features.h>.
2849 [__ASSUME_32BITUIDS]: Make code unconditional.
2850 [!__ASSUME_32BITUIDS]: Remove conditional code.
2851 * sysdeps/unix/sysv/linux/opendir.c: Do not include
2852 <kernel-features.h>.
2853 [__ASSUME_O_DIRECTORY]: Make code unconditional.
2854 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
2855 132096]: Remove conditional code.
2856 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
2857 * sysdeps/unix/sysv/linux/s390/s390-32/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/s390/s390-32/lchown.c: Do not include
2862 <kernel-features.h>.
2863 [__ASSUME_32BITUIDS]: Make code unconditional.
2864 [!__ASSUME_32BITUIDS]: Remove conditional code.
2865 * sysdeps/unix/sysv/linux/setegid.c: Do not include
2866 <kernel-features.h>.
2867 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
2868 unconditional.
2869 (__setresgid): Do not declare.
2870 [__ASSUME_32BITUIDS]: Make code unconditional.
2871 [!__ASSUME_32BITUIDS]: Remove conditional code.
2872 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
2873 <kernel-features.h>.
2874 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
2875 unconditional.
2876 (__setresuid): Do not declare.
2877 [__ASSUME_32BITUIDS]: Make code unconditional.
2878 [!__ASSUME_32BITUIDS]: Remove conditional code.
2879 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2880 <kernel-features.h>.
2881 [__ASSUME_32BITUIDS]: Make code unconditional.
2882 [!__ASSUME_32BITUIDS]: Remove conditional code.
2883 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
2884 <kernel-features.h>.
2885 [__ASSUME_32BITUIDS]: Make code unconditional.
2886 [!__ASSUME_32BITUIDS]: Remove conditional code.
2887
a386f1cc
RH
28882012-05-25 Richard Henderson <rth@twiddle.net>
2889
2890 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
2891 dl_hwcap to ifunc resolver.
2892 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
2893 elf_ifunc_invoke.
2894 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
2895 dl_hwcap to ifunc resolver.
2896 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
2897
b6550497
JM
28982012-05-24 Joseph Myers <joseph@codesourcery.com>
2899
2900 [BZ #14153]
2901 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
2902 for |x| <= 2**-26, not 2**-57.
2903 * math/libm-test.inc (acos_test): Do not allow spurious underflow
2904 exception.
2905
b0bc23a1
JL
29062012-05-24 Jeff Law <law@redhat.com>
2907
2908 * stdio-common/Makefile (tests): Add bug25.
2909 * stdio-common/bug25.c: New test.
2910
347c92e9
L
29112012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2912
2913 [BZ #13576]
2914 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
2915 multiple of MALLOC_ALIGNMENT in size.
2916 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
2917
6bcc8b3f
JM
29182012-05-24 Joseph Myers <joseph@codesourcery.com>
2919
2920 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
2921 Require >= 256.
2922 (FILENAME_MAX): Use macro-int-constant.
2923 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
2924 (_IOFBF): Use macro-int-constant.
2925 (_IOLBF): Likewise.
2926 (_IONBF): Likewise.
2927 (SEEK_CUR): Likewise.
2928 (SEEK_END): Likewise.
2929 (SEEK_SET): Likewise.
2930 (TMP_MAX): Likewise.
2931 (EOF): Use macro-int-constant. Require < 0.
2932 (NULL): Use macro-constant. Require == 0.
2933 (stdin): Require type to be FILE *.
2934 (stdout): Likewise.
2935 (stderr): Likewise.
2936 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
2937 macro-int-constant.
2938 (EXIT_SUCCESS): Likewise.
2939 (NULL): Use macro-constant. Require == 0.
2940 (RAND_MAX): Use macro-int-constant.
2941 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
2942 [C99-based standards] (strtof): Require function.
2943 [C99-based standards] (strtold): Likewise.
2944 [C99-based standards] (strtoll): Likewise.
2945 [C99-based standards] (strtoull): Likewise.
2946 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2947 [ISO || ISO99 || ISO11] (limits.h): Likewise.
2948 [ISO || ISO99 || ISO11] (math.h): Likewise.
2949 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
2950 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2951 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2952
d18ea0c5
AS
29532012-05-24 Andreas Schwab <schwab@linux-m68k.org>
2954
2955 [BZ #14132]
56d25bb8
AS
2956 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
2957 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
2958 * intl/dgettext.c (DCGETTEXT): Likewise.
2959 * intl/gettext.c (DCGETTEXT): Likewise.
2960 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
2961 * posix/regex_internal.h (gettext): Likewise.
2962 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
2963 Remove declaration.
2964 * include/argz.h (__argz_count_internal)
2965 (__argz_stringify_internal): Remove declaration.
2966 (__argz_count, __argz_stringify): Declare hidden proto.
2967 * intl/dcgettext.c: Remove use of INTDEF.
2968 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
2969 * string/argz-stringify.c: Likewise.
2970 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2971 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2972 Declare hidden proto.
d18ea0c5
AS
2973 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2974 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2975 Declare hidden proto.
2976 * include/stdio.h (__asprintf_internal): Don't declare.
2977 (__asprintf): Don't define as macro. Declare hidden proto.
2978 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
2979 (__fsetlocking): Declare hidden proto.
2980 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
2981 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
2982 hidden proto.
2983 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
2984 (_IO_setlinebuf): Remove use of INTUSE.
2985 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
2986 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
2987 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
2988 Remove declaration.
2989 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
2990 (_IO_do_flush): Remove use of INTUSE.
2991 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
2992 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
2993 (_IO_adjust_column, _IO_least_wmarker)
2994 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
2995 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
2996 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
2997 (_IO_default_doallocate, _IO_wdefault_doallocate)
2998 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
2999 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
3000 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
3001 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
3002 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
3003 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
3004 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
3005 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
3006 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
3007 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
3008 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
3009 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
3010 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
3011 proto.
3012 (_IO_flush_all_internal, _IO_adjust_column_internal)
3013 (_IO_default_uflow_internal, _IO_default_finish_internal)
3014 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
3015 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
3016 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
3017 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
3018 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
3019 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
3020 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
3021 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
3022 (_IO_file_close_internal, _IO_file_close_it_internal)
3023 (_IO_file_underflow_internal, _IO_file_overflow_internal)
3024 (_IO_file_init_internal, _IO_file_attach_internal)
3025 (_IO_file_fopen_internal, _IO_file_read_internal)
3026 (_IO_file_sync_internal, _IO_file_seek_internal)
3027 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
3028 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
3029 (_IO_str_underflow_internal, _IO_str_overflow_internal)
3030 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
3031 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
3032 (_IO_list_all_internal, _IO_link_in_internal)
3033 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
3034 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
3035 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
3036 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
3037 (_IO_do_write_internal, _IO_padn_internal)
3038 (_IO_getline_info_internal, _IO_getline_internal)
3039 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
3040 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
3041 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
3042 (_IO_vfscanf_internal, _IO_vfprintf_internal)
3043 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
3044 (_IO_init_internal, _IO_un_link_internal): Don't declare.
3045 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
3046 with libc_hidden_ver, remove use of INTUSE.
3047 * libio/genops.c: Likewise.
3048 * libio/freopen.c: Likewise.
3049 * libio/freopen64.c: Likewise.
3050 * libio/iofclose.c: Likewise.
3051 * libio/iofdopen.c: Likewise.
3052 * libio/iofflush.c: Likewise.
3053 * libio/iofflush_u.c: Likewise.
3054 * libio/iofgets.c: Likewise.
3055 * libio/iofgets_u.c: Likewise.
3056 * libio/iofopen.c: Likewise.
3057 * libio/iofopncook.c: Likewise.
3058 * libio/iofread.c: Likewise.
3059 * libio/iofread_u.c: Likewise.
3060 * libio/ioftell.c: Likewise.
3061 * libio/iofwrite.c: Likewise.
3062 * libio/iogetline.c: Likewise.
3063 * libio/iogets.c: Likewise.
3064 * libio/iogetwline.c: Likewise.
3065 * libio/iopadn.c: Likewise.
3066 * libio/iopopen.c: Likewise.
3067 * libio/ioseekoff.c: Likewise.
3068 * libio/ioseekpos.c: Likewise.
3069 * libio/iosetbuffer.c: Likewise.
3070 * libio/iosetvbuf.c: Likewise.
3071 * libio/ioungetc.c: Likewise.
3072 * libio/ioungetwc.c: Likewise.
3073 * libio/iovdprintf.c: Likewise.
3074 * libio/iovsprintf.c: Likewise.
3075 * libio/iovsscanf.c: Likewise.
3076 * libio/memstream.c: Likewise.
3077 * libio/obprintf.c: Likewise.
3078 * libio/oldfileops.c: Likewise.
3079 * libio/oldiofclose.c: Likewise.
3080 * libio/oldiofdopen.c: Likewise.
3081 * libio/oldiofopen.c: Likewise.
3082 * libio/oldiopopen.c: Likewise.
3083 * libio/oldstdfiles.c: Likewise.
3084 * libio/putc.c: Likewise.
3085 * libio/setbuf.c: Likewise.
3086 * libio/setlinebuf.c: Likewise.
3087 * libio/stdfiles.c: Likewise.
3088 * libio/strops.c: Likewise.
3089 * libio/vasprintf.c: Likewise.
3090 * libio/vscanf.c: Likewise.
3091 * libio/vsnprintf.c: Likewise.
3092 * libio/vswprintf.c: Likewise.
3093 * libio/wfiledoalloc.c: Likewise.
3094 * libio/wfileops.c: Likewise.
3095 * libio/wgenops.c: Likewise.
3096 * libio/wmemstream.c: Likewise.
3097 * libio/wstrops.c: Likewise.
3098 * libio/__fpurge.c: Likewise.
3099 * libio/__fsetlocking.c: Likewise.
3100 * assert/assert.c: Likewise.
3101 * debug/fgets_chk.c: Likewise.
3102 * debug/fgets_u_chk.c: Likewise.
3103 * debug/fread_chk.c: Likewise.
3104 * debug/fread_u_chk.c: Likewise.
3105 * debug/gets_chk.c: Likewise.
3106 * debug/obprintf_chk.c: Likewise.
3107 * debug/vasprintf_chk.c: Likewise.
3108 * debug/vdprintf_chk.c: Likewise.
3109 * debug/vsnprintf_chk.c: Likewise.
3110 * debug/vsprintf_chk.c: Likewise.
3111 * malloc/mtrace.c: Likewise.
3112 * misc/error.c: Likewise.
3113 * misc/syslog.c: Likewise.
3114 * stdio-common/asprintf.c: Likewise.
3115 * stdio-common/fxprintf.c: Likewise.
3116 * stdio-common/getw.c: Likewise.
3117 * stdio-common/isoc99_fscanf.c: Likewise.
3118 * stdio-common/isoc99_scanf.c: Likewise.
3119 * stdio-common/isoc99_vfscanf.c: Likewise.
3120 * stdio-common/isoc99_vscanf.c: Likewise.
3121 * stdio-common/isoc99_vsscanf.c: Likewise.
3122 * stdio-common/printf-prs.c: Likewise.
3123 * stdio-common/printf_fp.c: Likewise.
3124 * stdio-common/printf_fphex.c: Likewise.
3125 * stdio-common/printf_size.c: Likewise.
3126 * stdio-common/putw.c: Likewise.
3127 * stdio-common/scanf.c: Likewise.
3128 * stdio-common/sprintf.c: Likewise.
3129 * stdio-common/tmpfile.c: Likewise.
3130 * stdio-common/vfprintf.c: Likewise.
3131 * stdio-common/vfscanf.c: Likewise.
3132 * stdlib/strfmon_l.c: Likewise.
3133 * sunrpc/openchild.c: Likewise.
3134 * sunrpc/xdr_stdio.c: Likewise.
3135 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3136 * sysdeps/mach/hurd/tmpfile.c: Likewise.
3137
d6c33fda
RM
31382012-05-24 Roland McGrath <roland@hack.frob.com>
3139
c1487492
RM
3140 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3141
3142 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
3143 in the third column, to generate for the shared library an IFUNC
3144 that uses _dl_vdso_vsym.
3145 * Makerules (COMPILE.c, compile-stdin.c): New variables.
3146 * Makeconfig (object-suffixes-noshared): New variable.
3147
3148 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
3149 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
3150 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
3151 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
3152
d6c33fda
RM
3153 [BZ #14132]
3154 * include/sys/time.h (__gettimeofday): Remove macro.
3155 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
3156 * time/gettimeofday.c (__gettimeofday): Remove #undef.
3157 Remove INTDEF.
3158 (__gettimeofday): Add libc_hidden_def.
3159 (gettimeofday): Add libc_hidden_weak.
3160 * sysdeps/mach/gettimeofday.c: Likewise.
3161 * sysdeps/posix/gettimeofday.c: Likewise.
3162 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3163 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3164 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
3165 (__gettimeofday_internal): Remove strong_alias.
3166 (__gettimeofday): Add libc_hidden_def.
3167 (gettimeofday): Add libc_hidden_weak.
3168 * sysdeps/unix/syscalls.list (gettimeofday):
3169 Remove __gettimeofday_internal alias.
3170
b5a2bbe6
L
31712012-05-24 Daniel Jacobowitz <drow@false.org>
3172 H.J. Lu <hongjiu.lu@intel.com>
3173
3174 [BZ #12495]
3175 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
3176 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
3177 (largebin_index_32_big): New.
3178 (largebin_index): Use it for 16-byte alignment.
3179 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
3180 correction with front_misalign.
3181
cfba4fda
L
31822012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3183
7f907421
L
3184 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
3185 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3186 Likewise.
3187 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
3188 Likewise.
3189 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3190 Likewise.
3191 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
3192 Likewise.
3193 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
3194 Likewise.
3195 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
3196 Likewise.
3197 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
3198 Likewise.
3199 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3200 Likewise.
3201 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
3202 Likewise.
3203 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
3204 Likewise.
3205 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3206 Likewise.
3207 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
3208 Likewise.
3209
cfba4fda
L
3210 * scripts/data/c++-types-x32-linux-gnu.data: New file.
3211 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
3212
80bad0cc
JM
32132012-05-24 Joseph Myers <joseph@codesourcery.com>
3214
7a25eb06
JM
3215 [BZ #10846]
3216 [BZ #14036]
3217 * math/libm-test.inc (exp_test): Add test from bug 14036.
3218 (pow_test): Add test from bug 10846.
3219
795405f9
JM
3220 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
3221 and other flags.
3222 (special_function): Do not include flags in test name.
3223 (parse_args): Likewise.
3224 * sysdeps/i386/fpu/libm-test-ulps: Update.
3225 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3226 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3227 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3229
80bad0cc
JM
3230 * math/gen-libm-test.pl (%beautify): Add entries for underflow
3231 exceptions.
3232 * math/libm-test.inc ("Philosophy"): Update comment about
3233 exception testing.
3234 (UNDERFLOW_EXCEPTION): New macro.
3235 (UNDERFLOW_EXCEPTION_OK): Likewise.
3236 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3237 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3238 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3239 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3240 (INVALID_EXCEPTION_OK): Update value.
3241 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3242 (OVERFLOW_EXCEPTION_OK): Likewise.
3243 (IGNORE_ZERO_INF_SIGN): Likewise.
3244 (test_exceptions): Handle underflow exceptions.
3245 (acos_test): Update for underflow exception expectations.
3246 (cexp_test): Likewise.
3247 (clog_test): Likewise.
3248 (clog10_test): Likewise.
3249 (csqrt_test): Likewise.
3250 (ctan_test): Likewise.
3251 (ctanh_test): Likewise.
3252 (exp_test): Likewise.
3253 (exp10_test): Likewise.
3254 (exp2_test): Likewise.
3255 (expm1_test): Likewise.
3256 (fma_test): Likewise.
3257 (j0_test): Likewise.
3258 (jn_test): Likewise.
3259 (nexttoward_test): Likewise.
3260 (pow_test): Likewise.
3261 (scalbn_test): Likewise.
3262 (scalbln_test): Likewise.
3263 (tan_test): Likewise.
3264 (y1_test): Likewise.
3265 * sysdeps/i386/fpu/libm-test-ulps: Update.
3266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3267
9e0e3d0b
DM
32682012-05-23 David S. Miller <davem@davemloft.net>
3269
3270 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3271 (__libc_sigaction): Remove unused local variables.
3272
ccd0a08f
L
32732012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3274
3275 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3276
62bdf9a6
PE
32772012-05-23 Paul Eggert <eggert@cs.ucla.edu>
3278
f8591f80
PE
3279 mktime: avoid signed integer overflow
3280 * time/mktime.c (__mktime_internal): Do not mishandle the case
3281 where diff == INT_MIN.
3282
94c7d826
PE
3283 mktime: simplify computation of average
3284 * time/mktime.c (ranged_convert): Use new time_t_avg function
3285 instead of rolling our own (probably-slower) code.
3286
ce73d683
PE
3287 mktime: do not assume signed right shift propagates sign bit
3288 * time/mktime.c (isdst_differ): New static function.
3289 (__mktime_internal): No need to normalize tm_isdst now.
3290 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3291 tm_isdst values.
3292
72a22e59
PE
3293 mktime: merge another wrapv change from gnulib
3294 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3295 from some compilers.
3296
68605433
PE
3297 mktime: remove incorrect attempt at unusual arithmetics
3298 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3299 The code didn't really work on such machines anyway.
3300 (TYPE_MINIMUM): Assume two's complement.
3301 (twos_complement_arithmetic): Verify that long_int and time_t
3302 are two's complement (or unsigned, in the latter case).
3303
03cf7fe3
PE
3304 mktime: check signed shifts on long_int and time_t, too
3305 * time/mktime.c (SHR): Check that shifts work as desired
3306 on the types long_int and time_t too, as SHR is used on
3307 such types.
3308
f04dfbc2
PE
3309 mktime: do not assume 'long' is wide enough
3310 * time/mktime.c (verify): Move decl up.
3311 (long_int): New type.
3312 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3313 to remove assumption in the code that 'long' is wide enough to
3314 store year values. This assumption is not true on x32 and on
3315 some non-glibc platforms.
3316
62bdf9a6
PE
3317 mktime: merge wrapv change from gnulib
3318 * time/mktime.c (WRAPV): New macro.
3319 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3320 (guess_time_tm, __mktime_internal): Do not assume that signed
3321 integer overflow wraps around; modern compilers generate code
3322 where this assumption is no longer valid.
3323
5e292e4f
L
33242012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3325
3326 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3327 Replace "jmp L(pseudo_end)" with "ret".
3328 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3329 Likewise.
3330
8caf8c87
AJ
33312012-05-23 Andreas Jaeger <aj@suse.de>
3332
3333 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3334 * sysdeps/unix/sysv/linux/poll.c: Remove file.
3335
1a09dc56
AJ
33362012-05-23 Andreas Jaeger <aj@suse.de>
3337 Maximilian Attems <max@stro.at>
3338
3339 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3340 New macros.
3341
1c87aba0
L
33422012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3343
3344 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3345 code so that pseudo_end is just ret and the stack pointer is
3346 correct also for static library in error case.
3347
40e45bd5
JM
33482012-05-23 Joseph Myers <joseph@codesourcery.com>
3349
c2670533
JM
3350 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
3351 move to syscalls.list.
3352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3356
40e45bd5
JM
3357 * manual/install.texi (Running make install): Do not mention Linux
3358 kernel version for which pt_chown is not needed.
3359 (Linux): Do not mention problems with nscd with 2.0 kernels.
3360 * INSTALL: Regenerated.
3361
be08eda5
AJ
33622012-05-23 Andreas Jaeger <aj@suse.de>
3363
3364 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3365 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
3366 macro.
3367 * sysdeps/unix/sysv/linux/s390/bits/mman.h
3368 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3369 * sysdeps/unix/sysv/linux/sh/bits/mman.h
3370 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3371 * sysdeps/unix/sysv/linux/i386/bits/mman.h
3372 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3373 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
3374 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3375 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
3376 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3377 * sysdeps/unix/sysv/linux/bits/in.h
3378 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
3379
a6a056bb
RM
33802012-05-22 Roland McGrath <roland@hack.frob.com>
3381
3382 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
3383 (PREPARE_VERSION): Just use assert instead, it will be elided
3384 under [NDEBUG] anyway.
3385
c9009328
L
33862012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3387
3388 * sysdeps/unix/sysv/linux/Makefile: Include
3389 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 3390 (sysdep_routines): Remove sysctl.
c9009328
L
3391 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
3392 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
3393 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
3394 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
3395 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
3396
73338355
AJ
33972012-05-22 Andreas Jaeger <aj@suse.de>
3398
3399 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
3400 that pseudo_end is just ret and the stack pointer is correct also
3401 for static library in error case.
3402
d44638b0
PP
34032012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3404
3405 [BZ #14122]
3406 * nss/nsswitch.c (defconfig_entries): New variable.
3407 (__nss_database_lookup): Don't leak defconfig entries.
3408 (nss_parse_service_list): Don't leak on error paths.
3409 (free_database_entries): New function.
3410 (free_defconfig): New function.
3411 (free_mem): Move common code to free_database_entries.
3412
31a39bd8
L
34132012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3414
da0331a8
L
3415 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
3416 Add arch_prctl.
3417 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
3418
31a39bd8
L
3419 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3420 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
3421 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
3422 New macro.
3423 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3424 (INTERNAL_SYSCALL_TYPES): Likewise.
3425 (LOAD_ARGS_TYPES_[1-6]): Likewise.
3426 (LOAD_REGS_TYPES_[1-6]): Likewise.
3427 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
3428 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
3429
45470df3
AZ
34302012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3431
3432 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
3433 copysignl for GLIBC_2_0.
3434 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
3435 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
3436 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
3437 logbl for GLIBC_2_0.
3438 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3439 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3440
98a61bcb
L
34412012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3442
a4f6e481
L
3443 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
3444 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3445
f63d5db6
L
3446 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3447 Use "neg %eax".
3448
98a61bcb
L
3449 * time/mktime.c: Update copyright years.
3450
95770f14
PE
34512012-05-22 Paul Eggert <eggert@cs.ucla.edu>
3452
6226efbd
PE
3453 mktime: merge comment-quoting-style change from gnulib
3454 * time/mktime.c: Quote 'like this' in comments.
3455 The GNU coding standards suggest that we no longer quote `like this',
3456 as "`" and "'" are typically rendered asymmetrically nowadays.
3457 The typical gnulib style is to quote 'like this' when quoting
3458 code, and "like this" when quoting English.
3459
b99e4f78
PE
3460 * time/mktime.c (compile-command): Add "-I.".
3461
643e01e6
PE
3462 mktime: merge mktime-internal.h change from gnulib
3463 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
3464
2554247d
PE
3465 mktime: merge time_r change from gnulib
3466 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
3467
826dd0ab
PE
3468 mktime: merge DEBUG change from gnulib
3469 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
3470 case system <time.h> has a #define.
3471
bd83aabe
PE
3472 mktime: merge <sys/types.h> change from gnulib
3473 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
3474 since <time.t> is now guaranteed to define time_t.
3475
95770f14
PE
3476 mktime: merge HAVE_CONFIG_H change from gnulib
3477 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
3478
5e1a27a9
L
34792012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3480
0e44a77e
L
3481 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3482 Use "neg %eax".
3483
5e1a27a9
L
3484 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
3485 __rlim_t cast.
3486 (struct rusage): Use anonymous union to pad each field to
3487 __syscall_slong_t.
3488
46259bec
DM
34892012-05-21 David S. Miller <davem@davemloft.net>
3490
3491 * Makefules (o-iterator): Remove .s cases.
3492 (compile-command.s): Delete.
3493 (COMPILE.s): Delete.
3494 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
3495
59f0c22e
JM
34962012-05-21 Joseph Myers <joseph@codesourcery.com>
3497
3498 * configure.in (libc_cv_predef_stack_protector): Only consider
3499 "foobar" and "__stack_chk_fail" lines in libc_undefs.
3500 * configure: Regenerated.
3501
20c07380
L
35022012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3503
bbb3154b
L
3504 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3505 New macro. Use R*LP on int and pointer.
3506 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
3507 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
3508 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
3509 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
3510
20c07380
L
3511 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
3512 [__WORDSIZE_TIME64_COMPAT32] instead of
3513 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
3514 (struct utmp): Likewise.
3515 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
3516 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
3517 Renamed to ...
3518 (__WORDSIZE_TIME64_COMPAT32): This.
3519 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3520 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3521 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
3522 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
3523 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
3524 (__WORDSIZE_TIME64_COMPAT32): New macro.
3525
d8d1017e
AJ
35262012-05-21 Andreas Jaeger <aj@suse.de>
3527
3528 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
3529 only if [SHARED]. Add prototype for __wcschr_ia32.
3530
6c7fb145
RM
35312012-05-21 Roland McGrath <roland@hack.frob.com>
3532
3533 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
3534 of %rbp unmolested in the jmp_buf while mangling the low bits.
3535 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
3536 unmolested high bits of %rbp while demangling the low bits.
3537 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3538
66274218
AJ
35392012-05-21 Andreas Jaeger <aj@suse.de>
3540
07c58f8f
AJ
3541 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
3542 * sunrpc/svc_simple.c: Use it for registerrpc.
3543 * sunrpc/xcrypt.c: Use it for passwd2des.
3544
66274218
AJ
3545 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
3546
61f65140
L
35472012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3548
3549 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
3550 Don't define if [__SYSCALL_WORDSIZE != 32].
3551 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
3552 New macro.
3553
5fefb436
AJ
35542012-05-21 Bruno Haible <bruno@clisp.org>
3555 Andreas Jaeger <aj@suse.de>
3556
3557 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
3558 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
3559 inptr and inend for must_buffer_ch.
3560 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
3561 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
3562 * stdio-common/Makefile (tests): Remove bug15.
3563 (bug15-ENV): Remove macro.
3564 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
3565 anymore.
3566
d8e272ab
AJ
35672012-05-19 Andreas Jaeger <aj@suse.de>
3568 Roland McGrath <roland@hack.frob.com>
3569
3570 * manual/contrib.texi: Completely rewritten. It contains now an
3571 alphabetical list of contributors and their contributions.
3572
4a56a162
RH
35732012-05-21 Richard Henderson <rth@twiddle.net>
3574
3575 * misc/getauxval.c (__getauxval): Use unsigned long int.
3576 * misc/sys/auxv.h: Include <sys/cdefs.h>.
3577 (getauxval): Use unsigned long int.
3578
d024d23c
L
35792012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3580
3581 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3582
cbc00a03
RM
35832012-05-21 Roland McGrath <roland@hack.frob.com>
3584
3585 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
3586 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
3587 __alignof__ (long double).
3588
478143fa
AZ
35892012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3590
3591 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3592
c7683a6d
RH
35932012-05-20 Richard Henderson <rth@twiddle.net>
3594
3595 * misc/getauxval.c: New file.
3596 * misc/sys/auxv.h: New file.
3597 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
3598 (routines): Add getauxval.
3599 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
3600 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
3601 * elf/dl-sysdep.c (_dl_auxv): Remove.
3602 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
3603 * elf/dl-support.c (_dl_auxv): New variable.
3604 (_dl_aux_init): Initialize it.
3605 * manual/startup.texi (Auxiliary Vector): New node.
3606 * sysdeps/generic/bits/hwcap.h: New file.
3607 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
3608 * sysdeps/powerpc/sysdep.h: ... here. Include it.
3609 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
3610 * sysdeps/sparc/sysdep.h: ... here. Include it.
3611 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
3612 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
3613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3614 Update.
c7683a6d
RH
3615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
3616 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
3617 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
3618 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
3619 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3620 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3621 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
3622 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
3623
a6f1845d
AZ
36242012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3625
3626 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3627
cbcbe830
DM
36282012-05-19 David S. Miller <davem@davemloft.net>
3629
3630 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3631
e0b16cc2
JM
36322012-05-19 Joseph Myers <joseph@codesourcery.com>
3633
3634 [BZ #14123]
3635 * math/s_ccosh.c: Include <float.h>
3636 (__ccosh): Avoid internal overflow calculating sinh and cosh
3637 values before multiplying by sin and cos values.
3638 * math/s_ccoshf.c: Likewise.
3639 * math/s_ccoshl.c: Likewise.
3640 * math/s_csin.c: Likewise.
3641 * math/s_csinf.c: Likewise.
3642 * math/s_csinl.c: Likewise.
3643 * math/s_csinh.c: Likewise.
3644 * math/s_csinhf.c: Likewise.
3645 * math/s_csinhl.c: Likewise.
3646 * math/libm-test.inc (ccos_test): Add more tests.
3647 (ccosh_test): Likewise.
3648 (csin_test): Likewise.
3649 (csinh_test): Likewise.
3650 * sysdeps/i386/fpu/libm-test-ulps: Update.
3651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3652
6ad13e08
L
36532012-05-19 H.J. Lu <hongjiu.lu@intel.com>
3654
f66f0ce8
L
3655 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
3656 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3657
6ad13e08
L
3658 * sysdeps/x86_64/x32/_itoa.h: Add comment.
3659
b1d072a7
JM
36602012-05-19 Joseph Myers <joseph@codesourcery.com>
3661
3662 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
3663 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
3664 * sysdeps/powerpc/soft-fp/Versions: Likewise.
3665 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
3666 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
3667 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
3668 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
3669 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
3670 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
3671 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
3672 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
3673 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
3674 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
3675 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
3676 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
3677 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
3678 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
3679 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
3680 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
3681 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
3682 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
3683 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
3684 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
3685 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
3686 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
3687 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
3688 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
3689 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
3690 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
3691 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
3692 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
3693
9eae47cb
AJ
36942012-05-18 Andreas Jaeger <aj@suse.de>
3695
3696 * csu/.gitignore: Delete.
3697
bb07f69f
L
36982012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3699
3700 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
3701 (timex): Use __syscall_slong_t.
3702
e6bdb741
AJ
37032012-05-18 Andreas Jaeger <aj@suse.de>
3704 Carlos O'Donell <carlos_odonell@mentor.com>
3705
3706 * manual/install.texi (Configuring and compiling): Update
3707 description about files modified in the source directory.
d6c33fda 3708 * INSTALL: Regenerated.
e6bdb741 3709
1b74487e
L
37102012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3711
3712 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
3713 value. Use "or" to set return value to -1.
3714 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
3715 negate return value.
3716
a88b64b9
TMQMF
37172012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3718
3719 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
3720 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
3721 failure if the compiler has Graphite support disabled.
3722 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
3723 Likewise.
3724 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
3725 CFLAGS-memmove.c): Likewise.
3726 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
3727 Likewise.
3728
3707636e
L
37292012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3730
610b8622
L
3731 * sysdeps/x86_64/x32/_itoa.h: New file.
3732
7cd195df
L
3733 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
3734 getdents system call only if kernel and user dirents have the
3735 same d_ino and d_off.
3736
94b07d20
L
3737 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3738 LLONG_MAX != LONG_MAX.
3739 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3740 (_fitoa_word): Likewise.
3741
18298070
L
3742 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
3743 years.
3744 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
3745 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
3746 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
3747
553c7ea4
L
3748 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
3749 include <bits/wordsize.h>. Check __x86_64__ instead of
3750 __WORDSIZE.
3751 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
3752 if __x86_64__ is defined. Use anonymous union on fpstate.
3753
3707636e
L
3754 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
3755 anonymous union.
3756
b53ef01a
AS
37572012-05-18 Andreas Schwab <schwab@linux-m68k.org>
3758
37fb1dc0
AS
3759 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3760 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
3761 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
3762 Refer to _rtld_local_ro instead of _rtld_global_ro.
3763 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
3764 Likewise.
3765 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
3766 Likewise.
3767 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
3768 Likewise.
3769 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
3770 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
3771 of _rtld_global, and rtld_progname instead of _dl_argv[0].
3772
b53ef01a
AS
3773 * sysdeps/powerpc/powerpc32/dl-machine.c
3774 (__elf_machine_runtime_setup) [PROF]: Don't reference
3775 _dl_prof_resolve.
3776
7a185db2
AJ
37772012-05-18 Andreas Jaeger <aj@suse.de>
3778
3779 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
3780 function only available for GCCs before 3.4 since GCC 3.4
3781 introduced a builtin.
3782 (lrint): Likewise.
3783 (llrintf): Likewise.
3784 (llrint): Likewise.
3785 (fmaxf): Likewise.
3786 (fmax): Likewise.
3787 (fminf): Likewise.
3788 (fmin): Likewise.
3789 (rint): Likewise.
3790 (rintf): Likewise.
3791 (nearbyint): Likewise.
3792 (nearbyintf): Likewise.
3793 (ceil): Likewise.
3794 (ceilf): Likewise.
3795 (floor): Likewise.
3796 (floorf): Likewise.
3797
3e5aef87
L
37982012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3799
428bd707
L
3800 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
3801 on both fields and cast pointer to __syscall_ulong_t.
3802
3e5aef87
L
3803 * bits/types.h (__fsword_t): New type.
3804 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
3805 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
3806 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3807 (__FSWORD_T_TYPE): Likewise.
3808 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3809 (__FSWORD_T_TYPE): Likewise.
3810 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3811 (__FSWORD_T_TYPE): Likewise.
3812 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
3813 (__FSWORD_T_TYPE): Likewise.
3814 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
3815 __SWORD_TYPE with __fsword_t.
3816 (statfs64): Likewise.
3817
1ba7c3dc
DM
38182012-05-17 David S. Miller <davem@davemloft.net>
3819
3820 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
3821
59910343
AJ
38222012-05-17 Andreas Jaeger <aj@suse.de>
3823
3824 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
3825 warning.
3826
2e4c1e9e
L
38272012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3828
3829 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
3830
de7f5ce7
AJ
38312012-05-17 Andreas Jaeger <aj@suse.de>
3832
3833 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
3834 when it is used.
3835
286abc3d
CM
38362012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3837
3838 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
3839
477cc68e
L
38402012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3841
3842 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
3843 * sysdeps/x86_64/tst-mallocalign1.c: New file.
3844
1a0994f5
CD
38452012-05-17 Andreas Jaeger <aj@suse.de>
3846 Carlos O'Donell <carlos_odonell@mentor.com>
3847
3848 [BZ #14059]
3849 * sysdeps/x86_64/multiarch/init-arch.h
3850 (bit_YMM_Usable): Rename to...
3851 (bit_AVX_Usable): ... this.
3852 (bit_FMA4_Usable): New macro.
3853 (bit_XMM_state): New macro.
3854 (bit_YMM_state): New macro.
3855 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
3856 [__ASSEMBLER__] (index_AVX_Usable): ... this.
3857 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
3858 (CPUID_OSXSAVE): New macro.
3859 (CPUID_AVX): New macro.
3860 (CPUID_FMA4): New macro.
3861 (index_YMM_Usable): Rename to...
3862 (index_AVX_Usable): ... this.
3863 (HAS_AVX): Use HAS_ARCH_FEATURE.
3864 (HAS_FMA4): Likewise.
3865 (HAS_YMM_USABLE): Remove.
3866 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3867 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
3868 are present.
3869 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
3870 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
3871 * sysdeps/x86_64/multiarch/Makefile: Likewise.
3872 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
3873 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
3874
0af797de
CM
38752012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3876
3877 * math/libm-test.c: Support platforms without multiple rounding modes.
3878 * math/bug-nextafter.c: Support platforms without FP exceptions.
3879 * math/bug-nexttoward.c: Likewise.
3880 * math/test-fenv.c: Likewise.
3881 * math/test-misc.c: Likewise.
3882 * stdlib/bug-getcontext.c: Likewise.
3883
e39745ff
AJ
38842012-05-17 Andreas Jaeger <aj@suse.de>
3885
3886 * manual/examples/search.c (critter_cmp): Change signature to
3887 avoid warnings.
3888 * manual/string.texi (Collation Functions): Likewise.
3889
48970aba
L
38902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3891
3892 * bits/types.h: Fold copyright years.
3893 * bits/typesizes.h: Likewise.
3894 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
3895 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
3896 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
3897 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
3898 * time/time.h: Likewise.
3899
bedee953
PP
39002012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3901
3902 [BZ #208]
3903 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
3904 in instead of returning them. Return void.
3905 (__libc_mallinfo): Accumulate over all arenas.
3906 (__malloc_stats): Adjust for change in int_mallinfo interface.
3907
61653dfb
RM
39082012-05-16 Roland McGrath <roland@hack.frob.com>
3909
30b99d79
RM
3910 [BZ #10375]
3911 * configure.in (NM): Add AC_CHECK_TOOL for it.
3912 (libc_extra_cflags): New substituted variable.
3913 Check for -fstack-protector being used implicitly.
3914 * configure: Regenerated.
3915 * config.make.in (config-extra-cflags): New variable,
3916 gets @libc_extra_cflags@.
3917 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
3918
61653dfb
RM
3919 [BZ #10375]
3920 * configure.in: Check for _FORTIFY_SOURCE being predefined.
3921 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
3922 * configure: Regenerated.
3923 * config.make.in (CPPUNDEFS): New substituted variable.
3924 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
3925 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
3926 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
3927
661768bb
L
39282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3929
3930 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
3931 (mq_attr): Use __syscall_slong_t.
3932
d4261567
L
39332012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3934
3935 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
3936 Check __x86_64__ instead of __WORDSIZE.
3937 (_STAT_VER_LINUX): Likewise.
3938 (stat): Check __x86_64__ instead of __WORDSIZE. Use
3939 __syscall_ulong_t and __syscall_slong_t.
3940 (stat64): Likewise.
3941
cf3ff365
L
39422012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3943
3944 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
3945
76cf3e4d
L
39462012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3947
3948 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
3949
a637753a
L
39502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3951
3952 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
3953 __syscall_ulong_t.
3954
d5e05119
L
3955 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
3956 include <bits/wordsize.h>. Check __x86_64__ instead of
3957 __WORDSIZE.
3958 (greg_t): Use "__extension__ long long int" if __x86_64__ is
3959 defined.
3960 (mcontext_t): Replace "unsigned long" with "unsigned long long".
3961
f62ee380
L
3962 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
3963 include <bits/wordsize.h>. Check __x86_64__ instead of
3964 __WORDSIZE.
3965 (user_regs_struct): Use "__extension__ unsigned long long"
3966 instead of "unsigned long" if __x86_64__ is defined.
3967 (user): Likewise. Pad after pointer field if __ILP32__ is
3968 defined.
3969
4e124ced
JM
39702012-05-16 Joseph Myers <joseph@codesourcery.com>
3971
6a3951a0
JM
3972 * configure.in (makeinfo): Require version 4.5 or later. Allow
3973 versions 5 to 9.
3974 * configure: Regenerated.
3975 * manual/install.texi (texinfo): Increase version requirement to
3976 4.5 or later.
3977 * INSTALL: Regenerated.
3978
4e124ced
JM
3979 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
3980
953ca31a
L
39812012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3982
3983 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
3984
617aca05
L
3985 * sysdeps/x86_64/x32/ffs.c: New file.
3986
5762f7ae
L
3987 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
3988 __syscall_ulong_t.
3989 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
3990 defined. Use __syscall_ulong_t.
3991 (shminfo): Use __syscall_ulong_t.
3992 (shm_info): Likewise.
3993
a26b6856
L
3994 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
3995 __syscall_ulong_t.
3996
cb2b9ef7
L
3997 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
3998 <bits/wordsize.h>.
3999 (msgqnum_t): Use __syscall_ulong_t.
4000 (msglen_t): Likewise.
4001 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
4002 __syscall_ulong_t.
4003
34683bb0
L
4004 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
4005 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4006
84a68786
L
4007 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
4008
48baa5f1
L
4009 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
4010 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
4011
180be88b
L
4012 * sysvipc/sys/msg.h (msgbuf): Replace long int with
4013 __syscall_slong_t.
4014
5e90c8ad
L
4015 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
4016 include <bits/wordsize.h>. Check __x86_64__ instead of
4017 __WORDSIZE.
4018
23dfb58b
L
4019 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
4020 "unsigned long long int" if __x86_64__ is defined.
4021 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
4022
ce5d54b0
L
4023 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
4024 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4025 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
4026
13dc9eac
L
4027 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
4028 <stdint.h>.
4029 (GET_PC): Cast to uintptr_t first.
4030 (GET_FRAME): Likewise.
4031 (GET_STACK): Likewise.
4032
a7895d15
L
4033 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
4034 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
4035 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
4036 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
4037 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
4038 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
4039 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
4040 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
4041 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4042 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
4043 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
4044 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
4045 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4046 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
4047 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
4048 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
4049 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
4050 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
4051 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
4052 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
4053 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
4054 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
4055 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
4056 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
4057 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
4058 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
4059 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
4060 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
4061 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
4062
656416c9
AS
40632012-05-16 Andreas Schwab <schwab@linux-m68k.org>
4064
5bd66283
AS
4065 * Makerules (+depfiles): Also collect depfiles from .oS in
4066 $(extra-objs).
4067 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
4068 .oS, $(libnldbl-routines)).
4069
656416c9
AS
4070 * Makerules (native-compile-mkdep-flags): Define.
4071 * sunrpc/Makefile (extra-objs): Add $(addprefix
4072 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
4073 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
4074 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
4075 calling $(make-target-directory).
4076
a46f2169
L
40772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4078
4079 * bits/types.h (__snseconds_t): Removed.
4080 * time/time.h (struct timespec): Replace __snseconds_t with
4081 __syscall_slong_t.
4082 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
4083 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
4084 Likewise.
4085 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4086 (__SNSECONDS_T_TYPE): Likewise.
4087 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4088 (__SNSECONDS_T_TYPE): Likewise.
4089 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4090 (__SNSECONDS_T_TYPE): Likewise.
4091
6af6528b
L
40922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4093
4094 * sysdeps/mach/hurd/bits/typesizes.h
4095 (__SYSCALL_SLONG_TYPE): New macro.
4096 (__SYSCALL_ULONG_TYPE): Likewise.
4097
de986b56
L
40982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4099
4100 * bits/types.h (__syscall_slong_t): New type.
4101 (__syscall_ulong_t): Likewise.
4102
4103 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
4104 (__SYSCALL_ULONG_TYPE): Likewise.
4105 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4106 (__SYSCALL_SLONG_TYPE): Likewise.
4107 (__SYSCALL_ULONG_TYPE): Likewise.
4108 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4109 (__SYSCALL_SLONG_TYPE): Likewise.
4110 (__SYSCALL_ULONG_TYPE): Likewise.
4111 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4112 (__SYSCALL_SLONG_TYPE): Likewise.
4113 (__SYSCALL_ULONG_TYPE): Likewise.
4114
85736dc7
L
41152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4116
4117 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
4118 Add sigaltstack-offsets.sym.
4119 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
4120 <sigaltstack-offsets.h>.
4121 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
4122 longjmp_msg pointer.
4123 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
4124 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
4125 signal stack.
4126 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
4127
cc03b296
JM
41282012-05-15 Joseph Myers <joseph@codesourcery.com>
4129
a9538892
JM
4130 * elf/stackguard-macros.h: Remove file.
4131 * sysdeps/generic/stackguard-macros.h: New file.
4132 * sysdeps/i386/stackguard-macros.h: Likewise.
4133 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4134 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4135 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4136 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4137 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4138 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4139 * sysdeps/x86_64/stackguard-macros.h: Likewise.
4140 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
4141 <elf/stackguard-macros.h>.
4142
cc03b296
JM
4143 [BZ #14109]
4144 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
4145 __aligned__ in attribute.
4146 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
4147 (gregset_t): Likewise.
4148
93171016
L
41492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4150
4151 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
4152 * sysdeps/x86_64/64/Implies-after: Here. New file.
4153 * sysdeps/x86_64/x32/Implies-after: New file.
4154
d86813a0
L
41552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4156
4157 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
4158 and access return value for _dl_profile_fixup. Use R10_LP to
4159 load frame size.
4160
2953ec75
L
41612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4162
4163 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
4164
3b550e9e
L
41652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4166
4167 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
4168 * sysdeps/x86_64/x32/sysdep.h: New file.
4169
eda41706
L
41702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4171
4172 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
4173 * sysdeps/x86_64/setjmp.S: Likewise.
4174
9ea01d93
AZ
41752012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4176
4177 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
4178 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
4179 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
4180 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
4181 remove unused global constant.
4182
02a91938
CM
41832012-05-15 Chris Metcalf <cmetcalf@tilera.com>
4184
4185 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
4186 include of <not-cancel.h>.
4187
6540185f
RM
41882012-05-15 Roland McGrath <roland@hack.frob.com>
4189
4190 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
4191
509072a0
AJ
41922012-05-15 Jeff Law <law@redhat.com>
4193 Andreas Jaeger <aj@suse.de>
4194
4195 [BZ #13594]
4196 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
4197 out from...
4198 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
4199 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
4200 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
4201 code changing __hst_map_handle.map.
4202
ba75122d
RM
42032012-05-15 Roland McGrath <roland@hack.frob.com>
4204
4205 * configure.in (sysnames): Look for Implies-before and Implies-after
4206 files.
4207 * configure: Regenerated.
4208
890d8bd8
L
42092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4210
4211 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
4212 8-byte data alignment with LP_SIZE alignment.
4213
f6ee6623
L
42142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4215
4216 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
4217 into R10_LP.
4218
ea2626f6
L
42192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4220
4221 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
4222
085f715e
L
42232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4224
4225 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
4226 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
4227 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
4228 Likewise.
4229 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4230
be8498fc
L
42312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4232
4233 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
4234 (stackinfo_sub_sp): Likewise.
4235
70bc83b9
L
42362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4237
4238 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
4239 RAX_LP.
4240
9bc0b730
L
42412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4242
4243 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
4244 into R*_LP.
4245
6d2850e7
L
42462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4247
4248 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
4249 sizes into R*_LP.
4250
3cb84561
L
42512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4252
4253 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4254
54e2ed81
L
42552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4256
4257 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4258 into R11_LP and load __x86_64_shared_cache_size_half into
4259 R8_LP.
4260
8a17f349
L
42612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4262
4263 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4264 R8_LP.
4265
777b1eea
AZ
42662012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4267
4268 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4269 logb for POWER7.
4270 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4271 logbf for POWER7.
4272 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4273 logbl for POWER7.
4274 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4275 powerpc32/power7/fpu/s_logb.c via #include.
4276 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4277 powerpc32/power7/fpu/s_logbf.c via #include.
4278 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4279 powerpc32/power7/fpu/s_logbl.c via #include.
4280
d20d4ac2
JM
42812012-05-15 Joseph Myers <joseph@codesourcery.com>
4282
4283 * README.libm: Remove file.
4284
6cdef1ab
L
42852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4286
4287 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4288 count for x32. Use R*_LP and omit operand-size suffix.
4289
0b254d8f
L
42902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4291
4292 * shlib-versions: Move x86_64-.*-linux.* entries to ...
4293 * sysdeps/x86_64/64/shlib-versions: Here. New file.
4294 * sysdeps/x86_64/x32/shlib-versions: New file.
4295
ceb809dc
RM
42962012-05-14 Roland McGrath <roland@hack.frob.com>
4297
4298 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4299 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4300 Use _dl_fatal_printf instead.
4301
37f1abd4
JM
43022012-05-14 Joseph Myers <joseph@codesourcery.com>
4303
4304 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4305 set if not set by the user. Do not allow for being unset.
4306 * sysdeps/unix/sysv/linux/configure: Regenerated.
4307
11de3a33
L
43082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4309
4310 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4311 the `q' suffix from lea and replace .quad with ASM_ADDR.
4312
e02f153a
L
43132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4314
4315 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4316 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
4317 instead of $17.
4318 (PTR_DEMANGLE): Likewise.
4319
520ae0fd
L
43202012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4321
4322 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4323 (LP_OP): Likewise.
4324 (ASM_ADDR): Likewise.
4325 (RAX_LP): Likewise.
4326 (RBP_LP): Likewise.
4327 (RBX_LP): Likewise.
4328 (RCX_LP): Likewise.
4329 (RDI_LP): Likewise.
4330 (RSI_LP): Likewise.
4331 (RSP_LP): Likewise.
4332 (R8_LP): Likewise.
4333 (R9_LP): Likewise.
4334 (R10_LP): Likewise.
4335 (R10_LP): Likewise.
4336 (R11_LP): Likewise.
4337 (R12_LP): Likewise.
4338 (R13_LP): Likewise.
4339 (R14_LP): Likewise.
4340 (R15_LP): Likewise.
4341
b985be81
L
43422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4343
4344 * sysdeps/x86_64/x32/dl-machine.h: New file.
4345
6a4888ff
AJ
43462012-05-14 Andreas Jaeger <aj@suse.de>
4347
4348 * manual/Makefile (subdir): Remove export of subdir.
4349 (all): Remove target.
4350 (.PHONY): Remove all from list.
4351 (mkinstalldirs): Remove.
4352 (.PHONY): Remove installdirs from list.
4353 ($(inst_infodir)/libc.info): Use make-target-directory.
4354 (installdirs): Remove.
4355 (subdir_%): Remove.
4356 (glibc-targets): Remove.
4357 (lib): Remove.
4358 (stubs): Remove.
4359 ($(objpfx)stubs ../po/manual.pot): Remove.
4360 ($(objpfx)stamp%): Remove.
4361 (make-target-directory): Remove.
4362 (subdir_install): Remove.
4363 (routines): Remove.
4364 (aux): Remove.
4365 (sources): Remove.
4366 (objects): Remove.
4367 (headers): Remove.
4368
4369 [BZ #13750]
4370 * manual/.gitignore: Remove, it's not needed anymore.
4371 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
4372 all files in it.
4373 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
4374 directory.
4375 (texis): Renamed to $(objpfx)texis.
4376 (texis-path): New, contains path to generated files.
4377 (chapters.%): Use texis-path for complete path, add extra argument
4378 libc-texinfo.sh.
4379 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
4380 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
4381 (summary,texi, stamp-summary): Use complete path of
4382 files. Generate files in build dir.
4383 (dir-add.texi): Build in build dir.
4384 (libm-err.texi,stamp-libm-err): Likewise.
4385 (version.texi, stamp-version): Likewise.
4386 (.%c.texi): Likewise.
4387 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
4388 (mostlyclean): Remove target.
4389 (realclean): Remove target.
4390 (generated): Add new variable with contents from mostlyclean and
4391 realclean, remove entries duplicated in common-mostlyclean, add
4392 stamp-libm-err and stamp-version.
4393 (generated-dirs): Add libc directory.
4394 ($(inst_infodir)/libc.info): Install files from build dir.
4395
4396 * manual/install.texi (Configuring and compiling): Adjust since
4397 the info files are not part of the tar ball anymore.
4398
7ac77294
AJ
43992012-05-14 Andreas Jaeger <aj@suse.de>
4400
4401 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
4402 variable.
4403
ffb7875d
JM
44042012-05-14 Joseph Myers <joseph@codesourcery.com>
4405
4406 [BZ #13717]
4407 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4408 to 2.2.0 where earlier.
4409 * sysdeps/unix/sysv/linux/configure: Regenerated.
4410 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
4411 Remove conditional code.
4412 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
4413 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
4414 Remove conditional code.
4415 [!__NR_lchown]: Likewise.
4416 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4417 [__NR_lchown]: Likewise.
4418 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
4419 comment referencing __ASSUME_LCHOWN_SYSCALL.
4420 * sysdeps/unix/sysv/linux/i386/sigaction.c
4421 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4422 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4423 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
4424 Remove conditional code.
4425 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
4426 (__protocol_available): Remove #if 0 code.
4427 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
4428 conditional code.
4429 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
4430 * sysdeps/unix/sysv/linux/kernel-features.h
4431 (__ASSUME_GETCWD_SYSCALL): Don't define.
4432 (__ASSUME_REALTIME_SIGNALS): Likewise.
4433 (__ASSUME_PREAD_SYSCALL): Likewise.
4434 (__ASSUME_PWRITE_SYSCALL): Likewise.
4435 (__ASSUME_POLL_SYSCALL): Likewise.
4436 (__ASSUME_LCHOWN_SYSCALL): Likewise.
4437 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
4438 non-SPARC.
4439 (__ASSUME_SIOCGIFNAME): Don't define.
4440 (__ASSUME_MSG_NOSIGNAL): Likewise.
4441 (__ASSUME_SENDFILE): Define unconditionally.
4442 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
4443 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
4444 conditional code.
4445 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
4446 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
4447 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4448 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4449 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
4450 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4451 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
4453 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4454 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4456 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4457 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
4459 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4460 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4462 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4463 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
4465 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4466 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4468 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4469 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
4471 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4472 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4474 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4475 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4476 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
4477 Remove conditional code.
4478 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4479 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4480 Remove conditional code.
4481 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4482 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
4483 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
4484 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4485 Remove conditional code.
4486 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4487 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
4488 Remove conditional code.
4489 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4490 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
4491 Remove conditional code.
4492 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4493 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4494 Remove conditional code.
4495 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4496 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4497 Remove conditional code.
4498 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4499 * sysdeps/unix/sysv/linux/sh/pwrite64.c
4500 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4501 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4502 * sysdeps/unix/sysv/linux/sigaction.c
4503 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4504 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4505 * sysdeps/unix/sysv/linux/sigpending.c
4506 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4507 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4508 * sysdeps/unix/sysv/linux/sigprocmask.c
4509 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4510 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4511 * sysdeps/unix/sysv/linux/sigsuspend.c
4512 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4513 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4514 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4515 (__libc_missing_rt_sigs): Remove.
4516 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
4517 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
4518 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
4519 Remove conditional code.
4520 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
4521 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
4522 return 1.
4523 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
4524 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
4525 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
4526 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
4527
1bfb7291
AJ
45282012-05-14 Andreas Jaeger <aj@suse.de>
4529
caae5a81
AJ
4530 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
4531 it's not used in glibc.
4532 (__coshm1): Likewise.
4533 (__acosh1p): Likewise.
4534 (__sgn): Likewise.
4535
1bfb7291
AJ
4536 * manual/string.texi (Copying and Concatenation): Add missing
4537 variable in concat example.
4538 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4539
c044d724
L
45402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4541
144c5467 4542 [BZ #14103]
c044d724
L
4543 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
4544 __builtin_clzl with __builtin_clzll.
4545
2523c62b
L
45462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4547
4548 [BZ #14104]
4549 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
4550 libc_freeres_ptr.
4551
d7bb4c42
LD
45522012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4553
4554 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
4555 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
4556 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
4557 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
4558
9dc4e1fb
MF
45592012-05-14 Mike Frysinger <vapier@gentoo.org>
4560
4561 * NEWS: Update ia64 info.
4562
c7df0112
AS
45632012-05-12 Andreas Schwab <schwab@linux-m68k.org>
4564
4565 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
4566 used as bcopy.
4567
dc70356c
TS
45682012-05-12 Thomas Schwinge <thomas@codesourcery.com>
4569
4570 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
4571 * sysdeps/unix/syscalls.list (dup3): Likewise.
4572 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
4573 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
4574
9fb1a21f
L
45752012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4576
4577 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
4578 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
4579
4822a2a5
L
45802012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4581
4582 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
4583 thread pointer.
4584 (TLS_IE): Use mov/add instead of movq/addq to load thread
4585 pointer.
4586 (TLS_GD_PREFIX): New.
4587 (TLS_GD): Use it.
4588
842b81d6
DM
45892012-05-11 David S. Miller <davem@davemloft.net>
4590
4591 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
4592 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
4593 (_FPU_SETCW): Likewise.
4594
1cf463cd
L
45952012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4596
4597 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
4598 is 32-byte aligned.
4599
60cc4a18
AS
46002012-05-11 Andreas Schwab <schwab@linux-m68k.org>
4601
4602 [BZ #11837]
4603 * iconvdata/gb18030.c: Update tables.
4604 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
4605 characters specially.
4606 (BODY for TO_LOOP): Add encoding of missing ranges.
4607
febb44a4
TS
46082012-05-11 Thomas Schwinge <thomas@codesourcery.com>
4609
4610 [BZ #13673]
4611 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
4612 * sysdeps/mach/hurd/dup3.c: Likewise.
4613 * sysdeps/mach/hurd/readlinkat.c: Likewise.
4614 * sysdeps/powerpc/memmove.c:: Likewise.
4615
0a10fb9e
L
46162012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4617
4618 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
4619 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
4620
df8a552f
L
46212012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4622
4623 * elf/elf.h (R_X86_64_RELATIVE64): New.
4624 (R_X86_64_NUM): Updated.
4625 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4626 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
4627 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
4628 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
4629 tst-quad1pie tst-quad2pie
4630 (modules-names): Add tst-quadmod1 tst-quadmod2.
4631 ($(objpfx)tst-quad1): New dependency.
4632 ($(objpfx)tst-quad2): Likewise.
4633 ($(objpfx)tst-quad1pie): Likewise.
4634 ($(objpfx)tst-quad2pie): Likewise.
4635 * sysdeps/x86_64/tst-quad1.c: New file.
4636 * sysdeps/x86_64/tst-quad1pie.c: New file.
4637 * sysdeps/x86_64/tst-quad2.c: Likewise.
4638 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
4639 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
4640 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
4641 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
4642 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
4643
f34d6f84
ST
46442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4645
f42d41d1
ST
4646 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
4647 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
4648 * streams/stropts.h (t_scalar_t): Define type.
4649
3c3571fc
ST
4650 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
4651 (_PATH_PRESERVE): Set to "/var/lib".
4652 (_PATH_RWHODIR): Set to "/var/spool/rwho".
4653
61f06bd3
ST
4654 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
4655 instead of int.
4656
918d4d71
ST
4657 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
4658 if __dir_mkfile succeeded.
4659
f34d6f84
ST
4660 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
4661 checking for _hurd_dtablesize. Unlock it right after having
4662 finished _hurd_dtable allocation.
4663
10589b4a
TS
46642012-05-10 Thomas Schwinge <thomas@schwinge.name>
4665
674cdbc7
TS
4666 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
4667 * sysdeps/mach/hurd/configure: Regenerated.
4668 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
4669 special-casing to...
4670 * sysdeps/gnu/configure.in: ... this new file.
4671 * sysdeps/unix/sysv/linux/configure: Regenerated.
4672 * sysdeps/gnu/configure: New generated file.
4673
8e41b99f
TS
4674 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
4675 for Linux: use nsec instead of usec, as well as:
4676 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
4677 members of type struct timespec.
4678 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
4679 New macros.
4680 (struct stat64): Likewise.
4681 (_STATBUF_ST_NSEC): New macro.
4682 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
4683
10589b4a
TS
4684 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4685 __strtoul_internal rather than strtoul.
4686
63643c85
PT
46872012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4688
4689 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
4690 and reject them.
4691
3faebe6a
ST
46922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4693
4694 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
4695 which preserves existing values.
4696 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
4697
c6474b07
PT
46982012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4699
4700 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
4701 TIMEOUT values. Return EINVAL for NFDS values either negative or
4702 greater than FD_SETSIZE.
4703
1043890b
ST
47042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4705
4706 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
4707 allocated, call __vm_protect to finish enabling the existing space, and
4708 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
4709 allocate the remainder.
4710
37ed8b9b
PT
47112012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4712
4713 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
4714 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
4715
db653660
ST
47162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4717
37ed8b9b
PT
4718 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
4719 sysdeps/mach/hurd/readlink.c.
b29d4053 4720
db653660
ST
4721 * posix/tst-sysconf.c (posix_options): Only use
4722 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
4723 _POSIX_SYNCHRONIZED_IO when they are defined
4724 * sysdeps/mach/hurd/bits/posix_opt.h:
4725 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
4726 (_XOPEN_REALTIME): Undefine macro.
4727 (_XOPEN_REALTIME_THREADS): Undefine macro.
4728 (_XOPEN_SHM): Undefine macro.
4729 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
4730 macro to -1.
4731 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
4732 macro to -1.
4733 (_POSIX_ASYNC_IO): Undefine macro.
4734 (_POSIX_PRIORITIZED_IO): Undefine macro.
4735 (_POSIX_SPIN_LOCKS): Define macro to -1.
4736
ee16e894
ST
4737 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
4738 SA_NODEFER, SA_RESETHAND.
4739 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
4740 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
4741 F_DUPFD_CLOEXEC.
4742
6103ae3b
TS
47432012-05-10 Thomas Schwinge <thomas@schwinge.name>
4744
4745 * elf/Makefile (pldd-modules): Define unconditionally.
4746
80b4e5f3
TS
47472012-05-10 Thomas Schwinge <thomas@schwinge.name>
4748
4749 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
4750
edadcbd6
ST
47512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4752
4753 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
4754 Return ENOENT when name is empty.
4755 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
4756
80694780
TS
47572012-05-10 Thomas Schwinge <thomas@schwinge.name>
4758
1792c087
TS
4759 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
4760
80694780
TS
4761 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
4762
6b645f0d
ST
47632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4764
80694780
TS
4765 Fix mlock in all cases except non-readable pages.
4766 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
4767 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 4768
6b645f0d
ST
4769 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
4770 (__mkdir): When path is `/', just fail with EEXIST.
4771 * sysdeps/mach/hurd/mkdirat.c: Likewise.
4772
e468f8a3
TS
47732012-05-10 Thomas Schwinge <thomas@schwinge.name>
4774
4775 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
4776 <sys/uio.h> (for writev).
4777 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
4778 and <sys/param.h> (for MIN).
4779
a4186cff
PT
47802012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4781
4782 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
4783 REQUESTED_TIME. Properly set the remaining time and return EINTR
4784 if interrupted.
4785
510bbf14
TS
47862012-05-10 Thomas Schwinge <thomas@schwinge.name>
4787
4788 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
4789 Depend on against $(link-rpcuserlibs).
4790
5d5722e8
ST
47912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4792
a4186cff
PT
4793 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
4794 (__libc_stack_end): Do not use attribute_relro.
4795 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
4796 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 4797 to libthread-provided value.
a4186cff
PT
4798 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
4799 attribute_relro.
5d5722e8 4800
37233df9
TS
48012012-05-10 Thomas Schwinge <thomas@schwinge.name>
4802
be971a2b
TS
4803 [BZ #3748]
4804 * bits/libc-lock.h (__libc_once_get): New macro.
4805 * sysdeps/mach/bits/libc-lock.h: Likewise.
4806 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
4807 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
4808 instead of using implementation details.
4809
37233df9
TS
4810 * libio/fileops.c: Unconditionally include <kernel-features.h>.
4811 * libio/freopen.c: Likewise.
4812 * libio/freopen64.c: Likewise.
4813 * misc/syslog.c: Likewise.
4814 * nscd/connections.c: Likewise.
4815 * nscd/netgroupcache.c: Likewise.
4816 * sysdeps/posix/getcwd.c: Likewise.
4817
38de94a5
RM
48182012-05-10 Roland McGrath <roland@hack.frob.com>
4819
4820 * math/w_ilogbf.c: Add #include <limits.h>.
4821
67530489
ST
48222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4823
a4186cff 4824 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
4825 path instead of returning without unlocking.
4826
67530489
ST
4827 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
4828 immediate-write ioctls.
4829 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
4830
5aa3a74a
TS
48312012-05-10 Thomas Schwinge <thomas@schwinge.name>
4832
18bad2ae
TS
4833 * sysdeps/mach/hurd/i386/init-first.c (init): Use
4834 __builtin_frame_address instead of making assumptions about the
4835 location of the return address relative to DATA. Force early load of
4836 the return address.
4837 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
4838 __builtin_frame_address.
4839
5aa3a74a
TS
4840 dup3 for GNU Hurd.
4841 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
4842 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
4843 implement dup3 and do some further code clean-ups.
4844 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
4845 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
4846
ecd0de9a
ST
48472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4848
cd9fa985
ST
4849 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
4850
a4186cff
PT
4851 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
4852 HURD_CRITICAL_END around holding _hurd_dtable_lock.
4853 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
4854 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
4855 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
4856 d->port.lock.
802ca5a5 4857
a4186cff
PT
4858 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
4859 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
4860 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 4861
bcf55240
TS
48622012-05-10 Thomas Schwinge <thomas@schwinge.name>
4863
6960eb42
TS
4864 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
4865 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
4866 definitions.
4867
eb43375f
TS
4868 accept4 for GNU Hurd.
4869 * include/sys/socket.h (__libc_accept4): New prototype.
4870 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
4871 to implement __libc_accept4.
4872 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
4873 __libc_accept4.
4874 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
4875
bcf55240
TS
4876 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
4877 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
4878 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
4879 signal-defines.sym.
4880
6178c55b
ST
48812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4882
a4186cff 4883 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 4884
6f080c2f
TS
48852012-05-10 Thomas Schwinge <thomas@schwinge.name>
4886
4887 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
4888 assertion on O_CLOEXEC flag.
4889 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
4890 * hurd/intern-fd.c: Likewise.
4891 * hurd/port2fd.c: Likewise.
4892
bcfe3a54
ST
48932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4894
4895 [BZ #3906]
4896 * bits/in.h (IPV6_PKTINFO): Define new macro.
4897 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
4898
89c9aa49
AZ
48992012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4900
4901 [BZ #13954]
4902 [BZ #13955]
4903 [BZ #13956]
4904 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
4905 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4906 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
4907 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4908 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4909 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4910 * math/libm-test.inc (logb_test) : Additional logb tests.
4911
021db4be
AJ
49122012-05-09 Andreas Schwab <schwab@linux-m68k.org>
4913 Andreas Jaeger <aj@suse.de>
4914
4915 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
4916 * configure: Regenerated.
4917 * config.h.in (LINK_OBSOLETE_RPC): New macro.
4918 * config.make.in (link-obsolete-rpc): New substituted variable.
4919 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
4920 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
4921 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4922 (shared-only-routines): Don't set it under [link-obsolete-rpc],
4923 so that libc.a contains the symbols.
4924 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4925 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
4926 * sunrpc/auth_none.c: Likewise.
4927 * sunrpc/auth_unix.c: Likewise.
4928 * sunrpc/authdes_prot.c: Likewise.
4929 * sunrpc/authuxprot.c: Likewise.
4930 * sunrpc/clnt_gen.c: Likewise.
4931 * sunrpc/clnt_perr.c: Likewise.
4932 * sunrpc/clnt_raw.c: Likewise.
4933 * sunrpc/clnt_simp.c: Likewise.
4934 * sunrpc/clnt_tcp.c: Likewise.
4935 * sunrpc/clnt_udp.c: Likewise.
4936 * sunrpc/clnt_unix.c: Likewise.
4937 * sunrpc/des_crypt.c: Likewise.
4938 * sunrpc/des_soft.c: Likewise.
4939 * sunrpc/get_myaddr.c: Likewise.
4940 * sunrpc/key_call.c: Likewise.
4941 * sunrpc/key_prot.c: Likewise.
4942 * sunrpc/netname.c: Likewise.
4943 * sunrpc/pm_getmaps.c: Likewise.
4944 * sunrpc/pm_getport.c: Likewise.
4945 * sunrpc/pmap_clnt.c: Likewise.
4946 * sunrpc/pmap_prot.c: Likewise.
4947 * sunrpc/pmap_prot2.c: Likewise.
4948 * sunrpc/pmap_rmt.c: Likewise.
4949 * sunrpc/publickey.c: Likewise.
4950 * sunrpc/rpc_cmsg.c: Likewise.
4951 * sunrpc/rpc_common.c: Likewise.
4952 * sunrpc/rpc_dtable.c: Likewise.
4953 * sunrpc/rpc_prot.c: Likewise.
4954 * sunrpc/rpc_thread.c: Likewise.
4955 * sunrpc/rtime.c: Likewise.
4956 * sunrpc/svc.c: Likewise.
4957 * sunrpc/svc_auth.c: Likewise.
4958 * sunrpc/svc_raw.c: Likewise.
4959 * sunrpc/svc_run.c: Likewise.
4960 * sunrpc/svc_tcp.c: Likewise.
4961 * sunrpc/svc_udp.c: Likewise.
4962 * sunrpc/svc_unix.c: Likewise.
4963 * sunrpc/svcauth_des.c: Likewise.
4964 * sunrpc/xcrypt.c: Likewise.
4965 * sunrpc/xdr.c: Likewise.
4966 * sunrpc/xdr_array.c: Likewise.
4967 * sunrpc/xdr_float.c: Likewise.
4968 * sunrpc/xdr_intXX_t.c: Likewise.
4969 * sunrpc/xdr_mem.c: Likewise.
4970 * sunrpc/xdr_rec.c: Likewise.
4971 * sunrpc/xdr_ref.c: Likewise.
4972 * sunrpc/xdr_sizeof.c: Likewise.
4973 * sunrpc/xdr_stdio.c: Likewise.
4974
b5c086a2
RM
49752012-05-10 Roland McGrath <roland@hack.frob.com>
4976
4977 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
4978 change. Update copyright years.
4979
6d74dd09
JM
49802012-05-10 Joseph Myers <joseph@codesourcery.com>
4981
4982 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
4983
28e72501
MK
49842012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
4985 Joseph Myers <joseph@codesourcery.com>
4986 Paul Pluzhnikov <ppluzhnikov@google.com>
4987
4988 [BZ #14012]
4989 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
4990 requiring rpcgen.
4991 [cross-compiling] (extra-libs): Likewise.
4992 [cross-compiling] (extra-libs-others): Likewise.
4993 [cross-compiling] (librpcsvc-routines): Likewise.
4994 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
4995 [cross-compiling] (omit-deps): Likewise.
4996 (sunrpc-CPPFLAGS): New variable.
4997 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
4998 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
4999 (cross-rpcgen-objs): New variable.
5000 (extra-objs): Append $(cross-rpcgen-objs).
5001 ($(cross-rpcgen-objs)): New rule.
5002 ($(objpfx)cross-rpcgen): Likewise.
5003 (rpcgen-cmd): Define to use $(built-program-file). Expand
5004 comment.
5005 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
5006 ($(objpfx)x%.stmp): Likewise.
5007 * sunrpc/proto.h [IS_IN_build] (_): Define.
5008 [IS_IN_build] (_libc_intl_domainname): Likewise.
5009
c8c59454
L
50102012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5011
5012 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
5013 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
5014 and R_X86_64_TPOFF64.
5015
6f27cd16
JM
50162012-05-10 Joseph Myers <joseph@codesourcery.com>
5017
5018 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
5019 sysdeps/unix/sysv/syscalls.list.
5020 (stime): Likewise.
5021 (utime): Likewise.
5022 * sysdeps/unix/sysv/syscalls.list: Remove file.
5023
02467e1c
PE
50242012-05-10 Paul Eggert <eggert@cs.ucla.edu>
5025
5026 [BZ #3440]
5027 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
5028 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
5029 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
5030 (__LC_IDENTIFICATION): Make these macros useful in #if
5031 expressions, as required by C99.
5032
da392631
AS
50332012-05-10 Andreas Schwab <schwab@linux-m68k.org>
5034
5035 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
5036 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
5037 after this.
5038
8115f29b
L
50392012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5040
5041 * stdlib/longlong.h: Updated from GCC.
5042
bdd74070
AJ
50432012-05-09 Andreas Jaeger <aj@suse.de>
5044
edfe0dbe
AJ
5045 * nscd/nscd.c (run_modes): Make named enum, reorder so that
5046 default is first entry.
5047 (run_mode): Set type.
5048 (main): Remove informal message about syslog.
5049 (options): Fix typo.
5050
bcfe3a54
ST
5051 [BZ #14053]
5052 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 5053 to asm.
bcfe3a54
ST
5054 (lrint): Likewise.
5055 (llrintf): Likewise.
5056 (llrint): Likewise.
5057 (rint): Likewise.
5058 (rintf): Likewise.
5059 (nearbyint): Likewise.
5060 (nearbyintf): Likewise.
bdd74070 5061
91d8d69e
AJ
50622012-05-09 Andreas Jaeger <aj@suse.de>
5063 Pedro Alves <palves@redhat.com>
5064
5065 * nscd/nscd.c (run_mode): Use enum.
5066 (main): Cleanup coding style issue.
5067
bb90b80b
AJ
50682012-05-09 Alexandre Oliva <aoliva@redhat.com>
5069 Andreas Jaeger <aj@suse.de>
5070
bcfe3a54
ST
5071 * nscd/nscd.c (go_background): Replaced with...
5072 (run_mode): ... this.
bb90b80b 5073 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
5074 (options): Add -F --foreground.
5075 (main): Implement it.
5076 (parse_opt): Parse it.
bb90b80b 5077
1a4b75a1
AJ
50782012-05-09 Andreas Jaeger <aj@suse.de>
5079
5080 [BZ #14083]
5081 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
5082 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
5083 -Wconversion warning.
5084 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
5085 Likewise.
5086
b1cc2472
JM
50872012-05-09 Joseph Myers <joseph@codesourcery.com>
5088
5089 * conform/data/locale.h-data (NULL): Use macro-constant. Require
5090 == 0.
5091 (LC_ALL): Use macro-int-constant.
5092 (LC_COLLATE): Likewise.
5093 (LC_CTYPE): Likewise.
5094 (LC_MESSAGES): Likewise.
5095 (LC_MONETARY): Likewise.
5096 (LC_NUMERIC): Likewise.
5097 (LC_TIME): Likewise.
5098 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
5099 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5100 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5101 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
5102 Specify type.
5103 [C99-based standards] (float_t): Expect type.
5104 [C99-based standards] (double_t): Expect type.
5105 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
5106 type.
5107 [C99-based standards] (HUGE_VALL): Likewise.
5108 [C99-based standards] (INFINITY): Likewise.
5109 [C99-based standards] (NAN): Likewise.
5110 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
5111 [C99-based standards] (FP_NAN): Likewise.
5112 [C99-based standards] (FP_NORMAL): Likewise.
5113 [C99-based standards] (FP_SUBNORMAL): Likewise.
5114 [C99-based standards] (FP_ZERO): Likewise.
5115 [C99-based standards] (FP_FAST_FMA): Use
5116 optional-macro-int-constant. Specify type. Require == 1.
5117 [C99-based standards] (FP_FAST_FMAF): Likewise.
5118 [C99-based standards] (FP_FAST_FMAL): Likewise.
5119 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
5120 [C99-based standards] (FP_ILOGBNAN): Likewise.
5121 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
5122 Specify type.
5123 [C99-based standards] (MATH_ERREXCEPT): Likewise.
5124 [C99-based standards] (math_errhandling): Specify type.
5125 [ISO99 || ISO11] (signgam): Do not allow.
5126 [non-C99-based standards] (copysignf): Do not allow.
5127 [non-C99-based standards] (exp2f): Likewise.
5128 [non-C99-based standards] (log2f): Likewise.
5129 [non-C99-based standards] (modff): Allow.
5130 [non-C99-based standards] (erff): Do not allow.
5131 [non-C99-based standards] (erfcf): Likewise.
5132 [non-C99-based standards] (gammaf): Likewise.
5133 [non-C99-based standards] (hypotf): Likewise.
5134 [non-C99-based standards] (j0f): Likewise.
5135 [non-C99-based standards] (j1f): Likewise.
5136 [non-C99-based standards] (jnf): Likewise.
5137 [non-C99-based standards] (lgammaf): Likewise.
5138 [non-C99-based standards] (tgammaf): Likewise.
5139 [non-C99-based standards] (y0f): Likewise.
5140 [non-C99-based standards] (y1f): Likewise.
5141 [non-C99-based standards] (ynf): Likewise.
5142 [non-C99-based standards] (isnanf): Likewise.
5143 [non-C99-based standards] (acoshf): Likewise.
5144 [non-C99-based standards] (asinhf): Likewise.
5145 [non-C99-based standards] (atanhf): Likewise.
5146 [non-C99-based standards] (cbrtf): Likewise.
5147 [non-C99-based standards] (expm1f): Likewise.
5148 [non-C99-based standards] (ilogbf): Likewise.
5149 [non-C99-based standards] (log1pf): Likewise.
5150 [non-C99-based standards] (logbf): Likewise.
5151 [non-C99-based standards] (nextafterf): Likewise.
5152 [non-C99-based standards] (remainderf): Likewise.
5153 [non-C99-based standards] (rintf): Likewise.
5154 [non-C99-based standards] (scalbf): Likewise.
5155 [non-C99-based standards] (copysignl): Likewise.
5156 [non-C99-based standards] (exp2l): Likewise.
5157 [non-C99-based standards] (log2l): Likewise.
5158 [non-C99-based standards] (modfl): Allow.
5159 [non-C99-based standards] (erfl): Do not allow.
5160 [non-C99-based standards] (erfcl): Likewise.
5161 [non-C99-based standards] (gammal): Likewise.
5162 [non-C99-based standards] (hypotl): Likewise.
5163 [non-C99-based standards] (j0l): Likewise.
5164 [non-C99-based standards] (j1l): Likewise.
5165 [non-C99-based standards] (jnl): Likewise.
5166 [non-C99-based standards] (lgammal): Likewise.
5167 [non-C99-based standards] (tgammal): Likewise.
5168 [non-C99-based standards] (y0l): Likewise.
5169 [non-C99-based standards] (y1l): Likewise.
5170 [non-C99-based standards] (ynl): Likewise.
5171 [non-C99-based standards] (isnanl): Likewise.
5172 [non-C99-based standards] (acoshl): Likewise.
5173 [non-C99-based standards] (asinhl): Likewise.
5174 [non-C99-based standards] (atanhl): Likewise.
5175 [non-C99-based standards] (cbrtl): Likewise.
5176 [non-C99-based standards] (expm1l): Likewise.
5177 [non-C99-based standards] (ilogbl): Likewise.
5178 [non-C99-based standards] (log1pl): Likewise.
5179 [non-C99-based standards] (logbl): Likewise.
5180 [non-C99-based standards] (nextafterl): Likewise.
5181 [non-C99-based standards] (remainderl): Likewise.
5182 [non-C99-based standards] (rintl): Likewise.
5183 [non-C99-based standards] (scalbl): Likewise.
5184 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5185 [non-C99-based standards] (FP_*): Do not allow.
5186 [C99-based standards] (FP_*): Change to
5187 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5188 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5189 allow.
5190 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
5191 (SIG_ERR): Likewise.
5192 [X/Open-based standards] (SIG_HOLD): Likewise.
5193 (SIG_IGN): Likewise.
5194 (SIGABRT): Use macro-int-constant. Specify type. Require
5195 positive value.
5196 (SIGFPE): Likewise.
5197 (SIGILL): Likewise.
5198 (SIGINT): Likewise.
5199 (SIGSEGV): Likewise.
5200 (SIGTER): Likewise.
5201 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
5202 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
5203 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
5204 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
5205 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
5206 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
5207 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
5208 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
5209 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
5210 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
5211 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
5212 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
5213 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
5214 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
5215 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
5216 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
5217 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
5218 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
5219 [X/Open-based standards] (SIGTRAP): Likewise.
5220 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
5221 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
5222 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
5223 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
5224 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5225 allow.
5226
b9f1922d
IW
52272012-05-08 Ian Wienand <ianw@vmware.com>
5228
5229 [BZ #14080]
5230 * time/tzset.c (__tzset_parse_tz): Update default rules for
5231 daylight time changes in the Energy Policy Act of 2005.
5232
1db86e88
AJ
52332012-05-09 Andreas Jaeger <aj@suse.de>
5234
5235 [BZ #13983]
5236 * elf/ldconfig.c (parse_conf): Change string to make clear that
5237 ldconfig only issued a warning if ld.so.conf does not exist.
5238
dee4a4e3
DM
52392012-05-08 David S. Miller <davem@davemloft.net>
5240
ee0db190
DM
5241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
5242 movxtod instead of popping the value on the stack.
5243
dee4a4e3
DM
5244 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5245
6a43ec98
CD
52462012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
5247
5248 * config.h.in: Add HAVE_ARM_PCS_VFP.
5249
05c2c961
RMG
52502012-05-08 Roland Mc Grath <roland@hack.frob.com>
5251
bcfe3a54
ST
5252 [BZ #13979]
5253 * include/features.h: Warn if user requests __FORTIFY_SOURCE
5254 checking but the checks are disabled for any reason.
05c2c961 5255
4b30f61a
L
52562012-05-08 H.J. Lu <hongjiu.lu@intel.com>
5257
5258 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5259 and ELF64_R_TYPE with ELFW(R_TYPE).
5260
eee2bc67
JM
52612012-05-08 Joseph Myers <joseph@codesourcery.com>
5262
7ea5391a
JM
5263 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5264 (ulimit): Likewise.
5265
eee2bc67
JM
5266 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5267 (settimeofday): Likewise.
5268
abb66a67
MF
52692012-05-08 Mike Frysinger <vapier@gentoo.org>
5270
5271 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
5272 a struct th_u2 inside the union, and move tu_block/tu_code into
5273 a new th_u3 union of tu_block/tu_code inside of that. Move
5274 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
5275 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
5276 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5277 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5278 (th_stuff): Change to th_u1.tu_stuff.
5279 (th_data): Define.
5280 (th_msg): Change to th_u1.th_u2.tu_data.
5281
7f18b530
DM
52822012-05-07 David S. Miller <davem@davemloft.net>
5283
05760585
DM
5284 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5285
7f18b530
DM
5286 [BZ #14074]
5287 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5288 (SETUP_PIC_REG): Use it.
5289 (SETUP_PIC_REG_LEAF): Use it.
5290
495fd99f
JM
52912012-05-07 Joseph Myers <joseph@codesourcery.com>
5292
5293 [BZ #13885]
5294 [BZ #13923]
5295 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5296 USE_AS_EXPM1L.
5297 (EXPL_FINITE): Likewise.
5298 (FLDLOG): Likewise.
5299 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5300 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5301 e_expl.S.
5302 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5303 USE_AS_EXPM1L.
5304 (EXPL_FINITE): Likewise.
5305 (FLDLOG): Likewise.
5306 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5307 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5308 e_expl.S.
5309 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
5310 test of -max_value argument for long double.
5311 * sysdeps/i386/fpu/libm-test-ulps: Update.
5312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5313
6693d694
DM
53142012-05-06 David S. Miller <davem@davemloft.net>
5315
5316 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5317 quad soft-float symbols whose references which are compiler
5318 generated.
5319 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5320
6c23e11c
JM
53212012-05-06 Joseph Myers <joseph@codesourcery.com>
5322
d8b82cad
JM
5323 [BZ #13884]
5324 [BZ #13914]
5325 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5326 USE_AS_EXP10L.
5327 (EXPL_FINITE): Likewise.
5328 (FLDLOG): Likewise.
5329 (c0): Likewise.
5330 (c1): Likewise.
5331 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5332 Adjust comments for base varying.
5333 (__expl_finite): Change alias to EXPL_FINITE.
5334 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5335 e_expl.S.
5336 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5337 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5338 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5339 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5340 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5341 USE_AS_EXP10L.
5342 (EXPL_FINITE): Likewise.
5343 (FLDLOG): Likewise.
5344 (c0): Likewise.
5345 (c1): Likewise.
5346 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5347 Adjust comments for base varying.
5348 (__expl_finite): Change alias to EXPL_FINITE.
5349 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
5350 tests for bugs.
5351 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5352
6c23e11c
JM
5353 [BZ #14064]
5354 * math/libm-test.inc (check_float_internal): Correct ulp
5355 calculation for subnormal expected results.
5356
29ba805c
AJ
53572012-05-06 Andreas Jaeger <aj@suse.de>
5358
5359 * Makeconfig (+math-flags): New, set to -frounding-math.
5360 (+cflags): Add +math-flags so that all of glibc gets compiled with
5361 it.
5362
5363 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
5364
7b17aeda
JM
53652012-05-05 Joseph Myers <joseph@codesourcery.com>
5366
5779f134
JM
5367 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
5368 Disable one test.
5369
41498f4d
JM
5370 [BZ #13787]
5371 [BZ #13922]
5372 [BZ #14036]
5373 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
5374 (__ieee754_expl): Allow for and saturate large arguments.
5375 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
5376 (u_threshold): Likewise.
5377 (__exp): Call __ieee754_exp before checking for overflow and
5378 underflow.
5379 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
5380 (u_threshold): Likewise.
5381 (__expf): Call __ieee754_expf before checking for overflow and
5382 underflow.
5383 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
5384 (u_threshold): Likewise.
5385 (__expl): Call __ieee754_expl before checking for overflow and
5386 underflow.
5387 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
5388 (__ieee754_expl): Allow for and saturate large arguments.
5389 * math/libm-test.inc (exp_test): Add another test. Do not allow
5390 missing overflow exception on overflow.
5391 (expm1_test): Do not allow missing overflow exception on overflow.
5392
6698b8bf
JM
5393 * sysdeps/i386/fpu/e_expl.c: Move to ...
5394 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
5395 rather than using inline asm.
5396 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
5397 * sysdeps/x86_64/fpu/e_expl.S: Copy from
5398 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
5399
7b17aeda
JM
5400 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
5401 (nice): Likewise.
5402 (poll): Likewise.
5403 (signal): Likewise.
5404 (time): Likewise.
5405 (times): Likewise.
5406
f7c85819
JM
54072012-05-04 Joseph Myers <joseph@codesourcery.com>
5408
5409 * sysdeps/unix/syscalls.list (adjtime): Add entry from
5410 sysdeps/unix/common/syscalls.list.
5411 (fchmod): Likewise.
5412 (fchown): Likewise.
5413 (ftruncate): Likewise.
5414 (getrusage): Likewise.
5415 (gettimeofday): Likewise.
5416 (setpgid): Likewise.
5417 (setregid): Likewise.
5418 (setreuid): Likewise.
5419 (sigaction): Likewise.
5420 (truncate): Likewise.
5421 (vhangup): Likewise.
5422 * sysdeps/unix/common/syscalls.list: Remove file.
5423 * sysdeps/unix/bsd/Implies: Don't include unix/common.
5424 * sysdeps/unix/sysv/linux/Implies: Likewise.
5425
336270d0
L
54262012-05-04 H.J. Lu <hongjiu.lu@intel.com>
5427
5428 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
5429 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
5430 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
5431 Moved to ...
5432 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5433 Here.
5434 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
5435 to ...
5436 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
5437 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
5438 to ...
5439 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
5440 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
5441 to ...
5442 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
5443 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
5444 to ...
5445 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
5446 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
5447 to ...
5448 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
5449 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
5450 to ...
5451 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
5452 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
5453 to ...
5454 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5455 Here.
5456 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
5457 to ...
5458 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
5459 Here.
5460 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
5461 to ...
5462 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
5463 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
5464 Moved to ...
5465 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
5466 Here.
5467 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
5468 to ...
5469 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
5470
d128e450
JM
54712012-05-04 Joseph Myers <joseph@codesourcery.com>
5472
fa8ee516
JM
5473 * sysdeps/unix/common/bits/dirent.h: Remove file.
5474 * sysdeps/unix/common/bits/fcntl.h: Likewise.
5475
d128e450
JM
5476 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
5477 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
5478 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
5479 * sysdeps/unix/bsd/isatty.c: Likewise.
5480 * sysdeps/unix/bsd/tcdrain.c: Likewise.
5481 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
5482 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
5483
ff8faaf0 54842012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 5485
62881be4 5486 [BZ #13563]
31dc8730
AZ
5487 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
5488 long double comparison inaccuracies.
5489 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5490 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5491
6fef930c
AS
54922012-05-04 Andreas Schwab <schwab@linux-m68k.org>
5493
5494 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
5495 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
5496
8f203e6c
JM
54972012-05-04 Joseph Myers <joseph@codesourcery.com>
5498
5499 [BZ #14049]
5500 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
5501 nonzero digits before rounding a hex value.
5502 * stdlib/tst-strtod.c (tests): Add another test.
5503
5197d9c2
AK
55042012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5505
5506 * sysdeps/s390/fpu/libm-test-ulps: Update.
5507
f0c1dedf
AJ
55082012-05-03 Andreas Jaeger <aj@suse.de>
5509
5510 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
5511 does not get optimized out.
5512 (malloc_opt_barrier): New.
5513
a65ef2ae 55142012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 5515 Roland McGrath <roland@hack.frob.com>
a65ef2ae 5516
2b942cb7 5517 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 5518 intermediate file deletion.
2b942cb7 5519 (generated): Add .symlist files.
a65ef2ae 5520
54b71e02
JM
55212012-05-03 Joseph Myers <joseph@codesourcery.com>
5522
5523 [BZ #13775]
5524 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
5525 Redirect under this condition.
5526 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5527 [__USE_GNU] (__dprintf_chk): Not under this condition.
5528 [__USE_GNU] (__vdprintf_chk): Likewise.
5529 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
5530 under this condition.
5531 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5532 [__USE_XOPEN2K8] (dprintf): Define under this condition.
5533 [__USE_XOPEN2K8] (vdprintf): Likewise.
5534 [__USE_GNU] (__dprintf_chk): Not under this condition.
5535 [__USE_GNU] (__vdprintf_chk): Likewise.
5536 [__USE_GNU] (dprintf): Likewise.
5537 [__USE_GNU] (vdprintf): Likewise.
5538
d3dfcc41
RM
55392012-05-03 Roland McGrath <roland@hack.frob.com>
5540
5541 * elf/Makefile (common-generated): Set this instead of generated for
5542 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
5543 $(all-built-dso)-derived lists.
5544
7ac30cc5
AJ
55452012-05-03 Andreas Jaeger <aj@suse.de>
5546
0c51e550
AJ
5547 * sysdeps/i386/fpu/libm-test-ulps: Update.
5548
7ac30cc5
AJ
5549 * FAQ: Removed.
5550 * FAQ.in: Likewise.
5551 * scripts/gen-FAQ.pl: Likewise.
5552 * manual/install.texi (Installation): Point to online location of
5553 FAQ.
5554 * Makefile (files-for-dist): Remove FAQ.
5555 (FAQ): Remove.
5556
d4c2917f
AM
55572012-05-02 Allan McRae <allan@archlinux.org>
5558
5559 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
5560 (LDFLAGS-reldepmod5.so): Likewise.
5561 (LDFLAGS-reldep6mod1.so): Likewise.
5562 (LDFLAGS-reldep6mod4.so): Likewise.
5563 (LDFLAGS-reldep8mod3.so): Likewise.
5564 (LDFLAGS-unload4mod1.so): Likewise.
5565 (LDFLAGS-unload4mod2.so): Likewise.
5566 (LDFLAGS-tst-initorder): Likewise.
5567 (LDFLAGS-tst-initordera2.so): Likewise.
5568 (LDFLAGS-tst-initordera3.so): Likewise.
5569 (LDFLAGS-tst-initordera4.so): Likewise.
5570 (LDFLAGS-tst-initorderb2.so): Likewise.
5571 (LDFLAGS-noload): Likewise.
5572 (LDFLAGS-next): Likewise.
5573 (LDFLAGS-order2mod1.so): Likewise.
5574 (LDFLAGS-order2mod2.so): Likewise.
5575 (LDFLAGS-tst-initorder2): Likewise.
5576 (LDFLAGS-tst-initorder2a.so): Likewise.
5577 (LDFLAGS-tst-initorder2b.so): Likewise.
5578 (LDFLAGS-tst-initorder2c.so): Likewise.
5579 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
5580
d77f993f
DM
55812012-05-02 David S. Miller <davem@davemloft.net>
5582
5583 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5584
171a70b4
PP
55852012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
5586
5587 [BZ #14055]
5588 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
5589
0be196ad
AJ
55902012-05-02 Andreas Jaeger <aj@suse.de>
5591
5592 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
5593 since we manipulate rounding mode.
5594 (CPPFLAGS-test-idouble.c): Likewise.
5595 (CPPFLAGS-test-ifloat.c): Likewise.
5596 (CFLAGS-test-ldouble.c): Likewise.
5597 (CFLAGS-test-double.c): Likewise.
5598 (CFLAGS-test-float.c): Likewise.
5599 (CFLAGS-test-misc.c): Likewise.
5600 (CFLAGS-test-test-fenv.c): Likewise.
5601
4f9d04aa
AZ
56022012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5603
2b942cb7
RM
5604 [BZ #2550]
5605 [BZ #2570]
5606 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
5607 comparisons to determine direction to adjust input.
4f9d04aa 5608
82a79e7d
RM
56092012-05-01 Roland McGrath <roland@hack.frob.com>
5610
f5a01ca9
RM
5611 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
5612 output to the target.
5613
90fe4186
RM
5614 * scripts/localplt.awk: New file.
5615 * elf/Makefile ($(objpfx)check-localplt): Target removed.
5616 (check-localplt-CFLAGS): Variable removed.
5617 ($(all-built-dso:=.jmprel)): New static pattern rule.
5618 (generated): Add those targets.
5619 (localplt-built-dso): New variable.
5620 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
5621
5622 * elf/check-localplt.c: File removed.
5623
82397ed6
RM
5624 * scripts/check-execstack.awk: New file.
5625 * elf/Makefile ($(objpfx)check-execstack): Target removed.
5626 (check-execstack-CFLAGS): Variable removed.
5627 ($(objpfx)check-execstack.h): Target removed.
5628 ($(objpfx)execstack-default): New target.
5629 (generated): Add that instead of check-execstack.h.
5630 ($(all-built-dso:=.phdr)): New static pattern rule.
5631 (generated): Add those targets.
5632 * elf/check-execstack.c: File removed.
5633
82a79e7d
RM
5634 * scripts/check-textrel.awk: New file.
5635 * elf/Makefile ($(objpfx)check-textrel): Target removed.
5636 (check-textrel-CFLAGS): Variable removed.
5637 (all-built-dso): Use := to define.o
5638 ($(all-built-dso:=.dyn)): New static pattern rule.
5639 (generated): Add those targets.
5640 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
5641 * config.make.in (READELF): New substituted variable.
5642 * elf/check-textrel.c: File removed.
5643
62fde54f 56442012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 5645
615605c9
JM
5646 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5647 allow.
5648 * conform/data/ctype.h-data [C99-based standards] (isblank):
5649 Expect function.
5650 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
5651 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
5652 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5653 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
5654 Specify type. Require positive value.
5655 (EILSEQ): Likewise.
5656 (ERANGE): Likewise.
5657 [ISO || POSIX] (EILSEQ): Do not expect.
5658 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
5659 Specify type. Require positive value.
5660 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
5661 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
5662 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
5663 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
5664 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
5665 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
5666 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
5667 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
5668 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
5669 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
5670 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
5671 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
5672 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
5673 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
5674 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
5675 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
5676 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
5677 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
5678 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
5679 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
5680 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
5681 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
5682 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
5683 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
5684 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
5685 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
5686 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
5687 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
5688 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
5689 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
5690 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
5691 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
5692 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
5693 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
5694 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
5695 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
5696 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
5697 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
5698 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
5699 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
5700 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
5701 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
5702 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
5703 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
5704 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
5705 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
5706 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
5707 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
5708 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
5709 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
5710 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
5711 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
5712 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
5713 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
5714 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
5715 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
5716 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
5717 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
5718 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
5719 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
5720 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
5721 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
5722 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
5723 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
5724 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
5725 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
5726 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
5727 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
5728 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
5729 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
5730 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
5731 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
5732 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
5733 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
5734 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
5735 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
5736 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
5737 Require >= 2.
5738 (FLT_ROUNDS): Expect as macro, not constant.
5739 (FLT_MANT_DIG): Use macro-int-constant.
5740 (DBL_MANT_DIG): Likewise.
5741 (LDBL_MANT_DIG): Likewise.
5742 (FLT_DIG): Likewise.
5743 (DBL_DIG): Likewise.
5744 (LDBL_DIG): Likewise.
5745 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
5746 (DBL_MIN_EXP): Likewise.
5747 (LDBL_MIN_EXP): Likewise.
5748 (FLT_MAX_EXP): Use macro-int-constant.
5749 (DBL_MAX_EXP): Likewise.
5750 (LDBL_MAX_EXP): Likewise.
5751 (FLT_MAX_10_EXP): Likewise.
5752 (DBL_MAX_10_EXP): Likewise.
5753 (LDBL_MAX_10_EXP): Likewise.
5754 (FLT_MAX): Use macro-constant.
5755 (DBL_MAX): Likewise.
5756 (LDBL_MAX): Likewise.
5757 (FLT_EPSILON): Use macro-constant. Give upper bound.
5758 (DBL_EPSILON): Likewise.
5759 (LDBL_EPSILON): Likewise.
5760 (FLT_MIN): Likewise.
5761 (DBL_MIN): Likewise.
5762 (LDBL_MIN): Likewise.
5763 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
5764 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
5765 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
5766 [ISO11] (FLT_HAS_SUBNORM): Likewise.
5767 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
5768 [ISO11] (DBL_DECIMAL_DIG): Likewise.
5769 [ISO11] (FLT_DECIMAL_DIG): Likewise.
5770 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
5771 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
5772 [ISO11] (FLT_TRUE_MIN): Likewise.
5773 [ISO11] (LDBL_TRUE_MIN): Likewise.
5774 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5775 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
5776 (SCHAR_MIN): Use macro-int-constant. Specify type.
5777 (SCHAR_MAX): Likewise.
5778 (UCHAR_MAX): Likewise.
5779 (CHAR_MIN): Likewise.
5780 (CHAR_MAX): Likewise.
5781 (MB_LEN_MAX): Use macro-int-constant.
5782 (SHRT_MIN): Use macro-int-constant. Specify type.
5783 (SHRT_MAX): Likewise.
5784 (USHRT_MAX): Likewise.
5785 (INT_MAX): Likewise.
5786 (INT_MIN): Use macro-int-constant. Specify type. Make upper
5787 bound negative.
5788 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
5789 bound with "U".
5790 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5791 bound with "L".
5792 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
5793 bound negative. Suffix upper bound with "L".
5794 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5795 bound with "UL".
5796 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
5797 Specify type.
5798 [C99-based standards] (LLONG_MAX): Likewise.
5799 [C99-based standards] (ULLONG_MAX): Likewise.
5800 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
5801 == 0.
5802 [ISO11] (max_align_t): Require type.
5803 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5804
c9140a62
JM
5805 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
5806 from $CFLAGS, without defining away __attribute__ calls.
5807 (checknamespace): Use $CFLAGS_namespace.
5808
9af0bf29
JM
5809 * conform/conformtest.pl (@keywords): Only include C99 keywords
5810 for standards based on C99 or C11.
5811
343222a2
JM
5812 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
5813 Disable tests.
5814 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
5815 UNIX98]: Likewise.
5816
661f8cf0
JM
5817 * conform/conformtest.pl: Handle "macro-int-constant" and test for
5818 usability of symbols in #if.
5819
ee74b9cb
JM
5820 * conform/conformtest.pl: If macro or constant types start
5821 "promoted:", expect the symbol to be of the following type
5822 promoted by the integer promotions.
62fde54f 5823
aafc49b3
JM
5824 * conform/conformtest.pl: Parse all "constant" and "macro" lines
5825 in one place. Also handle "macro-constant".
5826
fefdf574
JM
5827 * conform/conformtest.pl: Only accept expected macro values with
5828 "==". Parse all "macro" lines in one place.
5829 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
5830
f2d922fe
JM
5831 * conform/conformtest.pl: Handle braced types on "constant" lines
5832 instead of handling "typed-constant".
5833 * conform/data/signal.h-data: Use "constant" instead of
5834 "typed-constant".
5835
d22956c9
JM
5836 * conform/conformtest.pl: Handle "optional-" at start of lines in
5837 one place rather than duplicating several cases. Handle each
5838 format of "macro" line with initial "optional-".
5839
028e2e38
JM
5840 * conform/conformtest.pl: Only accept expected constant or
5841 optional-constant values with "==". Parse all "constant" lines in
5842 one place. Parse all "optional-constant" lines in one place.
5843 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
5844 * conform/data/fmtmsg.h-data: Likewise.
5845 * conform/data/netinet/in.h-data: Likewise.
5846 * conform/data/tar.h-data: Likewise.
5847 * conform/data/limits.h-data: Use "==" form on "constant" and
5848 "optional-constant" lines.
5849
1b8f2850
JM
5850 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
5851 Use -std=c99 for XOPEN2K.
5852 (@knownproblems): Remove.
5853 (newtoken): Don't check %isknown.
5854
a05a144b
JM
5855 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
5856 Do not expect macro.
5857 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
5858 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
5859 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
5860 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
5861 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
5862 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
5863 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
5864 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
5865 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
5866 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
5867 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
5868 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
5869 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
5870 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
5871 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
5872 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
5873 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
5874 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
5875 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
5876 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
5877 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
5878 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
5879 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
5880 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
5881 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
5882 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
5883 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
5884 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
5885 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
5886 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
5887 [XPG3] (acosh): Likewise.
5888 [XPG3] (asinh): Likewise.
5889 [XPG3] (atanh): Likewise.
5890 [XPG3] (cbrt): Likewise.
5891 [XPG3] (expm1): Likewise.
5892 [XPG3] (ilogb): Likewise.
5893 [XPG3] (log1p): Likewise.
5894 [XPG3] (logb): Likewise.
5895 [XPG3] (nextafter): Likewise.
5896 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
5897 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
5898 [XPG3] (remainder): Likewise.
5899 [XPG3] (rint): Likewise.
5900 [XPG3 || XPG4 || UNIX98] (round): Likewise.
5901 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
5902 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
5903 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
5904 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
5905 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
5906 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
5907 [UNIX98 || XOPEN2K] (scalb): Expect.
5908 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
5909 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
5910 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
5911 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
5912 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
5913 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
5914 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
5915 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
5916 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
5917 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
5918 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
5919 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
5920 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
5921 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
5922 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
5923 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
5924 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
5925 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
5926 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
5927 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
5928 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
5929 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
5930 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
5931 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
5932 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
5933 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
5934 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
5935 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
5936 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
5937 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
5938 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
5939 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
5940 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
5941 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
5942 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
5943 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
5944 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
5945 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
5946 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
5947 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
5948 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
5949 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
5950 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
5951 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
5952 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
5953 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
5954 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
5955 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
5956 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
5957 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
5958 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
5959 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
5960 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
5961 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
5962 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
5963 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
5964 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
5965 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
5966 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
5967 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
5968 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
5969 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
5970 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
5971 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
5972 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
5973 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
5974 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
5975 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
5976 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
5977 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
5978 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
5979 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
5980 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
5981 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
5982 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
5983 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
5984 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
5985 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
5986 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
5987 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
5988 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
5989 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
5990 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
5991 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
5992 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
5993 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
5994 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
5995 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
5996 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
5997 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
5998 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
5999 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
6000 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
6001 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
6002 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
6003 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
6004 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
6005 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
6006 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
6007 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
6008 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
6009 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
6010 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
6011 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
6012 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
6013 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
6014 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
6015 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
6016 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
6017 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
6018 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
6019 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
6020 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
6021 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
6022 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
6023 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
6024 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
6025 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
6026 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
6027 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
6028 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
6029 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
6030 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
6031 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
6032 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
6033 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
6034 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
6035 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
6036 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
6037 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
6038 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
6039 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
6040 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
6041 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
6042 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
6043 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
6044 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
6045
73c5ebe3
JM
6046 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
6047 _XOPEN_SOURCE_EXTENDED for XPG4.
6048
39c33b6c
JM
6049 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
6050
62fde54f
JM
6051 * Makeconfig (localtime): Remove variable.
6052 (inst_localtime-file): Likewise.
6053
0741d64c
AS
60542012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6055
6056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6057 Update.
6058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6059 Update.
6060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6061 Update.
6062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6063 Update.
6064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6065 Update.
6066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
6067 Update.
6068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6069 Update.
6070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
6071 Update.
6072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6073 Update.
6074
7cb029ee
JM
60752012-05-01 Joseph Myers <joseph@codesourcery.com>
6076
6077 [BZ #2550]
6078 [BZ #2570]
6079 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6080 comparisons to determine direction to adjust input.
6081 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6082 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
6083 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6084 Likewise.
6085 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6086 Likewise.
6087 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6088 Likewise.
6089 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6090 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6091 Likewise.
6092 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6093 Likewise.
6094 * math/libm-test.inc (nexttoward_test): Add more tests.
6095
412bd966
AS
60962012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6097
6098 [BZ #14040]
6099 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
6100 in version GLIBC_2.1, not GLIBC_2.0.
6101 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
6102 Likewise.
6103
9568c0c2
JM
61042012-04-30 Joseph Myers <joseph@codesourcery.com>
6105
adfbc8ac
JM
6106 [BZ #13942]
6107 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
6108 (1 - x) * (1 + x).
6109 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6110 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
6111 * math/libm-test.inc (acos_test): Add more tests.
6112 (asin_test): Likewise.
6113 * sysdeps/i386/fpu/libm-test-ulps: Update.
6114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6115
5ba3cc69
JM
6116 [BZ #14034]
6117 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
6118 of square root.
6119 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
6120 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6121 * math/libm-test.inc (acos_test_tonearest): New function.
6122 (acos_test_towardzero): Likewise.
6123 (acos_test_downward): Likewise.
6124 (acos_test_upward): Likewise.
6125 (asin_test_tonearest): Likewise.
6126 (asin_test_towardzero): Likewise.
6127 (asin_test_downward): Likewise.
6128 (asin_test_upward): Likewise.
6129 (main): Call the new functions.
6130 * sysdeps/i386/fpu/libm-test-ulps: Update.
6131 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6132
9568c0c2
JM
6133 [BZ #13884]
6134 [BZ #13924]
6135 * math/e_exp10.c: Include <float.h>.
6136 (__ieee754_exp10): Handle underflow here rather than multiplying
6137 large negative argument by M_LN10.
6138 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
6139 of __ieee754_expf.
6140 * math/e_exp10l.c: Include <float.h>.
6141 (__ieee754_exp10l): Handle underflow here rather than multiplying
6142 large negative argument by M_LN10l.
6143 * math/libm-test.inc (exp10_test): Add another test. Do not allow
6144 spurious overflow exception on underflow.
6145
5ac3ea17
MP
61462012-04-29 Marek Polacek <polacek@redhat.com>
6147
6148 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
6149 (__fortify_function): New macro.
6150 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
6151 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
6152 __extern_always_inline.
6153 * libio/bits/stdio2.h: Likewise.
6154 * libio/bits/stdio.h: Likewise.
6155 * string/string.h: Likewise.
6156 * string/bits/string3.h: Likewise.
6157 * include/stdio.h: Likewise.
6158 * stdlib/bits/stdlib.h: Likewise.
6159 * stdlib/stdlib.h: Likewise.
6160 * rt/bits/mqueue2.h: Likewise.
6161 * rt/mqueue.h: Likewise.
6162 * posix/bits/unistd.h: Likewise.
6163 * posix/unistd.h: Likewise.
6164 * io/bits/poll2.h: Likewise.
6165 * io/bits/fcntl2.h: Likewise.
6166 * io/fcntl.h: Likewise.
6167 * io/sys/poll.h: Likewise.
6168 * misc/bits/syslog.h: Likewise.
6169 * misc/bits/syslog-ldbl.h: Likewise.
6170 * misc/sys/syslog.h: Likewise.
6171 * socket/bits/socket2.h: Likewise.
6172 * socket/sys/socket.h: Likewise.
6173 * debug/tst-chk1.c: Likewise.
6174 * wcsmbs/bits/wchar2.h: Likewise.
6175 * wcsmbs/bits/wchar-ldbl.h: Likewise.
6176 * wcsmbs/wchar.h: Likewise.
6177
ecf0ebfb
AJ
61782012-04-29 Andreas Jaeger <aj@suse.de>
6179
6180 * Makerules (tests): Remove enable-check-abi protection.
6181 (check-abi-warn): Remove.
6182 (check-abi-%): Remove check-abi-warn usage.
6183
6184 * configure.in: Remove check-abi configure option.
6185 * configure: Regenerated.
6186 * config.make.in (enable-check-abi): Remove.
6187
6d5c57fa
AS
61882012-04-28 Andreas Schwab <schwab@linux-m68k.org>
6189
24c5d07e 6190 [BZ #14033]
ded5180a
AS
6191 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
6192 double functions to double *_finite functions.
6193
7e0d315d
AS
6194 [BZ #13941]
6195 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
6196 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
6197 LDBL_MIN_EXP.
6198 * stdio-common/Makefile (tests): Add tst-sprintf3.
6199 * stdio-common/tst-sprintf3.c: New file.
6200
6d5c57fa
AS
6201 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
6202 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
6203
0749ff8b
JM
62042012-04-28 Joseph Myers <joseph@codesourcery.com>
6205
6206 * conform/conformtest.pl: Remove duplicate typed-constant
6207 handling.
6208
8dbd5d7b
DM
62092012-04-28 David S. Miller <davem@davemloft.net>
6210
6211 * Makerules (%.abilist): Add vpath on sysdep_dirs.
6212 (check-abi-%): Remove AWK script prerequisite and explicit
6213 abilist directory.
6214 (check-abi): Rewrite to just diff the symlist with the abilist.
6215 (config-tls, config-abi-config): Delete, no longer used.
6216 (update-abi-%): Remove AWK script and explicit abilist directory.
6217 (update-abi): Rewrite to simply compare and conditionally copy the
6218 symlist and the sysdep abilist file. Remove update-abi-config
6219 checks.
6220 * abilist/ld.abilist: Remove.
6221 * abilist/libBrokenLocale.abilist: Remove.
6222 * abilist/libanl.abilist: Remove.
6223 * abilist/libcrypt.abilist: Remove.
6224 * abilist/libdl.abilist: Remove.
6225 * abilist/librt.abilist: Remove.
6226 * abilist/libthread_db.abilist: Remove.
6227 * abilist/libutil.abilist: Remove.
6228 * scripts/extract-abilist.awk: Remove.
6229 * scripts/merge-abilist.awk: Remove.
6230 * sysdeps/generic/libcidn.abilist: New file.
6231 * sysdeps/generic/libnss_compat.abilist: New file.
6232 * sysdeps/generic/libnss_db.abilist: New file.
6233 * sysdeps/generic/libnss_dns.abilist: New file.
6234 * sysdeps/generic/libnss_files.abilist: New file.
6235 * sysdeps/generic/libnss_hesiod.abilist: New file.
6236 * sysdeps/generic/libnss_nis.abilist: New file.
6237 * sysdeps/generic/libnss_nisplus.abilist: New file.
6238 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
6239 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
6240 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
6241 file.
6242 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
6243 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
6244 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
6245 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
6246 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
6247 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
6248 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
6249 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
6250 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
6251 file.
6252 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
6253 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
6254 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6255 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6256 file.
6257 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6258 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6259 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6260 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6261 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6262 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6263 file.
6264 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6265 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6266 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6267 file.
6268 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6269 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6270 New file.
6271 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6272 New file.
6273 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6274 New file.
6275 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6276 New file.
6277 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6278 New file.
6279 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6280 New file.
6281 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6282 New file.
6283 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6284 New file.
6285 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6286 New file.
6287 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6288 New file.
6289 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6290 New file.
6291 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6292 New file.
6293 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6294 New file.
6295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6296 file.
6297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6298 New file.
6299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6300 New file.
6301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6302 file.
6303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6304 New file.
6305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6306 New file.
6307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6308 file.
6309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6310 New file.
6311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6312 New file.
6313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6314 New file.
6315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6316 New file.
6317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6318 New file.
6319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6320 New file.
6321 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6322 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6323 file.
6324 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6325 New file.
6326 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6327 file.
6328 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6329 file.
6330 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6331 file.
6332 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6333 file.
6334 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6335 file.
6336 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6337 New file.
6338 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6339 file.
6340 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6341 file.
6342 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6343 New file.
6344 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6345 file.
6346 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6347 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
6348 file.
6349 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6350 New file.
6351 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
6352 file.
6353 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
6354 file.
6355 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
6356 file.
6357 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
6358 file.
6359 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
6360 file.
6361 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6362 New file.
6363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
6364 file.
6365 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
6366 file.
6367 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6368 New file.
6369 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
6370 file.
6371 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6372 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
6373 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
6374 file.
6375 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
6376 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
6377 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
6378 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
6379 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
6380 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
6381 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
6382 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
6383 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
6384 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
6385 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
6386 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
6387 file.
6388 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6389 New file.
6390 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
6391 file.
6392 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
6393 file.
6394 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
6395 file.
6396 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
6397 file.
6398 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
6399 file.
6400 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6401 New file.
6402 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6403 New file.
6404 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
6405 file.
6406 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6407 New file.
6408 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
6409 file.
6410 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
6411 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
6412 file.
6413 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6414 New file.
6415 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
6416 file.
6417 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
6418 file.
6419 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
6420 file.
6421 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
6422 file.
6423 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
6424 file.
6425 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6426 New file.
6427 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6428 New file.
6429 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
6430 file.
6431 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6432 New file.
6433 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
6434 file.
6435
41d73a1b
JM
64362012-04-28 Joseph Myers <joseph@codesourcery.com>
6437
6438 * conform/conformtest.pl: Fix typo in handling typed-constant from
6439 allow-header.
6440
28aeeda4
JM
64412012-04-27 Joseph Myers <joseph@codesourcery.com>
6442
adae8f5e
JM
6443 * README: Cut down references to pre-2.6 Linux kernels and
6444 Linuxthreads. Update lists of configurations in libc and ports
6445 and sort alphabetically. Say "or newer" with Linux kernel version
6446 requirements.
6447
28aeeda4
JM
6448 * config.h.in [IS_IN_build]: Allow compiling without optimization.
6449
a462cb63
RA
64502012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6451
6452 [BZ #887]
6453 * math/libm-test.inc (logb_test_downward): New test to expose
6454 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
6455 rounding mode.
6456
6ad3493e
JM
64572012-04-27 Joseph Myers <joseph@codesourcery.com>
6458
6459 [BZ #14027]
6460 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
6461 to be done.
6462 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
6463 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
6464
2ce4f015
JM
64652012-04-26 Joseph Myers <joseph@codesourcery.com>
6466
5aeb141a
JM
6467 * sysdeps/unix/i386/brk.S: Remove file.
6468 * sysdeps/unix/i386/dl-brk.S: Likewise.
6469 * sysdeps/unix/i386/pipe.S: Likewise.
6470 * sysdeps/unix/i386/sigreturn.S: Likewise.
6471 * sysdeps/unix/i386/syscall.S: Likewise.
6472 * sysdeps/unix/i386/vfork.S: Likewise.
6473 * sysdeps/unix/i386/wait.S: Likewise.
6474
7143acae
JM
6475 * sysdeps/unix/common/tcsendbrk.c: Move to ...
6476 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
6477
2ce4f015
JM
6478 * configure.in (arm*-none*): Do not allow without
6479 --enable-hacker-mode.
6480 (netbsd*): Remove case setting base_os.
6481 (386bsd*): Likewise.
6482 (freebsd*): Likewise.
6483 (bsdi*): Likewise.
6484 (osf*): Likewise.
6485 (sunos*): Likewise.
6486 (ultrix*): Likewise.
6487 (newsos*): Likewise.
6488 (dynix*): Likewise.
6489 (*bsd*): Likewise.
6490 (sysv*): Likewise.
6491 (isc*): Likewise.
6492 (esix*): Likewise.
6493 (sco*): Likewise.
6494 (minix*): Likewise.
6495 (irix4*): Likewise.
6496 (irix6*): Likewise.
6497 (solaris[2-9]*): Likewise.
6498 (none): Likewise.
6499 * configure: Regenerated.
6500
0ac229c8
AZ
65012012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6502
6503 [BZ #11521]
6504 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
6505 overflow or cancellation in calculating denominator.
6506 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
6507 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
6508 down expression to avoid unexpected rounding in newer GCCs.
6509 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
6510
33f244f4
DM
65112012-04-26 David S. Miller <davem@davemloft.net>
6512
6513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
6514 long-double compat symbols.
6515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
6519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
6521 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
6522 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
6523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
6524 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
6526 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
6527 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6528
cfa1f3e8
DM
65292012-04-25 David S. Miller <davem@davemloft.net>
6530
6531 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
6532 HWCAP_* values only after the memory barriers have been defined.
6533 (atomic_full_barrier): Define.
6534 (atomic_read_barrier): Define.
6535 (atomic_write_barrier): Define.
6536
6e236b92
SP
65372012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6538
6539 * shlib-versions: Add libgcc_s version information.
6540 * sysdeps/generic/libgcc_s.h: Remove.
6541 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
6542 libgcc_s.h.
6543 * sysdeps/gnu/unwind-resume.c: Likewise.
6544 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
6545
aab39a09
DM
65462012-04-25 David S. Miller <davem@davemloft.net>
6547
6548 * sysdeps/unix/sparc/brk.S: Delete.
6549 * sysdeps/unix/sparc/dl-brk.S: Delete.
6550 * sysdeps/unix/sparc/pipe.S: Delete.
6551 * sysdeps/unix/sparc/sysdep.S: Delete.
6552 * sysdeps/unix/sparc/sysdep.h: Delete.
6553 * sysdeps/unix/sparc/vfork.S: Delete.
6554 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
6555 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
6556 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
6557 ret_ERRVAL, r0, r1, MOVE): Define.
6558 (JUMPTARGET): Remove.
6559 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
6560 sysdeps/unix/sparc/sysdep.h
6561 (ENTRY, END): Remove.
6562 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6563
a3cc4f48
JM
65642012-04-25 Joseph Myers <joseph@codesourcery.com>
6565
2ed8cda2
JM
6566 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
6567 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
6568 -DIS_IN_build.
6569
35d76d59
JM
6570 * timezone/README: Update upstream location and email address for
6571 tzcode and tzdata.
6572 * timezone/zdump.c: Update from tzcode 2012b.
6573 * timezone/zic.c: Likewise.
6574
a3cc4f48
JM
6575 * configure.in (libc_cv_as_needed): Remove test.
6576 * configure: Regenerated.
6577 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
6578 conditional definition.
6579 [$(have-as-needed) != yes] (no-as-needed): Likewise.
6580 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
6581 * config.make.in (have-as-needed): Remove variable.
6582
ceab42c3
SP
65832012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6584 Paul Pluzhnikov <ppluzhnikov@google.com>
6585
6586 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
6587 strings correctly.
6588
3ce2865f
CLT
65892012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
6590
6591 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
6592 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
6593 * sysdeps/sh/strlen.S: Likewise.
6594
f37e0d68
JM
65952012-04-24 Joseph Myers <joseph@codesourcery.com>
6596
ae186e9a
JM
6597 * sysdeps/unix/fork.S: Remove file.
6598 * sysdeps/unix/i386/fork.S: Likewise.
6599 * sysdeps/unix/sparc/fork.S: Likewise.
6600
b96914af
JM
6601 * sysdeps/unix/system.c: Remove file.
6602 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
6603
f37e0d68
JM
6604 * sysdeps/unix/getegid.S: Remove file.
6605 * sysdeps/unix/geteuid.S: Likewise.
6606
87ef29ca
RM
66072012-04-24 Roland McGrath <roland@hack.frob.com>
6608
83bcd236
RM
6609 * scripts/check-localplt.awk: New file.
6610 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
6611 of diff.
6612 * scripts/data/localplt-generic.data: Add a comment.
6613
87ef29ca
RM
6614 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
6615 NODE when __dir_mkfile failed.
6616 * sysdeps/mach/hurd/symlinkat.c: Likewise.
6617 Reported by Ludovic Courtès <ludo@gnu.org>.
6618
e5a6e567
AJ
66192012-04-24 Andreas Jaeger <aj@suse.de>
6620
6621 * Makerules (common-clean): Also remove gen-as-const-headers
6622 files.
6623
c1820385
JM
66242012-04-24 Joseph Myers <joseph@codesourcery.com>
6625
6626 * Makerules (native-compile): Do not change working directory for
6627 build. Use $(OUTPUT_OPTION) in command.
6628 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
6629
94e02fc4
AZ
66302012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6631
6632 [BZ #13886]
6633 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
6634 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
6635 * math/libm-test.inc (floor_test): Add more tests.
6636 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
6637
3a533ca3
JM
66382012-04-24 Joseph Myers <joseph@codesourcery.com>
6639
940ab4b3
JM
6640 * sysdeps/unix/getdents.c: Remove file.
6641 * sysdeps/unix/sysv/getdents.c: Likewise.
6642 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
6643
90e037bd
JM
6644 * sysdeps/unix/syscalls.list (madvise): Add syscall from
6645 sysdeps/unix/mman/syscalls.list.
6646 (mmap): Likewise.
6647 (mprotect): Likewise.
6648 (msync): Likewise.
6649 (munmap): Likewise.
6650 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
6651 * sysdeps/unix/mman/syscalls.list: Remove.
6652 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
6653
3a533ca3
JM
6654 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
6655 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
6656 * configure: Regenerated.
6657 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
6658 $(libgcc_s_suffix).
6659 * config.make.in (libgcc_s_suffix): Remove variable.
6660
1ad743de
JM
66612012-04-23 Joseph Myers <joseph@codesourcery.com>
6662
4ad451e2
JM
6663 * sysdeps/unix/sysv/gethostname.c: Move to ...
6664 * sysdeps/posix/gethostname.c: ... here.
6665
5e37ce39
JM
6666 * sysdeps/unix/execve.S: Remove file.
6667
1ad743de
JM
6668 * sysdeps/unix/_exit.S: Remove file.
6669
4e681b5b
AJ
66702012-04-23 Andreas Jaeger <aj@suse.de>
6671
6672 [BZ #13739]
6673 * manual/Makefile: Remove make dist support, there's no
6674 need for a stand-alone documentation tar ball.
6675 (TEXI2DVI): Define always, it's not in Makeconfig.
6676 (dist): Removed.
6677 (tar-it): Removed.
6678 (edition): Removed.
6679 (glibc-doc-$(edition).tar): Removed
6680 (%.Z): Removed.
6681 (%.gz): Removed.
6682 (%.uu): Removed.
6683 (ETAGS): Remove, it's in Makeconfig.
6684 (move-if-change): Remove, it's in Makeconfig.
6685
c0baea34
PE
66862013-04-23 Paul Eggert <eggert@cs.ucla.edu>
6687
6688 [BZ #13970]
6689 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
6690 (strtod, strtof, strtold, strtol, strtoul, strtoq)
6691 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
6692 (strtod_l, strtof_l, strtold_l): Remove __wur.
6693 It is not necessarily an error to ignore strtol's return value.
6694 One can reliably look at the stored endptr to decide whether
6695 the number had valid syntax.
6696
7c0616fa
AJ
66972012-04-21 Andreas Jaeger <aj@suse.de>
6698
803cb6b7 6699 [BZ #13739]
7c0616fa
AJ
6700 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
6701
b0fe253f
JM
67022012-04-21 Joseph Myers <joseph@codesourcery.com>
6703
6704 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
6705 * sysdeps/unix/sysv/Versions: Remove file.
6706
8280f22d
MT
67072012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
6708
6709 [BZ #13927]
6710 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6711
75ce411f 67122012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
6713
6714 [BZ #7064]
6715 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
6716 version from __vm86.
6717
097d59fa
JM
67182012-04-20 Joseph Myers <joseph@codesourcery.com>
6719
a90f3bcb
JM
6720 * sysdeps/unix/common/lxstat.c: Remove file.
6721 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
6722
edc7ea78
JM
6723 * sysdeps/unix/sysv/Makefile: Remove file.
6724
cb78c221
JM
6725 * sysdeps/unix/sysv/direct.h: Remove file.
6726
efa6a45f
JM
6727 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
6728 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
6729 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
6730 * sysdeps/unix/sysv/bits/signum.h: Likewise.
6731 * sysdeps/unix/sysv/bits/stat.h: Likewise.
6732 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
6733 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
6734
9c9f2d0c
JM
6735 * sysdeps/unix/sysv/setrlimit.c: Remove file.
6736
4541c83b
JM
6737 * sysdeps/unix/xmknod.c: Remove file.
6738 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
6739
f5d153a0
JM
6740 * sysdeps/unix/sysv/settimeofday.c: Remove file.
6741
aa746595
JM
6742 * sysdeps/unix/sysv/i386/time.S: Remove file.
6743
cce5905e
JM
6744 * sysdeps/unix/fxstat.c: Remove file.
6745 * sysdeps/unix/xstat.c: Likewise.
6746 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
6747
37fa3841
JM
6748 * sysdeps/unix/sysv/sigaction.c: Remove file.
6749
ff1962a3
JM
6750 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
6751 (sysdep_headers): Remove variable.
6752 [termio.h not in sysdep_headers] (generated): Likewise.
6753 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
6754 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
6755 * sysdeps/unix/sysv/tcdrain.c: Likewise.
6756 * sysdeps/unix/sysv/tcflow.c: Likewise.
6757 * sysdeps/unix/sysv/tcflush.c: Likewise.
6758 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
6759 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
6760 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6761 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6762 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
6763
e7740d31
JM
6764 * sysdeps/unix/siglist.c: Remove file.
6765
ee06f18b
JM
6766 * sysdeps/unix/getppid.S: Remove file.
6767
097d59fa
JM
6768 * sysdeps/unix/mkdir.c: Remove file.
6769 * sysdeps/unix/rmdir.c: Likewise.
6770
ff3d51ec
AS
67712012-04-19 Andreas Schwab <schwab@linux-m68k.org>
6772
6773 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
6774 ERR_MAX value.
6775 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
6776 errlist-compat value.
6777
50f81fd7
DM
67782012-04-18 David S. Miller <davem@davemloft.net>
6779
6780 * sysdeps/generic/memcopy.h (reg_char): Delete.
6781 * debug/strcat_chk.c: Use char, not reg_char.
6782 * debug/strcpy_chk.c: Likewise.
6783 * debug/strncat_chk.c: Likewise.
6784 * debug/strncpy_chk.c: Likewise.
6785 * string/memchr.c: Likewise.
6786 * string/memrchr.c: Likewise.
6787 * string/rawmemchr.c: Likewise.
6788 * string/strcat.c: Likewise.
6789 * string/strchr.c: Likewise.
6790 * string/strchrnul.c: Likewise.
6791 * string/strcmp.c: Likewise.
6792 * string/strcpy.c: Likewise.
6793 * string/strncat.c: Likewise.
6794 * string/strncmp.c: Likewise.
6795 * string/strncpy.c: Likewise.
6796
8ff41c46
WS
67972012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6798
6799 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
6800 __builtin_memcopy is called when src and dest ranges are known to not
6801 overlap.
6802
6b652f46
WS
68032012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6804
6805 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
6806 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
6807 fwd_align_merge macro call.
6808 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
6809 bwd_align_merge macro call.
6810 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6811
b282631e
WS
68122012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6813
6814 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
6815 bwd_align_merge macros.
6816 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
6817 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
6818 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6819
95aa737c
DM
68202012-04-18 David S. Miller <davem@davemloft.net>
6821
6822 * sysdeps/sparc/sparc64/memcopy.h: Delete.
6823
7a99a614
AJ
68242012-04-18 Andreas Jaeger <aj@suse.de>
6825
6826 [BZ# 6794]
6827 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
6828 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
6829 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6830
6831 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
6832 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
6833 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6834
6835 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
6836 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
6837 Adjust for changed ldbl-128 files.
6838
6839 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
6840 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
6841 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6842
e5270c23
DM
68432012-04-17 David S. Miller <davem@davemloft.net>
6844
6845 * sysdeps/sparc/sparc32/memcopy.h: Delete.
6846
fb5e92c9
AS
68472012-04-17 Andreas Schwab <schwab@linux-m68k.org>
6848
6849 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
6850 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
6851 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
6852 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
6853 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6854 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
6855
76da7265
AZ
68562012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6857
6858 [BZ #6794]
6859 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
6860 * math/libm-test.inc: Add ilogb errno and exception tests.
6861 * math/w_ilogb.c: New file: ilogb wrapper.
6862 * math/w_ilogbf.c: New file: ilogbf wrapper.
6863 * math/w_ilogbl.c: New file: ilogbl wrapper.
6864 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
6865 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
6866 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
6867 exception being thrown with 0.0 as argument.
6868 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
6869 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
6870 exception being thrown with 0.0 as argument.
6871 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
6872 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6873 exception being thrown with 0.0 as argument.
6874 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
6875 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6876 exception being thrown with 0.0 as argument.
6877 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
6878 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 6879 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
6880 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
6881 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
6882 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
6883 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
6884 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
6885 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
6886
0396e69d
PB
68872012-04-17 Petr Baudis <pasky@ucw.cz>
6888
6889 * include/sys/uio.h: Change __vector to __iovec to avoid clash
6890 with altivec.
6891
750b5926
MP
68922012-04-16 Marek Polacek <polacek@redhat.com>
6893
6894 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
6895
751728a1
MP
68962012-04-16 Marek Polacek <polacek@redhat.com>
6897
6898 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
6899 operands of fdivp instruction.
6900
34a27407
L
69012012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6902
6903 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
6904 * elf/tst-auditmod3b.c: Likewise.
6905 * elf/tst-auditmod4b.c: Likewise.
6906 * elf/tst-auditmod5b.c: Likewise.
6907 * elf/tst-auditmod6b.c: Likewise.
6908 * elf/tst-auditmod6c.c: Likewise.
6909 * elf/tst-auditmod7b.c: Likewise.
6910 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
6911 * sysdeps/x86_64/preconfigure.in: Likewise.
6912 * sysdeps/x86_64/preconfigure: Regenerated.
6913
7e73e17d
L
69142012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6915
6916 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
6917 __ILP32__.
6918
c7a6ab72
AB
69192012-04-13 Antoine Balestrat <merkil33@gmail.com>
6920
6921 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6922 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
6923
a9e8e0e0
CL
69242012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
6925
6926 [BZ #13973]
6927 * locale/iso-639.def: Fix gl language name. Spotted by
6928 Yaron Shahrabani.
6929
ec98af7d
RM
69302012-04-12 Roland McGrath <roland@hack.frob.com>
6931
6932 [BZ #2074]
6933 * libio/libio.h (__io_write_fn): Update comment.
6934
247c3ede
PB
69352012-04-12 Petr Baudis <pasky@ucw.cz>
6936
6937 [BZ #2074]
6938 * stdio.texi (Hook Functions): The user provided writer function
6939 is not allowed to return -1.
6940
55939d6d
DM
69412012-04-11 David S. Miller <davem@davemloft.net>
6942
6943 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6944
90020f5a
MF
69452012-04-11 Mike Frysinger <vapier@gentoo.org>
6946
6947 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
6948 Add a leading slash to rtkaio.
6949
288f9098
JM
69502012-04-11 Jim Meyering <meyering@redhat.com>
6951
90020f5a
MF
6952 [BZ #11959]
6953 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
6954 It is not necessarily an error to ignore fwrite's return
6955 value. One can reliably use ferror to test for errors after
6956 the fact.
288f9098 6957
4be2b570
L
69582012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6959
6960 * bits/types.h (__snseconds_t): New type.
6961 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
6962
6963 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
6964 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6965 (__SNSECONDS_T_TYPE): Likewise.
6966 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6967 (__SNSECONDS_T_TYPE): Likewise.
6968 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6969 (__SNSECONDS_T_TYPE): Likewise.
6970
288f9098 69712012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
6972
6973 [BZ #2636]
6974 * manual/time.texi (Processor Time): Return type of times is
6975 elapsed real time since an arbitrary point in the past.
6976 (CPU Time): Move CLK_TCK from here...
6977 (Processor Time): ...to here. Correct description.
6978 * manual/conf.texi (Constants for Sysconf): Correct description of
6979 _SC_CLK_TCK.
6980
d7dd4413
DM
69812012-04-10 David S. Miller <davem@davemloft.net>
6982
6983 [BZ #13967]
6984 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
6985 where the is a gap between DT_REL(A) and DT_JMPREL.
6986
b46068fc
L
69872012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6988
6989 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
6990 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6991 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6992
73d65cc3
SP
69932012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6994
6995 * elf/dl-support.c (_dl_inhibit_cache): New variable.
6996 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
6997 (dl_main): Handle --inhibit-cache.
6998 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
6999 _dl_inhibit_cache.
7000 * elf/dl-load.c (_dl_map_object): Use it.
7001 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
7002
bcc8d661
JM
70032012-04-09 Joseph Myers <joseph@codesourcery.com>
7004
8f9a2fae
JM
7005 [BZ #13872]
7006 * sysdeps/i386/fpu/e_powl.S (p78): New object.
7007 (__ieee754_powl): Saturate large exponents rather than testing for
7008 overflow of y*log2(x).
7009 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7010 * math/libm-test.inc (pow_test): Do not permit spurious overflow
7011 exceptions.
7012
bcc8d661
JM
7013 [BZ #11521]
7014 * math/s_ctan.c: Include <float.h>.
7015 (__ctan): Avoid internal overflow or cancellation in calculating
7016 denominator.
7017 * math/s_ctanf.c: Likewise.
7018 * math/s_ctanl.c: Likewise.
7019 * math/s_ctanh.c: Likewise.
7020 * math/s_ctanhf.c: Likewise.
7021 * math/s_ctanhl.c: Likewise.
7022 * math/libm-test.inc (ctan_test): Add more tests.
7023 (ctanh_test): Likewise.
7024 * sysdeps/i386/fpu/libm-test-ulps: Update.
7025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7026
823fbbb4
AJ
70272012-04-09 Andreas Jaeger <aj@suse.de>
7028
03879793
AJ
7029 [BZ #6894]
7030 * manual/filesys.texi (Directory Entries): Mention that d_namlen
7031 is an optional BSD extension.
7032
823fbbb4
AJ
7033 [BZ #10254]
7034 * manual/stdio.texi (Opening Streams): Document additional fopen
7035 parameters.
7036
8de131cb
RM
70372012-04-09 Roland McGrath <roland@hack.frob.com>
7038
7039 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
7040 %eax without telling the compiler.
7041
c0ed9d7d
CD
70422012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
7043
7044 [BZ # 13963]
7045 * manual/install.texi: Use sourceware.org.
7046
c483f6b4
JM
70472012-04-09 Joseph Myers <joseph@codesourcery.com>
7048
d7dd9453
JM
7049 [BZ #13873]
7050 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
7051 (__ieee754_pow): Generate overflow and underflow using huge*huge
7052 and tiny*tiny rather than just returning constant infinity or zero
7053 for large exponents.
7054 * math/libm-test.inc (pow_test): Require overflow exceptions for
7055 applicable cases of large exponents.
7056
c483f6b4
JM
7057 [BZ #706]
7058 * sysdeps/i386/fpu/e_pow.S (p10): New object.
7059 (__ieee754_pow): Use iterative multiplication algorithm only for
7060 integer exponents with absolute value below 1024. Check for odd
7061 integer exponents when using algorithm for real exponents.
7062 * math/libm-test.inc (pow_test): Add more tests.
7063 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7064
d2de7579
JM
70652012-04-08 Joseph Myers <joseph@codesourcery.com>
7066
7067 [BZ #13705]
7068 * math/libm-test.inc (exp_test): Do not allow overflow exception
7069 on underflow test.
7070
f77f1232
AJ
70712012-04-08 Aurelien Jarno <aurelien@aurel32.net>
7072
7073 [BZ #13705]
7074 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
7075 instead of __kernel_standard_f.
7076
3884932b
MF
70772012-04-08 Mike Frysinger <vapier@gentoo.org>
7078
7079 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
7080 * sysdeps/x86_64/memset_chk.S: Likewise.
7081
54472e9c
AJ
70822012-04-08 Andreas Jaeger <aj@suse.de>
7083
6ab0fbfc
AJ
7084 [BZ #10153]
7085 * manual/startup.texi (Environment Access): Describe return value
7086 for putenv and setenv.
7087
61efba8c
AJ
7088 [BZ #6895]
7089 * manual/filesys.texi (Directory Entries): Add description for
7090 DT_LNK.
7091
95c3f29a
AJ
7092 [BZ #6890]
7093 * manual/filesys.texi (Directory Entries): Clarify that it's file
7094 system not operating system in the description of DT_UNKNOWN.
7095
54472e9c
AJ
7096 [BZ #6578]
7097 * manual/syslog.texi (closelog): Fix reference, it's openlog.
7098
624254b1
SC
70992012-04-08 Stephen Compall <s11@member.fsf.org>
7100
7101 [BZ #6649]
7102 * manual/llio.texi (Opening and Closing Files): Add cross
7103 reference to explain mode argument.
7104
1e4920e0
MF
71052012-04-07 Mike Frysinger <vapier@gentoo.org>
7106
7107 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
7108 * sysdeps/x86_64/memset_chk.S: Likewise.
7109
5ed848f3
DM
71102012-04-07 David S. Miller <davem@davemloft.net>
7111
7112 * elf/elf.h (R_SPARC_WDISP10): Define.
7113 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
7114 R_SPARC_SIZE32.
7115 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7116 R_SPARC_SIZE64 and R_SPARC_H34.
7117
96154cd8
CD
71182012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
7119
7120 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
7121 conditions and remove no longer applicable assertion.
7122
9904dc47
L
71232012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7124
7125 * bits/byteswap.h: Include <features.h>.
7126 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7127 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7128
f8887d0a
L
71292012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7130
7131 * bits/byteswap.h (__bswap_16): Removed.
7132 Include <bits/byteswap-16.h> to get __bswap_16.
7133 * sysdeps/i386/bits/byteswap.h: Likewise.
7134 * sysdeps/s390/bits/byteswap.h: Likewise.
7135 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7136 * bits/byteswap-16.h: New file.
7137 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7138 * sysdeps/s390/bits/byteswap-16.h: Likewise.
7139 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
7140 * string/Makefile (headers): Add bits/byteswap-16.h.
7141
62470f60
PP
71422012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7143
7144 [BZ #13895]
7145 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
7146 extra indirection.
7147 * nss/Makefile (tests-static, tests): Add tst-nss-static.
7148 * nss/tst-nss-static.c: New.
7149
4dad7bab
RM
71502012-04-06 Robert Millan <rmh@gnu.org>
7151
7152 [BZ #6486]
7153 * manual/llio.texi (File Position Primitive): lseek
7154 refers to WHENCE when it really means OFFSET.
7155
e9142a17
AJ
71562012-04-06 Andreas Jaeger <aj@suse.de>
7157
2c040eff
AJ
7158 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
7159 strncmp declarations.
7160
e9142a17
AJ
7161 * abilist/libc.abilist: Add __poll and __ppoll.
7162
ff9f1c5f
DM
71632012-04-05 David S. Miller <davem@davemloft.net>
7164
dcd2ae90
DM
7165 * scripts/check-local-headers.sh: Accept a host triplet in the
7166 path matched by the exclude regexp.
7167
993eb054
DM
7168 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
7169 definition.
7170 * sysdeps/powerpc/powerpc32/dl-machine.h
7171 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
7172 * sysdeps/s390/s390-32/dl-machine.h
7173 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7174 * sysdeps/sparc/sparc32/dl-machine.h
7175 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7176 * sysdeps/sparc/sparc64/dl-machine.h
7177 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7178
ff9f1c5f
DM
7179 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
7180 lazy binding.
48e2e132 7181 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
7182 undefined symbol errors.
7183
48e2e132 7184 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
7185 DT_NEEDED entries.
7186
e80d6f94
MM
71872012-04-05 Michael Matz <matz@suse.de>
7188
7189 [BZ #13592]
7190 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
7191
349fa79f
AJ
71922012-04-05 Andreas Jaeger <aj@suse.de>
7193
7194 [BZ #13908]
7195 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
7196 comment.
7197
f402708f
KK
71982012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7199
7200 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
7201 which ROUND is no valid rounding mode.
7202
2ecccfc9
KK
72032012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7204
7205 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
7206 read again.
7207 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
7208
8a53f50f
KK
72092012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7210
7211 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
7212 an exception using FPU order intentionally.
7213
72142012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7215
7216 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
7217 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
7218 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
7219 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
7220
d653abb7
SJ
72212012-04-05 Simon Josefsson <simon@josefsson.org>
7222
7223 [BZ #12340]
7224 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
7225 EINVAL when BUFLEN is too smal.
7226
c3b1bf7d
TS
72272012-04-05 Thomas Schwinge <thomas@codesourcery.com>
7228
7229 [BZ #13553]
7230 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
7231 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
7232
b1aa60f3
AJ
72332012-04-03 Andreas Jaeger <aj@suse.de>
7234
c3b1bf7d 7235 [BZ #13938]
67f60a26
AJ
7236 * manual/setjmp.texi (System V contexts): Fix sentence.
7237
b1aa60f3
AJ
7238 [BZ #13926]
7239 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
7240 New macro for this case.
7241 [!__GNUC__] (__bswap_64): New inline function for this case.
7242 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7243 * bits/byteswap.h: Likewise.
7244 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
7245 ull, guard with __GLIBC_HAVE_LONG_LONG.
7246
7247 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
7248 __GLIBC_HAVE_LONG_LONG.
7249
7250 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
7251 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
7252
39c59c35
TMQMF
72532012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7254
7255 [BZ #13691]
7256 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7257 inptr and inend, rather than using last_ch.
7258
135ffda8
DM
72592012-04-02 David S. Miller <davem@davemloft.net>
7260
7261 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7262 * stdio-common/printf-parse.h (read_int): Change return type to
7263 'int', return -1 on INT_MAX overflow.
7264 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7265 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
7266 overflows INT_MAX. Check for overflow of in-format-string precision
7267 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
7268 SIZE_MAX not INT_MAX for integer overflow test.
7269 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7270 skip the construct in the format string but do not record anything.
7271 * stdio-common/bug22.c: Adjust to test both width/prevision
7272 INT_MAX overflow as well as total length INT_MAX overflow. Check
7273 explicitly for proper errno values.
7274
228c019e
TS
72752012-04-02 Thomas Schwinge <thomas@codesourcery.com>
7276
302cadd3
TS
7277 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7278 CHAR_MAX.
7279 * string/test-strcmp.c [! WIDE]: Likewise.
7280 * time/tst-mktime2.c: Likewise for INT_MAX.
7281 * string/test-string.h: #include <sys/param.h> for MIN.
7282
228c019e
TS
7283 * csu/init-first.c (__libc_init_first): Call __ctype_init.
7284 * sysdeps/i386/init-first.c (init): Likewise.
7285 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7286 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7287 * sysdeps/sh/init-first.c (init): Likewise.
7288
cfa633f5
UD
72892012-04-01 Ulrich Drepper <drepper@gmail.com>
7290
7291 * po/ru.po: Update from translation team.
d1635ef8 7292 * po/vi.po: Likewise.
cfa633f5 7293
6cd0a5ea
SP
72942012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7295
7296 * resolv/nss_dns/dns-host.c: Merge copyright years.
7297
4b43400f
LD
72982012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7299
7300 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7301 Optimize memcpy with prefetch if
7302 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
7303 src, dst pointers have unequal 16 byte alignments.
7304
48c41d04
SP
73052012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7306
7307 [BZ #13928]
7308 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7309 from a CNAME entry and return the minimum ttl for the query.
7310 (gaih_getanswer_slice): Likewise.
7311
b8dc394d
JL
73122012-03-30 Jeff Law <law@redhat.com>
7313
7314 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7315 due to long keys.
7316 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7317 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7318
2f5a5ed0
JL
7319 * resolv/nss_dns/dns-host.c: Update copyright year.
7320
1d39e359
UD
73212012-03-30 Ulrich Drepper <drepper@gmail.com>
7322
c030f70c 7323 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 7324 requests to save a system call. Fix check that all bytes are sent.
c030f70c 7325
1d39e359
UD
7326 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7327 comments for sendmmsg.
7328
73292012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
7330
7331 [BZ #13691]
7332 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7333 with only 1 character between 0x0041 and 0x01b0.
7334 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7335 * wcsmbs/tst-mbsnrtowcs.c: New file.
7336
20fde227
DM
73372012-03-29 David S. Miller <davem@davemloft.net>
7338
7339 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7340 small copies by hand.
7341
984a4237
JL
73422012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7343
7344 [BZ #13761]
7345 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7346 _nss_compat_initgroups_dyn): Fall back to malloc/free
7347 for large group memberships.
7348
18c9d62b
DM
73492012-03-28 David S. Miller <davem@davemloft.net>
7350
88d85d4f
DM
7351 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
7352 that branches into memcpy.
7353 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7354 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7355 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7356 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7357 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
7358 bits.
7359 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
7360 implementation too.
7361 * sysdeps/sparc/mempcpy.S: New file.
7362
e5aa83e1
DM
7363 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
7364 the IFUNC routine in the libc case.
7365 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7366
88570753
DM
7367 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
7368 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
7369 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
7370 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7371 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
7372 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
7373 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
7374 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
7375
249d7567
DM
7376 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
7377 loop to 256 bytes instead of 64 bytes and fix test signedness.
7378
18c9d62b
DM
7379 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
7380 * sysdeps/sparc/sparc32/Makefile: rather than here...
7381 * sysdeps/sparc/sparc64/Makefile: and here.
7382
05f3d1f6
UD
73832012-03-28 Ulrich Drepper <drepper@gmail.com>
7384
7385 * malloc/mallocbug.c: Avoid warnings about unused variables.
7386
86ae07a8
JL
73872012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7388
7389 [BZ #13760]
7390 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
7391 in the right place. Discard and retry query if response is
7392 larger than input buffer size.
7393
41bf21a1
JM
73942012-03-28 Joseph Myers <joseph@codesourcery.com>
7395
d6270972
JM
7396 [BZ #369]
7397 [BZ #2678]
7398 [BZ #3866]
7399 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
7400 x for large integer exponent.
7401 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7402 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
7403 sign of result as needed afterwards.
7404 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7405 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
7406 result for underflowing pow the same as for overflow.
7407 (__kernel_standard_l): Handle powl overflow and underflow here
7408 rather than calling __kernel_standard.
7409 * math/libm-test.inc (pow_test): Add more tests.
7410
414fca03 7411 [BZ #3868]
41bf21a1
JM
7412 [BZ #13879]
7413 [BZ #13910]
7414 [BZ #13911]
7415 [BZ #13912]
7416 [BZ #13913]
7417 [BZ #13915]
7418 [BZ #13916]
7419 [BZ #13917]
7420 [BZ #13918]
7421 [BZ #13919]
7422 [BZ #13920]
7423 [BZ #13921]
7424 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
7425 * sysdeps/ieee754/k_standard.c: Include <float.h>.
7426 (__kernel_standard_l): New function.
7427 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
7428 __kernel_standard.
7429 * math/w_acosl.c (__acosl): Likewise.
7430 * math/w_asinl.c (__asinl): Likewise.
7431 * math/w_atan2l.c (__atan2l): Likewise.
7432 * math/w_atanhl.c (__atanhl): Likewise.
7433 * math/w_coshl.c (__coshl): Likewise.
7434 * math/w_exp10l.c (__exp10l): Likewise.
7435 * math/w_exp2l.c (__exp2l): Likewise.
7436 * math/w_fmodl.c (__fmodl): Likewise.
7437 * math/w_hypotl.c (__hypotl): Likewise.
7438 * math/w_j0l.c (__j0l, __y0l): Likewise.
7439 * math/w_j1l.c (__j1l, __y1l): Likewise.
7440 * math/w_jnl.c (__jnl, __ynl): Likewise.
7441 * math/w_lgammal.c (__lgammal): Likewise.
7442 * math/w_log10l.c (__log10l): Likewise.
7443 * math/w_log2l.c (__log2l): Likewise.
7444 * math/w_logl.c (__logl): Likewise.
7445 * math/w_powl.c (__powl): Likewise.
7446 * math/w_remainderl.c (__remainderl): Likewise.
7447 * math/w_scalbl.c (sysv_scalbl): Likewise.
7448 * math/w_sinhl.c (__sinhl): Likewise.
7449 * math/w_sqrtl.c (__sqrtl): Likewise.
7450 * math/w_tgammal.c (__tgammal): Likewise.
7451 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
7452 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
7453 * math/libm-test.inc (acos_test): Add more tests.
7454 (acosh_test): Likewise.
7455 (asin_test): Likewise.
7456 (atanh_test): Likewise.
7457 (exp_test): Likewise.
7458 (exp10_test): Likewise.
7459 (exp2_test): Likewise.
7460 (expm1_test): Likewise.
7461 (lgamma_test): Likewise.
7462 (log_test): Likewise.
7463 (log10_test): Likewise.
7464 (log1p_test): Likewise.
7465 (log2_test): Likewise.
7466 (pow_test): Do not allow some spurious overflow exceptions.
7467 (sqrt_test): Add more tests.
7468 (tgamma_test): Likewise.
7469 (y0_test): Likewise.
7470 (y1_test): Likewise.
7471 (yn_test): Likewise.
7472
dd62fda6
AB
74732012-03-27 Anton Blanchard <anton@samba.org>
7474
7475 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
7476 MAP_HUGETLB.
7477 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7478 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7479 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7480
1e3cdfda
AJ
74812012-03-27 David S. Miller <davem@davemloft.net>
7482
b855ab85
DM
7483 * conform/Makefile: Run run-conformtest.sh using $(BASH).
7484
1e3cdfda
AJ
7485 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
7486 have-as-vis3 check.
7487
74882012-03-27 Andreas Jaeger <aj@suse.de>
7489
7490 * sysdeps/x86_64/elf/configure.in: Moved to ...
7491 * sysdeps/x86_64/configure.in: ... here.
7492 * sysdeps/x86_64/elf/start.S: Moved to ...
7493 * sysdeps/x86_64/start.S: ... here.
7494 * sysdeps/x86_64/elf/configure: Delete.
7495
7496 * sysdeps/x86_64/configure.in: Merge contents from
7497 sysdeps/i386/configure.in (without i686 check).
7498
7499 * sysdeps/i386/elf/Versions: Merge into ...
7500 * sysdeps/i386/Versions: ... this.
7501 * sysdeps/i386/elf/Versions: Delete file.
7502 * sysdeps/i386/elf/start.S: Moved to ...
7503 * sysdeps/i386/start.S: ...here.
7504 * sysdeps/i386/elf/configure.in: Merge into...
7505 * sysdeps/i386/configure.in: ...here.
7506 * sysdeps/i386/elf/configure.in: Delete file.
7507 * sysdeps/i386/elf/configure: Delete file.
7508
7509 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
7510 * debug/backtracesyms.c: ... here.
7511 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
7512 * debug/backtracesymsfd.c: ... here.
7513 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
7514 * sysdeps/generic/ifunc-sel.h: ... here.
7515
7516 * sysdeps/unix/i386/start.c: Delete file.
7517 * sysdeps/unix/sparc/start.c: Delete file.
7518 * sysdeps/unix/start.c: Delete file.
7519
7520 * sysdeps/sh/elf/configure.in: Moved to ...
7521 * sysdeps/sh/configure.in: ... here.
7522 * sysdeps/sh/elf/start.S: Moved to ...
7523 * sysdeps/sh/start.S: ... here.
7524 * sysdeps/sh/elf/configure: Delete file.
7525
7526 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
7527 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
7528 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
7529 * sysdeps/powerpc/powerpc64/entry.h: ... here.
7530 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
7531 * sysdeps/powerpc/powerpc64/start.S: here.
7532 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
7533 * sysdeps/powerpc/powerpc64/Makefile: ... this.
7534 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
7535 * sysdeps/powerpc/powerpc64/configure.in: ... this.
7536 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
7537
7538 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
7539 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
7540 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
7541 * sysdeps/powerpc/powerpc32/start.S: ... here.
7542 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
7543 * sysdeps/powerpc/powerpc32/configure.in: ... this.
7544 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
7545
7546 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
7547 * sysdeps/powerpc/ifunc-sel.h: ... here.
7548 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
7549 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
7550
7551 * sysdeps/sparc/elf/configure.in: Moved to ...
7552 * sysdeps/sparc/configure.in: ... here.
7553 * sysdeps/sparc/elf/configure: Delete file.
7554 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
7555 * sysdeps/sparc/sparc32/start.S: ... here.
7556 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
7557 * sysdeps/sparc/sparc64/start.S: ... here.
7558 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
7559 * sysdeps/sparc/sparc32/Makefile: ... this.
7560 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
7561 * sysdeps/sparc/sparc64/Makefile: ... this.
7562
7563 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
7564 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
7565 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
7566 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
7567 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
7568 * sysdeps/s390/s390-32/setjmp.S: ... here.
7569 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
7570 * sysdeps/s390/s390-32/configure.in: ... here.
7571 * sysdeps/s390/s390-32/elf/configure: Delete file.
7572 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
7573 * sysdeps/s390/s390-32/start.S: ... here.
7574
7575 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
7576 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
7577 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
7578 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
7579 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
7580 * sysdeps/s390/s390-64/setjmp.S: ... here.
7581 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
7582 * sysdeps/s390/s390-64/configure.in: ... here
7583 * sysdeps/s390/s390-64/elf/configure: Delete file.
7584 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
7585 * sysdeps/s390/s390-64/start.S: ... here.
7586 * sysdeps/s390/s390-64/elf/configure: Delete.
7587
7588 * configure.in: Remove support for elf directories in sysdeps.
7589
7590 * configure: Regenerated.
7591 * sysdeps/i386/configure: Regenerated.
7592 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7593 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7594 * sysdeps/s390/s390-32/configure: Regenerated.
7595 * sysdeps/s390/s390-64/configure: Regenerated.
7596 * sysdeps/sh/configure: Regenerated.
7597 * sysdeps/sparc/configure: Regenerated.
7598 * sysdeps/x86_64/configure: Regenerated.
7599
a3f61311
AS
76002012-03-26 Andreas Schwab <schwab@linux-m68k.org>
7601
c876e002
AS
7602 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7603
a3f61311
AS
7604 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
7605 denormal result into account.
7606
ac4c54f0
RM
76072012-03-25 Roland McGrath <roland@hack.frob.com>
7608
7609 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
7610 Reported by Allan McRae <allan@archlinux.org>.
7611
6a9b9c02
JL
76122012-03-23 Jeff Law <law@redhat.com>
7613
7614 * nss/getnssent.c (__nss_getent): Fix typo.
7615
4c42a0c1
DM
76162012-03-23 David S. Miller <davem@davemloft.net>
7617
7618 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7619
1532c7ac
L
76202012-03-23 H.J. Lu <hongjiu.lu@intel.com>
7621
7622 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
7623 to pad to uint64_t for each field.
7624 (dl_tls_index): Replace unsigned long with uint64_t.
7625
3ff42526
PP
76262012-03-23 Daniel Jacobowitz <dmj@google.com>
7627 Paul Pluzhnikov <ppluzhnikov@google.com>
7628
7629 [BZ #6528]
7630 * grp/Makefile (otherlibs): Don't set it.
7631 * inet/Makefile (otherlibs): Likewise.
7632 * login/Makefile (otherlibs): Likewise.
7633 * nscd/Makefile (otherlibs): Likewise.
7634 * posix/Makefile (otherlibs): Likewise.
7635 * pwd/Makefile (otherlibs): Likewise.
7636 * rt/Makefile (otherlibs): Likewise.
7637 * sunrpc/Makefile (otherlibs): Likewise.
7638 * nss/Makefile (otherlibs): Likewise.
7639 Add libnss_files to routines and static-only-routines.
7640 ($(objpfx)getent): Remove rule.
7641 * resolv/Makefile: Add libnss_dns and libresolv to routines and
7642 static-only-routines.
7643
7c69cd14
JM
76442012-03-22 Joseph Myers <joseph@codesourcery.com>
7645
7646 [BZ #13892]
7647 * math/s_cexp.c: Include <float.h>.
7648 (__cexp): Handle exp result overflowing not necessarily
7649 overflowing both real and imaginary parts of result.
7650 * math/s_cexpf.c: Likewise.
7651 * math/s_cexpl.c: Likewise.
7652 * math/libm-test.inc (cexp_test): Add more tests.
7653 * sysdeps/i386/fpu/libm-test-ulps: Update.
7654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7655
81b035fe
L
76562012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7657
7658 * include/link.h (ELFW): New macro.
7659 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
7660 Replace ELF64_R_TYPE with ELFW(R_TYPE).
7661
1da7940c
L
76622012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7663
7664 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
7665 with uint64_t.
7666
b749dbb9
L
76672012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7668
7669 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
7670 declaration.
7671 (struct La_x32_retval): Likewise.
7672
2ff87f3f
L
76732012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7674
7675 * sysdeps/x86_64/preconfigure.in: New file.
7676 * sysdeps/x86_64/preconfigure: New generated file.
7677
c0df8e69
JM
76782012-03-22 Joseph Myers <joseph@codesourcery.com>
7679
48e44791
JM
7680 [BZ #13824]
7681 * math/e_exp2l.c: Include <float.h>.
7682 (__ieee754_exp2l): Handle overflow and underflow cases
7683 separately. Only pass fractional part of argument to
7684 __ieee754_expl.
7685 * math/libm-test.inc (exp2_test): Add more tests.
7686
c0df8e69
JM
7687 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
7688 negating x to take absolute value.
7689 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7690 Likewise.
7691 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7692 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7693 Likewise.
7694 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
7695 computing low part if x was negated.
7696 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7697
c8e43ba7
L
76982012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7699
7700 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
7701 la_x32_gnu_pltexit.
7702 (pltexit): Cast int_retval to ptrdiff_t.
7703 * elf/tst-auditmod3b.c: Likewise.
7704 * elf/tst-auditmod4b.c: Likewise.
7705 * elf/tst-auditmod5b.c: Likewise.
7706 * elf/tst-auditmod6b.c: Likewise.
7707 * elf/tst-auditmod6c.c: Likewise.
7708 * elf/tst-auditmod7b.c: Likewise.
7709
7710 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
7711 and x32_gnu_pltexit.
7712
7713 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
7714 __ELF_NATIVE_CLASS.
7715 (La_x32_regs): New macro.
7716 (La_x32_retval): Likewise.
7717 (la_x32_gnu_pltenter): New function prototype.
7718 (la_x32_gnu_pltexit): Likewise.
7719
7998fa78
AS
77202012-03-21 Andreas Schwab <schwab@linux-m68k.org>
7721
dcb33988
AS
7722 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
7723 exponent.
7724
233fc563
AS
7725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7726
7998fa78
AS
7727 * configure.in (libc_cv_cc_nofma): Check for option to disable
7728 generation of FMA instructions.
7729 * configure: Regenerate.
7730 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
7731 * sysdeps/ieee754/dbl-64/Makefile: New file.
7732 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7733 Remove brandred-fma4.
7734 (CFLAGS-brandred-fma4.c): Remove.
7735 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
7736 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
7737 define.
7738 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
7739 define.
7740
8e95c99a
L
77412012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7742
7743 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7744 LLONG_MAX != LONG_MAX.
7745 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7746 (_fitoa_word): Likewise.
7747 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
7748 LLONG_MAX != LONG_MAX.
7749 * stdio-common/_itowa.h: Include <_itoa.h>.
7750 (_itowa_word): Use _ITOA_WORD_TYPE on value.
7751 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
7752 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
7753 only if not defined.
7754 (_ITOA_WORD_TYPE): Likewise.
7755 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7756 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
7757
6f4db457
DM
77582012-03-21 David S. Miller <davem@davemloft.net>
7759
7760 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7761
7785fe5a
L
77622012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7763
7764 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
7765 of x86_64 when setting libc_cv_slibdir, libdir and
7766 libc_cv_localedir.
7767 * sysdeps/unix/sysv/linux/configure: Regenerated.
7768
4535cd55
JM
77692012-03-21 Joseph Myers <joseph@codesourcery.com>
7770
7771 * manual/lang.texi (Old Varargs): Remove section.
7772 (How Variadic): Update menu.
7773 (va_start): Do not mention varargs.h.
7774
17228132
TS
77752012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7776 Joseph Myers <joseph@codesourcery.com>
7777
7778 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
7779 link test.
7780 * configure: Regenerated.
7781
8149f976
TS
77822012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7783
05f3d1f6
UD
7784 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
7785 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
7786 conformtest.pl
8149f976 7787
1a4ac776
JM
77882012-03-21 Joseph Myers <joseph@codesourcery.com>
7789
be22ce65
JM
7790 * NOTES: Remove.
7791 * Makefile (files-for-dist): Remove NOTES.
7792 (NOTES): Remove rule.
7793 * README: Don't refer to NOTES.
7794 * manual/creature.texi: Don't include macros.texi.
7795 * manual/intro.texi (creature.texi): Remove comment referring to
7796 NOTES.
7797
40b601fb
JM
7798 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
7799 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
7800 * configure: Regenerated.
7801 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
7802 LIBC_TRY_CC_OPTION.
7803 (libc_cv_as_i686): Likewise.
7804 (libc_cv_cc_avx): Likewise.
7805 (libc_cv_cc_sse2avx): Likewise.
7806 (libc_cv_cc_fma4): Likewise.
7807 (libc_cv_cc_novzeroupper): Likewise.
7808 * sysdeps/i386/configure: Regenerated.
7809
1a4ac776
JM
7810 [BZ #13883]
7811 * sysdeps/i386/fpu/s_cexp.S: Remove.
7812 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7813 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7814 * math/libm-test.inc (cexp_test): Add more tests.
7815 * sysdeps/i386/fpu/libm-test-ulps: Update.
7816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7817
a458e7fe
AM
78182012-03-21 Allan McRae <allan@archlinux.org>
7819
7820 * timezone/Makefile: Do not install iso3166.tab and zone.tab
7821
0cb7efc5
JM
78222012-03-21 Joseph Myers <joseph@codesourcery.com>
7823
7824 [BZ #13871]
7825 * math/w_exp2.c: Do not include <float.h>.
7826 (o_threshold, u_threshold): Remove.
7827 (__exp2): Calculate result before checking finiteness and calling
7828 __kernel_standard.
7829 * math/w_exp2f.c: Likewise.
7830 * math/w_exp2l.c: Likewise.
7831 * math/libm-test.inc (exp2_test): Require overflow exception for
7832 1e6 input.
2460d3aa
JM
7833
7834 [BZ #3866]
7835 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
7836 range of signed 64-bit integers before using fistpll. Remove
7837 checks for whether integers fit in mantissa bits.
7838 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
7839 the range of signed 32-bit integers before using fistpl. Remove
7840 checks for whether integers fit in mantissa bits.
7841 * sysdeps/i386/fpu/e_powl.S (p64): New object.
7842 (__ieee754_powl): Test for y outside the range of signed 64-bit
7843 integers before using fistpll. Reduce 64-bit values to 63-bit
7844 ones as needed.
7845 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
7846 divide-by-zero is raised for zero to large negative powers.
7847 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
7848 (__ieee754_powl): Test for y outside the range of signed 64-bit
7849 integers before using fistpll. Reduce 64-bit values to 63-bit
7850 ones as needed.
7851 * math/libm-test.inc (pow_test): Add more tests.
7852
eb96ffb0
L
78532012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7854
7855 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
7856 <stdio-common/_itoa.h>.
7857 * debug/segfault.c: Likewise.
7858 * elf/dl-cache.c: Likewise.
7859 * elf/dl-minimal.c: Likewise.
7860 * elf/dl-misc.c: Likewise.
7861 * elf/dl-sysdep.c: Likewise.
7862 * elf/dl-version.c: Likewise.
7863 * elf/rtld.c: Likewise.
7864 * hurd/hurdsock.c: Likewise.
7865 * hurd/lookup-retry.c: Likewise.
7866 * malloc/malloc.c: Likewise.
7867 * malloc/mtrace.c: Likewise.
7868 * nscd/nscd_getgr_r.c: Likewise.
7869 * nscd/nscd_getpw_r.c: Likewise.
7870 * nscd/nscd_getserv_r.c: Likewise.
7871 * posix/getopt_init.c: Likewise.
7872 * posix/wordexp.c: Likewise.
7873 * stdio-common/_itoa.c: Likewise.
7874 * stdio-common/printf_fphex.c: Likewise.
7875 * stdio-common/vfprintf.c: Likewise.
7876 * string/_strerror.c: Likewise.
7877 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7878 * sysdeps/i386/i686/hp-timing.h: Likewise.
7879 * sysdeps/mach/_strerror.c: Likewise.
7880 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
7881 * sysdeps/mach/hurd/sethostid.c: Likewise.
7882 * sysdeps/mach/hurd/xmknodat.c: Likewise.
7883 * sysdeps/mach/xpg-strerror.c: Likewise.
7884 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7885 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7886 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
7887 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
7888 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7889 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
7890 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7891 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7892 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
7893 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
7894 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
7895 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7896 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
7897 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7898 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7899 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
7900 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
7901 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
7902 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7903 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7904 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
7905
7906 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
7907
7908 * stdio-common/_itoa.h: Moved to ...
7909 * sysdeps/generic/_itoa.h: Here.
7910
7911 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
7912
7913 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
7914 instead of "_itoa.h" and "_itowa.h".
7915 * stdio-common/vfprintf.: Likewise.
7916
d1af992d
L
79172012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7918
7919 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
7920 <bits/wordsize.h>.
7921 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
7922 (__signbit): Likwise.
7923 (llrintf): Likwise.
7924 (llrint): Likwise.
7925
114883e0
L
79262012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7927
7928 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
7929 __WORDSIZE != 64.
7930
c135cc1b
JM
79312012-03-20 Joseph Myers <joseph@codesourcery.com>
7932
7933 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
7934 OVERFLOW_EXCEPTION_OK.
7935 * math/libm-test.inc ("Philosophy"): Update comment about
7936 exception testing.
7937 (OVERFLOW_EXCEPTION): Define.
7938 (OVERFLOW_EXCEPTION_OK): Likewise.
7939 (INVALID_EXCEPTION_OK): Renumber.
7940 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7941 (IGNORE_ZERO_INF_SIGN): Likewise.
7942 (test_exceptions): Handle FE_OVERFLOW.
7943 (exp10_test): Expect overflow exceptions.
7944 (exp2_test): Likewise.
7945 (expm1_test): Likewise.
7946 (nextafter_test): Likewise.
7947 (pow_test): Likewise.
7948 (scalbn_test): Likewise.
7949 (scalbln_test): Likewise.
7950
95443d88
L
79512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7952
7953 * sysdeps/x86_64/bits/atomic.h
7954 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
7955 64bit integer.
7956 (atomic_exchange_acq): Likewise.
7957 (__arch_exchange_and_add_body): Likewise.
7958 (__arch_add_body): Likewise.
7959 (atomic_add_negative): Likewise.
7960 (atomic_add_zero): Likewise.
7961
490df6c4
L
79622012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7963
c2722551 7964 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
7965 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
7966
5e52b189
L
79672012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7968
7969 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
7970 Check __x86_64__ instead of __WORDSIZE.
7971
a9879d4c
L
79722012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7973
7974 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
7975
5df98260
DM
79762012-03-19 David S. Miller <davem@davemloft.net>
7977
e1497744
DM
7978 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7979
5df98260
DM
7980 * sysdeps/sparc/fpu/fenv_private.h: New file.
7981 * sysdeps/sparc/fpu/math_private.h: Use it.
7982 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
7983 Remove.
7984 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
7985 (libc_feholdexcept_setroundl): Remove.
7986 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
7987 Remove.
7988 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
7989 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
7990
b4c35121
L
79912012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7992
7993 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
7994 int64_t instead of long int.
7995 (INSERT_WORDS64): Likwise.
7996
56965fd7
L
79972012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7998
7999 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
8000 _Unwind_GetCFA return to _Unwind_Ptr first.
8001
83d1aec8
JM
80022012-03-19 Joseph Myers <joseph@codesourcery.com>
8003
1897ad44
JM
8004 [BZ #13629]
8005 * math/s_clog.c: Include <float.h>.
8006 (__clog): Scale large or subnormal inputs.
8007 * math/s_clogf.c: Likewise.
8008 * math/s_clogl.c: Likewise.
8009 * math/s_clog10.c: Include <float.h>.
8010 (M_LOG10_2): Define.
8011 (__clog10): Scale large or subnormal inputs.
8012 * math/s_clog10f.c: Likewise.
8013 * math/s_clog10l.c: Likewise.
8014 * math/libm-test.inc (clog_test): Add more tests.
8015 (clog10_test): Likewise.
8016 * sysdeps/i386/fpu/libm-test-ulps: Update.
8017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8018
7726d6a9
JM
8019 [BZ #11451]
8020 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
8021 x and y.
8022 * math/libm-test.inc (atan2_test): Add another test.
8023
83d1aec8
JM
8024 * Makerules (common-objdir-compile): Remove.
8025 * sysdeps/unix/Makefile (config-generated): Do not add
8026 $(unix-generated) to variable.
8027 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
8028 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
8029 Remove rule.
8030 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
8031 Likewise.
8032 [generic bits/local_lim.h] (before-compile): Do not append to
8033 variable.
8034 [generic bits/local_lim.h] (common-generated): Likewise.
8035 [generic sys/param.h] (before-compile): Do not append to variable.
8036 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
8037 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
8038 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
8039 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
8040 include.
8041 [generic sys/param.h] (sys/param.h-includes): Remove variable.
8042 [generic sys/param.h] (sys/param.h-includes): Remove rule.
8043 [generic sys/param.h] ($(addprefix
8044 $(common-objpfx),$(sys/param.h-includes))): Likewise.
8045 [generic sys/param.h] (common-generated): Do not append to
8046 variable.
8047 [generic sys/param.h] (sysdep_headers): Likewise.
8048 [generic bits/errno.h] (before-compile): Do not append to
8049 variable.
8050 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
8051 rule.
8052 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
8053 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
8054 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
8055 [generic bits/errno.h] (common-generated): Do not append to
8056 variable.
8057 [generic bits/ioctls.h] (before-compile): Do not append to
8058 variable.
8059 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
8060 rule.
8061 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
8062 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
8063 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
8064 rule.
8065 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
8066 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
8067 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
8068 [generic bits/ioctls.h] (common-generated): Do not append to
8069 variable.
8070 [generic sys/syscall.h] (syscall.h): Remove variable.
8071 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
8072 rule.
8073 [generic sys/syscall.h] (before-compile): Do not append to
8074 variable.
8075 [generic sys/syscall.h] (common-generated): Likewise.
8076 * sysdeps/unix/errnos-tmpl.c: Remove file.
8077 * sysdeps/unix/errnos.awk: Likewise.
8078 * sysdeps/unix/ioctls-tmpl.c: Likewise.
8079 * sysdeps/unix/ioctls.awk: Likewise.
8080 * sysdeps/unix/mk-local_lim.c: Likewise.
8081 * sysdeps/unix/snarf-ioctls: Likewise.
8082
4851a949
RH
80832012-03-19 Richard Henderson <rth@twiddle.net>
8084
bd37f2ee
RH
8085 * sysdeps/i386/fpu/fenv_private.h: New file.
8086 * sysdeps/i386/fpu/math_private.h: Use it.
8087 (math_opt_barrier, math_force_eval): Remove.
8088 (libc_feholdexcept_setround_53bit): Remove.
8089 (libc_feupdateenv_53bit): Remove.
8090 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8091 (math_opt_barrier, math_force_eval): Remove.
8092 (libc_feholdexcept): Remove.
8093 (libc_feholdexcept_setround): Remove.
8094 (libc_fetestexcept, libc_fesetenv): Remove.
8095 (libc_feupdateenv_test): Remove.
8096 (libc_feupdateenv, libc_feholdsetround): Remove.
8097 (libc_feresetround): Remove.
8098
d0adc922
RH
8099 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
8100 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8101
0fe0f1f8
RH
8102 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
8103 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
8104 (libc_feupdateenv_testl): New.
8105 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
8106 (libc_feupdateenv_testf): New.
8107 (libc_feupdateenv): Use libc_feupdateenv_test.
8108 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
8109 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
8110
eb92c487
RH
8111 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
8112 (libc_feholdsetroundf, libc_feholdsetroundl): New.
8113 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
8114 (libc_feresetround_noex): New.
8115 (libc_feresetround_noexf): New.
8116 (libc_feresetround_noexl): New.
8117 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
8118 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
8119 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
8120 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
8121 SET_RESTORE_ROUND.
8122 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8123 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
8124 (__cos): Likewise.
8125 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
8126 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8127 SET_RESTORE_ROUND_NOEX.
8128 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
8129 SET_RESTORE_ROUND_NOEXF.
8130 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
8131 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
8132 (libc_feholdsetroundf): New.
8133 (libc_feresetround, libc_feresetroundf): New.
8134
7d2e8012
RH
8135 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
8136 (libc_feholdexcept_setround_53bit): Convert from macro to function.
8137 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
8138
b4dabbb4
RH
8139 * sysdeps/generic/math_private.h: Include <fenv.h>.
8140 (default_libc_feholdexcept): New.
8141 (default_libc_feholdexcept_setround): New.
8142 (default_libc_fesetenv, default_libc_feupdateenv): New.
8143 (libc_feholdexcept): Only define if undefined.
8144 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
8145 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
8146 (libc_feholdexcept_setroundl): Likewise.
8147 (libc_feholdexcept_setround_53bit): Likewise.
8148 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
8149 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
8150 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
8151 (libc_feupdateenv_53bit): Likewise.
8152 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
8153 (libc_feholdexcept): Convert from macro to inline function.
8154 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
8155 (libc_fesetenv, libc_feupdateenv): Likewise.
8156
4851a949
RH
8157 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
8158 not previously defined.
8159 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
8160 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
8161 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
8162 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
8163 * sysdeps/ieee754/flt-32/math_private.h: New file.
8164 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
8165 math_private.h below SET_FLOAT_WORD.
8166 (__isnan, __isinf_ns, __finite): Remove.
8167 (__isnanf, __isinf_nsf, __finitef): Remove.
8168
e79d442e
AS
81692012-03-18 Andreas Schwab <schwab@linux-m68k.org>
8170
8171 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8172
90b80344
DM
81732012-03-17 David S. Miller <davem@davemloft.net>
8174
8175 [BZ #6471]
8176 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
8177 for 2.16.
8178
edc21804
DM
81792012-03-16 David S. Miller <davem@davemloft.net>
8180
77e927af
DM
8181 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
8182 warnings.
8183
374976dd
DM
8184 [BZ #6471]
8185 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
8186 properly.
8187 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
8188 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
8189 sysdep_routines when subdir is sysvipc.
8190 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
8191 __getshmlba helper.
8192
edc21804
DM
8193 * sysdeps/sparc/fpu/libm-test/ulps: Update.
8194
473c3ef3
L
81952012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8196
8197 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
8198 [__LP64__].
8199
eb0f39b6
L
82002012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8201
8202 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
8203 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
8204 (__lround): Renamed to ...
8205 (__llround): This. Replace long int with long long int.
8206 Define lround functions as aliases of llround functions.
8207 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
8208
6b6cd74b
L
82092012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8210
8211 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
8212 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
8213 adresses to uintptr_t. Replace "long int" and "unsigned long
8214 int" with "greg_t" on va_arg.
8215
f1a77b01
L
82162012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8217
8218 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
8219 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
8220
8221 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
8222 Move e_machine check before EI_CLASS check. Handle x32
8223 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
8224 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
8225 SKIP_EM_IA_64 and include
8226 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
8227
8228 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
8229 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
8230 (add_system_dir): New macro.
8231
8232 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
8233 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
8234
11b90b9f
JM
82352012-03-16 Joseph Myers <joseph@codesourcery.com>
8236
c36e1d23
JM
8237 [BZ #2551]
8238 [BZ #2552]
8239 [BZ #2553]
8240 [BZ #2554]
8241 [BZ #2562]
8242 [BZ #2563]
8243 [BZ #2565]
8244 [BZ #2566]
8245 [BZ #2576]
8246 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
8247 (y0): Likewise.
8248 * math/w_j0f.c (j0f): Likewise.
8249 (y0f): Likewise.
8250 * math/w_j0l.c (__j0l): Likewise.
8251 (__y0l): Likewise.
8252 * math/w_j1.c (j1): Likewise.
8253 (y1): Likewise.
8254 * math/w_j1f.c (j1f): Likewise.
8255 (y1f): Likewise.
8256 * math/w_j1l.c (__j1l): Likewise.
8257 (__y1l): Likewise.
8258 * math/w_jn.c (jn): Likewise.
8259 (yn): Likewise.
8260 * math/w_jnf.c (jnf): Likewise.
8261 (ynf): Likewise.
8262 * math/w_jnl.c (__jnl): Likewise.
8263 (__ynl): Likewise.
8264 * math/libm-test.inc (j0_test): Add more tests.
8265 (j1_test): Likewise.
8266 (jn_test): Likewise. Add trailing semicolon to existing test.
8267 (y0_test): Likewise.
8268 (y1_test): Likewise.
8269 * sysdeps/i386/fpu/libm-test-ulps: Update.
8270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8271
11b90b9f
JM
8272 [BZ #13851]
8273 [BZ #13854]
8274 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8275 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8276 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8277 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8278 (__tanl): Set errno for infinite argument.
8279 * sysdeps/i386/fpu/mptan.c: Remove.
8280 * sysdeps/i386/fpu/s_tan.S: Likewise.
8281 * sysdeps/i386/fpu/s_tanl.S: Likewise.
8282 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8283 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8284 * math/libm-test.inc (tan_test): Add more tests and enable more
8285 tests for double and long double.
8286 * sysdeps/i386/fpu/libm-test-ulps: Update.
8287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8288
6a1bd2a1
JK
82892012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8290
8291 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8292 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8293
10a803e0
RM
82942012-03-16 Roland McGrath <roland@hack.frob.com>
8295
8296 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8297 * configure.in: Use it for both main tree and add-ons.
8298 * configure: Regenerated.
8299
f196c7f7
L
83002012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8301
8302 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8303
8848d99d
JM
83042012-03-16 Joseph Myers <joseph@codesourcery.com>
8305
96cbe7f4
JM
8306 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8307 in comment.
8308
8848d99d
JM
8309 [BZ #13851]
8310 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8311 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8312 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8313 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8314 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8315 infinite argument.
8316 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8317 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8318 != 0 for prec == 2.
8319 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8320 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8321 * sysdeps/i386/fpu/s_cosl.S: Likewise.
8322 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8323 * sysdeps/i386/fpu/s_sinl.S: Likewise.
8324 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8325 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8326 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8327 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8328 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8329 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8330 * math/libm-test.inc (cos_test): Add more tests and enable more
8331 tests for long double.
8332 (sin_test): Likewise.
8333 (sincos_test): Likewise.
8334 * sysdeps/i386/fpu/libm-test-ulps: Update.
8335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8336
dd7f4703
DM
83372012-03-16 David S. Miller <davem@davemloft.net>
8338
8339 * sysdeps/sparc/fpu/math_private.h: New file.
8340
006f1daa
DM
83412012-03-15 David S. Miller <davem@davemloft.net>
8342
c0c83bc8
DM
8343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8344 file.
e6a62e18 8345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
8346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8347 file.
e6a62e18
DM
8348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
8349 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
8350 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
8351 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
8352 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
8353 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
8354 sysdep routines.
8355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8356
88cb87d9
DM
8357 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
8358 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
8359
006f1daa 8360 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
8361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
8362 sparc-ifunc.h
006f1daa 8363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
8364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8365 Likewise.
8366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8367 Likewise.
006f1daa
DM
8368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
8369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
8371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8372 Likewise.
006f1daa
DM
8373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
8377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
8378 Likewise.
8379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
8380 Likewise.
006f1daa
DM
8381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
8383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8385 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8386 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8387 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
8388 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
8389 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8390 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8391 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8392 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8393 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8394 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8395 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
8396 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
8397 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
8398 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
8399 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
8400 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
8401 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
8402 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
8403 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
8404 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
8405
11e0098e
AS
84062012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8407
8408 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
8409 scaling.
8410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8411
e85b09d0
AJ
84122012-03-15 Andreas Jaeger <aj@suse.de>
8413
8414 [BZ #13852]
8415 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
8416 ieee754/flt-32 implementation for sin, cos and sincos.
8417 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
8418 * sysdeps/i386/fpu/s_cosf.S: Likewise.
8419 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
8420 * sysdeps/i386/fpu/s_sinf.S: Likewise.
8421 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
8422 ieee754/flt-32 implementation for tan.
8423
8424 * math/libm-test.inc (cos_test): Enable some large input tests for
8425 float as well
8426 (sin_test): Likewise.
8427 (sincos_test): Likewise.
8428 (tan_test): Add tests for large input.
8429
8430 * sysdeps/i386/fpu/libm-test-ulps: Update.
8431
81c64153
AJ
84322012-03-15 Andreas Jaeger <aj@suse.de>
8433
8434 [BZ #13658]
8435 * math/libm-test.inc (cos_test): Add more test cases.
8436 (sin_test): Likewise.
8437 (sincos_test): Likewise.
8438
7bbfa5c6
AJ
84392012-03-15 Andreas Jaeger <aj@suse.de>
8440
8441 [BZ #13837]
8442 * math/libm-test.inc (cos_test): Add a test case for large input
8443 value.
8444 (sin_test): Likewise.
8445 (sincos_test): Likewise.
8446
84472012-03-15 Andreas Jaeger <aj@suse.de>,
8448 Joseph Myers <joseph@codesourcery.com>
8449
8450 [BZ #13658]
0671f479 8451 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
8452 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
8453 * sysdeps/i386/fpu/branred.c: Likewise.
8454 * sysdeps/i386/fpu/dosincos.c: Likewise.
8455 * sysdeps/i386/fpu/mpa.c: Likewise.
8456 * sysdeps/i386/fpu/s_cos.S: Likewise.
8457 * sysdeps/i386/fpu/s_sin.S: Likewise.
8458 * sysdeps/i386/fpu/s_sincos.S: Likewise.
8459 * sysdeps/i386/fpu/sincos32.c: Likewise.
8460
8461 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
8462 Define.
8463 (libc_feupdateenv_53bit): Define.
8464 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
8465 Define.
8466 (libc_feupdateenv_53bit): Define.
8467
8468 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
8469 53 bit (without extend i386 double precision).
8470
8471 * math/libm-test.inc (sincos_test): Add tests for large input.
8472 (sin): Likewise.
8473 (cos): Likewise.
8474
8475 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8476
9cad04ea
AS
84772012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8478
8479 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8480
f7062b9a
DM
84812012-03-15 David S. Miller <davem@davemloft.net>
8482
8483 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
8484 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
8485 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
8486 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
8487 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
8488 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
8489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
8490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
8491 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
8492 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
8493 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
8494 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
8495 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
8496 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
8497 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
8498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
8499 file.
f7062b9a 8500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
8501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
8502 file.
f7062b9a 8503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
8504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
8505 file.
f7062b9a 8506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
8507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
8508 file.
f7062b9a
DM
8509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
8510 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
8511 fmin/fmax sysdep routines.
8512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8513
7bd951ff
DM
85142012-03-14 David S. Miller <davem@davemloft.net>
8515
559398ab
DM
8516 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
8517 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
8518 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
8519 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
8520 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
8521 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
8522 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
8523 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
8524 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
8525 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
8526 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
8527 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
8528 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
8529 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
8530 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
8531 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
8532 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
8533 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
8534 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
8535 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
8536 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
8537 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
8538 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
8539 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
8540 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
8541 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
8542 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
8543 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
8544 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
8545 routines.
8546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
8547 file.
559398ab 8548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
8549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
8550 file.
559398ab 8551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
8552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
8553 file.
559398ab 8554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
8555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
8556 file.
559398ab 8557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
8558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
8559 file.
559398ab 8560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
8561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
8562 file.
8563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
8564 file.
8565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
8566 file.
8567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
8568 file.
8569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
8570 New file.
8571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
8572 file.
8573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
8574 file.
559398ab 8575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
8576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
8577 file.
559398ab 8578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
8579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
8580 file.
559398ab 8581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
8582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
8583 file.
559398ab 8584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
8585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
8586 VIS3 routines.
559398ab
DM
8587
8588 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8589 New file.
8590
5a1c1e32
DM
8591 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8592
eae47a36
DM
8593 * sysdeps/sparc/configure.in: New file.
8594 * sysdeps/sparc/configure: Generate.
8595 * configure.in (libc_cv_sparc_as_vis3): Substitute.
8596 * configure: Regenerate.
8597 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
8598 * config.make.in (have-as-vis3): New.
8599 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
8600 available use -Av9d instead of -Av9a.
8601 * sysdeps/sparc/sparc64/Makefile: Likewise.
8602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
8603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
8604 New file.
8605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
8606 file.
8607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
8608 New file.
8609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
8610 file.
eae47a36
DM
8611 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
8612 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
8613 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
8614 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
8615 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
8616
c0c83bc8
DM
8617 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
8618 fzeros/fnegs to load 0x80000000 into a float register instead of
8619 using the stack.
7bd951ff
DM
8620 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
8621
bd951ccb
JM
86222012-03-14 Joseph Myers <joseph@codesourcery.com>
8623
8624 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8625 bits/syscall.h.
8626 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
8627 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
8628 ($(inst_includedir)/bits/syscall.h): Remove rule.
8629 ($(objpfx)bits/syscall.d): Include instead of
8630 $(objpfx)syscall-list.d.
8631 (generated): Change syscall-list.h and syscall-list.d to
8632 bits/syscall.h and bits/syscall.d.
8633
bb4e6db2
RM
86342012-03-14 Roland McGrath <roland@hack.frob.com>
8635
8636 [BZ #13846]
8637 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
8638
aa4a2ae1
JM
86392012-03-14 Joseph Myers <joseph@codesourcery.com>
8640
e456826d
JM
8641 [BZ #13841]
8642 * math/s_csqrt.c: Include <float.h>.
8643 (__csqrt): Scale large or subnormal inputs.
8644 * math/s_csqrtf.c: Likewise.
8645 * math/s_csqrtl.c: Likewise.
8646 * math/libm-test.inc (csqrt_test): Add more tests.
8647 * sysdeps/i386/fpu/libm-test-ulps: Update.
8648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8649
aa4a2ae1
JM
8650 [BZ #13840]
8651 * math/libm-test.inc (hypot_test): Add more tests.
8652
7c10fd35
DM
86532012-03-13 David S. Miller <davem@davemloft.net>
8654
8655 [BZ #13840]
8656 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
8657 double-precision for the calculation instead of scaling.
8658
f453b98b
JM
86592012-03-13 Joseph Myers <joseph@codesourcery.com>
8660
8661 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
8662 manipulate bits before adding and subtracting TWO52[sx].
8663 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
8664 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8665 Likewise.
8666 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
8667
09a3453f
DM
86682012-03-13 David S. Miller <davem@davemloft.net>
8669
8e59da90
DM
8670 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
8671 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
8672 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
8673 rtld-global-offsets.h
8674 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8675
2a8ab7f2
DM
8676 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
8677 large parameters.
8678
10f62770
DM
8679 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
8680
5f0bdb18
DM
8681 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
8682 'err' in the ifdef scope in which it is actually used.
8683
09a3453f
DM
8684 * nss/nss_db/db-init.c: Include string.h
8685
b4b2eb5e
DM
86862012-03-12 David S. Miller <davem@davemloft.net>
8687
98bb2f1c
DM
8688 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8689 masking out of the most significant byte of random value used.
8690 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8691 Fix coding style in previous change.
8692
b4b2eb5e
DM
8693 * sysdeps/unix/sysv/linux/kernel-features.h
8694 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
8695 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
8696 expression.
8697 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
8698 later.
8699
6e226b09
DM
87002012-03-11 David S. Miller <davem@davemloft.net>
8701
a1bcbd40
DM
8702 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8703 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
8704 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
8705 for 'resultvar' otherwise things get truncated on 64-bit.
8706
cb9d6174
DM
8707 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8708 Fix masking out of the most significant byte of random value used.
8709
6e226b09
DM
8710 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8711
058c132d
AS
87122012-03-10 Andreas Schwab <schwab@linux-m68k.org>
8713
8714 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8715
2d2cd515
DM
87162012-03-09 David S. Miller <davem@davemloft.net>
8717
8718 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
8719 variables with appropriate CPP guards.
8720 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
8721 frame pointer, not the stack pointer. Correct layout comments. Fix test
8722 on resulting framesize and the management of the outregs buffer for pltexit.
8723 Preserve floating point return values across _dl_call_pltexit call.
8724 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
8725 framesize and the management of the outregs buffer for pltexit.
8726 Preserve floating point return values across _dl_call_pltexit
8727 call.
8728 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
8729 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
8730 (print_exit): Fix format string for return register value.
8731
9a07f9d0
JM
87322012-03-10 Joseph Myers <joseph@codesourcery.com>
8733
8734 * sunrpc/Makefile (others): Add rpcgen.
8735 ($(objpfx)rpcgen): Remove special build rule and dependency on
8736 libc.
8737 * sunrpc/rpcgen.c: New file.
8738
547b5e30
PE
87392012-03-09 Paul Eggert <eggert@cs.ucla.edu>
8740
c524201a
PE
8741 [BZ #13673]
8742 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
8743 * stdio-common/bug-vfprintf-nargs.c: Likewise.
8744 * sysdeps/i386/crti.S: Likewise.
8745 * sysdeps/i386/crtn.S: Likewise.
8746 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
8747 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
8748 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
8749 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
8750 * sysdeps/sh/crti.S: Likewise.
8751 * sysdeps/sh/crtn.S: Likewise.
8752 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8753
7b6235f2
PE
8754 [BZ #13673]
8755 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
8756 with URL.
8757 * locale/programs/locfile-kw.gperf: Likewise.
8758 * locale/programs/charmap-kw.h: Regenerated.
8759 * locale/programs/locfile-kw.h: Likewise.
8760
547b5e30
PE
8761 [BZ #13673]
8762 * intl/plural.y: Replace FSF snail mail address with URL.
8763 * intl/plural.c: Regenerated.
8764
5f0a5dae
RH
87652012-03-09 Richard Henderson <rth@twiddle.net>
8766
8767 * include/math_private.h: Remove file.
8768 * math/math_private.h: Move file ...
8769 * sysdeps/generic/math_private.h: ... here.
8770
b8c03620
RH
8771 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
8772 * sysdeps/powerpc/fpu/math_private.h: Likewise.
8773 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8774
4e234f5d 8775 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
8776 and <math_private.h>.
8777 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8778 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8779 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8780 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8781 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8782 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
8783 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8784 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8785 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8786 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8787 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8788 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8789 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8790 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8791 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8792 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8793 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8794 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8795 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8796 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8797 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8798 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8799 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8800 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8801 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8802 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8803 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8804 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8805 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8806 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8807 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8808 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8809 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8810 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8811 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8812 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8813 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8814 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8815 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8816 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8817 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
8818 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8819 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8820 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8821 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8822 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8823 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8824 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8825 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8826 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8827 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8828 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8829 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8830 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8831 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8832 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8833 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8834 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8835 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8836 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
8837 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8838 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8839 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8840 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8841 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8842 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8843 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8844 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8845 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
8846 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
8847 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8848 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8849 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8850 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8851 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
8852 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8853 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
8854 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8855 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
8856 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8857 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8858 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8859 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8860 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8861 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8862 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8863 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
8864 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8865 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8866 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8867 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8868 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8869 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8870 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8871 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8872 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8873 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8874 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8875 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8876 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8877 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8878 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8879 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8880 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8881 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8882 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8883 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8884 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8885 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8886 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8887 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8888 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8889 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8890 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8891 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8892 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8893 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8894 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8895 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8896 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8897 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8898 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8899 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8900 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
8901 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8902 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8903 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8904 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
8905 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8906 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8907 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8908 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8909 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8910 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8911 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8912 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8913 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8914 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8915 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
8916 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8917 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8918 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8919 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8920 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
8921 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
8922 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8923 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8924 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8925 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8926 * sysdeps/ieee754/k_standard.c: Likewise.
8927 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8928 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8929 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8930 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8931 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8932 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8933 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8934 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8935 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8936 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8937 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8938 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8939 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8940 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8941 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8942 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8943 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8944 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8945 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8946 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8947 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8948 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8949 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8950 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8951 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8952 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8953 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8954 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8955 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8956 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8957 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8958 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8959 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8960 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8961 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8962 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8963 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8964 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
8965 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8966 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8967 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8968 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8969 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8970 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8971 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8972 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8973 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8974 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8975 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8976 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8977 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8978 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8979 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8980 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8981 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8982 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8983 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
8984 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8985 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8986 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8987 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8988 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8989 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8990 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8991 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8992 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8993 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8994 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8995 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8996 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8997 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8998 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8999 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9000 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9001 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9002 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9003 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
9004 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9005 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9006 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9007 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9008 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9009 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9010 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9011 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9012 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9013 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9014 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9015 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9016 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9017 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
9018 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9019 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9020 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9021 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9022 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9023 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
9024 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9025 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9026 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
9027 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9028 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9029 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9030 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9031 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
9032 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9033 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9034 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9035 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
9036 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9037 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9038 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9039 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9040 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9041 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9042 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9043 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9044 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9045 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9046 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9047 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9048 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9049 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9050 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9051 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9052 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9053 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9054 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9055 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9056 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9057 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9058 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9059 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9060 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9061 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9062 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9063 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
9064 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9065 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9066 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9067 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9068 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9069 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9070 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9071 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9072 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9073 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9074 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9075 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9076 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
9077 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9078 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9079 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9080 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9081 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
9082 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
9083 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9084 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9085 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9086 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9087 * sysdeps/ieee754/s_lib_version.c: Likewise.
9088 * sysdeps/ieee754/s_matherr.c: Likewise.
9089 * sysdeps/ieee754/s_signgam.c: Likewise.
9090 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9091 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9092 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9093 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9094 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9095 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9096 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
9097 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
9098 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
9099 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9100 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9101 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9102 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9103 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9104 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
9105 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9106 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9107 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9108 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9109 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9110 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 9111
1991fa03
JM
91122012-03-09 Joseph Myers <joseph@codesourcery.com>
9113
9114 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
9115 * sunrpc/rpc_main.c: Likewise.
9116 * sunrpc/rpc_svcout.c: Likewise.
9117
60d6f5a6
DM
91182012-03-09 David S. Miller <davem@davemloft.net>
9119
9120 * include/math_private.h: New file.
9121
4962050e
JM
91222012-03-09 Joseph Myers <joseph@codesourcery.com>
9123
02a6f887
JM
9124 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
9125 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
9126 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
9127 from <bits/socket_type.h>.
9128 (enum __socket_type): Don't define here.
9129 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
9130 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9131 bits/socket_type.h.
9132
c6e013c1
JM
9133 [BZ #13566]
9134 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
9135 checking __USE_GNU.
9136
4962050e
JM
9137 * Makerules ($(inst_includedir)/%.h): New rule.
9138 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
9139 (install-others): Remove variable setting.
9140 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
9141
38842f45
RH
91422012-03-08 Richard Henderson <rth@twiddle.net>
9143
67bb6da6
RH
9144 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
9145 from macro to inline function; merge with the
9146 !__LIBC_INTERNAL_MATH_INLINES version.
9147 (__ieee754_sqrtf): Likewise.
9148
15194b4b
RH
9149 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
9150 to inline function.
9151 (__rintf, __floor, __floorf): Likewise.
9152
64e21ede
RH
9153 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
9154 macro to inline function.
9155 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
9156
38842f45
RH
9157 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
9158 not <math/math_private.h>.
9159
c64bf5fe
DM
91602012-03-08 David S. Miller <davem@davemloft.net>
9161
9162 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
9163 copyright year.
9164 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9165
82d86f28
TS
91662012-03-08 Thomas Schwinge <thomas@codesourcery.com>
9167
9168 * resolv/gai_misc.c (handle_requests): Fix struct timespec
9169 normalization.
9170 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
9171 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9172
aea5d727
UD
91732012-03-08 Ulrich Drepper <drepper@gmail.com>
9174
9175 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
9176 be defined individually, they must be defined as a block. Define
9177 S for printing a string instead of hidint the different by using a
9178 macro for adding the 'l'.
9179 * stdio-common/tst-fphex-wide.c: Adjust.
9180
70bca0a3
MP
91812012-03-07 Marek Polacek <polacek@redhat.com>
9182
9183 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
9184
65b81130
MP
91852012-03-08 Marek Polacek <polacek@redhat.com>
9186
9187 [BZ #13806]
9188 * stdio-common/Makefile (tests): Add tst-fphex-wide.
9189 * stdio-common/tst-fphex.c: Define a few macros to make the
9190 test reusable. Use them.
9191 * stdio-common/tst-fphex-wide.c: New file.
9192
07037eeb
JM
91932012-03-08 Joseph Myers <joseph@codesourcery.com>
9194
a7a93d50
JM
9195 [BZ #6911]
9196 * manual/macros.texi (gnusystems): New macro.
9197 (nongnusystems): Likewise.
9198 (gnulinuxhurdsystems): Likewise.
9199 (gnuhurdsystems): Likewise..
9200 (gnulinuxsystems): Likewise.
9201 * manual/charset.texi: Use new macros or @theglibc{} to refer to
9202 variants of the GNU system, not "GNU system".
9203 * manual/conf.texi: Likewise.
9204 * manual/errno.texi: Likewise. Update example of errno macro
9205 expansion.
9206 * manual/filesys.texi: Likewise.
9207 (getumask): Document as specific to GNU/Hurd.
9208 * manual/install.texi: Likewise. Reword some references to
9209 GNU/Linux.
9210 * manual/intro.texi: Likewise.
9211 * manual/io.texi: Likewise.
9212 (File Name Portability): Detail which constraints are inapplicable
9213 to all GNU systems and which are only inapplicable to GNU/Hurd.
9214 * manual/job.texi: Likewise.
9215 * manual/llio.texi: Likewise.
9216 (O_NOCTTY): Document as present on GNU/Linux.
9217 * manual/maint.texi: Likewise.
9218 * manual/memory.texi: Likewise.
9219 * manual/pattern.texi: Likewise.
9220 * manual/pipe.texi: Likewise.
9221 * manual/process.texi: Likewise.
9222 * manual/resource.texi: Likewise.
9223 (RUSAGE_CHILDREN): Remove statement about specifying a particular
9224 child on GNU/Hurd.
9225 * manual/setjmp.texi: Likewise.
9226 * manual/signal.texi: Likewise.
9227 * manual/startup.texi: Likewise.
9228 * manual/stdio.texi: Likewise.
9229 * manual/terminal.texi: Likewise.
9230 (ONLCR): Document as POSIX.
9231 (OXTABS): Document availability on GNU/Linux as XTABS.
9232 (ONOEOT): Document availability separately from other bits.
9233 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
9234 * manual/time.texi: Likewise.
9235 * manual/users.texi: Likewise.
9236 * INSTALL: Regenerated.
9237 * sysdeps/gnu/errlist.c: Regenerated.
9238
07037eeb
JM
9239 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
9240 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
9241 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
9242 puts.
9243 * configure: Regenerated.
9244
d1d3431a
JM
92452012-03-07 Joseph Myers <joseph@codesourcery.com>
9246
af6a1e37
JM
9247 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
9248 default includes instead of AC_HEADER_CHECK.
9249 * sysdeps/i386/configure: Regenerated.
9250
d1d3431a
JM
9251 [BZ #10716]
9252 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
9253 * math/s_cacoshf.c (__cacoshf): Likewise.
9254 * math/s_cacoshl.c (__cacoshl): Likewise.
9255 * math/s_casinh.c (__casinh): Set signs of result from argument.
9256 * math/s_casinhf.c (__casinhf): Likewise.
9257 * math/s_casinhl.c (__casinhl): Likewise.
9258 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9259 (casinh_test): Add more tests.
9260 * sysdeps/i386/fpu/libm-test-ulps: Update.
9261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9262
482ff4da
UD
92632012-03-07 Ulrich Drepper <drepper@gmail.com>
9264
872fda05
UD
9265 * po/zh_TW.po: Update from translation team.
9266
a4300c7a
UD
9267 * login/Makefile (distribute): Remove variable.
9268 * catgets/Makefile: Likewise.
9269 * mach/Makefile: Likewise.
9270 * malloc/Makefile: Likewise.
9271 * misc/Makefile: Likewise.
9272 * iconv/Makefile: Likewise.
9273 * nscd/Makefile: Likewise.
9274 * hurd/Makefile: Likewise.
9275 * manual/Makefile: Likewise.
9276 * locale/Makefile: Likewise.
9277 * intl/Makefile: Likewise.
9278 * conform/Makefile: Likewise.
9279 * nss/Makefile: Likewise.
9280 * time/Makefile: Likewise.
9281 * soft-fp/Makefile: Likewise.
9282 * dirent/Makefile: Likewise.
9283 * gmon/Makefile: Likewise.
9284 * po/Makefile: Likewise.
9285 * rt/Makefile: Likewise.
9286 * socket/Makefile: Likewise.
9287 * math/Makefile: Likewise.
9288 * signal/Makefile: Likewise.
9289 * debug/Makefile: Likewise.
9290 * elf/Makefile: Likewise.
9291 * timezone/Makefile: Likewise.
9292 * stdlib/Makefile: Likewise.
9293 * iconvdata/Makefile: Likewise.
9294 * sunrpc/Makefile: Likewise.
9295 * io/Makefile: Likewise.
9296 * argp/Makefile: Likewise.
9297 * inet/Makefile: Likewise.
9298 * hesiod/Makefile: Likewise.
9299 * grp/Makefile: Likewise.
9300 * csu/Makefile: Likewise.
9301 * wctype/Makefile: Likewise.
9302 * crypt/Makefile: Likewise.
9303 * libio/Makefile: Likewise.
9304 * string/Makefile: Likewise.
9305 * nis/Makefile: Likewise.
9306 * resolv/Makefile: Likewise.
9307 * stdio-common/Makefile: Likewise.
9308 * wcsmbs/Makefile: Likewise.
9309 * dlfcn/Makefile: Likewise.
9310 * posix/Makefile: Likewise.
9311
3b7c4e74 9312 [BZ #6959]
482ff4da
UD
9313 * timezone/Makefile: Don't install timezone files, just the programs
9314 and scripts.
9315
f72ed77d
UD
93162012-03-06 Ulrich Drepper <drepper@gmail.com>
9317
a000466f
UD
9318 * nss/databases.def: Add missing gshadow entry.
9319
f72ed77d
UD
9320 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
9321
a53b7a4e
MP
93222012-03-06 Marek Polacek <polacek@redhat.com>
9323
9324 [BZ #13726]
9325 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9326 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9327 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9328 * stdio-common/tst-long-dbl-fphex.c: New file.
9329
e9258400
DM
93302012-03-06 David S. Miller <davem@davemloft.net>
9331
9332 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9333 (set_obp_int): New function.
9334 (get_obp_int): New function.
9335 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
9336 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9337 Avoid unused variable warnings on 'val' and use builtin_expect.
9338 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9339 __builtin_expect.
e9258400
DM
9340 (INLINE_CLONE_SYSCALL): Likewise.
9341
3bd2c723
DM
93422012-03-05 David S. Miller <davem@davemloft.net>
9343
9344 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9345
bbb78d03
AS
93462012-03-05 Andreas Schwab <schwab@linux-m68k.org>
9347
884c5db4
AS
9348 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9349
bbb78d03
AS
9350 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
9351 only for |x| >= 40.
9352 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9353
1c9f702a 93542012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
9355
9356 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
9357 Replace gettimeofday with __vdso_gettimeofday.
9358
7be16f82
RM
9359 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9360 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
9361 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
9362
9363 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
9364 time with __vdso_time.
9365
ed58a00f
JM
93662012-03-05 Joseph Myers <joseph@codesourcery.com>
9367
9368 * manual/lang.texi (size_t): Note types to which size_t may be
9369 equivalent with the GNU C Library, but do not describe when
9370 differences between them are significant.
9371
30ee4ced
AJ
93722012-03-05 Andreas Jaeger <aj@suse.de>
9373
9374 * sysdeps/i386/fpu/libm-test-ulps: Update.
9375
b7cd39e8
JM
93762012-03-05 Joseph Myers <joseph@codesourcery.com>
9377
9378 [BZ #3976]
9379 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
9380 (__ieee754_pow): Save and restore rounding mode and use
9381 round-to-nearest for main computations.
9382 * math/libm-test.inc (pow_test_tonearest): New function.
9383 (pow_test_towardzero): Likewise.
9384 (pow_test_downward): Likewise.
9385 (pow_test_upward): Likewise.
9386 (main): Call the new functions.
9387 * sysdeps/i386/fpu/libm-test-ulps: Update.
9388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
9389
9390 [BZ #3976]
9391 * math/libm-test.inc (cosh_test_tonearest): New function.
9392 (cosh_test_towardzero): Likewise.
9393 (cosh_test_downward): Likewise.
9394 (cosh_test_upward): Likewise.
9395 (sinh_test_tonearest): Likewise.
9396 (sinh_test_towardzero): Likewise.
9397 (sinh_test_downward): Likewise.
9398 (sinh_test_upward): Likewise.
9399 (main): Call the new functions.
9400 * sysdeps/i386/fpu/libm-test-ulps: Update.
9401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9402
6c6a98c9
TV
94032012-03-05 Tom de Vries <tom@codesourcery.com>
9404
9405 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
9406 default stack guard is set in last bytes.
9407 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
9408
21bb2d2e 94092012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 9410
21bb2d2e 9411 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 9412
21bb2d2e
AJ
9413 [BZ #13656]
9414 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
9415 possibly allocate from heap instead of stack.
9416 * stdio-common/bug-vfprintf-nargs.c: New file.
9417 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 9418
c6922934
AS
94192012-03-03 Andreas Schwab <schwab@linux-m68k.org>
9420
9421 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9422
bc957d53
MP
94232012-03-03 Marek Polacek <polacek@redhat.com>
9424
9425 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
9426 * math/math_private.h: Likewise.
9427 * stdlib/tst-strtod.c: Likewise.
9428 * sysdeps/i386/i486/bits/atomic.h: Likewise.
9429 * sysdeps/x86_64/bits/atomic.h: Likewise.
9430
6358490d
DM
94312012-03-02 David S. Miller <davem@davemloft.net>
9432
9433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
9434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
9435 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
9436 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
9437 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
9438 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
9439 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
9440 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
9441
01ae168d
RM
94422012-03-02 Roland McGrath <roland@hack.frob.com>
9443
d9a17c07
RM
9444 [BZ #13792]
9445 * manual/examples/README: New file, says the example source files
9446 can be used under GPL>=2.
9447 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
9448 line containing just "*/".
9449 * manual/examples/add.c: Add copyright header (GPL>=2).
9450 * manual/examples/argp-ex1.c: Likewise.
9451 * manual/examples/argp-ex2.c: Likewise.
9452 * manual/examples/argp-ex3.c: Likewise.
9453 * manual/examples/argp-ex4.c: Likewise.
9454 * manual/examples/atexit.c: Likewise.
9455 * manual/examples/db.c: Likewise.
9456 * manual/examples/dir.c: Likewise.
9457 * manual/examples/dir2.c: Likewise.
9458 * manual/examples/execinfo.c: Likewise.
9459 * manual/examples/filecli.c: Likewise.
9460 * manual/examples/filesrv.c: Likewise.
9461 * manual/examples/fmtmsgexpl.c: Likewise.
9462 * manual/examples/genpass.c: Likewise.
9463 * manual/examples/inetcli.c: Likewise.
9464 * manual/examples/inetsrv.c: Likewise.
9465 * manual/examples/isockad.c: Likewise.
9466 * manual/examples/longopt.c: Likewise.
9467 * manual/examples/memopen.c: Likewise.
9468 * manual/examples/memstrm.c: Likewise.
9469 * manual/examples/mkfsock.c: Likewise.
9470 * manual/examples/mkisock.c: Likewise.
9471 * manual/examples/mygetpass.c: Likewise.
9472 * manual/examples/pipe.c: Likewise.
9473 * manual/examples/popen.c: Likewise.
9474 * manual/examples/rprintf.c: Likewise.
9475 * manual/examples/search.c: Likewise.
9476 * manual/examples/select.c: Likewise.
9477 * manual/examples/setjmp.c: Likewise.
9478 * manual/examples/sigh1.c: Likewise.
9479 * manual/examples/sigusr.c: Likewise.
9480 * manual/examples/stpcpy.c: Likewise.
9481 * manual/examples/strdupa.c: Likewise.
9482 * manual/examples/strftim.c: Likewise.
9483 * manual/examples/strncat.c: Likewise.
9484 * manual/examples/subopt.c: Likewise.
9485 * manual/examples/swapcontext.c: Likewise.
9486 * manual/examples/termios.c: Likewise.
9487 * manual/examples/testopt.c: Likewise.
9488 * manual/examples/testpass.c: Likewise.
9489 * manual/examples/timeval_subtract.c: Likewise.
9490
01ae168d
RM
9491 [BZ #13792]
9492 * manual/time.texi (Elapsed Time): Move timeval_subtract example
9493 function to ...
9494 * manual/timeval_subtract.c.texi: ... here, new file.
9495
49efa33d
DM
94962012-03-02 David S. Miller <davem@davemloft.net>
9497
9498 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
9499
28afd92d
JM
95002012-03-02 Joseph Myers <joseph@codesourcery.com>
9501
804360ed
JM
9502 [BZ #3976]
9503 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
9504 (__sin): Save and restore rounding mode and use round-to-nearest
9505 for all computations.
9506 (__cos): Save and restore rounding mode and use round-to-nearest
9507 for all computations.
9508 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
9509 <fenv.h>.
9510 (tan): Save and restore rounding mode and use round-to-nearest for
9511 all computations.
9512 * math/libm-test.inc (cos_test_tonearest): New function.
9513 (cos_test_towardzero): Likewise.
9514 (cos_test_downward): Likewise.
9515 (cos_test_upward): Likewise.
9516 (sin_test_tonearest): Likewise.
9517 (sin_test_towardzero): Likewise.
9518 (sin_test_downward): Likewise.
9519 (sin_test_upward): Likewise.
9520 (tan_test_tonearest): Likewise.
9521 (tan_test_towardzero): Likewise.
9522 (tan_test_downward): Likewise.
9523 (tan_test_upward): Likewise.
9524 (main): Call the new functions.
9525 * sysdeps/i386/fpu/libm-test-ulps: Update.
9526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9527
a6d06d7b
JM
9528 [BZ #10135]
9529 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
9530 small n, then large n, before computing and testing k+n.
9531 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9532 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9533 Likewise.
9534 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9535 Likewise.
9536 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
9537 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9538 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9539 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9540 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9541 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9542 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9543 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
9544 * math/libm-test.inc (scalbn_test): Add more tests.
9545 (scalbln_test): Likewise.
9546
07e12bb3
JM
9547 * manual/filesys.texi (mode_t): Describe constraints on size and
9548 signedness, not exact equivalence to a particular type.
9549 (ino_t): Likewise.
9550 (ino64_t): Likewise.
9551 (dev_t): Likewise.
9552 (nlink_t): Likewise.
9553 (blkcnt_t): Likewise.
9554 (blkcnt64_t): Likewise.
9555 * manual/llio.texi (off_t): Likewise.
9556
28afd92d
JM
9557 [BZ #3976]
9558 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
9559 (__ieee754_exp): Save and restore rounding mode and use
9560 round-to-nearest for all computations.
9561 * math/libm-test.inc (exp_test_tonearest): New function.
9562 (exp_test_towardzero): Likewise.
9563 (exp_test_downward): Likewise.
9564 (exp_test_upward): Likewise.
9565 (main): Call the new functions.
9566 * sysdeps/i386/fpu/libm-test-ulps: Update.
9567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9568
b1eeb65d
CD
95692012-03-01 Chris Demetriou <cgd@google.com>
9570
9571 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
9572 have predictable order.
9573
53362a4b
DM
95742012-03-01 David S. Miller <davem@davemloft.net>
9575
3c969083
DM
9576 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
9577
759707de
DM
9578 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
9579 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
9580 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
9581 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
9582
dfdb8ff2
DM
9583 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
9584 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
9585 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
9586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
9587 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
9588 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
9589 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
9590 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
9591 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
9592
ead89f96
DM
9593 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9594
7f66bd07
DM
9595 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
9596 * sysdeps/sparc/fpu/libm-test-ulps: to here.
9597 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
9598
53362a4b
DM
9599 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
9600 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9601 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9602 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9603 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9604 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9605 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9606 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9607 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9608 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9609 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9610 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9611 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9612 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9613 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9614 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9615 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
9616 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
9617 * sysdeps/sparc/elf/configure: Regenerated.
9618
7b1902cb
JM
96192012-03-01 Joseph Myers <joseph@codesourcery.com>
9620
bec039bc
JM
9621 * configure.in (AS, LD): Require binutils 2.20 or later.
9622 * configure: Regenerated.
9623 * manual/install.texi (Tools for Compilation): Give binutils 2.20
9624 as required minimum version.
9625 * INSTALL: Regenerated.
9626
7b1902cb
JM
9627 [BZ #2541]
9628 [BZ #4108]
9629 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
9630 before squaring exponent.
9631 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
9632 bottom long double and 27 bits of top long double before squaring
9633 exponent.
9634 * math/libm-test.inc (erfc_test): Add more tests.
9635 * sysdeps/i386/fpu/libm-test-ulps: Update.
9636 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9638
f775c276
KT
96392012-03-01 Kai Tietz <ktietz@redhat.com>
9640
9641 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
9642 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
9643 containing bit-fields.
9644 * soft-fp/extended.h (_FP_UNION_E): Likewise.
9645 * soft-fp/single.h (_FP_UNION_S): Likewise.
9646 * soft-fp/double.h (_FP_UNION_D): Likewise.
9647
5b8a4d4a
JM
96482012-02-29 Joseph Myers <joseph@codesourcery.com>
9649
0bab47b6
JM
9650 [BZ #13786]
9651 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
9652 not include ../strcmp.S.
9653 [USE_AS_STRNCASECMP_L]: Likewise.
9654 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
9655 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
9656 * sysdeps/i386/i686/multiarch/strncase_l-c.c
9657 (__strncasecmp_l_ia32): Define as alias to
9658 __strncasecmp_l_nonascii.
9659
0fcad3e2
JM
9660 [BZ #5794]
9661 * math/libm-test.inc (expm1_test): Add test for bug 5794.
9662 * sysdeps/i386/fpu/libm-test-ulps: Update.
9663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9664
5b8a4d4a
JM
9665 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
9666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9667
8fdceb2e
JL
96682012-02-29 Jeff Law <law@redhat.com>
9669
9670 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
9671 out of bounds read.
9672
1f393a11
MP
96732012-02-29 Marek Polacek <polacek@redhat.com>
9674
9675 [BZ #13706]
9676 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
9677 * elf/Makefile: Add rules to run tst-unused-dep.out.
9678
8847f037
DM
96792012-02-28 David S. Miller <davem@davemloft.net>
9680
9681 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
9682 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
9683 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
9684 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
9685 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
9686 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
9687
169d7f11
JM
96882012-02-29 Joseph Myers <joseph@codesourcery.com>
9689
9690 * math/libm-test.inc (llround_test): Move one test from
9691 lround_test. Use TEST_f_L in moved test.
9692 (lround_test): Move misplaced test to llround_test. Add testcase
9693 from bug 2561.
9694
39adf059
UD
96952012-02-28 Ulrich Drepper <drepper@gmail.com>
9696
9697 * sysdeps/x86_64/fpu/e_expf.S: New file.
9698 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
9699
71b5d1c5
SB
97002012-02-28 Stanislav Brabec <sbrabec@suse.cz>
9701
9702 [BZ #13637]
9703 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
9704 of remain_len that may cause incomplete multi-byte character and
9705 false match.
9706 * posix/bug-regex33.c: New file.
9707 * posix/Makefile (tests): Add bug-regex33.
9708
1f77f049
JM
97092012-02-28 Joseph Myers <joseph@codesourcery.com>
9710
9711 * manual/macros.texi: New file.
9712 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
9713 * manual/libc.texinfo: Include macros.texi.
9714 * manual/creatute.texi: Likewise.
9715 * manual/install.texi: Likewise.
9716 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
9717 @glibcadj{} in references to the GNU C Library.
9718 * manual/charset.texi: Likewise.
9719 * manual/conf.texi: Likewise.
9720 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
9721 when not using those macros.
9722 * manual/creature.texi: Likewise.
9723 * manual/crypt.texi: Likewise.
9724 * manual/errno.texi: Likewise.
9725 * manual/filesys.texi: Likewise.
9726 * manual/header.texi: Likewise.
9727 * manual/install.texi: Likewise.
9728 * manual/intro.texi: Likewise.
9729 * manual/io.texi: Likewise.
9730 * manual/job.texi: Likewise.
9731 * manual/lang.texi: Likewise.
9732 * manual/libc.texiinfo: Likewise.
9733 * manual/llio.texi: Likewise.
9734 * manual/locale.texi: Likewise.
9735 * manual/maint.texi: Likewise.
9736 * manual/math.texi: Likewise.
9737 * manual/memory.texi: Likewise.
9738 * manual/message.texi: Likewise.
9739 * manual/nss.texi: Likewise.
9740 * manual/pattern.texi: Likewise.
9741 * manual/process.texi: Likewise.
9742 * manual/resource.texi: Likewise.
9743 * manual/search.texi: Likewise.
9744 * manual/setjmp.texi: Likewise.
9745 * manual/signal.texi: Likewise.
9746 * manual/socket.texi: Likewise.
9747 * manual/startup.texi: Likewise.
9748 * manual/stdio.texi: Likewise.
9749 * manual/string.texi: Likewise.
9750 * manual/sysinfo.texi: Likewise.
9751 * manual/syslog.texi: Likewise.
9752 * manual/terminal.texi: Likewise.
9753 * manual/time.texi: Likewise.
9754 * manual/users.texi: Likewise.
9755 * INSTALL: Regenerated.
9756 * NOTES: Regenerated.
d40c5d54 9757 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 9758
450bf206
AS
97592012-02-28 Andreas Schwab <schwab@linux-m68k.org>
9760
9761 * include/dirent.h: Include <dirstream.h> before
9762 <dirent/dirent.h>.
9763
741a235b
DM
97642012-02-28 David S. Miller <davem@davemloft.net>
9765
9766 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
9767 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
9768 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
9769 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
9770
d6b5aa58
DM
97712012-02-27 David S. Miller <davem@davemloft.net>
9772
1aff59a3
DM
9773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
9774 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
9775 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
9776 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
9777
d6b5aa58
DM
9778 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
9779 frame pointer instead of stack pointer relative arg slot.
9780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9781 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9782 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9783
433f48bf
CD
97842012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
9785
9786 [BZ #3992]
9787 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
9788
d674b76d
DM
97892012-02-27 David S. Miller <davem@davemloft.net>
9790
9791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
9792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9794 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
9795 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9796 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9797 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
9798 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
9799
0e7727f7
JM
98002012-02-27 Joseph Myers <joseph@codesourcery.com>
9801
9802 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
9803 later. Allow versions 5-9.
43be4ca2 9804 * configure: Regenerated.
0e7727f7
JM
9805 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
9806 required minimum version and 4.6 as recommended version. Do not
9807 mention bugs in GCC 2.7 and 2.8.
43be4ca2 9808 * INSTALL: Regenerated.
0e7727f7 9809
a78bc654
DM
98102012-02-27 David S. Miller <davem@davemloft.net>
9811
428d5830
DM
9812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
9813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
9814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
9815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
9816 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
9817 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
9818 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
9819 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
9820
a78bc654
DM
9821 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
9822 manipulate bits before adding and subtracting TWO112[sx].
9823 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9824
4579f81c
RM
98252012-02-27 Roland McGrath <roland@hack.frob.com>
9826
36c8acb4
RM
9827 [BZ #13775]
9828 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
9829 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
9830 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
9831 being in POSIX, because they are in 1003.1-2008.
9832
84ad622b
RM
9833 * rt/tst-aio.c: Include <fcntl.h>.
9834 * rt/tst-aio7.c: Likewise.
9835 * rt/tst-aio64.c: Likewise.
9836
4579f81c
RM
9837 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
9838
abd923db
JM
98392012-02-27 Joseph Myers <joseph@codesourcery.com>
9840
9841 * manual/install.texi (--with-headers): Describe headers as
9842 interface headers, not private headers.
9843 (Specific advice for GNU/Linux systems): Describe use of headers
9844 from "make headers_install", not private headers from older
9845 kernels.
43be4ca2 9846 * INSTALL: Regenerated.
abd923db
JM
9847 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
9848 Change to 2.6.19.
9849 * sysdeps/unix/sysv/linux/configure: Regenerated.
9850
6664049b
JM
9851 * manual/llio.texi (fclean): Remove documentation.
9852
bb8b6697
JM
9853 * manual/Makefile (libc-texi-generated): New variable. Include
9854 version.texi.
9855 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
9856 $(libc-texi-generated), not duplicated list of files.
9857 (version.texi, stamp-version): New rules.
9858 (realclean): Remove $(libc-texi-generated), not individual files
9859 from that list. Do not remove dir-add.texinfo.
9860 * manual/libc.texinfo: Comment out uses of edition numbers and
9861 references to printed manual. Remove last-updated dates.
9862 (EDITION): Comment out.
9863 (ISBN): Likewise.
9864 (VERSION, UPDATED): Remove.
9865 (version.texi): Include.
9866
12e5c3b9
AS
98672012-02-27 Andreas Schwab <schwab@linux-m68k.org>
9868
9869 * sysdeps/posix/spawni.c: Include <signal.h>.
9870 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
9871 * sysdeps/pthread/aio_fsync.c: Likewise.
9872
4efeffc1 98732012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 9874
ba63ba08
UD
9875 * conform/Makefile (tests): Run only when not cross-compiling and
9876 when fast-check is not defined.
9877
d94a4670
UD
9878 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
9879 * conform/data/limits.h-data: Fixes for POSIX2008.
9880 * conform/run-conformtest.sh: Run all tests.
9881 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
9882 headers.
9883 * include/bits/dlfcn.h: Likewise.
9884 * include/langinfo.h: Likewise.
9885 * include/monetary.h: Likewise.
9886 * include/sys/poll.h: Likewise.
9887
9888 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
9889 for __USE_GNU.
9890 * posix/spawn.h: Define __need_sigset_t.
9891 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
9892 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
9893 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
9894 to get sigevent_t only.
9895 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
9896 only for __USE_GNU.
9897 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9898 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9899 process_vm_writev only for __USE_GNU.
9900 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
9901
9902 * conform/Makefile: For now ignore errors from run-conformtest.
9903 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
9904 POSIX to avoid namespace pollution. Don't prepend headers.
9905 * conform/data/aio.h-data: Fixes for POSIX testing.
9906 * conform/data/fcntl.h-data: Likewise.
9907 * conform/data/glob.h-data: Likewise.
9908 * conform/data/grp.h-data: Likewise.
9909 * conform/data/pthread.h-data: Likewise.
9910 * conform/data/pwd.h-data: Likewise.
9911 * conform/data/signal.h-data: Likewise.
9912 * conform/data/spawn.h-data: Likewise.
9913 * conform/data/stdio.h-data: Likewise.
9914 * conform/data/stdlib.h-data: Likewise.
9915 * conform/data/stropts.h-data: Likewise.
9916 * conform/data/sys/mman.h-data: Likewise.
9917 * conform/data/sys/stat.h-data: Likewise.
9918 * conform/data/sys/types.h-data: Likewise.
9919 * conform/data/sys/wait.h-data: Likewise.
9920 * conform/data/time.h-data: Likewise.
9921 * conform/data/unistd.h-data: Likewise.
9922 * conform/data/utime.h-data: Likewise.
9923
9924 * io/sys/stat.h: fchmod was always in POSIX.
9925 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
9926 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
9927 * rt/aio.h: Define __need_timespec before including <time.h>.
9928 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
9929 struct. Add forward declaration of pthread_attr_t and use it in
9930 sigevent.
9931 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9932 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9933 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
9934 always remove CLK_TCK definition.
9935
c20105c3
AS
99362012-02-26 Andreas Schwab <schwab@linux-m68k.org>
9937
9938 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
9939
7a270350
UD
99402012-02-25 Ulrich Drepper <drepper@gmail.com>
9941
31341567
UD
9942 * conform/run-conformtest.sh: New file.
9943 * conform/Makefile: Run run-conformtest for tests.
9944 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
9945 support.
9946
9947 * conform/data/uchar.h-data: New file.
9948 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
9949 * conform/data/arpa/inet.h-data: Likewise.
9950 * conform/data/assert.h-data: Likewise.
9951 * conform/data/complex.h-data: Likewise.
9952 * conform/data/cpio.h-data: Likewise.
9953 * conform/data/ctype.h-data: Likewise.
9954 * conform/data/dirent.h-data: Likewise.
9955 * conform/data/dlfcn.h-data: Likewise.
9956 * conform/data/errno.h-data: Likewise.
9957 * conform/data/fcntl.h-data: Likewise.
9958 * conform/data/float.h-data: Likewise.
9959 * conform/data/fmtmsg.h-data: Likewise.
9960 * conform/data/fnmatch.h-data: Likewise.
9961 * conform/data/ftw.h-data: Likewise.
9962 * conform/data/glob.h-data: Likewise.
9963 * conform/data/grp.h-data: Likewise.
9964 * conform/data/iconv.h-data: Likewise.
9965 * conform/data/inttypes.h-data: Likewise.
9966 * conform/data/langinfo.h-data: Likewise.
9967 * conform/data/libgen.h-data: Likewise.
9968 * conform/data/limits.h-data: Likewise.
9969 * conform/data/locale.h-data: Likewise.
9970 * conform/data/math.h-data: Likewise.
9971 * conform/data/monetary.h-data: Likewise.
9972 * conform/data/mqueue.h-data: Likewise.
9973 * conform/data/ndbm.h-data: Likewise.
9974 * conform/data/net/if.h-data: Likewise.
9975 * conform/data/netdb.h-data: Likewise.
9976 * conform/data/netinet/in.h-data: Likewise.
9977 * conform/data/nl_types.h-data: Likewise.
9978 * conform/data/poll.h-data: Likewise.
9979 * conform/data/pthread.h-data: Likewise.
9980 * conform/data/pwd.h-data: Likewise.
9981 * conform/data/regex.h-data: Likewise.
9982 * conform/data/sched.h-data: Likewise.
9983 * conform/data/search.h-data: Likewise.
9984 * conform/data/semaphore.h-data: Likewise.
9985 * conform/data/setjmp.h-data: Likewise.
9986 * conform/data/signal.h-data: Likewise.
9987 * conform/data/spawn.h-data: Likewise.
9988 * conform/data/stdarg.h-data: Likewise.
9989 * conform/data/stdio.h-data: Likewise.
9990 * conform/data/stdlib.h-data: Likewise.
9991 * conform/data/string.h-data: Likewise.
9992 * conform/data/strings.h-data: Likewise.
9993 * conform/data/stropts.h-data: Likewise.
9994 * conform/data/sys/ipc.h-data: Likewise.
9995 * conform/data/sys/mman.h-data: Likewise.
9996 * conform/data/sys/msg.h-data: Likewise.
9997 * conform/data/sys/resource.h-data: Likewise.
9998 * conform/data/sys/select.h-data: Likewise.
9999 * conform/data/sys/sem.h-data: Likewise.
10000 * conform/data/sys/shm.h-data: Likewise.
10001 * conform/data/sys/socket.h-data: Likewise.
10002 * conform/data/sys/stat.h-data: Likewise.
10003 * conform/data/sys/statvfs.h-data: Likewise.
10004 * conform/data/sys/time.h-data: Likewise.
10005 * conform/data/sys/timeb.h-data: Likewise.
10006 * conform/data/sys/times.h-data: Likewise.
10007 * conform/data/sys/types.h-data: Likewise.
10008 * conform/data/sys/uio.h-data: Likewise.
10009 * conform/data/sys/un.h-data: Likewise.
10010 * conform/data/sys/utsname.h-data: Likewise.
10011 * conform/data/sys/wait.h-data: Likewise.
10012 * conform/data/syslog.h-data: Likewise.
10013 * conform/data/tar.h-data: Likewise.
10014 * conform/data/termios.h-data: Likewise.
10015 * conform/data/utime.h-data: Likewise.
10016 * conform/data/utmpx.h-data: Likewise.
10017 * conform/data/varargs.h-data: Likewise.
10018 * conform/data/wchar.h-data: Likewise.
10019 * conform/data/wctype.h-data: Likewise.
10020 * conform/data/wordexp.h-data: Likewise.
10021
10022 * include/stropts.h: New file.
10023 * include/uchar.h: New file.
10024 * include/aio.h: Changes to allow conformtest.pl to use the headers.
10025 * include/assert.h: Likewise.
10026 * include/ctype.h: Likewise.
10027 * include/dirent.h: Likewise.
10028 * include/dlfcn.h: Likewise.
10029 * include/fcntl.h: Likewise.
10030 * include/fnmatch.h: Likewise.
10031 * include/glob.h: Likewise.
10032 * include/grp.h: Likewise.
10033 * include/libio.h: Likewise.
10034 * include/locale.h: Likewise.
10035 * include/math.h: Likewise.
10036 * include/net/if.h: Likewise.
10037 * include/netdb.h: Likewise.
10038 * include/netinet/in.h: Likewise.
10039 * include/pthread.h: Likewise.
10040 * include/pwd.h: Likewise.
10041 * include/regex.h: Likewise.
10042 * include/sched.h: Likewise.
10043 * include/search.h: Likewise.
10044 * include/setjmp.h: Likewise.
10045 * include/signal.h: Likewise.
10046 * include/stdio.h: Likewise.
10047 * include/stdlib.h: Likewise.
10048 * include/string.h: Likewise.
10049 * include/sys/cdefs.h: Likewise.
10050 * include/sys/mman.h: Likewise.
10051 * include/sys/msg.h: Likewise.
10052 * include/sys/resource.h: Likewise.
10053 * include/sys/select.h: Likewise.
10054 * include/sys/socket.h: Likewise.
10055 * include/sys/stat.h: Likewise.
10056 * include/sys/statvfs.h: Likewise.
10057 * include/sys/time.h: Likewise.
10058 * include/sys/times.h: Likewise.
10059 * include/sys/uio.h: Likewise.
10060 * include/sys/utsname.h: Likewise.
10061 * include/sys/wait.h: Likewise.
10062 * include/termios.h: Likewise.
10063 * include/time.h: Likewise.
10064 * include/ulimit.h: Likewise.
10065 * include/unistd.h: Likewise.
10066 * include/utime.h: Likewise.
10067 * include/wchar.h: Likewise.
10068 * include/wctype.h: Likewise.
10069 * include/wordexp.h: Likewise.
10070
10071 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
10072
7a270350
UD
10073 * time/time.h: TIME_UTC must be a macro.
10074 Make timespec_get available for ISO C11 only as well.
10075
7724defc
UD
100762012-02-24 Ulrich Drepper <drepper@gmail.com>
10077
10078 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
10079 Reported by Peng Haitao <penght@cn.fujitsu.com>.
10080
6b1d1d46
JM
100812012-02-24 Joseph Myers <joseph@codesourcery.com>
10082
10083 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 10084
0f8bbd69
JM
100852012-02-24 Joseph Myers <joseph@codesourcery.com>
10086
10087 * manual/texinfo.tex: Update to version 2012-01-19.16.
10088
66ab80bc
JM
100892012-02-24 Joseph Myers <joseph@codesourcery.com>
10090
10091 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
10092
74981cc5
RM
100932012-02-24 Roland McGrath <roland@hack.frob.com>
10094
ee968201
RM
10095 [BZ #13738]
10096 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
10097 * manual/fdl-1.3.texi: New file.
10098 * manual/fdl-1.1.texi: File removed.
10099
74981cc5
RM
10100 [BZ #13738]
10101 * manual/libc.texinfo (FDL_VERSION): New @set.
10102 Use it for mention of FDL in cover text.
10103 (Documentation License): Use it in @include file name.
10104
7bb764bc
JM
101052012-02-22 Joseph Myers <joseph@codesourcery.com>
10106 Roland McGrath <roland@hack.frob.com>
10107
10108 [BZ #5461]
10109 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
10110 not LONG_LONG_MAX and LONG_LONG_MIN.
10111 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
10112 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
10113 name.
10114 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
10115
6cbeae47
JM
101162012-02-22 Joseph Myers <joseph@codesourcery.com>
10117
10118 [BZ #2547]
10119 [BZ #11365]
10120 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
10121 manipulate bits before adding and subtracting TWO23[sx].
10122 * math/libm-test.inc (nearbyint_test): Add more tests.
10123
fe45ce09
JM
101242012-02-22 Joseph Myers <joseph@codesourcery.com>
10125
10126 [BZ #2548]
10127 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
10128 bits before adding and subtracting TWO23[sx].
10129 * math/libm-test.inc (rint_test): Add more tests.
10130 (rint_test_tonearest): Likewise.
10131 (rint_test_towardzero): Likewise.
10132 (rint_test_downward): Likewise.
10133 (rint_test_upward: Likewise.
10134
ff3b3d82
JM
101352012-02-22 Joseph Myers <joseph@codesourcery.com>
10136
10137 [BZ #10110]
10138 * include/stdc-predef.h: New file. Extracted from features.h.
10139 * include/features.h: Include stdc-predef.h.
10140 * Makefile (headers): Add stdc-predef.h.
10141 * CONFORMANCE (Compiler limitations): Update.
10142
ef0aab35
JM
101432012-02-22 Joseph Myers <joseph@codesourcery.com>
10144
10145 * manual/libc.texinfo (VERSION, UPDATED): Revert.
10146
58639409
DM
101472012-02-21 David S. Miller <davem@davemloft.net>
10148
10149 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
10150 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10151
c0e70b25
DM
101522012-02-20 David S. Miller <davem@davemloft.net>
10153
10154 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
10155 using a normal save/restore sequence, rather than allocating a
10156 dummy stack frame just to store a frame pointer and restore.
10157 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10158
fb06851d
JM
101592012-02-21 Joseph Myers <joseph@codesourcery.com>
10160
10161 * manual/install.texi: Fix stray word in line-wrapped comment.
10162
7a8b71c3
DM
101632012-02-20 David S. Miller <davem@davemloft.net>
10164
d510c123
DM
10165 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
10166 both binutils and gcc support GOTDATA.
10167
0722d7c2
DM
10168 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
10169 "rd %pc" in the PIC register setup sequences.
10170
3d2b3019
DM
10171 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
10172 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10173 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10174 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10175 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10176 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10177 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10178 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10179 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
10180 (SYSCALL_ERROR_HANDLER): Likewise.
10181 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10182 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10183 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
10184 (SYSCALL_ERROR_HANDLER): Likewise.
10185
c80098a9
DM
10186 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
10187 (HAVE_GCC_GOTDATA): New.
10188 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
10189 relocation support in both binutils and gcc.
10190 * sysdeps/sparc/elf/configure: Regenerate.
10191
3a2545a0
DM
10192 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
10193 * sysdeps/sparc/sparc32/elf/configure: Delete.
10194 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
10195 * sysdeps/sparc/sparc64/elf/configure: Delete.
10196 * sysdeps/sparc/elf/configure.in: New file.
10197 * sysdeps/sparc/elf/configure: Generate.
10198
7a8b71c3
DM
10199 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
10200 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
10201 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10202 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
10203 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
10204
f1e86fca
JM
102052012-02-21 Joseph Myers <joseph@codesourcery.com>
10206
10207 * manual/install.texi: Do not mention specific glibc version
10208 numbers.
10209 * manual/libc.texinfo (VERSION, UPDATED): Update.
10210 (@copying): Use @copyright{} and range of years.
10211
0e7dfaef
JM
102122012-02-21 Joseph Myers <joseph@codesourcery.com>
10213
10214 [BZ #13695]
10215 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
10216 [crti.S not in sysdirs] (generated): Do not append.
10217 [crti.S not in sysdirs] (omit-deps): Likewise.
10218 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
10219 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
10220 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
10221 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
10222 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
10223 Likewise.
10224 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
10225 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
10226 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
10227 * csu/defs.awk: Remove file.
10228 * sysdeps/generic/initfini.c: Likewise.
10229 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
10230 variable.
10231 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
10232 Likewise.
10233
599af3ca
JM
102342012-02-20 Joseph Myers <joseph@codesourcery.com>
10235
10236 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
10237 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
10238 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
10239 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
10240 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10241 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
10242 <bits/epoll.h>.
10243 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
10244 (__EPOLL_PACKED): Define to empty if not defined by
10245 <bits/epoll.h>.
10246 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
10247 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10248 bits/epoll.h.
10249
0e499750
JM
102502012-02-20 Joseph Myers <joseph@codesourcery.com>
10251
10252 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
10253 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
10254 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10255 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10256 <bits/timerfd.h>.
10257 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10258 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10259 bits/timerfd.h.
10260
5ad91f6e
JM
102612012-02-20 Joseph Myers <joseph@codesourcery.com>
10262
10263 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10264 in C locale.
10265 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10266 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10267 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10269
06b99b02
AJ
102702012-02-20 Aurelien Jarno <aurelien@aurel32.net>
10271
10272 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10273 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10274
7638c0fd
AS
102752012-02-19 Andreas Schwab <schwab@linux-m68k.org>
10276
10277 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10278 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10279 defined.
10280 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10281 Likewise.
10282 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10283 entry for 2.16.
10284
92221550
AJ
102852012-02-19 Aurelien Jarno <aurelien@aurel32.net>
10286
10287 * math/w_acos.c: Use non-signaling floating-point comparisons.
10288 * math/w_acosf.c: Likewise.
10289 * math/w_acosh.c: Likewise.
10290 * math/w_acoshf.c: Likewise.
10291 * math/w_acoshl.c: Likewise.
10292 * math/w_acosl.c: Likewise.
10293 * math/w_asin.c: Likewise.
10294 * math/w_asinf.c: Likewise.
10295 * math/w_asinl.c: Likewise.
10296 * math/w_atanh.c: Likewise.
10297 * math/w_atanhf.c: Likewise.
10298 * math/w_atanhl.c: Likewise.
10299 * math/w_exp2.c: Likewise.
10300 * math/w_exp2f.c: Likewise.
10301 * math/w_exp2l.c: Likewise.
10302 * math/w_j0.c: Likewise.
10303 * math/w_j0f.c: Likewise.
10304 * math/w_j0l.c: Likewise.
10305 * math/w_j1.c: Likewise.
10306 * math/w_j1f.c: Likewise.
10307 * math/w_j1l.c: Likewise.
10308 * math/w_jn.c: Likewise.
10309 * math/w_jnf.c: Likewise.
10310 * math/w_log.c: Likewise.
10311 * math/w_log10.c: Likewise.
10312 * math/w_log10f.c: Likewise.
10313 * math/w_log10l.c: Likewise.
10314 * math/w_log2.c: Likewise.
10315 * math/w_log2f.c: Likewise.
10316 * math/w_log2l.c: Likewise.
10317 * math/w_logf.c: Likewise.
10318 * math/w_logl.c: Likewise.
10319 * math/w_sqrt.c: Likewise.
10320 * math/w_sqrtf.c: Likewise.
10321 * math/w_sqrtl.c: Likewise.
10322 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10323 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10324 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10325 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10326 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10327
ebaf36eb
JM
103282012-02-19 Joseph Myers <joseph@codesourcery.com>
10329
10330 [BZ #9739]
10331 * manual/string.texi (strnlen): Use correct parameter name in
10332 equivalent expression.
10333
71c254a6
JM
103342012-02-19 Joseph Myers <joseph@codesourcery.com>
10335
10336 [BZ #11174]
10337 * manual/users.texi (seteuid): Consistently use neweuid for
10338 argument name.
10339
16d2c631
JM
103402012-02-19 Joseph Myers <joseph@codesourcery.com>
10341
10342 [BZ #13704]
10343 * manual/nss.texi (Services in the NSS configuration): Correct
10344 list of services in example configuration file.
10345
cd837b09
NB
103462012-02-19 Nick Bowler <nbowler@draconx.ca>
10347
10348 [BZ #11322]
10349 * manual/arith.texi: Remove statements about negative zero
10350 behaving identically to zero.
10351
02c4bbad
JM
103522012-02-18 Joseph Myers <joseph@codesourcery.com>
10353
10354 [BZ #5993]
10355 * manual/install.texi: Do not document upgrading from libc5.
10356
366842e7
JM
103572012-02-18 Joseph Myers <joseph@codesourcery.com>
10358
10359 [BZ #4596]
10360 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
10361
dd54084d
DM
103622012-02-18 David S. Miller <davem@davemloft.net>
10363
10364 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
10365 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
10366 %o7 across the call.
10367 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
10368 instead.
10369 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
10370 SETUP_PIC_REG_LEAF.
10371 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10372 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
10373 * sysdeps/sparc/crtn.S: Likewise.
10374
2bcc53a3
UD
103752012-02-17 Ulrich Drepper <drepper@gmail.com>
10376
10377 * aout/Makefile: Remove.
10378
09c093b5
RK
103792012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
10380
10381 [BZ #13058]
10382 * manual/examples/argp-ex1.c (main): Format definition in GNU
10383 style.
10384 * manual/examples/argp-ex2.c (main): Likewise.
10385 * manual/examples/argp-ex3.c (main): Likewise.
10386 * manual/examples/argp-ex4.c (main): Likewise.
10387 * manual/examples/longopt.c (main): Use new-style prototype
10388 definition.
10389 * manual/examples/strncat.c (main): Specify return type and use
10390 (void) for arguments.
10391 * manual/examples/subopt.c (main): Use char **argv argument.
10392
2ee633a2
JM
103932012-02-17 Joseph Myers <joseph@codesourcery.com>
10394
10395 [BZ #5077]
10396 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
10397 rounding modes.
10398
0520adde
FB
103992012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
10400
10401 [BZ #6907]
10402 * manual/string.texi (strchr): Change when strchrnul is
10403 recommended.
10404
3f4081cd
DGM
104052012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
10406
10407 [BZ #174]
10408 * manual/locale.texi (setlocale): Document LOCPATH.
10409
d1b10e78
JM
104102012-02-17 Joseph Myers <joseph@codesourcery.com>
10411
10412 [BZ #10210]
10413 * manual/process.texi (execle): Move @dots{} before last argument.
10414
79c6869c
PB
104152012-02-17 Paul Bolle <pebolle@tiscali.nl>
10416
10417 [BZ #12047]
10418 * manual/charset.texi (Generic Charset Conversion): Fix typo
10419 (LC_TYPE -> LC_CTYPE).
10420
cc6e48bc
NB
104212012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
10422
10423 [BZ #5805]
10424 * manual/arith.texi (scalbn): Use @var{} on parameter names.
10425 (scalbnf): Likewise.
10426 (scalbnl): Likewise.
10427 (scalbln): Likewise.
10428 (scalblnf): Likewise.
10429 (scalblnl): Likewise.
10430 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
10431 (vwarnx): Likewise.
10432 (verr): Likewise.
10433 (verrx): Likewise.
10434 * manual/filesys.texi (telldir): Use braces around return type.
10435 * manual/llio.texi (mmap): Add space after comma.
10436 (mmap64): Likewise.
10437 * manual/math.texi (jn): Use @var{} on parameter names.
10438 (jnf): Likewise.
10439 (jnl): Likewise.
10440 (yn): Likewise.
10441 (ynf): Likewise.
10442 (ynl): Likewise.
10443 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
10444 line.
10445 * manual/resource.texi (ulimit): Use @dots{} instead of literal
10446 "...".
10447 (sched_get_priority_min): Remove semicolon on @deftypefun line.
10448 (sched_get_priority_max): Likewise.
10449 * manual/signal.texi (sigvec): Add space after comma.
10450 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
10451 names.
10452 (if_indextoname): Likewise.
10453 (if_freenameindex): Likewise.
10454 (sendto): Use ',' instead of '.' in prototype.
10455 * manual/startup.texi (syscall): Use @dots{} instead of literal
10456 "...".
10457 * manual/stdio.texi (__fpending): Separate initial words of
10458 paragraph from @deftypefun line.
10459 * manual/syslog.texi (syslog): Use @dots{} instead of literal
10460 "...".
10461 (vsyslog): Use @var{} on parameter names.
10462 * manual/terminal.texi (stty): Use @var{} on parameter names.
10463 * manual/users.texi (getutmp): Use @var{} on parameter names.
10464 (getutmpx): Likewise.
10465
5b23062f
JM
104662012-02-17 Joseph Myers <joseph@codesourcery.com>
10467
10468 [BZ #6884]
10469 * manual/stdio.texi (fopen): Fix typos in description of
10470 ",ccs=STRING".
10471
8dee4833
AJ
104722012-02-17 Aurelien Jarno <aurelien@aurel32.net>
10473
10474 [BZ #4026]
10475 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
10476 get clock_id definition.
10477
9078ce93
TS
104782012-02-17 Thomas Schwinge <thomas@schwinge.name>
10479
10480 [BZ #4822]
10481 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
10482 (madvise): Cast every argument to void on its own.
10483
3835c55f
JM
104842012-02-17 Joseph Myers <joseph@codesourcery.com>
10485
10486 [BZ #9902]
10487 * manual/startup.texi (Exit Status): Fix typo.
10488
35c47e37
JM
104892012-02-17 Joseph Myers <joseph@codesourcery.com>
10490
10491 [BZ #10140]
10492 * manual/examples/argp-ex1.c: Include <stdlib.h>.
10493 * manual/examples/argp-ex2.c: Likewise.
10494 * manual/examples/argp-ex3.c: Likewise.
10495
e3b69ca7
RH
104962012-02-16 Richard Henderson <rth@redhat.com>
10497
10498 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
10499 * sysdeps/s390/s390-32/initfini.c: Remove.
10500 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
10501 * sysdeps/s390/s390-64/initfini.c: Remove.
10502
df83af67
KK
105032012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10504
10505 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
10506 compiler output for sysdeps/generic/initfini.c.
10507 * sysdeps/sh/elf/initfini.c: Remove file.
10508
f63f3380
DM
105092012-02-16 David S. Miller <davem@davemloft.net>
10510
fb59b3a4
DM
10511 [BZ #11494]
10512 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
10513
f63f3380
DM
10514 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
10515 * sysdeps/sparc/crti.S: New file.
10516 * sysdeps/sparc/crtn.S: New file.
10517 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
10518 * sysdeps/sparc/sparc64/Makefile: Likewise.
10519
df6a4a4a
MF
105202012-02-15 Mike Frysinger <vapier@gentoo.org>
10521
6dd8f3dc 10522 [BZ #3335]
df6a4a4a
MF
10523 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
10524
1cac7236
RM
105252012-02-15 Roland McGrath <roland@hack.frob.com>
10526
d2c736f8
RM
10527 [BZ #4822]
10528 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
10529
1cac7236
RM
10530 * mach/devstream.c (cookie_io_functions_t): Macro removed.
10531 (write, read, close): Likewise.
10532 Patch by Aurelien Jarno <aurelien@aurel32.net>.
10533
8e475601
JM
105342012-02-15 Joseph Myers <joseph@codesourcery.com>
10535
10536 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
10537 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
10538 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
10539 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
10540 <bits/signalfd.h>.
10541 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
10542 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10543 bits/signalfd.h.
10544
ed656b40
MP
105452012-02-14 Marek Polacek <polacek@redhat.com>
10546
10547 * sysdeps/x86_64/crti.S: New file.
10548 * sysdeps/x86_64/crtn.S: New file.
10549 * sysdeps/x86_64/elf/initfini.c: Remove file.
10550
2a979d3a
JM
105512012-02-13 Joseph Myers <joseph@codesourcery.com>
10552
10553 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
10554 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
10555 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
10556 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
10557 <bits/inotify.h>.
10558 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
10559 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10560 bits/inotify.h.
10561
2a418ac3
JM
105622012-02-13 Joseph Myers <joseph@codesourcery.com>
10563
10564 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
10565 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
10566 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
10567 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
10568 <bits/eventfd.h>.
10569 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
10570 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10571 bits/eventfd.h.
10572
fb779be7
TS
105732012-02-10 Thomas Schwinge <thomas@codesourcery.com>
10574
e19e83c5
RM
10575 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
10576 __feraiseexcept instead of feraiseexcept.
7c35ffed 10577
fb779be7
TS
10578 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
10579 nanosleep invocations.
10580 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
10581 strings, and add error checking for a nanosleep invocations.
10582
59ba27a6
PE
105832012-02-09 Paul Eggert <eggert@cs.ucla.edu>
10584
10585 Replace FSF snail mail address with URLs, as per GNU coding standards.
10586 Most of the snail mail addresses were wrong anyway, and omitting
10587 them makes the source code easier to maintain. Almost all of the
10588 changes are to license notices and to locale LC_IDENTIFICATION
10589 addresses, except for this one:
10590 * manual/libc.texinfo: In "Published by", give the FSF's URL,
10591 not its snail mail address.
10592
57b957eb
RH
105932012-02-09 Richard Henderson <rth@twiddle.net>
10594
af850b1c
RH
10595 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
10596 of kernel-features.h.
10597
57b957eb
RH
10598 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
10599
6b73181a
MP
106002012-02-08 Marek Polacek <polacek@redhat.com>
10601
10602 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
10603 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
10604 * sysdeps/gnu/_G_config.h: Likewise.
10605 * sysdeps/generic/_G_config.h: Likewise.
10606
26ecc33a
AS
106072012-02-08 Andreas Schwab <schwab@linux-m68k.org>
10608
6c6dbc63
AS
10609 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
10610 tests.
10611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10612
e216c012
AS
10613 * sysdeps/powerpc/powerpc32/crti.S: New file.
10614 * sysdeps/powerpc/powerpc32/crtn.S: New file.
10615 * sysdeps/powerpc/powerpc64/crti.S: New file.
10616 * sysdeps/powerpc/powerpc64/crtn.S: New file.
10617
26ecc33a
AS
10618 * Makeconfig (have-initfini): Don't set.
10619 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
10620 * configure.in (nopic_initfini): Don't substitute.
10621 * config.h.in (HAVE_INITFINI): Don't #undef.
10622 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
10623 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
10624
3add8e13
JM
106252012-02-08 Joseph Myers <joseph@codesourcery.com>
10626
10627 Support crti.S and crtn.S provided directly by architectures.
10628 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
10629 [crti.S in sysdirs] (omit-deps): Likewise.
10630 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
10631 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
10632 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
10633 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
10634 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
10635 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
10636 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
10637 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
10638 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
10639 compiler output for sysdeps/generic/initfini.c.
10640 * sysdeps/i386/elf/Makefile: Remove file.
10641 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
10642
a22f12b4
MP
106432012-02-07 Marek Polacek <polacek@redhat.com>
10644
10645 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
10646 * sysdeps/gnu/_G_config.h: Likewise.
10647 * sysdeps/mach/hurd/_G_config.h: Likewise.
10648
148cf100
MP
106492012-02-07 Marek Polacek <polacek@redhat.com>
10650
10651 * math/Makefile (tests): Add tst-CMPLX2.
10652 * math/tst-CMPLX2.c: New file.
10653
cfdc0dd7
AS
106542012-02-07 Andreas Schwab <schwab@linux-m68k.org>
10655
84ba42c4
AS
10656 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10657
cfdc0dd7
AS
10658 * math/libm-test.inc (jn_test): Add missing L suffix.
10659
622c86f4
MP
106602012-02-06 Marek Polacek <polacek@redhat.com>
10661
10662 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
10663 * sysdeps/i386/fpu/e_powf.S: Likewise.
10664 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10665 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10666 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10667 * sysdeps/i386/fpu/e_pow.S: Likewise.
10668 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10669 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10670 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10671 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10672 * sysdeps/i386/fpu/e_log2.S: Likewise.
10673 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10674 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10675 * sysdeps/i386/fpu/e_powl.S: Likewise.
10676 * sysdeps/i386/fpu/s_log1p.S: Likewise.
10677 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10678 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10679 * sysdeps/i386/fpu/e_logl.S: Likewise.
10680 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10681 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
10682 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10683 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10684 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10685 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10686 * sysdeps/i386/fpu/e_log.S: Likewise.
10687 * sysdeps/i386/fpu/s_cexp.S: Likewise.
10688 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10689 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
10690 * sysdeps/i386/fpu/e_logf.S: Likewise.
10691 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10692 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10693 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
10694 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10695 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10696 * sysdeps/i386/fpu/e_log10.S: Likewise.
10697 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10698 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10699 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10700 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10701 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10702 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10703 * sysdeps/i386/asm-syntax.h: Likewise.
10704 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10705 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10706 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10707 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
10708 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
10709 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10710 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10711 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10712 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10713 * sysdeps/powerpc/sysdep.h: Likewise.
10714 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
10715 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10716
d4a54ac6
JM
107172012-02-06 Joseph Myers <joseph@codesourcery.com>
10718
10719 [BZ #411]
10720 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
10721
314054ea
JM
107222012-02-06 Joseph Myers <joseph@codesourcery.com>
10723
10724 * sysdeps/i386/sysdep.h: Include <features.h>.
10725 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
10726 version.
10727
d8e0ca50
JM
107282012-02-05 Joseph Myers <joseph@codesourcery.com>
10729
10730 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
10731 Define.
10732 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
10733 LOAD_PIC_REG_STR.
10734
b1da7dd9
JM
107352012-02-03 Joseph Myers <joseph@codesourcery.com>
10736
10737 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
10738 (SETUP_PIC_REG): Use GET_PC_THUNK.
10739 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
10740 macro.
10741
9a1d9254
JM
107422012-02-03 Joseph Myers <joseph@codesourcery.com>
10743
10744 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
10745 for non-PIC compilation.
10746 (SETUP_PIC_REG): Add .p2align directive.
10747 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
10748 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10749 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10750 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10751 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10752 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10753 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10754 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10755 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10756 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10757 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10758 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10759 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10760 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10761 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10762 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10763 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10764 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10765 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10766 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10767 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10768 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10769 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10770 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10771 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10772 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10773 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10774 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10775 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10776 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10777 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10778 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10779 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10780 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10781 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10782 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10783 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10784 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10785 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10786 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10787 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10788
65dc3b75
JM
107892012-02-03 Joseph Myers <joseph@codesourcery.com>
10790
10791 * math/tst-CMPLX.c: Include <stdio.h>.
10792
d55bf177
JM
107932012-01-31 Joseph Myers <joseph@codesourcery.com>
10794
10795 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
10796 float.
10797 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10798 * sysdeps/sparc/bits/mathdef.h: Likewise.
10799
69db4f8f
MP
108002012-01-31 Marek Polacek <polacek@redhat.com>
10801
10802 * libio/libio.h: Don't define _PARAMS.
10803 * locale/programs/config.h: Don't define PARAMS.
10804 * stdlib/strtol_l.c: Likewise.
10805 (__strtol_l): Remove PARAMS from the prototype.
10806
41b81892
UD
108072012-01-31 Ulrich Drepper <drepper@gmail.com>
10808
3b49edc0
UD
10809 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
10810 names. Just use the correct names. Remove unnecessary wrapper
10811 functions.
10812 * malloc/arena.c: Likewise.
10813 * malloc/hooks.c: Likewise.
10814
41b81892
UD
10815 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
10816 ARENA_TEST says not to. Simplify test for creation of a new arena.
10817 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
10818
27a25b6e
UD
108192012-01-30 Ulrich Drepper <drepper@gmail.com>
10820
10821 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
10822 into tail calls.
10823 (update_get_addr): New function.
10824 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
10825 GET_ADDR_MODULE parameter.
10826
c8a89e7d
JM
108272012-01-30 Joseph Myers <joseph@codesourcery.com>
10828
10829 * crypt/cert.c: Remove __STDC__ conditionals.
10830 * crypt/crypt-entry.c: Likewise.
10831 * crypt/crypt_util.c: Likewise.
10832 * libio/filedoalloc.c: Likewise.
10833 * libio/fileops.c: Likewise.
10834 * libio/genops.c: Likewise.
10835 * libio/iofclose.c: Likewise.
10836 * libio/iofdopen.c: Likewise.
10837 * libio/iofopen.c: Likewise.
10838 * libio/iofopen64.c: Likewise.
10839 * libio/iogetdelim.c: Likewise.
10840 * libio/iopopen.c: Likewise.
10841 * libio/obprintf.c: Likewise.
10842 * libio/oldfileops.c: Likewise.
10843 * libio/oldiofclose.c: Likewise.
10844 * libio/oldiofdopen.c: Likewise.
10845 * libio/oldiofopen.c: Likewise.
10846 * libio/oldiopopen.c: Likewise.
10847 * libio/wfiledoalloc.c: Likewise.
10848 * libio/wgenops.c: Likewise.
10849 * locale/programs/xmalloc.c: Likewise.
10850 * misc/syslog.c: Likewise.
10851 * stdio-common/xbug.c: Likewise.
10852 * string/memchr.c: Likewise.
10853 * string/memcmp.c: Likewise.
10854 * string/memrchr.c: Likewise.
10855 * string/rawmemchr.c: Likewise.
10856 * sysdeps/posix/getcwd.c: Likewise.
10857 * time/strftime_l.c: Likewise.
10858
3b100462
JM
108592012-01-30 Joseph Myers <joseph@codesourcery.com>
10860
10861 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
10862 * config.make.in (config-cflags-sse2avx): Define.
10863 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
10864 Fix typo.
10865
607998af
CM
108662012-01-29 Chris Metcalf <cmetcalf@tilera.com>
10867
10868 * scripts/config.guess: Update from upstream config git repository.
10869 * scripts/config.sub: Likewise.
10870
3601428f
CM
108712012-01-28 Chris Metcalf <cmetcalf@tilera.com>
10872
3ac8b282
CM
10873 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
10874 (EM_NUM): Update.
10875 (R_TILEPRO_*, R_TILEGX_*): New macros.
10876
e034841e
CM
10877 * scripts/firstversions.awk: Fix bug in version range handling.
10878
540d7568
CM
10879 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
10880
3601428f
CM
10881 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
10882
463de862
CM
10883 * include/sys/epoll.h: New file.
10884 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
10885 libc_hidden_def.
10886
73139a76
UD
108872012-01-28 Ulrich Drepper <drepper@gmail.com>
10888
96bc5b45
UD
10889 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
10890 Avoid unnecessary __WORDSIZE == 64 test.
10891 (fmaxf): Use VEX format if possible.
10892 (fmax): Likewise.
10893 (fminf): Likewise.
10894 (fmin): Likewise.
10895
56f6f6a2
UD
10896 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
10897 * math/math_private.h: Remove libc_fegetround* and
10898 libc_fesetround*.
10899 * sysdeps/i386/configure.in: Check for -msse2avx.
10900 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
10901 also if SSE2AVX is defined.
10902 Remove libc_fegetround* and libc_fesetround*.
10903 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
10904 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
10905 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
10906 of HAS_YMM_USABLE.
10907 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10908 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10909 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10910 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10911 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10912
73139a76
UD
10913 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
10914
d73f93a4
AZ
109152012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10916
10917 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
10918 size is not set.
10919 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10920
6ee65ed6
UD
109212012-01-27 Ulrich Drepper <drepper@gmail.com>
10922
10923 [BZ #13618]
10924 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
10925 relocation.
10926 * Makeconfig (libm): Define.
10927 * elf/Makefile: Add rules to build and run tst-relsort1.
10928 * elf/tst-relsort1.c: New file.
10929 * elf/tst-relsort1mod1.c: New file.
10930 * elf/tst-relsort1mod2.c: New file.
10931
8db21882
JM
109322012-01-27 Joseph Myers <joseph@codesourcery.com>
10933
10934 * math/s_ldexp.c: Remove __STDC__ conditionals.
10935 * math/s_ldexpf.c: Likewise.
10936 * math/s_ldexpl.c: Likewise.
10937 * math/s_nextafter.c: Likewise.
10938 * math/s_nexttowardf.c: Likewise.
10939 * math/s_significand.c: Likewise.
10940 * math/s_significandf.c: Likewise.
10941 * math/s_significandl.c: Likewise.
10942 * math/w_jnl.c: Likewise.
10943 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10944 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10945 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10946 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10947 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10948 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10949 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
10950 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10951 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10952 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10953 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10954 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10955 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10956 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10957 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10958 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10959 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10960 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10961 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10962 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10963 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10964 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10965 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10966 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10967 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10968 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10969 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10970 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10971 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10972 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10973 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10974 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10975 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10976 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10977 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10978 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10979 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10980 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10981 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10982 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10983 * sysdeps/ieee754/k_standard.c: Likewise.
10984 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10985 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10986 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10987 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10988 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10989 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10990 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10991 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10992 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10993 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10994 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10995 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10996 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10997 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10998 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10999 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11000 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11001 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11002 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11003 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11004 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11005 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11006 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11007 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11008 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11009 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11010 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11011 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11012 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11013 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11014 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11015 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11016 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11017 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11018 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11019 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11020 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11021 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11022 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11023 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11024 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11025 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11026 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11027 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11028 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11029 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11030 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11031 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11032 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11033 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11034 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11035 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11036 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11037 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11038 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11039 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11040 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11041 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11042 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11043 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11044 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11045 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11046 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11047 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11048 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11049 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11050 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11051 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11052 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11053 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11054 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11055 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11056 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11057 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11058 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11059 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11060 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11061 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11062 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11063 * sysdeps/ieee754/s_matherr.c: Likewise.
11064 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11065 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11066 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11067 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11068
965a54a4
JM
110692012-01-26 Joseph Myers <joseph@codesourcery.com>
11070
11071 * crypt/md5.h: Remove __STDC__ conditionals.
11072 * libio/libioP.h: Likewise.
11073 * locale/programs/config.h: Likewise.
11074 * sysdeps/generic/sysdep.h: Likewise.
11075 * sysdeps/i386/asm-syntax.h: Likewise.
11076 * sysdeps/s390/asm-syntax.h: Likewise.
11077 * sysdeps/unix/sysdep.h: Likewise.
11078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11080
7071ad79
JM
110812012-01-26 Joseph Myers <joseph@codesourcery.com>
11082
11083 * libio/libio.h: Remove __STDC__ conditionals.
11084 * malloc/obstack.h: Likewise.
11085 * math/complex.h: Likewise.
11086 * math/math.h: Likewise.
11087 * sysdeps/generic/_G_config.h: Likewise.
11088 * sysdeps/gnu/_G_config.h: Likewise.
11089 * sysdeps/mach/hurd/_G_config.h: Likewise.
11090 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11091 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11092 * sysdeps/sparc/bits/mathdef.h: Likewise.
11093
afc5ed09
UD
110942012-01-26 Ulrich Drepper <drepper@gmail.com>
11095
11096 [BZ #13583]
11097 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 11098 Clean up HAS_* macros.
afc5ed09 11099 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
11100 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
11101 possible.
11102 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
11103 HAS_AVX.
11104 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11105 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11106 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11107 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11108 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 11109
bdb6de1d
JM
111102012-01-25 Joseph Myers <joseph@codesourcery.com>
11111
11112 * elf/tst-unique3.cc (gets): Remove declaration.
11113 * elf/tst-unique3lib.cc (gets): Likewise.
11114 * elf/tst-unique3lib2.cc (gets): Likewise.
11115 * elf/tst-unique4.cc (gets): Likewise.
11116
b15549e6
UD
111172012-01-24 Ulrich Drepper <drepper@gmail.com>
11118
11119 * include/stdio.h: Add C++ protection. Add gets declarations and
11120 definitions.
11121 * debug/tst-chk1.c: Don't declare gets here.
11122 * stdio-common/tst-gets.c: Likewise.
11123
a037381f
JM
111242012-01-24 Joseph Myers <joseph@codesourcery.com>
11125
11126 * posix/glob: Remove directory.
11127
f1d4aa75
JM
111282012-01-24 Joseph Myers <joseph@codesourcery.com>
11129
11130 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
11131
81c0c964
PT
111322012-01-22 Pino Toscano <toscano.pino@tiscali.it>
11133
11134 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
11135 of the non-standard EPFNOSUPPORT.
11136
0ea698ae
ST
111372011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
11138
11139 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
11140 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
11141 ANYWHERE set to 1 only on KERN_NO_SPACE error.
11142
d220b117
UD
111432012-01-21 Ulrich Drepper <drepper@gmail.com>
11144
11145 * wcsmbs/uchar.h: Test __STDC_VERSION__.
11146
3e1aa84e
UD
111472012-01-20 Ulrich Drepper <drepper@gmail.com>
11148
11149 * nscd/aicache.c (addhstaiX): Do not cache negative results of
11150 transient errors.
11151 * nscd/grpcache.c (cache_addgr): Likewise.
11152 * nscd/hstcache.c (cache_addhst): Likewise.
11153 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11154 * nscd/pwdcache.c (cache_addpw): Likewise.
11155 * nscd/servicescache.c (cache_addserv): Likewise.
11156
400aa020
UD
111572012-01-16 Ulrich Drepper <drepper@gmail.com>
11158
d77e7869
UD
11159 * malloc/malloc.c: Various cleanups.
11160 * malloc/hooks.c: Likewise.
11161
400aa020
UD
11162 * stdlib/Makefile (tests): Add bug-fmtmsg1.
11163 * stdlib/bug-fmtmsg1.c: New file.
11164
11165 * stdlib/fmtmsg.c (init): Add missing unlock.
11166 Patch by Peng Haitao <penght@cn.fujitsu.com>.
11167
e0a309cf
MP
111682012-01-12 Marek Polacek <polacek@redhat.com>
11169
11170 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
11171 and _GNU_SOURCE.
11172
929d11c7
WS
111732012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11174
11175 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
11176 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
11177 macro to ensure uniqueness of label name.
11178 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11179 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11180
41d0e869
UD
111812012-01-11 Ulrich Drepper <drepper@gmail.com>
11182
0cc5ed3b
UD
11183 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
11184
41d0e869
UD
11185 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
11186 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11187 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11188 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
11189
a47a831a
UD
111902012-01-10 Ulrich Drepper <drepper@gmail.com>
11191
daa891c0
UD
11192 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
11193
11194 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
11195 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11196 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11197
e58ef0f2
UD
11198 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
11199
a47a831a 11200 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
11201 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11202 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 11203 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
11204
11205 * math/bits/math-finite.h: Add ldexp support.
11206
a0bfc9c7
MP
112072012-01-10 Marek Polacek <polacek@redhat.com>
11208
11209 * locale/programs/localedef.h (show_archive_content): Add noreturn
11210 attribute.
11211
d6e97a1d
UD
112122012-01-09 Ulrich Drepper <drepper@gmail.com>
11213
11214 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
11215
d5835c26
UD
112162012-01-08 Ulrich Drepper <drepper@gmail.com>
11217
e5f484c6
UD
11218 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
11219
d5835c26
UD
11220 * io/Makefile (headers): Add bits/poll2.h.
11221
d1f741e9
WS
112222011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
11223
11224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
11225 typo #include statement.
11226
ec09c1c4
UD
112272012-01-08 Ulrich Drepper <drepper@gmail.com>
11228
11229 * include/sys/cdefs.h: Define __attribute_alloc_size.
11230 * catgets/gencat.c: Add alloc_size attribute and apply consistently
11231 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
11232 * elf/pldd.c: Likewise.
11233 * iconv/iconv_charmap.c: Likewise.
11234 * iconv/iconvconfig.c: Likewise.
11235 * iconv/strtab.c: Likewise.
11236 * locale/programs/locale.c: Likewise.
11237 * locale/programs/localedef.h: Likewise.
11238 * locale/programs/simple-hash.c: Likewise.
11239 * nscd/nscd.h: Likewise.
11240 * nss/makedb.c: Likewise.
11241 * sysdeps/generic/ldconfig.h: Likewise.
11242 * locale/programs/localedef.c: Remove xmalloc prototype.
11243 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
11244
20b38e03
PP
112452012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11246
11247 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
11248 appropriate.
11249
a0da5fe1
UD
112502012-01-08 Ulrich Drepper <drepper@gmail.com>
11251
1d5a644a 11252 * math/Makefile (tests): Add tst-CMPLX.
669704fd 11253 * math/tst-CMPLX.c: New file.
1d5a644a 11254
8784a6db
UD
11255 * math/complex.h (CMPLXL): Fix typo.
11256
d9a216c0
UD
11257 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11258 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11259 GLIBC_2.16.
11260 * debug/tst-chk1.c: Add poll and ppoll tests.
11261 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11262 * include/sys/poll.h: Add hidden proto for ppoll.
11263 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11264 * sysdeps/mach/hurd/ppoll.c: Likewise.
11265 * io/ppoll.c: Likewise.
11266 * debug/poll_chk.c: New file.
11267 * debug/ppoll_chk.c: New file.
11268 * include/bits/poll2.h: New file.
11269 * io/bits/poll2.h: New file.
11270
ac097f5c
UD
11271 [BZ #1350]
11272 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11273
2119dcfa
UD
11274 * configure.in: static is always set to yes. Remove.
11275 * config.make.in: Don't set build-static.
11276 * Makeconfig: Remove use of build-static.
11277 * dlfcn/Makefile: Likewise.
11278 * elf/Makefile: Likewise.
11279 * math/Makefile: Likewise.
11280 * misc/Makefile: Likewise.
11281 * nptl/Makefile: Likewise.
11282 * sysdeps/mach/hurd/Makefile: Likewise.
11283
121766a9
UD
11284 * configure.in: PWD_P is not used anymore.
11285 * config.make.in: Remove PWD_P entry.
11286
51a1d39c 11287 * configure.in: Remove last remnants of RANLIB.
8720d066 11288 No need to check for signed size_t anymore.
215f4bdc
UD
11289 Don't set libc_commonpagesize and libc_relro_required here for Alpha
11290 and IA-64.
3857022a 11291 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
11292 * aclocal.m4: Likewise.
11293
d3ed7225
UD
11294 * wcsmbs/mbrtoc16.c: Implement using towc function.
11295 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11296 * wcsmbs/wcsmbsload.c: Likewise.
11297 * iconv/gconv_simple.c: Likewise.
11298 * iconv/gconv_int.h: Likewise.
11299 * iconv/gconv_builtin.h: Likewise.
11300 * iconv/iconv_prog.c: Remove CHAR16 handling.
11301
11302 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11303
11304 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11305
a0da5fe1
UD
11306 * configure.in: Remove --with-elf and --enable-bounded options.
11307 Dont set base_machine for ia64. More non-ELF conditions removed.
11308 Remove testing and setting of leading underscore information.
11309 * config.make.in (build-bounded): Set to no.
11310 * config.h.in: Remove NO_UNDERSCORES entry.
11311 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
11312 them.
11313 * csu/start.c: Remove !NO_UNDERSCORE code.
11314 * locale/localeinfo.h: Likewise.
11315 * sysdeps/generic/machine-gmon.h: Likewise.
11316 * sysdeps/generic/sysdep.h: Likewise.
11317 * sysdeps/i386/sysdep.h: Likewise.
11318 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11319 * sysdeps/mach/sysdep.h: Likewise.
11320 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11321 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11322 * sysdeps/sh/sysdep.h: Likewise.
11323 * sysdeps/sparc/sparc32/alloca.S: Likewise.
11324 * sysdeps/unix/i386/sysdep.S: Likewise.
11325 * sysdeps/unix/sparc/start.c: Likewise.
11326 * sysdeps/unix/sparc/sysdep.S: Likewise.
11327 * sysdeps/unix/sparc/sysdep.h: Likewise.
11328 * sysdeps/unix/start.c: Likewise.
11329 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11330 * sysdeps/x86_64/sysdep.h: Likewise.
11331
df78418a
UD
113322012-01-07 Ulrich Drepper <drepper@gmail.com>
11333
a784e502
UD
11334 [BZ #13553]
11335 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11336 for non-gcc.
11337 * argp/argp-fmtstream.h: Use const instead __const.
11338 * argp/argp.h: Likewise.
11339 * assert/assert.h: Likewise.
11340 * bits/fenv.h: Likewise.
11341 * bits/sched.h: Likewise.
11342 * bits/sigset.h: Likewise.
11343 * bits/sigthread.h: Likewise.
11344 * catgets/nl_types.h: Likewise.
11345 * conform/data/pthread.h-data: Likewise.
11346 * crypt/crypt-private.h: Likewise.
11347 * crypt/crypt.h: Likewise.
11348 * crypt/crypt_util.c: Likewise.
11349 * ctype/ctype.h: Likewise.
11350 * debug/execinfo.h: Likewise.
11351 * debug/mbsnrtowcs_chk.c: Likewise.
11352 * debug/mbsrtowcs_chk.c: Likewise.
11353 * debug/wcsnrtombs_chk.c: Likewise.
11354 * debug/wcsrtombs_chk.c: Likewise.
11355 * debug/wcstombs_chk.c: Likewise.
11356 * dirent/dirent.h: Likewise.
11357 * dlfcn/dlfcn.h: Likewise.
11358 * elf/neededtest4.c: Likewise.
11359 * grp/grp.h: Likewise.
11360 * gshadow/gshadow.h: Likewise.
11361 * iconv/gconv.h: Likewise.
11362 * iconv/gconv_int.h: Likewise.
11363 * iconv/gconv_simple.c: Likewise.
11364 * iconv/iconv.h: Likewise.
11365 * iconv/loop.c: Likewise.
11366 * iconv/skeleton.c: Likewise.
11367 * include/aio.h: Likewise.
11368 * include/aliases.h: Likewise.
11369 * include/argz.h: Likewise.
11370 * include/arpa/inet.h: Likewise.
11371 * include/assert.h: Likewise.
11372 * include/dirent.h: Likewise.
11373 * include/dlfcn.h: Likewise.
11374 * include/execinfo.h: Likewise.
11375 * include/fcntl.h: Likewise.
11376 * include/fenv.h: Likewise.
11377 * include/glob.h: Likewise.
11378 * include/grp.h: Likewise.
11379 * include/libintl.h: Likewise.
11380 * include/mntent.h: Likewise.
11381 * include/netdb.h: Likewise.
11382 * include/pwd.h: Likewise.
11383 * include/rpc/netdb.h: Likewise.
11384 * include/sched.h: Likewise.
11385 * include/search.h: Likewise.
11386 * include/shadow.h: Likewise.
11387 * include/signal.h: Likewise.
11388 * include/stdio.h: Likewise.
11389 * include/stdlib.h: Likewise.
11390 * include/string.h: Likewise.
11391 * include/sys/socket.h: Likewise.
11392 * include/sys/stat.h: Likewise.
11393 * include/sys/statfs.h: Likewise.
11394 * include/sys/statvfs.h: Likewise.
11395 * include/sys/syslog.h: Likewise.
11396 * include/sys/time.h: Likewise.
11397 * include/sys/uio.h: Likewise.
11398 * include/time.h: Likewise.
11399 * include/unistd.h: Likewise.
11400 * include/utmp.h: Likewise.
11401 * include/wchar.h: Likewise.
11402 * include/wctype.h: Likewise.
11403 * inet/aliases.h: Likewise.
11404 * inet/arpa/inet.h: Likewise.
11405 * inet/netinet/ether.h: Likewise.
11406 * inet/netinet/in.h: Likewise.
11407 * intl/libintl.h: Likewise.
11408 * io/bits/fcntl2.h: Likewise.
11409 * io/fcntl.h: Likewise.
11410 * io/ftw.h: Likewise.
11411 * io/sys/poll.h: Likewise.
11412 * io/sys/stat.h: Likewise.
11413 * io/sys/statfs.h: Likewise.
11414 * io/sys/statvfs.h: Likewise.
11415 * io/utime.h: Likewise.
11416 * libio/bits/stdio.h: Likewise.
11417 * libio/bits/stdio2.h: Likewise.
11418 * libio/libio.h: Likewise.
11419 * libio/libioP.h: Likewise.
11420 * libio/stdio.h: Likewise.
11421 * locale/lc-ctype.c: Likewise.
11422 * locale/locale.h: Likewise.
11423 * login/utmp.h: Likewise.
11424 * malloc/arena.c: Likewise.
11425 * malloc/malloc.c: Likewise.
11426 * malloc/malloc.h: Likewise.
11427 * malloc/mcheck.c: Likewise.
11428 * malloc/mtrace.c: Likewise.
11429 * math/bits/mathcalls.h: Likewise.
11430 * math/fenv.h: Likewise.
11431 * math/math_private.h: Likewise.
11432 * misc/bits/error.h: Likewise.
11433 * misc/bits/syslog.h: Likewise.
11434 * misc/err.h: Likewise.
11435 * misc/error.h: Likewise.
11436 * misc/fstab.h: Likewise.
11437 * misc/mntent.h: Likewise.
11438 * misc/regexp.h: Likewise.
11439 * misc/search.h: Likewise.
11440 * misc/sgtty.h: Likewise.
11441 * misc/sys/mman.h: Likewise.
11442 * misc/sys/syslog.h: Likewise.
11443 * misc/sys/uio.h: Likewise.
11444 * misc/sys/xattr.h: Likewise.
11445 * misc/ttyent.h: Likewise.
11446 * nis/rpcsvc/ypclnt.h: Likewise.
11447 * nss/nss.h: Likewise.
11448 * posix/bits/unistd.h: Likewise.
11449 * posix/fnmatch.h: Likewise.
11450 * posix/glob.h: Likewise.
11451 * posix/sched.h: Likewise.
11452 * posix/spawn.h: Likewise.
11453 * posix/sys/wait.h: Likewise.
11454 * posix/unistd.h: Likewise.
11455 * posix/wordexp.h: Likewise.
11456 * pwd/pwd.h: Likewise.
11457 * resolv/netdb.h: Likewise.
11458 * resource/sys/resource.h: Likewise.
11459 * rt/aio.h: Likewise.
11460 * rt/bits/mqueue2.h: Likewise.
11461 * rt/mqueue.h: Likewise.
11462 * shadow/shadow.h: Likewise.
11463 * signal/signal.h: Likewise.
11464 * socket/send.c: Likewise.
11465 * socket/sendto.c: Likewise.
11466 * socket/sys/socket.h: Likewise.
11467 * stdio-common/printf.h: Likewise.
11468 * stdlib/bits/stdlib.h: Likewise.
11469 * stdlib/fmtmsg.h: Likewise.
11470 * stdlib/monetary.h: Likewise.
11471 * stdlib/stdlib.h: Likewise.
11472 * stdlib/ucontext.h: Likewise.
11473 * streams/stropts.h: Likewise.
11474 * string/argz.h: Likewise.
11475 * string/bits/string2.h: Likewise.
11476 * string/string.h: Likewise.
11477 * string/strings.h: Likewise.
11478 * sunrpc/rpc/auth.h: Likewise.
11479 * sunrpc/rpc/auth_des.h: Likewise.
11480 * sunrpc/rpc/clnt.h: Likewise.
11481 * sunrpc/rpc/netdb.h: Likewise.
11482 * sunrpc/rpc/pmap_clnt.h: Likewise.
11483 * sunrpc/rpc/xdr.h: Likewise.
11484 * sysdeps/generic/inttypes.h: Likewise.
11485 * sysdeps/generic/net/if.h: Likewise.
11486 * sysdeps/generic/sys/swap.h: Likewise.
11487 * sysdeps/gnu/net/if.h: Likewise.
11488 * sysdeps/gnu/utmpx.h: Likewise.
11489 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11490 * sysdeps/i386/i486/bits/string.h: Likewise.
11491 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
11492 * sysdeps/s390/bits/string.h: Likewise.
11493 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
11494 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
11495 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
11496 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11497 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11498 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
11499 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11500 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
11501 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11502 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
11503 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
11504 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11505 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
11506 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11507 * sysdeps/unix/sysv/linux/readv.c: Likewise.
11508 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
11509 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11510 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11511 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11512 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11513 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11514 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
11515 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
11516 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
11517 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
11518 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
11519 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
11520 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11521 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
11522 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
11523 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
11524 * sysvipc/sys/ipc.h: Likewise.
11525 * sysvipc/sys/msg.h: Likewise.
11526 * sysvipc/sys/sem.h: Likewise.
11527 * sysvipc/sys/shm.h: Likewise.
11528 * termios/termios.h: Likewise.
11529 * time/sys/time.h: Likewise.
11530 * time/time.h: Likewise.
11531 * wcsmbs/bits/wchar2.h: Likewise.
11532 * wcsmbs/uchar.h: Likewise.
11533 * wcsmbs/wchar.h: Likewise.
11534 * wctype/wctype.h: Likewise.
11535
0269750c
UD
11536 [BZ #13551]
11537 * Makeconfig: Remove all but ELF support including AIX support.
11538 * Makerules: Likewise.
11539 * config.h.in: Likewise.
11540 * config.make.in: Likewise.
11541 * configure: Likewise.
11542 * configure.in: Likewise.
11543 * csu/Makefile: Likewise.
11544 * csu/version.c: Likewise.
11545 * debug/Makefile: Likewise.
11546 * dlfcn/Makefile: Likewise.
11547 * elf/Makefile: Likewise.
11548 * extra-lib.mk: Likewise.
11549 * iconv/Makefile: Likewise.
11550 * include/libc-symbols.h: Likewise.
11551 * include/shlib-compat.h: Likewise.
11552 * resolv/Makefile: Likewise.
11553 * resolv/res_libc.c: Likewise.
11554 * rt/Makefile: Likewise.
11555 * sysdeps/i386/asm-syntax.h: Likewise.
11556 * sysdeps/i386/sysdep.h: Likewise.
11557 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11558 * sysdeps/mach/sysdep.h: Likewise.
11559 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
11560 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
11561 * sysdeps/s390/asm-syntax.h: Likewise.
11562 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11563 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11564 * sysdeps/sh/sysdep.h: Likewise.
11565 * sysdeps/unix/sparc/sysdep.h: Likewise.
11566 * sysdeps/wordsize-32/divdi3.c: Likewise.
11567 * sysdeps/x86_64/sysdep.h: Likewise.
11568
00bbd29b
UD
11569 * argp/Versions: Remove _argp_unlock_xxx.
11570
11571 [BZ #13559]
11572 * abilist/ld.abilist: Update. Adjust for removal of tls option.
11573 * abilist/libBrokenLocale.abilist: Likewise.
11574 * abilist/libanl.abilist: Likewise.
11575 * abilist/libc.abilist: Likewise.
11576 * abilist/libcrypt.abilist: Likewise.
11577 * abilist/libdl.abilist: Likewise.
11578 * abilist/libm.abilist: Likewise.
11579 * abilist/libnsl.abilist: Likewise.
11580 * abilist/libpthread.abilist: Likewise.
11581 * abilist/libresolv.abilist: Likewise.
11582 * abilist/librt.abilist: Likewise.
11583 * abilist/libthread_db.abilist: Likewise.
11584 * abilist/libutil.abilist: Likewise.
11585 * abilist/libnss_db.abilist: New file.
11586
11587 * scripts/abilist.awk: Add support for indirect functions.
11588
a2693a0e
UD
11589 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
11590
3f05895f
UD
11591 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
11592
ecb6fb48
UD
11593 * shlib-versions: Remove entries for ports architectures.
11594
664f8cb9
UD
11595 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
11596 files in ports.
11597 * elf/stackguard-macros.h: Remove support for IA-64.
11598 * elf/tst-auditmod1.c: Likewise.
11599 * sysdeps/generic/ldsodefs.h: Likewise.
11600
7ae81d88
UD
11601 * sysdeps/unix/sysv/linux/configure.in: Ports should define
11602 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
11603 configure files.
11604
bdeba135
UD
11605 [BZ #13552]
11606 * configure.in: Remove --enable-omitfp support.
11607 * FAQ.in: Adjust.
11608 * config.make.in: Likewise.
11609 * Makeconfig: Likewise.
11610 * manual/install.texi: Likewise.
11611
d75a0a62
UD
11612 In case anyone cares, the IA-64 architecture could move to ports.
11613 * sysdeps/ia64/*: Removed.
11614 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 11615 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 11616
dcc9756b
UD
11617 [BZ #13555]
11618 * configure.in: Remove entries for unsupported architectures.
11619
d3761ebc 11620 [BZ #13533]
9954432e
UD
11621 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
11622 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
11623 routines.
11624 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
11625 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
11626 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
11627 fall back to using wcrtomb.
11628 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
11629 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
11630 renaming.
11631 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
11632 * wcsmbs/tst-c16c32-1.c: New file.
11633
11634 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
11635 local variable.
11636
c3a87236
UD
11637 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
11638
28926a1b
UD
11639 * elf/tst-unique3.cc: Add explicit declaration of gets.
11640 * elf/tst-unique3lib.cc: Likewise.
11641 * elf/tst-unique3lib2.cc: Likewise.
11642 * elf/tst-unique4.cc: Likewise.
11643
df78418a
UD
11644 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
11645
8ecd6b2a
JM
116462012-01-06 Joseph Myers <joseph@codesourcery.com>
11647
11648 [BZ #13566]
11649 * assert/assert.h (static_assert): Don't define for C++.
11650 * libio/stdio.h (gets): Do declare for C++ <= C++11.
11651 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
11652
9f115170
UD
116532012-01-03 Ulrich Drepper <drepper@gmail.com>
11654
5e0d0300
UD
11655 * iconv/loop.c (single loop): Fix assertion in storing of
11656 remaining bytes.
11657
9f115170
UD
11658 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
11659
81fb02b0
UD
116602012-01-01 Ulrich Drepper <drepper@gmail.com>
11661
11662 * posix/getconf.c: Update copyright year.
11663 * nss/getent.c: Likewise.
a316c1f6 11664 * nss/makedb.c: Likewise.
81fb02b0
UD
11665 * iconv/iconvconfig.c: Likewise.
11666 * iconv/iconv_prog.c: Likewise.
11667 * elf/ldconfig.c: Likewise.
a316c1f6
UD
11668 * elf/pldd.c: Likewise.
11669 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
11670 * catgets/gencat.c: Likewise.
11671 * csu/version.c: Likewise.
11672 * elf/ldd.bash.in: Likewise.
11673 * elf/sprof.c (print_version): Likewise.
11674 * locale/programs/locale.c: Likewise.
11675 * locale/programs/localedef.c: Likewise.
a316c1f6 11676 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
11677 * nscd/nscd.c (print_version): Likewise.
11678 * debug/xtrace.sh: Likewise.
11679 * malloc/memusage.sh: Likewise.
11680 * malloc/mtrace.pl: Likewise.
11681 * debug/catchsegv.sh: Likewise.
11682
2ba92745
JJ
116832011-12-30 Jakub Jelinek <jakub@redhat.com>
11684
11685 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
11686 pure attribute.
11687
dadebdae
UD
116882011-12-24 Ulrich Drepper <drepper@gmail.com>
11689
d3761ebc 11690 [BZ #13533]
db6af3eb
UD
11691 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
11692 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
11693 transformations.
11694 * iconv/gconv_int.h: Likewise.
11695 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
11696 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
11697 from libc for GLIBC_2.16.
11698 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
11699 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
11700 * wcsmbs/uchar.h: Really define mbstate_t.
11701 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
11702 * wcsmbs/c16rtomb.c: New file.
11703 * wcsmbs/mbrtoc16.c: New file.
11704 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
11705 for C/POSIX locale.
11706 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
11707 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
11708
dadebdae
UD
11709 * wcsmbs/wchar.h: Add missing __restrict.
11710
67371b56
UD
117112011-12-23 Ulrich Drepper <drepper@gmail.com>
11712
74033a25
UD
11713 [BZ #13532]
11714 * time/Makefile (routines): Add timespec_get.
11715 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
11716 * time/time.h: Define TIME_UTC and declare timespec_get. Define
11717 timespec for ISO C11.
11718 * time/timespec_get.c: New file.
11719 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
11720 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
11721
380d7e87
UD
11722 [BZ #13531]
11723 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
11724 * stdlib/stdlib.h: Declare aligned_alloc.
11725 * Versions.def: Add GLIBC_2.16 for libc.
11726 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
11727
4e9e7a35
UD
11728 [BZ 13527]
11729 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
11730 ISO C11.
11731
380d7e87 11732 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
11733 code.
11734
03a71829
UD
11735 [BZ #13528]
11736 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
11737
839e283e
UD
11738 [BZ #13529]
11739 * assert/assert.h (static_assert): Define.
11740
ce5294e2 11741 * version.h: Update for 2.16 development version.
90fa7312 11742
8d44e150 11743 [BZ #13526]
d7809905
UD
11744 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
11745 _ISOC11_SOURCE.
11746
c0da14cd
UD
11747 * version.h (RELEASE): Bump for 2.15 release.
11748 * include/features.h (__GLIBC_MINOR__): Bump to 15.
11749
530a3249
MP
11750 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
11751 Patch by Marek Polacek <mpolacek@redhat.com>.
11752
67371b56
UD
11753 * bits/byteswap.h: Protect long long constants with __extension__.
11754 * sysdeps/i386/bits/byteswap.h: Likewise.
11755 * sysdeps/ia64/bits/byteswap.h: Likewise.
11756 * sysdeps/s390/bits/byteswap.h: Likewise.
11757 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11758
15db4de1
LD
117592011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11760
11761 [BZ #13540]
bbe315ea
LD
11762 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
11763 destination buffer.
15db4de1
LD
11764 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11765
2b2596b1
MP
117662011-12-23 Marek Polacek <polacek@redhat.com>
11767
11768 * elf/dl-addr.c (determine_info): Add inline keyword.
11769 * elf/tst-auditmod4b.c (check_avx): Likewise.
11770 * elf/tst-auditmod6b.c (check_avx): Likewise.
11771 * elf/tst-auditmod6c.c (check_avx): Likewise.
11772 * elf/tst-auditmod7b.c (check_avx): Likewise.
11773
70c6c246
UD
117742011-12-23 Ulrich Drepper <drepper@gmail.com>
11775
11776 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
11777 !__SSE_MATH__.
11778
c044cf14
LD
117792011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11780
15db4de1 11781 [BZ #13540]
c044cf14
LD
11782 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
11783 processing for last bytes.
11784
6b13d9d9
BH
117852011-08-06 Bruno Haible <bruno@clisp.org>
11786
d455f537
BH
11787 [BZ #13061]
11788 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
11789 U+0385, not to U+1FEE.
11790
6b13d9d9
BH
11791 [BZ #13062]
11792 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
11793 entry for U+00A5 U+0301.
11794
db910efd
UD
117952011-12-22 Ulrich Drepper <drepper@gmail.com>
11796
27deeafc
UD
11797 [BZ #13166]
11798 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
11799 buffer for the output is too small.
11800
aed9d171
UD
11801 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
11802 optimization.
11803
db910efd
UD
11804 [BZ #13185]
11805 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
11806 SSE flags if possible.
11807
2bd779ae
LD
118082011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11809
e7f9dac3 11810 [BZ #13540]
2bd779ae
LD
11811 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
11812 processing for last bytes.
11813
154bfc16
JM
118142011-12-22 Joseph Myers <joseph@codesourcery.com>
11815
11816 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
11817 (syscall-list-default-options, syscall-list-default-condition)
11818 (syscall-list-includes): Define.
11819 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
11820 list of ABIs and options and #if conditions for each ABI. Do not
11821 handle common syscalls between ABIs specially.
11822 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
11823 Remove.
11824 (syscall-list-variants, syscall-list-32bit-options)
11825 (syscall-list-32bit-condition, syscall-list-64bit-options)
11826 (syscall-list-64bit-condition): Define.
11827 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
11828 (syscall-list-variants, syscall-list-32bit-options)
11829 (syscall-list-32bit-condition, syscall-list-64bit-options)
11830 (syscall-list-64bit-condition): Define.
11831 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
11832 Remove.
11833 (syscall-list-variants, syscall-list-32bit-options)
11834 (syscall-list-32bit-condition, syscall-list-64bit-options)
11835 (syscall-list-64bit-condition): Define.
11836 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
11837 Remove.
11838 (syscall-list-variants, syscall-list-32bit-options)
11839 (syscall-list-32bit-condition, syscall-list-64bit-options)
11840 (syscall-list-64bit-condition): Define.
11841
21eaf3a5
UD
118422011-12-22 Ulrich Drepper <drepper@gmail.com>
11843
16c6f992
UD
11844 * locale/iso-639.def: Add brx entry.
11845
41043168
UD
11846 [BZ #13328]
11847 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
11848 Proposed by Mariusz_Cukr <marcukr@op.pl>.
11849
21eaf3a5
UD
11850 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
11851 __feraiseexcept_renamed.
11852
e3a851a2
UD
118532011-12-21 Ulrich Drepper <drepper@gmail.com>
11854
4920765e
UD
11855 [BZ #13538]
11856 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
11857 EPOLLET with unsigned values.
11858 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11859 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11860
e3a851a2
UD
11861 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
11862 to large cancellation.
11863 * math/s_cacoshf.c: Likewise.
11864 * math/s_cacoshl.c: Likewise.
11865
b27e24b8
RK
118662011-11-18 Richard B. Kreckel <kreckel@ginac.de>
11867
11868 [BZ #13305]
aebefeee 11869 [BZ #12786]
b27e24b8
RK
11870 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
11871 * math/s_cacoshf.c: Likewise.
11872 * math/s_cacoshl.c: Likewise.
11873
ee190f67
UD
118742011-12-21 Ulrich Drepper <drepper@gmail.com>
11875
11876 [BZ #13439]
11877 * iconv/gconv.h: Define __GCONV_SWAP.
11878 * iconvdata/unicode.c: The swap bit must be stored in __flags.
11879 * iconvdata/utf-16.c: Likewise.
11880 * iconvdata/utf-32.c: Likewise.
11881
707f25df
AS
118822011-12-21 Andreas Schwab <schwab@linux-m68k.org>
11883
11884 [BZ #13524]
11885 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
11886 numerator after shifting it by one limb.
11887
d2daaa1e
RÁE
118882011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
11889
11890 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
11891 under [__USE_EXTERN_INLINES].
11892
a4647e72
UD
118932011-12-17 Ulrich Drepper <drepper@gmail.com>
11894
11895 [BZ #13446]
11896 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
11897
f0b264f1
AZ
118982011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11899
11900 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
11901 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
11902 optimized code.
11903 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
11904 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
11905 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
11906 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
11907 for strncasecmp/strncasecmp_l compilation.
11908 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
11909 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
11910
8ef4f244
MP
119112011-12-08 Marek Polacek <mpolacek@redhat.com>
11912
11913 [BZ #13484]
11914 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
11915 of __asm__.
11916
97ac2654
UD
119172011-12-17 Ulrich Drepper <drepper@gmail.com>
11918
11919 [BZ #13506]
11920 * time/tzfile.c (__tzfile_read): Check values from file header.
11921
91d2a845
WS
119222011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11923
11924 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
11925 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
11926 * powerpc/powerpc32/dl-start.S: Likewise.
11927 * powerpc/powerpc32/elf/start.S: Likewise.
11928 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11929 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
11930 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
11931 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
11932 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11933 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
11934 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
11935 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11936 * powerpc/powerpc32/fpu/s_round.S: Likewise.
11937 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11938 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11939 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11940 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11941 * powerpc/powerpc32/memset.S: Likewise.
11942 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11943 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11944 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11945 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11946 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11947 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11948 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11949 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11950 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
11951 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
11952 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
11953 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11954 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11955
a1267ba1
AZ
119562011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11957
11958 * math/libm-test.inc: Added more nearbyint tests.
11959 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
11960 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
11961 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
11962 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
11963
ad8ac1bd
RL
119642011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
11965
11966 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
11967 FD_CLOEXEC.
11968
1d3e4b61
UD
119692011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11970
11971 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
11972 Add wcscpy-ssse3 wcscpy-c.
11973 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
11974 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
11975 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
11976 * sysdeps/x86_64/wcschr.S: New file.
11977 * sysdeps/x86_64/wcsrchr.S: New file.
11978 * string/test-strcmp.c: Remove checking of wcscmp function for
11979 wrong alignments.
11980 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
11981 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
11982 wcsrchr-sse2 wcsrchr-c.
11983 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
11984 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
11985 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
11986 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
11987 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
11988 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
11989 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
11990 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
11991 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
11992 * wcsmbc/wcschr.c (WCSCHR): New macro.
11993
5b330a2d
UD
119942011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11995
11996 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
11997 * wcsmbs/test-wcsrchr.c: New file.
11998 * string/test-strrchr.c: Add wcsrchr support.
11999 (WIDE): New macro.
12000 * wcsmbs/test-wcscpy.c: New file.
12001 * string/test-strcpy.c: Add wcscpy support.
12002 (WIDE): New macro.
26428b7c 12003
f039c043
UD
120042011-12-10 Ulrich Drepper <drepper@gmail.com>
12005
12006 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
12007 the inner loop.
12008
850fb039
AS
120092011-12-06 Andreas Schwab <schwab@linux-m68k.org>
12010
12011 [BZ #13472]
12012 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
12013
4efbd5cb
UD
120142011-12-04 Ulrich Drepper <drepper@gmail.com>
12015
52ff5dd0 12016 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 12017 Minor optimizations.
52ff5dd0 12018
4efbd5cb
UD
12019 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
12020 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
12021 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12022
8a426e12
UD
120232011-12-03 Ulrich Drepper <drepper@gmail.com>
12024
aff2453d
UD
12025 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
12026 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
12027 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
12028 for gcc to avoid warnings.
12029 * inet/Makefile (tests): Add tst-checks.
12030 * inet/tst-checks.c: New file.
12031
12032 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
12033 warning.
12034
12035 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
12036 __wmemcmp_sse2.
12037
12038 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
12039 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
12040
8a426e12
UD
12041 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
12042
9bea3473
UD
120432011-12-02 Ulrich Drepper <drepper@gmail.com>
12044
3a965496
UD
12045 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
12046 problem.
12047
9bea3473
UD
12048 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
12049
f101631b
UD
120502011-11-29 Joseph Myers <joseph@codesourcery.com>
12051
12052 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
12053 conditional on GCC version.
12054 (__arch_compare_and_exchange_val_8_acq)
12055 (__arch_compare_and_exchange_val_16_acq)
12056 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
12057 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
12058 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
12059
a98275aa
UD
120602011-12-02 Joseph Myers <joseph@codesourcery.com>
12061
12062 * sysdeps/sh/backtrace.c: New file.
12063
d4cc29a2
AS
120642011-12-02 Andreas Schwab <schwab@redhat.com>
12065
12066 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
12067 parenthesis.
12068
6257af2d
AS
120692011-12-01 Andreas Schwab <schwab@redhat.com>
12070
12071 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
12072 falling back to utime.
12073
b5f44c1a
AS
120742011-11-30 Andreas Schwab <schwab@redhat.com>
12075
12076 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
12077 expectations for float.
12078
f3a6cc0a
AS
120792011-11-29 Andreas Schwab <schwab@redhat.com>
12080
12081 * locale/weight.h (findidx): Add parameter len.
12082 * locale/weightwc.h (findidx): Likewise.
12083 * posix/fnmatch_loop.c (FCT): Adjust caller.
12084 * posix/regcomp.c (build_equiv_class): Likewise.
12085 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
12086 * posix/regexec.c (check_node_accept_bytes): Likewise.
12087 * string/strcoll_l.c (STRCOLL): Likewise.
12088 * string/strxfrm_l.c (STRXFRM): Likewise.
12089
9d65ea3a
UD
120902011-11-17 Ulrich Drepper <drepper@gmail.com>
12091
12092 * Makefile.in: Remove CVSOPT handling.
12093 * configure.in: Remove use of AC_REVISION.
12094 * iconvdata/Makefile (distribute): No need to filter out CVS.
12095 * scripts/list-sources.sh: Remove CVS, subversion and monotone
12096 handling.
12097
5583a086
AS
120982011-11-16 Andreas Schwab <schwab@redhat.com>
12099
12100 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
12101 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
12102 [USE_AS_STRNCASECMP_L]: Likewise.
12103 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
12104 NO_TLS_DIRECT_SEG_REFS.
12105 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
12106 Fix argument offsets for non-PIC.
12107 [USE_AS_STRNCASECMP_L]: Likewise.
12108 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
12109 NO_TLS_DIRECT_SEG_REFS.
12110
d62a8200
UD
121112011-11-15 Ulrich Drepper <drepper@gmail.com>
12112
9d65ea3a 12113 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
12114 O_CLOEXEC.
12115 * locale/loadlocale.c (_nl_load_locale): Likewise.
12116
09f93bd3
AS
121172011-11-15 Andreas Schwab <schwab@redhat.com>
12118
446514f9
AS
12119 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
12120 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
12121 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
12122 (SYSCALL_GETTIME): Set errno on error.
12123
09f93bd3
AS
12124 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
12125 count references to noai6ai_cached.
12126
312be3f9
UD
121272011-11-15 Ulrich Drepper <drepper@gmail.com>
12128
12129 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
12130
12131 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
12132 FD_CLOEXEC for /proc/self/maps.
12133
12134 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
12135 FD_CLOEXEC for /proc/meminfo.
12136
12137 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
12138 gai.conf.
12139
12140 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
12141 FD_CLOEXEC for given file.
12142
12143 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
12144
12145 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
12146 FD_CLOEXEC for /etc/hosts.
12147 (_gethtent): Likewise.
12148
12149 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
12150
12151 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
12152 cancellation and set FD_CLOEXEC for /etc/netgroup.
12153
12154 * nss/nss_files/files-key.c (search): Don't allow cancellation when
12155 reading /etc/publickey.
12156
12157 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
12158 allow cancellation when reading /etc/group.
12159
12160 * nss/nss_files/files-alias.c (internal_setent): Don't allow
12161 cancellation.
12162 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
12163
12164 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
12165 when using data file.
12166
12167 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
12168
12169 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
12170 (write_nis_obj): Use "c" and "e" in fopen.
12171
12172 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
12173
12174 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
12175
12176 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
12177
12178 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
12179
12180 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
12181 locale.alias.
12182
12183 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
12184
12185 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
12186
12187 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
12188
12189 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
12190 file parsing and set FD_CLOEXEC.
12191
82af0fa8
UD
121922011-11-14 Ulrich Drepper <drepper@gmail.com>
12193
12194 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
12195
a5fb313c
AS
121962011-11-14 Andreas Schwab <schwab@redhat.com>
12197
12198 * malloc/arena.c (arena_get2): Don't call reused_arena when
12199 _int_new_arena failed.
12200
6abf3465
UD
122012011-11-14 Ulrich Drepper <drepper@gmail.com>
12202
12203 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
12204 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
12205 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
12206 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12207 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12208 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
12209 to compile strcasecmp and strncasecmp.
12210 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
12211 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
12212
12213 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
12214
76e3966e
UD
122152011-11-13 Ulrich Drepper <drepper@gmail.com>
12216
12217 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
12218 locale-defines.sym to gen-as-const-headers.
12219 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
12220 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
12221 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
12222 to compile strcasecmp and strncasecmp.
12223 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
12224 strcasecmp_l and strncasecmp_l.
12225 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
12226 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
12227 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
12228 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
12229 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
12230 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
12231 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
12232 * sysdeps/i386/i686/multiarch/strncase.S: New file.
12233 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
12234 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
12235 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
12236
ab26144e
UD
122372011-11-12 Ulrich Drepper <drepper@gmail.com>
12238
7edb22ef
UD
12239 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
12240 result of SYSDEP_GETTIME_CPU to retval.
12241 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
12242 parameter list to macro. Remove trailing semicolon. Adjust users.
12243
9694fc44
UD
12244 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
12245 variable.
12246
8ad89ef8
UD
12247 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
12248 mantissa words.
12249 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12250
0c822ef9
UD
12251 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
12252 from unused variable.
12253
874e0564
UD
12254 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12255 DWARF definitions.
12256 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12257 for assembling.
12258
3a2edc79
UD
12259 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12260 over namespaces.
12261
f3c2577f
UD
12262 * sunrpc/rpc_prot.c (rejected): Fix case value.
12263
294ce126
UD
12264 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12265 unsigned long long int to avoid warnings in shift.
12266
5e2b63c6
UD
12267 * posix/regex_internal.c (re_string_reconstruct): Actually use result
12268 of use of trans.
12269 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12270 variable tmp.
12271
e7f4b08e
UD
12272 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12273 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12274 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12275
ab26144e
UD
12276 * nis/nis_table.c (nis_list): Use variable of correct type for
12277 result of __follow_path call.
12278
8a6d5255
AZ
122792011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12280
12281 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12282 of math functions ceil, trunc, floor, round, and sqrt, when
12283 avaliable on the platform.
12284 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12285 name clash.
12286 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12287 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12288 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12289
aaddc98c
MP
122902011-10-30 Marek Polacek <mpolacek@redhat.com>
12291
12292 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12293 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12294
95b7042b
RM
122952011-11-11 Roland McGrath <roland@hack.frob.com>
12296
12297 * include/unistd.h: Fix __readlink return type.
12298 Reported by Chris Metcalf <cmetcalf@tilera.com>.
12299
57769839
UD
123002011-11-11 Ulrich Drepper <drepper@gmail.com>
12301
12302 * stdlib/ucontext.h: Undo last change for makecontext.
12303
edc5984d
AS
123042011-11-11 Andreas Schwab <schwab@redhat.com>
12305
98591e58
AS
12306 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12307
edc5984d
AS
12308 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12309 * setjmp/setjmp.h: Mark functions as non-leaf.
12310 * setjmp/bits/setjmp2.h: Likewise.
12311 * stdlib/ucontext.h: Likewise.
12312
77cdc054
AS
123132011-11-10 Andreas Schwab <schwab@redhat.com>
12314
12315 * malloc/arena.c (_int_new_arena): Don't increment narenas.
12316 (reused_arena): Don't check arena limit.
12317 (arena_get2): Atomically check arena limit.
12318
fe72eebd
UD
123192011-11-08 Ulrich Drepper <drepper@gmail.com>
12320
5f078c32
UD
12321 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12322 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12323
fe72eebd
UD
12324 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12325 instructions.
12326
ae1bc2fa
AS
123272011-11-07 Andreas Schwab <schwab@redhat.com>
12328
7583a88d
AS
12329 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12330 handler when locking.
12331
ae1bc2fa
AS
12332 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12333 Fix size of allocated buffer.
12334
10fb0bfa
AS
123352011-11-04 Andreas Schwab <schwab@redhat.com>
12336
998832a4
AS
12337 [BZ #10103]
12338 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12339 declarations for long double functions.
12340 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12341
10fb0bfa
AS
12342 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12343
3d7ba52b
AS
123442011-11-03 Andreas Schwab <schwab@redhat.com>
12345
a9ae54a1
AS
12346 * nscd/nscd.c (main): Don't start AVC thread until credentials are
12347 installed.
12348
3d7ba52b
AS
12349 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
12350 is disabled.
12351
bc8db248
ST
123522011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12353
12354 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
12355
45b96dd6
AS
123562011-11-01 Andreas Schwab <schwab@linux-m68k.org>
12357
647776f6
AS
12358 * include/alloca.h (stackinfo_alloca_round): Define.
12359 (extend_alloca): Use it.
12360 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
12361 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
12362 here.
12363
d91a8b93
AS
12364 * scripts/check-local-headers.sh: Ignore libaudit.h.
12365
45b96dd6
AS
12366 * nscd/Makefile (extra-objs): Make recursively expanded.
12367
432d41ce
UD
123682011-11-01 Ulrich Drepper <drepper@gmail.com>
12369
34372fc6
UD
12370 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
12371 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12372
fadb59f8
UD
12373 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
12374 * posix/tst-rfc3484-2.c: Likewise.
12375 * posix/tst-rfc3484-3.c: Likewise.
12376
78239589
UD
12377 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12378 process_vm_writev.
12379 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
12380 process_vm_writev.
12381 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
12382 process_vm_writev from libc using GLIBC_2.15 version.
12383
432d41ce
UD
12384 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
12385
02f9c6cf
PP
123862011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12387
12388 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
12389 stack usage.
12390
3a2c0242
UD
123912011-10-31 Ulrich Drepper <drepper@gmail.com>
12392
f4ec4833
UD
12393 [BZ #13367]
12394 * nss/getent.c (initgroups_keys): Show error message in case no group
12395 names are given.
12396
3a2c0242
UD
12397 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
12398 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
12399 __bump_nl_timestamp.
12400 * nscd/connections (nscd_init): When host database is served open
12401 netlink socket and request notification about configuration changes.
12402 (main_loop_poll): Track netlink file descriptor and bump timestamp
12403 in case data becomes available.
12404 (main_loop_epoll): Likewise.
12405 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
12406 (database_pers_head): Add extra_data fileds.
12407 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
12408 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
12409 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
12410 Adjust caller.
12411 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
12412 in6ai data, call __free_in6ai.
12413 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
12414 Add -DHAVE_NETLINK.
12415 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
12416 interface information. Reuse previous data if netlink timestamp
12417 is not changed.
12418 (__bump_nl_timestamp): New function.
12419 (__free_in6ai): New function.
12420
636064eb
UD
124212011-10-30 Ulrich Drepper <drepper@gmail.com>
12422
12423 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
12424 close_not_cancel_no_status here.
12425 (__check_pf): Reorganize code a bit to not call close twice if OOM.
12426
9beb2334
UD
124272011-10-29 Ulrich Drepper <drepper@gmail.com>
12428
6ef76f3b
UD
12429 [BZ #13276]
12430 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
12431 return value.
12432
0ffc4f3e 12433 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
12434 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
12435 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
12436
cb95113e
UD
124372011-07-03 Andreas Jaeger <aj@suse.de>
12438
12439 [BZ #10709]
12440 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
12441 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
12442 * math/libm-test.inc (sin_test): Add test case.
12443
a1b560ff
UD
124442011-10-29 Ulrich Drepper <drepper@gmail.com>
12445
c9aaface
UD
12446 [BZ #13337]
12447 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
12448 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12449
d272e7f1
UD
12450 * elf/chroot_canon.c (chroot_canon): Cleanups.
12451
1bc33071
UD
12452 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
12453
1760874d
TJ
12454 [BZ #13335]
12455 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
12456 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12457
51d91b18
UD
12458 * string/test-strchr.c: Make usable for strchrnul testing.
12459 * string/test-strchrnul.c: New file.
12460 * string/Makefile (strop-tests): Add strchrnul.
12461
a1b560ff 12462 * po/it.po: Update from translation team.
b611fb81 12463 * po/es.po: Likewise.
a1b560ff 12464
a5b81e1f
UD
124652011-10-28 Ulrich Drepper <drepper@gmail.com>
12466
fd52bc6d
UD
12467 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
12468 the three constants needed as parameters. Drop the others.
12469 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
12470 __m128i_strloadu_tolower.
52e4b9eb
UD
12471 Create and initialize variable zero and use it in all the places
12472 where _mm_setzero_si128 was used.
fd52bc6d 12473
a5b81e1f
UD
12474 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
12475 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
12476 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
12477 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
12478 anymore.
12479 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
12480 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
12481 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
12482 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
12483 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
12484 __mpranred, __mptan.
12485 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
12486 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
12487 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
12488 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
12489 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
12490 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
12491 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
12492 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
12493 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
12494
b4343346
AS
124952011-10-28 Andreas Schwab <schwab@redhat.com>
12496
0c92d8a8
AS
12497 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
12498 redefine if SHARED.
12499 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
12500
b4343346
AS
12501 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
12502 wide char related routines to wcsmbs subdir.
12503
3871f58f
AS
125042011-10-27 Andreas Schwab <schwab@redhat.com>
12505
12506 [BZ #13344]
12507 * misc/sys/cdefs.h (__THROWNL): Define.
12508 * posix/unistd.h: Use __THREADNL instead of __THREAD
12509 for memory synchronization functions.
12510
94d44d9f
RM
125112011-10-26 Roland McGrath <roland@hack.frob.com>
12512
21b64b15 12513 [BZ #13349]
94d44d9f
RM
12514 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
12515 doesn't exist.
12516 * manual/stdio.texi (Obstack Streams): Node removed.
12517
f6ce9294
AS
125182011-10-26 Andreas Schwab <schwab@redhat.com>
12519
80479147
AS
12520 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
12521 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12522 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12523
f6ce9294
AS
12524 * math/math_private.h (math_force_eval): Allow non-addressable
12525 arguments.
12526 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
12527
618280a1
UD
125282011-10-25 Ulrich Drepper <drepper@gmail.com>
12529
e0016b11
UD
12530 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
12531 file is not needed.
12532
12533 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
12534 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12535 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12536 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12537 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12538 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12539 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12540 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
12541 Add AVX variants.
12542 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
12543 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
12544 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
12545 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
12546 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
12547 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
12548 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
12549 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
12550 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
12551 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
12552 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
12553 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
12554 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
12555 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
12556 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
12557 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
12558 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
12559 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
12560 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
12561
12562 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
12563 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
12564
618280a1
UD
12565 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
12566 place. Use VEX encoding when compiling for AVX.
12567
37822576
AS
125682011-10-25 Andreas Schwab <schwab@redhat.com>
12569
1f1e1947
AS
12570 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
12571 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12572
37822576
AS
12573 * string/test-strchr.c (do_test): Don't generate NUL bytes.
12574
31ea014d
UD
125752011-10-25 Ulrich Drepper <drepper@gmail.com>
12576
d7826aa1 12577 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 12578 useless if() expression.
d7826aa1
UD
12579 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12580 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12581 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12582 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12583 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12584 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12585 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12586 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12587 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12588 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12589 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12590 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12591 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12592 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12593 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12594 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12595 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12596 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12597 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12598
31ea014d
UD
12599 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
12600
16437fec
AS
126012011-10-25 Andreas Schwab <schwab@redhat.com>
12602
12603 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
12604 condition.
12605 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12606
31d3cc00
UD
126072011-10-25 Ulrich Drepper <drepper@gmail.com>
12608
12609 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
12610 .text section. Avoid duplicate constants.
12611 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12612 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12613 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12614 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12615 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12616 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12617 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12618 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12619 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12620 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
12621 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12622 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12623 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12624 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12625 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12626 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12627 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12628 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12629 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12630 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12631 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12632 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12633 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12634 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
12635 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
12636 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
12637 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
12638 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
12639 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
12640 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
12641 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
12642 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
12643 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12644 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
12645 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
12646 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
12647 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
12648 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
12649 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
12650 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
12651 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
12652 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
12653 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
12654 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
12655 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
12656
58985aa9
UD
126572011-10-24 Ulrich Drepper <drepper@gmail.com>
12658
202c9deb
UD
12659 * sysdeps/x86_64/dla.h: Move to ...
12660 * sysdeps/x86_64/fpu/dla.h: ...here.
12661 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
12662 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 12663
af968f62
UD
12664 * config.make.in: Add have-mfma4 entry.
12665 * configure.in: Substitute libc_cv_cc_fma4.
12666 * math/Makefile (dbl-only-routines): Add sincostab.
12667 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
12668 Use __sincostab not sincos.
12669 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
12670 name is a macro.
12671 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12672 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12673 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12674 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
12675 using __copysign.
12676 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
12677 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
12678 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
12679 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
12680 and __inv.
12681 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
12682 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
12683 __copysign.
12684 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
12685 define aliases when function name is a macro.
12686 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
12687 sysdeps/ieee754/dbl-64/sincos.tbl.
12688 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
12689 fma4-enabled routines.
12690 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
12691 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
12692 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
12693 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
12694 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
12695 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
12696 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
12697 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
12698 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
12699 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
12700 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
12701 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
12702 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
12703 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
12704 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
12705 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
12706 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
12707 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
12708 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
12709 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
12710 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
12711 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
12712 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
12713 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
12714 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
12715 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
12716 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
12717 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
12718 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
12719 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
12720
58985aa9
UD
12721 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
12722 rename.
12723 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12724 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12725 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12726 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12727 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12728 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12729 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12730 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12731
a201fbcf
AS
127322011-10-24 Andreas Schwab <schwab@redhat.com>
12733
12734 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
12735
fc2ee42a
LD
127362011-10-23 Ulrich Drepper <drepper@gmail.com>
12737
bb3129bd
UD
12738 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
12739
0275fff8
UD
12740 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
12741 prediction.
12742 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
12743
2fa2ae85
UD
12744 * string/strnlen.c: Don't define STRNLEN, reverse logic.
12745 Remove unused variable magic_bits.
12746 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
12747
fc2ee42a
LD
12748 * string/strnlen.c: Define and use STRNLEN macro.
12749 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
12750 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
12751 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
12752 * wcsmbs/wcslen.c: Define and use WCSLEN.
12753 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
12754 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
12755 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
12756 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
12757 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
12758 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
12759 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12760
ce7dd29f
LD
127612011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12762
12763 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12764 strnlen-sse2-no-bsf.
12765 Rename strlen-no-bsf to strlen-sse2-no-bsf.
12766 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
12767 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
12768 Add strnlen support.
12769 (USE_AS_STRNLEN): New macro.
12770 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
12771 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
12772 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
12773 * sysdeps/x86_64/wcslen.S: New file.
12774
979c70a3
MZ
127752011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
12776
12777 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12778 XMM-moves are used for copying on small sizes.
12779
2d09f82f
LD
127802011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12781
12782 * wcsmbs/Makefile (strop-tests): Add wcschr.
12783 * wcsmbs/test-wcschr.c: New file.
12784 * string/test-strchr.c: Update.
12785 Add wcschr support.
12786 (WIDE): New macro.
12787
619fccca
LD
127882011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12789
2d09f82f 12790 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
12791 * wcsmbs/test-wcslen.c: New file.
12792 * string/test-strlen.c: Update.
12793 Add wcslen support.
12794 (WIDE): New macro.
12795
09f699ea
UD
127962011-10-23 Ulrich Drepper <drepper@gmail.com>
12797
12798 * po/it.po: Update from translation team.
12799
95584d3b
LD
128002011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12801
12802 * sysdeps/x86_64/wcscmp.S: Update.
12803 Fix wrong comparison semantics.
12804 wcscmp shall use signed comparison not unsigned.
12805 Don't use substraction to avoid overflow bug.
12806 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12807 * wcsmbc/wcscmp.c: Likewise.
12808 * string/test-strcmp.c: Likewise.
12809 Add new tests to check cases with negative values.
12810
c8b3296b
UD
128112011-10-23 Ulrich Drepper <drepper@gmail.com>
12812
12813 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
12814 * sysdeps/x86_64/dla.h: ...here. New file.
12815 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
12816 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12817 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12818 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12819 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12820 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12821 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12822 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12823 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12824
246ad57a
AS
128252011-10-23 Andreas Schwab <schwab@linux-m68k.org>
12826
12827 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
12828 __ynl_finite aliases.
12829
a1a87169
UD
128302011-10-22 Ulrich Drepper <drepper@gmail.com>
12831
0d355eb7
UD
12832 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12833
a1a87169
UD
12834 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
12835 define DLA_FMA.
12836 [DLA_FMA] (EMULV): Use DLA_FMA.
12837 [DLA_FMA] (MUL12): Use EMULV.
12838 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
12839 that are not needed.
12840 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12841 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12842 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12843 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12844 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12845 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12846 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12847
ee2aafe0
AS
128482011-10-22 Andreas Schwab <schwab@linux-m68k.org>
12849
12850 * math/s_nan.c: Undef __nan.
12851 * math/s_nanf.c: Undef __nanf.
12852 * math/s_nanl.c: Undef __nanl.
12853 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
12854 "math_private.h".
12855
bc62c2fb
UD
128562011-10-22 Ulrich Drepper <drepper@gmail.com>
12857
77425c63
UD
12858 * math/s_catan.c: Add branch predictions.
12859 * math/s_catanf.c: Likewise.
12860 * math/s_catanh.c: Likewise.
12861 * math/s_catanhf.c: Likewise.
12862 * math/s_catanhl.c: Likewise.
12863 * math/s_catanl.c: Likewise.
12864 * math/s_cexp.c: Likewise.
12865 * math/s_cexpf.c: Likewise.
12866 * math/s_cexpl.c: Likewise.
12867 * math/s_clog.c: Likewise.
12868 * math/s_clog10.c: Likewise.
12869 * math/s_clog10f.c: Likewise.
12870 * math/s_clog10l.c: Likewise.
12871 * math/s_clogf.c: Likewise.
12872 * math/s_clogl.c: Likewise.
12873 * math/s_csqrt.c: Likewise.
12874 * math/s_csqrtf.c: Likewise.
12875 * math/s_csqrtl.c: Likewise.
12876 * math/s_ctanf.c: Likewise.
12877 * math/s_ctanh.c: Likewise.
12878 * math/s_ctanhf.c: Likewise.
12879 * math/s_ctanhl.c: Likewise.
12880 * math/s_ctanl.c: Likewise.
12881
bc62c2fb
UD
12882 * math/math_private.h: Define __nan, __nanf, __nanl.
12883 * math/s_cacosh.c: Include <math_private.h>.
12884 * math/s_cacoshl.c: Likewise.
12885 * math/s_casinh.c: Likewise.
12886 * math/s_casinhf.c: Likewise.
12887 * math/s_casinhl.c: Likewise.
12888 * math/s_ccos.c: Rely entire on ccosh.
12889 * math/s_ccosf.c: Rely entire on ccoshf.
12890 * math/s_ccosl.c: Rely entirely on ccoshl.
12891 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
12892 Remove tests for FE_INVALID.
12893 * math/s_ccoshf.c: Likewise.
12894 * math/s_ccoshl.c: Likewise.
12895 * math/s_csin.c: Likewise.
12896 * math/s_csinf.c: Likewise.
12897 * math/s_csinh.c Likewise.
12898 * math/s_csinhf.c: Likewise.
12899 * math/s_csinhl.c: Likewise.
12900 * math/s_csinl.c: Likewise.
12901 * math/s_ctan.c: Likewise.
12902 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
12903 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
12904 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
12905
8ec250a4
UD
129062011-10-21 Ulrich Drepper <drepper@gmail.com>
12907
c196fed8
UD
12908 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
12909 compilation problems.
12910
8ec250a4
UD
12911 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
12912 __builtin_expect.
12913
8d4f46c6
UD
129142011-10-20 Ulrich Drepper <drepper@gmail.com>
12915
ed72b654
UD
12916 * sysdeps/i386/configure.in: Test for -mfma4 option.
12917 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
12918 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
12919 COMMON_CPUID_INDEX_80000001.
12920 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
12921 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
12922 use it if FMA3 is not supported.
12923 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12924
8d4f46c6
UD
12925 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
12926 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12927
d45c60c2
AS
129282011-10-20 Andreas Schwab <schwab@redhat.com>
12929
12930 [BZ #12892]
12931 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
12932 it would create a cycle with a link time dependency.
12933
d9a4d2ab
UD
129342011-10-19 Ulrich Drepper <drepper@gmail.com>
12935
855d1560
UD
12936 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
12937 instruction.
12938 * string/Makefile (strop-tests): Add rawmemchr.
12939 * string/test-rawmemchr.c: New file.
12940
d9a4d2ab
UD
12941 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
12942 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
12943 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
12944 when compiling str{,n}casecmp and when AVX is available. Hook up
12945 new optimized code in initializers.
12946
8f3b1ffe
AS
129472011-10-19 Andreas Schwab <schwab@redhat.com>
12948
12949 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
12950 __feraiseexcept instead of feraiseexcept.
12951
d38f1dba
UD
129522011-10-18 Ulrich Drepper <drepper@gmail.com>
12953
d9a8d0ab
UD
12954 * math/math_private.h: Define defaults for libc_fetestexcept and
12955 libc_feupdateenv.
12956 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
12957 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12958 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12959 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12960 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12961 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12962 libc_fetestexcept and libc_feupdateenv.
12963
4855e3dd
UD
12964 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
12965 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
12966 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
12967 * sysdeps/x86_64/fpu/math_private.h: Define special version of
12968 libc_feholdexcept_setround.
12969
581d30e3
UD
12970 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
12971 Add s_nearbyint-c and s_nearbyintf-c.
12972 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
12973 nearbyintf inlines.
12974 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
12975 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
12976 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
12977 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
12978
d38f1dba
UD
12979 * math/math_private.h: Define defaults for libc_fegetround,
12980 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
12981 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
12982 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
12983 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
12984 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
12985 standard functions.
12986 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12987 Remove comments and hacks for old compiler versions.
12988 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12989 libc_fegetround, libc_fesetround, libc_feholdexcept, and
12990 libc_feholdexceptl.
12991
caa6c9d8
AS
129922011-10-18 Andreas Schwab <schwab@redhat.com>
12993
12994 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
12995 (__feraiseexcept_renamed): Add __NTH.
12996 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
12997 namespace violations.
12998
97c066e6
UD
129992011-10-17 Ulrich Drepper <drepper@gmail.com>
13000
99ce7b04
UD
13001 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
13002
1004d182
UD
13003 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
13004
228a984d
UD
13005 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
13006 recently added interfaces.
13007 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
13008
c8553a6a
UD
13009 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
13010 about macro parameter expansion.
13011
ed22dcf6
UD
13012 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
13013 __NO_MATH_INLINES is defined. Cleanups.
13014
13015 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
13016 and __floorf is target has SSE4.1.
13017 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
13018 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
13019 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
13020 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
13021
b171c137
UD
13022 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
13023 name.
13024 (floorf): Likewise.
13025
97c066e6
UD
13026 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
13027
629f62ef
AS
130282011-10-17 Andreas Schwab <schwab@redhat.com>
13029
49a43d80
AS
13030 * misc/sys/cdefs.h: Fix last change.
13031
629f62ef
AS
13032 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
13033 database lookup.
13034
e453f6cd
UD
130352011-10-16 Ulrich Drepper <drepper@gmail.com>
13036
aa78043a
UD
13037 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
13038
ad0f5cad
UD
13039 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
13040 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13041 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13042 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13043 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13044 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13045 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13046 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13047 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13048 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
13049 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
13050 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
13051 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
13052 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
13053 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
13054 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
13055 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
13056 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
13057 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
13058 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
13059 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
13060 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
13061
13062 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
13063 ceil, ceilf, floor, floorf.
13064
13065 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
13066 Perform IRELATIVE relocations last.
13067
e453f6cd
UD
13068 * elf/do-rel.h: Add another parameter nrelative, replacing the
13069 local variable with the same name. Change name of the function
13070 to end in Rel or Rela (uppercase).
13071 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
13072 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
13073 elf_dynamic_do_##reloc function.
13074
fd5bdc09
UD
130752011-10-15 Ulrich Drepper <drepper@gmail.com>
13076
79b195b5
UD
13077 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
13078 is sufficient, at least on modern CPUs.
13079
d4a28569
UD
13080 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
13081
b61099b5
UD
13082 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
13083 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
13084
bcf01e6d
UD
13085 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
13086 __expl_finite.
13087 * math/bits/math-finite.h: Add entries for exp.
13088 * math/e_expl.c: Add __*_finite alias.
13089 * sysdeps/i386/fpu/e_exp.S: Likewise.
13090 * sysdeps/i386/fpu/e_expf.S: Likewise.
13091 * sysdeps/i386/fpu/e_expl.c: Likewise.
13092 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13093 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13094 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13095 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13096 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
13097 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13098 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13099
ba1a0d59
UD
13100 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
13101 is sufficient, at least on modern CPUs.
13102
fd5bdc09
UD
13103 * ctype/ctype-info.c (__ctype_init): Define.
13104 * include/ctype.h (__ctype_init): Declare.
13105 (__ctype_b_loc): The variable is always initialized.
13106 (__ctype_toupper_loc): Likewise.
13107 (__ctype_tolower_loc): Likewise.
13108 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
13109 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
13110
7872cfb0
AS
131112011-10-15 Andreas Schwab <schwab@linux-m68k.org>
13112
b468825a
AS
13113 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
13114
7872cfb0
AS
13115 * configure.in: Also look in $cxxmachine/include for C++ system
13116 headers.
13117
be13f7bf
LD
131182011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13119
13120 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
13121 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
13122 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
13123 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
13124 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
13125 (USE_AS_WMEMCMP): New macro.
13126 Fixing indents.
13127 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
13128 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
13129 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
13130 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
13131 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13132 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
13133 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
13134 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
13135 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
13136 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
13137 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
13138 (USE_AS_WMEMCMP): New macro.
13139 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
13140 * sysdeps/string/test-memcmp.c: Update.
13141 Fix simple_wmemcmp.
13142 Add new tests.
13143 * wcsmbs/wmemcmp.c: Update.
13144 (WMEMCMP): New macro.
13145 Fix overflow bug.
13146
556a2007
AJ
131472011-10-12 Andreas Jaeger <aj@suse.de>
13148
13149 [BZ #13268]
13150 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
13151
538faaa7
UD
131522011-10-15 Ulrich Drepper <drepper@gmail.com>
13153
ab6737ff
UD
13154 * libio/iofwide.c (do_length): Avoid warning.
13155
538faaa7
UD
13156 * ctype/ctype.h (__isctype_f): Add missing __THROW.
13157
396a21b1
UD
131582011-10-14 Ulrich Drepper <drepper@gmail.com>
13159
cdf2901f
UD
13160 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
13161
38ad40ce
UD
13162 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
13163 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
13164 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
13165 * sysdeps/i386/i686/fpu/e_log.S: New file.
13166 * sysdeps/i386/i686/fpu/e_logf.S: New file.
13167 * sysdeps/i386/i686/fpu/e_logl.S: New file.
13168
396a21b1
UD
13169 * ctype/ctype.h: Add support for inlined isXXX functions when
13170 compiling C++ code.
13171
6b1f68c9
AS
131722011-10-14 Andreas Schwab <schwab@redhat.com>
13173
349290c0
AS
13174 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13175
6b1f68c9
AS
13176 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
13177
f2282d42
RM
131782011-10-13 Roland McGrath <roland@hack.frob.com>
13179
13180 [BZ #13291]
13181 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
13182
5298ffa8
AS
131832011-10-13 Andreas Schwab <schwab@redhat.com>
13184
714fad23
AS
13185 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
13186 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
13187 feraiseexcept.
13188
81dcc7fb
AS
13189 * sysdeps/x86_64/memrchr.S: Check for zero size.
13190
5298ffa8
AS
13191 * string/stratcliff.c: Add memrchr tests.
13192
951fbcec
LD
131932011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13194
13195 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13196 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
13197 rawmemchr-sse2 rawmemchr-sse2-bsf.
13198 * sysdeps/i386/i686/multiarch/memchr.S: New file.
13199 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
13200 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
13201 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
13202 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
13203 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
13204 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
13205 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
13206 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
13207 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
13208 * string/memrchr.c (MEMRCHR): New macro.
13209
0ac5ae23
UD
132102011-10-12 Ulrich Drepper <drepper@gmail.com>
13211
13212 Add integration with gcc's -ffinite-math-only and optimize wrapper
13213 functions in libm.
13214 * Versions.def: Define GLIBC_2.15 version for libm.
13215 * math/Makefile (headers): Add bits/math-finite.h.
13216 * math/bits/math-finite.h: New file.
13217 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
13218 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
13219 * math/e_acoshl.c: Add __*_finite alias.
13220 * math/e_acosl.c: Likewise.
13221 * math/e_asinl.c: Likewise.
13222 * math/e_atan2l.c: Likewise.
13223 * math/e_atanhl.c: Likewise.
13224 * math/e_coshl.c: Likewise.
13225 * math/e_exp10.c: Likewise.
13226 * math/e_exp10f.c: Likewise.
13227 * math/e_exp10l.c: Likewise.
13228 * math/e_exp2l.c: Likewise.
13229 * math/e_fmodl.c: Likewise.
13230 * math/e_gammal_r.c: Likewise.
13231 * math/e_hypotl.c: Likewise.
13232 * math/e_j0l.c: Likewise.
13233 * math/e_j1l.c: Likewise.
13234 * math/e_jnl.c: Likewise.
13235 * math/e_lgammal_r.c: Likewise.
13236 * math/e_log10l.c: Likewise.
13237 * math/e_log2l.c: Likewise.
13238 * math/e_logl.c: Likewise.
13239 * math/e_powl.c: Likewise.
13240 * math/e_sinhl.c: Likewise.
13241 * math/e_sqrtl.c: Likewise.
13242 * math/e_scalb.c: Completely rewritten and optimized.
13243 * math/e_scalbf.c: Likewise.
13244 * math/e_scalbl.c: Likewise.
13245 * math/w_acos.c: Likewise.
13246 * math/w_acosf.c: Likewise.
13247 * math/w_acosl.c: Likewise.
13248 * math/w_acosh.c: Likewise.
13249 * math/w_acoshf.c: Likewise.
13250 * math/w_acoshl.c: Likewise.
13251 * math/w_asin.c: Likewise.
13252 * math/w_asinf.c: Likewise.
13253 * math/w_asinl.c: Likewise.
13254 * math/w_atan2.c: Likewise.
13255 * math/w_atan2f.c: Likewise.
13256 * math/w_atan2l.c: Likewise.
13257 * math/w_atanh.c: Likewise.
13258 * math/w_atanhf.c: Likewise.
13259 * math/w_atanhl.c: Likewise.
13260 * math/w_exp10.c: Likewise.
13261 * math/w_exp10f.c: Likewise.
13262 * math/w_exp10l.c: Likewise.
13263 * math/w_fmod.c: Likewise.
13264 * math/w_fmodf.c: Likewise.
13265 * math/w_fmodl.c: Likewise.
13266 * math/w_j0.c: Likewise.
13267 * math/w_j0f.c: Likewise.
13268 * math/w_j0l.c: Likewise.
13269 * math/w_j1.c: Likewise.
13270 * math/w_j1f.c: Likewise.
13271 * math/w_j1l.c: Likewise.
13272 * math/w_jn.c: Likewise.
13273 * math/w_jnf.c: Likewise.
13274 * math/w_log.c: Likewise.
13275 * math/w_logf.c: Likewise.
13276 * math/w_logl.c: Likewise.
13277 * math/w_log10.c: Likewise.
13278 * math/w_log10f.c: Likewise.
13279 * math/w_log10l.c: Likewise.
13280 * math/w_log2.c: Likewise.
13281 * math/w_log2f.c: Likewise.
13282 * math/w_log2l.c: Likewise.
13283 * math/w_pow.c: Likewise.
13284 * math/w_powf.c: Likewise.
13285 * math/w_powl.c: Likewise.
13286 * math/w_remainder.c: Likewise.
13287 * math/w_remainderf.c: Likewise.
13288 * math/w_remainderl.c: Likewise.
13289 * math/w_scalb.c: Likewise.
13290 * math/w_scalbf.c: Likewise.
13291 * math/w_scalbl.c: Likewise.
13292 * math/w_sqrt.c: Likewise.
13293 * math/w_sqrtf.c: Likewise.
13294 * math/w_sqrtl.c: Likewise.
13295 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13296 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
13297 used.
13298 * math/math_private.h: Declare __kernel_standard_f.
13299 * math/w_cosh.c: Remove cruft and optimize a bit.
13300 * math/w_coshf.c: Likewise.
13301 * math/w_coshl.c: Likewise.
13302 * math/w_exp2.c: Likewise.
13303 * math/w_exp2f.c: Likewise.
13304 * math/w_exp2l.c: Likewise.
13305 * math/w_hypot.c: Likewise.
13306 * math/w_hypotf.c: Likewise.
13307 * math/w_hypotl.c: Likewise.
13308 * math/w_lgamma.c: Likewise.
13309 * math/w_lgamma_r.c: Likewise.
13310 * math/w_lgammaf.c: Likewise.
13311 * math/w_lgammaf_r.c: Likewise.
13312 * math/w_lgammal.c: Likewise.
13313 * math/w_lgammal_r.c: Likewise.
13314 * math/w_sinh.c: Likewise.
13315 * math/w_sinhf.c: Likewise.
13316 * math/w_sinhl.c: Likewise.
13317 * math/w_tgamma.c: Likewise.
13318 * math/w_tgammaf.c: Likewise.
13319 * math/w_tgammal.c: Likewise.
13320 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13321 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13322 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13323 Minor optimizations. Pretty printing. Remove cruft.
13324 * sysdeps/i386/fpu/e_acosf.S: Likewise.
13325 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13326 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13327 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13328 * sysdeps/i386/fpu/e_acosl.c: Likewise.
13329 * sysdeps/i386/fpu/e_asin.S: Likewise.
13330 * sysdeps/i386/fpu/e_asinf.S: Likewise.
13331 * sysdeps/i386/fpu/e_atan2.S: Likewise.
13332 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13333 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13334 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13335 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13336 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13337 * sysdeps/i386/fpu/e_exp10.S: Likewise.
13338 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13339 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13340 * sysdeps/i386/fpu/e_exp2.S: Likewise.
13341 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13342 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13343 * sysdeps/i386/fpu/e_fmod.S: Likewise.
13344 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13345 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13346 * sysdeps/i386/fpu/e_hypot.S: Likewise.
13347 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
13348 * sysdeps/i386/fpu/e_log.S: Likewise.
13349 * sysdeps/i386/fpu/e_log10.S: Likewise.
13350 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13351 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13352 * sysdeps/i386/fpu/e_log2.S: Likewise.
13353 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13354 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13355 * sysdeps/i386/fpu/e_logf.S: Likewise.
13356 * sysdeps/i386/fpu/e_logl.S: Likewise.
13357 * sysdeps/i386/fpu/e_pow.S: Likewise.
13358 * sysdeps/i386/fpu/e_powf.S: Likewise.
13359 * sysdeps/i386/fpu/e_powl.S: Likewise.
13360 * sysdeps/i386/fpu/e_remainder.S: Likewise.
13361 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
13362 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
13363 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13364 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13365 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13366 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
13367 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
13368 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
13369 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13370 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13371 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13372 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13373 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13374 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13375 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13376 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13377 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13378 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13379 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13380 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13381 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13382 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13383 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13384 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13385 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13386 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13387 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13388 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13389 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13390 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13391 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13392 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13393 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13394 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13395 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13396 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13397 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13398 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13399 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13400 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13401 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13402 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13403 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13404 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13405 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13406 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13407 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13408 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13409 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13410 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13411 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13412 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13413 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13414 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13415 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13416 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13417 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13418 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13419 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13420 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13421 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13422 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13423 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13424 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13425 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13426 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13427 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13428 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13429 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13430 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13431 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13432 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13433 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13434 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13435 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13436 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13437 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13438 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13439 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13440 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13441 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13442 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13443 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13444 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13445 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13446 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13447 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13448 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13449 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13450 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13451 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13452 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13453 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13454 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13455 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13456 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13457 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13458 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13459 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13460 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13461 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13462 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13463 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13464 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13465 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13466 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13467 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13468 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13469 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
13470 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
13471 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
13472 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
13473 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13474 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13475 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13476 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13477 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
13478 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13479 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
13480 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
13481 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
13482 (__isnanf): Likewise.
13483 (__isinf_ns): Likewise.
13484 (__isinf_nsf): Likewise.
13485 (__finite): Likewise.
13486 (__finitef): Likewise.
13487 (__ieee754_sqrt): Define as macro.
13488 (__ieee754_sqrtf): Define as macro.
13489 (__ieee754_sqrtl): Define as macro.
13490 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
13491 inlined copy.
13492 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
13493 __FINITE_MATH_ONLY__ consistent.
13494 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
13495
12cc2fcd
AS
134962011-10-10 Andreas Schwab <schwab@linux-m68k.org>
13497
a843a204
AS
13498 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
13499 of rawmemchr.
13500
12cc2fcd
AS
13501 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
13502
c853acd5
UD
135032011-10-09 Ulrich Drepper <drepper@gmail.com>
13504
13505 * po/ja.po: Update from translation team.
13506
c658d255
RM
135072011-10-08 Roland McGrath <roland@hack.frob.com>
13508
110946e4
RM
13509 * locale/programs/locarchive.c (prepare_address_space): New function.
13510 (create_archive, enlarge_archive, open_archive): Use it.
13511
50604220
RM
13512 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
13513 inside [SHARED], where it is used.
13514
c658d255
RM
13515 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
13516
13517 * nss/getent.c (netgroup_keys): Remove unused variable.
13518 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13519
6a621eb7
UD
135202011-10-08 Ulrich Drepper <drepper@gmail.com>
13521
7edb55ce
UD
13522 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
13523 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
13524 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
13525 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
13526 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
13527 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
13528 * math/Makefile (libm-calls): Add s_isinf_ns.
13529 * math/divtc3.c: Use __isinf_nsl instead of isinf.
13530 * math/multc3.c: Likewise.
13531 * math/s_casin.c: Likewise.
13532 * math/s_casinf.c: Likewise.
13533 * math/s_casinl.c: Likewise.
13534 * math/s_ccos.c: Likewise.
13535 * math/s_ccosf.c: Likewise.
13536 * math/s_ccosl.c: Likewise.
13537 * math/s_ctan.c: Likewise.
13538 * math/s_ctanf.c: Likewise.
13539 * math/s_ctanh.c: Likewise.
13540 * math/s_ctanhf.c: Likewise.
13541 * math/s_ctanhl.c: Likewise.
13542 * math/s_ctanl.c: Likewise.
13543 * math/w_fmod.c: Likewise.
13544 * math/w_fmodf.c: Likewise.
13545 * math/w_fmodl.c: Likewise.
13546 * math/w_remainder.c: Likewise.
13547 * math/w_remainderf.c: Likewise.
13548 * math/w_remainderl.c: Likewise.
13549 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
13550 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
13551 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
13552 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
13553 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
13554 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
13555 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
13556 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
13557
187da0ae
UD
13558 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
13559 of the number.
13560 * stdio-common/printf_fphex.c: Likewise.
13561 * stdio-common/printf_size.c: Likewise.
13562
9277c064
UD
13563 * math/e_exp10.c: Include math_private.h using <...> not "...".
13564 * math/e_exp10f.c: Likewise.
13565 * math/e_exp10l.c: Likewise.
13566 * math/e_exp2l.c: Likewise.
13567 * math/e_j0l.c: Likewise.
13568 * math/e_j1l.c: Likewise.
13569 * math/e_jnl.c: Likewise.
13570 * math/e_lgammal_r.c: Likewise.
13571 * math/e_rem_pio2l.c: Likewise.
13572 * math/e_scalb.c: Likewise.
13573 * math/e_scalbf.c: Likewise.
13574 * math/e_scalbl.c: Likewise.
13575 * math/k_cosl.c: Likewise.
13576 * math/k_sinl.c: Likewise.
13577 * math/k_tanl.c: Likewise.
13578 * math/s_cacoshf.c: Likewise.
13579 * math/s_catan.c: Likewise.
13580 * math/s_catanf.c: Likewise.
13581 * math/s_catanh.c: Likewise.
13582 * math/s_catanhf.c: Likewise.
13583 * math/s_catanhl.c: Likewise.
13584 * math/s_catanl.c: Likewise.
13585 * math/s_ccosh.c: Likewise.
13586 * math/s_ccoshf.c: Likewise.
13587 * math/s_ccoshl.c: Likewise.
13588 * math/s_cexp.c: Likewise.
13589 * math/s_cexpf.c: Likewise.
13590 * math/s_cexpl.c: Likewise.
13591 * math/s_clog.c: Likewise.
13592 * math/s_clog10.c: Likewise.
13593 * math/s_clog10f.c: Likewise.
13594 * math/s_clog10l.c: Likewise.
13595 * math/s_clogf.c: Likewise.
13596 * math/s_clogl.c: Likewise.
13597 * math/s_csin.c: Likewise.
13598 * math/s_csinf.c: Likewise.
13599 * math/s_csinh.c: Likewise.
13600 * math/s_csinhf.c: Likewise.
13601 * math/s_csinhl.c: Likewise.
13602 * math/s_csinl.c: Likewise.
13603 * math/s_csqrt.c: Likewise.
13604 * math/s_csqrtf.c: Likewise.
13605 * math/s_csqrtl.c: Likewise.
13606 * math/s_ctan.c: Likewise.
13607 * math/s_ctanf.c: Likewise.
13608 * math/s_ctanh.c: Likewise.
13609 * math/s_ctanhf.c: Likewise.
13610 * math/s_ctanhl.c: Likewise.
13611 * math/s_ctanl.c: Likewise.
13612 * math/s_ldexp.c: Likewise.
13613 * math/s_ldexpf.c: Likewise.
13614 * math/s_ldexpl.c: Likewise.
13615 * math/s_significand.c: Likewise.
13616 * math/s_significandf.c: Likewise.
13617 * math/s_significandl.c: Likewise.
13618 * math/w_acos.c: Likewise.
13619 * math/w_acosf.c: Likewise.
13620 * math/w_acosh.c: Likewise.
13621 * math/w_acoshf.c: Likewise.
13622 * math/w_acoshl.c: Likewise.
13623 * math/w_acosl.c: Likewise.
13624 * math/w_asin.c: Likewise.
13625 * math/w_asinf.c: Likewise.
13626 * math/w_asinl.c: Likewise.
13627 * math/w_atan2.c: Likewise.
13628 * math/w_atan2f.c: Likewise.
13629 * math/w_atan2l.c: Likewise.
13630 * math/w_atanh.c: Likewise.
13631 * math/w_atanhf.c: Likewise.
13632 * math/w_atanhl.c: Likewise.
13633 * math/w_cosh.c: Likewise.
13634 * math/w_coshf.c: Likewise.
13635 * math/w_coshl.c: Likewise.
13636 * math/w_dremf.c: Likewise.
13637 * math/w_exp10.c: Likewise.
13638 * math/w_exp10f.c: Likewise.
13639 * math/w_exp10l.c: Likewise.
13640 * math/w_exp2.c: Likewise.
13641 * math/w_exp2f.c: Likewise.
13642 * math/w_fmod.c: Likewise.
13643 * math/w_fmodf.c: Likewise.
13644 * math/w_fmodl.c: Likewise.
13645 * math/w_hypot.c: Likewise.
13646 * math/w_hypotf.c: Likewise.
13647 * math/w_hypotl.c: Likewise.
13648 * math/w_j0.c: Likewise.
13649 * math/w_j0f.c: Likewise.
13650 * math/w_j0l.c: Likewise.
13651 * math/w_j1.c: Likewise.
13652 * math/w_j1f.c: Likewise.
13653 * math/w_j1l.c: Likewise.
13654 * math/w_jn.c: Likewise.
13655 * math/w_jnf.c: Likewise.
13656 * math/w_jnl.c: Likewise.
13657 * math/w_lgamma.c: Likewise.
13658 * math/w_lgamma_r.c: Likewise.
13659 * math/w_lgammaf.c: Likewise.
13660 * math/w_lgammaf_r.c: Likewise.
13661 * math/w_lgammal.c: Likewise.
13662 * math/w_lgammal_r.c: Likewise.
13663 * math/w_log.c: Likewise.
13664 * math/w_log10.c: Likewise.
13665 * math/w_log10f.c: Likewise.
13666 * math/w_log10l.c: Likewise.
13667 * math/w_log2.c: Likewise.
13668 * math/w_log2f.c: Likewise.
13669 * math/w_log2l.c: Likewise.
13670 * math/w_logf.c: Likewise.
13671 * math/w_logl.c: Likewise.
13672 * math/w_pow.c: Likewise.
13673 * math/w_powf.c: Likewise.
13674 * math/w_powl.c: Likewise.
13675 * math/w_remainder.c: Likewise.
13676 * math/w_remainderf.c: Likewise.
13677 * math/w_remainderl.c: Likewise.
13678 * math/w_scalb.c: Likewise.
13679 * math/w_scalbf.c: Likewise.
13680 * math/w_scalbl.c: Likewise.
13681 * math/w_sinh.c: Likewise.
13682 * math/w_sinhf.c: Likewise.
13683 * math/w_sinhl.c: Likewise.
13684 * math/w_sqrt.c: Likewise.
13685 * math/w_sqrtf.c: Likewise.
13686 * math/w_sqrtl.c: Likewise.
13687 * math/w_tgamma.c: Likewise.
13688 * math/w_tgammaf.c: Likewise.
13689 * math/w_tgammal.c: Likewise.
13690
6a621eb7
UD
13691 * po/ja.po: Update from translation team.
13692
bf582445
AJ
136932011-09-29 Andreas Jaeger <aj@suse.de>
13694
f9efbf3a
AJ
13695 [BZ #13179]
13696 * sunrpc/netname.c (netname2host): Fix logic.
13697
bf582445
AJ
13698 [BZ #6779]
13699 [BZ #6783]
13700 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
13701 correctly.
13702 * math/w_remainder.c (__remainder): Likewise.
13703 * math/w_remainderf.c (__remainderf): Likewise.
13704 * math/libm-test.inc (remainder_test): Add test cases.
13705
48693bea
AK
137062011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13707
13708 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
13709 sdiv_qrnnd.
13710
42622229
LD
137112011-10-07 Ulrich Drepper <drepper@gmail.com>
13712
13713 * string/test-memcmp.c: Avoid unncessary #defines.
13714 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13715
093ecf92
LD
137162011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13717
13718 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
13719 Use new sse2 version for core i3 - i7 as it's faster
13720 than sse42 version.
13721 (bit_Prefer_PMINUB_for_stringop): New.
13722 * sysdeps/x86_64/rawmemchr.S: Update.
13723 Replace with faster SSE2 version.
13724 * sysdeps/x86_64/memrchr.S: New file.
13725 * sysdeps/x86_64/memchr.S: Update.
13726 Replace with faster SSE2 version.
13727
fde56e5c
MP
137282011-09-12 Marek Polacek <mpolacek@redhat.com>
13729
13730 * elf/dl-load.c (lose): Add cast to avoid warning.
13731
21fd49a9
UD
137322011-10-07 Ulrich Drepper <drepper@gmail.com>
13733
5a06e643
UD
13734 * po/ca.po: Update from translation team.
13735
684ae515
UD
13736 * inet/getnetgrent_r.c: Hook up nscd.
13737 * nscd/Makefile (routines): Add nscd_netgroup.
13738 (nscd-modules): Add netgroupcache.
13739 (CFLAGS-netgroupcache.c): Define.
13740 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
13741 (cache_search): Add const to second parameter.
13742 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
13743 INNETGR.
13744 (dbs): Add netgrdb entry.
13745 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
13746 (verify_persistent_db): Handle netgrdb.
13747 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
13748 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
13749 GETFDNETGR.
13750 (netgroup_response_header): Define.
13751 (innetgroup_response_header): Define.
13752 (datahead): Add netgroup_response_header and innetgroup_response_header
13753 elements.
13754 * nscd/nscd.conf: Add entries for netgroup cache.
13755 * nscd/nscd.h (dbtype): Add netgrdb.
13756 (_PATH_NSCD_NETGROUP_DB): Define.
13757 (netgroup_iov_disabled): Declare.
13758 (xmalloc, xcalloc, xrealloc): Move declarations here.
13759 (cache_search): Adjust prototype.
13760 Add netgroup-related prototypes.
13761 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
13762 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
13763 (__nscd_innetgr): Declare.
13764 * nscd/selinux.c (perms): Use access_vector_t as element type and
13765 add netgroup-related initializers.
13766 * nscd/netgroupcache.c: New file.
13767 * nscd/nscd_netgroup.c: New file.
13768 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
13769 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
13770 For four parameters use innetgr.
13771 * nss/nss_files/files-init.c: Add definition and callback for netgr.
13772 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
13773 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
13774 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
13775
21fd49a9
UD
13776 * nscd/connections.c (register_traced_file): Don't register file
13777 for disabled databases.
13778
054c0457
UD
137792011-10-06 Ulrich Drepper <drepper@gmail.com>
13780
32b63198
UD
13781 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
13782
054c0457
UD
13783 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
13784 from tree and freeing node.
13785
64031225
JO
137862011-09-25 Jiri Olsa <jolsa@redhat.com>
13787
13788 * nss/nsswitch.c (__nss_database_lookup): Handle
13789 nss_parse_service_list out of memory case.
13790
0490345c
JO
137912011-09-15 Jiri Olsa <jolsa@redhat.com>
13792
13793 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
13794 out of memory case.
13795
3a62d00d
AS
137962011-10-04 Andreas Schwab <schwab@redhat.com>
13797
13798 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
13799 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
13800 pass it down.
13801 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
13802 elf_machine_rela, elf_machine_lazy_rel.
13803 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
13804 (ELF_DYNAMIC_DO_REL): Likewise.
13805 (ELF_DYNAMIC_DO_RELA): Likewise.
13806 (ELF_DYNAMIC_RELOCATE): Likewise.
13807 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
13808 to ELF_DYNAMIC_DO_REL.
13809 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
13810 (dl_main): In trace mode always set __RTLD_NOIFUNC.
13811 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
13812 elf_machine_rela.
13813 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
13814 skip_ifunc, don't call ifunc function if non-zero.
13815 (elf_machine_rela): Likewise.
13816 (elf_machine_lazy_rel): Likewise.
13817 (elf_machine_lazy_rela): Likewise.
13818 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13819 (elf_machine_lazy_rel): Likewise.
13820 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13821 Likewise.
13822 (elf_machine_lazy_rel): Likewise.
13823 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13824 Likewise.
13825 (elf_machine_lazy_rel): Likewise.
13826 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
13827 (elf_machine_lazy_rel): Likewise.
13828 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
13829 (elf_machine_lazy_rel): Likewise.
13830 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13831 (elf_machine_lazy_rel): Likewise.
13832 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
13833 (elf_machine_lazy_rel): Likewise.
13834 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
13835 (elf_machine_lazy_rel): Likewise.
13836 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13837 (elf_machine_lazy_rel): Likewise.
13838
68577918
UD
138392011-09-28 Ulrich Drepper <drepper@gmail.com>
13840
13841 * nss/nss_files/files-init.c (_nss_files_init): Use static
13842 initialization for all the *_traced_file variables.
13843
68822d74
AS
138442011-09-28 Andreas Schwab <schwab@redhat.com>
13845
13846 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13847
2056100b
RM
138482011-09-27 Roland McGrath <roland@hack.frob.com>
13849
13850 [BZ #13226]
13851 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
13852
32c76b63
AS
138532011-09-27 Andreas Schwab <schwab@redhat.com>
13854
13855 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13856 Reread the line before reparsing it.
13857
bf972c9d
AS
138582011-09-26 Andreas Schwab <schwab@redhat.com>
13859
13860 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
13861
e057a1b5
JM
138622011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
13863 Maxim Kuvyrkov <maxim@codesourcery.com>
13864 Joseph Myers <joseph@codesourcery.com>
13865
13866 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
13867 if needed for __stack_chk_guard.
13868
bc7e1c36
RM
138692011-09-19 Roland McGrath <roland@hack.frob.com>
13870
ecb1482f
RM
13871 * sysdeps/posix/spawni.c (script_execute): Always define it.
13872 It will be optimized away if unused.
13873 (maybe_script_execute): New function.
13874 (__spawni): Call it.
13875
bc7e1c36
RM
13876 * Makerules: Don't include tls.make.
13877 (config-tls): Always set to thread.
13878 * tls.make.c: File removed.
13879
1c3b002b
MF
138802011-09-19 Mike Frysinger <vapier@gentoo.org>
13881
13882 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
13883 * config.make.in (CPPFLAGS-config): New substituted variable.
13884
2840865d
UD
138852011-09-15 Ulrich Drepper <drepper@gmail.com>
13886
88738eb6
UD
13887 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
13888
cbf645a6 13889 [BZ #13192]
2840865d
UD
13890 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
13891 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
13892
b402e91a
RM
138932011-09-15 Roland McGrath <roland@hack.frob.com>
13894
13895 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
13896 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
13897 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13898 (CALL_FAIL): Likewise.
13899 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
13900 (CALL_FAIL): Macro removed.
13901 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
13902
4c1a1f71
UD
139032011-09-15 Ulrich Drepper <drepper@gmail.com>
13904
13905 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
13906 for __FINITE_MATH_ONLY__ == 1.
13907
edc121be
AS
139082011-09-15 Andreas Schwab <schwab@redhat.com>
13909
13910 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
13911 __ieee754_sqrt instead of sqrt.
13912 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
13913 __ieee754_sqrtf instead of sqrtf.
13914 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
13915 __floorf instead of floorf.
13916 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
13917 __floorf, __truncf instead of floorf, truncf.
13918
cd205654
UD
139192011-09-14 Ulrich Drepper <drepper@gmail.com>
13920
ee4d0315
UD
13921 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
13922
cd205654
UD
13923 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
13924 __extern_always_inline.
13925 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
13926 32-bit.
13927
48b67d71
AS
139282011-09-14 Andreas Schwab <schwab@redhat.com>
13929
13930 * elf/rtld.c (dl_main): Also relocate in dependency order when
13931 doing symbol dependency testing.
13932
1ae12c75
AS
139332011-09-13 Andreas Schwab <schwab@linux-m68k.org>
13934
13935 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13936 Always define `refsym'.
13937
995a80df
AS
139382011-09-13 Andreas Schwab <schwab@redhat.com>
13939
e529793b
AS
13940 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
13941 (__FD_ELT): Renamed from __FDELT.
13942 * misc/bits/select2.h (__FD_ELT): Likewise.
13943 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
13944 __FD_MASK instead of __FDELT, __FDMASK.
13945 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13946 Likewise.
13947 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13948 Likewise.
13949
52d4fef8
AS
13950 * elf/Makefile (gen-ldd): Fix pattern.
13951
995a80df
AS
13952 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
13953 (init_tls): Likewise.
13954
8682f8b0
UD
139552011-09-12 Ulrich Drepper <drepper@gmail.com>
13956
13957 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
13958
de82006d
AS
139592011-09-12 Andreas Schwab <schwab@redhat.com>
13960
a7c8e6a1
AS
13961 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
13962 `struct cmsghdr *' instead of `void *'.
13963 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
13964 Likewise.
13965
0f31fe77
AS
139662011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13967
13968 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
13969 if non-absolute.
13970 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
13971 ldd_rewrite_script.
0f31fe77 13972
32b4c839
UD
139732011-09-11 Ulrich Drepper <drepper@gmail.com>
13974
83cd1420
UD
13975 * configure.in: Remove --with-tls option.
13976 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
13977 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
13978 out in case it is missing.
13979 * sysdeps/ia64/elf/configure.in: Likewise.
13980 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
13981 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
13982 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
13983 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
13984 * sysdeps/sh/elf/configure.in: Likewise.
13985 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
13986 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13987 * sysdeps/x86_64/elf/configure.in: Likewise.
13988 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
13989 * sysdeps/mach/hurd/tls.h: Likewise.
13990
633f745d
UD
13991 [BZ #13067]
13992 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
13993
f318beb8
UD
13994 [BZ #13090]
13995 * configure.in: Fix use of AC_INIT.
13996
32b4c839
UD
13997 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
13998
3ce1f295
UD
139992011-09-10 Ulrich Drepper <drepper@gmail.com>
14000
bb016596
UD
14001 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
14002 __set_errno.
8e58439c
UD
14003 * malloc/hooks.c: Likewise.
14004
aebae053 14005 [BZ #11929]
02d46fc4
UD
14006 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
14007 variables statically.
14008 (narenas): Initialize.
14009 (list_lock): Initialize.
bb016596
UD
14010 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
14011 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
14012 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
14013 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
14014 Add initializers to main_arena and mp_.
14015 (malloc_state): Remove pagesize member. Change all users to use
14016 GLRO(dl_pagesize).
14017
14018 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
14019 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
14020 is always initialized.
14021
22a89187
UD
14022 * malloc/malloc.c: Removed unused configurations and dead code.
14023 * malloc/arena.c: Likewise.
14024 * malloc/hooks.c: Likewise.
02d46fc4 14025 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 14026
d063d164
UD
14027 * include/tls.h: Removed. USE___THREAD must always be defined.
14028 * bits/libc-tsd.h: Don't handle !USE___THREAD.
14029 * elf/dl-libc.c: Likewise.
14030 * elf/dl-tsd.c: Likewise.
14031 * include/errno.h: Likewise.
14032 * include/netdb.h: Likewise.
14033 * include/resolv.h: Likewise.
14034 * inet/herrno-loc.c: Likewise.
14035 * inet/herrno.c: Likewise.
14036 * malloc/arena.c: Likewise.
14037 * malloc/hooks.c: Likewise.
14038 * malloc/malloc.c: Likewise.
14039 * resolv/res-state.c: Likewise.
14040 * resolv/res_libc.c: Likewise.
14041 * sysdeps/i386/dl-machine.h: Likewise.
14042 * sysdeps/ia64/dl-machine.h: Likewise.
14043 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14044 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14045 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14046 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14047 * sysdeps/sh/dl-machine.h: Likewise.
14048 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14049 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14050 * sysdeps/unix/i386/sysdep.S: Likewise.
14051 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14052 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
14053 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
14054 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14055 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
14056 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14057 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14058 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14059 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14060 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14061 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14062 * sysdeps/x86_64/dl-machine.h: Likewise.
14063 * tls.make.c: Likewise.
14064
3ce1f295
UD
14065 * configure.in: Remove --with-__thread option. Make tests for
14066 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
14067 tls_model attribute fail if no support is available. Remove
14068 USE_IN_LIBIO.
14069 * Makeconfig: Adjust for dropped configure option. All features are
14070 now mandatory.
14071 * Makerules: Likewise.
14072 * Versions.def: Likewise.
14073 * argp/argp-fmtstream.c: Likewise.
14074 * argp/argp-fmtstream.h: Likewise.
14075 * argp/argp-help.c: Likewise.
14076 * assert/assert.c: Likewise.
14077 * config.h.in: Likewise.
14078 * config.make.in: Likewise.
14079 * configure: Likewise.
14080 * configure.in: Likewise.
14081 * csu/Versions: Likewise.
14082 * csu/init.c: Likewise.
14083 * elf/tst-audit2.c: Likewise.
14084 * elf/tst-tls10.c: Likewise.
14085 * elf/tst-tls10.h: Likewise.
14086 * elf/tst-tls11.c: Likewise.
14087 * elf/tst-tls12.c: Likewise.
14088 * elf/tst-tls14.c: Likewise.
14089 * elf/tst-tlsmod11.c: Likewise.
14090 * elf/tst-tlsmod12.c: Likewise.
14091 * elf/tst-tlsmod13.c: Likewise.
14092 * elf/tst-tlsmod13a.c: Likewise.
14093 * elf/tst-tlsmod14a.c: Likewise.
14094 * elf/tst-tlsmod15b.c: Likewise.
14095 * elf/tst-tlsmod16a.c: Likewise.
14096 * elf/tst-tlsmod16b.c: Likewise.
14097 * elf/tst-tlsmod7.c: Likewise.
14098 * elf/tst-tlsmod8.c: Likewise.
14099 * elf/tst-tlsmod9.c: Likewise.
14100 * gmon/gmon.c: Likewise.
14101 * grp/fgetgrent_r.c: Likewise.
14102 * grp/putgrent.c: Likewise.
14103 * hurd/fopenport.c: Likewise.
14104 * include/libc-symbols.h: Likewise.
14105 * include/tls.h: Likewise.
14106 * intl/gettextP.h: Likewise.
14107 * intl/loadinfo.h: Likewise.
14108 * locale/global-locale.c: Likewise.
14109 * locale/localeinfo.h: Likewise.
14110 * mach/devstream.c: Likewise.
14111 * malloc/arena.c: Likewise.
14112 * malloc/set-freeres.c: Likewise.
14113 * misc/err.c: Likewise.
14114 * misc/getttyent.c: Likewise.
14115 * misc/mntent_r.c: Likewise.
14116 * posix/getopt.c: Likewise.
14117 * posix/wordexp.c: Likewise.
14118 * pwd/fgetpwent_r.c: Likewise.
14119 * resolv/Versions: Likewise.
14120 * resolv/res_hconf.c: Likewise.
14121 * shadow/fgetspent_r.c: Likewise.
14122 * shadow/putspent.c: Likewise.
14123 * stdio-common/printf_fphex.c: Likewise.
14124 * stdio-common/tmpfile.c: Likewise.
14125 * stdlib/abort.c: Likewise.
14126 * stdlib/fmtmsg.c: Likewise.
14127 * sunrpc/auth_unix.c: Likewise.
14128 * sunrpc/clnt_perr.c: Likewise.
14129 * sunrpc/clnt_tcp.c: Likewise.
14130 * sunrpc/clnt_udp.c: Likewise.
14131 * sunrpc/clnt_unix.c: Likewise.
14132 * sunrpc/openchild.c: Likewise.
14133 * sunrpc/svc_simple.c: Likewise.
14134 * sunrpc/svc_tcp.c: Likewise.
14135 * sunrpc/svc_udp.c: Likewise.
14136 * sunrpc/svc_unix.c: Likewise.
14137 * sunrpc/xdr.c: Likewise.
14138 * sunrpc/xdr_array.c: Likewise.
14139 * sunrpc/xdr_rec.c: Likewise.
14140 * sunrpc/xdr_ref.c: Likewise.
14141 * sunrpc/xdr_stdio.c: Likewise.
14142
1248c1c4
PB
141432011-09-09 Ulrich Drepper <drepper@gmail.com>
14144
14145 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14146
141472011-07-03 Andreas Jaeger <aj@suse.de>
14148
14149 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
14150 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
14151 regenerate with gen-libm-tests.pl.
14152
141532010-05-12 Petr Baudis <pasky@suse.cz>
14154
14155 [BZ #11589]
14156 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
14157 around j0() zero points by switching to j1().
14158 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14159 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14160 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14161 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14162
f22e1074
UD
141632011-09-09 Ulrich Drepper <drepper@gmail.com>
14164
f19009c1
UD
14165 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
14166 instead of 0.
14167 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
14168 instead of 0. .
14169 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14170 Patch in part by Pavel Roskin <proski@gnu.org>.
14171
3f8cc204
UD
14172 [BZ #13138]
14173 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
14174 realloc.
14175 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
14176 Free memory block if necessary.
14177
f22e1074
UD
14178 [BZ #12847]
14179 * libio/genops.c (INTDEF): For string streams the _lock pointer can
14180 be NULL. Don't lock in this case.
14181
0a2349f9
RM
141822011-09-09 Roland McGrath <roland@hack.frob.com>
14183
14184 * elf/elf.h (ELFOSABI_GNU): New macro.
14185 (ELFOSABI_LINUX): Define to that.
14186
f3cdd467
DZ
141872011-07-29 Denis Zaitceff <zaitceff@gmail.com>
14188
14189 * string/strncat.c (strncat): Undef the symbol in case it has been
14190 defined in bits/string.h.
14191
74718d13
UD
141922011-09-09 Ulrich Drepper <drepper@gmail.com>
14193
633e9e0f
UD
14194 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
14195
0a2349f9 14196 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
14197 link map.
14198
f9924780
AJ
141992011-08-17 Andreas Jaeger <aj@suse.de>
14200
14201 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
14202
7f5517aa
PP
142032011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14204 Ian Lance Taylor <iant@google.com>
14205
14206 * math/libm-test.inc (lround_test): New testcase.
14207 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
14208
762011fe
UD
142092011-09-08 Ulrich Drepper <drepper@gmail.com>
14210
92963737
UD
14211 * Makefile: Remove support for automatic cvs check-ins.
14212 * Makerules: Likewise.
14213 * config.make.in: Likewise.
14214 * configure.in: Likewise.
14215 * intl/Makefile: Likewise.
14216 * locale/Makefile: Likewise.
14217 * po/Makefile: Likewise.
14218 * posix/Makefile: Likewise.
14219 * sysdeps/gnu/Makefile: Likewise.
14220 * sysdeps/mach/hurd/Makefile: Likewise.
14221 * sysdeps/sparc/sparc32/Makefile: Likewise.
14222
b0727fd8
JS
14223 [BZ #13118]
14224 * posix/Makefile (bug-regex32-ENV): Define.
14225 Patch by John Stanley <jpsinthemix@verizon.net>.
14226
a0f33f99
UD
14227 * misc/Makefile (headers): Add bits/select2.h.
14228 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
14229 * misc/bits/select2.h: New file.
14230 * include/bits/select2.h: New file.
14231 * debug/Makefile (routines): Add fdelt_chk.
14232 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
14233 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
14234 FD_ISSET.
14235 * debug/fdelt_chk.c: New file.
14236
762011fe
UD
14237 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
14238 * wcsmbs/test-wmemcmp.c: Likewise.
14239 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 14240 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
14241
142422011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14243
14244 * string/Makefile (strop-tests): Add memcmp.
14245 * string/test-wmemcmp.c: New file.
14246 * string/test-memcmp.c: Add wmemcmp support.
14247
7f513ec8
RM
142482011-09-08 Roland McGrath <roland@hack.frob.com>
14249
0442afb4
RM
14250 [BZ #13153]
14251 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
14252 2011-07-19 change.
14253
7f513ec8
RM
14254 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14255 garbage value in a __mach_port_mod_refs call in the cases of the
14256 task-self and thread-self ports.
14257
a12b2239
ST
142582011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14259
14260 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14261
610f9ab4
AS
142622011-09-08 Andreas Schwab <schwab@redhat.com>
14263
7f513ec8 14264 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 14265
48882a1a
LD
142662011-09-07 Ulrich Drepper <drepper@gmail.com>
14267
b49865be
UD
14268 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14269
fdc86bc9
UD
14270 * elf/dl-libc.c (dlerror_run): Pass back error code from
14271 dl_catch_error.
14272
c966526a
UD
14273 [BZ #13123]
14274 * elf/dl-load.c (lose): Free l_origin if it is valid.
14275
48882a1a
LD
14276 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14277 names.
14278 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14279 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14280 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14281 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14282 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14283 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14284
77a2a8b4
AZ
142852011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14286
14287 * sysdeps/powerpc/fpu/e_hypot.c: New file.
14288 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14289 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14290 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14291 * sysdeps/powerpc/fpu/k_cosf.c: New file.
14292 * sysdeps/powerpc/fpu/k_sinf.c: New file.
14293 * sysdeps/powerpc/fpu/s_cosf.c: New file.
14294 * sysdeps/powerpc/fpu/s_sinf.c: New file.
14295 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14296 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14297
24f579d8
AM
142982011-08-15 Alan Modra <amodra@gmail.com>
14299
14300 [BZ #13092]
14301 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14302 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14303 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
14304 ppc_mcount to static-only-routines.
14305 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14306 __mcount_internal.
14307 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14308 __mcount_internal with usual JUMPTARGET. Remove useless nop.
14309
3d4837df
UD
143102011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
14311
14312 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14313 for finite and infinity parameters.
14314
22700377
WS
143152011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14316
14317 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14318 and add nop instructions for throughput optimization.
14319 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14320
5025581e
WS
143212011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
14322
14323 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14324 aligned copy for power7 with vector-scalar instructions.
14325 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14326
08a300c9
L
143272011-07-24 H.J. Lu <hongjiu.lu@intel.com>
14328
14329 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14330 AVX check.
14331
59178ef9
AS
143322011-09-07 Andreas Schwab <schwab@redhat.com>
14333
14334 [BZ #13144]
14335 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14336 last change.
14337
e38ba7ab
UD
143382011-09-07 Ulrich Drepper <drepper@gmail.com>
14339
14340 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14341 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14342 syscall wrapper around clock_gettime in __vdso_clock_gettime.
14343 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14344 clock_gettime.
14345
d53a73ac
UD
143462011-09-06 Ulrich Drepper <drepper@gmail.com>
14347
fc8bffcc
UD
14348 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
14349 Forgot to demangle the pointer.
14350
ceaa0c5d
UD
14351 * sysdeps/i386/sysdep.h: Define atom_text_section.
14352 * sysdeps/x86_64/sysdep.h: Likewise.
14353 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
14354 section with atom_text_section.
14355 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14356 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14357 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14358 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14359 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
14360
a77d3c17
UD
14361 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
14362 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
14363 already be defined. Change to take two parameters and don't assign
14364 result to variable. Adjust all users.
14365 Define INTERNAL_GETTIME if not already defined.
14366 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
14367 call.
14368 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
14369 HAVE_CLOCK_GETTIME_VSYSCALL.
14370 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
14371
d53a73ac
UD
14372 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
14373 gettimeofday vsyscall, just use time.
14374
a8f84144
AS
143752011-09-06 Andreas Schwab <schwab@redhat.com>
14376
14377 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
14378 <errno.h>.
14379
ef606249
UD
143802011-09-06 Ulrich Drepper <drepper@gmail.com>
14381
14382 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
14383 syscall on x86-64.
14384 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
14385 syscall.
14386 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14387 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
14388 syscall if possible.
14389
6585cb60
UD
143902011-09-05 Ulrich Drepper <drepper@gmail.com>
14391
14392 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
14393 e_ident. Don't pass to find_mapsXX.
14394 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
14395
a5f524e4
LD
143962011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14397
14398 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14399 strchr-sse2-no-bsf strrchr-sse2-no-bsf
14400 * sysdeps/x86_64/multiarch/strchr.S: Update.
14401 Check bit_slow_BSF bit.
14402 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14403 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
14404 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
14405
554881ef
UD
144062011-09-05 Ulrich Drepper <drepper@gmail.com>
14407
d96de963
UD
14408 [BZ #13134]
14409 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
14410 before glibc 2.15.
14411 (tryshell): Define.
14412 (__spawni): Change last parameter to be flag. Test
14413 SPAWN_XFLAGS_USE_PATH flag to use path or not.
14414 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
14415 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
14416 * posix/spawni.c: Likewise.
14417 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
14418 * posix/spawnp.c: Likewise. Change normal version to use
14419 SPAWN_XFLAGS_USE_PATH.
14420 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
14421 SPAWN_XFLAGS_TRY_SHELL.
14422
d48e5868
UD
14423 [BZ #13150]
14424 * posix/glob.h: Remove gcc 1.x support.
14425
554881ef
UD
14426 [BZ #13068]
14427 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
14428
693fb948
LD
144292011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14430
14431 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14432 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
14433 strrchr-sse2-bsf
14434 * sysdeps/i386/i686/multiarch/strchr.S: New file.
14435 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
14436 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
14437 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
14438 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
14439 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
14440
1b48c537
UD
144412011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14442
49d42c37
UD
14443 * sysdeps/x86_64/wcscmp.S: New file.
14444
1b48c537
UD
14445 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
14446 wcscmp-c wcscmp-sse2
14447 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
14448 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
14449 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
14450 * wcsmbs/wcscmp.c: Allow renaming.
14451
15c95c5d
DM
144522011-09-05 David S. Miller <davem@davemloft.net>
14453
14454 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
14455 stack slot, rather than the struct return pointer slot.
14456 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
14457 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
14458 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
14459 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
14460
2f0ad8f3
UD
144612011-09-05 Ulrich Drepper <drepper@gmail.com>
14462
d88ae418
UD
14463 * po/ja.po: Update from translation team.
14464
2f0ad8f3
UD
14465 [BZ #13144]
14466 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
14467 kernel in 64-bit binaries.
14468
5f4318d1
DM
144692011-09-01 David S. Miller <davem@davemloft.net>
14470
14471 * elf/elf.h (HWCAP_SPARC_*): Move to..
14472 * sysdeps/sparc/sysdep.h: this new file and add new values.
14473 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
14474 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
14475 _DL_HWCAP_COUNT to 24.
14476 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14477 entries.
14478 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
14479 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
14480 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
14481 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
14482 instead of magic constants.
14483 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14484
3ba57516
DM
144852011-08-31 David S. Miller <davem@davemloft.net>
14486
14487 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
14488 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
14489 Reimplement to do errno handling inline.
14490 (SYSCALL_ERROR_HANDLER): New macro.
14491 (__SYSCALL_STRING): Do not do errno handling in asm.
14492 (__CLONE_SYSCALL_STRING): Delete.
14493 (__INTERNAL_SYSCALL_STRING): Delete.
14494 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
14495 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
14496 (PSEUDO): Reimplement to do errno handling inline.
14497 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
14498 (SYSCALL_ERROR_HANDLER): New macro.
14499 (__SYSCALL_STRING): Do not do errno handling in asm.
14500 (__CLONE_SYSCALL_STRING): Delete.
14501 (__INTERNAL_SYSCALL_STRING): Delete.
14502 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
14503 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
14504 i386.
14505 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
14506 (inline_syscall*): Add 'err' argument.
14507 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
14508 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
14509 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
14510 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
14511
14512 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
14513 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14514
2bc17433
AS
145152011-08-30 Andreas Schwab <schwab@redhat.com>
14516
14517 * elf/rtld.c (dl_main): Relocate objects in dependency order.
14518
fbeb5f4d
JO
145192011-08-29 Jiri Olsa <jolsa@redhat.com>
14520
14521 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
14522 directive.
14523
ad69cc26
DM
145242011-08-24 David S. Miller <davem@davemloft.net>
14525
14526 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
14527
39dd69df
AS
145282011-08-24 Andreas Schwab <schwab@redhat.com>
14529
14530 * elf/Makefile: Add rules to build and run unload8 test.
14531 * elf/unload8.c: New file.
14532 * elf/unload8mod1.c: New file.
14533 * elf/unload8mod1x.c: New file.
14534 * elf/unload8mod2.c: New file.
14535 * elf/unload8mod3.c: New file.
14536
14537 * elf/dl-close.c (_dl_close_worker): Reset private search list if
14538 it wasn't used.
14539
2c0b250a
DM
145402011-08-23 David S. Miller <davem@davemloft.net>
14541
14542 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
14543 subtract stack bias.
14544 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
14545 %sp not %fp in calculations.
14546 (_JMPBUF_UNWINDS_ADJ): Likewise.
14547
22044b48
DM
14548 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
14549 (aio_suspend): Call it to force an exception region around the
14550 AIO_MISC_WAIT() invocation.
14551
2cae4995
AS
145522011-08-23 Andreas Schwab <schwab@redhat.com>
14553
14554 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
14555 backslash.
14556
873a772e
AJ
145572011-07-04 Aurelien Jarno <aurelien@aurel32.net>
14558
14559 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
14560 protection macro.
14561 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
14562 and <dl-machine.h>.
14563 (Elf64_FuncDesc): Remove.
14564
25ad0df1
DM
145652011-08-22 David S. Miller <davem@davemloft.net>
14566
14567 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
14568 sigaltstack check, add missing cfi directives.
14569 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
14570 missing cfi directives, and sigaltstack handling.
14571
e888bcbe
AS
145722011-08-16 Andreas Schwab <schwab@redhat.com>
14573
14574 [BZ #11724]
14575 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
14576 object is seen twice.
14577 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14578
14579 * elf/Makefile (distribute): Add tst-initorder2.c.
14580 (tests): Add tst-initorder2.
14581 (modules-names): Add tst-initorder2a tst-initorder2b
14582 tst-initorder2c tst-initorder2d. Add rules to build them.
14583 ($(objpfx)tst-initorder2.out): New rule.
14584 * elf/tst-initorder2.c: New file.
14585 * elf/tst-initorder2.exp: New file.
14586
87162f46
AS
145872011-08-22 Andreas Schwab <schwab@redhat.com>
14588
70538b7f
AS
14589 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
14590
f55ffe58
AS
14591 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
14592 dependencies back to end of function.
14593
87162f46
AS
14594 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14595 $(elfobjdir)/ld.so.
14596
91b392a4
UD
145972011-08-21 Ulrich Drepper <drepper@gmail.com>
14598
14599 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
14600 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
14601 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
14602 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
14603 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
14604 of __vdso_gettimeofday.
14605 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
14606 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
14607 attribute_hidden.
14608 (_libc_vdso_platform_setup): Remove initialization of
14609 __vdso_gettimeofday and __vdso_time.
14610
5c43483f
UD
146112011-08-20 Ulrich Drepper <drepper@gmail.com>
14612
775a77e7
UD
14613 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
14614 and fgetc_unlocked.
14615 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
14616 getc_unlocked.
89f447ed 14617
49c74ba9
UD
14618 * elf/dl-open.c (add_to_global): Report additions to the global scope
14619 for LD_DEBUG=scopes.
14620 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 14621 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 14622
5c43483f
UD
14623 [BZ #13114]
14624 * stdio-common/Makefile (tests): Add bug24.
14625 * stdio-common/bug24.c: New file.
14626
a101b025
AJ
146272011-08-19 Andreas Jaeger <aj@suse.de>
14628
14629 [BZ #13114]
14630 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
14631 non-existant file when using close-on-exec mode.
14632
c88f1766
UD
146332011-08-20 Ulrich Drepper <drepper@gmail.com>
14634
0276a718
UD
14635 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
14636 the very first instruction.
14637
c88f1766
UD
14638 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
14639 the CFI state in the end.
14640 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
14641 inclusion of dl-trampoline.h.
14642 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
14643
51ccffa0
AS
146442011-08-19 Andreas Schwab <schwab@redhat.com>
14645
94d7165f
AS
14646 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
14647 expectations for long double.
14648
51ccffa0
AS
14649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
14650 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
14651
fd708658 146522011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
14653
14654 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
14655 artificual limit depends upon the system page size.
14656
44f0a71e
UD
146572011-08-17 Ulrich Drepper <drepper@gmail.com>
14658
14659 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
14660 * resolv/Makefile: Define CFLAGS-libresolv.
14661
8de79a24
AS
146622011-08-17 Andreas Schwab <schwab@redhat.com>
14663
14664 * nss/makedb.c (compute_tables): Make variables used in nested
14665 function static.
14666
27724598
UD
146672011-08-17 Ulrich Drepper <drepper@gmail.com>
14668
c5305d88
UD
14669 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
14670 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
14671 if buffer was too small.
14672
27724598
UD
14673 * elf/pldd.c (main): Attach to all threads in the process.
14674 Rewrite /proc handling to use *at functions.
14675
076fe015
UD
146762011-08-16 Ulrich Drepper <drepper@gmail.com>
14677
174baab3
UD
14678 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
14679 specifies first scope to show.
14680 (dl_open_worker): Update callers. Move printing scope of new
14681 object to before the relocation.
44f0a71e 14682 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
14683 * sysdeps/generic/ldsodefs.h: Update declaration.
14684
076fe015
UD
14685 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
14686 string for the scope number.
14687
a60df2c3
UD
146882011-08-14 Ulrich Drepper <drepper@gmail.com>
14689
14690 * nscd/servicescache.c (cache_addserv): Make sure written is always
14691 initialized.
14692
5e4287d1
RM
146932011-08-14 Roland McGrath <roland@hack.frob.com>
14694
85ae0589
RM
14695 * sysdeps/i386/i486/bits/atomic.h
14696 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
14697 statement expression, so as to suppress "set but not used" warning.
14698 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
14699
69f63097
RM
14700 * string/strncat.c (STRNCAT): Use prototype definition.
14701
675456ef
RM
14702 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
14703 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
14704 -Iprograms here.
14705 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
14706 (localedef-modules): Add localedef.
14707 (locale-modules): Add locale.
14708
5e4287d1
RM
14709 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
14710 * elf/rtld.c (dl_main): Invert order of assignment in last change,
14711 to avoid a warning.
14712
9c96ff23
DM
147132011-08-14 David S. Miller <davem@davemloft.net>
14714
14715 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
14716 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
14717
f9ddf089
UD
147182011-08-13 Ulrich Drepper <drepper@gmail.com>
14719
44f0a71e 14720 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
14721 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
14722 * elf/rtld.c (dl_main): Set l_name of vDSO.
14723 Call _dl_show_scope when DL_DEBUG_SCOPES.
14724 (process_dl_debug): Recognize scopes flag and also set it for all.
14725 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
14726 Declare _dl_show_scope.
14727
1dc27704
UD
14728 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
14729 (do_dlopen): Pass caller_dlopen to dl_open.
14730 (__libc_dlopen_mode): Initialize caller_dlopen.
14731
f9ddf089
UD
14732 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
14733 of libc. Make tolower call locale-independent. Optimize a bit by
14734 using isdigit instead of isalnum.
14735 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
14736
9ac533d3
UD
147372011-08-12 Ulrich Drepper <drepper@gmail.com>
14738
14739 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
14740 was a dependency or dynamically loaded.
14741
89edf2e9
UD
147422011-08-11 Ulrich Drepper <drepper@gmail.com>
14743
8e999d29
UD
14744 * intl/l10nflist.c: Allow architecture-specific pop function.
14745 * sysdeps/x86_64/l10nflist.c: New file.
14746
89edf2e9
UD
14747 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
14748 classification.
14749
14d96785
AS
147502011-08-10 Andreas Schwab <schwab@redhat.com>
14751
14752 * include/dirent.h: Add libc_hidden_proto for scandirat and
14753 scandirat64. Don't declare __scandirat64.
14754 * dirent/scandirat.c: Add libc_hidden_def.
14755 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
14756 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
14757
6761ac04
DM
147582011-08-10 David S. Miller <davem@davemloft.net>
14759
14760 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
14761 enum.
14762 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14763 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14764 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14765
c55fbd1e
UD
147662011-08-09 Ulrich Drepper <drepper@gmail.com>
14767
14768 * Versions.def [libc]: Add GLIBC_2.15.
14769 * dirent/Makefile (routines): Add scandirat and scandirat64.
14770 * dirent/Versions [libc]: Export scandirat and scandirat64 for
14771 GLIBC_2.15.
14772 * dirent/dirent.h: Declare scandirat and scandirat64.
14773 * dirent/scandirat.c: New file.
14774 * dirent/scandirat64.c: New file.
14775 * sysdeps/wordsize-64/scandirat.c: New file.
14776 * sysdeps/wordsize-64/scandirat64.c: New file.
14777 * dirent/opendir.c: Define opendirat.
14778 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
14779 using scandirat.
14780 * dirent/scandir64.c: Adjust for scandir.c change.
14781 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
14782 __scandirat64, and __scandir_cancel_handler.
14783 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
14784 additional parameter and use openat instead of open (outside of ld.so).
14785 Add new __opendir as wrapper around __opendirat.
14786 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
14787 here without requiring old scandirat implementation.
14788
879165f2
UD
147892011-08-08 Ulrich Drepper <drepper@gmail.com>
14790
14791 * dirent/scandir.c (cancel_handler): Renamed to
14792 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
14793 defined. Adjust users.
14794 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
14795 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14796
cb7e923b
UD
147972011-08-04 Ulrich Drepper <drepper@gmail.com>
14798
16292edd
UD
14799 * string/test-string.h (IMPL): Use __STRING to expand name and then
14800 stringify it.
14801
cb7e923b
UD
14802 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
14803 of cleanups.
14804
cff82933
LD
148052011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14806
14807 * string/Makefile: Update.
14808 (strop-tests): Append strncat.
14809 * string/test-wcscmp.c: New file.
14810 New comprehensive test for wcscmp.
14811 * string/test-strcmp.c: Update.
14812 (WIDE): New define.
14813
9be9bfcc
AS
148142011-07-22 Andreas Schwab <schwab@redhat.com>
14815
14816 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
14817 line.
14818
2e96f1c7
AS
148192011-07-26 Andreas Schwab <schwab@redhat.com>
14820
14821 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14822 encoding to ACE if AI_IDN.
14823
85188888
JJ
148242011-08-01 Jakub Jelinek <jakub@redhat.com>
14825
14826 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
14827 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
14828
5fa16e9b
LD
148292011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14830
14831 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
14832 Fix overflow bug in strncat.
14833 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
14834
14835 * string/test-strncat.c: Update.
14836 Add new tests for checking overflow bugs.
14837
148382011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14839
14840 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14841 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
14842 * sysdeps/i386/i686/multiarch/strcat.S: New file.
14843 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
14844 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
14845 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
14846 * sysdeps/i386/i686/multiarch/strncat.S: New file.
14847 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
14848 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
14849
14850 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
14851 (USE_AS_STRCAT): Define.
14852 Add strcat and strncat support.
14853 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14854
8c1a459f
AS
148552011-07-25 Andreas Schwab <schwab@redhat.com>
14856
14857 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
14858 __n bigger than INT_MAX+1.
14859 (__strncmp_g): Likewise.
14860
bba33c28
UD
148612011-07-23 Ulrich Drepper <drepper@gmail.com>
14862
798be72d
UD
14863 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
14864 * libio/stido.h: Likewise.
14865
8accd4dc
UD
14866 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
14867 (AF_NFC): Define.
14868 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
14869 (AF_NFC): Define.
14870
cbff0d96
UD
14871 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
14872 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14873 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14874 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14875 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14876
9191c04a
UD
14877 [BZ #13021]
14878 * scripts/test-installation.pl: Don't expect libnss_test1 to be
14879 installed.
14880
bba33c28
UD
14881 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
14882 typo.
14883 (_dl_x86_64_save_sse): Likewise.
14884
90f139dd
UD
148852011-07-22 Ulrich Drepper <drepper@gmail.com>
14886
1aae088a
UD
14887 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
14888 OSXSAVE.
14889 (_dl_x86_64_save_sse): Likewise.
14890
8e2045f5
UD
14891 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
14892
90f139dd
UD
14893 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
14894
1d002f25
AS
148952011-07-21 Andreas Schwab <schwab@redhat.com>
14896
14897 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
14898 change.
14899 (_dl_x86_64_save_sse): Use correct AVX check.
14900
21137f89
UD
149012011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14902
14903 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
14904 bug in strncpy/strncat.
14905 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
14906
a65c0b7a
UD
149072011-07-21 Ulrich Drepper <drepper@gmail.com>
14908
14909 * string/tester.c (test_strcat): Add tests for different alignments
14910 of source and destination.
14911 (test_strncat): Likewise.
14912
6986b98a
UD
149132011-07-20 Ulrich Drepper <drepper@gmail.com>
14914
90bb2039
UD
14915 [BZ #12852]
14916 * posix/glob.c (glob): Check passed in values before using them in
14917 expressions to avoid some overflows.
14918 (glob_in_dir): Likewise.
14919
5644ef54
UD
14920 [BZ #13007]
14921 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
14922 check for AVX enablement so that we don't crash with old kernels and
14923 new hardware.
14924 * elf/tst-audit4.c: Add same checks here.
14925 * elf/tst-audit6.c: Likewise.
14926
14927 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 14928
bfc9dc9b
AS
149292011-07-09 Andreas Schwab <schwab@linux-m68k.org>
14930
14931 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
14932
702e64bb
UD
149332011-07-20 Ulrich Drepper <drepper@gmail.com>
14934
14935 * po/cs.po: Update from translation team.
14936 * po/bg.po: Likewise.
14937
295e904f
MP
149382011-07-12 Marek Polacek <mpolacek@redhat.com>
14939
14940 * misc/sys/cdefs.h: Add support for const attribute.
14941 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
14942 to gnu_dev_{major,minor,makedev} functions.
14943
3ff94596
MP
149442011-07-20 Marek Polacek <mpolacek@redhat.com>
14945
14946 * intl/dcigettext.c (get_output_charset): Add missing bracket.
14947
28b59fca
AS
149482011-07-20 Andreas Schwab <schwab@redhat.com>
14949
14950 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
14951 strlen results.
14952
19df733e
AK
149532011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14954
14955 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14956 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
14957 register in order to avoid conflicts with the soft frame pointer
14958 being held in r11 when necessary.
14959 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14960 (INTERNAL_VSYSCALL_NCS): Likewise.
14961
c8835729
MP
149622011-07-14 Marek Polacek <mpolacek@redhat.com>
14963
14964 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
14965 * elf/dl-fini.c (_dl_fini): Adjust caller.
14966 * elf/dl-close.c (_dl_close_worker): Likewise.
14967 * sysdeps/generic/ldsodefs.h: Adjust declaration.
14968
b902330c
MP
149692011-07-15 Marek Polacek <mpolacek@redhat.com>
14970
8991e135
MP
14971 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
14972 "aux_cache->nlibs < 0".
14973
b902330c
MP
14974 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
14975 in the reload-count case.
14976
99710781
LD
149772011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14978
14979 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14980 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
14981 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
14982 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
14983 * sysdeps/x86_64/multiarch/strcat.S: New file.
14984 * sysdeps/x86_64/multiarch/strncat.S: New file.
14985 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
14986 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
14987 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
14988 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
14989 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
14990 (USE_AS_STRCAT): Define.
14991 Add strcat and strncat support.
14992 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14993 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14994 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
14995 * string/strncat.c: Update.
14996 (USE_AS_STRNCAT): Define.
14997 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14998 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
14999 and i7.
15000 * sysdeps/x86_64/multiarch/init-arch.h
15001 (bit_Prefer_PMINUB_for_stringop): New.
15002 (index_Prefer_PMINUB_for_stringop): Likewise.
15003 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
15004 bit_Prefer_PMINUB_for_stringop.
15005
7dc6bd90
UD
150062011-07-19 Ulrich Drepper <drepper@gmail.com>
15007
15008 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
15009 buffer64.
15010 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
15011 of casting of buffer.
15012 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
15013 buffer32 and buffer64.
15014 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
15015 writes instead of casting of buffer.
15016 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
15017 buffer32.
15018 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
15019 casting of buffer.
15020
e0e72284
AS
150212011-07-19 Andreas Schwab <schwab@redhat.com>
15022
15023 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
15024
feb1eb0b
UD
150252011-07-19 Ulrich Drepper <drepper@gmail.com>
15026
15027 * nscd/nscd.c (termination_handler): Don't do anything for a database
15028 if it has not yet been initialized.
15029
298711ff
UD
150302011-07-18 Ulrich Drepper <drepper@gmail.com>
15031
15032 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15033
150342011-07-15 Marek Polacek <mpolacek@redhat.com>
15035
15036 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15037
f9d68389
UD
150382011-07-18 Ulrich Drepper <drepper@gmail.com>
15039
15040 * po/nl.po: Update from translation team.
15041 * po/sv.po: Likewise.
15042
db290cf5
RM
150432011-07-16 Roland McGrath <roland@hack.frob.com>
15044
15045 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
15046 now disallowed by GCC.
5c550700 15047
fd5e21c7
RM
15048 * configure.in (use-default-link): Default to yes if a test -shared
15049 link meets our qualifications.
15050 * configure: Regenerated.
15051
5c550700
RM
15052 * config.make.in (output-format): New variable.
15053 * configure.in: Check for ld --print-output-format support.
15054 * configure: Regenerated.
15055 * Makerules ($(common-objpfx)format.lds)
15056 [$(output-format) != unknown]: Just use $(output-format),
15057 instead of the linker-script munging.
15058
9fa2c032
RM
150592011-07-14 Roland McGrath <roland@hack.frob.com>
15060
a6928d51
RM
15061 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
15062 of $(common-objpfx)shlib.lds.
15063 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
15064
661607b3
RM
15065 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
15066 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
15067
9fa2c032
RM
15068 * configure.in (-z relro check): Adjust test code to add a large
15069 writable data section after it.
15070 * configure: Regenerated.
15071
defe9061
RM
150722011-07-11 Roland McGrath <roland@hack.frob.com>
15073
15074 * configure.in (-z relro check): Fix test code to make the variable
15075 truly const.
15076 * configure: Regenerated.
15077
319b9ad4
UD
150782011-07-11 Ulrich Drepper <drepper@gmail.com>
15079
15080 * nscd/nscd.h (struct traced_file): Define.
15081 (struct database_dyn): Remove inotify_descr, reset_res, and filename
15082 elements. Add traced_files.
15083 (inotify_fd): Declare.
15084 (register_traced_file): Declare.
15085 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
15086 (inotify_fd): Export.
15087 (resolv_conf_descr): Remove.
15088 (nscd_init): Move inotify descriptor creation to main.
15089 Don't register files for notification here.
15090 (register_traced_file): New function.
15091 (invalidate_cache): Don't use reset_res to determine whether to call
15092 res_init, go through the list of registered files.
15093 (main_loop_poll): The inotify descriptors are now stored in the
15094 structures for the traced files.
15095 (main_loop_epoll): Likewise
15096 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
15097 to __nss_disable_nscd.
15098 * nscd/cache.c (prune_cache): There is no single inotify descriptor
15099 for a database anymore. Check the records for all the registered
15100 files instead.
15101 * nss/Makefile (libnss_files-routines): Add files-init.
15102 (libnss_db-routines): Add db-init.
15103 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
15104 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
15105 * nss/nss_db/db-init.c: New file.
15106 * nss/nss_files/files-init.c: New file.
15107 * nss/nsswitch.c (nss_load_library): New function. Broken out of
15108 __nss_lookup_function.
15109 (__nss_lookup_function): Call nss_load_library.
15110 (nss_load_all_libraries): New function.
15111 (__nss_disable_nscd): Take parameter with callback function for files
15112 to register. Set is_nscd. Load all the DSOs for the NSS modules
15113 used for the cached services.
15114 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
15115 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
15116 options for features to all the files in nscd.
15117
15118 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
15119
23bee3e8
RM
151202011-07-10 Roland McGrath <roland@hack.frob.com>
15121
15122 * csu/elf-init.c (__libc_csu_init): Comment typo.
15123
46a5b7f0
UD
151242011-07-09 Ulrich Drepper <drepper@gmail.com>
15125
15126 * po/pl.po: Update from translation team.
15127 * po/ja.po: Likewise.
15128 * po/ru.po: Likewise.
15129 * po/ko.po: Likewise.
15130 * po/fr.po: Likewise.
15131
d30cf5bb
RM
151322011-07-09 Roland McGrath <roland@hack.frob.com>
15133
113ddea4
RM
15134 * configure.in (.ctors/.dtors header and trailer check):
15135 Use an empirical test on a built program.
15136 * configure: Regenerated.
15137
574920b4
RM
15138 * configure.in (-z relro check): Use an empirical test on a built DSO.
15139 Detect, but do not require, on ia64.
15140 * configure: Regenerated.
15141
d30cf5bb
RM
15142 * configure.in (READELF): Find it with AC_CHECK_TOOL.
15143 Update tests that use readelf to use $READELF instead.
15144 * configure: Regenerated.
15145
8538fdb3
UD
151462011-07-08 Ulrich Drepper <drepper@gmail.com>
15147
15148 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
15149 if the result is not used.
15150
04d08991
AJ
151512011-07-05 Andreas Jaeger <aj@suse.de>
15152
15153 [BZ#9696]
15154 * stdlib/tst-strtod.c: Add testcase.
15155
de283087
AD
151562011-07-07 Ulrich Drepper <drepper@gmail.com>
15157
4e5f31c8 15158 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 15159 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
15160 The latter has a higher limit. Take additional parameter to pass to
15161 the new function.
15162 (__pathconf): Pass file to __statfs_link_max.
15163 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
15164 __statfs_link_max.
15165 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
15166 __statfs_link_max.
15167
de283087
AD
15168 [BZ #12868]
15169 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
15170 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15171 Handle Lustre.
15172 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
15173 (__statfs_filesize_max): Likewise.
15174 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
15175
c75fa153
AJ
151762011-07-05 Andreas Jaeger <aj@suse.de>
15177
15178 * resolv/res_comp.c (dn_skipname): Remove unused variable.
15179
1a544854
UD
151802011-07-06 Marek Polacek <mpolacek@redhat.com>
15181
15182 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
15183 `status' variable.
15184 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
15185 Likewise.
15186
6f0eec67
UD
151872011-07-04 H.J. Lu <hongjiu.lu@intel.com>
15188
15189 * Makefile (strop-tests): Add strncat.
15190 * string/test-strncat.c: New file.
15191
aae30307
UD
151922011-06-30 Marek Polacek <mpolacek@redhat.com>
15193
15194 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
15195
c0cfb5eb
UD
151962011-06-21 Andreas Jaeger <aj@suse.de>
15197
15198 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
15199 Copy rule from iconvdata/Makefile.
15200
01636b21
UD
152012011-07-06 Ulrich Drepper <drepper@gmail.com>
15202
15203 [BZ #12922]
15204 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
15205 but no long options are defined, just return 'W'.
15206
9895c8bc
UD
152072011-06-22 Marek Polacek <mpolacek@redhat.com>
15208
15209 [BZ #9696]
15210 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
15211
5d4cf042
UD
152122011-07-06 Ulrich Drepper <drepper@gmail.com>
15213
15214 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
15215 netgroups to read.
960e5535 15216 (innetgr): Likewise.
5d4cf042 15217
751eb97e
RM
152182011-07-05 Roland McGrath <roland@hack.frob.com>
15219
15220 * config.make.in (install_root): Default to $(DESTDIR).
15221
f15f1e45
UD
152222011-07-05 Ulrich Drepper <drepper@gmail.com>
15223
15224 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
15225
4e34ac6a
RM
152262011-07-02 Roland McGrath <roland@hack.frob.com>
15227
5e9b6af4
RM
15228 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
15229
84f9ea0f
RM
15230 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
15231 containing directory rather than embedding absolute directory names.
15232
ea5ee9f7
RM
15233 * scripts/check-local-headers.sh: Rewritten using awk.
15234 Match by word, not by line. Print error messages for matches.
15235 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
15236
1b74661a
RM
15237 * Makerules [shlib-lds-flags empty]:
15238 ($(common-objpfx)libc_pic.opts): New target.
15239 ($(common-objpfx)libc_pic.os.clean): New target.
15240 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
15241
15242 * config.make.in (OBJCOPY): New variable.
15243 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
15244 * configure: Regenerated.
15245
f781ef40
RM
15246 * config.make.in (use-default-link): New variable.
15247 * configure.in (use_default_link): Grok --with-default-link to set it.
15248 * configure: Regenerated.
15249 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
15250 (shlib-lds, shlib-lds-flags): Define to empty.
15251
2d4fa81e
RM
15252 * Makerules (shlib-lds): New variable.
15253 (shlib-lds-flags): New variable.
15254 (build-shlib, build-moduile, build-module-asneeded): Use it.
15255 ($(common-objpfx)libc.so): Use $(shlib-lds).
15256 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15257 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15258
31fffa6b
RM
15259 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15260 DT_FLAGS/DT_FLAGS_1 with zero flags.
15261
4e34ac6a
RM
15262 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15263 linker script munging.
15264
fcfc776b
UD
152652011-07-02 Ulrich Drepper <drepper@gmail.com>
15266
15267 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15268 as 128-bit value.
15269 * crypt/sha512.c (sha512_process_block): Perform total addition using
15270 128-bit if possible.
15271 (__sha512_finish_ctx): Likewise.
15272 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15273 as 64-bit value.
15274 * crypt/sha256.c (SWAP64): Define.
15275 (sha256_process_block): Perform total addition using 64-bit if
15276 possible.
15277 (__sha256_finish_ctx): Likewise.
15278
99231d9a
UD
152792011-07-01 Ulrich Drepper <drepper@gmail.com>
15280
15281 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
15282 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15283 * nscd/hstcache.c (cache_addhst): Likewise.
15284 * nscd/grpcache.c (cache_addgr): Likewise.
15285 * nscd/aicache.c (addhstaiX): Likewise
15286 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15287
445b4a53
TK
152882011-07-01 Thorsten Kukuk <kukuk@suse.de>
15289
15290 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15291 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15292 * nscd/hstcache.c (cache_addhst): Likewise.
15293 * nscd/grpcache.c (cache_addgr): Likewise.
15294 * nscd/aicache.c (addhstaiX): Likewise
15295
6d4d8e8e
AS
152962011-07-01 Andreas Schwab <schwab@redhat.com>
15297
15298 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15299 domain only when needed.
15300
89f654c5
AS
153012011-06-30 Andreas Schwab <schwab@redhat.com>
15302
15303 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15304 is always restored.
15305
cf3b23ff
UD
153062011-06-29 Ulrich Drepper <drepper@gmail.com>
15307
15308 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15309 are re-adding the entry.
15310 * nscd/servicescache.c (cache_addserv): Likewise.
15311
751626f9
AJ
153122011-06-30 Aurelien Jarno <aurelien@aurel32.net>
15313
15314 * sysdeps/generic/dl-irel.h: fix protection against multiple
15315 inclusions.
15316 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15317
9113ea1f
UD
153182011-06-28 Ulrich Drepper <drepper@gmail.com>
15319
5c0b8d90
UD
15320 [BZ #12935]
15321 * malloc/memusage.sh: Fix quoting in message.
15322 * debug/xtrace.sh: Likewise.
15323
9113ea1f
UD
15324 * configure.in: Remove support for --experimental-malloc option, make
15325 it the default.
15326 * config.make.in: Likewise.
15327 * malloc/Makefile: Likewise.
15328
a4172181
AS
153292011-06-27 Andreas Schwab <schwab@redhat.com>
15330
15331 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15332 two-byte characters.
15333
78a7eee7
RM
153342011-06-27 Roland McGrath <roland@hack.frob.com>
15335
62bede13
RM
15336 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15337 AC_CACHE_CHECK invocation.
15338 * configure: Regenerated.
15339
78a7eee7
RM
15340 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15341
5ce33a62
UD
153422011-06-27 Ulrich Drepper <drepper@gmail.com>
15343
034807a9
UD
15344 [BZ #12350]
15345 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
15346 bit from old_res_options.
15347
4902da17
UD
15348 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
15349
5ce33a62
UD
15350 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
15351 value type for setfct.
15352
c2344f56
L
153532011-06-23 H.J. Lu <hongjiu.lu@intel.com>
15354
15355 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15356 __gettimeofday instead of gettimeofday.
15357
68468076
UD
153582011-06-26 Ulrich Drepper <drepper@gmail.com>
15359
15360 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
15361
acb0d739
L
153622011-06-24 H.J. Lu <hongjiu.lu@intel.com>
15363
15364 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
15365
15366 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
15367 info.
15368
8912479f
L
153692011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15370
15371 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15372 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15373 strcpy-sse2-unaligned strncpy-sse2-unaligned
15374 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
15375 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
15376 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
15377 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
15378 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
15379 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
15380 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
15381 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
15382 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
15383 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
15384 (STRCPY): Support SSE2 and SSSE3 versions.
15385
d5495a11
UD
153862011-06-24 Ulrich Drepper <drepper@gmail.com>
15387
15388 [BZ #12874]
15389 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
15390 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
15391 kernels which artificially limit size of requests.
15392
0b1cbaae
L
153932011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15394
15395 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15396 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15397 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
15398 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
15399 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
15400 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
15401 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
15402 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
15403 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
15404 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
15405 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
15406 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
15407 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
15408 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
15409 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
15410 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15411 Enable unaligned load optimization for Intel Core i3, i5 and i7
15412 processors.
15413 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
15414 Define.
15415 (index_Fast_Unaligned_Load): Define.
15416 (HAS_FAST_UNALIGNED_LOAD): Define.
15417
07f494a0
MP
154182011-06-23 Marek Polacek <mpolacek@redhat.com>
15419
15420 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
15421
fa3fc0fe
UD
154222011-06-22 Ulrich Drepper <drepper@gmail.com>
15423
15424 [BZ #12907]
15425 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
15426 until it is clear that the information is realy needed.
15427 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
15428
e12df166
AS
154292011-06-22 Andreas Schwab <schwab@redhat.com>
15430
15431 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
15432
852eb34d
UD
154332011-06-22 Ulrich Drepper <drepper@gmail.com>
15434
84e2a551
UD
15435 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15436 /sys/devices/system/cpu/online if it is usable.
15437
852eb34d
UD
15438 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
15439 reading the information from the /proc filesystem to once a second.
15440
6e502e19
UD
154412011-06-21 Andreas Jaeger <aj@suse.de>
15442
15443 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
15444 NULL after inclusion of kernel headers.
15445
75d39ff2
UD
154462011-06-21 Ulrich Drepper <drepper@gmail.com>
15447
51f9aa6a
UD
15448 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
15449 calls to internal_setent.
15450
c0244a9d
UD
15451 [BZ #12885]
15452 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
15453 addresses using gethostbyname4_r ignore IPv4 addresses.
15454
c5e3c2ae
UD
15455 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
15456 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
15457
75d39ff2
UD
15458 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
15459
42675c6f
DM
154602011-06-20 David S. Miller <davem@davemloft.net>
15461
15462 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
15463 inclusions.
15464 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
15465
15466 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
15467 (elf_irel): Use it.
15468 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
15469 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
15470 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
15471 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
15472 * sysdeps/x86_64/dl-irel.h: Likewise.
15473
15474 * elf/dl-runtime.c: Use elf_ifunc_invoke.
15475 * elf/dl-sym.c: Likewise.
15476
57912a71
UD
154772011-06-15 Ulrich Drepper <drepper@gmail.com>
15478
15479 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
15480 need to dereference resplen2.
15481
ee22793d
AS
154822011-06-14 Andreas Schwab <schwab@redhat.com>
15483
15484 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
15485
a9e836b0
UD
154862011-06-15 Ulrich Drepper <drepper@gmail.com>
15487
77fb9117
UD
15488 * Makeconfig: Define vardbdir and inst_vardbdir.
15489 * nss/Makefile: Add rules to install db-Makefile.
15490
40c1b22c
UD
15491 * nss/nss_db/db-XXX.c: Cleanup.
15492
9f2da732
UD
15493 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
15494 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
15495 GLIBC_PRIVATE.
15496 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
15497 * nss/makedb.c: Implement -g option to specify that value strings
15498 are generated and should not be added to table iterated over for
15499 get*ent calls.
15500 * nss/nss_db/db-initgroups.c: New file.
15501
82e9a1f7
UD
15502 * nss/getent.c: Add support for initgroups lookups through getgrouplist
15503 interface.
15504
c41af17e
UD
15505 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
15506 (internal_getgrouplist): Adjust to name change.
15507 Update use_initgroups_entry if this is not the first call.
15508 * nss/databases.def: Add initgroups entry.
15509
a9e836b0
UD
15510 * nss/makedb.c (compute_tables): Check result of multiple hash table
15511 sizes to minimize maximum chain length.
15512
2666d441
UD
155132011-06-14 Ulrich Drepper <drepper@gmail.com>
15514
15515 * Versions.def: Add entry for libnss_db.
15516 * shlib-versions: Likewise.
15517 * nss/Makefile: Add rules to build libnss_db.
15518 * nss/Versions: Add libnss_db information. Organize libnss_files
15519 entries better.
15520 * nss/db-Makefile: Add gshadow support. Change rules for the new
15521 makedb progra. Some minor improvements to generate smaller files.
15522 * nss/nss_db/nss_db.h: Move NSS database header data structures to
15523 here from...
15524 * nss/makedb.c: ...here.
15525 Improve database format to be smaller and require less memory at
15526 runtime.
15527 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
15528 db anymore.
15529 * nss/nss_db/db-netgrp.c: Likewise.
15530 * nss/nss_db/db-open.c: Likewise.
15531 * nss/nss_files/flies-XXX.x: Adjust comments.
15532 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
15533 * nss/nss_files/files-grp.c: Likewise.
15534 * nss/nss_files/files-hosts.c: Likewise.
15535 * nss/nss_files/files-network.c: Likewise.
15536 * nss/nss_files/files-proto.c: Likewise.
15537 * nss/nss_files/files-pwd.c: Likewise.
15538 * nss/nss_files/files-rpc.c: Likewise.
15539 * nss/nss_files/files-service.c: Likewise.
15540 * nss/nss_files/files-sgrp.c: Likewise.
15541 * nss/nss_files/files-spwd.c: Likewise.
15542 * nss/nss_db/db-alias.c: Removed.
15543 * nss/nss_db/dummy-db.h: Removed.
15544
9ee76b5a
UD
155452011-06-02 Ulrich Drepper <drepper@gmail.com>
15546
15547 * nss/makedb.c: Rewritten to not use database library.
15548 * nss/Makefile: Update to build new makedb program.
15549
c71ca1f8
AJ
155502011-06-14 Andreas Jaeger <aj@suse.de>
15551
15552 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
15553 memset declaration.
15554
3154bfb8
UD
155552011-06-10 Andreas Schwab <schwab@redhat.com>
15556
15557 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
15558 tmpbuf.
15559
b350afab
RM
155602011-06-10 Roland McGrath <roland@hack.frob.com>
15561
decd4e50
RM
15562 * Makerules (shlib.lds): Fail if the linker script comes out empty.
15563 * elf/Makefile ($(objpfx)ld.so): Likewise.
15564
5615eaf2
RM
15565 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
15566 Don't list ld.so twice in dependencies.
15567
15568 * posix/bug-regex31.c: Include <stdlib.h>.
15569
15570 * nscd/hstcache.c (cache_addhst): Remove unused variable.
15571
15572 * nis/nss_compat/compat-spwd.c
15573 (getspent_next_nss_netgr): Remove unused variable.
15574 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
15575
15576 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
15577 nonmembers" output to use the right array.
15578
15579 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
15580
15581 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
15582
15583 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
15584 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
15585 * catgets/gencat.c (read_input_file): Likewise.
15586 * locale/programs/locarchive.c (enlarge_archive): Likewise.
15587
15588 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
15589 variable definition inside #if's controlling its use.
15590
15591 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
15592
15593 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
15594
15595 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
15596
15597 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
15598 unreachable code.
15599
15600 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
15601
b68e08db
RM
15602 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
15603 * configure: Regenerated.
15604
b350afab
RM
15605 * Makerules: Revert last change.
15606 * elf/Makefile: Likewise.
15607
28368601
RM
156082011-06-09 Roland McGrath <roland@hack.frob.com>
15609
15610 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
15611 * elf/Makefile ($(objpfx)librtld.os): Likewise.
15612 (reloc-link): Likewise.
15613
11988f8f
UD
156142011-06-09 Ulrich Drepper <drepper@gmail.com>
15615
15616 * elf/Makefile: Add rules to build pldd.
15617 * elf/pldd.c: New file.
15618 * elf/pldd-xx.c: New file.
15619
e80fab37
UD
156202011-06-07 Ulrich Drepper <drepper@gmail.com>
15621
15622 * version.h: Update for 2.15 development version.
15623
9b849836
DM
156242011-06-07 David S. Miller <davem@davemloft.net>
15625
15626 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
15627 ifuncs.
15628 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
15629 elf_machine_lazy_rel): Likewise.
15630 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15631 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
15632 elf_machine_lazy_rel): Likewise.
15633 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
15634 dl_hwcap via passed in argument.
15635 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
15636 Likewise.
15637
5a31b283
AK
156382011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15639
15640 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
15641
069e52f8
RM
156422011-06-06 Roland McGrath <roland@hack.frob.com>
15643
15644 [BZ #12849]
15645 * manual/fdl-1.1.texi: New file, verbatim from:
15646 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
15647 * manual/lgpl-2.1.texi: New file, verbatim from:
15648 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
15649 * manual/Makefile (licenses): New variable, list those new file names.
15650 (texis): Use it.
15651 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
15652
15653 * manual/fdl.texi: File removed.
15654 * manual/lesser.texi: File removed.
15655 * manual/libc.texinfo (Copying, Documentation License):
15656 Use new @include file names, put @appendix directive before @include.
15657
f16846a5
JJ
156582011-06-04 Jakub Jelinek <jakub@redhat.com>
15659
15660 [BZ #12841]
15661 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
15662 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
15663 (mq_open): Add __NTH.
15664
3d29045b
L
156652011-06-02 H.J. Lu <hongjiu.lu@intel.com>
15666
15667 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15668 Assume Intel Core i3/i5/i7 processor if AVX is available.
15669
8c297311
UD
156702011-05-31 Ulrich Drepper <drepper@gmail.com>
15671
15672 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15673 typo.
15674
c8fc0c91
UD
156752011-05-31 Andreas Schwab <schwab@redhat.com>
15676
15677 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
15678 memory. Use alloca_account. Fix memory leak when retrying.
15679
5b27a807
UD
156802011-05-31 Ulrich Drepper <drepper@gmail.com>
15681
356f8bc6
UD
15682 * version.h (RELEASE): Bump for 2.14 release.
15683 * include/features.h (__GLIBC_MINOR__): Bump to 14.
15684
5b27a807
UD
15685 * config.make.in (RANLIB): Remove entry.
15686
01f16ab0
UD
156872011-05-30 Ulrich Drepper <drepper@gmail.com>
15688
41fce8bd
UD
15689 * po/Makefile (po-sed-cmd): Add ksh to extensions.
15690 (libc.pot): Work around missing support for .ksh extension in xgettext.
15691
4769ae77
UD
15692 [BZ #12684]
15693 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
15694 if both request failed.
15695 (send_dg): In case of server errors clear resplen or *resplen2.
15696
6b1e7d19
UD
15697 [BZ #12454]
15698 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
15699 when there are multiple maps.
15700 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
15701 (_dl_fini): Remove test here.
15702
01f16ab0
UD
15703 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
15704
b1ebd700
UD
157052011-05-29 Ulrich Drepper <drepper@gmail.com>
15706
7ae22829
UD
15707 [BZ #12350]
15708 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
15709 bit from old_res_options.
15710 (gaih_inet): Likewise.
15711
553149f6 15712 [BZ #11099]
18a84741 15713 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
15714 as signed.
15715
652ffab1
UD
15716 * resolv/res_init.c (res_setoptions): Make the code more compact.
15717
16985fd0
UD
15718 [BZ #11558]
15719 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
15720 set RES_USEVC.
15721
0464f746
UD
15722 [BZ #11634]
15723 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
15724
7d17596c
UD
15725 * malloc/malloc.h: Mark malloc hook variables as deprecated.
15726
cf6bbbd7
UD
15727 [BZ #11781]
15728 * malloc/malloc.h: Declare malloc hook variables as volatile.
15729
13f1ab36
UD
15730 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
15731 in last patch.
15732
b1ebd700
UD
15733 [BZ #11799]
15734 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 15735 raise in the comment.
80e2212d
UD
15736 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15737 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15738 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 15739
ce67228d
UD
157402011-05-28 Ulrich Drepper <drepper@gmail.com>
15741
8887a920
UD
15742 [BZ #12811]
15743 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
15744 grow the buffers more if it already has to be sufficient.
15745 (build_wcs_upper_buffer): Likewise.
15746 * posix/regexec.c (check_matching): Likewise.
15747 (clean_state_log_if_needed): Likewise.
15748 (extend_buffers): Don't enlarge buffers beyond size of the input
15749 buffer.
15750 Patches mostly by Emil Wojak <emil@wojak.eu>.
15751 * posix/bug-regex32.c: New file.
15752 * posix/Makefile (tests): Add bug-regex32.
15753
4f031072
UD
15754 * locale/findlocale.c (_nl_find_locale): Return right away if
15755 _nl_explode_name failed.
15756 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
15757
d0478f0c
UD
15758 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
15759
de81b246
UD
15760 * debug/xtrace.sh: Unify messages.
15761 * malloc/memusage.sh: Likewise.
15762
c738465a
UD
15763 [BZ #12813]
15764 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
15765 time symbol from vDSO. Substitute with vsyscall if not available.
15766 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
15767 __vdso_time.
15768
f1f929d7
UD
15769 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
15770 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
15771 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
15772 Add sendmmsg and internal_sendmmsg.
15773 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
15774 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
15775 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
15776
ce67228d
UD
15777 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
15778 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
15779 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
15780
e57420c6
UD
157812011-05-27 Ulrich Drepper <drepper@gmail.com>
15782
a8509ca5
UD
15783 [BZ #12813]
15784 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
15785 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
15786 available.
15787 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
15788 __vdso_getcpu.
15789
e57420c6
UD
15790 [BZ #12814]
15791 * iconvdata/Makefile (tests): Add bug-iconv9.
15792 * iconvdata/bug-iconv9.c: New file.
15793
4d07db15
AS
157942011-05-27 Andreas Schwab <schwab@redhat.com>
15795
15796 [BZ #12814]
15797 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
15798
ea486f69
JJ
157992011-05-25 Jakub Jelinek <jakub@redhat.com>
15800
15801 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15802 (struct user_regs_struct): Change intcs field back to cs.
15803
6f038433
UD
158042011-05-25 Ulrich Drepper <drepper@gmail.com>
15805
15806 * po/ja.po: Update from translation team.
15807
67f86a25
UD
158082011-05-23 Ulrich Drepper <drepper@gmail.com>
15809
15810 [BZ #12795]
15811 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
15812 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
15813
def7fbd6
AS
158142011-05-20 Andreas Schwab <schwab@redhat.com>
15815
15816 * stdlib/longlong.h: Update from GCC.
15817
f50ef8f1
AS
158182011-05-23 Andreas Schwab <schwab@redhat.com>
15819
15820 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
15821 parameter name.
15822 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
15823 Add parameter name.
15824 (__sysconf): Pass it down.
15825
de7ce8f1
UD
158262011-05-22 Ulrich Drepper <drepper@gmail.com>
15827
f2962a71
UD
15828 [BZ #12671]
15829 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
15830 some situations.
15831 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15832 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
15833 add in in __libc_use_alloca calls. Adjust callers.
15834 (glob): Use malloc in some situations.
15835
de7ce8f1
UD
15836 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
15837 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
15838 pltexit.
15839
aec84f53
UD
158402011-05-21 Ulrich Drepper <drepper@gmail.com>
15841
05bb4a68
UD
15842 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
15843 and CLOCK_BOOTTIME_ALARM.
15844
7ea72f99
UD
15845 [BZ #12782]
15846 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
15847 is returned.
15848
7e4afad5
UD
15849 * string/_strerror.c (__strerror_r): Print negative errors as signed
15850 numbers.
15851
8e211fec
UD
15852 [BZ #12777]
15853 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
15854 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
15855 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
15856
f7d82dc9
UD
15857 * configure.in: Fix typo in redirection and correct removal of test
15858 files in two cases.
15859
cc9e536d
UD
15860 [BZ #12788]
15861 * locale/setlocale.c (new_composite_name): Fix test to check for
15862 identical name of all categories.
15863
aec84f53
UD
15864 [BZ #12792]
15865 * libio/filedoalloc.c (local_isatty): New function.
15866 (_IO_file_doallocate): Use local_isatty.
15867 * stdio-common/perror.c (perror): In case a new stream is used
15868 forward the stream error.
15869 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
15870 error flag.
15871
78e64fdc
RT
158722011-05-20 Ulrich Drepper <drepper@gmail.com>
15873
34a9094f
UD
15874 [BZ #11869]
15875 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
15876 alloca.
15877 * include/alloca.h (extend_alloca_account): Define.
15878
78e64fdc
RT
15879 [BZ #11857]
15880 * posix/regex.h: Fix comments with documentation of user-accessible
15881 fields after compilation and describe correct free'ing of pattern
15882 after re_compile_pattern.
15883 Patch by Reuben Thomas <rrt@sc3d.org>.
15884
457bddfc
RA
158852011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
15886
15887 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
15888 and -mno-altivec to prevent the compiler from using Altivec and/or
15889 VSX instructions when the corresponding registers are not available.
15890
a4527b51
AS
158912011-05-19 Andreas Schwab <schwab@redhat.com>
15892
15893 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
15894
ed690b2f
UD
158952011-05-19 Ulrich Drepper <drepper@gmail.com>
15896
15897 * libio/freopen.c (freopen): Use __dup2, not dup2.
15898 * libio/freopen64.c (freopen64): Likewise.
15899
8db73634
L
159002011-05-17 H.J. Lu <hongjiu.lu@intel.com>
15901
15902 [BZ #12775]
15903 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
15904 * math/Makefile (tests): Add test-powl.
15905 (CFLAGS-test-powl.c): Define.
15906 * math/test-powl.c: New file.
15907
0a197a9d
L
159082011-05-16 H.J. Lu <hongjiu.lu@intel.com>
15909
15910 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
15911
ee30c380
UD
159122011-05-17 Ulrich Drepper <drepper@gmail.com>
15913
15914 [BZ #11837]
15915 * iconvdata/gb18030.c: Update to GB18020-2005.
15916
6ce75379
UD
159172011-05-16 Ulrich Drepper <drepper@gmail.com>
15918
a4b89fd8
AR
15919 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
15920 RE_SYNTAX_POSIX_AWK): Update to match recent development.
15921 Patch by Aharon Robbins <arnold@skeeve.com>.
15922
ea389b12
UD
15923 [BZ #11892]
15924 * stdlib/putenv.c (putenv): Don't always create copy of the variable
15925 on the stack.
15926
68a3f91f
UD
15927 [BZ #11895]
15928 * misc/pselect.c (__pselect): Handle timeout value errors hidden
15929 through underflows.
15930
15cc7dd1
UD
15931 [BZ #12766]
15932 * misc/error.c (error_at_line): Ensure file_name and old_file_name
15933 point to strings before performing equality test for error_one_per_line
15934 mode.
15935
f3799213
UD
15936 [BZ #11697]
15937 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
15938
d79a9c94
UD
15939 [BZ #11820]
15940 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15941 (struct user_fpregs_struct): Avoid __uint*_t types.
15942
56e5eb46
UD
15943 [BZ #6420]
15944 * malloc/mtrace.c (tr_where): Add additional parameter to point to
15945 symbol info. Use it instead of calling _dl_addr locally.
15946 (lock_and_info): New function.
15947 (tr_freehook): Call lock_and_info and pass symbol info as additional
15948 parameter to tr_where.
15949 (tr_mallochook): Likewise.
15950 (tr_reallochook): Likewise.
15951 (tr_memalignhook): Likewise.
15952
6ce75379
UD
15953 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
15954 used and couldn't be at all thread-safe.
15955
f8a3b5bf
UD
159562011-05-15 Ulrich Drepper <drepper@gmail.com>
15957
94b7cc37
UD
15958 * libio/freopen.c (freopen): Don't close old file descriptor
15959 before the new one is opened. Instead dup the new file descriptor
15960 to the old one after the new stream is created.
15961 * libio/freopen64.c (freopen64): Likewise.
15962 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
15963 * libio/fileops.c (_IO_new_file_close_it): Handle new
15964 _IO_FLAGS2_NOCLOSE flag.
15965 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
15966 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
15967 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
15968 _IO_FLAGS2_NOCLOSE flag.
15969 * include/unistd.h: Add hidden_proto for dup3.
15970 Define __have_dup3.
15971 * io/dup3.c: Define hidden symbol.
15972 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
15973
bd25564e
UD
15974 [BZ #7101]
15975 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
15976 when an incomplete long option is used.
15977 * posix/tst-getopt_long1.c: New file.
15978 * posix/Makefile (tests): Add tst-getopt_long1.
15979
c84cfef4
UD
15980 [BZ #10138]
15981 * scripts/config.guess: Update from autoconf-2.68.
15982 * scripts/config.sub: Likewise.
15983
3b85df27
UD
15984 [BZ #10157]
15985 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
15986 tests into ...
15987 (has_cpuclock): ...this. New function.
15988 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
15989 macro here based on has_cpuclock code.
15990
15a856b1
UD
15991 [BZ #10149]
15992 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15993 First byte (not low byte) is now always NUL.
15994 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
15995
05f399e6
UD
15996 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15997 Use non-cancelable interfaces.
15998
10a52685 15999 [BZ #9809]
94ecc67d
UD
16000 * locale/iso-639.def: Add entry for Sorani.
16001
f8a3b5bf
UD
16002 [BZ #11901]
16003 * include/stdlib.h: Move include protection to the right place.
16004 Define abort_msg_s. Declare __abort_msg with it.
16005 * stdlib/abort.c (__abort_msg): Adjust type.
16006 * assert/assert.c (__assert_fail_base): New function. Majority
16007 of code from __assert_fail. Allocate memory for __abort_msg with
16008 mmap.
16009 (__assert_fail): Now call __assert_fail_base.
16010 * assert/assert-perr.c: Remove bulk of implementation. Use
16011 __assert_fail_base.
16012 * include/assert.hL Declare __assert_fail_base.
16013 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
16014 mmap.
16015 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
16016
1af4e298
UD
160172011-05-14 Ulrich Drepper <drepper@gmail.com>
16018
f8a3b5bf 16019 [BZ #11952]
d26dfc60
MG
16020 [BZ #12453]
16021 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
16022 until all modules are registered in the DTV.
16023 * elf/Makefile: Add rules to build and run tst-tls19.
16024 * elf/tst-tls19.c: New file.
16025 * elf/tst-tls19mod1.c: New file.
16026 * elf/tst-tls19mod2.c: New file.
16027 * elf/tst-tls19mod3.c: New file.
16028 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
16029
2fc54d6f
UD
16030 [BZ #12083]
16031 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
16032 correctly.
16033
98d76b46
UD
16034 [BZ #12601]
16035 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
16036 two-byte sequence errors.
16037 * iconvdata/Makefile (tests): Add bug-iconv8.
16038 * iconvdata/bug-iconv8.c: New file.
16039
da3c19ef
UD
16040 [BZ #12626]
16041 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
16042 buf2 definition.
16043
ca408c15
UD
16044 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
16045
d6f67f7d
UD
16046 [BZ #12432]
16047 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
16048 (dummy_getcfa): New function.
16049 (init): Get _Unwind_GetCFA address, use dummy if not found.
16050 (backtrace_helper): In recursion check, also check whether CFA changes.
16051 (__backtrace): Completely initialize arg.
16052
1af4e298 16053 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
16054 storing incomplete byte sequence in state object. Avoid testing for
16055 guaranteed too small input if we know there is enough data available.
1af4e298 16056
da62f81b
AS
160572011-05-11 Andreas Schwab <schwab@redhat.com>
16058
16059 * Makeconfig (+link-pie): Indent.
16060 * Rules (binaries-pie): Define if $(have-fpie) and
16061 $(build-shared).
16062 (binaries-shared): Also filter out $(binaries-pie).
16063 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
16064 * nscd/Makefile (others-pie): Add nscd.
16065 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
16066 ($(objpfx)nscd): Remove command override.
16067 * login/Makefile (others-pie): Add pt_chown.
16068 ($(objpfx)pt_chown): Remove command override.
16069 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
16070 remove command overrides.
16071
fcabc0f8
UD
160722011-05-13 Ulrich Drepper <drepper@gmail.com>
16073
20030ae6
UD
16074 * libio/tst_putwc.c: Fix error messages.
16075
fcabc0f8
UD
16076 [BZ #12724]
16077 * libio/fileops.c (_IO_new_file_close_it): Always flush when
16078 currently writing and seek to current position when not.
16079 * libio/Makefile (tests): Add bug-fclose1.
16080 * libio/bug-fclose1.c: New file.
16081
320a5dc0
PB
160822011-05-12 Ulrich Drepper <drepper@gmail.com>
16083
16084 [BZ #12511]
16085 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
16086 don't set DF_1_NODELETE here.
16087 (do_lookup_x): When entering new entry test for copy relocation
16088 and if necessary set DF_1_NODELETE flag.
16089 * elf/tst-unique4.cc: New file.
16090 * elf/tst-unique4.h: New file.
16091 * elf/tst-unique4lib.cc: New file.
16092 * elf/Makefile: Add rules to build and run tst-unique4.
16093 Patch by Piotr Bury <pbury@goahead.com>.
16094
22836f52
UD
160952011-05-11 Ulrich Drepper <drepper@gmail.com>
16096
f574184a
UD
16097 [BZ #12052]
16098 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
16099
e1fb097f
UD
16100 [BZ #12625]
16101 * misc/mntent_r.c (addmntent): Flush the stream after the output
16102
22836f52
UD
16103 [BZ #12393]
16104 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
16105 (is_trusted_path_normalize): Skip initial colon. Append slash
16106 to empty buffer. Duplicate is_trusted_path code but allow
16107 constructed patch to be prefix.
16108 (is_dst): Allow $ORIGIN followed by /.
16109 (_dl_dst_substitute): Correct clearing of check_for_trusted.
16110 Correct testing of result of is_trusted_path_normalize
16111 (decompose_rpath): Fix warning.
16112
7b3b0b2a
UD
161132011-05-10 Ulrich Drepper <drepper@gmail.com>
16114
16115 [BZ #11257]
16116 * grp/initgroups.c (internal_getgrouplist): When we found the service
16117 list through the initgroups entry in nsswitch.conf do not always
16118 continue on a successful lookup. Don't always use the
eac80ce2 16119 __nss_group_database value if it is set.
7b3b0b2a
UD
16120 * nss/nsswitch.conf (initgroups): Change action for successful db
16121 lookup to continue for compatibility.
16122
2a81eaa5
UD
161232011-05-09 Ulrich Drepper <drepper@gmail.com>
16124
be97a69e
UD
16125 [BZ #11532]
16126 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
16127 and CP774 modules.
16128 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
16129 and CP774 modules.
16130 * iconvdata/tst-tables.sh: Likewise.
16131 * iconvdata/cp770.c: New file.
16132 * iconvdata/cp771.c: New file.
16133 * iconvdata/cp772.c: New file.
16134 * iconvdata/cp773.c: New file.
16135 * iconvdata/cp774.c: New file.
16136 * iconvdata/testdata/CP770: New file.
16137 * iconvdata/testdata/CP770..UTF8: New file.
16138 * iconvdata/testdata/CP771: New file.
16139 * iconvdata/testdata/CP771..UTF8: New file.
16140 * iconvdata/testdata/CP772: New file.
16141 * iconvdata/testdata/CP772..UTF8: New file.
16142 * iconvdata/testdata/CP773: New file.
16143 * iconvdata/testdata/CP773..UTF8: New file.
16144 * iconvdata/testdata/CP774: New file.
16145 * iconvdata/testdata/CP774..UTF8: New file.
16146
16147 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
16148 END CHARMAP line.
16149 * iconvdata/gen-8bit-gap.sh: Likewise.
16150 * iconvdata/gen-8bit.sh: Likewise.
16151
c1e9e399
UD
16152 * locale/iso-639.def: Add ary entry.
16153
24c55fb3 16154 [BZ #11258]
96b4b1b0
UD
16155 * locale/C-translit.h.in: Add U20A1 transliteration.
16156
bdc2f971
KB
16157 [BZ #12178]
16158 * locale/iso-639.def: Add wae entry.
16159 Patch by Kevin Bortis <bortis@translate-wae.ch>.
16160
2952b117
UD
16161 [BZ #12545]
16162 * locale/programs/localedef.c (construct_output_path): Use ssize_t
16163 for n.
16164
2a81eaa5
UD
16165 [BZ #12711]
16166 * locale/C-translit.h.in: Add entry for U20B9.
16167 Patch by pravin.d.s@gmail.com.
16168
28377d1b
UD
161692011-05-08 Ulrich Drepper <drepper@gmail.com>
16170
7fb90fb8
UD
16171 [BZ #12713]
16172 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
16173 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
16174 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
16175 in rtld. Use *stat64.
7fb90fb8 16176 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 16177 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 16178 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
16179 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
16180 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
16181 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
16182 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
16183 __fstatat64 macros.
7fb90fb8
UD
16184 * include/dirent.h: Add libc_hidden_proto for rewinddir.
16185 * dirent/rewinddir.c: Add libc_hidden_def.
16186 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 16187 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 16188
28377d1b
UD
16189 * include/dirent.h (__alloc_dir): Add flags parameter.
16190 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
16191 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
16192 __alloc_dir.
16193 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
16194 from fdopendir if O_CLOEXEC is already set.
16195
66bdbaa4
AM
161962011-03-15 Alan Modra <amodra@gmail.com>
16197
16198 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
16199 l_tls_firstbyte_offset non-zero. Save padding offset in
16200 l_tls_firstbyte_offset for later use.
16201 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
16202 freeing static tls block.
16203
95721191
JN
162042011-03-05 Jonathan Nieder <jrnieder@gmail.com>
16205
16206 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
16207 where #ifdef was intended. The intent is to prevent ARG_MAX from
16208 being defined by the kernel headers.
16209
f87dfb1f
UD
162102011-05-07 Ulrich Drepper <drepper@gmail.com>
16211
16212 [BZ #12734]
16213 * resolv/resolv.h: Define RES_NOTLDQUERY.
16214 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
16215 no-tld-query and set RES_NOTLDQUERY.
16216 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
16217 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
16218 modern BIND to search name as TLD unless forbidden.
16219
47c3cd7a
UD
162202011-05-07 Petr Baudis <pasky@suse.cz>
16221 Ulrich Drepper <drepper@gmail.com>
16222
16223 [BZ #12393]
16224 * elf/dl-load.c (fillin_rpath): Move trusted path check...
16225 (is_trusted_path): ...to here.
c1e9ea35 16226 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 16227 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 16228 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 16229
8a35c912
PP
162302011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16231
16232 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
16233 __BEGIN/__END_DECLS.
16234
acd41f47
UD
162352011-05-06 Ulrich Drepper <drepper@gmail.com>
16236
16237 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
16238 NSS_STATUS_NOTFOUND if no record was found.
16239
597df647
AS
162402011-05-05 Andreas Schwab <schwab@redhat.com>
16241
16242 * sunrpc/Makefile (headers): Add rpc/netdb.h.
16243 (headers-not-in-tirpc): Remove rpc/netdb.h
16244 * resolv/netdb.h: Revert last change.
16245
b9af1301
PP
162462011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16247
16248 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
16249 circular dependency between libgcc.a and libc.a.
16250
4e34d5f5
AS
162512011-05-05 Andreas Schwab <schwab@redhat.com>
16252
16253 * resolv/netdb.h: Don't include <rpc/netdb.h>.
16254 * nis/Makefile: Don't install rpcsvc/*.
16255 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16256 instead of <rpc/types.h>.
16257 (MAXHOSTNAMELEN): Define.
16258
00ee369c
AS
162592011-05-03 Andreas Schwab <schwab@redhat.com>
16260
16261 * elf/ldconfig.c (add_dir): Don't crash on empty path.
16262
0b592a30
MB
162632011-04-28 Maciej Babinski <mbabinski@google.com>
16264
16265 [BZ #12714]
16266 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16267 gethostbyname4_r when IPv6 results are possible.
16268
6e04cbbe
UD
162692011-05-02 Ulrich Drepper <drepper@gmail.com>
16270
16271 [BZ #12723]
16272 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16273 _PC_PIPE_BUF handling.
16274
e4ecafe0
BH
162752011-04-30 Bruno Haible <bruno@clisp.org>
16276
16277 [BZ #12717]
16278 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16279 * resolv/netdb.h (getnameinfo): Change type of flags parameter
16280 to 'int'.
16281 * inet/getnameinfo.c (getnameinfo): Likewise.
16282
125ee683
UD
162832011-04-29 Ulrich Drepper <drepper@gmail.com>
16284
16285 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16286 to groups setting in database lookup.
16287 * nss/nsswitch.conf: Add initgroups entry.
16288
b722481a
EB
162892011-04-22 Ulrich Drepper <drepper@gmail.com>
16290
16291 [BZ #12685]
16292 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16293 mode string.
16294 Patch by Eric Blake <eblake@redhat.com>.
16295
4df46dbd
L
162962011-04-20 H.J. Lu <hongjiu.lu@intel.com>
16297
16298 * sunrpc/Makefile (need-export-routines): Add svc_run.
16299 (routines): Remove svc_run.
16300 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16301 * sunrpc/clnt_perr.c (clnt_perrno): Export.
16302 * sunrpc/svc_run.c (svc_run): Likewise.
16303 * sunrpc/svc_udp.c (svcudp_create): Likewise.
16304
e84142d2
UD
163052011-04-21 Ulrich Drepper <drepper@gmail.com>
16306
16307 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16308 problem in reallocation in last patch.
16309
877175d8
UD
163102011-04-20 Ulrich Drepper <drepper@gmail.com>
16311
16312 * sunrpc/Makefile: Move inclusion of Rules.
16313
ab8eed78
UD
163142011-04-19 Ulrich Drepper <drepper@gmail.com>
16315
16316 * nss/nss_files/files-initgroups.c: New file.
16317 * nss/Makefile (libnss_files-routines): Add files-initgroups.
16318 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16319 _nss_files_initgroups_dyn.
16320
e3d8f584
RS
163212011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
16322
16323 * elf/elf.h (R_ARM_IRELATIVE): Define.
16324
af190f45
UD
163252011-04-19 Ulrich Drepper <drepper@gmail.com>
16326
16327 * po/ru.po: Update from translation team.
16328
53cf59ef
UD
163292011-04-17 Ulrich Drepper <drepper@gmail.com>
16330
16331 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16332 dependencies.
16333
4c559bcd
MF
163342011-02-06 Mike Frysinger <vapier@gentoo.org>
16335
16336 [BZ #12653]
16337 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16338 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16339 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16340 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16341 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16342
4420675c
AS
163432011-03-28 Andreas Schwab <schwab@linux-m68k.org>
16344
16345 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16346 differing bytes.
16347 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16348 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16349 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16350
75ea32ab
UD
163512011-04-17 Ulrich Drepper <drepper@gmail.com>
16352
16353 [BZ #12420]
16354 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
16355 storing it.
16356 * stdlib/bug-getcontext.c: New file.
16357 * stdlib/Makefile: Add rules to build and run bug-getcontext.
16358
27390476
AK
163592011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16360
16361 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
16362 instructions into .machine "z9-109".
16363 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16364 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16365
10442705
AK
163662011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16367
16368 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
16369 between environment variables and auxiliary vector.
16370
7b57bfe5
UD
163712011-04-16 Ulrich Drepper <drepper@gmail.com>
16372
16373 * Makefile: Add rules to build linkobj/libc.so.
16374 * include/libc-symbols.h: Define libc_hidden_nolink.
16375 * include/rpc/auth.h: Mark functions which are to be hidden.
16376 * include/rpc/auth_des.h: Likewise.
16377 * include/rpc/auth_unix.h: Likewise.
16378 * include/rpc/clnt.h: Likewise.
16379 * include/rpc/des_crypt.h: Likewise.
16380 * include/rpc/key_prot.h: Likewise.
16381 * include/rpc/pmap_clnt.h: Likewise.
16382 * include/rpc/pmap_prot.h: Likewise.
16383 * include/rpc/pmap_rmt.h: Likewise.
16384 * include/rpc/rpc_msg.h: Likewise.
16385 * include/rpc/svc.h: Likewise.
16386 * include/rpc/svc_auth.h: Likewise.
16387 * include/rpc/xdr.h: Likewise.
16388 * nis/Makefile: Link all DSOs against linkobj/libc.so.
16389 * nss/Makefile: Likewise.
16390 * sunrpc/Makefile: Don't install headers. Build library with normal
16391 entry points. Don't build rpcinfo. Link RPC tests appropriately.
16392 * sunrpc/auth_des.c: Hide exported symbols by default, export some
16393 for the compat linking library. Remove use of INTDEF/INTUSE.
16394 * sunrpc/auth_none.c: Likewise.
16395 * sunrpc/auth_unix.c: Likewise.
16396 * sunrpc/authdes_prot.c: Likewise.
16397 * sunrpc/authuxprot.c: Likewise.
16398 * sunrpc/clnt_gen.c: Likewise.
16399 * sunrpc/clnt_perr.c: Likewise.
16400 * sunrpc/clnt_raw.c: Likewise.
16401 * sunrpc/clnt_simp.c: Likewise.
16402 * sunrpc/clnt_tcp.c: Likewise.
16403 * sunrpc/clnt_udp.c: Likewise.
16404 * sunrpc/clnt_unix.c: Likewise.
16405 * sunrpc/des_crypt.c: Likewise.
16406 * sunrpc/des_soft.c: Likewise.
16407 * sunrpc/get_myaddr.c: Likewise.
16408 * sunrpc/key_call.c: Likewise.
16409 * sunrpc/key_prot.c: Likewise.
16410 * sunrpc/netname.c: Likewise.
16411 * sunrpc/pm_getmaps.c: Likewise.
16412 * sunrpc/pm_getport.c: Likewise.
16413 * sunrpc/pmap_clnt.c: Likewise.
16414 * sunrpc/pmap_prot.c: Likewise.
16415 * sunrpc/pmap_prot2.c: Likewise.
16416 * sunrpc/pmap_rmt.c: Likewise.
16417 * sunrpc/publickey.c: Likewise.
16418 * sunrpc/rpc_cmsg.c: Likewise.
16419 * sunrpc/rpc_common.c: Likewise.
16420 * sunrpc/rpc_dtable.c: Likewise.
16421 * sunrpc/rpc_prot.c: Likewise.
16422 * sunrpc/rpc_thread.c: Likewise.
16423 * sunrpc/rtime.c: Likewise.
16424 * sunrpc/svc.c: Likewise.
16425 * sunrpc/svc_auth.c: Likewise.
16426 * sunrpc/svc_authux.c: Likewise.
16427 * sunrpc/svc_raw.c: Likewise.
16428 * sunrpc/svc_run.c: Likewise.
16429 * sunrpc/svc_simple.c: Likewise.
16430 * sunrpc/svc_tcp.c: Likewise.
16431 * sunrpc/svc_udp.c: Likewise.
16432 * sunrpc/svc_unix.c: Likewise.
16433 * sunrpc/svcauth_des.c: Likewise.
16434 * sunrpc/xcrypt.c: Likewise.
16435 * sunrpc/xdr.c: Likewise.
16436 * sunrpc/xdr_array.c: Likewise.
16437 * sunrpc/xdr_float.c: Likewise.
16438 * sunrpc/xdr_intXX_t.c: Likewise.
16439 * sunrpc/xdr_mem.c: Likewise.
16440 * sunrpc/xdr_rec.c: Likewise.
16441 * sunrpc/xdr_ref.c: Likewise.
16442 * sunrpc/xdr_sizeof.c: Likewise.
16443 * sunrpc/xdr_stdio.c: Likewise.
16444
e6c61494
UD
164452011-04-10 Ulrich Drepper <drepper@gmail.com>
16446
16447 [BZ #12650]
16448 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
16449 * sysdeps/ia64/dl-tls.h: Likewise.
16450 * sysdeps/powerpc/dl-tls.h: Likewise.
16451 * sysdeps/s390/dl-tls.h: Likewise.
16452 * sysdeps/sh/dl-tls.h: Likewise.
16453 * sysdeps/sparc/dl-tls.h: Likewise.
16454 * sysdeps/x86_64/dl-tls.h: Likewise.
16455 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
16456
34fe483e
AS
164572011-03-14 Andreas Schwab <schwab@redhat.com>
16458
16459 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
16460 rpath element also skip the following colon.
16461 (expand_dynamic_string_token): Add is_path parameter and pass
16462 down to DL_DST_REQUIRED and _dl_dst_substitute.
16463 (decompose_rpath): Call expand_dynamic_string_token with
16464 non-zero is_path. Ignore empty rpaths.
16465 (_dl_map_object_from_fd): Call expand_dynamic_string_token
16466 with zero is_path.
16467
f12a32e6
AS
164682011-04-08 Andreas Schwab <schwab@linux-m68k.org>
16469
16470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16471 Make cancelable.
16472
38a7d692
UD
164732011-04-09 Ulrich Drepper <drepper@gmail.com>
16474
16475 [BZ #12655]
16476 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
16477 Patch by Filipe David Manana <fdmanana@apache.org>.
16478
e451d22b
AS
164792011-04-07 Andreas Schwab <schwab@redhat.com>
16480
16481 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
16482 Maintain aligned stack.
16483 (CHECK_RSP): Remove unused macro.
16484
dedc7c7b
UD
164852011-04-03 Ulrich Drepper <drepper@gmail.com>
16486
16487 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
16488 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
16489
94521213
UD
164902011-04-02 Ulrich Drepper <drepper@gmail.com>
16491
16492 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
16493
8cb700c0 16494 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 16495
0354e355
L
164962011-03-26 H.J. Lu <hongjiu.lu@intel.com>
16497
16498 [BZ #12518]
16499 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
16500 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
16501 * sysdeps/x86_64/memmove.c: New file.
16502 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
16503 (memcpy): Renamed to ...
16504 (__new_memcpy): This.
16505 (memcpy): Provide GLIBC_2_14 memcpy.
16506 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
16507 (memcpy): Provide GLIBC_2_2_5 memcpy.
16508
8593482f
UD
165092011-04-01 Ulrich Drepper <drepper@gmail.com>
16510
16511 [BZ #12631]
16512 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
16513
81a5726b
AS
165142011-03-30 Andreas Schwab <schwab@redhat.com>
16515
16516 * misc/syncfs.c: New file.
16517 * misc/Makefile (routines): Add syncfs.
16518 * posix/unistd.h: Declare syncfs.
16519 * sysdeps/unix/syscalls.list: Add syncfs.
16520
00e5419f
AS
165212011-04-01 Andreas Schwab <schwab@redhat.com>
16522
16523 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
16524 open_by_handle_at.
16525 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16526 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16527 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16528 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16529 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16530 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
16531 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16532
748876bf
UD
165332011-04-01 Ulrich Drepper <drepper@gmail.com>
16534
658e451d
UD
16535 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
16536 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16537 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
16538 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16539 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16540 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16541 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16542
748876bf
UD
16543 * io/Makefile: Compile fallocate.c, fallocate64.c, and
16544 sync_file_range.c with -fexceptions.
16545 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
16546 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
16547 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16548 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16549 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16550 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16551 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
16552 sync_file_range as cancellation point
16553 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
16554 now a wrapper around __call_sync_file_range with cancellation handling.
16555 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
16556 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
16557 function name to __call_sync_file_range.
16558 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
16559 Add call_sync_file_range.
748876bf 16560
6e63d5e1
AS
165612011-04-01 Andreas Schwab <schwab@redhat.com>
16562
16563 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 16564 bits/timex.h.
6e63d5e1 16565
46998f74
UD
165662011-04-01 Ulrich Drepper <drepper@gmail.com>
16567
4c1423ed
UD
16568 * iconv/iconv.h: Fix typo in comment.
16569 * io/fcntl.h: Likewise.
16570 * libio/stdio.h: Likewise.
16571 * posix/spawn.h: Likewise.
16572 * posix/unistd.h: Likewise.
16573 * stdlib/stdlib.h: Likewise.
16574 * time/time.h: Likewise.
16575 * wcsmbs/wchar.h: Likewise.
16576
158648c0
UD
16577 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
16578 open_by_handle): Add.
16579 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
16580 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
16581 Augment a few comments.
16582 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16583 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16584 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16585 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16586 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16587 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
16588 open_by_handle.
16589
46998f74
UD
16590 * io/fcntl.h (AT_EMPTY_PATH): Define.
16591
83fe108b
UD
165922011-03-30 Ulrich Drepper <drepper@gmail.com>
16593
16594 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
16595 * sysdeps/unix/sysv/linux/bits/time.h: New file.
16596 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
16597 to...
16598 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
16599 * Versions.def: Add GLIBC_2.14.
16600 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
16601 Export.
83fe108b 16602
bb242059
UD
166032011-03-22 Ulrich Drepper <drepper@gmail.com>
16604
16605 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
16606 round counter.
16607 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16608
c97a1282
L
166092011-03-20 H.J. Lu <hongjiu.lu@intel.com>
16610
16611 [BZ #12597]
16612 * string/test-strncmp.c (do_page_test): New function.
16613 (check2): Likewise.
16614 (test_main): Call check2.
16615 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
16616
2a115601
UD
166172011-03-20 Ulrich Drepper <drepper@gmail.com>
16618
16619 [BZ #12587]
16620 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
16621 Handle cache information in CPU leaf 4.
16622 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16623
8126d904
UD
166242011-03-18 Ulrich Drepper <drepper@gmail.com>
16625
042c49c6 16626 [BZ #12583]
8126d904
UD
16627 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
16628 character representation.
16629 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
16630
ccfe366e
RA
166312011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
16632
16633 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
16634 END(__isnan) to END(__isnanf) to match function entry point/label
16635 EALIGN(__isnanf,...).
16636
c6e13027
JJ
166372011-03-10 Jakub Jelinek <jakub@redhat.com>
16638
16639 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
16640
33f85a3f
UD
166412011-03-10 Ulrich Drepper <drepper@gmail.com>
16642
028478fa
UD
16643 [BZ #12510]
16644 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
16645 copy from the symbol referenced in the relocation to initialize the
16646 used variable.
16647 Patch by Piotr Bury <pbury@goahead.com>.
16648 * elf/Makefile: Add rules to build and tst-unique3.
16649 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
16650 * elf/tst-unique3.cc: New file.
16651 * elf/tst-unique3.h: New file.
16652 * elf/tst-unique3lib.cc: New file.
16653 * elf/tst-unique3lib2.cc: New file.
16654
33f85a3f
UD
16655 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
16656
03592fc7
MF
166572011-03-10 Mike Frysinger <vapier@gentoo.org>
16658
16659 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
16660 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
16661 to _start.
03592fc7 16662
6a5ee102
UD
166632011-03-06 Ulrich Drepper <drepper@gmail.com>
16664
16665 * elf/dl-load.c (_dl_map_object): If we are looking for the first
16666 to-be-loaded object along a path to loader is ld.so.
16667
7e4ba49c
HJ
166682011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16669 Ulrich Drepper <drepper@gmail.com>
16670
16671 * sysdeps/x86_64/memset.S: After aligning destination, code
16672 branches to different locations depending on the value of
16673 misalignment, when multiarch is enabled. Fix this.
16674
166752011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16676
16677 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
16678 Set _x86_64_preferred_memory_instruction for AMD processsors.
16679 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16680 Set bit_Prefer_SSE_for_memop for AMD processors.
16681
13a804de
UD
166822011-03-04 Ulrich Drepper <drepper@gmail.com>
16683
16684 * libio/fmemopen.c (fmemopen): Optimize a bit.
16685
9d25c392
AS
166862011-03-03 Andreas Schwab <schwab@redhat.com>
16687
16688 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
16689
a5543c6a
RM
166902011-03-03 Roland McGrath <roland@redhat.com>
16691
16692 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
16693
012d35f7
DM
166942011-02-28 Aurelien Jarno <aurelien@aurel32.net>
16695
7e4ba49c 16696 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
16697 __bzero_ultra1 instead of __memset_ultra1.
16698
4bff6e01
AS
166992011-02-23 Andreas Schwab <schwab@redhat.com>
16700 Ulrich Drepper <drepper@gmail.com>
16701
16702 [BZ #12509]
16703 * include/link.h (struct link_map): Add l_orig_initfini.
16704 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
16705 returning unsuccessfully.
16706 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
16707 close of a file loaded at startup, restore the original l_initfini
16708 list.
16709 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
16710 list, store the pointer.
16711 * elf/Makefile ($(objpfx)noload-mem): New rule.
16712 (noload-ENV): Define.
16713 (tests): Add $(objpfx)noload-mem.
16714 * elf/noload.c: Include <memcheck.h>.
16715 (main): Call mtrace. Close all opened handles.
16716
f2092faf
AS
167172011-02-17 Andreas Schwab <schwab@redhat.com>
16718
16719 [BZ #12454]
16720 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
16721 dependencies are missing.
16722
6c8a2e88
ST
167232011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16724
f2092faf 16725 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
16726 Hurd needs munmap.
16727 * sysdeps/mach/hurd/ifreq.h: New file.
16728
84a42118
PB
167292011-01-27 Petr Baudis <pasky@suse.cz>
16730 Ulrich Drepper <drepper@gmail.com>
16731
071f805e 16732 [BZ 12445]#
84a42118
PB
16733 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
16734 to extend_alloca().
16735 * stdio-common/bug23.c: New file.
16736 * stdio-common/Makefile (tests): Add bug23.
16737
e23fe25b
AS
167382010-09-28 Andreas Schwab <schwab@redhat.com>
16739 Ulrich Drepper <drepper@gmail.com>
16740
16741 [BZ #12489]
16742 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
16743 before performing relro protection. At old place add assertion
16744 to make sure nothing changed.
16745
d3f02e10
NS
167462011-02-17 Nathan Sidwell <nathan@codesourcery.com>
16747 Glauber de Oliveira Costa <glommer@gmail.com>
16748
16749 * elf/elf.h: Add new ARM TLS relocs.
16750
d55fd7a5
RA
167512011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
16752
16753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16754 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
16755 cast from r3.
16756 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
16757 'tests' variable.
16758 * sysdeps/wordsize-64/tst-writev.c: New file.
16759
2206397e
RA
167602011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
16761
16762 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
16763 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
16764 insns in _dl_start to prevent a TOC reference before relocs are
16765 resolved.
16766
e9433893
UD
167672011-02-15 Ulrich Drepper <drepper@gmail.com>
16768
16769 [BZ #12469]
16770 * Makeconfig: Remove RANLIB definition.
16771 * Makerules: Don't use RANLIB.
16772 * aclocal.m4: Remove ranlib test.
16773 * configure.in: No need to check for ranlib.
16774 * elf/rtld-Rules: Don't use RANLIB.
16775
f75286c6
ST
167762011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16777
8e31c82d
ST
16778 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
16779 protection macro.
16780 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
16781 inclusion protection macro.
16782
f75286c6
ST
16783 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
16784 SIGRTMIN and SIGRTMAX and print information in that case only when
16785 SIGRTMIN is defined.
16786
c1d0e639
JJ
167872011-02-11 Jakub Jelinek <jakub@redhat.com>
16788
16789 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
16790 arginfo fn returning -1.
16791
16792 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
16793 and thousands string is zero terminated.
16794
edf9294e
AS
167952011-02-03 Andreas Schwab <schwab@redhat.com>
16796
16797 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
16798 sysdeps/unix/sysv/linux/bits/socket.h.
16799
2b7e92df
ST
168002011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16801
edf9294e
AS
16802 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
16803 (__CPU_COUNT): Remove old macros.
16804 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
16805 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
16806 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
16807 (__sched_cpualloc, __sched_cpufree): Add declarations.
16808
a4c7ea7b
UD
168092011-02-05 Ulrich Drepper <drepper@gmail.com>
16810
16811 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
16812 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
16813 * nscd/aicache.c (addhstaiX): Return timeout of added value.
16814 (readdhstai): Return value of addhstaiX call.
16815 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
16816 (addgrbyX): Return value returned by cache_addgr.
16817 (readdgrbyname): Return value returned by addgrbyX.
16818 (readdgrbygid): Likewise.
16819 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
16820 (addpwbyX): Return value returned by cache_addpw.
16821 (readdpwbyname): Return value returned by addhstbyX.
16822 (readdpwbyuid): Likewise.
16823 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
16824 (addservbyX): Return value returned by cache_addserv.
16825 (readdservbyname): Return value returned by addservbyX:
16826 (readdservbyport): Likewise.
16827 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
16828 (addhstbyX): Return value returned by cache_addhst.
16829 (readdhstbyname): Return value returned by addhstbyX.
16830 (readdhstbyaddr): Likewise.
16831 (readdhstbynamev6): Likewise.
16832 (readdhstbyaddrv6): Likewise.
16833 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
16834 (readdinitgroups): Return value returned by addinitgroupsX.
16835 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
16836 (prune_cache): Keep track of timeout value of re-added entries.
16837 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
16838 * nscd/nscd.h: Adjust prototypes of readd* functions.
16839
a0bf67cc
RM
168402011-02-04 Roland McGrath <roland@redhat.com>
16841
16842 * nis/nis_server.c (nis_servstate): Use the right name for 0.
16843 (nis_stats): Likewise.
16844 * nis/nis_modify.c (nis_modify): Likewise.
16845 * nis/nis_remove.c (nis_remove): Likewise.
16846 * nis/nis_add.c (nis_add): Likewise.
16847
16848 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
16849
16850 * posix/fnmatch_loop.c: Add some consts.
16851
16852 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
16853
435b95eb
L
168542011-02-02 H.J. Lu <hongjiu.lu@intel.com>
16855
16856 [BZ #12460]
16857 * config.make.in (config-cflags-novzeroupper): Define.
16858 * configure.in: Substitute libc_cv_cc_novzeroupper.
16859 * elf/Makefile (AVX-CFLAGS): Define.
16860 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
16861 (CFLAGS-tst-auditmod4a.c): Likewise.
16862 (CFLAGS-tst-auditmod4b.c): Likewise.
16863 (CFLAGS-tst-auditmod6b.c): Likewise.
16864 (CFLAGS-tst-auditmod6c.c): Likewise.
16865 (CFLAGS-tst-auditmod7b.c): Likewise.
16866 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
16867
8517b15e
UD
168682011-02-02 Ulrich Drepper <drepper@gmail.com>
16869
16870 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
16871 function to the callback.
16872 Patch partly by Jiri Olsa <jolsa@redhat.com>.
16873
10a656fe
AS
168742011-02-02 Andreas Schwab <schwab@redhat.com>
16875
16876 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
16877 of errno.
16878
968dad0a
UD
168792011-01-19 Ulrich Drepper <drepper@gmail.com>
16880
9f94d2ea 16881 [BZ #11724]
968dad0a
UD
16882 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
16883 of constructors.
16884 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
16885 of destructors.
16886 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
16887
16888 [BZ #11724]
16889 * elf/Makefile: Add rules to build and run new test.
16890 * elf/tst-initorder.c: New file.
16891 * elf/tst-initorder.exp: New file.
16892 * elf/tst-initordera1.c: New file.
16893 * elf/tst-initordera2.c: New file.
16894 * elf/tst-initordera3.c: New file.
16895 * elf/tst-initordera4.c: New file.
16896 * elf/tst-initorderb1.c: New file.
16897 * elf/tst-initorderb2.c: New file.
16898 * elf/tst-order-a1.c: New file.
16899 * elf/tst-order-a2.c: New file.
16900 * elf/tst-order-a3.c: New file.
16901 * elf/tst-order-a4.c: New file.
16902 * elf/tst-order-b1.c: New file.
16903 * elf/tst-order-b2.c: New file.
16904 * elf/tst-order-main.c: New file.
16905 New test case by George Gensure <werkt0@gmail.com>.
16906
86e92359
UD
169072010-10-01 Andreas Schwab <schwab@redhat.com>
16908
16909 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16910 decoding ACE if AI_CANONIDN.
16911
5d5732b0
UD
169122011-01-18 Ulrich Drepper <drepper@gmail.com>
16913
16914 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
16915
a77e8cbc
UD
169162011-01-17 Ulrich Drepper <drepper@gmail.com>
16917
6392473f
UD
16918 * version.h (RELEASE): Bump for 2.13 release.
16919 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
16920
620a0529
UD
16921 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
16922
18ba70a5
UD
16923 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
16924 MADV_NOHUGEPAGE.
32465c3e
UD
16925 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
16926 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16927 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16928 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16929 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16930 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16931
c0dafcf1
UD
16932 * posix/getconf.c: Update copyright year.
16933 * catgets/gencat.c: Likewise.
16934 * csu/version.c: Likewise.
16935 * debug/catchsegv.sh: Likewise.
16936 * debug/xtrace.sh: Likewise.
16937 * elf/ldconfig.c: Likewise.
16938 * elf/ldd.bash.in: Likewise.
16939 * elf/sprof.c (print_version): Likewise.
16940 * iconv/iconv_prog.c: Likewise.
16941 * iconv/iconvconfig.c: Likewise.
16942 * locale/programs/locale.c: Likewise.
16943 * locale/programs/localedef.c: Likewise.
16944 * malloc/memusage.sh: Likewise.
16945 * malloc/mtrace.pl: Likewise.
16946 * nscd/nscd.c (print_version): Likewise.
16947 * nss/getent.c: Likewise.
16948
a77e8cbc
UD
16949 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
16950 PF_CAIF, and PF_ALG.
16951 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16952
77e8bddf
AS
169532011-01-16 Andreas Schwab <schwab@linux-m68k.org>
16954
1f20b93a
AS
16955 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
16956 (modules-names): Use them.
16957 (ifunc-test-modules, ifunc-pie-tests): Define.
16958 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
16959 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
16960 (test-extras): Likewise.
16961 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
16962 $(compile-command.c).
16963 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
16964 (all-built-dso): Define.
16965 (check-textrel.out, check-execstack.out): Depend on it.
16966
77e8bddf
AS
16967 * configure.in: Don't override --enable-multi-arch.
16968
bc425b33
UD
169692011-01-15 Ulrich Drepper <drepper@gmail.com>
16970
16971 [BZ #6812]
16972 * nscd/hstcache.c (tryagain): Define.
16973 (cache_addhst): Return tryagain not notfound for temporary errors.
16974 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
16975 failed.
16976
794c3ad3
UD
169772011-01-14 Ulrich Drepper <drepper@gmail.com>
16978
70181fdd
UD
16979 [BZ #10563]
16980 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
16981 to make the syscall.
16982 * sysdeps/unix/sysv/linux/setgroups.c: New file.
16983
794c3ad3
UD
16984 [BZ #12378]
16985 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
16986 and fall back to matching as normal character if the string ends before
16987 the matching ']' is found. This is what POSIX requires.
16988 * posix/testfnm.c: Adjust test result.
16989 * posix/globtest.sh: Adjust test result. Add new test.
16990 * posix/tst-fnmatch.input: Likewise.
16991 * posix/tst-fnmatch2.c: Add new test.
16992
68dc9497
AS
169932010-12-28 Andreas Schwab <schwab@linux-m68k.org>
16994
16995 * elf/Makefile (check-execstack): Revert last change. Depend on
16996 check-execstack.h.
16997 (check-execstack.h): New target.
16998 (generated): Add check-execstack.h.
16999 * elf/check-execstack.c: Include "check-execstack.h".
17000 (main): Revert last change.
17001 (handle_file): Return zero if GNU_STACK is absent and
17002 DEFAULT_STACK_PERMS doesn't include PF_X.
17003
451f001b
UD
170042011-01-13 Ulrich Drepper <drepper@gmail.com>
17005
cfa28e56
UD
17006 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
17007 in child fails because the descriptor is already closed.
8cf8ce17
UD
17008 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
17009 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
17010 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 17011
1086d70d
UD
17012 [BZ #12397]
17013 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
17014 syscall.
17015
451f001b
UD
17016 [BZ #10484]
17017 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
17018 temporary buffer used to handle multi lookups locally.
a85b5cb4 17019 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 17020
08769175
UD
170212011-01-12 Ulrich Drepper <drepper@gmail.com>
17022
17023 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
17024 loader is ld.so.
17025
5e49c52e
UD
170262011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
17027
17028 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
17029 alignment for SSE2.
17030
60522a5f
UD
170312011-01-12 Ulrich Drepper <drepper@gmail.com>
17032
17033 [BZ #12394]
17034 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
17035 characters. When rounding increased number of integer digits recompute
17036 number of groups.
17037 * stdio-common/tst-grouping.c: New file.
17038 * stdio-common/Makefile: Add rules to build and run tst-grouping.
17039
f257bbd7
UD
170402011-01-09 Ulrich Drepper <drepper@gmail.com>
17041
17042 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
17043 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
17044
17045 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
17046 void.
17047 * bits/select.h: Likewise.
17048
fa9c15cb
UD
170492011-01-08 Ulrich Drepper <drepper@gmail.com>
17050
17051 * po/ja.po: Update from translation team.
17052
16c2895f
DM
170532011-01-04 David S. Miller <davem@sunset.davemloft.net>
17054
17055 [BZ #11155]
17056 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
17057 implementation just like for lxstat, fxstatat, et al.
17058
2543fef2
JM
170592010-12-27 Jim Meyering <meyering@redhat.com>
17060
17061 [BZ #12348]
17062 * posix/regexec.c (build_trtable): Return failure indication upon
17063 calloc failure. Otherwise, re_search_internal could infloop on OOM.
17064
98727dbe
UD
170652010-12-25 Ulrich Drepper <drepper@gmail.com>
17066
5bd6dc5c
UD
17067 [BZ #12201]
17068 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
17069 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
17070 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
17071 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
17072
97983464
UD
17073 [BZ #12207]
17074 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
17075
98727dbe
UD
17076 [BZ #12204]
17077 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
17078 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
17079
4a531bb0
L
170802010-12-15 H.J. Lu <hongjiu.lu@intel.com>
17081
17082 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
17083 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
17084 script has SORT_BY_INIT_PRIORITY.
17085 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
17086 NO_CTORS_DTORS_SECTIONS is defined.
17087 * elf/soinit.c: Likewise.
17088 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
17089 NO_CTORS_DTORS_SECTIONS is defined.
17090 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
17091 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
17092 * sysdeps/sh/init-first.c: Likewise.
17093 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
17094
07eb4b71
UD
170952010-12-24 Ulrich Drepper <drepper@gmail.com>
17096
17097 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
17098 always use the slow path.
17099
30950a5f
RA
171002010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
17101
17102 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
17103 similar rule which adds the sysdep directories to the header search in
17104 order to pick up the correct platform stackinfo.h.
17105 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
17106 perform test if it is, otherwise return successfully without testing.
17107 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
17108 DEFAULT_STACK_PERMS define in stackinfo.h.
17109 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
17110 defined in stackinfo.h.
17111 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
17112 DEFAULT_STACK_PERMS defined in stackinfo.h.
17113 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
17114 * sysdeps/ia64/stackinfo.h: Likewise.
17115 * sysdeps/s390/stackinfo.h: Likewise.
17116 * sysdeps/sh/stackinfo.h: Likewise.
17117 * sysdeps/sparc/stackinfo.h: Likewise.
17118 * sysdeps/x86_64/stackinfo.h: Likewise.
17119 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
17120 PF_X for powerpc64. Retain PF_X for powerpc32.
17121
db753e2c
UD
171222010-12-19 Ulrich Drepper <drepper@gmail.com>
17123
14b697f7
UD
17124 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
17125 accurately.
db753e2c
UD
17126 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
17127 GETDENTS_64BIT_ALIGNED.
17128
28300719
UD
171292010-12-14 Ulrich Drepper <dreper@gmail.com>
17130
14b697f7 17131 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 17132
4f197237
AS
171332010-12-10 Andreas Schwab <schwab@redhat.com>
17134
dbb0472f
AS
17135 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
17136 _GNU_SOURCE.
17137
4f197237
AS
17138 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
17139 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
17140 Remove __restrict.
17141 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
17142 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
17143
fb88ac72
UD
171442010-12-09 Ulrich Drepper <drepper@gmail.com>
17145
17146 [BZ #11655]
17147 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
17148 are initialized.
17149
42acbb92
JJ
171502010-12-09 Jakub Jelinek <jakub@redhat.com>
17151
17152 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
17153
c038d98d
UD
171542010-12-03 Ulrich Drepper <drepper@gmail.com>
17155
17156 * po/it.po: Update from translation team.
17157
3a4a2499
L
171582010-12-01 H.J. Lu <hongjiu.lu@intel.com>
17159
17160 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
17161 unused codes.
17162
1e24cf6e
UD
171632010-11-30 Ulrich Drepper <drepper@gmail.com>
17164
17165 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
17166
a7690819
AS
171672010-11-24 Andreas Schwab <schwab@redhat.com>
17168
17169 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
17170 specially.
17171 (gaih_getanswer_slice): Likewise.
17172
3bf8d1b1
JJ
171732010-10-20 Jakub Jelinek <jakub@redhat.com>
17174
17175 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
17176
6db52fbb
PB
171772010-05-31 Petr Baudis <pasky@suse.cz>
17178
17179 [BZ #11149]
17180 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
17181 silently even in the chroot mode.
17182
eaca7569
UD
171832010-11-22 Ulrich Drepper <drepper@gmail.com>
17184
17185 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
17186 last patch a bit. Pretty printing
17187
3056dcdb
UD
171882010-05-31 Petr Baudis <pasky@suse.cz>
17189
17190 [BZ #10085]
17191 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
17192 initialization of skip_initgroups_dyn.
17193
cf7c9078
UD
171942010-11-19 Ulrich Drepper <drepper@gmail.com>
17195
17196 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
17197 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17198
a1fb5e3e
UD
171992010-11-16 Ulrich Drepper <drepper@gmail.com>
17200
17201 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
17202
3540d66b
AS
172032010-11-11 Andreas Schwab <schwab@redhat.com>
17204
17205 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
17206 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
17207 (tst-fnmatch-ENV): Set MALLOC_TRACE.
17208 ($(objpfx)tst-fnmatch-mem): New rule.
17209 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
17210 * posix/tst-fnmatch.c (main): Call mtrace.
17211
13b69574
L
172122010-11-11 H.J. Lu <hongjiu.lu@intel.com>
17213
17214 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17215 Support Intel processor model 6 and model 0x2c.
17216
da93d214
LM
172172010-11-10 Luis Machado <luisgpm@br.ibm.com>
17218
17219 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
17220 signed comparison.
17221
8ca52c6e
L
172222010-11-09 H.J. Lu <hongjiu.lu@intel.com>
17223
17224 [BZ #12205]
17225 * string/test-strncasecmp.c (check_result): New function.
17226 (do_one_test): Use it.
17227 (check1): New function.
17228 (test_main): Use it.
17229 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
17230 Support strcasecmp and strncasecmp.
17231
69da074d
UD
172322010-11-08 Ulrich Drepper <drepper@gmail.com>
17233
17234 [BZ #12194]
17235 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
17236 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17237
ff02d528
L
172382010-11-07 H.J. Lu <hongjiu.lu@intel.com>
17239
17240 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
17241 IFUNC support.
17242 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17243 memset-x86-64.
17244 * sysdeps/x86_64/multiarch/bzero.S: New file.
17245 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
17246 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
17247 * sysdeps/x86_64/multiarch/memset.S: New file.
17248 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
17249 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17250 Set bit_Prefer_SSE_for_memop for Intel processors.
17251 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
17252 Define.
17253 (index_Prefer_SSE_for_memop): Define.
17254 (HAS_PREFER_SSE_FOR_MEMOP): Define.
17255
344d0b54
LM
172562010-11-04 Luis Machado <luisgpm@br.ibm.com>
17257
17258 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17259 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17260
c0dde15b
UD
172612010-11-03 H.J. Lu <hongjiu.lu@intel.com>
17262
17263 [BZ #12191]
17264 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17265 (__x86_64_raw_data_cache_size_half): Likewise.
17266 (__x86_64_raw_shared_cache_size): Likewise.
17267 (__x86_64_raw_shared_cache_size_half): Likewise.
17268
17269 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17270 (__x86_64_raw_data_cache_size_half): Likewise.
17271 (__x86_64_raw_shared_cache_size): Likewise.
17272 (__x86_64_raw_shared_cache_size_half): Likewise.
17273 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17274 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17275 and __x86_64_raw_shared_cache_size_half. Round
17276 __x86_64_data_cache_size_half, __x86_64_data_cache_size
17277 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17278 to multiple of 256 bytes.
17279
0e516e0e
MS
172802010-11-03 Ulrich Drepper <drepper@gmail.com>
17281
17282 [BZ #12167]
17283 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17284 of inacessible symlinks. Verify result of symlink before returning it.
17285 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17286 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17287
0e012e87
ER
172882010-10-28 Erich Ritz <erichritz@gmail.com>
17289
17290 * math/math.h (isinf): Fix typo in comment.
17291
de0ff7bc
UD
172922010-11-01 Ulrich Drepper <drepper@gmail.com>
17293
17294 * po/da.po: Update from translation team.
17295
fa41c84d
UD
172962010-10-26 Ulrich Drepper <drepper@gmail.com>
17297
17298 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17299 is added to the list.
17300
f0967738
AK
173012010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17302 Ulrich Drepper <drepper@gmail.com>
17303
17304 * elf/dl-object.c (_dl_new_object): Don't append the new object to
17305 the global list here. Move code to...
17306 (_dl_add_to_namespace_list): ...here. New function.
17307 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17308 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17309 * elf/dl-load.c (lose): Don't remove the element from the list.
17310 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17311 (_dl_map_object): Likewise.
17312
173132010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
17314
17315 [BZ #12159]
17316 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17317 into all bytes of SSE register.
17318 Patch by Richard Li <richardpku@gmail.com>.
17319
f0967738 173202010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
17321
17322 [BZ #12140]
17323 * malloc/malloc.c (_int_free): Fill correct number of bytes when
17324 perturbing.
17325
d0b9e94f
MB
173262010-10-20 Michael B. Brutman <brutman@us.ibm.com>
17327
17328 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17329 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17330 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17331 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17333 submachine.
17334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17335
8e9f92e9
AS
173362010-10-22 Andreas Schwab <schwab@redhat.com>
17337
17338 * include/dlfcn.h (__RTLD_SECURE): Define.
17339 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
17340 mode & __RTLD_SECURE instead.
17341 (open_path): Rename preloaded parameter to secure.
17342 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17343 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17344 * elf/dl-deps.c (openaux): Likewise.
17345 * elf/rtld.c (struct map_args): Remove is_preloaded.
17346 (map_doit): Don't use it.
17347 (dl_main): Likewise.
17348 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
17349 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
17350
bc96fbda
AS
173512010-09-09 Andreas Schwab <schwab@redhat.com>
17352
17353 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
17354 (sysd-rules-targets): Remove duplicates.
17355 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
17356 rtld-%.$o dependency.
17357
22cd1c9b
AS
173582010-10-18 Andreas Schwab <schwab@redhat.com>
17359
17360 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
17361 _dl_map_object do it.
17362
18edac48
UD
173632010-10-19 Ulrich Drepper <drepper@gmail.com>
17364
17365 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
17366 fast fma builtins, define the macros in the C99 standard.
17367 (FP_FAST_FMAF): Likewise.
17368 (FP_FAST_FMAL): Likewise.
17369 * sysdeps/x86_64/bits/mathdef.h: Likewise.
17370
17371 * bits/mathdef.h: Update copyright year.
17372 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17373
d2050124
MM
173742010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
17375
17376 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
17377 builtins, define the macros in the C99 standard.
17378 (FP_FAST_FMAF): Likewise.
17379 (FP_FAST_FMAL): Likewise.
17380 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
17381 multiply/add.
17382 (FP_FAST_FMAF): Likewise.
17383
475facd1
JJ
173842010-10-15 Jakub Jelinek <jakub@redhat.com>
17385
17386 [BZ #3268]
17387 * math/libm-test.inc (fma_test): Some new testcases.
17388 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
17389 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
17390 y and infinite z. Do multiplication by C already in long double.
17391 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
17392 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
17393 y and infinite z. Do bitwise or of inexact bit into u.d.
17394 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
17395 * sysdeps/i386/fpu/s_fmaf.S: Removed.
17396 * sysdeps/i386/fpu/s_fma.S: Removed.
17397 * sysdeps/i386/fpu/s_fmal.S: Removed.
17398
7c08a05c
JJ
173992010-10-16 Jakub Jelinek <jakub@redhat.com>
17400
17401 [BZ #3268]
17402 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
17403 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
17404 computation is not scheduled after fetestexcept. Fix value
17405 of minimum denormal long double.
17406
f3f7372d
JJ
174072010-10-14 Jakub Jelinek <jakub@redhat.com>
17408
17409 [BZ #3268]
17410 * math/libm-test.inc (fma_test): Add some more tests.
17411 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
17412 correctly.
17413
14d43591
AS
174142010-10-15 Andreas Schwab <schwab@redhat.com>
17415
17416 * scripts/data/localplt-s390-linux-gnu.data: New file.
17417 * scripts/data/localplt-s390x-linux-gnu.data: New file.
17418
5e908464
JJ
174192010-10-13 Jakub Jelinek <jakub@redhat.com>
17420
17421 [BZ #3268]
17422 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
17423 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
17424 instead of dbl-64.
17425 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
17426 inlines.
17427 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
17428 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
17429 if one of x and y is very large and the other is subnormal.
17430 * sysdeps/s390/fpu/s_fmaf.c: New file.
17431 * sysdeps/s390/fpu/s_fma.c: New file.
17432 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
17433 * sysdeps/powerpc/fpu/s_fma.S: New file.
17434 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
17435 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
17436 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
17437
174382010-10-12 Jakub Jelinek <jakub@redhat.com>
17439
17440 [BZ #3268]
17441 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
17442 fma tests.
17443 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
17444 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
17445 * sysdeps/i386/i686/multiarch/s_fma.c: Include
17446 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
17447 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
17448 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
17449 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
17450
b833d51f
UD
174512010-10-12 Ulrich Drepper <drepper@redhat.com>
17452
17453 [BZ #12078]
17454 * posix/regcomp.c (parse_branch): One more memory leak plugged.
17455 * posix/bug-regex31.input: Add test case.
17456
1751705d
UD
174572010-10-11 Ulrich Drepper <drepper@gmail.com>
17458
e9b9cbf5
UD
17459 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
17460 * posix/bug-regex31.input: New file.
17461
17462 [BZ #12078]
17463 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
17464 (parse_sub_exp): Fix last change, use postorder.
17465
ef06edbe
UD
17466 * posix/bug-regex31.c: New file.
17467 * posix/Makefile: Add rules to build and run bug-regex31.
17468
a129c80d
UD
17469 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
17470
17471 [BZ #12078]
17472 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
17473
b76b818e
UD
17474 [BZ #12108]
17475 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
17476 to have entries in sys_siglist.
17477
1751705d
UD
17478 [BZ #12093]
17479 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
17480 be NULL.
17481
9ff8d36f
JJ
174822010-10-07 Jakub Jelinek <jakub@redhat.com>
17483
17484 [BZ #3268]
17485 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
17486 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
17487 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
17488 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
17489 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17490 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
17491 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
17492 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
17493 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
17494 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
17495 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
17496 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
17497 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17498 * math/ftestexcept.c (fetestexcept): Likewise.
17499 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
17500 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
17501 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17502 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
17503 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
17504 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
17505 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17506
af325969
UD
175072010-10-11 Ulrich Drepper <drepper@gmail.com>
17508
c579b202 17509 [BZ #12107]
af325969
UD
17510 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
17511 newline.
17512
67a67b95
UD
175132010-10-06 Ulrich Drepper <drepper@gmail.com>
17514
17515 * string/bug-strstr1.c: New file.
17516 * string/Makefile: Add rules to build and run bug-strstr1.
17517
5fb308bc
EB
175182010-10-05 Eric Blake <eblake@redhat.com>
17519
17520 [BZ #12092]
17521 * string/str-two-way.h (two_way_long_needle): Always clear memory
17522 when skipping input due to the shift table.
17523
45db99c7
UD
175242010-10-03 Ulrich Drepper <drepper@gmail.com>
17525
3b111893
UD
17526 [BZ #12005]
17527 * malloc/mcheck.c: Handle large requests.
17528
45db99c7
UD
17529 [BZ #12077]
17530 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
17531 for strncmp and strncasecmp.
17532 * string/stratcliff.c: Add tests for strcmp and strncmp.
17533 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
17534
cf7a1eb8
NI
175352010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17536
17537 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
17538 __set_fpscr.
17539
6484ba5e
AJ
175402010-09-30 Andreas Jaeger <aj@suse.de>
17541
17542 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
17543 (CGROUP_SUPER_MAGIC): Define.
17544 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17545 Handle btrfs and cgroup file systems.
17546 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17547 Likewise.
17548
91c42559
LM
175492010-09-27 Luis Machado <luisgpm@br.ibm.com>
17550
17551 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
17552 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
17553
87a97932
AK
175542010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17555
17556 [BZ #12067]
17557 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
17558 trying to locate the ELF header.
17559
c21cc9bc
AS
175602010-09-27 Andreas Schwab <schwab@redhat.com>
17561
17562 [BZ #11611]
17563 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
17564 Mask out sign-bit copies when constructing f_fsid.
17565
315970f6
PB
175662010-09-24 Petr Baudis <pasky@suse.cz>
17567
17568 * debug/stack_chk_fail_local.c: Add missing licence exception.
17569 * debug/warning-nop.c: Likewise.
17570
1ac7a2c7
JM
175712010-09-15 Joseph Myers <joseph@codesourcery.com>
17572
17573 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
17574 implementing getdents64 using getdents syscall, set d_type if
17575 __ASSUME_GETDENTS32_D_TYPE.
17576
56801c50
AS
175772010-09-16 Andreas Schwab <schwab@redhat.com>
17578
17579 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
17580 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
17581
dda51327
UD
175822010-09-21 Ulrich Drepper <drepper@redhat.com>
17583
17584 [BZ #12037]
17585 * posix/unistd.h: Undo change of feature selection for ftruncate from
17586 2010-01-11.
17587
8ffcee4a
UD
175882010-09-20 Ulrich Drepper <drepper@redhat.com>
17589
a545ecd9 17590 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
17591 detection.
17592
e24f0a8b
AS
175932010-09-20 Andreas Schwab <schwab@redhat.com>
17594
17595 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
17596 fanotify_mark.
17597 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17598
7291c56f
AS
175992010-09-14 Andreas Schwab <schwab@redhat.com>
17600
17601 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
17602 variables after CHECK_SP call.
17603 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
17604
bc5fb037
AS
176052010-09-13 Andreas Schwab <schwab@redhat.com>
17606 Ulrich Drepper <drepper@redhat.com>
17607
17608 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
17609 re-relocationg ld.so.
17610 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
17611 _dl_init_paths call.
17612 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
17613 here anymore.
17614
e66e7419
UD
176152010-09-14 Ulrich Drepper <drepper@redhat.com>
17616
17617 * resolv/res_init.c (__res_vinit): Count the default server we added.
17618
c044aa75
CLT
176192010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
17620 Ulrich Drepper <drepper@redhat.com>
17621
17622 [BZ #11968]
17623 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17624 (____longjmp_chk): Use %ebx for saving value across system call.
17625 Add unwind info.
17626
32cf4069
AS
176272010-09-06 Andreas Schwab <schwab@redhat.com>
17628
17629 * manual/Makefile: Don't mix pattern rules with normal rules.
17630
817328ee
AS
176312010-09-05 Andreas Schwab <schwab@linux-m68k.org>
17632
17633 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
17634 operation.
17635 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17636 * libio/iofopncook.c (_IO_cookie_init): Likewise.
17637 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17638 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17639 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17640 Likewise.
17641
29fddf61
UD
176422010-09-04 Ulrich Drepper <drepper@redhat.com>
17643
17644 [BZ #11979]
17645 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
17646 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
17647
0959ffc9
UD
176482010-09-02 Ulrich Drepper <drepper@redhat.com>
17649
17650 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
17651 * sysdeps/x86_64/addmul_1.S: Likewise.
17652 * sysdeps/x86_64/lshift.S: Likewise.
17653 * sysdeps/x86_64/mul_1.S: Likewise.
17654 * sysdeps/x86_64/rshift.S: Likewise.
17655 * sysdeps/x86_64/sub_n.S: Likewise.
17656 * sysdeps/x86_64/submul_1.S: Likewise.
17657
ece29840
ST
176582010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
17659
0959ffc9
UD
17660 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
17661 Define __sched_param instead of SCHED_* and sched_param when
ece29840 17662 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 17663 * bits/sched.h [__need_schedparam]
ece29840 17664 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
17665 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
17666 (__defined_schedparam): Define to 1.
ece29840
ST
17667 (__sched_param): New structure, identical to sched_param.
17668 (__need_schedparam): Undefine.
17669
e53a31fe
MF
176702010-08-31 Mike Frysinger <vapier@gentoo.org>
17671
fdc0c10d
MF
17672 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
17673 (epoll_create1): Declare.
17674
e53a31fe
MF
17675 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
17676
a726d796
AS
176772010-08-31 Andreas Schwab <schwab@redhat.com>
17678
17679 [BZ #7066]
17680 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
17681 shifting retval into place.
17682
2f3e3dc7
UD
176832010-09-01 Ulrich Drepper <drepper@redhat.com>
17684
f2933da9
UD
17685 * nis/rpcsvc/nis.h: Update copyright notice.
17686 * nis/rpcsvc/nis.x: Likewise.
17687 * nis/rpcsvc/nis_callback.h: Likewise.
17688 * nis/rpcsvc/nis_callback.x: Likewise.
17689 * nis/rpcsvc/nis_object.x: Likewise.
17690 * nis/rpcsvc/nis_tags.h: Likewise.
17691 * nis/rpcsvc/yp.h: Likewise.
17692 * nis/rpcsvc/yp.x: Likewise.
17693 * nis/rpcsvc/ypupd.h: Likewise.
17694 * nis/yp_xdr.c: Likewise.
17695 * nis/ypupdate_xdr.c: Likewise.
17696
2f3e3dc7
UD
17697 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
17698 mainly the body of pmap_getport. Add parameters to specify timeouts.
17699 (pmap_getport): Use __libc_rpc_getport.
17700 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
17701 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
17702 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
17703
f3dcc2f9
AS
177042010-08-31 Andreas Schwab <schwab@linux-m68k.org>
17705
17706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
17707 fanotify_mark.
17708
6d34eb5b
RM
177092010-08-27 Roland McGrath <roland@redhat.com>
17710
17711 * sysdeps/i386/i686/multiarch/Makefile
17712 (CFLAGS-varshift.c): New variable.
17713
9ea3de11
UD
177142010-08-27 Ulrich Drepper <drepper@redhat.com>
17715
c96d23fc
UD
17716 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
17717 * sysdeps/i386/i686/multiarch/varshift.c: New file.
17718
9ea3de11
UD
17719 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
17720
17721 * sysdeps/x86_64/strlen.S: Minimal code improvement.
17722
623aac7f
L
177232010-08-26 H.J. Lu <hongjiu.lu@intel.com>
17724
17725 * sysdeps/x86_64/strlen.S: Unroll the loop.
17726 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17727 strlen-sse2 strlen-sse2-bsf.
17728 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
17729 __strlen_no_bsf if bit_Slow_BSF is set.
17730 (__strlen_sse42): Removed.
17731 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
17732 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
17733
8b2b7715
RM
177342010-08-25 Roland McGrath <roland@redhat.com>
17735
17736 * sysdeps/x86_64/multiarch/varshift.S: File removed.
17737 * sysdeps/x86_64/multiarch/varshift.c: New file.
17738 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
17739 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
17740 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
17741 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17742
e73015f2
L
177432010-08-25 H.J. Lu <hongjiu.lu@intel.com>
17744
17745 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17746 strlen-sse2 strlen-sse2-bsf.
17747 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
17748 __strlen_sse2_bsf if bit_Slow_BSF is unset.
17749 (__strlen_sse2): Removed.
17750 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
17751 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
17752 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17753 bit_Slow_BSF for Atom.
17754 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
17755 (index_Slow_BSF): Define.
17756 (HAS_SLOW_BSF): Define.
17757
df24a73e
UD
177582010-08-25 Ulrich Drepper <drepper@redhat.com>
17759
17760 [BZ #10851]
17761 * resolv/res_init.c (__res_vinit): When no server address at all
17762 is given default to loopback.
17763
f2ac4868
RM
177642010-08-24 Roland McGrath <roland@redhat.com>
17765
09055553
RM
17766 * configure.in: Remove config-name.h generation.
17767 * configure: Regenerated.
17768 * config-name.in: File removed.
17769 * scripts/config-uname.sh: New file.
17770 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
17771 ($(objdir)config-name.h): New target.
17772
f2ac4868
RM
17773 * sunrpc/rpc_parse.h: Avoid nested comment.
17774
73f27d5e
RH
177752010-08-24 Richard Henderson <rth@redhat.com>
17776 Ulrich Drepper <drepper@redhat.com>
17777 H.J. Lu <hongjiu.lu@intel.com>
17778
17779 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
17780 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
17781 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
17782 Replace _mm_srli_si128 with __m128i_shift_right. Replace
17783 _mm_alignr_epi8 with _mm_loadu_si128.
17784 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
17785 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
17786 (__m128i_shift_right): Removed.
17787 * sysdeps/i386/i686/multiarch/varshift.h: New file.
17788 * sysdeps/i386/i686/multiarch/varshift.S: New file.
17789 * sysdeps/x86_64/multiarch/varshift.h: New file.
17790 * sysdeps/x86_64/multiarch/varshift.S: New file.
17791
84b9230c
MF
177922010-08-21 Mike Frysinger <vapier@gentoo.org>
17793
17794 * configure.in: Move assembler checks to before sysdep dir checking.
17795
9bbd0ddc
PB
177962010-08-20 Petr Baudis <pasky@suse.cz>
17797
17798 * LICENSES: Sync the sunrpc license.
17799
9da4bb31
UD
178002010-08-19 Ulrich Drepper <drepper@redhat.com>
17801
a7ab6ec8
UD
17802 * sunrpc/auth_des.c: Update copyright notice once again.
17803 * sunrpc/auth_none.c: Likewise.
17804 * sunrpc/auth_unix.c: Likewise.
17805 * sunrpc/authdes_prot.c: Likewise.
17806 * sunrpc/authuxprot.c: Likewise.
17807 * sunrpc/bindrsvprt.c: Likewise.
17808 * sunrpc/clnt_gen.c: Likewise.
17809 * sunrpc/clnt_perr.c: Likewise.
17810 * sunrpc/clnt_raw.c: Likewise.
17811 * sunrpc/clnt_simp.c: Likewise.
17812 * sunrpc/clnt_tcp.c: Likewise.
17813 * sunrpc/clnt_udp.c: Likewise.
17814 * sunrpc/clnt_unix.c: Likewise.
17815 * sunrpc/des_crypt.c: Likewise.
17816 * sunrpc/des_soft.c: Likewise.
17817 * sunrpc/get_myaddr.c: Likewise.
17818 * sunrpc/getrpcport.c: Likewise.
17819 * sunrpc/key_call.c: Likewise.
17820 * sunrpc/key_prot.c: Likewise.
17821 * sunrpc/openchild.c: Likewise.
17822 * sunrpc/pm_getmaps.c: Likewise.
17823 * sunrpc/pm_getport.c: Likewise.
17824 * sunrpc/pmap_clnt.c: Likewise.
17825 * sunrpc/pmap_prot.c: Likewise.
17826 * sunrpc/pmap_prot2.c: Likewise.
17827 * sunrpc/pmap_rmt.c: Likewise.
17828 * sunrpc/rpc/auth.h: Likewise.
17829 * sunrpc/rpc/auth_unix.h: Likewise.
17830 * sunrpc/rpc/clnt.h: Likewise.
17831 * sunrpc/rpc/des_crypt.h: Likewise.
17832 * sunrpc/rpc/key_prot.h: Likewise.
17833 * sunrpc/rpc/netdb.h: Likewise.
17834 * sunrpc/rpc/pmap_clnt.h: Likewise.
17835 * sunrpc/rpc/pmap_prot.h: Likewise.
17836 * sunrpc/rpc/pmap_rmt.h: Likewise.
17837 * sunrpc/rpc/rpc.h: Likewise.
17838 * sunrpc/rpc/rpc_des.h: Likewise.
17839 * sunrpc/rpc/rpc_msg.h: Likewise.
17840 * sunrpc/rpc/svc.h: Likewise.
17841 * sunrpc/rpc/svc_auth.h: Likewise.
17842 * sunrpc/rpc/types.h: Likewise.
17843 * sunrpc/rpc/xdr.h: Likewise.
17844 * sunrpc/rpc_clntout.c: Likewise.
17845 * sunrpc/rpc_cmsg.c: Likewise.
17846 * sunrpc/rpc_common.c: Likewise.
17847 * sunrpc/rpc_cout.c: Likewise.
17848 * sunrpc/rpc_dtable.c: Likewise.
17849 * sunrpc/rpc_hout.c: Likewise.
17850 * sunrpc/rpc_main.c: Likewise.
17851 * sunrpc/rpc_parse.c: Likewise.
17852 * sunrpc/rpc_parse.h: Likewise.
17853 * sunrpc/rpc_prot.c: Likewise.
17854 * sunrpc/rpc_sample.c: Likewise.
17855 * sunrpc/rpc_scan.c: Likewise.
17856 * sunrpc/rpc_scan.h: Likewise.
17857 * sunrpc/rpc_svcout.c: Likewise.
17858 * sunrpc/rpc_tblout.c: Likewise.
17859 * sunrpc/rpc_util.c: Likewise.
17860 * sunrpc/rpc_util.h: Likewise.
17861 * sunrpc/rpcinfo.c: Likewise.
17862 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
17863 * sunrpc/rpcsvc/key_prot.x: Likewise.
17864 * sunrpc/rpcsvc/klm_prot.x: Likewise.
17865 * sunrpc/rpcsvc/mount.x: Likewise.
17866 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
17867 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
17868 * sunrpc/rpcsvc/rex.x: Likewise.
17869 * sunrpc/rpcsvc/rstat.x: Likewise.
17870 * sunrpc/rpcsvc/rusers.x: Likewise.
17871 * sunrpc/rpcsvc/sm_inter.x: Likewise.
17872 * sunrpc/rpcsvc/spray.x: Likewise.
17873 * sunrpc/rpcsvc/yppasswd.x: Likewise.
17874 * sunrpc/rtime.c: Likewise.
17875 * sunrpc/svc.c: Likewise.
17876 * sunrpc/svc_auth.c: Likewise.
17877 * sunrpc/svc_authux.c: Likewise.
17878 * sunrpc/svc_raw.c: Likewise.
17879 * sunrpc/svc_run.c: Likewise.
17880 * sunrpc/svc_simple.c: Likewise.
17881 * sunrpc/svc_tcp.c: Likewise.
17882 * sunrpc/svc_udp.c: Likewise.
17883 * sunrpc/svc_unix.c: Likewise.
17884 * sunrpc/svcauth_des.c: Likewise.
17885 * sunrpc/xcrypt.c: Likewise.
17886 * sunrpc/xdr.c: Likewise.
17887 * sunrpc/xdr_array.c: Likewise.
17888 * sunrpc/xdr_float.c: Likewise.
17889 * sunrpc/xdr_mem.c: Likewise.
17890 * sunrpc/xdr_rec.c: Likewise.
17891 * sunrpc/xdr_ref.c: Likewise.
17892 * sunrpc/xdr_sizeof.c: Likewise.
17893 * sunrpc/xdr_stdio.c: Likewise.
17894
9da4bb31
UD
17895 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
17896 handling.
17897
bdaa77bc
AS
178982010-08-19 Andreas Schwab <schwab@redhat.com>
17899
17900 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
17901
fe2f79db
LM
179022010-08-19 Luis Machado <luisgpm@br.ibm.com>
17903
17904 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
17905 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
17906 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
17907 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
17908 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
17909 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
17910 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
17911 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
17912 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
17913 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
17914 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
17915 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
17916 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
17917 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
17918
b9b42ee0
AB
179192010-07-26 Anton Blanchard <anton@samba.org>
17920
17921 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
17922 * malloc/arena.c (heap_trim): Likewise.
17923
1c06ba31
UD
179242010-08-16 Ulrich Drepper <drepper@redhat.com>
17925
17926 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
17927 here. Not...
17928 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
17929 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
17930
f8392f40
L
179312010-08-12 H.J. Lu <hongjiu.lu@intel.com>
17932
17933 * sysdeps/i386/elf/Makefile: New file.
17934
3162f12e
AS
179352010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17936
17937 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
17938 from fanotify_init.
17939 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
17940 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17941
28c90b2c
UD
179422010-08-15 Ulrich Drepper <drepper@redhat.com>
17943
17944 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
17945 of strncasecmp_l.
1feccb6c 17946 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 17947
ca6bb004
UD
179482010-08-14 Ulrich Drepper <drepper@redhat.com>
17949
e9f82e0d
UD
17950 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17951 strncase_l-nonascii.
17952 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17953 Add strncase_l-ssse3.
17954 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
17955 * sysdeps/x86_64/strcmp.S: Likewise.
17956 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
17957 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
17958 * sysdeps/x86_64/strncase.S: New file.
17959 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
17960 * sysdeps/x86_64/strncase_l.S: New file.
17961 * string/Makefile (strop-tests): Add strncasecmp.
17962 * string/test-strncasecmp.c: New file.
17963
17964 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
17965 warning.
17966
ca6bb004
UD
17967 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
17968 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
17969
052fa7b3
AS
179702010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17971
17972 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
17973
962dba78
UD
179742010-08-12 Ulrich Drepper <drepper@redhat.com>
17975
17976 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
17977 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
17978 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
17979
bebff237
AM
179802010-05-01 Alan Modra <amodra@gmail.com>
17981
17982 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
17983 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
17984 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
17985 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
17986 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
17987 tidying. Don't tail-call __sigjmp_save for static lib.
17988 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
17989 save location.
17990 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
17991 (CALL_MCOUNT): Add eh info, and nop after bl.
17992 (TAIL_CALL_SYSCALL_ERROR): New macro.
17993 (PSEUDO_RET): Use it.
17994 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17995 Correct save location of integer regs and cr.
17996 (_dl_profile_resolve): Correct cr save location. Delete nops
17997 after bl when SHARED. Reduce cfi size a little by better
17998 placement of cfi directives.
17999 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
18000 make a stack frame. Instead use parm save area as a temp.
18001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
18002 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
18003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18004 Don't make a stack frame for parent, use parm save area.
18005 Increase child stack frame to 112 bytes. Don't save unused reg,
18006 and adjust reg usage. Set up cfi on error recovery and
18007 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
18008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18009 (__makecontext): Add dummy nop after jump to exit.
18010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
18011 Use correct parm save area and cr save, reduce stack frame.
18012 Correct cfi for possible PSEUDO_RET frame setup.
18013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
18014 Branch to local label emitted by PSEUDO_RET rather than
18015 __syscall_error.
18016
02637374
AS
180172010-08-12 Andreas Schwab <schwab@redhat.com>
18018
18019 [BZ #11904]
18020 * locale/programs/locale.c (print_assignment): New function.
18021 (show_locale_vars): Use it.
18022
c3e2f19b
UD
180232010-08-11 Ulrich Drepper <drepper@redhat.com>
18024
3cdaa6ad
UD
18025 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
18026 field.
18027 (struct statfs64): Likewise.
18028 (_STATFS_F_FLAGS): Define.
18029 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
18030 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18031 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
18032 (ST_VALID): Define locally.
18033 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
18034 __statvfs_getflags, use the provided value.
18035 * sysdeps/unix/sysv/linux/kernel-features.h: Define
18036 __ASSUME_STATFS_F_FLAGS.
18037
754f7da3
UD
18038 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
18039
10b3bedc
UD
18040 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
18041 Add sys/fanotify.h.
18042 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
18043 fanotify_mask for GLIBC_2.13.
18044 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
18045 fanotify_init and fanotify_mark.
18046 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18047 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
18048
c08fb0d7
UD
18049 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
18050 Add prlimit.
18051 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
18052 prlimit64 for GLIBC_2.13.
18053 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
18054 prlimit64.
18055 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
18056 syscall.
18057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18058 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18059 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
18060 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
18061 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
18062 add prlimit alias.
18063 * sysdeps/unix/sysv/linux/prlimit.c: New file.
18064
15bac72b
UD
18065 [BZ #11903]
18066 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
18067 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
18068
c3e2f19b
UD
18069 * nss/Makefile: Add rules to build and run tst-nss-test1.
18070 * shlib-versions: Add entry for libnss_test1.
18071 * nss/nss_test1.c: New file.
18072 * nss/tst-nss-test1.c: New file.
18073
18074 * nss/nsswitch.c (__nss_database_custom): Define new variable.
18075 (__nss_configure_lookup): Set appropriate entry in
18076 __nss_configure_lookup to true.
18077 * nss/nsswitch.h: Define enum with indeces of databases in
18078 databases and __nss_database_custom arrays. Declare
18079 __nss_database_custom.
18080 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
18081 to avoid using nscd when custom rules are installed.
18082 * nss/getXXbyYY_r.c: Likewise.
18083 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18084
18085 * nss/nss_files/files-parse.c: Whitespace fixes.
18086
f15ce4d8
UD
180872010-08-09 Ulrich Drepper <drepper@redhat.com>
18088
18089 [BZ #11883]
18090 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
18091 * posix/fnmatch_loop.c: Likewise.
18092
d22e4cc9
AK
180932010-07-17 Andi Kleen <ak@linux.intel.com>
18094
18095 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
18096 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
18097 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
18098 * Versions.def [GLIBC_2.13]: Add.
18099
805bc17d
UD
181002010-08-06 Ulrich Drepper <drepper@redhat.com>
18101
18102 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18103 Also fail if tpwd after pwuid call is NULL.
18104
5a42321d
ST
181052010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
18106
18107 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
18108 when converting to ms.
18109
fd3ebeda
ST
181102010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18111
18112 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
18113 EOPNOTSUPP errors with ENOTTY.
18114 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
18115 EOPNOTSUPP errors with ENOTTY.
18116
73507d3a
UD
181172010-07-31 Ulrich Drepper <drepper@redhat.com>
18118
18119 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18120 Add strcasecmp_l-ssse3.
18121 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
18122 strcasecmp.
18123 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
18124 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
18125 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
18126
fe36dd02
UD
181272010-07-30 Ulrich Drepper <drepper@redhat.com>
18128
66f6765a
UD
18129 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
18130
42e08a54
UD
18131 * string/Makefile (strop-tests): Add strcasecmp.
18132 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18133 strcasecmp_l-nonascii.
18134 (gen-as-const-headers): Add locale-defines.sym.
18135 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
18136 * sysdeps/x86_64/strcasecmp.S: New file.
18137 * sysdeps/x86_64/strcasecmp_l.S: New file.
18138 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
18139 * sysdeps/x86_64/locale-defines.sym: New file.
18140 * string/test-strcasecmp.c: New file.
18141
fe36dd02
UD
18142 * string/test-strcasestr.c: Test both ends of the range of characters.
18143 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
18144
48cbc0d6
RM
181452010-07-29 Roland McGrath <roland@redhat.com>
18146
76e6d6bc 18147 [BZ #11856]
48cbc0d6
RM
18148 * manual/locale.texi (Yes-or-No Questions): Fix example code.
18149
880113d9
UD
181502010-07-27 Ulrich Drepper <drepper@redhat.com>
18151
18152 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
18153 for ld.so.
18154
deb9cabb
AS
181552010-07-27 Andreas Schwab <schwab@redhat.com>
18156
18157 * manual/memory.texi (Malloc Tunable Parameters): Document
18158 M_PERTURB.
18159
1c7570ff
RM
181602010-07-26 Roland McGrath <roland@redhat.com>
18161
18162 [BZ #11840]
18163 * configure.in (-fgnu89-inline check): Set and substitute
18164 gnu89_inline, not libc_cv_gnu89_inline.
18165 * configure: Regenerated.
18166 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
18167
24fb0f88
UD
181682010-07-26 Ulrich Drepper <drepper@redhat.com>
18169
18170 * string/test-strnlen.c: New file.
18171 * string/Makefile (strop-tests): Add strnlen.
18172 * string/tester.c (test_strnlen): Add a few more test cases.
18173 * string/tst-strlen.c: Better error reporting.
18174
18175 * sysdeps/x86_64/strnlen.S: New file.
18176
8e96b93a
UD
181772010-07-24 Ulrich Drepper <drepper@redhat.com>
18178
18179 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
18180 lower-latency instructions.
18181
dbc676d4
UD
181822010-07-23 Ulrich Drepper <drepper@redhat.com>
18183
18184 * string/test-strcasestr.c: New file.
18185 * string/test-strstr.c: New file.
18186 * string/Makefile (strop-tests): Add strstr and strcasestr.
18187 * string/str-two-way.h: Don't undefine MAX.
18188 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
18189
f6a31e0e
AS
181902010-07-21 Andreas Schwab <schwab@redhat.com>
18191
18192 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18193 strcasestr-nonascii.
18194 (CFLAGS-strcasestr-nonascii.c): Define.
18195 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
18196 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
18197 Remove unused attribute.
18198
5dbc3b6c
RM
181992010-07-20 Roland McGrath <roland@redhat.com>
18200
18201 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
18202 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
18203 ld.so.cache was broken. With it, there is no way to disable dsocaps
18204 like LD_HWCAP_MASK can disable hwcaps.
18205
23d101d8
EPM
182062010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18207
18208 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
18209
cc9f2e47
UD
182102010-07-16 Ulrich Drepper <drepper@redhat.com>
18211
18212 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
18213 call in strcasestr.
18214 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
18215 __strcasestr_sse42_nonascii.
18216 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
18217 strcasestr-nonascii.c.
18218 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
18219
77c1b069
LM
182202010-06-15 Luis Machado <luisgpm@br.ibm.com>
18221
18222 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
18223 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
18224 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
18225 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
18226
440566c3
UD
182272010-07-09 Ulrich Drepper <drepper@redhat.com>
18228
18229 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
18230 fcntl.
18231
5be9d05d
AS
182322010-07-06 Andreas Schwab <schwab@redhat.com>
18233
c30b7ee2 18234 [BZ #11577]
5be9d05d
AS
18235 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
18236 dl_signal_cerror.
18237
8a492a67
UD
182382010-07-06 Ulrich Drepper <drepper@redhat.com>
18239
18240 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
18241 _PC_PIPE_BUF using F_GETPIPE_SZ.
18242
713df3d5
RM
182432010-07-05 Roland McGrath <roland@redhat.com>
18244
18245 * manual/arith.texi (Rounding Functions): Fix rint description
18246 implicit in round description.
18247
702e8f14
UD
182482010-07-02 Ulrich Drepper <drepper@redhat.com>
18249
18250 * elf/Makefile: Fix linking for a few tests to make recent linker
18251 happy.
18252
52ed8be9
AS
182532010-06-30 Andreas Schwab <schwab@redhat.com>
18254
18255 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18256 $(common-objpfx)libc_nonshared.a.
18257
f47c9a11
LM
182582010-06-21 Luis Machado <luisgpm@br.ibm.com>
18259
18260 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18261 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18262 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18263 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18264 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18265 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18266 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18267 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18282 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18283 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18284 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18285 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18286 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18287 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18288 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18289 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18290 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18291 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18292 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18293 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18308
6fb8cbcb
L
183092010-06-25 H.J. Lu <hongjiu.lu@intel.com>
18310
18311 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18312 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
18313 * string/memmove.c (memmove): Renamed to ...
18314 (MEMMOVE): ...this. Default to memmove.
18315 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18316 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18317 (END_CHK): Define.
18318 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18319 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18320 mempcpy-ssse3-back memmove-ssse3-back.
18321 * sysdeps/x86_64/multiarch/bcopy.S: New file .
18322 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18323 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18324 * sysdeps/x86_64/multiarch/memcpy.S: New file.
18325 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18326 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18327 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18328 * sysdeps/x86_64/multiarch/memmove.c: New file.
18329 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18330 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18331 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18332 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18333 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18334 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18335 Define.
18336 (index_Fast_Copy_Backward): Define.
18337 (HAS_ARCH_FEATURE): Define.
18338 (HAS_FAST_REP_STRING): Define.
18339 (HAS_FAST_COPY_BACKWARD): Define.
18340
4e733bac 183412010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
18342
18343 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18344 Restore proper fallback handling.
18345
63c4ed22
UD
183462010-06-19 Ulrich Drepper <drepper@redhat.com>
18347
ac2b484c
UD
18348 [BZ #11701]
18349 * posix/group_member.c (__group_member): Correct checking loop.
18350
63c4ed22
UD
18351 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
18352 OOM in getpwuid_r correctly. Return error number when the caller
18353 should return, otherwise -1.
18354 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
18355 call returning > 0 value.
18356 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
18357
765ade4b
AS
183582010-06-07 Andreas Schwab <schwab@redhat.com>
18359
18360 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
18361 libc_nonshared.a from targets in modules-names.
18362
80da2e09
KS
183632010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
18364
18365 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
18366 requires it.
18367
158db122
LM
183682010-06-10 Luis Machado <luisgpm@br.ibm.com>
18369
18370 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
18371 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
18372 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
18373 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
18374
caa78cf8
AS
183752010-06-02 Andreas Schwab <schwab@redhat.com>
18376
18377 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
18378
b2ef2c01
UD
183792010-06-14 Ulrich Drepper <drepper@redhat.com>
18380
18381 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
18382 and F_GETPIPE_SZ.
18383 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18384 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18385 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18386 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18387 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18388 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
18389
fbd643b6
RM
183902010-06-14 Roland McGrath <roland@redhat.com>
18391
18392 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
18393
f32f2869
JJ
183942010-06-07 Jakub Jelinek <jakub@redhat.com>
18395
18396 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
18397 __REDIRECT followed by __THROW.
18398 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
18399 * posix/getopt.h (getopt): Likewise.
18400
2a50c078
EPM
184012010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18402
18403 * hurd/lookup-at.c (__file_name_lookup_at): Accept
18404 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
18405 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
18406 in AT_FLAGS.
18407 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
18408 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
18409
eb5ad2eb
LM
184102010-05-28 Luis Machado <luisgpm@br.ibm.com>
18411
18412 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
18413
3c88fe1e
L
184142010-05-26 H.J. Lu <hongjiu.lu@intel.com>
18415
18416 [BZ #11640]
18417 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18418 Properly check family and model.
18419
d2f73151
TY
184202010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
18421
18422 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
18423
ebd2e13d
LM
184242010-05-24 Luis Machado <luisgpm@br.ibm.com>
18425
18426 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
18427
b32b8b45
UD
184282010-05-21 Ulrich Drepper <drepper@redhat.com>
18429
18430 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
18431 symbol reference.
18432
9acbe24d
AS
184332010-05-19 Andreas Schwab <schwab@redhat.com>
18434
18435 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
18436 symbol reference.
18437
f0ccf6ea
AS
184382010-05-21 Andreas Schwab <schwab@redhat.com>
18439
3d04ff3a
AS
18440 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
18441 and internal_recvmmsg.
18442 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
18443 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
18444 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
18445 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
18446
f0ccf6ea
AS
18447 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
18448 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18449 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18450
5b08ac57
AS
184512010-05-20 Andreas Schwab <schwab@redhat.com>
18452
18453 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
18454
4828935d
LM
184552010-05-17 Luis Machado <luisgpm@br.ibm.com>
18456
18457 POWER7 optimizations.
18458 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
18459 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
18460
373d545e
UD
184612010-05-19 Ulrich Drepper <drepper@redhat.com>
18462
18463 * version.h: Update for 2.13 development version.
18464
21a2b1ae
AS
184652010-05-12 Andrew Stubbs <ams@codesourcery.com>
18466
18467 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
18468 exceptions. Return 0.
18469
3f7dcb2b
RM
184702010-05-07 Roland McGrath <roland@redhat.com>
18471
18472 * elf/ldconfig.c (main): Add a const.
18473
5f24d53a 184742010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 18475
a160f8d8
UD
18476 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
18477 (args_options): Add no-idn option.
18478 (ahosts_keys_int): Add idn_flags to ai_flags.
18479 (parse_option): Handle 'i' option to clear idn_flags.
18480
5f24d53a
UD
18481 * malloc/malloc.c (_int_free): Possible race in the most recently
18482 added check. Only act on the data if no current modification
18483 happened.
265bb1ce
UD
18484
18485See ChangeLog.17 for earlier changes.