]> git.ipfire.org Git - thirdparty/glibc.git/blame_incremental - ChangeLog
Remove __ASSUME_POSIX_TIMERS.
[thirdparty/glibc.git] / ChangeLog
... / ...
CommitLineData
12012-08-16 Joseph Myers <joseph@codesourcery.com>
2
3 * sysdeps/unix/sysv/linux/kernel-features.h
4 (__ASSUME_POSIX_TIMERS): Remove.
5 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
8 Make code unconditional.
9 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
11 Make code unconditional.
12 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13 * sysdeps/unix/sysv/linux/clock_nanosleep.c
14 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
15 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
17 Make code unconditional.
18 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
20 (__libc_missing_posix_timers): Remove.
21
222012-08-15 Roland McGrath <roland@hack.frob.com>
23
24 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
25 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
26
27 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
28
29 * elf/dl-sym.c: Include <stdlib.h>.
30
31 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
32 constants, which avoids warnings in 32-bit builds.
33
34 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
35 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
36
37 * misc/lseek.c: File moved to ...
38 * io/lseek.c: ... here.
39
40 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
41
42 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
43 shifting LEN more than 31 bits at once.
44
452012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46
47 [BZ #14195]
48 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
49 segmentation fault for a case of two empty input strings.
50 * string/test-strncasecmp.c (check1): Renamed to...
51 (bz12205): ...this.
52 (bz14195): Add new testcase for two empty input strings and N > 0.
53 (test_main): Call new testcase, adapt for renamed function.
54
552012-08-15 Andreas Jaeger <aj@suse.de>
56
57 [BZ #14090]
58 * crypt/md5test2.c: New test, based on test supplied by Serge
59 Belyshev <belyshev@depni.sinp.msu.ru>.
60 * crypt/Makefile (xtests): Add md5test-giant..
61 * crypt/Makefile ($(objpfx)md5test-giant): Add.
62
632012-08-15 Paul Eggert <eggert@cs.ucla.edu>
64
65 [BZ #14090]
66 * crypt/md5.c (md5_process_block): Don't assume the buffer
67 length is less than 2**32.
68 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
69 length is less than 2**64.
70
712012-08-15 Roland McGrath <roland@hack.frob.com>
72
73 * string/str-two-way.h: Include <sys/param.h>.
74 (MAX): Macro removed.
75
76 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
77 Move #define and #undef of memmove to just before and after
78 including <string.h>.
79
80 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
81 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
82 and after including <string.h>. Move declarations of
83 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
84 to before #include "string/memmove.c".
85
86 * include/dirent.h: Declare __getdirentries.
87
88 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
89 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
90
912012-08-14 Mike Frysinger <vapier@gentoo.org>
92
93 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
94 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
95 * sysdeps/i386/configure: Regenerated.
96 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
97 STABS_CURRENT_FILE, and STABS_FUN.
98 (END): Remove call to STABS_FUN_END.
99 (STABS_CURRENT_FILE1): Delete.
100 (STABS_CURRENT_FILE): Likewise.
101 (STABS_FUN): Likewise.
102 (STABS_FUN_END): Likewise.
103 (STABS_FUN2): Likewise.
104 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
105 * sysdeps/x86_64/configure: Regenerated.
106
1072012-08-14 Roland McGrath <roland@hack.frob.com>
108
109 * elf/dl-open.c: Include <atomic.h>.
110 * elf/dl-lookup.c: Likewise.
111
1122012-08-14 Joseph Myers <joseph@codesourcery.com>
113
114 * sysdeps/unix/sysv/linux/kernel-features.h
115 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
116 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
117 unconditionally.
118 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
119 unconditionally.
120 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
121 condition on __ASSUME_CLONE_THREAD_FLAGS.
122
1232012-08-14 Andreas Jaeger <aj@suse.de>
124
125 * sysdeps/i386/fpu/libm-test-ulps: Update.
126
1272012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
128
129 * include/atomic.h (atomic_exchange_and_add): Split into ...
130 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
131 New atomic macros.
132
1332012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
134
135 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
136
1372012-08-13 Jeff Law <law@redhat.com>
138
139 * manual/stdio.texi (snprintf): Clarify handling of the trailing
140 null byte in the output string.
141
1422012-08-10 Joseph Myers <joseph@codesourcery.com>
143
144 * sysdeps/unix/sysv/linux/kernel-features.h
145 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
146 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
147 (__ASSUME_ARG_MAX_STACK_BASED): Define.
148 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
149 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
150 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
151 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
152
1532012-08-09 Jeff Law <law@redhat.com>
154
155 [BZ #13939]
156 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
157 When avoid_arena is set, don't retry in the that arena. Pick the
158 next one, whatever it might be.
159 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
160 (arena_lock): Pass in new parameter to arena_get2.
161 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
162 arena_get2.
163 (__libc_malloc): Unify retrying after main arena failure with
164 __libc_memalign version.
165 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
166
1672012-08-09 H.J. Lu <hongjiu.lu@intel.com>
168
169 [BZ #14166]
170 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
171 to __redirect_strstr.
172 (__strstr_sse42): Use typeof __redirect_strstr.
173 (__strstr_ia32): Likewise.
174 (__libc_strstr): New prototype.
175 (strstr): Renamed to ...
176 (__libc_strstr): This.
177 (strstr): New strong alias of __libc_strstr.
178 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
179 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
180 __redirect_time.
181 Include <time.h>.
182 (__libc_time): New prototype.
183 (time_ifunc): Replace time with __libc_time.
184 (time): New strong alias and hidden definition of __libc_time.
185 (__GI_time): Remove strong alias.
186 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
187 Include <stddef.h>.
188 (memmove): Redefined to __redirect_memmove.
189 (__memmove_sse2): Use typeof __redirect_memmove.
190 (__memmove_ssse3): Likewise.
191 (__memmove_ssse3_back): Likewise.
192 (__libc_memmove): New prototype.
193 (memmove): Renamed to ...
194 (__libc_memmove): This.
195 (memmove): New strong alias of __libc_memmove.
196
1972012-08-08 Mark Salter <msalter@redhat.com>
198
199 * elf/elf.h
200 (R_MN10300_TLS_GD): Define.
201 (R_MN10300_TLS_LD): Likewise.
202 (R_MN10300_TLS_LDO): Likewise.
203 (R_MN10300_TLS_GOTIE): Likewise.
204 (R_MN10300_TLS_IE): Likewise.
205 (R_MN10300_TLS_LE): Likewise.
206 (R_MN10300_TLS_DTPMOD): Likewise.
207 (R_MN10300_TLS_DTPOFF): Likewise.
208 (R_MN10300_TLS_TPOFF): Likewise.
209 (R_MN10300_SYM_DIFF): Likewise.
210 (R_MN10300_ALIGN): Likewise.
211 (R_MN10300_NUM): Update.
212
2132012-08-08 Joseph Myers <joseph@codesourcery.com>
214
215 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
216 Remove.
217
2182012-08-08 Roland McGrath <roland@hack.frob.com>
219
220 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
221
222 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
223 sysdeps/unix -> sysdeps/posix move.
224 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
225
2262012-08-07 Allan McRae <allan@archlinux.org>
227
228 [BZ #14303]
229 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
230 (SUNOS_CPP): Likewise.
231 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
232 not found.
233 (open_input): Call CPP using execvp.
234
2352012-08-07 Joseph Myers <joseph@codesourcery.com>
236
237 * sysdeps/unix/sysv/linux/kernel-features.h
238 (__ASSUME_PROT_GROWSUPDOWN): Remove.
239 (__ASSUME_NO_CLONE_DETACHED): Likewise.
240 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
241 (__ASSUME_WAITID_SYSCALL): Likewise.
242 * sysdeps/unix/sysv/linux/dl-execstack.c
243 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
244 code unconditional.
245 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
246 conditional code.
247 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
248 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
249 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
250 code.
251 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
252 unconditional.
253 [__ASSUME_WAITID_SYSCALL]: Likewise.
254 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
255
2562012-08-07 Roland McGrath <roland@hack.frob.com>
257
258 * sysdeps/unix/closedir.c: Renamed to ...
259 * sysdeps/posix/closedir.c: ... here.
260 * sysdeps/unix/dirfd.c: Renamed to ...
261 * sysdeps/posix/dirfd.c: ... here.
262 * sysdeps/unix/dirstream.h: Renamed to ...
263 * sysdeps/posix/dirstream.h: ... here.
264 * sysdeps/unix/fdopendir.c: Renamed to ...
265 * sysdeps/posix/fdopendir.c: ... here.
266 * sysdeps/unix/opendir.c: Renamed to ...
267 * sysdeps/posix/opendir.c: ... here.
268 * sysdeps/unix/readdir.c: Renamed to ...
269 * sysdeps/posix/readdir.c: ... here.
270 * sysdeps/unix/readdir_r.c: Renamed to ...
271 * sysdeps/posix/readdir_r.c: ... here.
272 * sysdeps/unix/rewinddir.c: Renamed to ...
273 * sysdeps/posix/rewinddir.c: ... here.
274 * sysdeps/unix/seekdir.c: Renamed to ...
275 * sysdeps/posix/seekdir.c: ... here.
276 * sysdeps/unix/telldir.c: Renamed to ...
277 * sysdeps/posix/telldir.c: ... here.
278 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
279 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
280 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
281 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
282
283 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
284 * bits/fcntl.h: ... here.
285
286 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
287 not 0.
288 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
289 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
290 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
291 (struct flock): Move l_start, l_len to the beginning.
292 Use __pid_t for l_pid.
293 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
294 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
295 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
296 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
297 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
298 [__USE_LARGEFILE64] (struct flock64): New type.
299 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
300
301 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
302 * bits/dirent.h: ... here.
303
304 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
305 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
306
3072012-08-07 Joseph Myers <joseph@codesourcery.com>
308
309 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
310 Change from 2.6.0 to 2.6.16.
311 * sysdeps/unix/sysv/linux/configure: Regenerated.
312 * sysdeps/unix/sysv/linux/kernel-features.h
313 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
314 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
315 version.
316 (__ASSUME_UTIMES): Likewise.
317 (__ASSUME_CLONE_STOPPED): Remove.
318 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
319 architectures, not kernel version.
320 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
321 (__ASSUME_NO_CLONE_DETACHED): Likewise.
322 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
323 (__ASSUME_WAITID_SYSCALL): Likewise.
324 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
325 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
326 * README: State 2.6.16 as minimum Linux kernel version. Do not
327 refer to older versions.
328
3292012-08-06 Roland McGrath <roland@hack.frob.com>
330
331 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
332 Define alphasort64 as an alias.
333 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
334 Define versionsort64 as an alias.
335 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
336 Define scandir64 as an alias.
337 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
338 Define scandirat64 as an alias.
339 * dirent/alphasort64.c (alphasort64):
340 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
341 * dirent/versionsort64.c: Likewise.
342 * dirent/scandir64.c: Likewise.
343 * dirent/scandirat64.c: Likewise.
344 * sysdeps/wordsize-64/alphasort.c: File removed.
345 * sysdeps/wordsize-64/alphasort64.c: File removed.
346 * sysdeps/wordsize-64/scandir.c: File removed.
347 * sysdeps/wordsize-64/scandir64.c: File removed.
348 * sysdeps/wordsize-64/scandirat.c: File removed.
349 * sysdeps/wordsize-64/scandirat64.c: File removed.
350 * sysdeps/wordsize-64/versionsort.c: File removed.
351 * sysdeps/wordsize-64/versionsort64.c: File removed.
352 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
353 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
354 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
355 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
356 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
357 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
358 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
359 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
360
361 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
362 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
363 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
364 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
365 [defined __arch64__ || defined __sparcv9]
366 (__INO_T_MATCHES_INO64_T): New macro.
367 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
368 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
369 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
370 * sysdeps/unix/sysv/linux/bits/dirent.h
371 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
372 (_DIRENT_MATCHES_DIRENT64): New macro.
373
374 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
375 Define lockf64 as an alias.
376 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
377 Define fseeko64 as an alias.
378 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
379 Define ftello64 as an alias.
380 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
381 Define _IO_fgetpos64 and fgetpos64 as aliases.
382 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
383 Define _IO_fsetpos64 and fsetpos64 as aliases.
384 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
385 Conditionalize body on this.
386 * libio/fseeko64.c: Likewise.
387 * libio/ftello64.c: Likewise.
388 * libio/iofgetpos64.c: Likewise.
389 * libio/iofsetpos64.c: Likewise.
390 * sysdeps/wordsize-64/lockf.c: File removed.
391 * sysdeps/wordsize-64/lockf64.c: File removed.
392 * sysdeps/wordsize-64/fseeko.c: File removed.
393 * sysdeps/wordsize-64/fseeko64.c: File removed.
394 * sysdeps/wordsize-64/ftello.c: File removed.
395 * sysdeps/wordsize-64/ftello64.c: File removed.
396 * sysdeps/wordsize-64/iofgetpos.c: File removed.
397 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
398 * sysdeps/wordsize-64/iofsetpos.c: File removed.
399 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
400 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
401 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
402 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
403 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
404 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
405 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
406 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
407 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
408 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
409 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
410
411 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
412 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
413 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
414 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
415 [defined __arch64__ || defined __sparcv9]
416 (__OFF_T_MATCHES_OFF64_T): New macro.
417 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
418 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
419 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
420 (__OFF_T_MATCHES_OFF64_T): New macro.
421
4222012-08-06 H.J. Lu <hongjiu.lu@intel.com>
423
424 * stdlib/secure-getenv.c (__secure_getenv): Replace
425 GLIBC_2_16 with GLIBC_2_17.
426
4272012-08-06 H.J. Lu <hongjiu.lu@intel.com>
428
429 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
430 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
431
4322012-08-03 David S. Miller <davem@davemloft.net>
433
434 * sysdeps/sparc/fpu/libm-test-ulps: Update.
435
4362012-08-03 Joseph Myers <joseph@codesourcery.com>
437
438 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
439 Remove.
440 (__ASSUME_CORRECT_SI_PID): Likewise.
441 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
442 (__ASSUME_TMPFS_NAME): Likewise.
443 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
444 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
445 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
446 (HAVE_AUX_SECURE): Make definition unconditional.
447 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
448 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
449
4502012-08-03 Roland McGrath <roland@hack.frob.com>
451
452 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
453 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
454 * sysdeps/mach/hurd/eloop-threshold.h: New file.
455 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
456 __eloop_threshold instead of SYMLOOP_MAX.
457
458 * sysdeps/generic/eloop-threshold.h: New file.
459 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
460 of MAXSYMLINKS.
461 * elf/chroot_canon.c (chroot_canon): Likewise.
462
4632012-08-03 Joseph Myers <joseph@codesourcery.com>
464
465 [BZ #13717]
466 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
467 Change to 2.6.0 everywhere.
468 * sysdeps/unix/sysv/linux/configure: Regenerated.
469 * sysdeps/unix/sysv/linux/kernel-features.h
470 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
471 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
472 kernel versions.
473 (__ASSUME_POSIX_TIMERS): Define unconditionally.
474 (__ASSUME_FUTEX_REQUEUE): Remove.
475 (__ASSUME_STATFS64): Define unconditionally.
476 (__ASSUME_AT_SECURE): Likewise.
477 (__ASSUME_CORRECT_SI_PID): Likewise.
478 (__ASSUME_TGKILL): Define without depending on kernel version for
479 i386.
480 (__ASSUME_UTIMES): Likewise.
481 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
482 kernel version.
483 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
484 (__ASSUME_TMPFS_NAME): Likewise.
485 * README: Update reference to Linux kernel versions.
486
4872012-08-02 Marek Polacek <polacek@redhat.com>
488
489 [BZ#14150]
490 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
491 libc_cv_asm_type_prefix with %.
492 * configure: Regenerated.
493 * include/libc-symbols.h: Remove comment about
494 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
495 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
496 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
497 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
498 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
499 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
500 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
501 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
502 * elf/tst-unique2mod1.c: Likewise.
503 * elf/tst-unique1mod2.c: Likewise.
504 * elf/tst-unique1mod1.c: Likewise.
505 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
506 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
507 Replace ASM_TYPE_DIRECTIVE with .type.
508 * sysdeps/s390/s390-64/sysdep.h: Likewise.
509 * sysdeps/i386/sysdep.h: Likewise.
510 * sysdeps/x86_64/sysdep.h: Likewise.
511 * sysdeps/sh/sysdep.h: Likewise.
512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
513 Do not define ASM_TYPE_DIRECTIVE.
514 * sysdeps/powerpc/sysdep.h: Likewise.
515 * sysdeps/powerpc/powerpc32/sysdep.h:
516 Replace ASM_TYPE_DIRECTIVE with .type.
517 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
518 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
519 * sysdeps/i386/fpu/e_powf.S: Likewise.
520 * sysdeps/i386/fpu/e_expl.S: Likewise.
521 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
522 * sysdeps/i386/fpu/e_acosh.S: Likewise.
523 * sysdeps/i386/fpu/e_pow.S: Likewise.
524 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
525 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
526 * sysdeps/i386/fpu/s_expm1.S: Likewise.
527 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
528 * sysdeps/i386/fpu/e_log2.S: Likewise.
529 * sysdeps/i386/fpu/e_log2l.S: Likewise.
530 * sysdeps/i386/fpu/e_scalb.S: Likewise.
531 * sysdeps/i386/fpu/e_powl.S: Likewise.
532 * sysdeps/i386/fpu/e_log10f.S: Likewise.
533 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
534 * sysdeps/i386/fpu/e_logl.S: Likewise.
535 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
536 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
537 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
538 * sysdeps/i386/fpu/e_log2f.S: Likewise.
539 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
540 * sysdeps/i386/fpu/e_log.S: Likewise.
541 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
542 * sysdeps/i386/fpu/e_logf.S: Likewise.
543 * sysdeps/i386/fpu/e_log10l.S: Likewise.
544 * sysdeps/i386/fpu/e_atanh.S: Likewise.
545 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
546 * sysdeps/i386/fpu/e_log10.S: Likewise.
547 * sysdeps/i386/fpu/s_frexp.S: Likewise.
548 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
549 * sysdeps/i386/fpu/s_asinh.S: Likewise.
550 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
551 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
552 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
553 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
554 * sysdeps/i386/i686/strtok.S: Likewise.
555 * sysdeps/i386/i386-mcount.S: Likewise.
556 * sysdeps/i386/strtok.S: Likewise.
557 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
558 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
559 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
560 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
561 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
562 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
563 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
564 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
565 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
566 * sysdeps/x86_64/_mcount.S: Likewise.
567 * sysdeps/x86_64/strtok.S: Likewise.
568 * sysdeps/sh/_mcount.S: Likewise.
569
5702012-08-01 Roland McGrath <roland@hack.frob.com>
571
572 * libio/iofopen.c: Include <fcntl.h>.
573 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
574 (_IO_fopen64, fopen64): Define as aliases.
575 * libio/iofopen64.c: Include <fcntl.h>.
576 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
577 Conditionalize body on this.
578 * sysdeps/wordsize-64/iofopen.c: File removed.
579 * sysdeps/wordsize-64/iofopen64.c: File removed.
580
5812012-08-01 Marek Polacek <polacek@redhat.com>
582
583 * libc/Makeconfig: Use elf in place of binfmt-subdir.
584 Use dlfcn directly instead of a variable.
585 (binfmt-subdir): Do not define.
586 (dlfcn): Likewise.
587
5882012-08-01 Joseph Myers <joseph@codesourcery.com>
589
590 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
591 Remove all definitions.
592 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
593 <kernel-features.h>.
594 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
595 (miss_F_GETOWN_EX): Remove all definitions.
596 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
597 macro definition.
598 [!__ASSUME_FCNTL64]: Remove conditional code.
599 [__ASSUME_FCNTL64]: Make code unconditional.
600 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
601 <kernel-features.h>.
602 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
603 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
604 (lockf64) [__NR_fcntl64]: Make code unconditional.
605 (lockf64) [__ASSUME_FCNTL64]: Likewise.
606
607 * sysdeps/unix/sysv/linux/kernel-features.h
608 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
609 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
610 Make code unconditional.
611 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
612 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
614 [__NR_vfork]: Make code unconditional.
615 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
616 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
618 [__NR_vfork]: Make code unconditional.
619 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
620 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
621
6222012-08-01 Roland McGrath <roland@hack.frob.com>
623
624 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
625 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
626
627 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
628 Define mkstemp64 as an alias.
629 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
630 Define mkstemps64 as an alias.
631 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
632 Define mkostemp64 as an alias.
633 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
634 Define mkostemps64 as an alias.
635 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
636 Conditionalize body on this.
637 * misc/mkostemp64.c: Likewise.
638 * misc/mkostemps64.c: Likewise.
639 * misc/mkstemps64.c: Likewise.
640 * sysdeps/wordsize-64/mkstemp64.c: File removed.
641 * sysdeps/wordsize-64/mkostemp64.c: File removed.
642 * sysdeps/wordsize-64/mkostemp.c: File removed.
643 * sysdeps/wordsize-64/mkstemp.c: File removed.
644 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
645 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
646 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
647 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
648
649 [BZ #14138]
650 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
651 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
652 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
653 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
654
655 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
656 compat_symbol macros from <shlib-compat.h> rather than the underlying
657 default_symbol_version and symbol_version macros, so that DEFAULT
658 lines in shlib-versions are respected.
659 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
660
6612012-08-01 Florian Weimer <fweimer@redhat.com>
662
663 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
664 Declare with warn_unused_result.
665 (setgid, setregid, setegid, setresgid): Likewise.
666 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
667 Likewise.
668 * WUR-REPORT: Remove set*id functions.
669
6702012-07-31 Pino Toscano <toscano.pino@tiscali.it>
671
672 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
673
6742012-07-31 Roland McGrath <roland@hack.frob.com>
675
676 * include/sys/socket.h (__libc_accept, __libc_accept4):
677 Add attribute_hidden.
678 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
679
680 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
681 use of PTR_MANGLE.
682 * inet/getnetgrent_r.c (setup): Likewise.
683
684 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
685
6862012-07-31 David S. Miller <davem@davemloft.net>
687
688 * sysdeps/sparc/fpu/libm-test-ulps: Update.
689
6902012-07-31 Joseph Myers <joseph@codesourcery.com>
691
692 [BZ #13629]
693 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
694 value between 1.0 and 2.0 and smaller part has absolute value less
695 than 1.0.
696 * math/s_clog10.c (__clog10): Likewise.
697 * math/s_clog10f.c (__clog10f): Likewise.
698 * math/s_clog10l.c (__clog10l): Likewise.
699 * math/s_clogf.c (__clogf): Likewise.
700 * math/s_clogl.c (__clogl): Likewise.
701 * math/libm-test.inc (clog_test): Add more tests.
702 (clog10_test): Likewise.
703 * sysdeps/i386/fpu/libm-test-ulps: Update.
704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
705
7062012-07-31 Florian Weimer <fweimer@redhat.com>
707
708 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
709 Exit with zero in case no suitable GID is found, and write a
710 message to standard error.
711
7122012-07-30 Roland McGrath <roland@hack.frob.com>
713
714 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
715 rather than to 1.
716 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
717 (MAXPATHLEN): Removed.
718 (NOGROUP, NODEV): New macros.
719 (setbit, clrbit, isset, isclr): New macros.
720 (howmany, roundup, powerof2): New macros.
721 (DEV_BSIZE): New macro.
722
723 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
724 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
725
726 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
727 definition on [!__NO_LONG_DOUBLE_MATH].
728
729 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
730 PTR_MANGLE and PTR_DEMANGLE.
731
732 * socket/accept4.c (accept4): Rename to __libc_accept4.
733 Define accept4 as a weak alias.
734
735 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
736 on [_DIRENT_HAVE_D_TYPE].
737 * io/ftw.c (ftw_dir): Likewise.
738
739 * io/xmknod.c (__xmknod): Don't check PATH for being null.
740
741 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
742
743 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
744 Use the BSD numbers rather than the arbitrary ones we had.
745 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
746 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
747 (SIGXCPU, SIGXFSZ): New macros.
748 (_NSIG): Now 32.
749
750 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
751 initializer on [_LIBC_REENTRANT].
752
753 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
754 definitions inside [_POSIX_MAPPED_FILES].
755
756 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
757
758 * dirent/opendir.c: Include <fcntl.h>.
759
760 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
761 (__libc_getspecific): Likewise.
762 (__libc_key_create): Likewise.
763
764 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
765 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
766 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
767 (tmpfile64): Define as alias.
768 * sysdeps/wordsize-64/tmpfile.c: File removed.
769 * sysdeps/wordsize-64/tmpfile64.c: File removed.
770 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
771 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
772
773 * stdio-common/vfscanf.c: Include <stdbool.h>.
774 * nss/makedb.c: Likewise.
775 * stdio-common/_i18n_number.h: Likewise.
776 * argp/argp-help.c: Likewise.
777 * posix/wordexp.c: Likewise.
778 * sysdeps/posix/spawni.c: Likewise.
779 * nss/nss_files/files-initgroups.c: Likewise.
780 * stdio-common/reg-modifier.c: Include <stdlib.h>.
781 * nss/nss_files/files-initgroups.c: Likewise.
782 * nss/nss_db/db-netgrp.c: Likewise.
783 * nss/nss_db/db-initgroups.c: Likewise.
784 * io/fchmodat.c: Include <sys/stat.h>.
785
786 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
787 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
788
789 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
790 [HAVE_MMAP].
791
792 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
793 Add multiple inclusion protection.
794
7952012-07-27 David S. Miller <davem@davemloft.net>
796
797 * sysdeps/sparc/fpu/libm-test-ulps: Update.
798
7992012-07-27 Gary Benson <gbenson@redhat.com>
800
801 [BZ #14298]
802 * elf/rtld.c: Include <stap-probe.h>.
803 (dl_main): Added static probes "init_start" and "init_complete".
804 * elf/dl-load.c: Include <stap-probe.h>.
805 (lose): Take new parameter "nsid".
806 Added static probe "map_failed".
807 (_dl_map_object_from_fd): Pass namespace id to lose.
808 Added static probe "map_start".
809 (open_verify): Pass namespace id to lose.
810 * elf/dl-open.c: Include <stap-probe.h>.
811 (dl_open_worker) Added static probes "map_complete", "reloc_start"
812 and "reloc_complete".
813 * elf/dl-close.c: Include <stap-probe.h>.
814 (_dl_close_worker): Added static probes "unmap_start" and
815 "unmap_complete".
816 * elf/rtld-debugger-interface.txt: New file documenting the above.
817
8182012-07-26 Roland McGrath <roland@hack.frob.com>
819
820 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
821 rather than a string variable.
822 * sunrpc/rpc_main.c (h_output): Likewise.
823 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
824
8252012-07-26 Pino Toscano <toscano.pino@tiscali.it>
826
827 * inet/check_native.c: New file.
828
8292012-07-26 Joseph Myers <joseph@codesourcery.com>
830
831 [BZ #13629]
832 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
833 if larger part has absolute value 1.0.
834 * math/s_clog10.c (__clog10): Likewise.
835 * math/s_clog10f.c (__clog10f): Likewise.
836 * math/s_clog10l.c (__clog10l): Likewise.
837 * math/s_clogf.c (__clogf): Likewise.
838 * math/s_clogl.c (__clogl): Likewise.
839 * math/libm-test.inc (clog_test): Add more tests.
840 (clog10_test): Likewise.
841 * sysdeps/i386/fpu/libm-test-ulps: Update.
842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
843
844 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
845 (pltexit): Likewise.
846 (La_regs): Likewise.
847 (La_retval): Likewise.
848 (int_retval): Likewise.
849 Update #error for removed macros to refer only to definitions in
850 tst-audit.h.
851 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
852 macro.
853 (pltexit): Likewise.
854 (La_regs): Likewise.
855 (La_retval): Likewise.
856 (int_retval): Likewise.
857 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
858 macro.
859 (pltexit): Likewise.
860 (La_regs): Likewise.
861 (La_retval): Likewise.
862 (int_retval): Likewise.
863 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
864 macro.
865 (pltexit): Likewise.
866 (La_regs): Likewise.
867 (La_retval): Likewise.
868 (int_retval): Likewise.
869 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
870 macro.
871 (pltexit): Likewise.
872 (La_regs): Likewise.
873 (La_retval): Likewise.
874 (int_retval): Likewise.
875 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
876 macro.
877 (pltexit): Likewise.
878 (La_regs): Likewise.
879 (La_retval): Likewise.
880 (int_retval): Likewise.
881 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
882 macro.
883 (pltexit): Likewise.
884 (La_regs): Likewise.
885 (La_retval): Likewise.
886 (int_retval): Likewise.
887 * sysdeps/generic/tst-audit.h: Update comment to refer only to
888 macro definitions in tst-audit.h.
889 * sysdeps/i386/tst-audit.h: New file.
890 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
891 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
892 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
893 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
894 * sysdeps/sh/tst-audit.h: Likewise.
895 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
896 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
897 * sysdeps/x86_64/tst-audit.h: Likewise.
898
8992012-07-26 Andreas Jaeger <aj@suse.de>
900
901 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
902 ptrace.
903
904 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
905 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
906 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
907 PTRACE_O_MASK.
908 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
909 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
910 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
911
912 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
913 value.
914
915 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
916 _sigsys.
917 (si_call_addr, si_syscall, si_arch): Define new macro.
918 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
919 _sigsys.
920 (si_call_addr, si_syscall, si_arch): Define new marcro.
921 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
922 _sigsys.
923 (si_call_addr, si_syscall, si_arch): Define new macro.
924 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
925 _sigsys.
926 (si_call_addr, si_syscall, si_arch): Define new macro.
927
9282012-07-25 Joseph Myers <joseph@codesourcery.com>
929
930 [BZ #13717]
931 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
932 Change to 2.4.21 where previously 2.4.1.
933 * sysdeps/unix/sysv/linux/configure: Regenerated.
934 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
935 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
936 Linux kernel version.
937 (__ASSUME_STD_AUXV): Remove.
938 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
939 kernel version.
940 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
941 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
942 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
943 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
944 (__ASSUME_NETLINK_SUPPORT): Likewise.
945 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
946 (__no_netlink_support): Remove conditional definition.
947 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
948 Remove.
949 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
950 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
951 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
952 (if_nameindex_ioctl): Remove.
953 (if_nameindex_netlink): Do not handle __no_netlink_support.
954 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
955 code.
956 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
957 Remove conditional code.
958 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
959 code.
960 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
961 unconditional.
962 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
963 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
964 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
965 Remove.
966 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
967 [!__ASSUME_STD_AUXV]: Remove conditional code.
968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
969 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
970 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
972 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
973 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
974 code.
975 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
977 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
978 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
979 conditional code.
980 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
982 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
983 code.
984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
985 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
986 conditional code.
987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
988 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
989 code unconditional.
990 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
991 conditional code.
992 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
993 unconditional.
994 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
995 conditional code.
996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
997 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
998 unconditional.
999 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1000 conditional code.
1001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1002 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1003 code unconditional.
1004 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1005 conditional code.
1006 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1007 unconditional.
1008 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1009 conditional code.
1010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1011 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1012 code unconditional.
1013 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1014 conditional code.
1015 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1016 unconditional.
1017 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1018 conditional code.
1019
10202012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1021
1022 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
1023 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
1024 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1025 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
1026 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1027 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1028 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1029 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1030 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1031 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1032 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
1033 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1034 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
1035 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1036 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1037 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
1038 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1039 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
1040 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
1041 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
1042 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1043 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1044 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1045
10462012-07-25 Florian Weimer <fweimer@redhat.com>
1047
1048 * Versions.def: Add GLIBC_2.17.
1049 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
1050 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
1051 Introduce __libc_secure_getenv.
1052 * stdlib/Versions (2.17): Add secure_getenv
1053 (GLIBC_PRIVATE): Add __libc_secure_getenv.
1054 * stdlib/secure-getenv.c: Rename __secure_getenv to
1055 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
1056 symbol __secure_getenv for GLIBC_2.0.
1057 * stdlib/tst-secure-getenv.c: New.
1058 * stdlib/Makefile (tests): Add testcase.
1059 * manual/startup.texi (Environment Access): Document
1060 secure_getenv.
1061 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
1062 __libc_secure_getenv.
1063 * inet/ruserpass.c (ruserpass): Likewise.
1064 * malloc/mtrace.c (mtrace): Likewise.
1065 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
1066 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
1067 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
1068 * sysdeps/posix/tempname.c: Likewise. Evaluate
1069 HAVE_SECURE_GETENV.
1070 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
1071 __secure_getenv to __libc_secure_getenv.
1072 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
1073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1074 Likewise.
1075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1076 Likewise.
1077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1078 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1079 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1080 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1081 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1082 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1083 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
1084
10852012-07-25 Joseph Myers <joseph@codesourcery.com>
1086
1087 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
1088 (struct La_i86_retval): Likewise.
1089 (struct La_x86_64_regs): Likewise.
1090 (struct La_x86_64_retval): Likewise.
1091 (struct La_x32_regs): Likewise.
1092 (struct La_x32_retval): Likewise.
1093 (struct La_ppc32_regs): Likewise.
1094 (struct La_ppc32_retval): Likewise.
1095 (struct La_ppc64_regs): Likewise.
1096 (struct La_ppc64_retval): Likewise.
1097 (struct La_sh_regs): Likewise.
1098 (struct La_sh_retval): Likewise.
1099 (struct La_s390_32_regs): Likewise.
1100 (struct La_s390_32_retval): Likewise.
1101 (struct La_s390_64_regs): Likewise.
1102 (struct La_s390_64_retval): Likewise.
1103 (struct La_sparc32_regs): Likewise.
1104 (struct La_sparc32_retval): Likewise.
1105 (struct La_sparc64_regs): Likewise.
1106 (struct La_sparc64_retval): Likewise.
1107 (struct audit_ifaces): Remove architecture-specific pltenter and
1108 pltexit members.
1109 * sysdeps/i386/ldsodefs.h: New file.
1110 * sysdeps/powerpc/ldsodefs.h: Likewise.
1111 * sysdeps/s390/ldsodefs.h: Likewise.
1112 * sysdeps/sh/ldsodefs.h: Likewise.
1113 * sysdeps/sparc/ldsodefs.h: Likewise.
1114 * sysdeps/x86_64/ldsodefs.h: Likewise.
1115
11162012-07-25 Marek Polacek <polacek@redhat.com>
1117
1118 [BZ #6808]
1119 * math/libm-test.inc (yn_test): Add another test.
1120 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
1121 to ERANGE when the result is +-Inf.
1122 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1123 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1124 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
1125 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
1126
11272012-07-24 Joseph Myers <joseph@codesourcery.com>
1128
1129 * conform/data/time.h-data (NULL): Use macro-constant. Require
1130 equal to 0.
1131 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
1132 clock_t.
1133 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
1134
11352012-07-23 Thomas Schwinge <thomas@codesourcery.com>
1136
1137 * configure.in <sysdeps resolving>: Correct printing
1138 Implies_before.
1139 * configure: Regenerate.
1140
11412012-07-22 Thomas Schwinge <thomas@codesourcery.com>
1142
1143 * math/w_ilogb.c: Include <limits.h>.
1144 * math/w_ilogbl.c: Likewise.
1145
11462012-07-20 Joseph Myers <joseph@codesourcery.com>
1147
1148 * manual/lang.texi (__va_copy): Document primarily as ISO C99
1149 va_copy. Document allowing for unavailable va_copy only as
1150 pre-C99 compatibility.
1151 * manual/string.texi (Copying and Concatenation): Use va_copy
1152 instead of __va_copy in concat example.
1153
11542012-07-20 Pino Toscano <toscano.pino@tiscali.it>
1155
1156 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1157 (__sendto): Use create_address_port. Initialize APORT and deallocate
1158 it if not null.
1159
1160 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1161 with O_NOLINK passed to __file_name_lookup.
1162
1163 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1164 with O_NOLINK passed to __file_name_lookup.
1165
1166 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1167 negative N or less than NGIDS.
1168
1169 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1170 type to string_t. Set ERANGE as errno and return it if NAME is not big
1171 enough. Use memcpy instead of strncpy.
1172
11732012-07-20 Joseph Myers <joseph@codesourcery.com>
1174
1175 * elf/Makefile (check-data): Remove.
1176 (localplt.data): New vpath directive.
1177 ($(objpfx)check-localplt.out): Use localplt.data from vpath
1178 instead of $(check-data).
1179 * scripts/data/localplt-generic.data: Move to ...
1180 * sysdeps/generic/localplt.data: ... here.
1181 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1182 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1183 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1185 ... here.
1186 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1188 ... here.
1189 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1190 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1191 ... here.
1192 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1193 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1194 ... here.
1195 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1196 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1197 ... here.
1198 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1199 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1200 ... here.
1201
12022012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1203
1204 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1205 PPC32 and PPC64 files.
1206 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1207 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1208
12092012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1210
1211 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1212 __makecontext_ret to ...
1213 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1214 ... here and call exit if uc_link is NULL. New file.
1215 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1216 __makecontext_ret.S.
1217 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1218 __makecontext_ret to ...
1219 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1220 ... here and call exit if uc_link is NULL. New file.
1221 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1222 __makecontext_ret.S.
1223
12242012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1225
1226 * elf/elf.h (R_390_IRELATIVE): New definition.
1227 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1228 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
1229 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1230 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1231 (elf_machine_lazy_rel): Likewise.
1232 * sysdeps/s390/dl-irel.h: New file.
1233 * sysdeps/s390/s390-64/memcpy.S: New asm code.
1234 * sysdeps/s390/s390-64/memset.S: New asm code.
1235 * sysdeps/s390/s390-64/memcmp.S: New asm code.
1236 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
1237 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
1238 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
1239 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
1240 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
1241 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
1242 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
1243 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
1244 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
1245 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
1246 * sysdeps/s390/s390-32/memcpy.S: New asm code.
1247 * sysdeps/s390/s390-32/memset.S: New asm code.
1248 * sysdeps/s390/s390-32/memcmp.S: New asm code.
1249
12502012-07-17 Marek Polacek <polacek@redhat.com>
1251
1252 [BZ #14349]
1253 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
1254 * sysdeps/s390/s390-64/configure.in: Likewise.
1255 * sysdeps/sparc/configure.in: Likewise.
1256 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
1257 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
1258 * sysdeps/i386/configure.in: Likewise.
1259 * sysdeps/x86_64/configure.in: Likewise.
1260 * sysdeps/sh/configure.in: Likewise.
1261 * sysdeps/s390/s390-32/configure: Regenerated.
1262 * sysdeps/s390/s390-64/configure: Likewise.
1263 * sysdeps/x86_64/configure: Likewise.
1264 * sysdeps/sh/configure: Likewise.
1265 * sysdeps/powerpc/powerpc64/configure: Likewise.
1266 * sysdeps/powerpc/powerpc32/configure: Likewise.
1267 * sysdeps/sparc/configure: Likwise.
1268 * sysdeps/i386/configure: Likewise.
1269
1270 * elf/dl-open.c: Comment fixes.
1271
12722012-07-17 Joseph Myers <joseph@codesourcery.com>
1273
1274 * Makefile [CXX] (check-data): Remove.
1275 [CXX] (c++-types.data): New vpath directive.
1276 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
1277 vpath. Do not allow for C++ type data being missing.
1278 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
1279 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
1280 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
1281 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
1282 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
1283 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
1284 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
1285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1286 ... here.
1287 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
1288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1289 ... here.
1290 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
1291 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
1292 ... here.
1293 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
1294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
1295 ... here.
1296 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
1297 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
1298 ... here.
1299 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
1300 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
1301 ... here.
1302 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
1303 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
1304 ... here.
1305 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
1306 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
1307
1308 * elf/tls-macros.h (TLS_LE): Move architecture-specific
1309 definitions to architecture-specific files.
1310 (TLS_IE): Likewise.
1311 (TLS_LD): Likewise.
1312 (TLS_GD): Likewise.
1313 * sysdeps/i386/tls-macros.h: New file.
1314 * sysdeps/powerpc/tls-macros.h: Likewise.
1315 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1316 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1317 * sysdeps/sh/tls-macros.h: Likewise.
1318 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
1319 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
1320 * sysdeps/x86_64/tls-macros.h: Likewise.
1321
13222012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1323
1324 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
1325 zero value for regular exit case.
1326
1327 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1328 (__start_context): Preserve zero value for regular exit case.
1329
13302012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1331 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1332
1333 * manual/setjmp.texi (setcontext): Clarify normal process
1334 termination when uc_link is the null pointer.
1335 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
1336 exit call.
1337
13382012-07-16 Andreas Schwab <schwab@linux-m68k.org>
1339
1340 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
1341 preprocessor. Test for each exception mask separately.
1342
13432012-07-16 Andreas Jaeger <aj@suse.de>
1344
1345 * po/ru.po: Update from translation team.
1346
13472012-07-15 Joseph Myers <joseph@codesourcery.com>
1348
1349 * conform/data/string.h-data (NULL): Use macro-constant. Require
1350 equal to 0.
1351 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1352 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1353 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
1354 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
1355 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1356
13572012-07-13 Andreas Jaeger <aj@suse.de>
1358
1359 * po/fr.po: Update from translation team.
1360
13612012-07-12 Marek Polacek <polacek@redhat.com>
1362
1363 [BZ #14173]
1364 * math/libm-test.inc (yn_test): Add test for BZ #14173.
1365 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
1366 loop condition.
1367
13682012-07-12 Joseph Myers <joseph@codesourcery.com>
1369
1370 [BZ #13717]
1371 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1372 Change to 2.4.1 where previously 2.4.0.
1373 * sysdeps/unix/sysv/linux/configure: Regenerated.
1374 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
1375 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
1376 version.
1377 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
1378 (__ASSUME_AT_CLKTCK): Remove.
1379 (__ASSUME_AT_PAGESIZE): Likewise.
1380 (__ASSUME_AT_XID): Likewise.
1381 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
1382 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
1383 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
1384 unconditionally.
1385 (HAVE_AUX_PAGESIZE): Likewise.
1386 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
1387 [__ASSUME_AT_CLKTCK]: Make code unconditional.
1388 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
1389
13902012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
1391
1392 [BZ #14307]
1393 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
1394 the temporary buffer used to invoke __gethostbyname2_r,
1395 __gethostbyaddr_r and gethostbyname4_r to make room for struct
1396 host_data / struct gaih_addrtuple.
1397 * resolv/nss_dns/dns-host.c (global scope): Move definition of
1398 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
1399 header file nss/nsswitch.h.
1400 * nss/nsswitch.h (global scope): Add definition of implementation
1401 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
1402 resolv/nss_dns/dns-host.c).
1403
14042012-07-11 Andreas Jaeger <aj@suse.de>
1405
1406 * po/fr.po: Update from translation team.
1407
1408 * po/sv.po: Update from translation team
1409 * po/fr.po: Another update from translation team.
1410
14112012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1412
1413 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
1414 for subnormals or multiply small sinh result by itself.
1415 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1416 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1417
14182012-07-11 David S. Miller <davem@davemloft.net>
1419
1420 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1421
14222012-07-10 Andreas Schwab <schwab@linux-m68k.org>
1423
1424 [BZ #14347]
1425 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
1426 (INTERNAL_MARK): Shift it here.
1427
14282012-07-10 Marek Polacek <polacek@redhat.com>
1429
1430 [BZ #14151]
1431 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
1432 libc_cv_asm_global_directive with .globl.
1433 * configure: Regenerated.
1434 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
1435 with .globl.
1436 * sysdeps/i386/configure: Regenerated.
1437 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
1438 with .globl.
1439 * sysdeps/x86_64/configure: Regenerated.
1440 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
1441 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
1442 * elf/tst-unique2mod2.c: Likewise.
1443 * elf/tst-unique2mod1.c: Likewise.
1444 * elf/tst-unique1mod2.c: Likewise.
1445 * elf/tst-unique1mod1.c: Likewise.
1446 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1447 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1448 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1449 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1450 * sysdeps/mach/sysdep.h: Likewise.
1451 * sysdeps/i386/sysdep.h: Likewise.
1452 * sysdeps/i386/i386-mcount.S: Likewise.
1453 * sysdeps/x86_64/_mcount.S: Likewise.
1454 * sysdeps/x86_64/sysdep.h: Likewise.
1455 * sysdeps/sh/_mcount.S: Likewise.
1456 * sysdeps/sh/sysdep.h: Likewise.
1457 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
1458 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
1459 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
1460 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1461 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
1462 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
1463 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
1464 * locale/localeinfo.h: Likewise.
1465 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
1466 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
1467
14682012-07-09 Roland McGrath <roland@hack.frob.com>
1469
1470 [BZ #14336]
1471 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
1472 system".
1473 * manual/message.texi (The Uniforum approach): Likewise.
1474 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
1475 (glibc iconv Implementation): Likewise.
1476
14772012-07-09 Joseph Myers <joseph@codesourcery.com>
1478
1479 [BZ #14337]
1480 * math/s_clog.c (__clog): Avoid scaling a value down where that
1481 could result in underflow.
1482 * math/s_clog10.c (__clog10): Likewise.
1483 * math/s_clog10f.c (__clog10f): Likewise.
1484 * math/s_clog10l.c (__clog10l): Likewise.
1485 * math/s_clogf.c (__clogf): Likewise.
1486 * math/s_clogl.c (__clogl): Likewise.
1487 * math/libm-test.inc (clog_test): Add more tests.
1488 (clog10_test): Likewise.
1489 * sysdeps/i386/fpu/libm-test-ulps: Update.
1490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1491
14922012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1493
1494 [BZ #14283]
1495 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
1496 by 7 not 8 to examine high bit of fractional part.
1497
1498 [BZ #14042]
1499 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
1500 for call to __mcount_internal.
1501 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
1502 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
1503 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
1504
15052012-07-06 Joseph Myers <joseph@codesourcery.com>
1506
1507 [BZ #14154]
1508 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
1509 approximation for values within 0x1p-13f of an odd multiple of
1510 pi/4.
1511 * math/libm-test.inc (tan_test): Do not allow spurious underflow
1512 exception. Add more tests.
1513 * sysdeps/i386/fpu/libm-test-ulps: Update.
1514
1515 [BZ #6778]
1516 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
1517 inputs and return -1 for them. Do not check for +Inf in case not
1518 reachable for +Inf.
1519 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1520 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
1521 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1522 and return -1 for them. Do not check for +Inf in case not
1523 reachable for +Inf.
1524 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
1525 define.
1526 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1527 and return -1 for them. Do not check for +Inf in case not
1528 reachable for +Inf.
1529 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
1530 spurious underflow.
1531 * sysdeps/i386/fpu/libm-test-ulps: Update.
1532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1533
15342012-07-06 Mike Frysinger <vapier@gentoo.org>
1535
1536 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
1537
15382012-07-05 Joseph Myers <joseph@codesourcery.com>
1539
1540 [BZ #14157]
1541 [BZ #14331]
1542 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
1543 could result in spurious underflow. Scale down values above
1544 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
1545 * math/s_csqrtf.c (__csqrtf): Likewise.
1546 * math/s_csqrtl.c (__csqrtl): Likewise.
1547 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
1548 spurious underflow.
1549 * sysdeps/i386/fpu/libm-test-ulps: Update.
1550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1551
15522012-07-04 Andreas Schwab <schwab@linux-m68k.org>
1553
1554 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
1555 xopen-msg.sed.
1556 * catgets/xopen-msg.awk: New file.
1557 * catgets/xopen-msg.sed: Removed.
1558
1559 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
1560 po2text.sed.
1561 * intl/po2test.awk: New file.
1562 * intl/po2test.sed: Removed.
1563
15642012-07-04 Joseph Myers <joseph@codesourcery.com>
1565
1566 [BZ #14328]
1567 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
1568 or multiply small sinh result by itself.
1569 * math/s_ctanf.c (__ctanf): Likewise.
1570 * math/s_ctanh.c (__ctanh): Likewise.
1571 * math/s_ctanhf.c (__ctanhf): Likewise.
1572 * math/s_ctanhl.c (__ctanhl): Likewise.
1573 * math/s_ctanl.c (__ctanl): Likewise.
1574 * math/libm-test.inc (ctan_test_tonearest): New function.
1575 (ctan_test_towardzero): Likewise.
1576 (ctan_test_downward): Likewise.
1577 (ctan_test_upward): Likewise.
1578 (ctanh_test_tonearest): Likewise.
1579 (ctanh_test_towardzero): Likewise.
1580 (ctanh_test_downward): Likewise.
1581 (ctanh_test_upward): Likewise.
1582 (main): Call these new functions.
1583 * sysdeps/i386/fpu/libm-test-ulps: Update.
1584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1585
15862012-07-03 Mike Frysinger <vapier@gentoo.org>
1587
1588 * .gitignore: Delete /ports entry.
1589
15902012-07-03 Andreas Jaeger <aj@suse.de>
1591
1592 * po/bg.po: Update from translation team.
1593 * po/cs.po: Likewise.
1594 * po/de.po: Likewise.
1595 * po/hr.po: Likewise.
1596 * po/nl.pl: Likewise.
1597 * po/pl.po: Likewise.
1598 * po/vi.po: Likewise.
1599
16002012-07-03 Joseph Myers <joseph@codesourcery.com>
1601
1602 * Makeconfig [!+link] (+link-before-libc): New variable.
1603 [!+link] (+link-after-libc): Likewise.
1604 [!+link] (+link-tests): Likewise.
1605 [!+link] (+link): Define in terms of $(+link-before-libc) and
1606 $(+link-after-libc).
1607 [!+link-static] (+link-static-before-libc): New variable.
1608 [!+link-static] (+link-static-after-libc): Likewise.
1609 [!+link-static] (+link-static-tests): Likewise.
1610 [!+link-static] (+link-static): Define in terms of
1611 $(+link-static-before-libc) and $(+link-static-after-libc).
1612 [build-shared] (link-libc-before-gnulib): New variable.
1613 [build-shared] (link-libc-tests): Likewise.
1614 [build-shared] (link-libc): Define in terms of
1615 $(link-libc-before-gnulib).
1616 [!build-shared] (link-libc-tests): New variable.
1617 (link-libc-static-tests): New variable.
1618 [!gnulib] (gnulib-arch): New variable.
1619 [!gnulib] (gnulib-tests): Likewise.
1620 [!gnulib] (static-gnulib-arch): Likewise.
1621 [!gnulib] (static-gnulib-tests): Likewise.
1622 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
1623 Define with "=" instead of ":=".
1624 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
1625 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
1626 * Rules (binaries-all-notests): New variable.
1627 (binaries-all-tests): Likewise.
1628 (binaries-static-notests): Likewise.
1629 (binaries-static-tests): Likewise.
1630 (binaries-all): Define using $(binaries-all-notests) and
1631 $(binaries-all-tests).
1632 (binaries-static): Define using $(binaries-static-notests) and
1633 $(binaries-static-tests).
1634 (binaries-shared-tests): New variable.
1635 (binaries-shared-notests): Likewise.
1636 (binaries-shared): Remove variable.
1637 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
1638 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
1639 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
1640 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
1641 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
1642 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
1643 * elf/Makefile (sln-modules): New variable.
1644 (extra-objs): Add $(sln-modules:=.o).
1645 (ldconfig-modules): Add static-stubs.
1646 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
1647 * elf/static-stubs.c: New file.
1648
1649 [BZ #14283]
1650 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
1651 by 7 not 8 to examine high bit of fractional part. Use volatile
1652 variables when splitting into final array of floats if
1653 __FLT_EVAL_METHOD__ != 0.
1654 * math/libm-test.inc (cos_test): Add another test.
1655 (sin_test): Likewise.
1656 * sysdeps/i386/fpu/libm-test-ulps: Update.
1657
1658 [BZ #14273]
1659 * math/libm-test.inc (cosh_test): Add more tests.
1660
1661 * version.h (RELEASE): Set to "development".
1662 (VERSION): Set to "2.16.90".
1663
16642012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
1665
1666 * NEWS: Update copyright. Remove last-updated date.
1667 Mention math library bug fixes and timezone data changes.
1668 * README: Mention GNU/Hurd, x32, and HPPA support status.
1669
16702012-06-28 Thomas Schwinge <thomas@codesourcery.com>
1671
1672 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
1673
16742012-06-27 Andreas Jaeger <aj@suse.de>
1675
1676 * manual/contrib.texi (Contributors): Add Samuel Thibault.
1677
16782012-06-25 Andreas Jaeger <aj@suse.de>
1679
1680 * sysdeps/s390/fpu/libm-test-ulps: Update.
1681
16822012-06-23 Andreas Schwab <schwab@linux-m68k.org>
1683 Thomas Schwinge <thomas@codesourcery.com>
1684
1685 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
1686 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
1687 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
1688 fanotify_mark.
1689
16902012-06-23 Thomas Schwinge <thomas@codesourcery.com>
1691
1692 * sysdeps/mach/start.c: Remove file.
1693 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
1694 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
1695 * sysdeps/sh/init-first.c: Likewise.
1696
1697 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
1698 registers for frame unwinding purposes, add CFI directives.
1699 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1700 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
1701 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1702 Likewise.
1703
1704 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
1705 __fortify_fail returning.
1706 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1707
1708 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
1709 sysdeps/sh/____longjmp_chk.S.
1710 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
1711 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
1712 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
1713 (gen-as-const-headers): Append sigaltstack-offsets.sym.
1714
1715 * sysdeps/sh/abort-instr.h: New file.
1716 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
1717 process in case exit returns.
1718
1719 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
1720 initialize the GOT register before use.
1721
1722 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
1723 calculation of ARGC > 4.
1724
1725 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
1726 meaningful names to some local labels.
1727
17282012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1729 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1730
1731 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
1732 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
1733 (__arch_compare_and_exchange_val_16_acq): Likewise.
1734 (__arch_compare_and_exchange_val_32_acq): Likewise.
1735 (atomic_exchange_and_add): Fix gUSA sequence.
1736 (atomic_add): Likewise.
1737 (atomic_add_negative): Likewise.
1738 (atomic_add_zero): Likewise.
1739 (atomic_bit_test_set): Likewise.
1740
17412012-06-22 Andreas Schwab <schwab@redhat.com>
1742
1743 [BZ #13579]
1744 * include/link.h (struct link_map): Add l_free_initfini.
1745 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
1746 l_initfini.
1747 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
1748 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
1749 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
1750 set.
1751
17522012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
1753
1754 * configure.in: Use AC_LANG_SOURCE.
1755 * configure: Regenerate.
1756
17572012-06-22 Roland McGrath <roland@hack.frob.com>
1758
1759 * configure.in (libc_cv_localstatedir): New substituted variable.
1760 * configure: Regenerated.
1761 * config.make.in (localstatedir): New variable, substituted from
1762 libc_cv_localstatedir.
1763 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
1764 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
1765 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
1766 * sysdeps/gnu/configure: Regenerated.
1767
17682012-06-21 Jeff Law <law@redhat.com>
1769
1770 [BZ #14277]
1771 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
1772 free. Simplify list management for _LIBC case.
1773
17742012-06-21 Joseph Myers <joseph@codesourcery.com>
1775
1776 [BZ #14273]
1777 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1778 Clear sign bit of 64-bit integer value before comparing against
1779 overflow value.
1780
1781 * sysdeps/mach/configure: Regenerated.
1782
17832012-06-21 H.J. Lu <hongjiu.lu@intel.com>
1784
1785 [BZ #14278]
1786 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
1787
17882012-06-21 Jeff Law <law@redhat.com>
1789
1790 [BZ #13882]
1791 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
1792 uint16_t for elements in the "seen" array to avoid char overflows.
1793 * elf/dl-fini.c (_dl_sort_fini): Likewise.
1794 * elf/dl-open.c (dl_open_worker): Likewise.
1795
17962012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
1797
1798 * scripts/list-sources.sh: Scan PORTS for translations.
1799 * po/libc.pot: Regenerated.
1800
18012012-06-21 Andreas Jaeger <aj@suse.de>
1802
1803 [BZ #12194]
1804 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
1805 warning.
1806 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
1807 * bits/byteswap-16.h (__bswap_16): Likewise.
1808 * bits/byteswap.h (__bswap_constant_16): Likewise.
1809
18102012-06-18 H.J. Lu <hongjiu.lu@intel.com>
1811
1812 [BZ #14117]
1813 * sysdeps/i386/fpu_control.h: Removed.
1814 * sysdeps/x86_64/fpu_control.h: Moved to ...
1815 * sysdeps/x86/fpu_control.h: Here.
1816
1817 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
1818 (_FPU_SETCW): Likewise.
1819
18202012-06-15 H.J. Lu <hongjiu.lu@intel.com>
1821
1822 [BZ #14117]
1823 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
1824 * sysdeps/x86/fpu/bits/mathinline.h: This.
1825 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
1826
1827 [BZ #14050]
1828 [BZ #14117]
1829 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
1830 functions if __x86_64__ is defined.
1831
18322012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
1833
1834 * string/endian.h: Add !__ASSEMBLER__ condition for including
1835 conversion interfaces.
1836
18372012-06-15 Joseph Myers <joseph@codesourcery.com>
1838
1839 [BZ #14241]
1840 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
1841 of ABS(x) in calculating zero to negative powers other than odd
1842 integers.
1843 * math/libm-test.inc (pow_test): Add more tests.
1844
18452012-06-15 Andreas Jaeger <aj@suse.de>
1846
1847 * manual/contrib.texi (Contributors): Update entry of Liubov
1848 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
1849 Machado Filho.
1850
18512012-06-15 Cyril Hrubis <metan@ucw.cz>
1852
1853 * string/string.h: Add __wur to GNU version of strerror_r.
1854
18552012-06-14 H.J. Lu <hongjiu.lu@intel.com>
1856
1857 [BZ #14229]
1858 * string/Makefile (tests): Add tst-strtok_r.
1859 * string/tst-strtok_r.c: New file.
1860 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
1861 RAX_LP/RDX_LP on SAVE_PTR.
1862
18632012-06-14 Roland McGrath <roland@hack.frob.com>
1864
1865 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
1866
18672012-06-14 Joseph Myers <joseph@codesourcery.com>
1868
1869 * libm_test.inc (csqrt_test): Allow more spurious underflow
1870 exceptions.
1871 (j0_test): Likewise.
1872 (j1_test): Likewise.
1873 (y0_test): Likewise.
1874 (y1_test): Likewise.
1875
18762012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
1877
1878 * po/Makefile (libc.pot): Use UTF-8 charset.
1879
18802012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
1881
1882 [BZ #14210]
1883 Suppress sign-conversion warning from FD_SET.
1884 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
1885 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
1886 not unsigned long int.
1887 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
1888
18892012-06-12 H.J. Lu <hongjiu.lu@intel.com>
1890
1891 [BZ #14050]
1892 [BZ #14117]
1893 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
1894 __extern_always_inline instead of __extern_inline.
1895 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
1896 (__signbit): Likewise.
1897 (__signbitl): Support C++ namespace.
1898 (lrintf): New inline function.
1899 (lrint): Likewise.
1900 (llrintf): Likewise.
1901 (llrint): Likewise.
1902 (fmaxf): Likewise.
1903 (fmax): Likewise.
1904 (fminf): Likewise.
1905 (fmin): Likewise.
1906 (rint): Likewise.
1907 (rintf): Likewise.
1908 (ceil): Likewise.
1909 (ceilf): Likewise.
1910 (floor): Likewise.
1911 (floorf): Likewise.
1912 (nearbyint): Likewise.
1913 (nearbyintf): Likewise.
1914
19152012-06-12 Thomas Schwinge <thomas@codesourcery.com>
1916
1917 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
1918 non-default versions.
1919
19202012-06-11 Roland McGrath <roland@hack.frob.com>
1921
1922 [BZ #14218]
1923 * manual/argp.texi (Argp): Reword argp_parse description slightly.
1924
19252012-06-09 Thomas Schwinge <thomas@codesourcery.com>
1926
1927 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
1928 (FE_UPWARD, FE_DOWNWARD): Don't define.
1929 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
1930 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1931
1932 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
1933 reading it.
1934 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1935 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1936
19372012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1938
1939 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1940 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
1941 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
1942 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
1943
19442012-06-06 H.J. Lu <hongjiu.lu@intel.com>
1945
1946 [BZ #14117]
1947 * sysdeps/i386/fpu/bits/fenv.h: Removed.
1948 * sysdeps/i386/fpu/Implies: New file.
1949 * sysdeps/x86_64/fpu/Implies: Likewise.
1950 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
1951 * sysdeps/x86/fpu/bits/fenv.h: This.
1952
1953 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
1954 __SSE_MATH__.
1955
19562012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1957
1958 [BZ #14134]
1959 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
1960 character 0xffff that matches the last element of the
1961 conversion table.
1962
19632012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1964
1965 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
1966 fmodl commit.
1967
19682012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1969
1970 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
1971 values higher than 25.6283.
1972
19732012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1974
1975 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
1976 subnormal exponent extraction and add some __builtin_expect.
1977 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
1978 Fix for subnormal mantissa calculation.
1979
19802012-06-04 Mike Frysinger <vapier@gentoo.org>
1981
1982 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
1983 cpu2 is -1 and errno is not ENOSYS.
1984
19852012-06-04 H.J. Lu <hongjiu.lu@intel.com>
1986
1987 [BZ #14117]
1988 * sysdeps/i386/i486/bits/string.h: Renamed to ...
1989 * sysdeps/x86/bits/string.h: This.
1990 * sysdeps/x86_64/bits/string.h: Removed.
1991
1992 * sysdeps/i386/i486/bits/string.h: Define inline functions only
1993 if not compiling for x86-64, but compiling for >= i486.
1994
1995 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
1996 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
1997
1998 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
1999 New macro from Linux kernel 3.4.0.
2000 (FP_XSTATE_MAGIC2): Likewise.
2001 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2002 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
2003 (struct _fpx_sw_bytes): New struct.
2004 (struct _xsave_hdr): Likewise.
2005 (struct _ymmh_state): Likewise.
2006 (struct _xstate): Likewise.
2007
2008 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
2009 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
2010 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
2011 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
2012 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
2013 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
2014
2015 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
2016 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
2017 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
2018 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
2019 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
2020 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
2021
20222012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2023
2024 [BZ #13743]
2025 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
2026 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
2027 (sysdep_headers): Include sys/platform/ppc.h.
2028 * sysdeps/powerpc/test-gettimebase.c: Test for
2029 __ppc_get_timebase() to catch future ISA opcode/insn changes.
2030 * manual/Makefile (appendices): Include platform.texi.
2031 * manual/contrib.texi (Contributors): Update @node pointers.
2032 * manual/maint.texi (Maintenance): Likewise.
2033 (Platform): New node.
2034 * manual/platform.texi: New file. Document the new features.
2035
20362012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2037 Jakub Jelinek <jakub@redhat.com>
2038
2039 [BZ #14188]
2040 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
2041 where __builtin_expect is unavailable.
2042
20432012-06-03 David S. Miller <davem@davemloft.net>
2044
2045 * stdlib/longlong.h: Updated from GCC.
2046
20472012-06-02 Andreas Schwab <schwab@linux-m68k.org>
2048
2049 [BZ #14042]
2050 * sysdeps/powerpc/powerpc32/mcount.c: New file.
2051 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
2052 __mcount_internal.
2053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2054 (GLIBC_2.16): Likewise.
2055
20562012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2057
2058 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
2059
20602012-06-01 Joseph Myers <joseph@codesourcery.com>
2061
2062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2063 (default-abi): New variable.
2064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
2065 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
2066 variable.
2067 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
2068 Likewise.
2069 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
2070 Likewise.
2071 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
2072 Likewise.
2073
2074 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
2075 definition. Document in comment.
2076
20772012-06-01 David S. Miller <davem@davemloft.net>
2078
2079 * stdlib/longlong.h: Updated from GCC.
2080
20812012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2082
2083 [BZ #14117]
2084 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
2085 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
2086 sys/debugreg.h sys/io.h here.
2087 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
2088 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
2089 sys/io.h.
2090 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
2091 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
2092 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
2093 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
2094 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
2095 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
2096
2097 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
2098 Define only if __x86_64__ is defined.
2099
21002012-06-01 Joseph Myers <joseph@codesourcery.com>
2101
2102 [BZ #14048]
2103 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
2104 Use int64_t for variable i.
2105 * math/libm-test.inc (fmod_test): Add more tests.
2106
2107 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
2108 z computation is not scheduled after fetestexcept.
2109 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
2110 Use math_force_eval instead of asm to ensure calculation scheduled
2111 before exception test.
2112 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
2113 Ensure a1 + u.d computation is not scheduled after fetestexcept.
2114
21152012-06-01 Aurelien Jarno <aurelien@aurel32.net>
2116
2117 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
2118 computation is not scheduled after fetestexcept.
2119
21202012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2121
2122 [BZ #14117]
2123 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
2124 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
2125
21262012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2127
2128 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
2129 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2130
21312012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2132
2133 [BZ #14117]
2134 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
2135 <bits/wordsize.h>.
2136 (__WCHAR_MIN): Support __WORDSIZE == 64.
2137 (__WCHAR_MAX): Likewise.
2138
2139 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
2140 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2141
2142 [BZ #14183]
2143 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2144 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2145
2146 [BZ #14117]
2147 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2148 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2149
2150 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2151 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2152
2153 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2154 Defined to 1 if __x86_64__ isn't defined.
2155 (_STAT_VER_LINUX_OLD): New.
2156 (st_atime): Remove duplicate.
2157 (st_mtime): Likewise.
2158 (st_ctime): Likewise.
2159
21602012-05-31 David S. Miller <davem@davemloft.net>
2161
2162 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2163 entries.
2164
21652012-06-01 Andreas Schwab <schwab@linux-m68k.org>
2166
2167 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2168 gen-libm-test.pl.
2169
2170 [BZ #14132]
2171 * elf/dl-reloc.c: Include <_itoa.h>.
2172 (_dl_reloc_bad_type): Remove use of INTUSE.
2173 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2174 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2175 * stdio-common/psiginfo.c (psiginfo): Likewise.
2176 * stdio-common/psignal.c (psignal): Likewise.
2177 * string/strsignal.c (strsignal): Likewise.
2178 * include/signal.h (_sys_siglist): Declare hidden proto.
2179 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
2180 INTVARDEF with libc_hidden_data_def.
2181 * stdio-common/itoa-udigits.c: Likewise.
2182 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2183 (_itoa_lower_digits_internal): Remove declaration.
2184 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2185 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2186 (_sys_sigabbrev_internal): Remove aliases.
2187 (_sys_siglist): Define hidden alias.
2188
21892012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
2190
2191 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2192 bits/sysctl.h.
2193
21942012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2195
2196 [BZ #14117]
2197 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2198 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2199
2200 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2201 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2202 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2203 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2204 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2205 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2206
2207 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2208 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2209 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2210
2211 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2212 with __addr.
2213 (insw): Likewise.
2214 (insl): Likewise.
2215 (outsb): Likewise.
2216 (outsw): Likewise.
2217 (outsl): Likewise.
2218
2219 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2220 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2221 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2222
2223 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2224 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2225 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2226 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2227 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2228 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2229
2230 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2231 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2232
2233 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
2234 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
2235
2236 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
2237 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
2238 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
2239
2240 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
2241 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
2242 to ...
2243 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
2244
2245 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
2246 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
2247 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
2248
2249 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
2250 for x86-64.
2251 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2252
22532012-05-31 Joseph Myers <joseph@codesourcery.com>
2254
2255 * math/math.h (M_El): Use two more decimal places.
2256 (M_LOG2El): Likewise.
2257 (M_LOG10El): Likewise.
2258 (M_LN2l): Likewise.
2259 (M_LN10l): Likewise.
2260 (M_PIl): Likewise.
2261 (M_PI_2l): Likewise.
2262 (M_PI_4l): Likewise.
2263 (M_1_PIl): Likewise.
2264 (M_2_PIl): Likewise.
2265 (M_2_SQRTPIl): Likewise.
2266 (M_SQRT2l): Likewise.
2267 (M_SQRT1_2l): Likewise.
2268
22692012-05-31 David S. Miller <davem@davemloft.net>
2270
2271 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
2272 values between float registers.
2273 * sysdeps/sparc/sparc64/memset.S: Likewise.
2274 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2275
22762012-05-31 Mike Frysinger <vapier@gentoo.org>
2277
2278 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
2279 -D_FORTIFY_SOURCE=1.
2280 (CPPFLAGS-tst-longjmp_chk.c): Define.
2281 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
2282 (CPPFLAGS-tst-longjmp_chk2.c): Define.
2283 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
2284 CFLAGS-tst-wchar-h.c.
2285
22862012-05-31 Marek Polacek <polacek@redhat.com>
2287
2288 [BZ #14132]
2289 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
2290 __endmntent_internal): Remove declaration.
2291 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
2292 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
2293 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
2294
22952012-05-30 David S. Miller <davem@davemloft.net>
2296
2297 * sysdeps/sparc/sparc32/soft-fp/q_util.c
2298 (___Q_simulate_exceptions): Use real FP ops rather than writing
2299 into the %fsr.
2300 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
2301 Likewise.
2302
23032012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2304
2305 [BZ #14117]
2306 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
2307 * sysdeps/x86/bits/xtitypes.h: This.
2308
2309 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
2310 * sysdeps/x86/bits/wordsize.h: This.
2311
2312 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
2313 * sysdeps/x86/bits/huge_vall.h: This.
2314
2315 * sysdeps/i386/bits/select.h: Removed.
2316 * sysdeps/x86_64/bits/select.h: Renamed to ...
2317 * sysdeps/x86/bits/select.h: This.
2318
2319 * sysdeps/i386/bits/setjmp.h: Removed.
2320 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
2321 * sysdeps/x86/bits/setjmp.h: This.
2322
2323 * sysdeps/i386/bits/mathdef.h: Removed.
2324 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
2325 * sysdeps/x86/bits/mathdef.h: This.
2326
23272012-05-30 Andreas Schwab <schwab@linux-m68k.org>
2328
2329 [BZ #14132]
2330 * include/sys/socket.h (__connect_internal)
2331 (__libc_sa_len_internal): Remove declaration.
2332 (__connect, __libc_sa_len): Declare hidden_proto.
2333 (SA_LEN): Remove use of INTUSE.
2334 * socket/connect.c: Add libc_hidden_def.
2335 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
2336 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
2337 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
2338 alias.
2339 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2340 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2341 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
2342 of adding _internal alias.
2343
23442012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2345
2346 [BZ #14117]
2347 * sysdeps/i386/bits/link.h: Removed.
2348 * sysdeps/i386/bits/linkmap.h: Likewise.
2349 * sysdeps/x86_64/bits/link.h: Renamed to ...
2350 * sysdeps/x86/bits/link.h: This.
2351 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
2352 * sysdeps/x86/bits/linkmap.h: This.
2353
2354 * sysdeps/i386/bits/endian.h: Removed.
2355 * sysdeps/x86_64/bits/endian.h: Renamed to ...
2356 * sysdeps/x86/bits/endian.h: This.
2357
2358 * sysdeps/i386/bits/byteswap.h: Removed.
2359 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2360 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
2361 * sysdeps/x86/bits/byteswap.h: This.
2362 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
2363 * sysdeps/x86/bits/byteswap-16.h: This.
2364 * sysdeps/i386/Implies: Add x86.
2365 * sysdeps/x86_64/Implies: Likewise.
2366
23672012-05-30 David S. Miller <davem@davemloft.net>
2368
2369 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
2370 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
2371 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2372 (FP_TRAPPING_EXCEPTIONS): Define.
2373 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2374 (FP_TRAPPING_EXCEPTIONS): Define.
2375 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
2376 subnormals only when inexact has been signalled or underflow
2377 exceptions are enabled.
2378 (_FP_PACK_CANONICAL): Likewise.
2379
23802012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2381
2382 [BZ #14183]
2383 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
2384 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
2385
23862012-05-30 Richard Henderson <rth@twiddle.net>
2387
2388 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
2389 with #ifndef NOT_IN_libc.
2390
2391 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
2392 marked to avoid plt entry.
2393
23942012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2395
2396 [BZ #14112]
2397 * Makeconfig (default-abi): New macro.
2398 (abi-includes): Likewise.
2399 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
2400 $(abi-$(default-abi)-lib-soname) for soname if defined.
2401 ($(common-objpfx)gnu/lib-names.stmp): Generate from
2402 abi-variants.
2403 * Makefile (installed-stubs): Likewise.
2404 * include/stubs-biarch.h: Removed.
2405 * scripts/lib-names.awk: Only handle one library at a time.
2406 * scripts/soversions.awk: Remove WORDSIZE support.
2407 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
2408 entries.
2409 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
2410 Removed.
2411 (syscall-list-default-condition): Likewise.
2412 (syscall-list-default-condition): Likewise.
2413 (syscall-list-includes): Likewise.
2414 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
2415 syscall-list-* with abi-*. Handle undefined abi-variants.
2416 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
2417 * sysdeps/unix/sysv/linux/i386/Implies: New file.
2418 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
2419 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
2420 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
2421 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
2422 Removed.
2423 (syscall-list-32-options): Likewise.
2424 (syscall-list-32-condition): Likewise.
2425 (syscall-list-64-options): Likewise.
2426 (syscall-list-64-condition): Likewise.
2427 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
2428 macro.
2429 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
2430 Renamed to ...
2431 (abi-*): This.
2432 (abi-64-ld-soname): New macro.
2433 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
2434 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
2435 Renamed to ...
2436 (abi-*): This.
2437 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
2438 * sysdeps/x86_64/x32/shlib-versions: Likewise.
2439
24402012-05-30 Joseph Myers <joseph@codesourcery.com>
2441
2442 * sysdeps/unix/sysv/linux/kernel-features.h
2443 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
2444 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
2445 include <kernel-features.h>.
2446 [!__NR_ftruncate64]: Remove conditional code.
2447 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2448 [__NR_ftruncate64]: Make code unconditional.
2449 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2450 * sysdeps/unix/sysv/linux/truncate64.c: Do not
2451 include <kernel-features.h>.
2452 [!__NR_ftruncate64]: Remove conditional code.
2453 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2454 [__NR_ftruncate64]: Make code unconditional.
2455 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
2457 include <kernel-features.h>.
2458 [!__NR_ftruncate64]: Remove conditional code.
2459 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2460 [__NR_ftruncate64]: Make code unconditional.
2461 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2463 include <kernel-features.h>.
2464 [!__NR_ftruncate64]: Remove conditional code.
2465 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2466 [__NR_ftruncate64]: Make code unconditional.
2467 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2468
2469 * configure.in (libc_cv_fpie): Weaken to a compile test using
2470 LIBC_TRY_CC_OPTION.
2471 * configure: Regenerated.
2472
24732012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2474
2475 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
2476 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
2477 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
2478 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2479 Refreshed.
2480 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
2481 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
2482 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
2483 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
2484 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
2485 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2486 Refreshed.
2487
24882012-05-27 David S. Miller <davem@davemloft.net>
2489
2490 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
2491 (___Q_zero): New.
2492 (__Q_simulate_exceptions): Return void. Change to simulate
2493 exceptions by writing into the %fsr.
2494 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
2495 (__Qp_handle_exceptions): Likewise.
2496 (numbers): Delete.
2497 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
2498 __Qp_handle_exceptions.
2499 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
2500 __Qp_handle_exceptions.
2501 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2502 as unused and give dummy FP_RND_NEAREST initializer.
2503 (FP_INHIBIT_RESULTS): Define.
2504 (___Q_simulate_exceptions): Update declaration.
2505 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
2506 formatting.
2507 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2508 as unused and give dummy FP_RND_NEAREST initializer.
2509 (__Qp_handle_exceptions): Update declaration.
2510 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
2511 formatting.
2512
25132012-05-27 Thomas Schwinge <thomas@codesourcery.com>
2514
2515 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
2516 the temporary FPU control word.
2517 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2518 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
2519 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2520 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2521 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2522 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2523 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2524 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2525 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2526 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2527 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2528
25292012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2530
2531 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
2532 fields.
2533
25342012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
2535
2536 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
2537 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
2538 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
2539 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
2540 Likewise.
2541 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
2542 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
2543 Likewise.
2544
25452012-05-27 Ulrich Drepper <drepper@gmail.com>
2546
2547 * po/h.po: Update from translation team.
2548
25492012-05-26 Andreas Schwab <schwab@linux-m68k.org>
2550
2551 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
2552
2553 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
2554 handling of denormals.
2555 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2556 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2557 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2558 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2559 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2560 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
2561 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
2562 Likewise.
2563
25642012-05-26 Marek Polacek <polacek@redhat.com>
2565
2566 [BZ #14152]
2567 * math/libm-test.inc (fma_test): Don't always expect underflow
2568 exception.
2569
25702012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2571
2572 [BZ #12416]
2573 * elf/tst-execstack.c: Include stackinfo.h.
2574 (do_test): Adjust test case to ensure that pthread_getattr_np
2575 behaviour remains the same after marking stack executable.
2576
25772012-05-25 Joseph Myers <joseph@codesourcery.com>
2578
2579 * sysdeps/unix/sysv/linux/kernel-features.h
2580 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
2581 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
2582 kernel-features.h.
2583 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2584 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2585 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
2586 kernel-features.h.
2587 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2588 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2589
25902012-05-25 H.J. Lu <hongjiu.lu@intel.com>
2591
2592 * configure.in: Define the default includes to being none.
2593 * configure: Regenerated.
2594
25952012-05-25 Roland McGrath <roland@hack.frob.com>
2596
2597 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
2598 * sysdeps/x86_64/setjmp.S: Likewise.
2599 * sysdeps/i386/bsd-setjmp.S: Likewise.
2600 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2601 * sysdeps/i386/setjmp.S: Likewise.
2602 * sysdeps/i386/__longjmp.S: Likewise.
2603 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2604 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
2605
2606 * include/stap-probe.h: New file.
2607 * configure.in: Handle --enable-systemtap.
2608 * configure: Regenerated.
2609 * config.h.in (USE_STAP_PROBE): New #undef.
2610 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
2611 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
2612 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2613
26142012-05-25 Joseph Myers <joseph@codesourcery.com>
2615
2616 [BZ #13717]
2617 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2618 to 2.4.0 where earlier.
2619 * sysdeps/unix/sysv/linux/configure: Regenerated.
2620 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2621 <kernel-features.h>.
2622 [__ASSUME_32BITUIDS]: Make code unconditional.
2623 [!__ASSUME_32BITUIDS]: Remove conditional code.
2624 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
2625 <kernel-features.h>.
2626 [__ASSUME_32BITUIDS]: Make code unconditional.
2627 [!__ASSUME_32BITUIDS]: Remove conditional code.
2628 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
2629 [__ASSUME_32BITUIDS]: Make code unconditional.
2630 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
2631 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
2632 <kernel-features.h>.
2633 [__ASSUME_32BITUIDS]: Make code unconditional.
2634 [!__ASSUME_32BITUIDS]: Remove conditional code.
2635 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
2636 <kernel-features.h>.
2637 [__ASSUME_32BITUIDS]: Make code unconditional.
2638 [!__ASSUME_32BITUIDS]: Remove conditional code.
2639 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
2640 <kernel-features.h>.
2641 [__ASSUME_32BITUIDS]: Make code unconditional.
2642 [!__ASSUME_32BITUIDS]: Remove conditional code.
2643 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
2644 <kernel-features.h>.
2645 [__ASSUME_32BITUIDS]: Make code unconditional.
2646 [!__ASSUME_32BITUIDS]: Remove conditional code.
2647 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2648 <kernel-features.h>.
2649 [__ASSUME_32BITUIDS]: Make code unconditional.
2650 [!__ASSUME_32BITUIDS]: Remove conditional code.
2651 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2652 <kernel-features.h>.
2653 [__ASSUME_32BITUIDS]: Make code unconditional.
2654 [!__ASSUME_32BITUIDS]: Remove conditional code.
2655 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
2656 <kernel-features.h>.
2657 [__ASSUME_32BITUIDS]: Make code unconditional.
2658 [!__ASSUME_32BITUIDS]: Remove conditional code.
2659 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2660 <kernel-features.h>.
2661 [__ASSUME_32BITUIDS]: Make code unconditional.
2662 [!__ASSUME_32BITUIDS]: Remove conditional code.
2663 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2664 <kernel-features.h>.
2665 [__ASSUME_32BITUIDS]: Make code unconditional.
2666 [!__ASSUME_32BITUIDS]: Remove conditional code.
2667 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
2668 <kernel-features.h>.
2669 [__ASSUME_32BITUIDS]: Make code unconditional.
2670 [!__ASSUME_32BITUIDS]: Remove conditional code.
2671 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
2672 <kernel-features.h>.
2673 [__NR_setresgid] (__setresgid): Do not declare.
2674 [__ASSUME_32BITUIDS]: Make code unconditional.
2675 [!__ASSUME_32BITUIDS]: Remove conditional code.
2676 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
2677 <kernel-features.h>.
2678 [__NR_setresuid] (__setresuid): Do not declare.
2679 [__ASSUME_32BITUIDS]: Make code unconditional.
2680 [!__ASSUME_32BITUIDS]: Remove conditional code.
2681 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
2682 <kernel-features.h>.
2683 [__ASSUME_32BITUIDS]: Make code unconditional.
2684 [!__ASSUME_32BITUIDS]: Remove conditional code.
2685 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
2686 <kernel-features.h>.
2687 [__ASSUME_32BITUIDS]: Make code unconditional.
2688 [!__ASSUME_32BITUIDS]: Remove conditional code.
2689 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
2690 <kernel-features.h>.
2691 [__ASSUME_32BITUIDS]: Make code unconditional.
2692 [!__ASSUME_32BITUIDS]: Remove conditional code.
2693 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
2694 <kernel-features.h>.
2695 [__ASSUME_32BITUIDS]: Make code unconditional.
2696 [!__ASSUME_32BITUIDS]: Remove conditional code.
2697 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
2698 <kernel-features.h>.
2699 [__ASSUME_32BITUIDS]: Make code unconditional.
2700 [!__ASSUME_32BITUIDS]: Remove conditional code.
2701 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
2702 <kernel-features.h>.
2703 [__ASSUME_32BITUIDS]: Make code unconditional.
2704 [!__ASSUME_32BITUIDS]: Remove conditional code.
2705 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
2706 <kernel-features.h>.
2707 [__ASSUME_32BITUIDS]: Make code unconditional.
2708 [!__ASSUME_32BITUIDS]: Remove conditional code.
2709 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
2710 <kernel-features.h>.
2711 [__ASSUME_32BITUIDS]: Make code unconditional.
2712 [!__ASSUME_32BITUIDS]: Remove conditional code.
2713 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
2714 <kernel-features.h>.
2715 [__ASSUME_32BITUIDS]: Make code unconditional.
2716 [!__ASSUME_32BITUIDS]: Remove conditional code.
2717 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2718 <kernel-features.h>.
2719 [__ASSUME_32BITUIDS]: Make code unconditional.
2720 [!__ASSUME_32BITUIDS]: Remove conditional code.
2721 * sysdeps/unix/sysv/linux/kernel-features.h
2722 (__ASSUME_SETRESUID_SYSCALL): Remove.
2723 (__ASSUME_SETRESGID_SYSCALL): Likewise.
2724 (__ASSUME_32BITUIDS): Likewise.
2725 (__ASSUME_LDT_WORKS): Likewise.
2726 (__ASSUME_O_DIRECTORY): Likewise.
2727 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
2728 architecture but not kernel version.
2729 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2730 (__ASSUME_MMAP2_SYSCALL): Likewise.
2731 (__ASSUME_STAT64_SYSCALL): Likewise.
2732 (__ASSUME_IPC64): Likewise.
2733 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
2734 <kernel-features.h>.
2735 [__ASSUME_32BITUIDS]: Make code unconditional.
2736 [!__ASSUME_32BITUIDS]: Remove conditional code.
2737 * sysdeps/unix/sysv/linux/opendir.c: Do not include
2738 <kernel-features.h>.
2739 [__ASSUME_O_DIRECTORY]: Make code unconditional.
2740 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
2741 132096]: Remove conditional code.
2742 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
2743 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2744 <kernel-features.h>.
2745 [__ASSUME_32BITUIDS]: Make code unconditional.
2746 [!__ASSUME_32BITUIDS]: Remove conditional code.
2747 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2748 <kernel-features.h>.
2749 [__ASSUME_32BITUIDS]: Make code unconditional.
2750 [!__ASSUME_32BITUIDS]: Remove conditional code.
2751 * sysdeps/unix/sysv/linux/setegid.c: Do not include
2752 <kernel-features.h>.
2753 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
2754 unconditional.
2755 (__setresgid): Do not declare.
2756 [__ASSUME_32BITUIDS]: Make code unconditional.
2757 [!__ASSUME_32BITUIDS]: Remove conditional code.
2758 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
2759 <kernel-features.h>.
2760 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
2761 unconditional.
2762 (__setresuid): Do not declare.
2763 [__ASSUME_32BITUIDS]: Make code unconditional.
2764 [!__ASSUME_32BITUIDS]: Remove conditional code.
2765 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
2770 <kernel-features.h>.
2771 [__ASSUME_32BITUIDS]: Make code unconditional.
2772 [!__ASSUME_32BITUIDS]: Remove conditional code.
2773
27742012-05-25 Richard Henderson <rth@twiddle.net>
2775
2776 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
2777 dl_hwcap to ifunc resolver.
2778 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
2779 elf_ifunc_invoke.
2780 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
2781 dl_hwcap to ifunc resolver.
2782 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
2783
27842012-05-24 Joseph Myers <joseph@codesourcery.com>
2785
2786 [BZ #14153]
2787 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
2788 for |x| <= 2**-26, not 2**-57.
2789 * math/libm-test.inc (acos_test): Do not allow spurious underflow
2790 exception.
2791
27922012-05-24 Jeff Law <law@redhat.com>
2793
2794 * stdio-common/Makefile (tests): Add bug25.
2795 * stdio-common/bug25.c: New test.
2796
27972012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2798
2799 [BZ #13576]
2800 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
2801 multiple of MALLOC_ALIGNMENT in size.
2802 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
2803
28042012-05-24 Joseph Myers <joseph@codesourcery.com>
2805
2806 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
2807 Require >= 256.
2808 (FILENAME_MAX): Use macro-int-constant.
2809 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
2810 (_IOFBF): Use macro-int-constant.
2811 (_IOLBF): Likewise.
2812 (_IONBF): Likewise.
2813 (SEEK_CUR): Likewise.
2814 (SEEK_END): Likewise.
2815 (SEEK_SET): Likewise.
2816 (TMP_MAX): Likewise.
2817 (EOF): Use macro-int-constant. Require < 0.
2818 (NULL): Use macro-constant. Require == 0.
2819 (stdin): Require type to be FILE *.
2820 (stdout): Likewise.
2821 (stderr): Likewise.
2822 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
2823 macro-int-constant.
2824 (EXIT_SUCCESS): Likewise.
2825 (NULL): Use macro-constant. Require == 0.
2826 (RAND_MAX): Use macro-int-constant.
2827 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
2828 [C99-based standards] (strtof): Require function.
2829 [C99-based standards] (strtold): Likewise.
2830 [C99-based standards] (strtoll): Likewise.
2831 [C99-based standards] (strtoull): Likewise.
2832 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2833 [ISO || ISO99 || ISO11] (limits.h): Likewise.
2834 [ISO || ISO99 || ISO11] (math.h): Likewise.
2835 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
2836 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2837 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2838
28392012-05-24 Andreas Schwab <schwab@linux-m68k.org>
2840
2841 [BZ #14132]
2842 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
2843 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
2844 * intl/dgettext.c (DCGETTEXT): Likewise.
2845 * intl/gettext.c (DCGETTEXT): Likewise.
2846 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
2847 * posix/regex_internal.h (gettext): Likewise.
2848 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
2849 Remove declaration.
2850 * include/argz.h (__argz_count_internal)
2851 (__argz_stringify_internal): Remove declaration.
2852 (__argz_count, __argz_stringify): Declare hidden proto.
2853 * intl/dcgettext.c: Remove use of INTDEF.
2854 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
2855 * string/argz-stringify.c: Likewise.
2856 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2857 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2858 Declare hidden proto.
2859 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2860 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2861 Declare hidden proto.
2862 * include/stdio.h (__asprintf_internal): Don't declare.
2863 (__asprintf): Don't define as macro. Declare hidden proto.
2864 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
2865 (__fsetlocking): Declare hidden proto.
2866 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
2867 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
2868 hidden proto.
2869 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
2870 (_IO_setlinebuf): Remove use of INTUSE.
2871 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
2872 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
2873 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
2874 Remove declaration.
2875 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
2876 (_IO_do_flush): Remove use of INTUSE.
2877 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
2878 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
2879 (_IO_adjust_column, _IO_least_wmarker)
2880 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
2881 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
2882 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
2883 (_IO_default_doallocate, _IO_wdefault_doallocate)
2884 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
2885 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
2886 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
2887 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
2888 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
2889 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
2890 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
2891 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
2892 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
2893 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
2894 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
2895 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
2896 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
2897 proto.
2898 (_IO_flush_all_internal, _IO_adjust_column_internal)
2899 (_IO_default_uflow_internal, _IO_default_finish_internal)
2900 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
2901 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
2902 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
2903 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
2904 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
2905 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
2906 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
2907 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
2908 (_IO_file_close_internal, _IO_file_close_it_internal)
2909 (_IO_file_underflow_internal, _IO_file_overflow_internal)
2910 (_IO_file_init_internal, _IO_file_attach_internal)
2911 (_IO_file_fopen_internal, _IO_file_read_internal)
2912 (_IO_file_sync_internal, _IO_file_seek_internal)
2913 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
2914 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
2915 (_IO_str_underflow_internal, _IO_str_overflow_internal)
2916 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
2917 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
2918 (_IO_list_all_internal, _IO_link_in_internal)
2919 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
2920 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
2921 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
2922 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
2923 (_IO_do_write_internal, _IO_padn_internal)
2924 (_IO_getline_info_internal, _IO_getline_internal)
2925 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
2926 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
2927 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
2928 (_IO_vfscanf_internal, _IO_vfprintf_internal)
2929 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
2930 (_IO_init_internal, _IO_un_link_internal): Don't declare.
2931 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
2932 with libc_hidden_ver, remove use of INTUSE.
2933 * libio/genops.c: Likewise.
2934 * libio/freopen.c: Likewise.
2935 * libio/freopen64.c: Likewise.
2936 * libio/iofclose.c: Likewise.
2937 * libio/iofdopen.c: Likewise.
2938 * libio/iofflush.c: Likewise.
2939 * libio/iofflush_u.c: Likewise.
2940 * libio/iofgets.c: Likewise.
2941 * libio/iofgets_u.c: Likewise.
2942 * libio/iofopen.c: Likewise.
2943 * libio/iofopncook.c: Likewise.
2944 * libio/iofread.c: Likewise.
2945 * libio/iofread_u.c: Likewise.
2946 * libio/ioftell.c: Likewise.
2947 * libio/iofwrite.c: Likewise.
2948 * libio/iogetline.c: Likewise.
2949 * libio/iogets.c: Likewise.
2950 * libio/iogetwline.c: Likewise.
2951 * libio/iopadn.c: Likewise.
2952 * libio/iopopen.c: Likewise.
2953 * libio/ioseekoff.c: Likewise.
2954 * libio/ioseekpos.c: Likewise.
2955 * libio/iosetbuffer.c: Likewise.
2956 * libio/iosetvbuf.c: Likewise.
2957 * libio/ioungetc.c: Likewise.
2958 * libio/ioungetwc.c: Likewise.
2959 * libio/iovdprintf.c: Likewise.
2960 * libio/iovsprintf.c: Likewise.
2961 * libio/iovsscanf.c: Likewise.
2962 * libio/memstream.c: Likewise.
2963 * libio/obprintf.c: Likewise.
2964 * libio/oldfileops.c: Likewise.
2965 * libio/oldiofclose.c: Likewise.
2966 * libio/oldiofdopen.c: Likewise.
2967 * libio/oldiofopen.c: Likewise.
2968 * libio/oldiopopen.c: Likewise.
2969 * libio/oldstdfiles.c: Likewise.
2970 * libio/putc.c: Likewise.
2971 * libio/setbuf.c: Likewise.
2972 * libio/setlinebuf.c: Likewise.
2973 * libio/stdfiles.c: Likewise.
2974 * libio/strops.c: Likewise.
2975 * libio/vasprintf.c: Likewise.
2976 * libio/vscanf.c: Likewise.
2977 * libio/vsnprintf.c: Likewise.
2978 * libio/vswprintf.c: Likewise.
2979 * libio/wfiledoalloc.c: Likewise.
2980 * libio/wfileops.c: Likewise.
2981 * libio/wgenops.c: Likewise.
2982 * libio/wmemstream.c: Likewise.
2983 * libio/wstrops.c: Likewise.
2984 * libio/__fpurge.c: Likewise.
2985 * libio/__fsetlocking.c: Likewise.
2986 * assert/assert.c: Likewise.
2987 * debug/fgets_chk.c: Likewise.
2988 * debug/fgets_u_chk.c: Likewise.
2989 * debug/fread_chk.c: Likewise.
2990 * debug/fread_u_chk.c: Likewise.
2991 * debug/gets_chk.c: Likewise.
2992 * debug/obprintf_chk.c: Likewise.
2993 * debug/vasprintf_chk.c: Likewise.
2994 * debug/vdprintf_chk.c: Likewise.
2995 * debug/vsnprintf_chk.c: Likewise.
2996 * debug/vsprintf_chk.c: Likewise.
2997 * malloc/mtrace.c: Likewise.
2998 * misc/error.c: Likewise.
2999 * misc/syslog.c: Likewise.
3000 * stdio-common/asprintf.c: Likewise.
3001 * stdio-common/fxprintf.c: Likewise.
3002 * stdio-common/getw.c: Likewise.
3003 * stdio-common/isoc99_fscanf.c: Likewise.
3004 * stdio-common/isoc99_scanf.c: Likewise.
3005 * stdio-common/isoc99_vfscanf.c: Likewise.
3006 * stdio-common/isoc99_vscanf.c: Likewise.
3007 * stdio-common/isoc99_vsscanf.c: Likewise.
3008 * stdio-common/printf-prs.c: Likewise.
3009 * stdio-common/printf_fp.c: Likewise.
3010 * stdio-common/printf_fphex.c: Likewise.
3011 * stdio-common/printf_size.c: Likewise.
3012 * stdio-common/putw.c: Likewise.
3013 * stdio-common/scanf.c: Likewise.
3014 * stdio-common/sprintf.c: Likewise.
3015 * stdio-common/tmpfile.c: Likewise.
3016 * stdio-common/vfprintf.c: Likewise.
3017 * stdio-common/vfscanf.c: Likewise.
3018 * stdlib/strfmon_l.c: Likewise.
3019 * sunrpc/openchild.c: Likewise.
3020 * sunrpc/xdr_stdio.c: Likewise.
3021 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3022 * sysdeps/mach/hurd/tmpfile.c: Likewise.
3023
30242012-05-24 Roland McGrath <roland@hack.frob.com>
3025
3026 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3027
3028 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
3029 in the third column, to generate for the shared library an IFUNC
3030 that uses _dl_vdso_vsym.
3031 * Makerules (COMPILE.c, compile-stdin.c): New variables.
3032 * Makeconfig (object-suffixes-noshared): New variable.
3033
3034 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
3035 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
3036 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
3037 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
3038
3039 [BZ #14132]
3040 * include/sys/time.h (__gettimeofday): Remove macro.
3041 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
3042 * time/gettimeofday.c (__gettimeofday): Remove #undef.
3043 Remove INTDEF.
3044 (__gettimeofday): Add libc_hidden_def.
3045 (gettimeofday): Add libc_hidden_weak.
3046 * sysdeps/mach/gettimeofday.c: Likewise.
3047 * sysdeps/posix/gettimeofday.c: Likewise.
3048 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3049 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3050 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
3051 (__gettimeofday_internal): Remove strong_alias.
3052 (__gettimeofday): Add libc_hidden_def.
3053 (gettimeofday): Add libc_hidden_weak.
3054 * sysdeps/unix/syscalls.list (gettimeofday):
3055 Remove __gettimeofday_internal alias.
3056
30572012-05-24 Daniel Jacobowitz <drow@false.org>
3058 H.J. Lu <hongjiu.lu@intel.com>
3059
3060 [BZ #12495]
3061 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
3062 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
3063 (largebin_index_32_big): New.
3064 (largebin_index): Use it for 16-byte alignment.
3065 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
3066 correction with front_misalign.
3067
30682012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3069
3070 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
3071 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3072 Likewise.
3073 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
3074 Likewise.
3075 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3076 Likewise.
3077 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
3078 Likewise.
3079 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
3080 Likewise.
3081 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
3082 Likewise.
3083 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
3084 Likewise.
3085 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3086 Likewise.
3087 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
3088 Likewise.
3089 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
3090 Likewise.
3091 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3092 Likewise.
3093 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
3094 Likewise.
3095
3096 * scripts/data/c++-types-x32-linux-gnu.data: New file.
3097 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
3098
30992012-05-24 Joseph Myers <joseph@codesourcery.com>
3100
3101 [BZ #10846]
3102 [BZ #14036]
3103 * math/libm-test.inc (exp_test): Add test from bug 14036.
3104 (pow_test): Add test from bug 10846.
3105
3106 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
3107 and other flags.
3108 (special_function): Do not include flags in test name.
3109 (parse_args): Likewise.
3110 * sysdeps/i386/fpu/libm-test-ulps: Update.
3111 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3112 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3113 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3115
3116 * math/gen-libm-test.pl (%beautify): Add entries for underflow
3117 exceptions.
3118 * math/libm-test.inc ("Philosophy"): Update comment about
3119 exception testing.
3120 (UNDERFLOW_EXCEPTION): New macro.
3121 (UNDERFLOW_EXCEPTION_OK): Likewise.
3122 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3123 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3124 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3125 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3126 (INVALID_EXCEPTION_OK): Update value.
3127 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3128 (OVERFLOW_EXCEPTION_OK): Likewise.
3129 (IGNORE_ZERO_INF_SIGN): Likewise.
3130 (test_exceptions): Handle underflow exceptions.
3131 (acos_test): Update for underflow exception expectations.
3132 (cexp_test): Likewise.
3133 (clog_test): Likewise.
3134 (clog10_test): Likewise.
3135 (csqrt_test): Likewise.
3136 (ctan_test): Likewise.
3137 (ctanh_test): Likewise.
3138 (exp_test): Likewise.
3139 (exp10_test): Likewise.
3140 (exp2_test): Likewise.
3141 (expm1_test): Likewise.
3142 (fma_test): Likewise.
3143 (j0_test): Likewise.
3144 (jn_test): Likewise.
3145 (nexttoward_test): Likewise.
3146 (pow_test): Likewise.
3147 (scalbn_test): Likewise.
3148 (scalbln_test): Likewise.
3149 (tan_test): Likewise.
3150 (y1_test): Likewise.
3151 * sysdeps/i386/fpu/libm-test-ulps: Update.
3152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3153
31542012-05-23 David S. Miller <davem@davemloft.net>
3155
3156 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3157 (__libc_sigaction): Remove unused local variables.
3158
31592012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3160
3161 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3162
31632012-05-23 Paul Eggert <eggert@cs.ucla.edu>
3164
3165 mktime: avoid signed integer overflow
3166 * time/mktime.c (__mktime_internal): Do not mishandle the case
3167 where diff == INT_MIN.
3168
3169 mktime: simplify computation of average
3170 * time/mktime.c (ranged_convert): Use new time_t_avg function
3171 instead of rolling our own (probably-slower) code.
3172
3173 mktime: do not assume signed right shift propagates sign bit
3174 * time/mktime.c (isdst_differ): New static function.
3175 (__mktime_internal): No need to normalize tm_isdst now.
3176 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3177 tm_isdst values.
3178
3179 mktime: merge another wrapv change from gnulib
3180 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3181 from some compilers.
3182
3183 mktime: remove incorrect attempt at unusual arithmetics
3184 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3185 The code didn't really work on such machines anyway.
3186 (TYPE_MINIMUM): Assume two's complement.
3187 (twos_complement_arithmetic): Verify that long_int and time_t
3188 are two's complement (or unsigned, in the latter case).
3189
3190 mktime: check signed shifts on long_int and time_t, too
3191 * time/mktime.c (SHR): Check that shifts work as desired
3192 on the types long_int and time_t too, as SHR is used on
3193 such types.
3194
3195 mktime: do not assume 'long' is wide enough
3196 * time/mktime.c (verify): Move decl up.
3197 (long_int): New type.
3198 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3199 to remove assumption in the code that 'long' is wide enough to
3200 store year values. This assumption is not true on x32 and on
3201 some non-glibc platforms.
3202
3203 mktime: merge wrapv change from gnulib
3204 * time/mktime.c (WRAPV): New macro.
3205 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3206 (guess_time_tm, __mktime_internal): Do not assume that signed
3207 integer overflow wraps around; modern compilers generate code
3208 where this assumption is no longer valid.
3209
32102012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3211
3212 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3213 Replace "jmp L(pseudo_end)" with "ret".
3214 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3215 Likewise.
3216
32172012-05-23 Andreas Jaeger <aj@suse.de>
3218
3219 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3220 * sysdeps/unix/sysv/linux/poll.c: Remove file.
3221
32222012-05-23 Andreas Jaeger <aj@suse.de>
3223 Maximilian Attems <max@stro.at>
3224
3225 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3226 New macros.
3227
32282012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3229
3230 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3231 code so that pseudo_end is just ret and the stack pointer is
3232 correct also for static library in error case.
3233
32342012-05-23 Joseph Myers <joseph@codesourcery.com>
3235
3236 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
3237 move to syscalls.list.
3238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3242
3243 * manual/install.texi (Running make install): Do not mention Linux
3244 kernel version for which pt_chown is not needed.
3245 (Linux): Do not mention problems with nscd with 2.0 kernels.
3246 * INSTALL: Regenerated.
3247
32482012-05-23 Andreas Jaeger <aj@suse.de>
3249
3250 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3251 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
3252 macro.
3253 * sysdeps/unix/sysv/linux/s390/bits/mman.h
3254 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3255 * sysdeps/unix/sysv/linux/sh/bits/mman.h
3256 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3257 * sysdeps/unix/sysv/linux/i386/bits/mman.h
3258 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3259 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
3260 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3261 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
3262 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3263 * sysdeps/unix/sysv/linux/bits/in.h
3264 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
3265
32662012-05-22 Roland McGrath <roland@hack.frob.com>
3267
3268 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
3269 (PREPARE_VERSION): Just use assert instead, it will be elided
3270 under [NDEBUG] anyway.
3271
32722012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3273
3274 * sysdeps/unix/sysv/linux/Makefile: Include
3275 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
3276 (sysdep_routines): Remove sysctl.
3277 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
3278 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
3279 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
3280 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
3281 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
3282
32832012-05-22 Andreas Jaeger <aj@suse.de>
3284
3285 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
3286 that pseudo_end is just ret and the stack pointer is correct also
3287 for static library in error case.
3288
32892012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3290
3291 [BZ #14122]
3292 * nss/nsswitch.c (defconfig_entries): New variable.
3293 (__nss_database_lookup): Don't leak defconfig entries.
3294 (nss_parse_service_list): Don't leak on error paths.
3295 (free_database_entries): New function.
3296 (free_defconfig): New function.
3297 (free_mem): Move common code to free_database_entries.
3298
32992012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3300
3301 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
3302 Add arch_prctl.
3303 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
3304
3305 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3306 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
3307 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
3308 New macro.
3309 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3310 (INTERNAL_SYSCALL_TYPES): Likewise.
3311 (LOAD_ARGS_TYPES_[1-6]): Likewise.
3312 (LOAD_REGS_TYPES_[1-6]): Likewise.
3313 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
3314 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
3315
33162012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3317
3318 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
3319 copysignl for GLIBC_2_0.
3320 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
3321 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
3322 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
3323 logbl for GLIBC_2_0.
3324 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3325 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3326
33272012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3328
3329 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
3330 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3331
3332 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3333 Use "neg %eax".
3334
3335 * time/mktime.c: Update copyright years.
3336
33372012-05-22 Paul Eggert <eggert@cs.ucla.edu>
3338
3339 mktime: merge comment-quoting-style change from gnulib
3340 * time/mktime.c: Quote 'like this' in comments.
3341 The GNU coding standards suggest that we no longer quote `like this',
3342 as "`" and "'" are typically rendered asymmetrically nowadays.
3343 The typical gnulib style is to quote 'like this' when quoting
3344 code, and "like this" when quoting English.
3345
3346 * time/mktime.c (compile-command): Add "-I.".
3347
3348 mktime: merge mktime-internal.h change from gnulib
3349 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
3350
3351 mktime: merge time_r change from gnulib
3352 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
3353
3354 mktime: merge DEBUG change from gnulib
3355 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
3356 case system <time.h> has a #define.
3357
3358 mktime: merge <sys/types.h> change from gnulib
3359 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
3360 since <time.t> is now guaranteed to define time_t.
3361
3362 mktime: merge HAVE_CONFIG_H change from gnulib
3363 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
3364
33652012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3366
3367 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3368 Use "neg %eax".
3369
3370 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
3371 __rlim_t cast.
3372 (struct rusage): Use anonymous union to pad each field to
3373 __syscall_slong_t.
3374
33752012-05-21 David S. Miller <davem@davemloft.net>
3376
3377 * Makefules (o-iterator): Remove .s cases.
3378 (compile-command.s): Delete.
3379 (COMPILE.s): Delete.
3380 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
3381
33822012-05-21 Joseph Myers <joseph@codesourcery.com>
3383
3384 * configure.in (libc_cv_predef_stack_protector): Only consider
3385 "foobar" and "__stack_chk_fail" lines in libc_undefs.
3386 * configure: Regenerated.
3387
33882012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3389
3390 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3391 New macro. Use R*LP on int and pointer.
3392 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
3393 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
3394 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
3395 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
3396
3397 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
3398 [__WORDSIZE_TIME64_COMPAT32] instead of
3399 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
3400 (struct utmp): Likewise.
3401 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
3402 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
3403 Renamed to ...
3404 (__WORDSIZE_TIME64_COMPAT32): This.
3405 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3406 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3407 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
3408 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
3409 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
3410 (__WORDSIZE_TIME64_COMPAT32): New macro.
3411
34122012-05-21 Andreas Jaeger <aj@suse.de>
3413
3414 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
3415 only if [SHARED]. Add prototype for __wcschr_ia32.
3416
34172012-05-21 Roland McGrath <roland@hack.frob.com>
3418
3419 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
3420 of %rbp unmolested in the jmp_buf while mangling the low bits.
3421 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
3422 unmolested high bits of %rbp while demangling the low bits.
3423 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3424
34252012-05-21 Andreas Jaeger <aj@suse.de>
3426
3427 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
3428 * sunrpc/svc_simple.c: Use it for registerrpc.
3429 * sunrpc/xcrypt.c: Use it for passwd2des.
3430
3431 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
3432
34332012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3434
3435 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
3436 Don't define if [__SYSCALL_WORDSIZE != 32].
3437 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
3438 New macro.
3439
34402012-05-21 Bruno Haible <bruno@clisp.org>
3441 Andreas Jaeger <aj@suse.de>
3442
3443 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
3444 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
3445 inptr and inend for must_buffer_ch.
3446 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
3447 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
3448 * stdio-common/Makefile (tests): Remove bug15.
3449 (bug15-ENV): Remove macro.
3450 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
3451 anymore.
3452
34532012-05-19 Andreas Jaeger <aj@suse.de>
3454 Roland McGrath <roland@hack.frob.com>
3455
3456 * manual/contrib.texi: Completely rewritten. It contains now an
3457 alphabetical list of contributors and their contributions.
3458
34592012-05-21 Richard Henderson <rth@twiddle.net>
3460
3461 * misc/getauxval.c (__getauxval): Use unsigned long int.
3462 * misc/sys/auxv.h: Include <sys/cdefs.h>.
3463 (getauxval): Use unsigned long int.
3464
34652012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3466
3467 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3468
34692012-05-21 Roland McGrath <roland@hack.frob.com>
3470
3471 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
3472 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
3473 __alignof__ (long double).
3474
34752012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3476
3477 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3478
34792012-05-20 Richard Henderson <rth@twiddle.net>
3480
3481 * misc/getauxval.c: New file.
3482 * misc/sys/auxv.h: New file.
3483 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
3484 (routines): Add getauxval.
3485 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
3486 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
3487 * elf/dl-sysdep.c (_dl_auxv): Remove.
3488 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
3489 * elf/dl-support.c (_dl_auxv): New variable.
3490 (_dl_aux_init): Initialize it.
3491 * manual/startup.texi (Auxiliary Vector): New node.
3492 * sysdeps/generic/bits/hwcap.h: New file.
3493 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
3494 * sysdeps/powerpc/sysdep.h: ... here. Include it.
3495 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
3496 * sysdeps/sparc/sysdep.h: ... here. Include it.
3497 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
3498 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
3499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3500 Update.
3501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
3502 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
3503 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
3504 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
3505 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3506 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3507 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
3508 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
3509
35102012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3511
3512 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3513
35142012-05-19 David S. Miller <davem@davemloft.net>
3515
3516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3517
35182012-05-19 Joseph Myers <joseph@codesourcery.com>
3519
3520 [BZ #14123]
3521 * math/s_ccosh.c: Include <float.h>
3522 (__ccosh): Avoid internal overflow calculating sinh and cosh
3523 values before multiplying by sin and cos values.
3524 * math/s_ccoshf.c: Likewise.
3525 * math/s_ccoshl.c: Likewise.
3526 * math/s_csin.c: Likewise.
3527 * math/s_csinf.c: Likewise.
3528 * math/s_csinl.c: Likewise.
3529 * math/s_csinh.c: Likewise.
3530 * math/s_csinhf.c: Likewise.
3531 * math/s_csinhl.c: Likewise.
3532 * math/libm-test.inc (ccos_test): Add more tests.
3533 (ccosh_test): Likewise.
3534 (csin_test): Likewise.
3535 (csinh_test): Likewise.
3536 * sysdeps/i386/fpu/libm-test-ulps: Update.
3537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3538
35392012-05-19 H.J. Lu <hongjiu.lu@intel.com>
3540
3541 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
3542 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3543
3544 * sysdeps/x86_64/x32/_itoa.h: Add comment.
3545
35462012-05-19 Joseph Myers <joseph@codesourcery.com>
3547
3548 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
3549 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
3550 * sysdeps/powerpc/soft-fp/Versions: Likewise.
3551 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
3552 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
3553 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
3554 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
3555 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
3556 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
3557 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
3558 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
3559 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
3560 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
3561 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
3562 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
3563 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
3564 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
3565 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
3566 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
3567 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
3568 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
3569 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
3570 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
3571 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
3572 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
3573 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
3574 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
3575 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
3576 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
3577 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
3578 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
3579
35802012-05-18 Andreas Jaeger <aj@suse.de>
3581
3582 * csu/.gitignore: Delete.
3583
35842012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3585
3586 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
3587 (timex): Use __syscall_slong_t.
3588
35892012-05-18 Andreas Jaeger <aj@suse.de>
3590 Carlos O'Donell <carlos_odonell@mentor.com>
3591
3592 * manual/install.texi (Configuring and compiling): Update
3593 description about files modified in the source directory.
3594 * INSTALL: Regenerated.
3595
35962012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3597
3598 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
3599 value. Use "or" to set return value to -1.
3600 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
3601 negate return value.
3602
36032012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3604
3605 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
3606 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
3607 failure if the compiler has Graphite support disabled.
3608 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
3609 Likewise.
3610 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
3611 CFLAGS-memmove.c): Likewise.
3612 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
3613 Likewise.
3614
36152012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3616
3617 * sysdeps/x86_64/x32/_itoa.h: New file.
3618
3619 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
3620 getdents system call only if kernel and user dirents have the
3621 same d_ino and d_off.
3622
3623 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3624 LLONG_MAX != LONG_MAX.
3625 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3626 (_fitoa_word): Likewise.
3627
3628 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
3629 years.
3630 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
3631 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
3632 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
3633
3634 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
3635 include <bits/wordsize.h>. Check __x86_64__ instead of
3636 __WORDSIZE.
3637 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
3638 if __x86_64__ is defined. Use anonymous union on fpstate.
3639
3640 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
3641 anonymous union.
3642
36432012-05-18 Andreas Schwab <schwab@linux-m68k.org>
3644
3645 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3646 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
3647 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
3648 Refer to _rtld_local_ro instead of _rtld_global_ro.
3649 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
3650 Likewise.
3651 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
3652 Likewise.
3653 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
3654 Likewise.
3655 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
3656 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
3657 of _rtld_global, and rtld_progname instead of _dl_argv[0].
3658
3659 * sysdeps/powerpc/powerpc32/dl-machine.c
3660 (__elf_machine_runtime_setup) [PROF]: Don't reference
3661 _dl_prof_resolve.
3662
36632012-05-18 Andreas Jaeger <aj@suse.de>
3664
3665 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
3666 function only available for GCCs before 3.4 since GCC 3.4
3667 introduced a builtin.
3668 (lrint): Likewise.
3669 (llrintf): Likewise.
3670 (llrint): Likewise.
3671 (fmaxf): Likewise.
3672 (fmax): Likewise.
3673 (fminf): Likewise.
3674 (fmin): Likewise.
3675 (rint): Likewise.
3676 (rintf): Likewise.
3677 (nearbyint): Likewise.
3678 (nearbyintf): Likewise.
3679 (ceil): Likewise.
3680 (ceilf): Likewise.
3681 (floor): Likewise.
3682 (floorf): Likewise.
3683
36842012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3685
3686 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
3687 on both fields and cast pointer to __syscall_ulong_t.
3688
3689 * bits/types.h (__fsword_t): New type.
3690 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
3691 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
3692 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3693 (__FSWORD_T_TYPE): Likewise.
3694 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3695 (__FSWORD_T_TYPE): Likewise.
3696 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3697 (__FSWORD_T_TYPE): Likewise.
3698 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
3699 (__FSWORD_T_TYPE): Likewise.
3700 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
3701 __SWORD_TYPE with __fsword_t.
3702 (statfs64): Likewise.
3703
37042012-05-17 David S. Miller <davem@davemloft.net>
3705
3706 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
3707
37082012-05-17 Andreas Jaeger <aj@suse.de>
3709
3710 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
3711 warning.
3712
37132012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3714
3715 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
3716
37172012-05-17 Andreas Jaeger <aj@suse.de>
3718
3719 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
3720 when it is used.
3721
37222012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3723
3724 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
3725
37262012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3727
3728 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
3729 * sysdeps/x86_64/tst-mallocalign1.c: New file.
3730
37312012-05-17 Andreas Jaeger <aj@suse.de>
3732 Carlos O'Donell <carlos_odonell@mentor.com>
3733
3734 [BZ #14059]
3735 * sysdeps/x86_64/multiarch/init-arch.h
3736 (bit_YMM_Usable): Rename to...
3737 (bit_AVX_Usable): ... this.
3738 (bit_FMA4_Usable): New macro.
3739 (bit_XMM_state): New macro.
3740 (bit_YMM_state): New macro.
3741 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
3742 [__ASSEMBLER__] (index_AVX_Usable): ... this.
3743 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
3744 (CPUID_OSXSAVE): New macro.
3745 (CPUID_AVX): New macro.
3746 (CPUID_FMA4): New macro.
3747 (index_YMM_Usable): Rename to...
3748 (index_AVX_Usable): ... this.
3749 (HAS_AVX): Use HAS_ARCH_FEATURE.
3750 (HAS_FMA4): Likewise.
3751 (HAS_YMM_USABLE): Remove.
3752 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3753 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
3754 are present.
3755 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
3756 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
3757 * sysdeps/x86_64/multiarch/Makefile: Likewise.
3758 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
3759 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
3760
37612012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3762
3763 * math/libm-test.c: Support platforms without multiple rounding modes.
3764 * math/bug-nextafter.c: Support platforms without FP exceptions.
3765 * math/bug-nexttoward.c: Likewise.
3766 * math/test-fenv.c: Likewise.
3767 * math/test-misc.c: Likewise.
3768 * stdlib/bug-getcontext.c: Likewise.
3769
37702012-05-17 Andreas Jaeger <aj@suse.de>
3771
3772 * manual/examples/search.c (critter_cmp): Change signature to
3773 avoid warnings.
3774 * manual/string.texi (Collation Functions): Likewise.
3775
37762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3777
3778 * bits/types.h: Fold copyright years.
3779 * bits/typesizes.h: Likewise.
3780 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
3781 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
3782 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
3783 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
3784 * time/time.h: Likewise.
3785
37862012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3787
3788 [BZ #208]
3789 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
3790 in instead of returning them. Return void.
3791 (__libc_mallinfo): Accumulate over all arenas.
3792 (__malloc_stats): Adjust for change in int_mallinfo interface.
3793
37942012-05-16 Roland McGrath <roland@hack.frob.com>
3795
3796 [BZ #10375]
3797 * configure.in (NM): Add AC_CHECK_TOOL for it.
3798 (libc_extra_cflags): New substituted variable.
3799 Check for -fstack-protector being used implicitly.
3800 * configure: Regenerated.
3801 * config.make.in (config-extra-cflags): New variable,
3802 gets @libc_extra_cflags@.
3803 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
3804
3805 [BZ #10375]
3806 * configure.in: Check for _FORTIFY_SOURCE being predefined.
3807 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
3808 * configure: Regenerated.
3809 * config.make.in (CPPUNDEFS): New substituted variable.
3810 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
3811 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
3812 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
3813
38142012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3815
3816 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
3817 (mq_attr): Use __syscall_slong_t.
3818
38192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3820
3821 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
3822 Check __x86_64__ instead of __WORDSIZE.
3823 (_STAT_VER_LINUX): Likewise.
3824 (stat): Check __x86_64__ instead of __WORDSIZE. Use
3825 __syscall_ulong_t and __syscall_slong_t.
3826 (stat64): Likewise.
3827
38282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3829
3830 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
3831
38322012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3833
3834 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
3835
38362012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3837
3838 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
3839 __syscall_ulong_t.
3840
3841 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
3842 include <bits/wordsize.h>. Check __x86_64__ instead of
3843 __WORDSIZE.
3844 (greg_t): Use "__extension__ long long int" if __x86_64__ is
3845 defined.
3846 (mcontext_t): Replace "unsigned long" with "unsigned long long".
3847
3848 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
3849 include <bits/wordsize.h>. Check __x86_64__ instead of
3850 __WORDSIZE.
3851 (user_regs_struct): Use "__extension__ unsigned long long"
3852 instead of "unsigned long" if __x86_64__ is defined.
3853 (user): Likewise. Pad after pointer field if __ILP32__ is
3854 defined.
3855
38562012-05-16 Joseph Myers <joseph@codesourcery.com>
3857
3858 * configure.in (makeinfo): Require version 4.5 or later. Allow
3859 versions 5 to 9.
3860 * configure: Regenerated.
3861 * manual/install.texi (texinfo): Increase version requirement to
3862 4.5 or later.
3863 * INSTALL: Regenerated.
3864
3865 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
3866
38672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3868
3869 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
3870
3871 * sysdeps/x86_64/x32/ffs.c: New file.
3872
3873 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
3874 __syscall_ulong_t.
3875 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
3876 defined. Use __syscall_ulong_t.
3877 (shminfo): Use __syscall_ulong_t.
3878 (shm_info): Likewise.
3879
3880 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
3881 __syscall_ulong_t.
3882
3883 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
3884 <bits/wordsize.h>.
3885 (msgqnum_t): Use __syscall_ulong_t.
3886 (msglen_t): Likewise.
3887 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
3888 __syscall_ulong_t.
3889
3890 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
3891 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3892
3893 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
3894
3895 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
3896 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
3897
3898 * sysvipc/sys/msg.h (msgbuf): Replace long int with
3899 __syscall_slong_t.
3900
3901 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
3902 include <bits/wordsize.h>. Check __x86_64__ instead of
3903 __WORDSIZE.
3904
3905 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
3906 "unsigned long long int" if __x86_64__ is defined.
3907 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
3908
3909 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
3910 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3911 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
3912
3913 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
3914 <stdint.h>.
3915 (GET_PC): Cast to uintptr_t first.
3916 (GET_FRAME): Likewise.
3917 (GET_STACK): Likewise.
3918
3919 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
3920 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
3921 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
3922 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
3923 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
3924 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
3925 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
3926 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
3927 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
3928 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
3929 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
3930 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
3931 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3932 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
3933 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
3934 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
3935 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
3936 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
3937 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
3938 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
3939 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
3940 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
3941 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
3942 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
3943 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
3944 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
3945 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
3946 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
3947 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
3948
39492012-05-16 Andreas Schwab <schwab@linux-m68k.org>
3950
3951 * Makerules (+depfiles): Also collect depfiles from .oS in
3952 $(extra-objs).
3953 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
3954 .oS, $(libnldbl-routines)).
3955
3956 * Makerules (native-compile-mkdep-flags): Define.
3957 * sunrpc/Makefile (extra-objs): Add $(addprefix
3958 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
3959 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
3960 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
3961 calling $(make-target-directory).
3962
39632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3964
3965 * bits/types.h (__snseconds_t): Removed.
3966 * time/time.h (struct timespec): Replace __snseconds_t with
3967 __syscall_slong_t.
3968 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
3969 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
3970 Likewise.
3971 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3972 (__SNSECONDS_T_TYPE): Likewise.
3973 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3974 (__SNSECONDS_T_TYPE): Likewise.
3975 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3976 (__SNSECONDS_T_TYPE): Likewise.
3977
39782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3979
3980 * sysdeps/mach/hurd/bits/typesizes.h
3981 (__SYSCALL_SLONG_TYPE): New macro.
3982 (__SYSCALL_ULONG_TYPE): Likewise.
3983
39842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3985
3986 * bits/types.h (__syscall_slong_t): New type.
3987 (__syscall_ulong_t): Likewise.
3988
3989 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
3990 (__SYSCALL_ULONG_TYPE): Likewise.
3991 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3992 (__SYSCALL_SLONG_TYPE): Likewise.
3993 (__SYSCALL_ULONG_TYPE): Likewise.
3994 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3995 (__SYSCALL_SLONG_TYPE): Likewise.
3996 (__SYSCALL_ULONG_TYPE): Likewise.
3997 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3998 (__SYSCALL_SLONG_TYPE): Likewise.
3999 (__SYSCALL_ULONG_TYPE): Likewise.
4000
40012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4002
4003 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
4004 Add sigaltstack-offsets.sym.
4005 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
4006 <sigaltstack-offsets.h>.
4007 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
4008 longjmp_msg pointer.
4009 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
4010 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
4011 signal stack.
4012 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
4013
40142012-05-15 Joseph Myers <joseph@codesourcery.com>
4015
4016 * elf/stackguard-macros.h: Remove file.
4017 * sysdeps/generic/stackguard-macros.h: New file.
4018 * sysdeps/i386/stackguard-macros.h: Likewise.
4019 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4020 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4021 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4022 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4023 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4024 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4025 * sysdeps/x86_64/stackguard-macros.h: Likewise.
4026 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
4027 <elf/stackguard-macros.h>.
4028
4029 [BZ #14109]
4030 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
4031 __aligned__ in attribute.
4032 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
4033 (gregset_t): Likewise.
4034
40352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4036
4037 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
4038 * sysdeps/x86_64/64/Implies-after: Here. New file.
4039 * sysdeps/x86_64/x32/Implies-after: New file.
4040
40412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4042
4043 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
4044 and access return value for _dl_profile_fixup. Use R10_LP to
4045 load frame size.
4046
40472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4048
4049 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
4050
40512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4052
4053 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
4054 * sysdeps/x86_64/x32/sysdep.h: New file.
4055
40562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4057
4058 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
4059 * sysdeps/x86_64/setjmp.S: Likewise.
4060
40612012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4062
4063 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
4064 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
4065 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
4066 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
4067 remove unused global constant.
4068
40692012-05-15 Chris Metcalf <cmetcalf@tilera.com>
4070
4071 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
4072 include of <not-cancel.h>.
4073
40742012-05-15 Roland McGrath <roland@hack.frob.com>
4075
4076 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
4077
40782012-05-15 Jeff Law <law@redhat.com>
4079 Andreas Jaeger <aj@suse.de>
4080
4081 [BZ #13594]
4082 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
4083 out from...
4084 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
4085 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
4086 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
4087 code changing __hst_map_handle.map.
4088
40892012-05-15 Roland McGrath <roland@hack.frob.com>
4090
4091 * configure.in (sysnames): Look for Implies-before and Implies-after
4092 files.
4093 * configure: Regenerated.
4094
40952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4096
4097 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
4098 8-byte data alignment with LP_SIZE alignment.
4099
41002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4101
4102 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
4103 into R10_LP.
4104
41052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4106
4107 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
4108
41092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4110
4111 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
4112 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
4113 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
4114 Likewise.
4115 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4116
41172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4118
4119 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
4120 (stackinfo_sub_sp): Likewise.
4121
41222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4123
4124 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
4125 RAX_LP.
4126
41272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4128
4129 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
4130 into R*_LP.
4131
41322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4133
4134 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
4135 sizes into R*_LP.
4136
41372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4138
4139 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4140
41412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4142
4143 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4144 into R11_LP and load __x86_64_shared_cache_size_half into
4145 R8_LP.
4146
41472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4148
4149 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4150 R8_LP.
4151
41522012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4153
4154 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4155 logb for POWER7.
4156 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4157 logbf for POWER7.
4158 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4159 logbl for POWER7.
4160 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4161 powerpc32/power7/fpu/s_logb.c via #include.
4162 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4163 powerpc32/power7/fpu/s_logbf.c via #include.
4164 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4165 powerpc32/power7/fpu/s_logbl.c via #include.
4166
41672012-05-15 Joseph Myers <joseph@codesourcery.com>
4168
4169 * README.libm: Remove file.
4170
41712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4172
4173 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4174 count for x32. Use R*_LP and omit operand-size suffix.
4175
41762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4177
4178 * shlib-versions: Move x86_64-.*-linux.* entries to ...
4179 * sysdeps/x86_64/64/shlib-versions: Here. New file.
4180 * sysdeps/x86_64/x32/shlib-versions: New file.
4181
41822012-05-14 Roland McGrath <roland@hack.frob.com>
4183
4184 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4185 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4186 Use _dl_fatal_printf instead.
4187
41882012-05-14 Joseph Myers <joseph@codesourcery.com>
4189
4190 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4191 set if not set by the user. Do not allow for being unset.
4192 * sysdeps/unix/sysv/linux/configure: Regenerated.
4193
41942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4195
4196 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4197 the `q' suffix from lea and replace .quad with ASM_ADDR.
4198
41992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4200
4201 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4202 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
4203 instead of $17.
4204 (PTR_DEMANGLE): Likewise.
4205
42062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4207
4208 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4209 (LP_OP): Likewise.
4210 (ASM_ADDR): Likewise.
4211 (RAX_LP): Likewise.
4212 (RBP_LP): Likewise.
4213 (RBX_LP): Likewise.
4214 (RCX_LP): Likewise.
4215 (RDI_LP): Likewise.
4216 (RSI_LP): Likewise.
4217 (RSP_LP): Likewise.
4218 (R8_LP): Likewise.
4219 (R9_LP): Likewise.
4220 (R10_LP): Likewise.
4221 (R10_LP): Likewise.
4222 (R11_LP): Likewise.
4223 (R12_LP): Likewise.
4224 (R13_LP): Likewise.
4225 (R14_LP): Likewise.
4226 (R15_LP): Likewise.
4227
42282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4229
4230 * sysdeps/x86_64/x32/dl-machine.h: New file.
4231
42322012-05-14 Andreas Jaeger <aj@suse.de>
4233
4234 * manual/Makefile (subdir): Remove export of subdir.
4235 (all): Remove target.
4236 (.PHONY): Remove all from list.
4237 (mkinstalldirs): Remove.
4238 (.PHONY): Remove installdirs from list.
4239 ($(inst_infodir)/libc.info): Use make-target-directory.
4240 (installdirs): Remove.
4241 (subdir_%): Remove.
4242 (glibc-targets): Remove.
4243 (lib): Remove.
4244 (stubs): Remove.
4245 ($(objpfx)stubs ../po/manual.pot): Remove.
4246 ($(objpfx)stamp%): Remove.
4247 (make-target-directory): Remove.
4248 (subdir_install): Remove.
4249 (routines): Remove.
4250 (aux): Remove.
4251 (sources): Remove.
4252 (objects): Remove.
4253 (headers): Remove.
4254
4255 [BZ #13750]
4256 * manual/.gitignore: Remove, it's not needed anymore.
4257 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
4258 all files in it.
4259 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
4260 directory.
4261 (texis): Renamed to $(objpfx)texis.
4262 (texis-path): New, contains path to generated files.
4263 (chapters.%): Use texis-path for complete path, add extra argument
4264 libc-texinfo.sh.
4265 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
4266 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
4267 (summary,texi, stamp-summary): Use complete path of
4268 files. Generate files in build dir.
4269 (dir-add.texi): Build in build dir.
4270 (libm-err.texi,stamp-libm-err): Likewise.
4271 (version.texi, stamp-version): Likewise.
4272 (.%c.texi): Likewise.
4273 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
4274 (mostlyclean): Remove target.
4275 (realclean): Remove target.
4276 (generated): Add new variable with contents from mostlyclean and
4277 realclean, remove entries duplicated in common-mostlyclean, add
4278 stamp-libm-err and stamp-version.
4279 (generated-dirs): Add libc directory.
4280 ($(inst_infodir)/libc.info): Install files from build dir.
4281
4282 * manual/install.texi (Configuring and compiling): Adjust since
4283 the info files are not part of the tar ball anymore.
4284
42852012-05-14 Andreas Jaeger <aj@suse.de>
4286
4287 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
4288 variable.
4289
42902012-05-14 Joseph Myers <joseph@codesourcery.com>
4291
4292 [BZ #13717]
4293 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4294 to 2.2.0 where earlier.
4295 * sysdeps/unix/sysv/linux/configure: Regenerated.
4296 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
4297 Remove conditional code.
4298 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
4299 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
4300 Remove conditional code.
4301 [!__NR_lchown]: Likewise.
4302 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4303 [__NR_lchown]: Likewise.
4304 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
4305 comment referencing __ASSUME_LCHOWN_SYSCALL.
4306 * sysdeps/unix/sysv/linux/i386/sigaction.c
4307 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4308 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4309 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
4310 Remove conditional code.
4311 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
4312 (__protocol_available): Remove #if 0 code.
4313 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
4314 conditional code.
4315 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
4316 * sysdeps/unix/sysv/linux/kernel-features.h
4317 (__ASSUME_GETCWD_SYSCALL): Don't define.
4318 (__ASSUME_REALTIME_SIGNALS): Likewise.
4319 (__ASSUME_PREAD_SYSCALL): Likewise.
4320 (__ASSUME_PWRITE_SYSCALL): Likewise.
4321 (__ASSUME_POLL_SYSCALL): Likewise.
4322 (__ASSUME_LCHOWN_SYSCALL): Likewise.
4323 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
4324 non-SPARC.
4325 (__ASSUME_SIOCGIFNAME): Don't define.
4326 (__ASSUME_MSG_NOSIGNAL): Likewise.
4327 (__ASSUME_SENDFILE): Define unconditionally.
4328 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
4329 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
4330 conditional code.
4331 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
4332 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
4333 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4334 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4335 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
4336 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4337 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
4339 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4340 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4342 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4343 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
4345 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4346 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4348 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4349 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
4351 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4352 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4354 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4355 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
4357 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4358 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4360 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4361 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4362 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
4363 Remove conditional code.
4364 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4365 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4366 Remove conditional code.
4367 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4368 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
4369 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
4370 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4371 Remove conditional code.
4372 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4373 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
4374 Remove conditional code.
4375 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4376 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
4377 Remove conditional code.
4378 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4379 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4380 Remove conditional code.
4381 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4382 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4383 Remove conditional code.
4384 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4385 * sysdeps/unix/sysv/linux/sh/pwrite64.c
4386 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4387 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4388 * sysdeps/unix/sysv/linux/sigaction.c
4389 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4390 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4391 * sysdeps/unix/sysv/linux/sigpending.c
4392 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4393 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4394 * sysdeps/unix/sysv/linux/sigprocmask.c
4395 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4396 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4397 * sysdeps/unix/sysv/linux/sigsuspend.c
4398 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4399 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4400 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4401 (__libc_missing_rt_sigs): Remove.
4402 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
4403 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
4404 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
4405 Remove conditional code.
4406 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
4407 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
4408 return 1.
4409 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
4410 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
4411 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
4412 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
4413
44142012-05-14 Andreas Jaeger <aj@suse.de>
4415
4416 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
4417 it's not used in glibc.
4418 (__coshm1): Likewise.
4419 (__acosh1p): Likewise.
4420 (__sgn): Likewise.
4421
4422 * manual/string.texi (Copying and Concatenation): Add missing
4423 variable in concat example.
4424 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4425
44262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4427
4428 [BZ #14103]
4429 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
4430 __builtin_clzl with __builtin_clzll.
4431
44322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4433
4434 [BZ #14104]
4435 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
4436 libc_freeres_ptr.
4437
44382012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4439
4440 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
4441 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
4442 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
4443 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
4444
44452012-05-14 Mike Frysinger <vapier@gentoo.org>
4446
4447 * NEWS: Update ia64 info.
4448
44492012-05-12 Andreas Schwab <schwab@linux-m68k.org>
4450
4451 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
4452 used as bcopy.
4453
44542012-05-12 Thomas Schwinge <thomas@codesourcery.com>
4455
4456 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
4457 * sysdeps/unix/syscalls.list (dup3): Likewise.
4458 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
4459 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
4460
44612012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4462
4463 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
4464 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
4465
44662012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4467
4468 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
4469 thread pointer.
4470 (TLS_IE): Use mov/add instead of movq/addq to load thread
4471 pointer.
4472 (TLS_GD_PREFIX): New.
4473 (TLS_GD): Use it.
4474
44752012-05-11 David S. Miller <davem@davemloft.net>
4476
4477 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
4478 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
4479 (_FPU_SETCW): Likewise.
4480
44812012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4482
4483 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
4484 is 32-byte aligned.
4485
44862012-05-11 Andreas Schwab <schwab@linux-m68k.org>
4487
4488 [BZ #11837]
4489 * iconvdata/gb18030.c: Update tables.
4490 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
4491 characters specially.
4492 (BODY for TO_LOOP): Add encoding of missing ranges.
4493
44942012-05-11 Thomas Schwinge <thomas@codesourcery.com>
4495
4496 [BZ #13673]
4497 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
4498 * sysdeps/mach/hurd/dup3.c: Likewise.
4499 * sysdeps/mach/hurd/readlinkat.c: Likewise.
4500 * sysdeps/powerpc/memmove.c:: Likewise.
4501
45022012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4503
4504 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
4505 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
4506
45072012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4508
4509 * elf/elf.h (R_X86_64_RELATIVE64): New.
4510 (R_X86_64_NUM): Updated.
4511 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4512 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
4513 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
4514 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
4515 tst-quad1pie tst-quad2pie
4516 (modules-names): Add tst-quadmod1 tst-quadmod2.
4517 ($(objpfx)tst-quad1): New dependency.
4518 ($(objpfx)tst-quad2): Likewise.
4519 ($(objpfx)tst-quad1pie): Likewise.
4520 ($(objpfx)tst-quad2pie): Likewise.
4521 * sysdeps/x86_64/tst-quad1.c: New file.
4522 * sysdeps/x86_64/tst-quad1pie.c: New file.
4523 * sysdeps/x86_64/tst-quad2.c: Likewise.
4524 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
4525 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
4526 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
4527 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
4528 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
4529
45302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4531
4532 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
4533 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
4534 * streams/stropts.h (t_scalar_t): Define type.
4535
4536 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
4537 (_PATH_PRESERVE): Set to "/var/lib".
4538 (_PATH_RWHODIR): Set to "/var/spool/rwho".
4539
4540 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
4541 instead of int.
4542
4543 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
4544 if __dir_mkfile succeeded.
4545
4546 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
4547 checking for _hurd_dtablesize. Unlock it right after having
4548 finished _hurd_dtable allocation.
4549
45502012-05-10 Thomas Schwinge <thomas@schwinge.name>
4551
4552 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
4553 * sysdeps/mach/hurd/configure: Regenerated.
4554 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
4555 special-casing to...
4556 * sysdeps/gnu/configure.in: ... this new file.
4557 * sysdeps/unix/sysv/linux/configure: Regenerated.
4558 * sysdeps/gnu/configure: New generated file.
4559
4560 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
4561 for Linux: use nsec instead of usec, as well as:
4562 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
4563 members of type struct timespec.
4564 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
4565 New macros.
4566 (struct stat64): Likewise.
4567 (_STATBUF_ST_NSEC): New macro.
4568 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
4569
4570 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4571 __strtoul_internal rather than strtoul.
4572
45732012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4574
4575 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
4576 and reject them.
4577
45782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4579
4580 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
4581 which preserves existing values.
4582 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
4583
45842012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4585
4586 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
4587 TIMEOUT values. Return EINVAL for NFDS values either negative or
4588 greater than FD_SETSIZE.
4589
45902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4591
4592 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
4593 allocated, call __vm_protect to finish enabling the existing space, and
4594 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
4595 allocate the remainder.
4596
45972012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4598
4599 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
4600 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
4601
46022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4603
4604 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
4605 sysdeps/mach/hurd/readlink.c.
4606
4607 * posix/tst-sysconf.c (posix_options): Only use
4608 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
4609 _POSIX_SYNCHRONIZED_IO when they are defined
4610 * sysdeps/mach/hurd/bits/posix_opt.h:
4611 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
4612 (_XOPEN_REALTIME): Undefine macro.
4613 (_XOPEN_REALTIME_THREADS): Undefine macro.
4614 (_XOPEN_SHM): Undefine macro.
4615 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
4616 macro to -1.
4617 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
4618 macro to -1.
4619 (_POSIX_ASYNC_IO): Undefine macro.
4620 (_POSIX_PRIORITIZED_IO): Undefine macro.
4621 (_POSIX_SPIN_LOCKS): Define macro to -1.
4622
4623 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
4624 SA_NODEFER, SA_RESETHAND.
4625 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
4626 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
4627 F_DUPFD_CLOEXEC.
4628
46292012-05-10 Thomas Schwinge <thomas@schwinge.name>
4630
4631 * elf/Makefile (pldd-modules): Define unconditionally.
4632
46332012-05-10 Thomas Schwinge <thomas@schwinge.name>
4634
4635 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
4636
46372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4638
4639 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
4640 Return ENOENT when name is empty.
4641 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
4642
46432012-05-10 Thomas Schwinge <thomas@schwinge.name>
4644
4645 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
4646
4647 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
4648
46492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4650
4651 Fix mlock in all cases except non-readable pages.
4652 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
4653 instead of VM_PROT_ALL as parameter to __vm_wire function.
4654
4655 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
4656 (__mkdir): When path is `/', just fail with EEXIST.
4657 * sysdeps/mach/hurd/mkdirat.c: Likewise.
4658
46592012-05-10 Thomas Schwinge <thomas@schwinge.name>
4660
4661 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
4662 <sys/uio.h> (for writev).
4663 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
4664 and <sys/param.h> (for MIN).
4665
46662012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4667
4668 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
4669 REQUESTED_TIME. Properly set the remaining time and return EINTR
4670 if interrupted.
4671
46722012-05-10 Thomas Schwinge <thomas@schwinge.name>
4673
4674 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
4675 Depend on against $(link-rpcuserlibs).
4676
46772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4678
4679 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
4680 (__libc_stack_end): Do not use attribute_relro.
4681 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
4682 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
4683 to libthread-provided value.
4684 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
4685 attribute_relro.
4686
46872012-05-10 Thomas Schwinge <thomas@schwinge.name>
4688
4689 [BZ #3748]
4690 * bits/libc-lock.h (__libc_once_get): New macro.
4691 * sysdeps/mach/bits/libc-lock.h: Likewise.
4692 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
4693 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
4694 instead of using implementation details.
4695
4696 * libio/fileops.c: Unconditionally include <kernel-features.h>.
4697 * libio/freopen.c: Likewise.
4698 * libio/freopen64.c: Likewise.
4699 * misc/syslog.c: Likewise.
4700 * nscd/connections.c: Likewise.
4701 * nscd/netgroupcache.c: Likewise.
4702 * sysdeps/posix/getcwd.c: Likewise.
4703
47042012-05-10 Roland McGrath <roland@hack.frob.com>
4705
4706 * math/w_ilogbf.c: Add #include <limits.h>.
4707
47082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4709
4710 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
4711 path instead of returning without unlocking.
4712
4713 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
4714 immediate-write ioctls.
4715 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
4716
47172012-05-10 Thomas Schwinge <thomas@schwinge.name>
4718
4719 * sysdeps/mach/hurd/i386/init-first.c (init): Use
4720 __builtin_frame_address instead of making assumptions about the
4721 location of the return address relative to DATA. Force early load of
4722 the return address.
4723 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
4724 __builtin_frame_address.
4725
4726 dup3 for GNU Hurd.
4727 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
4728 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
4729 implement dup3 and do some further code clean-ups.
4730 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
4731 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
4732
47332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4734
4735 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
4736
4737 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
4738 HURD_CRITICAL_END around holding _hurd_dtable_lock.
4739 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
4740 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
4741 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
4742 d->port.lock.
4743
4744 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
4745 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
4746 when handler == SIG_ERR, not when handler != SIG_ERR.
4747
47482012-05-10 Thomas Schwinge <thomas@schwinge.name>
4749
4750 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
4751 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
4752 definitions.
4753
4754 accept4 for GNU Hurd.
4755 * include/sys/socket.h (__libc_accept4): New prototype.
4756 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
4757 to implement __libc_accept4.
4758 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
4759 __libc_accept4.
4760 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
4761
4762 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
4763 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
4764 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
4765 signal-defines.sym.
4766
47672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4768
4769 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
4770
47712012-05-10 Thomas Schwinge <thomas@schwinge.name>
4772
4773 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
4774 assertion on O_CLOEXEC flag.
4775 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
4776 * hurd/intern-fd.c: Likewise.
4777 * hurd/port2fd.c: Likewise.
4778
47792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4780
4781 [BZ #3906]
4782 * bits/in.h (IPV6_PKTINFO): Define new macro.
4783 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
4784
47852012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4786
4787 [BZ #13954]
4788 [BZ #13955]
4789 [BZ #13956]
4790 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
4791 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4792 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
4793 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4794 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4795 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4796 * math/libm-test.inc (logb_test) : Additional logb tests.
4797
47982012-05-09 Andreas Schwab <schwab@linux-m68k.org>
4799 Andreas Jaeger <aj@suse.de>
4800
4801 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
4802 * configure: Regenerated.
4803 * config.h.in (LINK_OBSOLETE_RPC): New macro.
4804 * config.make.in (link-obsolete-rpc): New substituted variable.
4805 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
4806 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
4807 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4808 (shared-only-routines): Don't set it under [link-obsolete-rpc],
4809 so that libc.a contains the symbols.
4810 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4811 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
4812 * sunrpc/auth_none.c: Likewise.
4813 * sunrpc/auth_unix.c: Likewise.
4814 * sunrpc/authdes_prot.c: Likewise.
4815 * sunrpc/authuxprot.c: Likewise.
4816 * sunrpc/clnt_gen.c: Likewise.
4817 * sunrpc/clnt_perr.c: Likewise.
4818 * sunrpc/clnt_raw.c: Likewise.
4819 * sunrpc/clnt_simp.c: Likewise.
4820 * sunrpc/clnt_tcp.c: Likewise.
4821 * sunrpc/clnt_udp.c: Likewise.
4822 * sunrpc/clnt_unix.c: Likewise.
4823 * sunrpc/des_crypt.c: Likewise.
4824 * sunrpc/des_soft.c: Likewise.
4825 * sunrpc/get_myaddr.c: Likewise.
4826 * sunrpc/key_call.c: Likewise.
4827 * sunrpc/key_prot.c: Likewise.
4828 * sunrpc/netname.c: Likewise.
4829 * sunrpc/pm_getmaps.c: Likewise.
4830 * sunrpc/pm_getport.c: Likewise.
4831 * sunrpc/pmap_clnt.c: Likewise.
4832 * sunrpc/pmap_prot.c: Likewise.
4833 * sunrpc/pmap_prot2.c: Likewise.
4834 * sunrpc/pmap_rmt.c: Likewise.
4835 * sunrpc/publickey.c: Likewise.
4836 * sunrpc/rpc_cmsg.c: Likewise.
4837 * sunrpc/rpc_common.c: Likewise.
4838 * sunrpc/rpc_dtable.c: Likewise.
4839 * sunrpc/rpc_prot.c: Likewise.
4840 * sunrpc/rpc_thread.c: Likewise.
4841 * sunrpc/rtime.c: Likewise.
4842 * sunrpc/svc.c: Likewise.
4843 * sunrpc/svc_auth.c: Likewise.
4844 * sunrpc/svc_raw.c: Likewise.
4845 * sunrpc/svc_run.c: Likewise.
4846 * sunrpc/svc_tcp.c: Likewise.
4847 * sunrpc/svc_udp.c: Likewise.
4848 * sunrpc/svc_unix.c: Likewise.
4849 * sunrpc/svcauth_des.c: Likewise.
4850 * sunrpc/xcrypt.c: Likewise.
4851 * sunrpc/xdr.c: Likewise.
4852 * sunrpc/xdr_array.c: Likewise.
4853 * sunrpc/xdr_float.c: Likewise.
4854 * sunrpc/xdr_intXX_t.c: Likewise.
4855 * sunrpc/xdr_mem.c: Likewise.
4856 * sunrpc/xdr_rec.c: Likewise.
4857 * sunrpc/xdr_ref.c: Likewise.
4858 * sunrpc/xdr_sizeof.c: Likewise.
4859 * sunrpc/xdr_stdio.c: Likewise.
4860
48612012-05-10 Roland McGrath <roland@hack.frob.com>
4862
4863 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
4864 change. Update copyright years.
4865
48662012-05-10 Joseph Myers <joseph@codesourcery.com>
4867
4868 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
4869
48702012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
4871 Joseph Myers <joseph@codesourcery.com>
4872 Paul Pluzhnikov <ppluzhnikov@google.com>
4873
4874 [BZ #14012]
4875 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
4876 requiring rpcgen.
4877 [cross-compiling] (extra-libs): Likewise.
4878 [cross-compiling] (extra-libs-others): Likewise.
4879 [cross-compiling] (librpcsvc-routines): Likewise.
4880 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
4881 [cross-compiling] (omit-deps): Likewise.
4882 (sunrpc-CPPFLAGS): New variable.
4883 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
4884 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
4885 (cross-rpcgen-objs): New variable.
4886 (extra-objs): Append $(cross-rpcgen-objs).
4887 ($(cross-rpcgen-objs)): New rule.
4888 ($(objpfx)cross-rpcgen): Likewise.
4889 (rpcgen-cmd): Define to use $(built-program-file). Expand
4890 comment.
4891 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
4892 ($(objpfx)x%.stmp): Likewise.
4893 * sunrpc/proto.h [IS_IN_build] (_): Define.
4894 [IS_IN_build] (_libc_intl_domainname): Likewise.
4895
48962012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4897
4898 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
4899 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
4900 and R_X86_64_TPOFF64.
4901
49022012-05-10 Joseph Myers <joseph@codesourcery.com>
4903
4904 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
4905 sysdeps/unix/sysv/syscalls.list.
4906 (stime): Likewise.
4907 (utime): Likewise.
4908 * sysdeps/unix/sysv/syscalls.list: Remove file.
4909
49102012-05-10 Paul Eggert <eggert@cs.ucla.edu>
4911
4912 [BZ #3440]
4913 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
4914 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
4915 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
4916 (__LC_IDENTIFICATION): Make these macros useful in #if
4917 expressions, as required by C99.
4918
49192012-05-10 Andreas Schwab <schwab@linux-m68k.org>
4920
4921 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
4922 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
4923 after this.
4924
49252012-05-09 H.J. Lu <hongjiu.lu@intel.com>
4926
4927 * stdlib/longlong.h: Updated from GCC.
4928
49292012-05-09 Andreas Jaeger <aj@suse.de>
4930
4931 * nscd/nscd.c (run_modes): Make named enum, reorder so that
4932 default is first entry.
4933 (run_mode): Set type.
4934 (main): Remove informal message about syslog.
4935 (options): Fix typo.
4936
4937 [BZ #14053]
4938 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
4939 to asm.
4940 (lrint): Likewise.
4941 (llrintf): Likewise.
4942 (llrint): Likewise.
4943 (rint): Likewise.
4944 (rintf): Likewise.
4945 (nearbyint): Likewise.
4946 (nearbyintf): Likewise.
4947
49482012-05-09 Andreas Jaeger <aj@suse.de>
4949 Pedro Alves <palves@redhat.com>
4950
4951 * nscd/nscd.c (run_mode): Use enum.
4952 (main): Cleanup coding style issue.
4953
49542012-05-09 Alexandre Oliva <aoliva@redhat.com>
4955 Andreas Jaeger <aj@suse.de>
4956
4957 * nscd/nscd.c (go_background): Replaced with...
4958 (run_mode): ... this.
4959 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
4960 (options): Add -F --foreground.
4961 (main): Implement it.
4962 (parse_opt): Parse it.
4963
49642012-05-09 Andreas Jaeger <aj@suse.de>
4965
4966 [BZ #14083]
4967 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
4968 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
4969 -Wconversion warning.
4970 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
4971 Likewise.
4972
49732012-05-09 Joseph Myers <joseph@codesourcery.com>
4974
4975 * conform/data/locale.h-data (NULL): Use macro-constant. Require
4976 == 0.
4977 (LC_ALL): Use macro-int-constant.
4978 (LC_COLLATE): Likewise.
4979 (LC_CTYPE): Likewise.
4980 (LC_MESSAGES): Likewise.
4981 (LC_MONETARY): Likewise.
4982 (LC_NUMERIC): Likewise.
4983 (LC_TIME): Likewise.
4984 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
4985 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4986 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4987 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
4988 Specify type.
4989 [C99-based standards] (float_t): Expect type.
4990 [C99-based standards] (double_t): Expect type.
4991 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
4992 type.
4993 [C99-based standards] (HUGE_VALL): Likewise.
4994 [C99-based standards] (INFINITY): Likewise.
4995 [C99-based standards] (NAN): Likewise.
4996 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
4997 [C99-based standards] (FP_NAN): Likewise.
4998 [C99-based standards] (FP_NORMAL): Likewise.
4999 [C99-based standards] (FP_SUBNORMAL): Likewise.
5000 [C99-based standards] (FP_ZERO): Likewise.
5001 [C99-based standards] (FP_FAST_FMA): Use
5002 optional-macro-int-constant. Specify type. Require == 1.
5003 [C99-based standards] (FP_FAST_FMAF): Likewise.
5004 [C99-based standards] (FP_FAST_FMAL): Likewise.
5005 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
5006 [C99-based standards] (FP_ILOGBNAN): Likewise.
5007 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
5008 Specify type.
5009 [C99-based standards] (MATH_ERREXCEPT): Likewise.
5010 [C99-based standards] (math_errhandling): Specify type.
5011 [ISO99 || ISO11] (signgam): Do not allow.
5012 [non-C99-based standards] (copysignf): Do not allow.
5013 [non-C99-based standards] (exp2f): Likewise.
5014 [non-C99-based standards] (log2f): Likewise.
5015 [non-C99-based standards] (modff): Allow.
5016 [non-C99-based standards] (erff): Do not allow.
5017 [non-C99-based standards] (erfcf): Likewise.
5018 [non-C99-based standards] (gammaf): Likewise.
5019 [non-C99-based standards] (hypotf): Likewise.
5020 [non-C99-based standards] (j0f): Likewise.
5021 [non-C99-based standards] (j1f): Likewise.
5022 [non-C99-based standards] (jnf): Likewise.
5023 [non-C99-based standards] (lgammaf): Likewise.
5024 [non-C99-based standards] (tgammaf): Likewise.
5025 [non-C99-based standards] (y0f): Likewise.
5026 [non-C99-based standards] (y1f): Likewise.
5027 [non-C99-based standards] (ynf): Likewise.
5028 [non-C99-based standards] (isnanf): Likewise.
5029 [non-C99-based standards] (acoshf): Likewise.
5030 [non-C99-based standards] (asinhf): Likewise.
5031 [non-C99-based standards] (atanhf): Likewise.
5032 [non-C99-based standards] (cbrtf): Likewise.
5033 [non-C99-based standards] (expm1f): Likewise.
5034 [non-C99-based standards] (ilogbf): Likewise.
5035 [non-C99-based standards] (log1pf): Likewise.
5036 [non-C99-based standards] (logbf): Likewise.
5037 [non-C99-based standards] (nextafterf): Likewise.
5038 [non-C99-based standards] (remainderf): Likewise.
5039 [non-C99-based standards] (rintf): Likewise.
5040 [non-C99-based standards] (scalbf): Likewise.
5041 [non-C99-based standards] (copysignl): Likewise.
5042 [non-C99-based standards] (exp2l): Likewise.
5043 [non-C99-based standards] (log2l): Likewise.
5044 [non-C99-based standards] (modfl): Allow.
5045 [non-C99-based standards] (erfl): Do not allow.
5046 [non-C99-based standards] (erfcl): Likewise.
5047 [non-C99-based standards] (gammal): Likewise.
5048 [non-C99-based standards] (hypotl): Likewise.
5049 [non-C99-based standards] (j0l): Likewise.
5050 [non-C99-based standards] (j1l): Likewise.
5051 [non-C99-based standards] (jnl): Likewise.
5052 [non-C99-based standards] (lgammal): Likewise.
5053 [non-C99-based standards] (tgammal): Likewise.
5054 [non-C99-based standards] (y0l): Likewise.
5055 [non-C99-based standards] (y1l): Likewise.
5056 [non-C99-based standards] (ynl): Likewise.
5057 [non-C99-based standards] (isnanl): Likewise.
5058 [non-C99-based standards] (acoshl): Likewise.
5059 [non-C99-based standards] (asinhl): Likewise.
5060 [non-C99-based standards] (atanhl): Likewise.
5061 [non-C99-based standards] (cbrtl): Likewise.
5062 [non-C99-based standards] (expm1l): Likewise.
5063 [non-C99-based standards] (ilogbl): Likewise.
5064 [non-C99-based standards] (log1pl): Likewise.
5065 [non-C99-based standards] (logbl): Likewise.
5066 [non-C99-based standards] (nextafterl): Likewise.
5067 [non-C99-based standards] (remainderl): Likewise.
5068 [non-C99-based standards] (rintl): Likewise.
5069 [non-C99-based standards] (scalbl): Likewise.
5070 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5071 [non-C99-based standards] (FP_*): Do not allow.
5072 [C99-based standards] (FP_*): Change to
5073 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5074 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5075 allow.
5076 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
5077 (SIG_ERR): Likewise.
5078 [X/Open-based standards] (SIG_HOLD): Likewise.
5079 (SIG_IGN): Likewise.
5080 (SIGABRT): Use macro-int-constant. Specify type. Require
5081 positive value.
5082 (SIGFPE): Likewise.
5083 (SIGILL): Likewise.
5084 (SIGINT): Likewise.
5085 (SIGSEGV): Likewise.
5086 (SIGTER): Likewise.
5087 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
5088 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
5089 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
5090 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
5091 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
5092 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
5093 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
5094 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
5095 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
5096 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
5097 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
5098 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
5099 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
5100 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
5101 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
5102 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
5103 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
5104 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
5105 [X/Open-based standards] (SIGTRAP): Likewise.
5106 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
5107 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
5108 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
5109 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
5110 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5111 allow.
5112
51132012-05-08 Ian Wienand <ianw@vmware.com>
5114
5115 [BZ #14080]
5116 * time/tzset.c (__tzset_parse_tz): Update default rules for
5117 daylight time changes in the Energy Policy Act of 2005.
5118
51192012-05-09 Andreas Jaeger <aj@suse.de>
5120
5121 [BZ #13983]
5122 * elf/ldconfig.c (parse_conf): Change string to make clear that
5123 ldconfig only issued a warning if ld.so.conf does not exist.
5124
51252012-05-08 David S. Miller <davem@davemloft.net>
5126
5127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
5128 movxtod instead of popping the value on the stack.
5129
5130 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5131
51322012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
5133
5134 * config.h.in: Add HAVE_ARM_PCS_VFP.
5135
51362012-05-08 Roland Mc Grath <roland@hack.frob.com>
5137
5138 [BZ #13979]
5139 * include/features.h: Warn if user requests __FORTIFY_SOURCE
5140 checking but the checks are disabled for any reason.
5141
51422012-05-08 H.J. Lu <hongjiu.lu@intel.com>
5143
5144 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5145 and ELF64_R_TYPE with ELFW(R_TYPE).
5146
51472012-05-08 Joseph Myers <joseph@codesourcery.com>
5148
5149 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5150 (ulimit): Likewise.
5151
5152 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5153 (settimeofday): Likewise.
5154
51552012-05-08 Mike Frysinger <vapier@gentoo.org>
5156
5157 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
5158 a struct th_u2 inside the union, and move tu_block/tu_code into
5159 a new th_u3 union of tu_block/tu_code inside of that. Move
5160 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
5161 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
5162 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5163 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5164 (th_stuff): Change to th_u1.tu_stuff.
5165 (th_data): Define.
5166 (th_msg): Change to th_u1.th_u2.tu_data.
5167
51682012-05-07 David S. Miller <davem@davemloft.net>
5169
5170 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5171
5172 [BZ #14074]
5173 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5174 (SETUP_PIC_REG): Use it.
5175 (SETUP_PIC_REG_LEAF): Use it.
5176
51772012-05-07 Joseph Myers <joseph@codesourcery.com>
5178
5179 [BZ #13885]
5180 [BZ #13923]
5181 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5182 USE_AS_EXPM1L.
5183 (EXPL_FINITE): Likewise.
5184 (FLDLOG): Likewise.
5185 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5186 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5187 e_expl.S.
5188 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5189 USE_AS_EXPM1L.
5190 (EXPL_FINITE): Likewise.
5191 (FLDLOG): Likewise.
5192 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5193 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5194 e_expl.S.
5195 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
5196 test of -max_value argument for long double.
5197 * sysdeps/i386/fpu/libm-test-ulps: Update.
5198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5199
52002012-05-06 David S. Miller <davem@davemloft.net>
5201
5202 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5203 quad soft-float symbols whose references which are compiler
5204 generated.
5205 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5206
52072012-05-06 Joseph Myers <joseph@codesourcery.com>
5208
5209 [BZ #13884]
5210 [BZ #13914]
5211 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5212 USE_AS_EXP10L.
5213 (EXPL_FINITE): Likewise.
5214 (FLDLOG): Likewise.
5215 (c0): Likewise.
5216 (c1): Likewise.
5217 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5218 Adjust comments for base varying.
5219 (__expl_finite): Change alias to EXPL_FINITE.
5220 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5221 e_expl.S.
5222 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5223 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5224 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5225 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5226 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5227 USE_AS_EXP10L.
5228 (EXPL_FINITE): Likewise.
5229 (FLDLOG): Likewise.
5230 (c0): Likewise.
5231 (c1): Likewise.
5232 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5233 Adjust comments for base varying.
5234 (__expl_finite): Change alias to EXPL_FINITE.
5235 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
5236 tests for bugs.
5237 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5238
5239 [BZ #14064]
5240 * math/libm-test.inc (check_float_internal): Correct ulp
5241 calculation for subnormal expected results.
5242
52432012-05-06 Andreas Jaeger <aj@suse.de>
5244
5245 * Makeconfig (+math-flags): New, set to -frounding-math.
5246 (+cflags): Add +math-flags so that all of glibc gets compiled with
5247 it.
5248
5249 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
5250
52512012-05-05 Joseph Myers <joseph@codesourcery.com>
5252
5253 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
5254 Disable one test.
5255
5256 [BZ #13787]
5257 [BZ #13922]
5258 [BZ #14036]
5259 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
5260 (__ieee754_expl): Allow for and saturate large arguments.
5261 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
5262 (u_threshold): Likewise.
5263 (__exp): Call __ieee754_exp before checking for overflow and
5264 underflow.
5265 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
5266 (u_threshold): Likewise.
5267 (__expf): Call __ieee754_expf before checking for overflow and
5268 underflow.
5269 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
5270 (u_threshold): Likewise.
5271 (__expl): Call __ieee754_expl before checking for overflow and
5272 underflow.
5273 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
5274 (__ieee754_expl): Allow for and saturate large arguments.
5275 * math/libm-test.inc (exp_test): Add another test. Do not allow
5276 missing overflow exception on overflow.
5277 (expm1_test): Do not allow missing overflow exception on overflow.
5278
5279 * sysdeps/i386/fpu/e_expl.c: Move to ...
5280 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
5281 rather than using inline asm.
5282 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
5283 * sysdeps/x86_64/fpu/e_expl.S: Copy from
5284 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
5285
5286 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
5287 (nice): Likewise.
5288 (poll): Likewise.
5289 (signal): Likewise.
5290 (time): Likewise.
5291 (times): Likewise.
5292
52932012-05-04 Joseph Myers <joseph@codesourcery.com>
5294
5295 * sysdeps/unix/syscalls.list (adjtime): Add entry from
5296 sysdeps/unix/common/syscalls.list.
5297 (fchmod): Likewise.
5298 (fchown): Likewise.
5299 (ftruncate): Likewise.
5300 (getrusage): Likewise.
5301 (gettimeofday): Likewise.
5302 (setpgid): Likewise.
5303 (setregid): Likewise.
5304 (setreuid): Likewise.
5305 (sigaction): Likewise.
5306 (truncate): Likewise.
5307 (vhangup): Likewise.
5308 * sysdeps/unix/common/syscalls.list: Remove file.
5309 * sysdeps/unix/bsd/Implies: Don't include unix/common.
5310 * sysdeps/unix/sysv/linux/Implies: Likewise.
5311
53122012-05-04 H.J. Lu <hongjiu.lu@intel.com>
5313
5314 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
5315 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
5316 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
5317 Moved to ...
5318 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5319 Here.
5320 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
5321 to ...
5322 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
5323 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
5324 to ...
5325 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
5326 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
5327 to ...
5328 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
5329 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
5330 to ...
5331 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
5332 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
5333 to ...
5334 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
5335 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
5336 to ...
5337 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
5338 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
5339 to ...
5340 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5341 Here.
5342 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
5343 to ...
5344 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
5345 Here.
5346 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
5347 to ...
5348 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
5349 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
5350 Moved to ...
5351 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
5352 Here.
5353 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
5354 to ...
5355 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
5356
53572012-05-04 Joseph Myers <joseph@codesourcery.com>
5358
5359 * sysdeps/unix/common/bits/dirent.h: Remove file.
5360 * sysdeps/unix/common/bits/fcntl.h: Likewise.
5361
5362 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
5363 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
5364 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
5365 * sysdeps/unix/bsd/isatty.c: Likewise.
5366 * sysdeps/unix/bsd/tcdrain.c: Likewise.
5367 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
5368 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
5369
53702012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5371
5372 [BZ #13563]
5373 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
5374 long double comparison inaccuracies.
5375 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5376 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5377
53782012-05-04 Andreas Schwab <schwab@linux-m68k.org>
5379
5380 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
5381 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
5382
53832012-05-04 Joseph Myers <joseph@codesourcery.com>
5384
5385 [BZ #14049]
5386 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
5387 nonzero digits before rounding a hex value.
5388 * stdlib/tst-strtod.c (tests): Add another test.
5389
53902012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5391
5392 * sysdeps/s390/fpu/libm-test-ulps: Update.
5393
53942012-05-03 Andreas Jaeger <aj@suse.de>
5395
5396 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
5397 does not get optimized out.
5398 (malloc_opt_barrier): New.
5399
54002012-05-03 Andreas Jaeger <aj@suse.de>
5401 Roland McGrath <roland@hack.frob.com>
5402
5403 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
5404 intermediate file deletion.
5405 (generated): Add .symlist files.
5406
54072012-05-03 Joseph Myers <joseph@codesourcery.com>
5408
5409 [BZ #13775]
5410 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
5411 Redirect under this condition.
5412 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5413 [__USE_GNU] (__dprintf_chk): Not under this condition.
5414 [__USE_GNU] (__vdprintf_chk): Likewise.
5415 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
5416 under this condition.
5417 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5418 [__USE_XOPEN2K8] (dprintf): Define under this condition.
5419 [__USE_XOPEN2K8] (vdprintf): Likewise.
5420 [__USE_GNU] (__dprintf_chk): Not under this condition.
5421 [__USE_GNU] (__vdprintf_chk): Likewise.
5422 [__USE_GNU] (dprintf): Likewise.
5423 [__USE_GNU] (vdprintf): Likewise.
5424
54252012-05-03 Roland McGrath <roland@hack.frob.com>
5426
5427 * elf/Makefile (common-generated): Set this instead of generated for
5428 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
5429 $(all-built-dso)-derived lists.
5430
54312012-05-03 Andreas Jaeger <aj@suse.de>
5432
5433 * sysdeps/i386/fpu/libm-test-ulps: Update.
5434
5435 * FAQ: Removed.
5436 * FAQ.in: Likewise.
5437 * scripts/gen-FAQ.pl: Likewise.
5438 * manual/install.texi (Installation): Point to online location of
5439 FAQ.
5440 * Makefile (files-for-dist): Remove FAQ.
5441 (FAQ): Remove.
5442
54432012-05-02 Allan McRae <allan@archlinux.org>
5444
5445 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
5446 (LDFLAGS-reldepmod5.so): Likewise.
5447 (LDFLAGS-reldep6mod1.so): Likewise.
5448 (LDFLAGS-reldep6mod4.so): Likewise.
5449 (LDFLAGS-reldep8mod3.so): Likewise.
5450 (LDFLAGS-unload4mod1.so): Likewise.
5451 (LDFLAGS-unload4mod2.so): Likewise.
5452 (LDFLAGS-tst-initorder): Likewise.
5453 (LDFLAGS-tst-initordera2.so): Likewise.
5454 (LDFLAGS-tst-initordera3.so): Likewise.
5455 (LDFLAGS-tst-initordera4.so): Likewise.
5456 (LDFLAGS-tst-initorderb2.so): Likewise.
5457 (LDFLAGS-noload): Likewise.
5458 (LDFLAGS-next): Likewise.
5459 (LDFLAGS-order2mod1.so): Likewise.
5460 (LDFLAGS-order2mod2.so): Likewise.
5461 (LDFLAGS-tst-initorder2): Likewise.
5462 (LDFLAGS-tst-initorder2a.so): Likewise.
5463 (LDFLAGS-tst-initorder2b.so): Likewise.
5464 (LDFLAGS-tst-initorder2c.so): Likewise.
5465 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
5466
54672012-05-02 David S. Miller <davem@davemloft.net>
5468
5469 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5470
54712012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
5472
5473 [BZ #14055]
5474 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
5475
54762012-05-02 Andreas Jaeger <aj@suse.de>
5477
5478 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
5479 since we manipulate rounding mode.
5480 (CPPFLAGS-test-idouble.c): Likewise.
5481 (CPPFLAGS-test-ifloat.c): Likewise.
5482 (CFLAGS-test-ldouble.c): Likewise.
5483 (CFLAGS-test-double.c): Likewise.
5484 (CFLAGS-test-float.c): Likewise.
5485 (CFLAGS-test-misc.c): Likewise.
5486 (CFLAGS-test-test-fenv.c): Likewise.
5487
54882012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5489
5490 [BZ #2550]
5491 [BZ #2570]
5492 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
5493 comparisons to determine direction to adjust input.
5494
54952012-05-01 Roland McGrath <roland@hack.frob.com>
5496
5497 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
5498 output to the target.
5499
5500 * scripts/localplt.awk: New file.
5501 * elf/Makefile ($(objpfx)check-localplt): Target removed.
5502 (check-localplt-CFLAGS): Variable removed.
5503 ($(all-built-dso:=.jmprel)): New static pattern rule.
5504 (generated): Add those targets.
5505 (localplt-built-dso): New variable.
5506 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
5507
5508 * elf/check-localplt.c: File removed.
5509
5510 * scripts/check-execstack.awk: New file.
5511 * elf/Makefile ($(objpfx)check-execstack): Target removed.
5512 (check-execstack-CFLAGS): Variable removed.
5513 ($(objpfx)check-execstack.h): Target removed.
5514 ($(objpfx)execstack-default): New target.
5515 (generated): Add that instead of check-execstack.h.
5516 ($(all-built-dso:=.phdr)): New static pattern rule.
5517 (generated): Add those targets.
5518 * elf/check-execstack.c: File removed.
5519
5520 * scripts/check-textrel.awk: New file.
5521 * elf/Makefile ($(objpfx)check-textrel): Target removed.
5522 (check-textrel-CFLAGS): Variable removed.
5523 (all-built-dso): Use := to define.o
5524 ($(all-built-dso:=.dyn)): New static pattern rule.
5525 (generated): Add those targets.
5526 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
5527 * config.make.in (READELF): New substituted variable.
5528 * elf/check-textrel.c: File removed.
5529
55302012-05-01 Joseph Myers <joseph@codesourcery.com>
5531
5532 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5533 allow.
5534 * conform/data/ctype.h-data [C99-based standards] (isblank):
5535 Expect function.
5536 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
5537 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
5538 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5539 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
5540 Specify type. Require positive value.
5541 (EILSEQ): Likewise.
5542 (ERANGE): Likewise.
5543 [ISO || POSIX] (EILSEQ): Do not expect.
5544 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
5545 Specify type. Require positive value.
5546 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
5547 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
5548 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
5549 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
5550 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
5551 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
5552 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
5553 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
5554 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
5555 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
5556 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
5557 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
5558 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
5559 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
5560 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
5561 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
5562 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
5563 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
5564 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
5565 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
5566 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
5567 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
5568 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
5569 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
5570 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
5571 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
5572 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
5573 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
5574 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
5575 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
5576 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
5577 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
5578 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
5579 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
5580 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
5581 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
5582 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
5583 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
5584 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
5585 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
5586 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
5587 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
5588 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
5589 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
5590 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
5591 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
5592 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
5593 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
5594 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
5595 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
5596 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
5597 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
5598 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
5599 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
5600 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
5601 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
5602 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
5603 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
5604 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
5605 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
5606 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
5607 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
5608 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
5609 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
5610 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
5611 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
5612 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
5613 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
5614 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
5615 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
5616 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
5617 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
5618 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
5619 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
5620 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
5621 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
5622 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
5623 Require >= 2.
5624 (FLT_ROUNDS): Expect as macro, not constant.
5625 (FLT_MANT_DIG): Use macro-int-constant.
5626 (DBL_MANT_DIG): Likewise.
5627 (LDBL_MANT_DIG): Likewise.
5628 (FLT_DIG): Likewise.
5629 (DBL_DIG): Likewise.
5630 (LDBL_DIG): Likewise.
5631 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
5632 (DBL_MIN_EXP): Likewise.
5633 (LDBL_MIN_EXP): Likewise.
5634 (FLT_MAX_EXP): Use macro-int-constant.
5635 (DBL_MAX_EXP): Likewise.
5636 (LDBL_MAX_EXP): Likewise.
5637 (FLT_MAX_10_EXP): Likewise.
5638 (DBL_MAX_10_EXP): Likewise.
5639 (LDBL_MAX_10_EXP): Likewise.
5640 (FLT_MAX): Use macro-constant.
5641 (DBL_MAX): Likewise.
5642 (LDBL_MAX): Likewise.
5643 (FLT_EPSILON): Use macro-constant. Give upper bound.
5644 (DBL_EPSILON): Likewise.
5645 (LDBL_EPSILON): Likewise.
5646 (FLT_MIN): Likewise.
5647 (DBL_MIN): Likewise.
5648 (LDBL_MIN): Likewise.
5649 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
5650 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
5651 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
5652 [ISO11] (FLT_HAS_SUBNORM): Likewise.
5653 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
5654 [ISO11] (DBL_DECIMAL_DIG): Likewise.
5655 [ISO11] (FLT_DECIMAL_DIG): Likewise.
5656 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
5657 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
5658 [ISO11] (FLT_TRUE_MIN): Likewise.
5659 [ISO11] (LDBL_TRUE_MIN): Likewise.
5660 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5661 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
5662 (SCHAR_MIN): Use macro-int-constant. Specify type.
5663 (SCHAR_MAX): Likewise.
5664 (UCHAR_MAX): Likewise.
5665 (CHAR_MIN): Likewise.
5666 (CHAR_MAX): Likewise.
5667 (MB_LEN_MAX): Use macro-int-constant.
5668 (SHRT_MIN): Use macro-int-constant. Specify type.
5669 (SHRT_MAX): Likewise.
5670 (USHRT_MAX): Likewise.
5671 (INT_MAX): Likewise.
5672 (INT_MIN): Use macro-int-constant. Specify type. Make upper
5673 bound negative.
5674 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
5675 bound with "U".
5676 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5677 bound with "L".
5678 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
5679 bound negative. Suffix upper bound with "L".
5680 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5681 bound with "UL".
5682 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
5683 Specify type.
5684 [C99-based standards] (LLONG_MAX): Likewise.
5685 [C99-based standards] (ULLONG_MAX): Likewise.
5686 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
5687 == 0.
5688 [ISO11] (max_align_t): Require type.
5689 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5690
5691 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
5692 from $CFLAGS, without defining away __attribute__ calls.
5693 (checknamespace): Use $CFLAGS_namespace.
5694
5695 * conform/conformtest.pl (@keywords): Only include C99 keywords
5696 for standards based on C99 or C11.
5697
5698 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
5699 Disable tests.
5700 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
5701 UNIX98]: Likewise.
5702
5703 * conform/conformtest.pl: Handle "macro-int-constant" and test for
5704 usability of symbols in #if.
5705
5706 * conform/conformtest.pl: If macro or constant types start
5707 "promoted:", expect the symbol to be of the following type
5708 promoted by the integer promotions.
5709
5710 * conform/conformtest.pl: Parse all "constant" and "macro" lines
5711 in one place. Also handle "macro-constant".
5712
5713 * conform/conformtest.pl: Only accept expected macro values with
5714 "==". Parse all "macro" lines in one place.
5715 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
5716
5717 * conform/conformtest.pl: Handle braced types on "constant" lines
5718 instead of handling "typed-constant".
5719 * conform/data/signal.h-data: Use "constant" instead of
5720 "typed-constant".
5721
5722 * conform/conformtest.pl: Handle "optional-" at start of lines in
5723 one place rather than duplicating several cases. Handle each
5724 format of "macro" line with initial "optional-".
5725
5726 * conform/conformtest.pl: Only accept expected constant or
5727 optional-constant values with "==". Parse all "constant" lines in
5728 one place. Parse all "optional-constant" lines in one place.
5729 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
5730 * conform/data/fmtmsg.h-data: Likewise.
5731 * conform/data/netinet/in.h-data: Likewise.
5732 * conform/data/tar.h-data: Likewise.
5733 * conform/data/limits.h-data: Use "==" form on "constant" and
5734 "optional-constant" lines.
5735
5736 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
5737 Use -std=c99 for XOPEN2K.
5738 (@knownproblems): Remove.
5739 (newtoken): Don't check %isknown.
5740
5741 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
5742 Do not expect macro.
5743 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
5744 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
5745 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
5746 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
5747 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
5748 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
5749 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
5750 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
5751 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
5752 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
5753 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
5754 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
5755 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
5756 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
5757 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
5758 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
5759 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
5760 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
5761 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
5762 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
5763 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
5764 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
5765 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
5766 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
5767 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
5768 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
5769 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
5770 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
5771 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
5772 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
5773 [XPG3] (acosh): Likewise.
5774 [XPG3] (asinh): Likewise.
5775 [XPG3] (atanh): Likewise.
5776 [XPG3] (cbrt): Likewise.
5777 [XPG3] (expm1): Likewise.
5778 [XPG3] (ilogb): Likewise.
5779 [XPG3] (log1p): Likewise.
5780 [XPG3] (logb): Likewise.
5781 [XPG3] (nextafter): Likewise.
5782 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
5783 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
5784 [XPG3] (remainder): Likewise.
5785 [XPG3] (rint): Likewise.
5786 [XPG3 || XPG4 || UNIX98] (round): Likewise.
5787 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
5788 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
5789 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
5790 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
5791 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
5792 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
5793 [UNIX98 || XOPEN2K] (scalb): Expect.
5794 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
5795 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
5796 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
5797 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
5798 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
5799 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
5800 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
5801 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
5802 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
5803 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
5804 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
5805 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
5806 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
5807 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
5808 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
5809 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
5810 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
5811 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
5812 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
5813 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
5814 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
5815 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
5816 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
5817 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
5818 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
5819 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
5820 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
5821 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
5822 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
5823 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
5824 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
5825 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
5826 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
5827 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
5828 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
5829 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
5830 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
5831 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
5832 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
5833 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
5834 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
5835 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
5836 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
5837 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
5838 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
5839 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
5840 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
5841 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
5842 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
5843 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
5844 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
5845 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
5846 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
5847 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
5848 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
5849 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
5850 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
5851 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
5852 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
5853 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
5854 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
5855 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
5856 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
5857 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
5858 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
5859 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
5860 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
5861 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
5862 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
5863 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
5864 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
5865 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
5866 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
5867 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
5868 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
5869 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
5870 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
5871 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
5872 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
5873 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
5874 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
5875 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
5876 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
5877 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
5878 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
5879 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
5880 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
5881 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
5882 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
5883 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
5884 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
5885 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
5886 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
5887 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
5888 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
5889 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
5890 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
5891 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
5892 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
5893 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
5894 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
5895 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
5896 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
5897 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
5898 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
5899 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
5900 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
5901 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
5902 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
5903 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
5904 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
5905 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
5906 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
5907 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
5908 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
5909 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
5910 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
5911 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
5912 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
5913 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
5914 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
5915 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
5916 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
5917 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
5918 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
5919 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
5920 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
5921 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
5922 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
5923 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
5924 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
5925 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
5926 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
5927 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
5928 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
5929 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
5930 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
5931
5932 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
5933 _XOPEN_SOURCE_EXTENDED for XPG4.
5934
5935 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
5936
5937 * Makeconfig (localtime): Remove variable.
5938 (inst_localtime-file): Likewise.
5939
59402012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5941
5942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5943 Update.
5944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5945 Update.
5946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5947 Update.
5948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5949 Update.
5950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5951 Update.
5952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
5953 Update.
5954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5955 Update.
5956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
5957 Update.
5958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5959 Update.
5960
59612012-05-01 Joseph Myers <joseph@codesourcery.com>
5962
5963 [BZ #2550]
5964 [BZ #2570]
5965 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
5966 comparisons to determine direction to adjust input.
5967 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5968 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
5969 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5970 Likewise.
5971 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5972 Likewise.
5973 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5974 Likewise.
5975 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5976 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5977 Likewise.
5978 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5979 Likewise.
5980 * math/libm-test.inc (nexttoward_test): Add more tests.
5981
59822012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5983
5984 [BZ #14040]
5985 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
5986 in version GLIBC_2.1, not GLIBC_2.0.
5987 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
5988 Likewise.
5989
59902012-04-30 Joseph Myers <joseph@codesourcery.com>
5991
5992 [BZ #13942]
5993 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
5994 (1 - x) * (1 + x).
5995 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5996 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
5997 * math/libm-test.inc (acos_test): Add more tests.
5998 (asin_test): Likewise.
5999 * sysdeps/i386/fpu/libm-test-ulps: Update.
6000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6001
6002 [BZ #14034]
6003 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
6004 of square root.
6005 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
6006 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6007 * math/libm-test.inc (acos_test_tonearest): New function.
6008 (acos_test_towardzero): Likewise.
6009 (acos_test_downward): Likewise.
6010 (acos_test_upward): Likewise.
6011 (asin_test_tonearest): Likewise.
6012 (asin_test_towardzero): Likewise.
6013 (asin_test_downward): Likewise.
6014 (asin_test_upward): Likewise.
6015 (main): Call the new functions.
6016 * sysdeps/i386/fpu/libm-test-ulps: Update.
6017 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6018
6019 [BZ #13884]
6020 [BZ #13924]
6021 * math/e_exp10.c: Include <float.h>.
6022 (__ieee754_exp10): Handle underflow here rather than multiplying
6023 large negative argument by M_LN10.
6024 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
6025 of __ieee754_expf.
6026 * math/e_exp10l.c: Include <float.h>.
6027 (__ieee754_exp10l): Handle underflow here rather than multiplying
6028 large negative argument by M_LN10l.
6029 * math/libm-test.inc (exp10_test): Add another test. Do not allow
6030 spurious overflow exception on underflow.
6031
60322012-04-29 Marek Polacek <polacek@redhat.com>
6033
6034 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
6035 (__fortify_function): New macro.
6036 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
6037 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
6038 __extern_always_inline.
6039 * libio/bits/stdio2.h: Likewise.
6040 * libio/bits/stdio.h: Likewise.
6041 * string/string.h: Likewise.
6042 * string/bits/string3.h: Likewise.
6043 * include/stdio.h: Likewise.
6044 * stdlib/bits/stdlib.h: Likewise.
6045 * stdlib/stdlib.h: Likewise.
6046 * rt/bits/mqueue2.h: Likewise.
6047 * rt/mqueue.h: Likewise.
6048 * posix/bits/unistd.h: Likewise.
6049 * posix/unistd.h: Likewise.
6050 * io/bits/poll2.h: Likewise.
6051 * io/bits/fcntl2.h: Likewise.
6052 * io/fcntl.h: Likewise.
6053 * io/sys/poll.h: Likewise.
6054 * misc/bits/syslog.h: Likewise.
6055 * misc/bits/syslog-ldbl.h: Likewise.
6056 * misc/sys/syslog.h: Likewise.
6057 * socket/bits/socket2.h: Likewise.
6058 * socket/sys/socket.h: Likewise.
6059 * debug/tst-chk1.c: Likewise.
6060 * wcsmbs/bits/wchar2.h: Likewise.
6061 * wcsmbs/bits/wchar-ldbl.h: Likewise.
6062 * wcsmbs/wchar.h: Likewise.
6063
60642012-04-29 Andreas Jaeger <aj@suse.de>
6065
6066 * Makerules (tests): Remove enable-check-abi protection.
6067 (check-abi-warn): Remove.
6068 (check-abi-%): Remove check-abi-warn usage.
6069
6070 * configure.in: Remove check-abi configure option.
6071 * configure: Regenerated.
6072 * config.make.in (enable-check-abi): Remove.
6073
60742012-04-28 Andreas Schwab <schwab@linux-m68k.org>
6075
6076 [BZ #14033]
6077 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
6078 double functions to double *_finite functions.
6079
6080 [BZ #13941]
6081 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
6082 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
6083 LDBL_MIN_EXP.
6084 * stdio-common/Makefile (tests): Add tst-sprintf3.
6085 * stdio-common/tst-sprintf3.c: New file.
6086
6087 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
6088 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
6089
60902012-04-28 Joseph Myers <joseph@codesourcery.com>
6091
6092 * conform/conformtest.pl: Remove duplicate typed-constant
6093 handling.
6094
60952012-04-28 David S. Miller <davem@davemloft.net>
6096
6097 * Makerules (%.abilist): Add vpath on sysdep_dirs.
6098 (check-abi-%): Remove AWK script prerequisite and explicit
6099 abilist directory.
6100 (check-abi): Rewrite to just diff the symlist with the abilist.
6101 (config-tls, config-abi-config): Delete, no longer used.
6102 (update-abi-%): Remove AWK script and explicit abilist directory.
6103 (update-abi): Rewrite to simply compare and conditionally copy the
6104 symlist and the sysdep abilist file. Remove update-abi-config
6105 checks.
6106 * abilist/ld.abilist: Remove.
6107 * abilist/libBrokenLocale.abilist: Remove.
6108 * abilist/libanl.abilist: Remove.
6109 * abilist/libcrypt.abilist: Remove.
6110 * abilist/libdl.abilist: Remove.
6111 * abilist/librt.abilist: Remove.
6112 * abilist/libthread_db.abilist: Remove.
6113 * abilist/libutil.abilist: Remove.
6114 * scripts/extract-abilist.awk: Remove.
6115 * scripts/merge-abilist.awk: Remove.
6116 * sysdeps/generic/libcidn.abilist: New file.
6117 * sysdeps/generic/libnss_compat.abilist: New file.
6118 * sysdeps/generic/libnss_db.abilist: New file.
6119 * sysdeps/generic/libnss_dns.abilist: New file.
6120 * sysdeps/generic/libnss_files.abilist: New file.
6121 * sysdeps/generic/libnss_hesiod.abilist: New file.
6122 * sysdeps/generic/libnss_nis.abilist: New file.
6123 * sysdeps/generic/libnss_nisplus.abilist: New file.
6124 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
6125 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
6126 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
6127 file.
6128 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
6129 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
6130 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
6131 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
6132 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
6133 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
6134 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
6135 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
6136 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
6137 file.
6138 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
6139 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
6140 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6141 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6142 file.
6143 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6144 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6145 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6146 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6147 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6148 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6149 file.
6150 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6151 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6152 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6153 file.
6154 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6155 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6156 New file.
6157 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6158 New file.
6159 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6160 New file.
6161 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6162 New file.
6163 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6164 New file.
6165 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6166 New file.
6167 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6168 New file.
6169 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6170 New file.
6171 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6172 New file.
6173 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6174 New file.
6175 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6176 New file.
6177 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6178 New file.
6179 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6180 New file.
6181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6182 file.
6183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6184 New file.
6185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6186 New file.
6187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6188 file.
6189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6190 New file.
6191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6192 New file.
6193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6194 file.
6195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6196 New file.
6197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6198 New file.
6199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6200 New file.
6201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6202 New file.
6203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6204 New file.
6205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6206 New file.
6207 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6208 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6209 file.
6210 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6211 New file.
6212 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6213 file.
6214 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6215 file.
6216 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6217 file.
6218 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6219 file.
6220 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6221 file.
6222 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6223 New file.
6224 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6225 file.
6226 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6227 file.
6228 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6229 New file.
6230 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6231 file.
6232 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6233 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
6234 file.
6235 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6236 New file.
6237 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
6238 file.
6239 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
6240 file.
6241 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
6242 file.
6243 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
6244 file.
6245 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
6246 file.
6247 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6248 New file.
6249 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
6250 file.
6251 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
6252 file.
6253 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6254 New file.
6255 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
6256 file.
6257 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6258 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
6259 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
6260 file.
6261 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
6262 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
6263 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
6264 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
6265 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
6266 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
6267 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
6268 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
6269 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
6270 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
6271 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
6272 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
6273 file.
6274 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6275 New file.
6276 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
6277 file.
6278 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
6279 file.
6280 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
6281 file.
6282 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
6283 file.
6284 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
6285 file.
6286 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6287 New file.
6288 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6289 New file.
6290 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
6291 file.
6292 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6293 New file.
6294 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
6295 file.
6296 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
6297 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
6298 file.
6299 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6300 New file.
6301 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
6302 file.
6303 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
6304 file.
6305 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
6306 file.
6307 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
6308 file.
6309 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
6310 file.
6311 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6312 New file.
6313 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6314 New file.
6315 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
6316 file.
6317 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6318 New file.
6319 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
6320 file.
6321
63222012-04-28 Joseph Myers <joseph@codesourcery.com>
6323
6324 * conform/conformtest.pl: Fix typo in handling typed-constant from
6325 allow-header.
6326
63272012-04-27 Joseph Myers <joseph@codesourcery.com>
6328
6329 * README: Cut down references to pre-2.6 Linux kernels and
6330 Linuxthreads. Update lists of configurations in libc and ports
6331 and sort alphabetically. Say "or newer" with Linux kernel version
6332 requirements.
6333
6334 * config.h.in [IS_IN_build]: Allow compiling without optimization.
6335
63362012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6337
6338 [BZ #887]
6339 * math/libm-test.inc (logb_test_downward): New test to expose
6340 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
6341 rounding mode.
6342
63432012-04-27 Joseph Myers <joseph@codesourcery.com>
6344
6345 [BZ #14027]
6346 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
6347 to be done.
6348 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
6349 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
6350
63512012-04-26 Joseph Myers <joseph@codesourcery.com>
6352
6353 * sysdeps/unix/i386/brk.S: Remove file.
6354 * sysdeps/unix/i386/dl-brk.S: Likewise.
6355 * sysdeps/unix/i386/pipe.S: Likewise.
6356 * sysdeps/unix/i386/sigreturn.S: Likewise.
6357 * sysdeps/unix/i386/syscall.S: Likewise.
6358 * sysdeps/unix/i386/vfork.S: Likewise.
6359 * sysdeps/unix/i386/wait.S: Likewise.
6360
6361 * sysdeps/unix/common/tcsendbrk.c: Move to ...
6362 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
6363
6364 * configure.in (arm*-none*): Do not allow without
6365 --enable-hacker-mode.
6366 (netbsd*): Remove case setting base_os.
6367 (386bsd*): Likewise.
6368 (freebsd*): Likewise.
6369 (bsdi*): Likewise.
6370 (osf*): Likewise.
6371 (sunos*): Likewise.
6372 (ultrix*): Likewise.
6373 (newsos*): Likewise.
6374 (dynix*): Likewise.
6375 (*bsd*): Likewise.
6376 (sysv*): Likewise.
6377 (isc*): Likewise.
6378 (esix*): Likewise.
6379 (sco*): Likewise.
6380 (minix*): Likewise.
6381 (irix4*): Likewise.
6382 (irix6*): Likewise.
6383 (solaris[2-9]*): Likewise.
6384 (none): Likewise.
6385 * configure: Regenerated.
6386
63872012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6388
6389 [BZ #11521]
6390 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
6391 overflow or cancellation in calculating denominator.
6392 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
6393 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
6394 down expression to avoid unexpected rounding in newer GCCs.
6395 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
6396
63972012-04-26 David S. Miller <davem@davemloft.net>
6398
6399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
6400 long-double compat symbols.
6401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
6405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6406 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
6407 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
6408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
6409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
6410 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6411 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
6412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
6413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6414
64152012-04-25 David S. Miller <davem@davemloft.net>
6416
6417 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
6418 HWCAP_* values only after the memory barriers have been defined.
6419 (atomic_full_barrier): Define.
6420 (atomic_read_barrier): Define.
6421 (atomic_write_barrier): Define.
6422
64232012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6424
6425 * shlib-versions: Add libgcc_s version information.
6426 * sysdeps/generic/libgcc_s.h: Remove.
6427 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
6428 libgcc_s.h.
6429 * sysdeps/gnu/unwind-resume.c: Likewise.
6430 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
6431
64322012-04-25 David S. Miller <davem@davemloft.net>
6433
6434 * sysdeps/unix/sparc/brk.S: Delete.
6435 * sysdeps/unix/sparc/dl-brk.S: Delete.
6436 * sysdeps/unix/sparc/pipe.S: Delete.
6437 * sysdeps/unix/sparc/sysdep.S: Delete.
6438 * sysdeps/unix/sparc/sysdep.h: Delete.
6439 * sysdeps/unix/sparc/vfork.S: Delete.
6440 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
6441 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
6442 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
6443 ret_ERRVAL, r0, r1, MOVE): Define.
6444 (JUMPTARGET): Remove.
6445 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
6446 sysdeps/unix/sparc/sysdep.h
6447 (ENTRY, END): Remove.
6448 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6449
64502012-04-25 Joseph Myers <joseph@codesourcery.com>
6451
6452 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
6453 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
6454 -DIS_IN_build.
6455
6456 * timezone/README: Update upstream location and email address for
6457 tzcode and tzdata.
6458 * timezone/zdump.c: Update from tzcode 2012b.
6459 * timezone/zic.c: Likewise.
6460
6461 * configure.in (libc_cv_as_needed): Remove test.
6462 * configure: Regenerated.
6463 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
6464 conditional definition.
6465 [$(have-as-needed) != yes] (no-as-needed): Likewise.
6466 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
6467 * config.make.in (have-as-needed): Remove variable.
6468
64692012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6470 Paul Pluzhnikov <ppluzhnikov@google.com>
6471
6472 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
6473 strings correctly.
6474
64752012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
6476
6477 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
6478 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
6479 * sysdeps/sh/strlen.S: Likewise.
6480
64812012-04-24 Joseph Myers <joseph@codesourcery.com>
6482
6483 * sysdeps/unix/fork.S: Remove file.
6484 * sysdeps/unix/i386/fork.S: Likewise.
6485 * sysdeps/unix/sparc/fork.S: Likewise.
6486
6487 * sysdeps/unix/system.c: Remove file.
6488 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
6489
6490 * sysdeps/unix/getegid.S: Remove file.
6491 * sysdeps/unix/geteuid.S: Likewise.
6492
64932012-04-24 Roland McGrath <roland@hack.frob.com>
6494
6495 * scripts/check-localplt.awk: New file.
6496 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
6497 of diff.
6498 * scripts/data/localplt-generic.data: Add a comment.
6499
6500 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
6501 NODE when __dir_mkfile failed.
6502 * sysdeps/mach/hurd/symlinkat.c: Likewise.
6503 Reported by Ludovic Courtès <ludo@gnu.org>.
6504
65052012-04-24 Andreas Jaeger <aj@suse.de>
6506
6507 * Makerules (common-clean): Also remove gen-as-const-headers
6508 files.
6509
65102012-04-24 Joseph Myers <joseph@codesourcery.com>
6511
6512 * Makerules (native-compile): Do not change working directory for
6513 build. Use $(OUTPUT_OPTION) in command.
6514 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
6515
65162012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6517
6518 [BZ #13886]
6519 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
6520 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
6521 * math/libm-test.inc (floor_test): Add more tests.
6522 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
6523
65242012-04-24 Joseph Myers <joseph@codesourcery.com>
6525
6526 * sysdeps/unix/getdents.c: Remove file.
6527 * sysdeps/unix/sysv/getdents.c: Likewise.
6528 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
6529
6530 * sysdeps/unix/syscalls.list (madvise): Add syscall from
6531 sysdeps/unix/mman/syscalls.list.
6532 (mmap): Likewise.
6533 (mprotect): Likewise.
6534 (msync): Likewise.
6535 (munmap): Likewise.
6536 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
6537 * sysdeps/unix/mman/syscalls.list: Remove.
6538 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
6539
6540 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
6541 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
6542 * configure: Regenerated.
6543 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
6544 $(libgcc_s_suffix).
6545 * config.make.in (libgcc_s_suffix): Remove variable.
6546
65472012-04-23 Joseph Myers <joseph@codesourcery.com>
6548
6549 * sysdeps/unix/sysv/gethostname.c: Move to ...
6550 * sysdeps/posix/gethostname.c: ... here.
6551
6552 * sysdeps/unix/execve.S: Remove file.
6553
6554 * sysdeps/unix/_exit.S: Remove file.
6555
65562012-04-23 Andreas Jaeger <aj@suse.de>
6557
6558 [BZ #13739]
6559 * manual/Makefile: Remove make dist support, there's no
6560 need for a stand-alone documentation tar ball.
6561 (TEXI2DVI): Define always, it's not in Makeconfig.
6562 (dist): Removed.
6563 (tar-it): Removed.
6564 (edition): Removed.
6565 (glibc-doc-$(edition).tar): Removed
6566 (%.Z): Removed.
6567 (%.gz): Removed.
6568 (%.uu): Removed.
6569 (ETAGS): Remove, it's in Makeconfig.
6570 (move-if-change): Remove, it's in Makeconfig.
6571
65722013-04-23 Paul Eggert <eggert@cs.ucla.edu>
6573
6574 [BZ #13970]
6575 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
6576 (strtod, strtof, strtold, strtol, strtoul, strtoq)
6577 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
6578 (strtod_l, strtof_l, strtold_l): Remove __wur.
6579 It is not necessarily an error to ignore strtol's return value.
6580 One can reliably look at the stored endptr to decide whether
6581 the number had valid syntax.
6582
65832012-04-21 Andreas Jaeger <aj@suse.de>
6584
6585 [BZ #13739]
6586 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
6587
65882012-04-21 Joseph Myers <joseph@codesourcery.com>
6589
6590 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
6591 * sysdeps/unix/sysv/Versions: Remove file.
6592
65932012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
6594
6595 [BZ #13927]
6596 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6597
65982012-04-21 Nick Alcock <nick.alcock@oracle.com>
6599
6600 [BZ #7064]
6601 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
6602 version from __vm86.
6603
66042012-04-20 Joseph Myers <joseph@codesourcery.com>
6605
6606 * sysdeps/unix/common/lxstat.c: Remove file.
6607 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
6608
6609 * sysdeps/unix/sysv/Makefile: Remove file.
6610
6611 * sysdeps/unix/sysv/direct.h: Remove file.
6612
6613 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
6614 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
6615 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
6616 * sysdeps/unix/sysv/bits/signum.h: Likewise.
6617 * sysdeps/unix/sysv/bits/stat.h: Likewise.
6618 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
6619 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
6620
6621 * sysdeps/unix/sysv/setrlimit.c: Remove file.
6622
6623 * sysdeps/unix/xmknod.c: Remove file.
6624 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
6625
6626 * sysdeps/unix/sysv/settimeofday.c: Remove file.
6627
6628 * sysdeps/unix/sysv/i386/time.S: Remove file.
6629
6630 * sysdeps/unix/fxstat.c: Remove file.
6631 * sysdeps/unix/xstat.c: Likewise.
6632 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
6633
6634 * sysdeps/unix/sysv/sigaction.c: Remove file.
6635
6636 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
6637 (sysdep_headers): Remove variable.
6638 [termio.h not in sysdep_headers] (generated): Likewise.
6639 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
6640 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
6641 * sysdeps/unix/sysv/tcdrain.c: Likewise.
6642 * sysdeps/unix/sysv/tcflow.c: Likewise.
6643 * sysdeps/unix/sysv/tcflush.c: Likewise.
6644 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
6645 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
6646 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6647 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6648 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
6649
6650 * sysdeps/unix/siglist.c: Remove file.
6651
6652 * sysdeps/unix/getppid.S: Remove file.
6653
6654 * sysdeps/unix/mkdir.c: Remove file.
6655 * sysdeps/unix/rmdir.c: Likewise.
6656
66572012-04-19 Andreas Schwab <schwab@linux-m68k.org>
6658
6659 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
6660 ERR_MAX value.
6661 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
6662 errlist-compat value.
6663
66642012-04-18 David S. Miller <davem@davemloft.net>
6665
6666 * sysdeps/generic/memcopy.h (reg_char): Delete.
6667 * debug/strcat_chk.c: Use char, not reg_char.
6668 * debug/strcpy_chk.c: Likewise.
6669 * debug/strncat_chk.c: Likewise.
6670 * debug/strncpy_chk.c: Likewise.
6671 * string/memchr.c: Likewise.
6672 * string/memrchr.c: Likewise.
6673 * string/rawmemchr.c: Likewise.
6674 * string/strcat.c: Likewise.
6675 * string/strchr.c: Likewise.
6676 * string/strchrnul.c: Likewise.
6677 * string/strcmp.c: Likewise.
6678 * string/strcpy.c: Likewise.
6679 * string/strncat.c: Likewise.
6680 * string/strncmp.c: Likewise.
6681 * string/strncpy.c: Likewise.
6682
66832012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6684
6685 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
6686 __builtin_memcopy is called when src and dest ranges are known to not
6687 overlap.
6688
66892012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6690
6691 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
6692 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
6693 fwd_align_merge macro call.
6694 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
6695 bwd_align_merge macro call.
6696 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6697
66982012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6699
6700 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
6701 bwd_align_merge macros.
6702 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
6703 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
6704 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6705
67062012-04-18 David S. Miller <davem@davemloft.net>
6707
6708 * sysdeps/sparc/sparc64/memcopy.h: Delete.
6709
67102012-04-18 Andreas Jaeger <aj@suse.de>
6711
6712 [BZ# 6794]
6713 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
6714 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
6715 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6716
6717 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
6718 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
6719 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6720
6721 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
6722 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
6723 Adjust for changed ldbl-128 files.
6724
6725 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
6726 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
6727 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6728
67292012-04-17 David S. Miller <davem@davemloft.net>
6730
6731 * sysdeps/sparc/sparc32/memcopy.h: Delete.
6732
67332012-04-17 Andreas Schwab <schwab@linux-m68k.org>
6734
6735 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
6736 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
6737 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
6738 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
6739 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6740 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
6741
67422012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6743
6744 [BZ #6794]
6745 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
6746 * math/libm-test.inc: Add ilogb errno and exception tests.
6747 * math/w_ilogb.c: New file: ilogb wrapper.
6748 * math/w_ilogbf.c: New file: ilogbf wrapper.
6749 * math/w_ilogbl.c: New file: ilogbl wrapper.
6750 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
6751 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
6752 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
6753 exception being thrown with 0.0 as argument.
6754 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
6755 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
6756 exception being thrown with 0.0 as argument.
6757 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
6758 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6759 exception being thrown with 0.0 as argument.
6760 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
6761 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6762 exception being thrown with 0.0 as argument.
6763 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
6764 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
6765 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
6766 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
6767 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
6768 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
6769 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
6770 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
6771 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
6772
67732012-04-17 Petr Baudis <pasky@ucw.cz>
6774
6775 * include/sys/uio.h: Change __vector to __iovec to avoid clash
6776 with altivec.
6777
67782012-04-16 Marek Polacek <polacek@redhat.com>
6779
6780 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
6781
67822012-04-16 Marek Polacek <polacek@redhat.com>
6783
6784 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
6785 operands of fdivp instruction.
6786
67872012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6788
6789 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
6790 * elf/tst-auditmod3b.c: Likewise.
6791 * elf/tst-auditmod4b.c: Likewise.
6792 * elf/tst-auditmod5b.c: Likewise.
6793 * elf/tst-auditmod6b.c: Likewise.
6794 * elf/tst-auditmod6c.c: Likewise.
6795 * elf/tst-auditmod7b.c: Likewise.
6796 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
6797 * sysdeps/x86_64/preconfigure.in: Likewise.
6798 * sysdeps/x86_64/preconfigure: Regenerated.
6799
68002012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6801
6802 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
6803 __ILP32__.
6804
68052012-04-13 Antoine Balestrat <merkil33@gmail.com>
6806
6807 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6808 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
6809
68102012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
6811
6812 [BZ #13973]
6813 * locale/iso-639.def: Fix gl language name. Spotted by
6814 Yaron Shahrabani.
6815
68162012-04-12 Roland McGrath <roland@hack.frob.com>
6817
6818 [BZ #2074]
6819 * libio/libio.h (__io_write_fn): Update comment.
6820
68212012-04-12 Petr Baudis <pasky@ucw.cz>
6822
6823 [BZ #2074]
6824 * stdio.texi (Hook Functions): The user provided writer function
6825 is not allowed to return -1.
6826
68272012-04-11 David S. Miller <davem@davemloft.net>
6828
6829 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6830
68312012-04-11 Mike Frysinger <vapier@gentoo.org>
6832
6833 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
6834 Add a leading slash to rtkaio.
6835
68362012-04-11 Jim Meyering <meyering@redhat.com>
6837
6838 [BZ #11959]
6839 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
6840 It is not necessarily an error to ignore fwrite's return
6841 value. One can reliably use ferror to test for errors after
6842 the fact.
6843
68442012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6845
6846 * bits/types.h (__snseconds_t): New type.
6847 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
6848
6849 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
6850 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6851 (__SNSECONDS_T_TYPE): Likewise.
6852 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6853 (__SNSECONDS_T_TYPE): Likewise.
6854 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6855 (__SNSECONDS_T_TYPE): Likewise.
6856
68572012-04-10 Andreas Jaeger <aj@suse.de>
6858
6859 [BZ #2636]
6860 * manual/time.texi (Processor Time): Return type of times is
6861 elapsed real time since an arbitrary point in the past.
6862 (CPU Time): Move CLK_TCK from here...
6863 (Processor Time): ...to here. Correct description.
6864 * manual/conf.texi (Constants for Sysconf): Correct description of
6865 _SC_CLK_TCK.
6866
68672012-04-10 David S. Miller <davem@davemloft.net>
6868
6869 [BZ #13967]
6870 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
6871 where the is a gap between DT_REL(A) and DT_JMPREL.
6872
68732012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6874
6875 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
6876 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6877 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6878
68792012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6880
6881 * elf/dl-support.c (_dl_inhibit_cache): New variable.
6882 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
6883 (dl_main): Handle --inhibit-cache.
6884 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
6885 _dl_inhibit_cache.
6886 * elf/dl-load.c (_dl_map_object): Use it.
6887 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
6888
68892012-04-09 Joseph Myers <joseph@codesourcery.com>
6890
6891 [BZ #13872]
6892 * sysdeps/i386/fpu/e_powl.S (p78): New object.
6893 (__ieee754_powl): Saturate large exponents rather than testing for
6894 overflow of y*log2(x).
6895 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6896 * math/libm-test.inc (pow_test): Do not permit spurious overflow
6897 exceptions.
6898
6899 [BZ #11521]
6900 * math/s_ctan.c: Include <float.h>.
6901 (__ctan): Avoid internal overflow or cancellation in calculating
6902 denominator.
6903 * math/s_ctanf.c: Likewise.
6904 * math/s_ctanl.c: Likewise.
6905 * math/s_ctanh.c: Likewise.
6906 * math/s_ctanhf.c: Likewise.
6907 * math/s_ctanhl.c: Likewise.
6908 * math/libm-test.inc (ctan_test): Add more tests.
6909 (ctanh_test): Likewise.
6910 * sysdeps/i386/fpu/libm-test-ulps: Update.
6911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6912
69132012-04-09 Andreas Jaeger <aj@suse.de>
6914
6915 [BZ #6894]
6916 * manual/filesys.texi (Directory Entries): Mention that d_namlen
6917 is an optional BSD extension.
6918
6919 [BZ #10254]
6920 * manual/stdio.texi (Opening Streams): Document additional fopen
6921 parameters.
6922
69232012-04-09 Roland McGrath <roland@hack.frob.com>
6924
6925 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
6926 %eax without telling the compiler.
6927
69282012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
6929
6930 [BZ # 13963]
6931 * manual/install.texi: Use sourceware.org.
6932
69332012-04-09 Joseph Myers <joseph@codesourcery.com>
6934
6935 [BZ #13873]
6936 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
6937 (__ieee754_pow): Generate overflow and underflow using huge*huge
6938 and tiny*tiny rather than just returning constant infinity or zero
6939 for large exponents.
6940 * math/libm-test.inc (pow_test): Require overflow exceptions for
6941 applicable cases of large exponents.
6942
6943 [BZ #706]
6944 * sysdeps/i386/fpu/e_pow.S (p10): New object.
6945 (__ieee754_pow): Use iterative multiplication algorithm only for
6946 integer exponents with absolute value below 1024. Check for odd
6947 integer exponents when using algorithm for real exponents.
6948 * math/libm-test.inc (pow_test): Add more tests.
6949 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6950
69512012-04-08 Joseph Myers <joseph@codesourcery.com>
6952
6953 [BZ #13705]
6954 * math/libm-test.inc (exp_test): Do not allow overflow exception
6955 on underflow test.
6956
69572012-04-08 Aurelien Jarno <aurelien@aurel32.net>
6958
6959 [BZ #13705]
6960 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
6961 instead of __kernel_standard_f.
6962
69632012-04-08 Mike Frysinger <vapier@gentoo.org>
6964
6965 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
6966 * sysdeps/x86_64/memset_chk.S: Likewise.
6967
69682012-04-08 Andreas Jaeger <aj@suse.de>
6969
6970 [BZ #10153]
6971 * manual/startup.texi (Environment Access): Describe return value
6972 for putenv and setenv.
6973
6974 [BZ #6895]
6975 * manual/filesys.texi (Directory Entries): Add description for
6976 DT_LNK.
6977
6978 [BZ #6890]
6979 * manual/filesys.texi (Directory Entries): Clarify that it's file
6980 system not operating system in the description of DT_UNKNOWN.
6981
6982 [BZ #6578]
6983 * manual/syslog.texi (closelog): Fix reference, it's openlog.
6984
69852012-04-08 Stephen Compall <s11@member.fsf.org>
6986
6987 [BZ #6649]
6988 * manual/llio.texi (Opening and Closing Files): Add cross
6989 reference to explain mode argument.
6990
69912012-04-07 Mike Frysinger <vapier@gentoo.org>
6992
6993 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
6994 * sysdeps/x86_64/memset_chk.S: Likewise.
6995
69962012-04-07 David S. Miller <davem@davemloft.net>
6997
6998 * elf/elf.h (R_SPARC_WDISP10): Define.
6999 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
7000 R_SPARC_SIZE32.
7001 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7002 R_SPARC_SIZE64 and R_SPARC_H34.
7003
70042012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
7005
7006 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
7007 conditions and remove no longer applicable assertion.
7008
70092012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7010
7011 * bits/byteswap.h: Include <features.h>.
7012 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7013 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7014
70152012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7016
7017 * bits/byteswap.h (__bswap_16): Removed.
7018 Include <bits/byteswap-16.h> to get __bswap_16.
7019 * sysdeps/i386/bits/byteswap.h: Likewise.
7020 * sysdeps/s390/bits/byteswap.h: Likewise.
7021 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7022 * bits/byteswap-16.h: New file.
7023 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7024 * sysdeps/s390/bits/byteswap-16.h: Likewise.
7025 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
7026 * string/Makefile (headers): Add bits/byteswap-16.h.
7027
70282012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7029
7030 [BZ #13895]
7031 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
7032 extra indirection.
7033 * nss/Makefile (tests-static, tests): Add tst-nss-static.
7034 * nss/tst-nss-static.c: New.
7035
70362012-04-06 Robert Millan <rmh@gnu.org>
7037
7038 [BZ #6486]
7039 * manual/llio.texi (File Position Primitive): lseek
7040 refers to WHENCE when it really means OFFSET.
7041
70422012-04-06 Andreas Jaeger <aj@suse.de>
7043
7044 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
7045 strncmp declarations.
7046
7047 * abilist/libc.abilist: Add __poll and __ppoll.
7048
70492012-04-05 David S. Miller <davem@davemloft.net>
7050
7051 * scripts/check-local-headers.sh: Accept a host triplet in the
7052 path matched by the exclude regexp.
7053
7054 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
7055 definition.
7056 * sysdeps/powerpc/powerpc32/dl-machine.h
7057 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
7058 * sysdeps/s390/s390-32/dl-machine.h
7059 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7060 * sysdeps/sparc/sparc32/dl-machine.h
7061 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7062 * sysdeps/sparc/sparc64/dl-machine.h
7063 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7064
7065 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
7066 lazy binding.
7067 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
7068 undefined symbol errors.
7069
7070 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
7071 DT_NEEDED entries.
7072
70732012-04-05 Michael Matz <matz@suse.de>
7074
7075 [BZ #13592]
7076 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
7077
70782012-04-05 Andreas Jaeger <aj@suse.de>
7079
7080 [BZ #13908]
7081 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
7082 comment.
7083
70842012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7085
7086 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
7087 which ROUND is no valid rounding mode.
7088
70892012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7090
7091 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
7092 read again.
7093 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
7094
70952012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7096
7097 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
7098 an exception using FPU order intentionally.
7099
71002012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7101
7102 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
7103 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
7104 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
7105 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
7106
71072012-04-05 Simon Josefsson <simon@josefsson.org>
7108
7109 [BZ #12340]
7110 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
7111 EINVAL when BUFLEN is too smal.
7112
71132012-04-05 Thomas Schwinge <thomas@codesourcery.com>
7114
7115 [BZ #13553]
7116 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
7117 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
7118
71192012-04-03 Andreas Jaeger <aj@suse.de>
7120
7121 [BZ #13938]
7122 * manual/setjmp.texi (System V contexts): Fix sentence.
7123
7124 [BZ #13926]
7125 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
7126 New macro for this case.
7127 [!__GNUC__] (__bswap_64): New inline function for this case.
7128 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7129 * bits/byteswap.h: Likewise.
7130 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
7131 ull, guard with __GLIBC_HAVE_LONG_LONG.
7132
7133 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
7134 __GLIBC_HAVE_LONG_LONG.
7135
7136 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
7137 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
7138
71392012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7140
7141 [BZ #13691]
7142 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7143 inptr and inend, rather than using last_ch.
7144
71452012-04-02 David S. Miller <davem@davemloft.net>
7146
7147 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7148 * stdio-common/printf-parse.h (read_int): Change return type to
7149 'int', return -1 on INT_MAX overflow.
7150 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7151 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
7152 overflows INT_MAX. Check for overflow of in-format-string precision
7153 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
7154 SIZE_MAX not INT_MAX for integer overflow test.
7155 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7156 skip the construct in the format string but do not record anything.
7157 * stdio-common/bug22.c: Adjust to test both width/prevision
7158 INT_MAX overflow as well as total length INT_MAX overflow. Check
7159 explicitly for proper errno values.
7160
71612012-04-02 Thomas Schwinge <thomas@codesourcery.com>
7162
7163 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7164 CHAR_MAX.
7165 * string/test-strcmp.c [! WIDE]: Likewise.
7166 * time/tst-mktime2.c: Likewise for INT_MAX.
7167 * string/test-string.h: #include <sys/param.h> for MIN.
7168
7169 * csu/init-first.c (__libc_init_first): Call __ctype_init.
7170 * sysdeps/i386/init-first.c (init): Likewise.
7171 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7172 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7173 * sysdeps/sh/init-first.c (init): Likewise.
7174
71752012-04-01 Ulrich Drepper <drepper@gmail.com>
7176
7177 * po/ru.po: Update from translation team.
7178 * po/vi.po: Likewise.
7179
71802012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7181
7182 * resolv/nss_dns/dns-host.c: Merge copyright years.
7183
71842012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7185
7186 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7187 Optimize memcpy with prefetch if
7188 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
7189 src, dst pointers have unequal 16 byte alignments.
7190
71912012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7192
7193 [BZ #13928]
7194 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7195 from a CNAME entry and return the minimum ttl for the query.
7196 (gaih_getanswer_slice): Likewise.
7197
71982012-03-30 Jeff Law <law@redhat.com>
7199
7200 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7201 due to long keys.
7202 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7203 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7204
7205 * resolv/nss_dns/dns-host.c: Update copyright year.
7206
72072012-03-30 Ulrich Drepper <drepper@gmail.com>
7208
7209 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
7210 requests to save a system call. Fix check that all bytes are sent.
7211
7212 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7213 comments for sendmmsg.
7214
72152012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7216
7217 [BZ #13691]
7218 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7219 with only 1 character between 0x0041 and 0x01b0.
7220 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7221 * wcsmbs/tst-mbsnrtowcs.c: New file.
7222
72232012-03-29 David S. Miller <davem@davemloft.net>
7224
7225 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7226 small copies by hand.
7227
72282012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7229
7230 [BZ #13761]
7231 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7232 _nss_compat_initgroups_dyn): Fall back to malloc/free
7233 for large group memberships.
7234
72352012-03-28 David S. Miller <davem@davemloft.net>
7236
7237 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
7238 that branches into memcpy.
7239 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7240 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7241 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7242 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7243 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
7244 bits.
7245 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
7246 implementation too.
7247 * sysdeps/sparc/mempcpy.S: New file.
7248
7249 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
7250 the IFUNC routine in the libc case.
7251 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7252
7253 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
7254 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
7255 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
7256 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7257 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
7258 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
7259 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
7260 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
7261
7262 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
7263 loop to 256 bytes instead of 64 bytes and fix test signedness.
7264
7265 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
7266 * sysdeps/sparc/sparc32/Makefile: rather than here...
7267 * sysdeps/sparc/sparc64/Makefile: and here.
7268
72692012-03-28 Ulrich Drepper <drepper@gmail.com>
7270
7271 * malloc/mallocbug.c: Avoid warnings about unused variables.
7272
72732012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7274
7275 [BZ #13760]
7276 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
7277 in the right place. Discard and retry query if response is
7278 larger than input buffer size.
7279
72802012-03-28 Joseph Myers <joseph@codesourcery.com>
7281
7282 [BZ #369]
7283 [BZ #2678]
7284 [BZ #3866]
7285 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
7286 x for large integer exponent.
7287 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7288 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
7289 sign of result as needed afterwards.
7290 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7291 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
7292 result for underflowing pow the same as for overflow.
7293 (__kernel_standard_l): Handle powl overflow and underflow here
7294 rather than calling __kernel_standard.
7295 * math/libm-test.inc (pow_test): Add more tests.
7296
7297 [BZ #3868]
7298 [BZ #13879]
7299 [BZ #13910]
7300 [BZ #13911]
7301 [BZ #13912]
7302 [BZ #13913]
7303 [BZ #13915]
7304 [BZ #13916]
7305 [BZ #13917]
7306 [BZ #13918]
7307 [BZ #13919]
7308 [BZ #13920]
7309 [BZ #13921]
7310 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
7311 * sysdeps/ieee754/k_standard.c: Include <float.h>.
7312 (__kernel_standard_l): New function.
7313 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
7314 __kernel_standard.
7315 * math/w_acosl.c (__acosl): Likewise.
7316 * math/w_asinl.c (__asinl): Likewise.
7317 * math/w_atan2l.c (__atan2l): Likewise.
7318 * math/w_atanhl.c (__atanhl): Likewise.
7319 * math/w_coshl.c (__coshl): Likewise.
7320 * math/w_exp10l.c (__exp10l): Likewise.
7321 * math/w_exp2l.c (__exp2l): Likewise.
7322 * math/w_fmodl.c (__fmodl): Likewise.
7323 * math/w_hypotl.c (__hypotl): Likewise.
7324 * math/w_j0l.c (__j0l, __y0l): Likewise.
7325 * math/w_j1l.c (__j1l, __y1l): Likewise.
7326 * math/w_jnl.c (__jnl, __ynl): Likewise.
7327 * math/w_lgammal.c (__lgammal): Likewise.
7328 * math/w_log10l.c (__log10l): Likewise.
7329 * math/w_log2l.c (__log2l): Likewise.
7330 * math/w_logl.c (__logl): Likewise.
7331 * math/w_powl.c (__powl): Likewise.
7332 * math/w_remainderl.c (__remainderl): Likewise.
7333 * math/w_scalbl.c (sysv_scalbl): Likewise.
7334 * math/w_sinhl.c (__sinhl): Likewise.
7335 * math/w_sqrtl.c (__sqrtl): Likewise.
7336 * math/w_tgammal.c (__tgammal): Likewise.
7337 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
7338 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
7339 * math/libm-test.inc (acos_test): Add more tests.
7340 (acosh_test): Likewise.
7341 (asin_test): Likewise.
7342 (atanh_test): Likewise.
7343 (exp_test): Likewise.
7344 (exp10_test): Likewise.
7345 (exp2_test): Likewise.
7346 (expm1_test): Likewise.
7347 (lgamma_test): Likewise.
7348 (log_test): Likewise.
7349 (log10_test): Likewise.
7350 (log1p_test): Likewise.
7351 (log2_test): Likewise.
7352 (pow_test): Do not allow some spurious overflow exceptions.
7353 (sqrt_test): Add more tests.
7354 (tgamma_test): Likewise.
7355 (y0_test): Likewise.
7356 (y1_test): Likewise.
7357 (yn_test): Likewise.
7358
73592012-03-27 Anton Blanchard <anton@samba.org>
7360
7361 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
7362 MAP_HUGETLB.
7363 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7364 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7365 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7366
73672012-03-27 David S. Miller <davem@davemloft.net>
7368
7369 * conform/Makefile: Run run-conformtest.sh using $(BASH).
7370
7371 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
7372 have-as-vis3 check.
7373
73742012-03-27 Andreas Jaeger <aj@suse.de>
7375
7376 * sysdeps/x86_64/elf/configure.in: Moved to ...
7377 * sysdeps/x86_64/configure.in: ... here.
7378 * sysdeps/x86_64/elf/start.S: Moved to ...
7379 * sysdeps/x86_64/start.S: ... here.
7380 * sysdeps/x86_64/elf/configure: Delete.
7381
7382 * sysdeps/x86_64/configure.in: Merge contents from
7383 sysdeps/i386/configure.in (without i686 check).
7384
7385 * sysdeps/i386/elf/Versions: Merge into ...
7386 * sysdeps/i386/Versions: ... this.
7387 * sysdeps/i386/elf/Versions: Delete file.
7388 * sysdeps/i386/elf/start.S: Moved to ...
7389 * sysdeps/i386/start.S: ...here.
7390 * sysdeps/i386/elf/configure.in: Merge into...
7391 * sysdeps/i386/configure.in: ...here.
7392 * sysdeps/i386/elf/configure.in: Delete file.
7393 * sysdeps/i386/elf/configure: Delete file.
7394
7395 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
7396 * debug/backtracesyms.c: ... here.
7397 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
7398 * debug/backtracesymsfd.c: ... here.
7399 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
7400 * sysdeps/generic/ifunc-sel.h: ... here.
7401
7402 * sysdeps/unix/i386/start.c: Delete file.
7403 * sysdeps/unix/sparc/start.c: Delete file.
7404 * sysdeps/unix/start.c: Delete file.
7405
7406 * sysdeps/sh/elf/configure.in: Moved to ...
7407 * sysdeps/sh/configure.in: ... here.
7408 * sysdeps/sh/elf/start.S: Moved to ...
7409 * sysdeps/sh/start.S: ... here.
7410 * sysdeps/sh/elf/configure: Delete file.
7411
7412 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
7413 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
7414 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
7415 * sysdeps/powerpc/powerpc64/entry.h: ... here.
7416 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
7417 * sysdeps/powerpc/powerpc64/start.S: here.
7418 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
7419 * sysdeps/powerpc/powerpc64/Makefile: ... this.
7420 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
7421 * sysdeps/powerpc/powerpc64/configure.in: ... this.
7422 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
7423
7424 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
7425 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
7426 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
7427 * sysdeps/powerpc/powerpc32/start.S: ... here.
7428 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
7429 * sysdeps/powerpc/powerpc32/configure.in: ... this.
7430 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
7431
7432 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
7433 * sysdeps/powerpc/ifunc-sel.h: ... here.
7434 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
7435 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
7436
7437 * sysdeps/sparc/elf/configure.in: Moved to ...
7438 * sysdeps/sparc/configure.in: ... here.
7439 * sysdeps/sparc/elf/configure: Delete file.
7440 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
7441 * sysdeps/sparc/sparc32/start.S: ... here.
7442 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
7443 * sysdeps/sparc/sparc64/start.S: ... here.
7444 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
7445 * sysdeps/sparc/sparc32/Makefile: ... this.
7446 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
7447 * sysdeps/sparc/sparc64/Makefile: ... this.
7448
7449 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
7450 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
7451 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
7452 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
7453 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
7454 * sysdeps/s390/s390-32/setjmp.S: ... here.
7455 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
7456 * sysdeps/s390/s390-32/configure.in: ... here.
7457 * sysdeps/s390/s390-32/elf/configure: Delete file.
7458 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
7459 * sysdeps/s390/s390-32/start.S: ... here.
7460
7461 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
7462 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
7463 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
7464 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
7465 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
7466 * sysdeps/s390/s390-64/setjmp.S: ... here.
7467 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
7468 * sysdeps/s390/s390-64/configure.in: ... here
7469 * sysdeps/s390/s390-64/elf/configure: Delete file.
7470 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
7471 * sysdeps/s390/s390-64/start.S: ... here.
7472 * sysdeps/s390/s390-64/elf/configure: Delete.
7473
7474 * configure.in: Remove support for elf directories in sysdeps.
7475
7476 * configure: Regenerated.
7477 * sysdeps/i386/configure: Regenerated.
7478 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7479 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7480 * sysdeps/s390/s390-32/configure: Regenerated.
7481 * sysdeps/s390/s390-64/configure: Regenerated.
7482 * sysdeps/sh/configure: Regenerated.
7483 * sysdeps/sparc/configure: Regenerated.
7484 * sysdeps/x86_64/configure: Regenerated.
7485
74862012-03-26 Andreas Schwab <schwab@linux-m68k.org>
7487
7488 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7489
7490 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
7491 denormal result into account.
7492
74932012-03-25 Roland McGrath <roland@hack.frob.com>
7494
7495 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
7496 Reported by Allan McRae <allan@archlinux.org>.
7497
74982012-03-23 Jeff Law <law@redhat.com>
7499
7500 * nss/getnssent.c (__nss_getent): Fix typo.
7501
75022012-03-23 David S. Miller <davem@davemloft.net>
7503
7504 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7505
75062012-03-23 H.J. Lu <hongjiu.lu@intel.com>
7507
7508 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
7509 to pad to uint64_t for each field.
7510 (dl_tls_index): Replace unsigned long with uint64_t.
7511
75122012-03-23 Daniel Jacobowitz <dmj@google.com>
7513 Paul Pluzhnikov <ppluzhnikov@google.com>
7514
7515 [BZ #6528]
7516 * grp/Makefile (otherlibs): Don't set it.
7517 * inet/Makefile (otherlibs): Likewise.
7518 * login/Makefile (otherlibs): Likewise.
7519 * nscd/Makefile (otherlibs): Likewise.
7520 * posix/Makefile (otherlibs): Likewise.
7521 * pwd/Makefile (otherlibs): Likewise.
7522 * rt/Makefile (otherlibs): Likewise.
7523 * sunrpc/Makefile (otherlibs): Likewise.
7524 * nss/Makefile (otherlibs): Likewise.
7525 Add libnss_files to routines and static-only-routines.
7526 ($(objpfx)getent): Remove rule.
7527 * resolv/Makefile: Add libnss_dns and libresolv to routines and
7528 static-only-routines.
7529
75302012-03-22 Joseph Myers <joseph@codesourcery.com>
7531
7532 [BZ #13892]
7533 * math/s_cexp.c: Include <float.h>.
7534 (__cexp): Handle exp result overflowing not necessarily
7535 overflowing both real and imaginary parts of result.
7536 * math/s_cexpf.c: Likewise.
7537 * math/s_cexpl.c: Likewise.
7538 * math/libm-test.inc (cexp_test): Add more tests.
7539 * sysdeps/i386/fpu/libm-test-ulps: Update.
7540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7541
75422012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7543
7544 * include/link.h (ELFW): New macro.
7545 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
7546 Replace ELF64_R_TYPE with ELFW(R_TYPE).
7547
75482012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7549
7550 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
7551 with uint64_t.
7552
75532012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7554
7555 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
7556 declaration.
7557 (struct La_x32_retval): Likewise.
7558
75592012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7560
7561 * sysdeps/x86_64/preconfigure.in: New file.
7562 * sysdeps/x86_64/preconfigure: New generated file.
7563
75642012-03-22 Joseph Myers <joseph@codesourcery.com>
7565
7566 [BZ #13824]
7567 * math/e_exp2l.c: Include <float.h>.
7568 (__ieee754_exp2l): Handle overflow and underflow cases
7569 separately. Only pass fractional part of argument to
7570 __ieee754_expl.
7571 * math/libm-test.inc (exp2_test): Add more tests.
7572
7573 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
7574 negating x to take absolute value.
7575 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7576 Likewise.
7577 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7578 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7579 Likewise.
7580 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
7581 computing low part if x was negated.
7582 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7583
75842012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7585
7586 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
7587 la_x32_gnu_pltexit.
7588 (pltexit): Cast int_retval to ptrdiff_t.
7589 * elf/tst-auditmod3b.c: Likewise.
7590 * elf/tst-auditmod4b.c: Likewise.
7591 * elf/tst-auditmod5b.c: Likewise.
7592 * elf/tst-auditmod6b.c: Likewise.
7593 * elf/tst-auditmod6c.c: Likewise.
7594 * elf/tst-auditmod7b.c: Likewise.
7595
7596 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
7597 and x32_gnu_pltexit.
7598
7599 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
7600 __ELF_NATIVE_CLASS.
7601 (La_x32_regs): New macro.
7602 (La_x32_retval): Likewise.
7603 (la_x32_gnu_pltenter): New function prototype.
7604 (la_x32_gnu_pltexit): Likewise.
7605
76062012-03-21 Andreas Schwab <schwab@linux-m68k.org>
7607
7608 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
7609 exponent.
7610
7611 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7612
7613 * configure.in (libc_cv_cc_nofma): Check for option to disable
7614 generation of FMA instructions.
7615 * configure: Regenerate.
7616 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
7617 * sysdeps/ieee754/dbl-64/Makefile: New file.
7618 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7619 Remove brandred-fma4.
7620 (CFLAGS-brandred-fma4.c): Remove.
7621 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
7622 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
7623 define.
7624 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
7625 define.
7626
76272012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7628
7629 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7630 LLONG_MAX != LONG_MAX.
7631 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7632 (_fitoa_word): Likewise.
7633 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
7634 LLONG_MAX != LONG_MAX.
7635 * stdio-common/_itowa.h: Include <_itoa.h>.
7636 (_itowa_word): Use _ITOA_WORD_TYPE on value.
7637 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
7638 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
7639 only if not defined.
7640 (_ITOA_WORD_TYPE): Likewise.
7641 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7642 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
7643
76442012-03-21 David S. Miller <davem@davemloft.net>
7645
7646 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7647
76482012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7649
7650 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
7651 of x86_64 when setting libc_cv_slibdir, libdir and
7652 libc_cv_localedir.
7653 * sysdeps/unix/sysv/linux/configure: Regenerated.
7654
76552012-03-21 Joseph Myers <joseph@codesourcery.com>
7656
7657 * manual/lang.texi (Old Varargs): Remove section.
7658 (How Variadic): Update menu.
7659 (va_start): Do not mention varargs.h.
7660
76612012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7662 Joseph Myers <joseph@codesourcery.com>
7663
7664 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
7665 link test.
7666 * configure: Regenerated.
7667
76682012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7669
7670 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
7671 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
7672 conformtest.pl
7673
76742012-03-21 Joseph Myers <joseph@codesourcery.com>
7675
7676 * NOTES: Remove.
7677 * Makefile (files-for-dist): Remove NOTES.
7678 (NOTES): Remove rule.
7679 * README: Don't refer to NOTES.
7680 * manual/creature.texi: Don't include macros.texi.
7681 * manual/intro.texi (creature.texi): Remove comment referring to
7682 NOTES.
7683
7684 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
7685 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
7686 * configure: Regenerated.
7687 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
7688 LIBC_TRY_CC_OPTION.
7689 (libc_cv_as_i686): Likewise.
7690 (libc_cv_cc_avx): Likewise.
7691 (libc_cv_cc_sse2avx): Likewise.
7692 (libc_cv_cc_fma4): Likewise.
7693 (libc_cv_cc_novzeroupper): Likewise.
7694 * sysdeps/i386/configure: Regenerated.
7695
7696 [BZ #13883]
7697 * sysdeps/i386/fpu/s_cexp.S: Remove.
7698 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7699 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7700 * math/libm-test.inc (cexp_test): Add more tests.
7701 * sysdeps/i386/fpu/libm-test-ulps: Update.
7702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7703
77042012-03-21 Allan McRae <allan@archlinux.org>
7705
7706 * timezone/Makefile: Do not install iso3166.tab and zone.tab
7707
77082012-03-21 Joseph Myers <joseph@codesourcery.com>
7709
7710 [BZ #13871]
7711 * math/w_exp2.c: Do not include <float.h>.
7712 (o_threshold, u_threshold): Remove.
7713 (__exp2): Calculate result before checking finiteness and calling
7714 __kernel_standard.
7715 * math/w_exp2f.c: Likewise.
7716 * math/w_exp2l.c: Likewise.
7717 * math/libm-test.inc (exp2_test): Require overflow exception for
7718 1e6 input.
7719
7720 [BZ #3866]
7721 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
7722 range of signed 64-bit integers before using fistpll. Remove
7723 checks for whether integers fit in mantissa bits.
7724 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
7725 the range of signed 32-bit integers before using fistpl. Remove
7726 checks for whether integers fit in mantissa bits.
7727 * sysdeps/i386/fpu/e_powl.S (p64): New object.
7728 (__ieee754_powl): Test for y outside the range of signed 64-bit
7729 integers before using fistpll. Reduce 64-bit values to 63-bit
7730 ones as needed.
7731 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
7732 divide-by-zero is raised for zero to large negative powers.
7733 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
7734 (__ieee754_powl): Test for y outside the range of signed 64-bit
7735 integers before using fistpll. Reduce 64-bit values to 63-bit
7736 ones as needed.
7737 * math/libm-test.inc (pow_test): Add more tests.
7738
77392012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7740
7741 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
7742 <stdio-common/_itoa.h>.
7743 * debug/segfault.c: Likewise.
7744 * elf/dl-cache.c: Likewise.
7745 * elf/dl-minimal.c: Likewise.
7746 * elf/dl-misc.c: Likewise.
7747 * elf/dl-sysdep.c: Likewise.
7748 * elf/dl-version.c: Likewise.
7749 * elf/rtld.c: Likewise.
7750 * hurd/hurdsock.c: Likewise.
7751 * hurd/lookup-retry.c: Likewise.
7752 * malloc/malloc.c: Likewise.
7753 * malloc/mtrace.c: Likewise.
7754 * nscd/nscd_getgr_r.c: Likewise.
7755 * nscd/nscd_getpw_r.c: Likewise.
7756 * nscd/nscd_getserv_r.c: Likewise.
7757 * posix/getopt_init.c: Likewise.
7758 * posix/wordexp.c: Likewise.
7759 * stdio-common/_itoa.c: Likewise.
7760 * stdio-common/printf_fphex.c: Likewise.
7761 * stdio-common/vfprintf.c: Likewise.
7762 * string/_strerror.c: Likewise.
7763 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7764 * sysdeps/i386/i686/hp-timing.h: Likewise.
7765 * sysdeps/mach/_strerror.c: Likewise.
7766 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
7767 * sysdeps/mach/hurd/sethostid.c: Likewise.
7768 * sysdeps/mach/hurd/xmknodat.c: Likewise.
7769 * sysdeps/mach/xpg-strerror.c: Likewise.
7770 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7771 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7772 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
7773 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
7774 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7775 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
7776 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7777 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7778 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
7779 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
7780 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
7781 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7782 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
7783 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7784 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7785 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
7786 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
7787 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
7788 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7789 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7790 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
7791
7792 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
7793
7794 * stdio-common/_itoa.h: Moved to ...
7795 * sysdeps/generic/_itoa.h: Here.
7796
7797 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
7798
7799 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
7800 instead of "_itoa.h" and "_itowa.h".
7801 * stdio-common/vfprintf.: Likewise.
7802
78032012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7804
7805 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
7806 <bits/wordsize.h>.
7807 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
7808 (__signbit): Likwise.
7809 (llrintf): Likwise.
7810 (llrint): Likwise.
7811
78122012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7813
7814 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
7815 __WORDSIZE != 64.
7816
78172012-03-20 Joseph Myers <joseph@codesourcery.com>
7818
7819 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
7820 OVERFLOW_EXCEPTION_OK.
7821 * math/libm-test.inc ("Philosophy"): Update comment about
7822 exception testing.
7823 (OVERFLOW_EXCEPTION): Define.
7824 (OVERFLOW_EXCEPTION_OK): Likewise.
7825 (INVALID_EXCEPTION_OK): Renumber.
7826 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7827 (IGNORE_ZERO_INF_SIGN): Likewise.
7828 (test_exceptions): Handle FE_OVERFLOW.
7829 (exp10_test): Expect overflow exceptions.
7830 (exp2_test): Likewise.
7831 (expm1_test): Likewise.
7832 (nextafter_test): Likewise.
7833 (pow_test): Likewise.
7834 (scalbn_test): Likewise.
7835 (scalbln_test): Likewise.
7836
78372012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7838
7839 * sysdeps/x86_64/bits/atomic.h
7840 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
7841 64bit integer.
7842 (atomic_exchange_acq): Likewise.
7843 (__arch_exchange_and_add_body): Likewise.
7844 (__arch_add_body): Likewise.
7845 (atomic_add_negative): Likewise.
7846 (atomic_add_zero): Likewise.
7847
78482012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7849
7850 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
7851 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
7852
78532012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7854
7855 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
7856 Check __x86_64__ instead of __WORDSIZE.
7857
78582012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7859
7860 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
7861
78622012-03-19 David S. Miller <davem@davemloft.net>
7863
7864 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7865
7866 * sysdeps/sparc/fpu/fenv_private.h: New file.
7867 * sysdeps/sparc/fpu/math_private.h: Use it.
7868 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
7869 Remove.
7870 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
7871 (libc_feholdexcept_setroundl): Remove.
7872 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
7873 Remove.
7874 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
7875 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
7876
78772012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7878
7879 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
7880 int64_t instead of long int.
7881 (INSERT_WORDS64): Likwise.
7882
78832012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7884
7885 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
7886 _Unwind_GetCFA return to _Unwind_Ptr first.
7887
78882012-03-19 Joseph Myers <joseph@codesourcery.com>
7889
7890 [BZ #13629]
7891 * math/s_clog.c: Include <float.h>.
7892 (__clog): Scale large or subnormal inputs.
7893 * math/s_clogf.c: Likewise.
7894 * math/s_clogl.c: Likewise.
7895 * math/s_clog10.c: Include <float.h>.
7896 (M_LOG10_2): Define.
7897 (__clog10): Scale large or subnormal inputs.
7898 * math/s_clog10f.c: Likewise.
7899 * math/s_clog10l.c: Likewise.
7900 * math/libm-test.inc (clog_test): Add more tests.
7901 (clog10_test): Likewise.
7902 * sysdeps/i386/fpu/libm-test-ulps: Update.
7903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7904
7905 [BZ #11451]
7906 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
7907 x and y.
7908 * math/libm-test.inc (atan2_test): Add another test.
7909
7910 * Makerules (common-objdir-compile): Remove.
7911 * sysdeps/unix/Makefile (config-generated): Do not add
7912 $(unix-generated) to variable.
7913 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
7914 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
7915 Remove rule.
7916 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
7917 Likewise.
7918 [generic bits/local_lim.h] (before-compile): Do not append to
7919 variable.
7920 [generic bits/local_lim.h] (common-generated): Likewise.
7921 [generic sys/param.h] (before-compile): Do not append to variable.
7922 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
7923 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
7924 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
7925 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
7926 include.
7927 [generic sys/param.h] (sys/param.h-includes): Remove variable.
7928 [generic sys/param.h] (sys/param.h-includes): Remove rule.
7929 [generic sys/param.h] ($(addprefix
7930 $(common-objpfx),$(sys/param.h-includes))): Likewise.
7931 [generic sys/param.h] (common-generated): Do not append to
7932 variable.
7933 [generic sys/param.h] (sysdep_headers): Likewise.
7934 [generic bits/errno.h] (before-compile): Do not append to
7935 variable.
7936 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
7937 rule.
7938 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
7939 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
7940 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
7941 [generic bits/errno.h] (common-generated): Do not append to
7942 variable.
7943 [generic bits/ioctls.h] (before-compile): Do not append to
7944 variable.
7945 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
7946 rule.
7947 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
7948 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
7949 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
7950 rule.
7951 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
7952 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
7953 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
7954 [generic bits/ioctls.h] (common-generated): Do not append to
7955 variable.
7956 [generic sys/syscall.h] (syscall.h): Remove variable.
7957 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
7958 rule.
7959 [generic sys/syscall.h] (before-compile): Do not append to
7960 variable.
7961 [generic sys/syscall.h] (common-generated): Likewise.
7962 * sysdeps/unix/errnos-tmpl.c: Remove file.
7963 * sysdeps/unix/errnos.awk: Likewise.
7964 * sysdeps/unix/ioctls-tmpl.c: Likewise.
7965 * sysdeps/unix/ioctls.awk: Likewise.
7966 * sysdeps/unix/mk-local_lim.c: Likewise.
7967 * sysdeps/unix/snarf-ioctls: Likewise.
7968
79692012-03-19 Richard Henderson <rth@twiddle.net>
7970
7971 * sysdeps/i386/fpu/fenv_private.h: New file.
7972 * sysdeps/i386/fpu/math_private.h: Use it.
7973 (math_opt_barrier, math_force_eval): Remove.
7974 (libc_feholdexcept_setround_53bit): Remove.
7975 (libc_feupdateenv_53bit): Remove.
7976 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7977 (math_opt_barrier, math_force_eval): Remove.
7978 (libc_feholdexcept): Remove.
7979 (libc_feholdexcept_setround): Remove.
7980 (libc_fetestexcept, libc_fesetenv): Remove.
7981 (libc_feupdateenv_test): Remove.
7982 (libc_feupdateenv, libc_feholdsetround): Remove.
7983 (libc_feresetround): Remove.
7984
7985 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
7986 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7987
7988 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
7989 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
7990 (libc_feupdateenv_testl): New.
7991 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
7992 (libc_feupdateenv_testf): New.
7993 (libc_feupdateenv): Use libc_feupdateenv_test.
7994 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
7995 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
7996
7997 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
7998 (libc_feholdsetroundf, libc_feholdsetroundl): New.
7999 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
8000 (libc_feresetround_noex): New.
8001 (libc_feresetround_noexf): New.
8002 (libc_feresetround_noexl): New.
8003 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
8004 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
8005 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
8006 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
8007 SET_RESTORE_ROUND.
8008 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8009 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
8010 (__cos): Likewise.
8011 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
8012 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8013 SET_RESTORE_ROUND_NOEX.
8014 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
8015 SET_RESTORE_ROUND_NOEXF.
8016 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
8017 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
8018 (libc_feholdsetroundf): New.
8019 (libc_feresetround, libc_feresetroundf): New.
8020
8021 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
8022 (libc_feholdexcept_setround_53bit): Convert from macro to function.
8023 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
8024
8025 * sysdeps/generic/math_private.h: Include <fenv.h>.
8026 (default_libc_feholdexcept): New.
8027 (default_libc_feholdexcept_setround): New.
8028 (default_libc_fesetenv, default_libc_feupdateenv): New.
8029 (libc_feholdexcept): Only define if undefined.
8030 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
8031 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
8032 (libc_feholdexcept_setroundl): Likewise.
8033 (libc_feholdexcept_setround_53bit): Likewise.
8034 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
8035 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
8036 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
8037 (libc_feupdateenv_53bit): Likewise.
8038 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
8039 (libc_feholdexcept): Convert from macro to inline function.
8040 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
8041 (libc_fesetenv, libc_feupdateenv): Likewise.
8042
8043 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
8044 not previously defined.
8045 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
8046 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
8047 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
8048 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
8049 * sysdeps/ieee754/flt-32/math_private.h: New file.
8050 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
8051 math_private.h below SET_FLOAT_WORD.
8052 (__isnan, __isinf_ns, __finite): Remove.
8053 (__isnanf, __isinf_nsf, __finitef): Remove.
8054
80552012-03-18 Andreas Schwab <schwab@linux-m68k.org>
8056
8057 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8058
80592012-03-17 David S. Miller <davem@davemloft.net>
8060
8061 [BZ #6471]
8062 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
8063 for 2.16.
8064
80652012-03-16 David S. Miller <davem@davemloft.net>
8066
8067 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
8068 warnings.
8069
8070 [BZ #6471]
8071 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
8072 properly.
8073 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
8074 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
8075 sysdep_routines when subdir is sysvipc.
8076 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
8077 __getshmlba helper.
8078
8079 * sysdeps/sparc/fpu/libm-test/ulps: Update.
8080
80812012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8082
8083 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
8084 [__LP64__].
8085
80862012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8087
8088 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
8089 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
8090 (__lround): Renamed to ...
8091 (__llround): This. Replace long int with long long int.
8092 Define lround functions as aliases of llround functions.
8093 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
8094
80952012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8096
8097 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
8098 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
8099 adresses to uintptr_t. Replace "long int" and "unsigned long
8100 int" with "greg_t" on va_arg.
8101
81022012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8103
8104 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
8105 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
8106
8107 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
8108 Move e_machine check before EI_CLASS check. Handle x32
8109 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
8110 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
8111 SKIP_EM_IA_64 and include
8112 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
8113
8114 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
8115 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
8116 (add_system_dir): New macro.
8117
8118 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
8119 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
8120
81212012-03-16 Joseph Myers <joseph@codesourcery.com>
8122
8123 [BZ #2551]
8124 [BZ #2552]
8125 [BZ #2553]
8126 [BZ #2554]
8127 [BZ #2562]
8128 [BZ #2563]
8129 [BZ #2565]
8130 [BZ #2566]
8131 [BZ #2576]
8132 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
8133 (y0): Likewise.
8134 * math/w_j0f.c (j0f): Likewise.
8135 (y0f): Likewise.
8136 * math/w_j0l.c (__j0l): Likewise.
8137 (__y0l): Likewise.
8138 * math/w_j1.c (j1): Likewise.
8139 (y1): Likewise.
8140 * math/w_j1f.c (j1f): Likewise.
8141 (y1f): Likewise.
8142 * math/w_j1l.c (__j1l): Likewise.
8143 (__y1l): Likewise.
8144 * math/w_jn.c (jn): Likewise.
8145 (yn): Likewise.
8146 * math/w_jnf.c (jnf): Likewise.
8147 (ynf): Likewise.
8148 * math/w_jnl.c (__jnl): Likewise.
8149 (__ynl): Likewise.
8150 * math/libm-test.inc (j0_test): Add more tests.
8151 (j1_test): Likewise.
8152 (jn_test): Likewise. Add trailing semicolon to existing test.
8153 (y0_test): Likewise.
8154 (y1_test): Likewise.
8155 * sysdeps/i386/fpu/libm-test-ulps: Update.
8156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8157
8158 [BZ #13851]
8159 [BZ #13854]
8160 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8161 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8162 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8163 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8164 (__tanl): Set errno for infinite argument.
8165 * sysdeps/i386/fpu/mptan.c: Remove.
8166 * sysdeps/i386/fpu/s_tan.S: Likewise.
8167 * sysdeps/i386/fpu/s_tanl.S: Likewise.
8168 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8169 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8170 * math/libm-test.inc (tan_test): Add more tests and enable more
8171 tests for double and long double.
8172 * sysdeps/i386/fpu/libm-test-ulps: Update.
8173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8174
81752012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8176
8177 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8178 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8179
81802012-03-16 Roland McGrath <roland@hack.frob.com>
8181
8182 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8183 * configure.in: Use it for both main tree and add-ons.
8184 * configure: Regenerated.
8185
81862012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8187
8188 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8189
81902012-03-16 Joseph Myers <joseph@codesourcery.com>
8191
8192 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8193 in comment.
8194
8195 [BZ #13851]
8196 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8197 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8198 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8199 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8200 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8201 infinite argument.
8202 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8203 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8204 != 0 for prec == 2.
8205 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8206 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8207 * sysdeps/i386/fpu/s_cosl.S: Likewise.
8208 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8209 * sysdeps/i386/fpu/s_sinl.S: Likewise.
8210 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8211 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8212 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8213 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8214 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8215 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8216 * math/libm-test.inc (cos_test): Add more tests and enable more
8217 tests for long double.
8218 (sin_test): Likewise.
8219 (sincos_test): Likewise.
8220 * sysdeps/i386/fpu/libm-test-ulps: Update.
8221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8222
82232012-03-16 David S. Miller <davem@davemloft.net>
8224
8225 * sysdeps/sparc/fpu/math_private.h: New file.
8226
82272012-03-15 David S. Miller <davem@davemloft.net>
8228
8229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8230 file.
8231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
8232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8233 file.
8234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
8235 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
8236 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
8237 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
8238 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
8239 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
8240 sysdep routines.
8241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8242
8243 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
8244 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
8245
8246 * sysdeps/sparc/sparc-ifunc.h: New file.
8247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
8248 sparc-ifunc.h
8249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8251 Likewise.
8252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8253 Likewise.
8254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
8255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8258 Likewise.
8259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
8263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
8264 Likewise.
8265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
8266 Likewise.
8267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
8269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8271 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8272 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8273 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
8274 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
8275 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8276 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8277 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8278 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8279 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8280 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8281 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
8282 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
8283 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
8284 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
8285 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
8286 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
8287 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
8288 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
8289 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
8290 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
8291
82922012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8293
8294 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
8295 scaling.
8296 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8297
82982012-03-15 Andreas Jaeger <aj@suse.de>
8299
8300 [BZ #13852]
8301 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
8302 ieee754/flt-32 implementation for sin, cos and sincos.
8303 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
8304 * sysdeps/i386/fpu/s_cosf.S: Likewise.
8305 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
8306 * sysdeps/i386/fpu/s_sinf.S: Likewise.
8307 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
8308 ieee754/flt-32 implementation for tan.
8309
8310 * math/libm-test.inc (cos_test): Enable some large input tests for
8311 float as well
8312 (sin_test): Likewise.
8313 (sincos_test): Likewise.
8314 (tan_test): Add tests for large input.
8315
8316 * sysdeps/i386/fpu/libm-test-ulps: Update.
8317
83182012-03-15 Andreas Jaeger <aj@suse.de>
8319
8320 [BZ #13658]
8321 * math/libm-test.inc (cos_test): Add more test cases.
8322 (sin_test): Likewise.
8323 (sincos_test): Likewise.
8324
83252012-03-15 Andreas Jaeger <aj@suse.de>
8326
8327 [BZ #13837]
8328 * math/libm-test.inc (cos_test): Add a test case for large input
8329 value.
8330 (sin_test): Likewise.
8331 (sincos_test): Likewise.
8332
83332012-03-15 Andreas Jaeger <aj@suse.de>,
8334 Joseph Myers <joseph@codesourcery.com>
8335
8336 [BZ #13658]
8337 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
8338 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
8339 * sysdeps/i386/fpu/branred.c: Likewise.
8340 * sysdeps/i386/fpu/dosincos.c: Likewise.
8341 * sysdeps/i386/fpu/mpa.c: Likewise.
8342 * sysdeps/i386/fpu/s_cos.S: Likewise.
8343 * sysdeps/i386/fpu/s_sin.S: Likewise.
8344 * sysdeps/i386/fpu/s_sincos.S: Likewise.
8345 * sysdeps/i386/fpu/sincos32.c: Likewise.
8346
8347 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
8348 Define.
8349 (libc_feupdateenv_53bit): Define.
8350 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
8351 Define.
8352 (libc_feupdateenv_53bit): Define.
8353
8354 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
8355 53 bit (without extend i386 double precision).
8356
8357 * math/libm-test.inc (sincos_test): Add tests for large input.
8358 (sin): Likewise.
8359 (cos): Likewise.
8360
8361 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8362
83632012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8364
8365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8366
83672012-03-15 David S. Miller <davem@davemloft.net>
8368
8369 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
8370 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
8371 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
8372 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
8373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
8374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
8375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
8376 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
8377 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
8378 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
8379 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
8380 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
8381 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
8382 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
8383 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
8384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
8385 file.
8386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
8387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
8388 file.
8389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
8390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
8391 file.
8392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
8393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
8394 file.
8395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
8396 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
8397 fmin/fmax sysdep routines.
8398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8399
84002012-03-14 David S. Miller <davem@davemloft.net>
8401
8402 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
8403 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
8404 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
8405 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
8406 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
8407 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
8408 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
8409 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
8410 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
8411 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
8412 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
8413 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
8414 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
8415 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
8416 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
8417 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
8418 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
8419 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
8420 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
8421 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
8422 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
8423 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
8424 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
8425 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
8426 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
8427 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
8428 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
8429 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
8430 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
8431 routines.
8432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
8433 file.
8434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
8435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
8436 file.
8437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
8438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
8439 file.
8440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
8441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
8442 file.
8443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
8444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
8445 file.
8446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
8447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
8448 file.
8449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
8450 file.
8451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
8452 file.
8453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
8454 file.
8455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
8456 New file.
8457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
8458 file.
8459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
8460 file.
8461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
8462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
8463 file.
8464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
8465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
8466 file.
8467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
8468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
8469 file.
8470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
8471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
8472 VIS3 routines.
8473
8474 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8475 New file.
8476
8477 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8478
8479 * sysdeps/sparc/configure.in: New file.
8480 * sysdeps/sparc/configure: Generate.
8481 * configure.in (libc_cv_sparc_as_vis3): Substitute.
8482 * configure: Regenerate.
8483 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
8484 * config.make.in (have-as-vis3): New.
8485 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
8486 available use -Av9d instead of -Av9a.
8487 * sysdeps/sparc/sparc64/Makefile: Likewise.
8488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
8489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
8490 New file.
8491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
8492 file.
8493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
8494 New file.
8495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
8496 file.
8497 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
8498 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
8499 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
8500 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
8501 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
8502
8503 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
8504 fzeros/fnegs to load 0x80000000 into a float register instead of
8505 using the stack.
8506 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
8507
85082012-03-14 Joseph Myers <joseph@codesourcery.com>
8509
8510 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8511 bits/syscall.h.
8512 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
8513 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
8514 ($(inst_includedir)/bits/syscall.h): Remove rule.
8515 ($(objpfx)bits/syscall.d): Include instead of
8516 $(objpfx)syscall-list.d.
8517 (generated): Change syscall-list.h and syscall-list.d to
8518 bits/syscall.h and bits/syscall.d.
8519
85202012-03-14 Roland McGrath <roland@hack.frob.com>
8521
8522 [BZ #13846]
8523 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
8524
85252012-03-14 Joseph Myers <joseph@codesourcery.com>
8526
8527 [BZ #13841]
8528 * math/s_csqrt.c: Include <float.h>.
8529 (__csqrt): Scale large or subnormal inputs.
8530 * math/s_csqrtf.c: Likewise.
8531 * math/s_csqrtl.c: Likewise.
8532 * math/libm-test.inc (csqrt_test): Add more tests.
8533 * sysdeps/i386/fpu/libm-test-ulps: Update.
8534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8535
8536 [BZ #13840]
8537 * math/libm-test.inc (hypot_test): Add more tests.
8538
85392012-03-13 David S. Miller <davem@davemloft.net>
8540
8541 [BZ #13840]
8542 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
8543 double-precision for the calculation instead of scaling.
8544
85452012-03-13 Joseph Myers <joseph@codesourcery.com>
8546
8547 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
8548 manipulate bits before adding and subtracting TWO52[sx].
8549 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
8550 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8551 Likewise.
8552 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
8553
85542012-03-13 David S. Miller <davem@davemloft.net>
8555
8556 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
8557 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
8558 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
8559 rtld-global-offsets.h
8560 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8561
8562 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
8563 large parameters.
8564
8565 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
8566
8567 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
8568 'err' in the ifdef scope in which it is actually used.
8569
8570 * nss/nss_db/db-init.c: Include string.h
8571
85722012-03-12 David S. Miller <davem@davemloft.net>
8573
8574 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8575 masking out of the most significant byte of random value used.
8576 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8577 Fix coding style in previous change.
8578
8579 * sysdeps/unix/sysv/linux/kernel-features.h
8580 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
8581 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
8582 expression.
8583 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
8584 later.
8585
85862012-03-11 David S. Miller <davem@davemloft.net>
8587
8588 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8589 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
8590 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
8591 for 'resultvar' otherwise things get truncated on 64-bit.
8592
8593 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8594 Fix masking out of the most significant byte of random value used.
8595
8596 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8597
85982012-03-10 Andreas Schwab <schwab@linux-m68k.org>
8599
8600 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8601
86022012-03-09 David S. Miller <davem@davemloft.net>
8603
8604 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
8605 variables with appropriate CPP guards.
8606 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
8607 frame pointer, not the stack pointer. Correct layout comments. Fix test
8608 on resulting framesize and the management of the outregs buffer for pltexit.
8609 Preserve floating point return values across _dl_call_pltexit call.
8610 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
8611 framesize and the management of the outregs buffer for pltexit.
8612 Preserve floating point return values across _dl_call_pltexit
8613 call.
8614 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
8615 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
8616 (print_exit): Fix format string for return register value.
8617
86182012-03-10 Joseph Myers <joseph@codesourcery.com>
8619
8620 * sunrpc/Makefile (others): Add rpcgen.
8621 ($(objpfx)rpcgen): Remove special build rule and dependency on
8622 libc.
8623 * sunrpc/rpcgen.c: New file.
8624
86252012-03-09 Paul Eggert <eggert@cs.ucla.edu>
8626
8627 [BZ #13673]
8628 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
8629 * stdio-common/bug-vfprintf-nargs.c: Likewise.
8630 * sysdeps/i386/crti.S: Likewise.
8631 * sysdeps/i386/crtn.S: Likewise.
8632 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
8633 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
8634 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
8635 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
8636 * sysdeps/sh/crti.S: Likewise.
8637 * sysdeps/sh/crtn.S: Likewise.
8638 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8639
8640 [BZ #13673]
8641 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
8642 with URL.
8643 * locale/programs/locfile-kw.gperf: Likewise.
8644 * locale/programs/charmap-kw.h: Regenerated.
8645 * locale/programs/locfile-kw.h: Likewise.
8646
8647 [BZ #13673]
8648 * intl/plural.y: Replace FSF snail mail address with URL.
8649 * intl/plural.c: Regenerated.
8650
86512012-03-09 Richard Henderson <rth@twiddle.net>
8652
8653 * include/math_private.h: Remove file.
8654 * math/math_private.h: Move file ...
8655 * sysdeps/generic/math_private.h: ... here.
8656
8657 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
8658 * sysdeps/powerpc/fpu/math_private.h: Likewise.
8659 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8660
8661 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
8662 and <math_private.h>.
8663 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8664 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8665 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8666 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8667 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8668 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
8669 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8670 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8671 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8672 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8673 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8674 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8675 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8676 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8677 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8678 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8679 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8680 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8681 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8682 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8683 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8684 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8685 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8686 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8687 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8688 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8689 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8690 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8691 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8692 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8693 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8694 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8695 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8696 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8697 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8698 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8699 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8700 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8701 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8702 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8703 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
8704 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8705 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8706 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8707 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8708 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8709 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8710 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8711 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8712 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8713 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8714 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8715 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8716 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8717 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8718 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8719 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8720 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8721 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8722 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
8723 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8724 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8725 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8726 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8727 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8728 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8729 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8730 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8731 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
8732 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
8733 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8734 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8735 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8736 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8737 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
8738 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8739 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
8740 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8741 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
8742 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8743 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8744 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8745 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8746 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8747 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8748 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8749 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
8750 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8751 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8752 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8753 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8754 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8755 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8756 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8757 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8758 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8759 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8760 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8761 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8762 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8763 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8764 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8765 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8766 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8767 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8768 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8769 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8770 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8771 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8772 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8773 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8774 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8775 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8776 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8777 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8778 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8779 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8780 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8781 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8782 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8783 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8784 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8785 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8786 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
8787 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8788 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8789 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8790 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
8791 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8792 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8793 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8794 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8795 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8796 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8797 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8798 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8799 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8800 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8801 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
8802 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8803 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8804 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8805 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8806 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
8807 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
8808 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8809 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8810 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8811 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8812 * sysdeps/ieee754/k_standard.c: Likewise.
8813 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8814 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8815 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8816 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8817 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8818 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8819 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8820 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8821 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8822 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8823 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8824 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8825 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8826 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8827 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8828 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8829 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8830 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8831 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8832 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8833 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8834 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8835 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8836 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8837 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8838 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8839 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8840 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8841 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8842 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8843 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8844 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8845 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8846 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8847 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8848 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8849 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8850 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
8851 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8852 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8853 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8854 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8855 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8856 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8857 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8858 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8859 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8860 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8861 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8862 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8863 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8864 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8865 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8866 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8867 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8868 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8869 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
8870 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8871 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8872 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8873 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8874 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8875 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8876 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8877 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8878 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8879 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8880 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8881 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8882 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8883 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8884 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8885 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8886 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8887 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8888 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8889 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
8890 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8891 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8892 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8893 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8894 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8895 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8896 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8897 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
8898 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8899 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8900 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8901 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8902 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8903 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
8904 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8905 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8906 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8907 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8908 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8909 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
8910 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8911 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8912 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
8913 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8914 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8915 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8916 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8917 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
8918 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8919 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8920 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8921 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
8922 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8923 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8924 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8925 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8926 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8927 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8928 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8929 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8930 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8931 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8932 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8933 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8934 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8935 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8936 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8937 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8938 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8939 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8940 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8941 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8942 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8943 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8944 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8945 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8946 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8947 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8948 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8949 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
8950 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8951 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8952 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8953 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8954 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8955 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8956 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8957 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8958 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8959 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8960 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8961 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8962 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
8963 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8964 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8965 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8966 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8967 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
8968 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
8969 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8970 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8971 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8972 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8973 * sysdeps/ieee754/s_lib_version.c: Likewise.
8974 * sysdeps/ieee754/s_matherr.c: Likewise.
8975 * sysdeps/ieee754/s_signgam.c: Likewise.
8976 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8977 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8978 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8979 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8980 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8981 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8982 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
8983 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
8984 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
8985 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8986 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8987 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8988 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8989 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8990 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
8991 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8992 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8993 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8994 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8995 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8996 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8997
89982012-03-09 Joseph Myers <joseph@codesourcery.com>
8999
9000 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
9001 * sunrpc/rpc_main.c: Likewise.
9002 * sunrpc/rpc_svcout.c: Likewise.
9003
90042012-03-09 David S. Miller <davem@davemloft.net>
9005
9006 * include/math_private.h: New file.
9007
90082012-03-09 Joseph Myers <joseph@codesourcery.com>
9009
9010 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
9011 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
9012 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
9013 from <bits/socket_type.h>.
9014 (enum __socket_type): Don't define here.
9015 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
9016 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9017 bits/socket_type.h.
9018
9019 [BZ #13566]
9020 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
9021 checking __USE_GNU.
9022
9023 * Makerules ($(inst_includedir)/%.h): New rule.
9024 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
9025 (install-others): Remove variable setting.
9026 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
9027
90282012-03-08 Richard Henderson <rth@twiddle.net>
9029
9030 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
9031 from macro to inline function; merge with the
9032 !__LIBC_INTERNAL_MATH_INLINES version.
9033 (__ieee754_sqrtf): Likewise.
9034
9035 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
9036 to inline function.
9037 (__rintf, __floor, __floorf): Likewise.
9038
9039 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
9040 macro to inline function.
9041 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
9042
9043 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
9044 not <math/math_private.h>.
9045
90462012-03-08 David S. Miller <davem@davemloft.net>
9047
9048 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
9049 copyright year.
9050 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9051
90522012-03-08 Thomas Schwinge <thomas@codesourcery.com>
9053
9054 * resolv/gai_misc.c (handle_requests): Fix struct timespec
9055 normalization.
9056 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
9057 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9058
90592012-03-08 Ulrich Drepper <drepper@gmail.com>
9060
9061 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
9062 be defined individually, they must be defined as a block. Define
9063 S for printing a string instead of hidint the different by using a
9064 macro for adding the 'l'.
9065 * stdio-common/tst-fphex-wide.c: Adjust.
9066
90672012-03-07 Marek Polacek <polacek@redhat.com>
9068
9069 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
9070
90712012-03-08 Marek Polacek <polacek@redhat.com>
9072
9073 [BZ #13806]
9074 * stdio-common/Makefile (tests): Add tst-fphex-wide.
9075 * stdio-common/tst-fphex.c: Define a few macros to make the
9076 test reusable. Use them.
9077 * stdio-common/tst-fphex-wide.c: New file.
9078
90792012-03-08 Joseph Myers <joseph@codesourcery.com>
9080
9081 [BZ #6911]
9082 * manual/macros.texi (gnusystems): New macro.
9083 (nongnusystems): Likewise.
9084 (gnulinuxhurdsystems): Likewise.
9085 (gnuhurdsystems): Likewise..
9086 (gnulinuxsystems): Likewise.
9087 * manual/charset.texi: Use new macros or @theglibc{} to refer to
9088 variants of the GNU system, not "GNU system".
9089 * manual/conf.texi: Likewise.
9090 * manual/errno.texi: Likewise. Update example of errno macro
9091 expansion.
9092 * manual/filesys.texi: Likewise.
9093 (getumask): Document as specific to GNU/Hurd.
9094 * manual/install.texi: Likewise. Reword some references to
9095 GNU/Linux.
9096 * manual/intro.texi: Likewise.
9097 * manual/io.texi: Likewise.
9098 (File Name Portability): Detail which constraints are inapplicable
9099 to all GNU systems and which are only inapplicable to GNU/Hurd.
9100 * manual/job.texi: Likewise.
9101 * manual/llio.texi: Likewise.
9102 (O_NOCTTY): Document as present on GNU/Linux.
9103 * manual/maint.texi: Likewise.
9104 * manual/memory.texi: Likewise.
9105 * manual/pattern.texi: Likewise.
9106 * manual/pipe.texi: Likewise.
9107 * manual/process.texi: Likewise.
9108 * manual/resource.texi: Likewise.
9109 (RUSAGE_CHILDREN): Remove statement about specifying a particular
9110 child on GNU/Hurd.
9111 * manual/setjmp.texi: Likewise.
9112 * manual/signal.texi: Likewise.
9113 * manual/startup.texi: Likewise.
9114 * manual/stdio.texi: Likewise.
9115 * manual/terminal.texi: Likewise.
9116 (ONLCR): Document as POSIX.
9117 (OXTABS): Document availability on GNU/Linux as XTABS.
9118 (ONOEOT): Document availability separately from other bits.
9119 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
9120 * manual/time.texi: Likewise.
9121 * manual/users.texi: Likewise.
9122 * INSTALL: Regenerated.
9123 * sysdeps/gnu/errlist.c: Regenerated.
9124
9125 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
9126 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
9127 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
9128 puts.
9129 * configure: Regenerated.
9130
91312012-03-07 Joseph Myers <joseph@codesourcery.com>
9132
9133 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
9134 default includes instead of AC_HEADER_CHECK.
9135 * sysdeps/i386/configure: Regenerated.
9136
9137 [BZ #10716]
9138 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
9139 * math/s_cacoshf.c (__cacoshf): Likewise.
9140 * math/s_cacoshl.c (__cacoshl): Likewise.
9141 * math/s_casinh.c (__casinh): Set signs of result from argument.
9142 * math/s_casinhf.c (__casinhf): Likewise.
9143 * math/s_casinhl.c (__casinhl): Likewise.
9144 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9145 (casinh_test): Add more tests.
9146 * sysdeps/i386/fpu/libm-test-ulps: Update.
9147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9148
91492012-03-07 Ulrich Drepper <drepper@gmail.com>
9150
9151 * po/zh_TW.po: Update from translation team.
9152
9153 * login/Makefile (distribute): Remove variable.
9154 * catgets/Makefile: Likewise.
9155 * mach/Makefile: Likewise.
9156 * malloc/Makefile: Likewise.
9157 * misc/Makefile: Likewise.
9158 * iconv/Makefile: Likewise.
9159 * nscd/Makefile: Likewise.
9160 * hurd/Makefile: Likewise.
9161 * manual/Makefile: Likewise.
9162 * locale/Makefile: Likewise.
9163 * intl/Makefile: Likewise.
9164 * conform/Makefile: Likewise.
9165 * nss/Makefile: Likewise.
9166 * time/Makefile: Likewise.
9167 * soft-fp/Makefile: Likewise.
9168 * dirent/Makefile: Likewise.
9169 * gmon/Makefile: Likewise.
9170 * po/Makefile: Likewise.
9171 * rt/Makefile: Likewise.
9172 * socket/Makefile: Likewise.
9173 * math/Makefile: Likewise.
9174 * signal/Makefile: Likewise.
9175 * debug/Makefile: Likewise.
9176 * elf/Makefile: Likewise.
9177 * timezone/Makefile: Likewise.
9178 * stdlib/Makefile: Likewise.
9179 * iconvdata/Makefile: Likewise.
9180 * sunrpc/Makefile: Likewise.
9181 * io/Makefile: Likewise.
9182 * argp/Makefile: Likewise.
9183 * inet/Makefile: Likewise.
9184 * hesiod/Makefile: Likewise.
9185 * grp/Makefile: Likewise.
9186 * csu/Makefile: Likewise.
9187 * wctype/Makefile: Likewise.
9188 * crypt/Makefile: Likewise.
9189 * libio/Makefile: Likewise.
9190 * string/Makefile: Likewise.
9191 * nis/Makefile: Likewise.
9192 * resolv/Makefile: Likewise.
9193 * stdio-common/Makefile: Likewise.
9194 * wcsmbs/Makefile: Likewise.
9195 * dlfcn/Makefile: Likewise.
9196 * posix/Makefile: Likewise.
9197
9198 [BZ #6959]
9199 * timezone/Makefile: Don't install timezone files, just the programs
9200 and scripts.
9201
92022012-03-06 Ulrich Drepper <drepper@gmail.com>
9203
9204 * nss/databases.def: Add missing gshadow entry.
9205
9206 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
9207
92082012-03-06 Marek Polacek <polacek@redhat.com>
9209
9210 [BZ #13726]
9211 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9212 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9213 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9214 * stdio-common/tst-long-dbl-fphex.c: New file.
9215
92162012-03-06 David S. Miller <davem@davemloft.net>
9217
9218 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9219 (set_obp_int): New function.
9220 (get_obp_int): New function.
9221 (__get_clockfreq_via_dev_openprom): Likewise.
9222 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9223 Avoid unused variable warnings on 'val' and use builtin_expect.
9224 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9225 __builtin_expect.
9226 (INLINE_CLONE_SYSCALL): Likewise.
9227
92282012-03-05 David S. Miller <davem@davemloft.net>
9229
9230 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9231
92322012-03-05 Andreas Schwab <schwab@linux-m68k.org>
9233
9234 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9235
9236 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
9237 only for |x| >= 40.
9238 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9239
92402012-03-05 H.J. Lu <hongjiu.lu@intel.com>
9241
9242 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
9243 Replace gettimeofday with __vdso_gettimeofday.
9244
9245 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9246 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
9247 __vdso_clock_gettime and __vdso_getcpu.
9248
9249 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
9250 time with __vdso_time.
9251
92522012-03-05 Joseph Myers <joseph@codesourcery.com>
9253
9254 * manual/lang.texi (size_t): Note types to which size_t may be
9255 equivalent with the GNU C Library, but do not describe when
9256 differences between them are significant.
9257
92582012-03-05 Andreas Jaeger <aj@suse.de>
9259
9260 * sysdeps/i386/fpu/libm-test-ulps: Update.
9261
92622012-03-05 Joseph Myers <joseph@codesourcery.com>
9263
9264 [BZ #3976]
9265 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
9266 (__ieee754_pow): Save and restore rounding mode and use
9267 round-to-nearest for main computations.
9268 * math/libm-test.inc (pow_test_tonearest): New function.
9269 (pow_test_towardzero): Likewise.
9270 (pow_test_downward): Likewise.
9271 (pow_test_upward): Likewise.
9272 (main): Call the new functions.
9273 * sysdeps/i386/fpu/libm-test-ulps: Update.
9274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9275
9276 [BZ #3976]
9277 * math/libm-test.inc (cosh_test_tonearest): New function.
9278 (cosh_test_towardzero): Likewise.
9279 (cosh_test_downward): Likewise.
9280 (cosh_test_upward): Likewise.
9281 (sinh_test_tonearest): Likewise.
9282 (sinh_test_towardzero): Likewise.
9283 (sinh_test_downward): Likewise.
9284 (sinh_test_upward): Likewise.
9285 (main): Call the new functions.
9286 * sysdeps/i386/fpu/libm-test-ulps: Update.
9287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9288
92892012-03-05 Tom de Vries <tom@codesourcery.com>
9290
9291 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
9292 default stack guard is set in last bytes.
9293 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
9294
92952012-03-05 Kees Cook <keescook@chromium.org>
9296
9297 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
9298
9299 [BZ #13656]
9300 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
9301 possibly allocate from heap instead of stack.
9302 * stdio-common/bug-vfprintf-nargs.c: New file.
9303 * stdio-common/Makefile (tests): Add nargs overflow test.
9304
93052012-03-03 Andreas Schwab <schwab@linux-m68k.org>
9306
9307 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9308
93092012-03-03 Marek Polacek <polacek@redhat.com>
9310
9311 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
9312 * math/math_private.h: Likewise.
9313 * stdlib/tst-strtod.c: Likewise.
9314 * sysdeps/i386/i486/bits/atomic.h: Likewise.
9315 * sysdeps/x86_64/bits/atomic.h: Likewise.
9316
93172012-03-02 David S. Miller <davem@davemloft.net>
9318
9319 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
9320 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
9321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
9322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
9323 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
9324 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
9325 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
9326 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
9327
93282012-03-02 Roland McGrath <roland@hack.frob.com>
9329
9330 [BZ #13792]
9331 * manual/examples/README: New file, says the example source files
9332 can be used under GPL>=2.
9333 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
9334 line containing just "*/".
9335 * manual/examples/add.c: Add copyright header (GPL>=2).
9336 * manual/examples/argp-ex1.c: Likewise.
9337 * manual/examples/argp-ex2.c: Likewise.
9338 * manual/examples/argp-ex3.c: Likewise.
9339 * manual/examples/argp-ex4.c: Likewise.
9340 * manual/examples/atexit.c: Likewise.
9341 * manual/examples/db.c: Likewise.
9342 * manual/examples/dir.c: Likewise.
9343 * manual/examples/dir2.c: Likewise.
9344 * manual/examples/execinfo.c: Likewise.
9345 * manual/examples/filecli.c: Likewise.
9346 * manual/examples/filesrv.c: Likewise.
9347 * manual/examples/fmtmsgexpl.c: Likewise.
9348 * manual/examples/genpass.c: Likewise.
9349 * manual/examples/inetcli.c: Likewise.
9350 * manual/examples/inetsrv.c: Likewise.
9351 * manual/examples/isockad.c: Likewise.
9352 * manual/examples/longopt.c: Likewise.
9353 * manual/examples/memopen.c: Likewise.
9354 * manual/examples/memstrm.c: Likewise.
9355 * manual/examples/mkfsock.c: Likewise.
9356 * manual/examples/mkisock.c: Likewise.
9357 * manual/examples/mygetpass.c: Likewise.
9358 * manual/examples/pipe.c: Likewise.
9359 * manual/examples/popen.c: Likewise.
9360 * manual/examples/rprintf.c: Likewise.
9361 * manual/examples/search.c: Likewise.
9362 * manual/examples/select.c: Likewise.
9363 * manual/examples/setjmp.c: Likewise.
9364 * manual/examples/sigh1.c: Likewise.
9365 * manual/examples/sigusr.c: Likewise.
9366 * manual/examples/stpcpy.c: Likewise.
9367 * manual/examples/strdupa.c: Likewise.
9368 * manual/examples/strftim.c: Likewise.
9369 * manual/examples/strncat.c: Likewise.
9370 * manual/examples/subopt.c: Likewise.
9371 * manual/examples/swapcontext.c: Likewise.
9372 * manual/examples/termios.c: Likewise.
9373 * manual/examples/testopt.c: Likewise.
9374 * manual/examples/testpass.c: Likewise.
9375 * manual/examples/timeval_subtract.c: Likewise.
9376
9377 [BZ #13792]
9378 * manual/time.texi (Elapsed Time): Move timeval_subtract example
9379 function to ...
9380 * manual/timeval_subtract.c.texi: ... here, new file.
9381
93822012-03-02 David S. Miller <davem@davemloft.net>
9383
9384 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
9385
93862012-03-02 Joseph Myers <joseph@codesourcery.com>
9387
9388 [BZ #3976]
9389 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
9390 (__sin): Save and restore rounding mode and use round-to-nearest
9391 for all computations.
9392 (__cos): Save and restore rounding mode and use round-to-nearest
9393 for all computations.
9394 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
9395 <fenv.h>.
9396 (tan): Save and restore rounding mode and use round-to-nearest for
9397 all computations.
9398 * math/libm-test.inc (cos_test_tonearest): New function.
9399 (cos_test_towardzero): Likewise.
9400 (cos_test_downward): Likewise.
9401 (cos_test_upward): Likewise.
9402 (sin_test_tonearest): Likewise.
9403 (sin_test_towardzero): Likewise.
9404 (sin_test_downward): Likewise.
9405 (sin_test_upward): Likewise.
9406 (tan_test_tonearest): Likewise.
9407 (tan_test_towardzero): Likewise.
9408 (tan_test_downward): Likewise.
9409 (tan_test_upward): Likewise.
9410 (main): Call the new functions.
9411 * sysdeps/i386/fpu/libm-test-ulps: Update.
9412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9413
9414 [BZ #10135]
9415 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
9416 small n, then large n, before computing and testing k+n.
9417 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9418 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9419 Likewise.
9420 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9421 Likewise.
9422 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
9423 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9424 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9425 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9426 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9427 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9428 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9429 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
9430 * math/libm-test.inc (scalbn_test): Add more tests.
9431 (scalbln_test): Likewise.
9432
9433 * manual/filesys.texi (mode_t): Describe constraints on size and
9434 signedness, not exact equivalence to a particular type.
9435 (ino_t): Likewise.
9436 (ino64_t): Likewise.
9437 (dev_t): Likewise.
9438 (nlink_t): Likewise.
9439 (blkcnt_t): Likewise.
9440 (blkcnt64_t): Likewise.
9441 * manual/llio.texi (off_t): Likewise.
9442
9443 [BZ #3976]
9444 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
9445 (__ieee754_exp): Save and restore rounding mode and use
9446 round-to-nearest for all computations.
9447 * math/libm-test.inc (exp_test_tonearest): New function.
9448 (exp_test_towardzero): Likewise.
9449 (exp_test_downward): Likewise.
9450 (exp_test_upward): Likewise.
9451 (main): Call the new functions.
9452 * sysdeps/i386/fpu/libm-test-ulps: Update.
9453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9454
94552012-03-01 Chris Demetriou <cgd@google.com>
9456
9457 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
9458 have predictable order.
9459
94602012-03-01 David S. Miller <davem@davemloft.net>
9461
9462 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
9463
9464 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
9465 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
9466 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
9467 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
9468
9469 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
9470 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
9471 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
9472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
9473 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
9474 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
9475 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
9476 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
9477 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
9478
9479 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9480
9481 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
9482 * sysdeps/sparc/fpu/libm-test-ulps: to here.
9483 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
9484
9485 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
9486 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9487 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9488 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9489 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9490 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9491 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9492 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9493 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9494 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9495 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9496 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9497 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9498 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9499 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9500 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9501 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
9502 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
9503 * sysdeps/sparc/elf/configure: Regenerated.
9504
95052012-03-01 Joseph Myers <joseph@codesourcery.com>
9506
9507 * configure.in (AS, LD): Require binutils 2.20 or later.
9508 * configure: Regenerated.
9509 * manual/install.texi (Tools for Compilation): Give binutils 2.20
9510 as required minimum version.
9511 * INSTALL: Regenerated.
9512
9513 [BZ #2541]
9514 [BZ #4108]
9515 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
9516 before squaring exponent.
9517 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
9518 bottom long double and 27 bits of top long double before squaring
9519 exponent.
9520 * math/libm-test.inc (erfc_test): Add more tests.
9521 * sysdeps/i386/fpu/libm-test-ulps: Update.
9522 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9524
95252012-03-01 Kai Tietz <ktietz@redhat.com>
9526
9527 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
9528 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
9529 containing bit-fields.
9530 * soft-fp/extended.h (_FP_UNION_E): Likewise.
9531 * soft-fp/single.h (_FP_UNION_S): Likewise.
9532 * soft-fp/double.h (_FP_UNION_D): Likewise.
9533
95342012-02-29 Joseph Myers <joseph@codesourcery.com>
9535
9536 [BZ #13786]
9537 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
9538 not include ../strcmp.S.
9539 [USE_AS_STRNCASECMP_L]: Likewise.
9540 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
9541 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
9542 * sysdeps/i386/i686/multiarch/strncase_l-c.c
9543 (__strncasecmp_l_ia32): Define as alias to
9544 __strncasecmp_l_nonascii.
9545
9546 [BZ #5794]
9547 * math/libm-test.inc (expm1_test): Add test for bug 5794.
9548 * sysdeps/i386/fpu/libm-test-ulps: Update.
9549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9550
9551 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
9552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9553
95542012-02-29 Jeff Law <law@redhat.com>
9555
9556 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
9557 out of bounds read.
9558
95592012-02-29 Marek Polacek <polacek@redhat.com>
9560
9561 [BZ #13706]
9562 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
9563 * elf/Makefile: Add rules to run tst-unused-dep.out.
9564
95652012-02-28 David S. Miller <davem@davemloft.net>
9566
9567 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
9568 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
9569 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
9570 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
9571 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
9572 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
9573
95742012-02-29 Joseph Myers <joseph@codesourcery.com>
9575
9576 * math/libm-test.inc (llround_test): Move one test from
9577 lround_test. Use TEST_f_L in moved test.
9578 (lround_test): Move misplaced test to llround_test. Add testcase
9579 from bug 2561.
9580
95812012-02-28 Ulrich Drepper <drepper@gmail.com>
9582
9583 * sysdeps/x86_64/fpu/e_expf.S: New file.
9584 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
9585
95862012-02-28 Stanislav Brabec <sbrabec@suse.cz>
9587
9588 [BZ #13637]
9589 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
9590 of remain_len that may cause incomplete multi-byte character and
9591 false match.
9592 * posix/bug-regex33.c: New file.
9593 * posix/Makefile (tests): Add bug-regex33.
9594
95952012-02-28 Joseph Myers <joseph@codesourcery.com>
9596
9597 * manual/macros.texi: New file.
9598 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
9599 * manual/libc.texinfo: Include macros.texi.
9600 * manual/creatute.texi: Likewise.
9601 * manual/install.texi: Likewise.
9602 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
9603 @glibcadj{} in references to the GNU C Library.
9604 * manual/charset.texi: Likewise.
9605 * manual/conf.texi: Likewise.
9606 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
9607 when not using those macros.
9608 * manual/creature.texi: Likewise.
9609 * manual/crypt.texi: Likewise.
9610 * manual/errno.texi: Likewise.
9611 * manual/filesys.texi: Likewise.
9612 * manual/header.texi: Likewise.
9613 * manual/install.texi: Likewise.
9614 * manual/intro.texi: Likewise.
9615 * manual/io.texi: Likewise.
9616 * manual/job.texi: Likewise.
9617 * manual/lang.texi: Likewise.
9618 * manual/libc.texiinfo: Likewise.
9619 * manual/llio.texi: Likewise.
9620 * manual/locale.texi: Likewise.
9621 * manual/maint.texi: Likewise.
9622 * manual/math.texi: Likewise.
9623 * manual/memory.texi: Likewise.
9624 * manual/message.texi: Likewise.
9625 * manual/nss.texi: Likewise.
9626 * manual/pattern.texi: Likewise.
9627 * manual/process.texi: Likewise.
9628 * manual/resource.texi: Likewise.
9629 * manual/search.texi: Likewise.
9630 * manual/setjmp.texi: Likewise.
9631 * manual/signal.texi: Likewise.
9632 * manual/socket.texi: Likewise.
9633 * manual/startup.texi: Likewise.
9634 * manual/stdio.texi: Likewise.
9635 * manual/string.texi: Likewise.
9636 * manual/sysinfo.texi: Likewise.
9637 * manual/syslog.texi: Likewise.
9638 * manual/terminal.texi: Likewise.
9639 * manual/time.texi: Likewise.
9640 * manual/users.texi: Likewise.
9641 * INSTALL: Regenerated.
9642 * NOTES: Regenerated.
9643 * sysdeps/gnu/errlist.c: Regenerated.
9644
96452012-02-28 Andreas Schwab <schwab@linux-m68k.org>
9646
9647 * include/dirent.h: Include <dirstream.h> before
9648 <dirent/dirent.h>.
9649
96502012-02-28 David S. Miller <davem@davemloft.net>
9651
9652 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
9653 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
9654 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
9655 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
9656
96572012-02-27 David S. Miller <davem@davemloft.net>
9658
9659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
9660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
9661 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
9662 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
9663
9664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
9665 frame pointer instead of stack pointer relative arg slot.
9666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9667 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9668 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9669
96702012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
9671
9672 [BZ #3992]
9673 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
9674
96752012-02-27 David S. Miller <davem@davemloft.net>
9676
9677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
9678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
9681 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9682 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9683 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
9684 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
9685
96862012-02-27 Joseph Myers <joseph@codesourcery.com>
9687
9688 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
9689 later. Allow versions 5-9.
9690 * configure: Regenerated.
9691 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
9692 required minimum version and 4.6 as recommended version. Do not
9693 mention bugs in GCC 2.7 and 2.8.
9694 * INSTALL: Regenerated.
9695
96962012-02-27 David S. Miller <davem@davemloft.net>
9697
9698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
9699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
9700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
9701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
9702 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
9703 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
9704 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
9705 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
9706
9707 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
9708 manipulate bits before adding and subtracting TWO112[sx].
9709 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9710
97112012-02-27 Roland McGrath <roland@hack.frob.com>
9712
9713 [BZ #13775]
9714 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
9715 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
9716 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
9717 being in POSIX, because they are in 1003.1-2008.
9718
9719 * rt/tst-aio.c: Include <fcntl.h>.
9720 * rt/tst-aio7.c: Likewise.
9721 * rt/tst-aio64.c: Likewise.
9722
9723 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
9724
97252012-02-27 Joseph Myers <joseph@codesourcery.com>
9726
9727 * manual/install.texi (--with-headers): Describe headers as
9728 interface headers, not private headers.
9729 (Specific advice for GNU/Linux systems): Describe use of headers
9730 from "make headers_install", not private headers from older
9731 kernels.
9732 * INSTALL: Regenerated.
9733 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
9734 Change to 2.6.19.
9735 * sysdeps/unix/sysv/linux/configure: Regenerated.
9736
9737 * manual/llio.texi (fclean): Remove documentation.
9738
9739 * manual/Makefile (libc-texi-generated): New variable. Include
9740 version.texi.
9741 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
9742 $(libc-texi-generated), not duplicated list of files.
9743 (version.texi, stamp-version): New rules.
9744 (realclean): Remove $(libc-texi-generated), not individual files
9745 from that list. Do not remove dir-add.texinfo.
9746 * manual/libc.texinfo: Comment out uses of edition numbers and
9747 references to printed manual. Remove last-updated dates.
9748 (EDITION): Comment out.
9749 (ISBN): Likewise.
9750 (VERSION, UPDATED): Remove.
9751 (version.texi): Include.
9752
97532012-02-27 Andreas Schwab <schwab@linux-m68k.org>
9754
9755 * sysdeps/posix/spawni.c: Include <signal.h>.
9756 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
9757 * sysdeps/pthread/aio_fsync.c: Likewise.
9758
97592012-02-26 Ulrich Drepper <drepper@gmail.com>
9760
9761 * conform/Makefile (tests): Run only when not cross-compiling and
9762 when fast-check is not defined.
9763
9764 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
9765 * conform/data/limits.h-data: Fixes for POSIX2008.
9766 * conform/run-conformtest.sh: Run all tests.
9767 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
9768 headers.
9769 * include/bits/dlfcn.h: Likewise.
9770 * include/langinfo.h: Likewise.
9771 * include/monetary.h: Likewise.
9772 * include/sys/poll.h: Likewise.
9773
9774 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
9775 for __USE_GNU.
9776 * posix/spawn.h: Define __need_sigset_t.
9777 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
9778 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
9779 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
9780 to get sigevent_t only.
9781 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
9782 only for __USE_GNU.
9783 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9784 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9785 process_vm_writev only for __USE_GNU.
9786 * termios/termios.h: Declare tcgetsid also for POSIX2008.
9787
9788 * conform/Makefile: For now ignore errors from run-conformtest.
9789 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
9790 POSIX to avoid namespace pollution. Don't prepend headers.
9791 * conform/data/aio.h-data: Fixes for POSIX testing.
9792 * conform/data/fcntl.h-data: Likewise.
9793 * conform/data/glob.h-data: Likewise.
9794 * conform/data/grp.h-data: Likewise.
9795 * conform/data/pthread.h-data: Likewise.
9796 * conform/data/pwd.h-data: Likewise.
9797 * conform/data/signal.h-data: Likewise.
9798 * conform/data/spawn.h-data: Likewise.
9799 * conform/data/stdio.h-data: Likewise.
9800 * conform/data/stdlib.h-data: Likewise.
9801 * conform/data/stropts.h-data: Likewise.
9802 * conform/data/sys/mman.h-data: Likewise.
9803 * conform/data/sys/stat.h-data: Likewise.
9804 * conform/data/sys/types.h-data: Likewise.
9805 * conform/data/sys/wait.h-data: Likewise.
9806 * conform/data/time.h-data: Likewise.
9807 * conform/data/unistd.h-data: Likewise.
9808 * conform/data/utime.h-data: Likewise.
9809
9810 * io/sys/stat.h: fchmod was always in POSIX.
9811 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
9812 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
9813 * rt/aio.h: Define __need_timespec before including <time.h>.
9814 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
9815 struct. Add forward declaration of pthread_attr_t and use it in
9816 sigevent.
9817 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9818 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9819 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
9820 always remove CLK_TCK definition.
9821
98222012-02-26 Andreas Schwab <schwab@linux-m68k.org>
9823
9824 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
9825
98262012-02-25 Ulrich Drepper <drepper@gmail.com>
9827
9828 * conform/run-conformtest.sh: New file.
9829 * conform/Makefile: Run run-conformtest for tests.
9830 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
9831 support.
9832
9833 * conform/data/uchar.h-data: New file.
9834 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
9835 * conform/data/arpa/inet.h-data: Likewise.
9836 * conform/data/assert.h-data: Likewise.
9837 * conform/data/complex.h-data: Likewise.
9838 * conform/data/cpio.h-data: Likewise.
9839 * conform/data/ctype.h-data: Likewise.
9840 * conform/data/dirent.h-data: Likewise.
9841 * conform/data/dlfcn.h-data: Likewise.
9842 * conform/data/errno.h-data: Likewise.
9843 * conform/data/fcntl.h-data: Likewise.
9844 * conform/data/float.h-data: Likewise.
9845 * conform/data/fmtmsg.h-data: Likewise.
9846 * conform/data/fnmatch.h-data: Likewise.
9847 * conform/data/ftw.h-data: Likewise.
9848 * conform/data/glob.h-data: Likewise.
9849 * conform/data/grp.h-data: Likewise.
9850 * conform/data/iconv.h-data: Likewise.
9851 * conform/data/inttypes.h-data: Likewise.
9852 * conform/data/langinfo.h-data: Likewise.
9853 * conform/data/libgen.h-data: Likewise.
9854 * conform/data/limits.h-data: Likewise.
9855 * conform/data/locale.h-data: Likewise.
9856 * conform/data/math.h-data: Likewise.
9857 * conform/data/monetary.h-data: Likewise.
9858 * conform/data/mqueue.h-data: Likewise.
9859 * conform/data/ndbm.h-data: Likewise.
9860 * conform/data/net/if.h-data: Likewise.
9861 * conform/data/netdb.h-data: Likewise.
9862 * conform/data/netinet/in.h-data: Likewise.
9863 * conform/data/nl_types.h-data: Likewise.
9864 * conform/data/poll.h-data: Likewise.
9865 * conform/data/pthread.h-data: Likewise.
9866 * conform/data/pwd.h-data: Likewise.
9867 * conform/data/regex.h-data: Likewise.
9868 * conform/data/sched.h-data: Likewise.
9869 * conform/data/search.h-data: Likewise.
9870 * conform/data/semaphore.h-data: Likewise.
9871 * conform/data/setjmp.h-data: Likewise.
9872 * conform/data/signal.h-data: Likewise.
9873 * conform/data/spawn.h-data: Likewise.
9874 * conform/data/stdarg.h-data: Likewise.
9875 * conform/data/stdio.h-data: Likewise.
9876 * conform/data/stdlib.h-data: Likewise.
9877 * conform/data/string.h-data: Likewise.
9878 * conform/data/strings.h-data: Likewise.
9879 * conform/data/stropts.h-data: Likewise.
9880 * conform/data/sys/ipc.h-data: Likewise.
9881 * conform/data/sys/mman.h-data: Likewise.
9882 * conform/data/sys/msg.h-data: Likewise.
9883 * conform/data/sys/resource.h-data: Likewise.
9884 * conform/data/sys/select.h-data: Likewise.
9885 * conform/data/sys/sem.h-data: Likewise.
9886 * conform/data/sys/shm.h-data: Likewise.
9887 * conform/data/sys/socket.h-data: Likewise.
9888 * conform/data/sys/stat.h-data: Likewise.
9889 * conform/data/sys/statvfs.h-data: Likewise.
9890 * conform/data/sys/time.h-data: Likewise.
9891 * conform/data/sys/timeb.h-data: Likewise.
9892 * conform/data/sys/times.h-data: Likewise.
9893 * conform/data/sys/types.h-data: Likewise.
9894 * conform/data/sys/uio.h-data: Likewise.
9895 * conform/data/sys/un.h-data: Likewise.
9896 * conform/data/sys/utsname.h-data: Likewise.
9897 * conform/data/sys/wait.h-data: Likewise.
9898 * conform/data/syslog.h-data: Likewise.
9899 * conform/data/tar.h-data: Likewise.
9900 * conform/data/termios.h-data: Likewise.
9901 * conform/data/utime.h-data: Likewise.
9902 * conform/data/utmpx.h-data: Likewise.
9903 * conform/data/varargs.h-data: Likewise.
9904 * conform/data/wchar.h-data: Likewise.
9905 * conform/data/wctype.h-data: Likewise.
9906 * conform/data/wordexp.h-data: Likewise.
9907
9908 * include/stropts.h: New file.
9909 * include/uchar.h: New file.
9910 * include/aio.h: Changes to allow conformtest.pl to use the headers.
9911 * include/assert.h: Likewise.
9912 * include/ctype.h: Likewise.
9913 * include/dirent.h: Likewise.
9914 * include/dlfcn.h: Likewise.
9915 * include/fcntl.h: Likewise.
9916 * include/fnmatch.h: Likewise.
9917 * include/glob.h: Likewise.
9918 * include/grp.h: Likewise.
9919 * include/libio.h: Likewise.
9920 * include/locale.h: Likewise.
9921 * include/math.h: Likewise.
9922 * include/net/if.h: Likewise.
9923 * include/netdb.h: Likewise.
9924 * include/netinet/in.h: Likewise.
9925 * include/pthread.h: Likewise.
9926 * include/pwd.h: Likewise.
9927 * include/regex.h: Likewise.
9928 * include/sched.h: Likewise.
9929 * include/search.h: Likewise.
9930 * include/setjmp.h: Likewise.
9931 * include/signal.h: Likewise.
9932 * include/stdio.h: Likewise.
9933 * include/stdlib.h: Likewise.
9934 * include/string.h: Likewise.
9935 * include/sys/cdefs.h: Likewise.
9936 * include/sys/mman.h: Likewise.
9937 * include/sys/msg.h: Likewise.
9938 * include/sys/resource.h: Likewise.
9939 * include/sys/select.h: Likewise.
9940 * include/sys/socket.h: Likewise.
9941 * include/sys/stat.h: Likewise.
9942 * include/sys/statvfs.h: Likewise.
9943 * include/sys/time.h: Likewise.
9944 * include/sys/times.h: Likewise.
9945 * include/sys/uio.h: Likewise.
9946 * include/sys/utsname.h: Likewise.
9947 * include/sys/wait.h: Likewise.
9948 * include/termios.h: Likewise.
9949 * include/time.h: Likewise.
9950 * include/ulimit.h: Likewise.
9951 * include/unistd.h: Likewise.
9952 * include/utime.h: Likewise.
9953 * include/wchar.h: Likewise.
9954 * include/wctype.h: Likewise.
9955 * include/wordexp.h: Likewise.
9956
9957 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
9958
9959 * time/time.h: TIME_UTC must be a macro.
9960 Make timespec_get available for ISO C11 only as well.
9961
99622012-02-24 Ulrich Drepper <drepper@gmail.com>
9963
9964 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
9965 Reported by Peng Haitao <penght@cn.fujitsu.com>.
9966
99672012-02-24 Joseph Myers <joseph@codesourcery.com>
9968
9969 * configure.in: Use -o not -a in test for unsupported multi-arch.
9970
99712012-02-24 Joseph Myers <joseph@codesourcery.com>
9972
9973 * manual/texinfo.tex: Update to version 2012-01-19.16.
9974
99752012-02-24 Joseph Myers <joseph@codesourcery.com>
9976
9977 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
9978
99792012-02-24 Roland McGrath <roland@hack.frob.com>
9980
9981 [BZ #13738]
9982 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
9983 * manual/fdl-1.3.texi: New file.
9984 * manual/fdl-1.1.texi: File removed.
9985
9986 [BZ #13738]
9987 * manual/libc.texinfo (FDL_VERSION): New @set.
9988 Use it for mention of FDL in cover text.
9989 (Documentation License): Use it in @include file name.
9990
99912012-02-22 Joseph Myers <joseph@codesourcery.com>
9992 Roland McGrath <roland@hack.frob.com>
9993
9994 [BZ #5461]
9995 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
9996 not LONG_LONG_MAX and LONG_LONG_MIN.
9997 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
9998 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
9999 name.
10000 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
10001
100022012-02-22 Joseph Myers <joseph@codesourcery.com>
10003
10004 [BZ #2547]
10005 [BZ #11365]
10006 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
10007 manipulate bits before adding and subtracting TWO23[sx].
10008 * math/libm-test.inc (nearbyint_test): Add more tests.
10009
100102012-02-22 Joseph Myers <joseph@codesourcery.com>
10011
10012 [BZ #2548]
10013 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
10014 bits before adding and subtracting TWO23[sx].
10015 * math/libm-test.inc (rint_test): Add more tests.
10016 (rint_test_tonearest): Likewise.
10017 (rint_test_towardzero): Likewise.
10018 (rint_test_downward): Likewise.
10019 (rint_test_upward: Likewise.
10020
100212012-02-22 Joseph Myers <joseph@codesourcery.com>
10022
10023 [BZ #10110]
10024 * include/stdc-predef.h: New file. Extracted from features.h.
10025 * include/features.h: Include stdc-predef.h.
10026 * Makefile (headers): Add stdc-predef.h.
10027 * CONFORMANCE (Compiler limitations): Update.
10028
100292012-02-22 Joseph Myers <joseph@codesourcery.com>
10030
10031 * manual/libc.texinfo (VERSION, UPDATED): Revert.
10032
100332012-02-21 David S. Miller <davem@davemloft.net>
10034
10035 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
10036 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10037
100382012-02-20 David S. Miller <davem@davemloft.net>
10039
10040 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
10041 using a normal save/restore sequence, rather than allocating a
10042 dummy stack frame just to store a frame pointer and restore.
10043 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10044
100452012-02-21 Joseph Myers <joseph@codesourcery.com>
10046
10047 * manual/install.texi: Fix stray word in line-wrapped comment.
10048
100492012-02-20 David S. Miller <davem@davemloft.net>
10050
10051 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
10052 both binutils and gcc support GOTDATA.
10053
10054 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
10055 "rd %pc" in the PIC register setup sequences.
10056
10057 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
10058 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10059 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10060 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10061 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10062 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10063 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10064 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10065 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
10066 (SYSCALL_ERROR_HANDLER): Likewise.
10067 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10068 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10069 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
10070 (SYSCALL_ERROR_HANDLER): Likewise.
10071
10072 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
10073 (HAVE_GCC_GOTDATA): New.
10074 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
10075 relocation support in both binutils and gcc.
10076 * sysdeps/sparc/elf/configure: Regenerate.
10077
10078 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
10079 * sysdeps/sparc/sparc32/elf/configure: Delete.
10080 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
10081 * sysdeps/sparc/sparc64/elf/configure: Delete.
10082 * sysdeps/sparc/elf/configure.in: New file.
10083 * sysdeps/sparc/elf/configure: Generate.
10084
10085 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
10086 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
10087 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10088 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
10089 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
10090
100912012-02-21 Joseph Myers <joseph@codesourcery.com>
10092
10093 * manual/install.texi: Do not mention specific glibc version
10094 numbers.
10095 * manual/libc.texinfo (VERSION, UPDATED): Update.
10096 (@copying): Use @copyright{} and range of years.
10097
100982012-02-21 Joseph Myers <joseph@codesourcery.com>
10099
10100 [BZ #13695]
10101 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
10102 [crti.S not in sysdirs] (generated): Do not append.
10103 [crti.S not in sysdirs] (omit-deps): Likewise.
10104 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
10105 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
10106 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
10107 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
10108 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
10109 Likewise.
10110 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
10111 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
10112 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
10113 * csu/defs.awk: Remove file.
10114 * sysdeps/generic/initfini.c: Likewise.
10115 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
10116 variable.
10117 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
10118 Likewise.
10119
101202012-02-20 Joseph Myers <joseph@codesourcery.com>
10121
10122 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
10123 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
10124 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
10125 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
10126 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10127 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
10128 <bits/epoll.h>.
10129 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
10130 (__EPOLL_PACKED): Define to empty if not defined by
10131 <bits/epoll.h>.
10132 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
10133 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10134 bits/epoll.h.
10135
101362012-02-20 Joseph Myers <joseph@codesourcery.com>
10137
10138 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
10139 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
10140 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10141 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10142 <bits/timerfd.h>.
10143 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10144 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10145 bits/timerfd.h.
10146
101472012-02-20 Joseph Myers <joseph@codesourcery.com>
10148
10149 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10150 in C locale.
10151 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10152 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10153 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10155
101562012-02-20 Aurelien Jarno <aurelien@aurel32.net>
10157
10158 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10159 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10160
101612012-02-19 Andreas Schwab <schwab@linux-m68k.org>
10162
10163 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10164 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10165 defined.
10166 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10167 Likewise.
10168 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10169 entry for 2.16.
10170
101712012-02-19 Aurelien Jarno <aurelien@aurel32.net>
10172
10173 * math/w_acos.c: Use non-signaling floating-point comparisons.
10174 * math/w_acosf.c: Likewise.
10175 * math/w_acosh.c: Likewise.
10176 * math/w_acoshf.c: Likewise.
10177 * math/w_acoshl.c: Likewise.
10178 * math/w_acosl.c: Likewise.
10179 * math/w_asin.c: Likewise.
10180 * math/w_asinf.c: Likewise.
10181 * math/w_asinl.c: Likewise.
10182 * math/w_atanh.c: Likewise.
10183 * math/w_atanhf.c: Likewise.
10184 * math/w_atanhl.c: Likewise.
10185 * math/w_exp2.c: Likewise.
10186 * math/w_exp2f.c: Likewise.
10187 * math/w_exp2l.c: Likewise.
10188 * math/w_j0.c: Likewise.
10189 * math/w_j0f.c: Likewise.
10190 * math/w_j0l.c: Likewise.
10191 * math/w_j1.c: Likewise.
10192 * math/w_j1f.c: Likewise.
10193 * math/w_j1l.c: Likewise.
10194 * math/w_jn.c: Likewise.
10195 * math/w_jnf.c: Likewise.
10196 * math/w_log.c: Likewise.
10197 * math/w_log10.c: Likewise.
10198 * math/w_log10f.c: Likewise.
10199 * math/w_log10l.c: Likewise.
10200 * math/w_log2.c: Likewise.
10201 * math/w_log2f.c: Likewise.
10202 * math/w_log2l.c: Likewise.
10203 * math/w_logf.c: Likewise.
10204 * math/w_logl.c: Likewise.
10205 * math/w_sqrt.c: Likewise.
10206 * math/w_sqrtf.c: Likewise.
10207 * math/w_sqrtl.c: Likewise.
10208 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10209 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10210 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10211 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10212 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10213
102142012-02-19 Joseph Myers <joseph@codesourcery.com>
10215
10216 [BZ #9739]
10217 * manual/string.texi (strnlen): Use correct parameter name in
10218 equivalent expression.
10219
102202012-02-19 Joseph Myers <joseph@codesourcery.com>
10221
10222 [BZ #11174]
10223 * manual/users.texi (seteuid): Consistently use neweuid for
10224 argument name.
10225
102262012-02-19 Joseph Myers <joseph@codesourcery.com>
10227
10228 [BZ #13704]
10229 * manual/nss.texi (Services in the NSS configuration): Correct
10230 list of services in example configuration file.
10231
102322012-02-19 Nick Bowler <nbowler@draconx.ca>
10233
10234 [BZ #11322]
10235 * manual/arith.texi: Remove statements about negative zero
10236 behaving identically to zero.
10237
102382012-02-18 Joseph Myers <joseph@codesourcery.com>
10239
10240 [BZ #5993]
10241 * manual/install.texi: Do not document upgrading from libc5.
10242
102432012-02-18 Joseph Myers <joseph@codesourcery.com>
10244
10245 [BZ #4596]
10246 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
10247
102482012-02-18 David S. Miller <davem@davemloft.net>
10249
10250 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
10251 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
10252 %o7 across the call.
10253 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
10254 instead.
10255 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
10256 SETUP_PIC_REG_LEAF.
10257 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10258 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
10259 * sysdeps/sparc/crtn.S: Likewise.
10260
102612012-02-17 Ulrich Drepper <drepper@gmail.com>
10262
10263 * aout/Makefile: Remove.
10264
102652012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
10266
10267 [BZ #13058]
10268 * manual/examples/argp-ex1.c (main): Format definition in GNU
10269 style.
10270 * manual/examples/argp-ex2.c (main): Likewise.
10271 * manual/examples/argp-ex3.c (main): Likewise.
10272 * manual/examples/argp-ex4.c (main): Likewise.
10273 * manual/examples/longopt.c (main): Use new-style prototype
10274 definition.
10275 * manual/examples/strncat.c (main): Specify return type and use
10276 (void) for arguments.
10277 * manual/examples/subopt.c (main): Use char **argv argument.
10278
102792012-02-17 Joseph Myers <joseph@codesourcery.com>
10280
10281 [BZ #5077]
10282 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
10283 rounding modes.
10284
102852012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
10286
10287 [BZ #6907]
10288 * manual/string.texi (strchr): Change when strchrnul is
10289 recommended.
10290
102912012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
10292
10293 [BZ #174]
10294 * manual/locale.texi (setlocale): Document LOCPATH.
10295
102962012-02-17 Joseph Myers <joseph@codesourcery.com>
10297
10298 [BZ #10210]
10299 * manual/process.texi (execle): Move @dots{} before last argument.
10300
103012012-02-17 Paul Bolle <pebolle@tiscali.nl>
10302
10303 [BZ #12047]
10304 * manual/charset.texi (Generic Charset Conversion): Fix typo
10305 (LC_TYPE -> LC_CTYPE).
10306
103072012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
10308
10309 [BZ #5805]
10310 * manual/arith.texi (scalbn): Use @var{} on parameter names.
10311 (scalbnf): Likewise.
10312 (scalbnl): Likewise.
10313 (scalbln): Likewise.
10314 (scalblnf): Likewise.
10315 (scalblnl): Likewise.
10316 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
10317 (vwarnx): Likewise.
10318 (verr): Likewise.
10319 (verrx): Likewise.
10320 * manual/filesys.texi (telldir): Use braces around return type.
10321 * manual/llio.texi (mmap): Add space after comma.
10322 (mmap64): Likewise.
10323 * manual/math.texi (jn): Use @var{} on parameter names.
10324 (jnf): Likewise.
10325 (jnl): Likewise.
10326 (yn): Likewise.
10327 (ynf): Likewise.
10328 (ynl): Likewise.
10329 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
10330 line.
10331 * manual/resource.texi (ulimit): Use @dots{} instead of literal
10332 "...".
10333 (sched_get_priority_min): Remove semicolon on @deftypefun line.
10334 (sched_get_priority_max): Likewise.
10335 * manual/signal.texi (sigvec): Add space after comma.
10336 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
10337 names.
10338 (if_indextoname): Likewise.
10339 (if_freenameindex): Likewise.
10340 (sendto): Use ',' instead of '.' in prototype.
10341 * manual/startup.texi (syscall): Use @dots{} instead of literal
10342 "...".
10343 * manual/stdio.texi (__fpending): Separate initial words of
10344 paragraph from @deftypefun line.
10345 * manual/syslog.texi (syslog): Use @dots{} instead of literal
10346 "...".
10347 (vsyslog): Use @var{} on parameter names.
10348 * manual/terminal.texi (stty): Use @var{} on parameter names.
10349 * manual/users.texi (getutmp): Use @var{} on parameter names.
10350 (getutmpx): Likewise.
10351
103522012-02-17 Joseph Myers <joseph@codesourcery.com>
10353
10354 [BZ #6884]
10355 * manual/stdio.texi (fopen): Fix typos in description of
10356 ",ccs=STRING".
10357
103582012-02-17 Aurelien Jarno <aurelien@aurel32.net>
10359
10360 [BZ #4026]
10361 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
10362 get clock_id definition.
10363
103642012-02-17 Thomas Schwinge <thomas@schwinge.name>
10365
10366 [BZ #4822]
10367 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
10368 (madvise): Cast every argument to void on its own.
10369
103702012-02-17 Joseph Myers <joseph@codesourcery.com>
10371
10372 [BZ #9902]
10373 * manual/startup.texi (Exit Status): Fix typo.
10374
103752012-02-17 Joseph Myers <joseph@codesourcery.com>
10376
10377 [BZ #10140]
10378 * manual/examples/argp-ex1.c: Include <stdlib.h>.
10379 * manual/examples/argp-ex2.c: Likewise.
10380 * manual/examples/argp-ex3.c: Likewise.
10381
103822012-02-16 Richard Henderson <rth@redhat.com>
10383
10384 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
10385 * sysdeps/s390/s390-32/initfini.c: Remove.
10386 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
10387 * sysdeps/s390/s390-64/initfini.c: Remove.
10388
103892012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10390
10391 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
10392 compiler output for sysdeps/generic/initfini.c.
10393 * sysdeps/sh/elf/initfini.c: Remove file.
10394
103952012-02-16 David S. Miller <davem@davemloft.net>
10396
10397 [BZ #11494]
10398 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
10399
10400 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
10401 * sysdeps/sparc/crti.S: New file.
10402 * sysdeps/sparc/crtn.S: New file.
10403 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
10404 * sysdeps/sparc/sparc64/Makefile: Likewise.
10405
104062012-02-15 Mike Frysinger <vapier@gentoo.org>
10407
10408 [BZ #3335]
10409 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
10410
104112012-02-15 Roland McGrath <roland@hack.frob.com>
10412
10413 [BZ #4822]
10414 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
10415
10416 * mach/devstream.c (cookie_io_functions_t): Macro removed.
10417 (write, read, close): Likewise.
10418 Patch by Aurelien Jarno <aurelien@aurel32.net>.
10419
104202012-02-15 Joseph Myers <joseph@codesourcery.com>
10421
10422 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
10423 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
10424 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
10425 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
10426 <bits/signalfd.h>.
10427 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
10428 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10429 bits/signalfd.h.
10430
104312012-02-14 Marek Polacek <polacek@redhat.com>
10432
10433 * sysdeps/x86_64/crti.S: New file.
10434 * sysdeps/x86_64/crtn.S: New file.
10435 * sysdeps/x86_64/elf/initfini.c: Remove file.
10436
104372012-02-13 Joseph Myers <joseph@codesourcery.com>
10438
10439 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
10440 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
10441 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
10442 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
10443 <bits/inotify.h>.
10444 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
10445 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10446 bits/inotify.h.
10447
104482012-02-13 Joseph Myers <joseph@codesourcery.com>
10449
10450 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
10451 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
10452 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
10453 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
10454 <bits/eventfd.h>.
10455 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
10456 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10457 bits/eventfd.h.
10458
104592012-02-10 Thomas Schwinge <thomas@codesourcery.com>
10460
10461 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
10462 __feraiseexcept instead of feraiseexcept.
10463
10464 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
10465 nanosleep invocations.
10466 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
10467 strings, and add error checking for a nanosleep invocations.
10468
104692012-02-09 Paul Eggert <eggert@cs.ucla.edu>
10470
10471 Replace FSF snail mail address with URLs, as per GNU coding standards.
10472 Most of the snail mail addresses were wrong anyway, and omitting
10473 them makes the source code easier to maintain. Almost all of the
10474 changes are to license notices and to locale LC_IDENTIFICATION
10475 addresses, except for this one:
10476 * manual/libc.texinfo: In "Published by", give the FSF's URL,
10477 not its snail mail address.
10478
104792012-02-09 Richard Henderson <rth@twiddle.net>
10480
10481 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
10482 of kernel-features.h.
10483
10484 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
10485
104862012-02-08 Marek Polacek <polacek@redhat.com>
10487
10488 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
10489 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
10490 * sysdeps/gnu/_G_config.h: Likewise.
10491 * sysdeps/generic/_G_config.h: Likewise.
10492
104932012-02-08 Andreas Schwab <schwab@linux-m68k.org>
10494
10495 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
10496 tests.
10497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10498
10499 * sysdeps/powerpc/powerpc32/crti.S: New file.
10500 * sysdeps/powerpc/powerpc32/crtn.S: New file.
10501 * sysdeps/powerpc/powerpc64/crti.S: New file.
10502 * sysdeps/powerpc/powerpc64/crtn.S: New file.
10503
10504 * Makeconfig (have-initfini): Don't set.
10505 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
10506 * configure.in (nopic_initfini): Don't substitute.
10507 * config.h.in (HAVE_INITFINI): Don't #undef.
10508 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
10509 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
10510
105112012-02-08 Joseph Myers <joseph@codesourcery.com>
10512
10513 Support crti.S and crtn.S provided directly by architectures.
10514 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
10515 [crti.S in sysdirs] (omit-deps): Likewise.
10516 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
10517 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
10518 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
10519 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
10520 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
10521 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
10522 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
10523 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
10524 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
10525 compiler output for sysdeps/generic/initfini.c.
10526 * sysdeps/i386/elf/Makefile: Remove file.
10527 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
10528
105292012-02-07 Marek Polacek <polacek@redhat.com>
10530
10531 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
10532 * sysdeps/gnu/_G_config.h: Likewise.
10533 * sysdeps/mach/hurd/_G_config.h: Likewise.
10534
105352012-02-07 Marek Polacek <polacek@redhat.com>
10536
10537 * math/Makefile (tests): Add tst-CMPLX2.
10538 * math/tst-CMPLX2.c: New file.
10539
105402012-02-07 Andreas Schwab <schwab@linux-m68k.org>
10541
10542 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10543
10544 * math/libm-test.inc (jn_test): Add missing L suffix.
10545
105462012-02-06 Marek Polacek <polacek@redhat.com>
10547
10548 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
10549 * sysdeps/i386/fpu/e_powf.S: Likewise.
10550 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10551 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10552 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10553 * sysdeps/i386/fpu/e_pow.S: Likewise.
10554 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10555 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10556 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10557 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10558 * sysdeps/i386/fpu/e_log2.S: Likewise.
10559 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10560 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10561 * sysdeps/i386/fpu/e_powl.S: Likewise.
10562 * sysdeps/i386/fpu/s_log1p.S: Likewise.
10563 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10564 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10565 * sysdeps/i386/fpu/e_logl.S: Likewise.
10566 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10567 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
10568 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10569 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10570 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10571 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10572 * sysdeps/i386/fpu/e_log.S: Likewise.
10573 * sysdeps/i386/fpu/s_cexp.S: Likewise.
10574 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10575 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
10576 * sysdeps/i386/fpu/e_logf.S: Likewise.
10577 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10578 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10579 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
10580 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10581 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10582 * sysdeps/i386/fpu/e_log10.S: Likewise.
10583 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10584 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10585 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10586 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10587 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10588 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10589 * sysdeps/i386/asm-syntax.h: Likewise.
10590 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10591 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10592 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10593 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
10594 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
10595 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10596 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10597 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10598 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10599 * sysdeps/powerpc/sysdep.h: Likewise.
10600 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
10601 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10602
106032012-02-06 Joseph Myers <joseph@codesourcery.com>
10604
10605 [BZ #411]
10606 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
10607
106082012-02-06 Joseph Myers <joseph@codesourcery.com>
10609
10610 * sysdeps/i386/sysdep.h: Include <features.h>.
10611 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
10612 version.
10613
106142012-02-05 Joseph Myers <joseph@codesourcery.com>
10615
10616 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
10617 Define.
10618 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
10619 LOAD_PIC_REG_STR.
10620
106212012-02-03 Joseph Myers <joseph@codesourcery.com>
10622
10623 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
10624 (SETUP_PIC_REG): Use GET_PC_THUNK.
10625 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
10626 macro.
10627
106282012-02-03 Joseph Myers <joseph@codesourcery.com>
10629
10630 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
10631 for non-PIC compilation.
10632 (SETUP_PIC_REG): Add .p2align directive.
10633 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
10634 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10635 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10636 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10637 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10638 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10639 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10640 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10641 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10642 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10643 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10644 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10645 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10646 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10647 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10648 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10649 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10650 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10651 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10652 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10653 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10654 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10655 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10656 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10657 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10658 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10659 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10660 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10661 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10662 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10663 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10664 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10665 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10666 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10667 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10668 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10669 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10670 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10671 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10672 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10673 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10674
106752012-02-03 Joseph Myers <joseph@codesourcery.com>
10676
10677 * math/tst-CMPLX.c: Include <stdio.h>.
10678
106792012-01-31 Joseph Myers <joseph@codesourcery.com>
10680
10681 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
10682 float.
10683 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10684 * sysdeps/sparc/bits/mathdef.h: Likewise.
10685
106862012-01-31 Marek Polacek <polacek@redhat.com>
10687
10688 * libio/libio.h: Don't define _PARAMS.
10689 * locale/programs/config.h: Don't define PARAMS.
10690 * stdlib/strtol_l.c: Likewise.
10691 (__strtol_l): Remove PARAMS from the prototype.
10692
106932012-01-31 Ulrich Drepper <drepper@gmail.com>
10694
10695 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
10696 names. Just use the correct names. Remove unnecessary wrapper
10697 functions.
10698 * malloc/arena.c: Likewise.
10699 * malloc/hooks.c: Likewise.
10700
10701 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
10702 ARENA_TEST says not to. Simplify test for creation of a new arena.
10703 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
10704
107052012-01-30 Ulrich Drepper <drepper@gmail.com>
10706
10707 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
10708 into tail calls.
10709 (update_get_addr): New function.
10710 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
10711 GET_ADDR_MODULE parameter.
10712
107132012-01-30 Joseph Myers <joseph@codesourcery.com>
10714
10715 * crypt/cert.c: Remove __STDC__ conditionals.
10716 * crypt/crypt-entry.c: Likewise.
10717 * crypt/crypt_util.c: Likewise.
10718 * libio/filedoalloc.c: Likewise.
10719 * libio/fileops.c: Likewise.
10720 * libio/genops.c: Likewise.
10721 * libio/iofclose.c: Likewise.
10722 * libio/iofdopen.c: Likewise.
10723 * libio/iofopen.c: Likewise.
10724 * libio/iofopen64.c: Likewise.
10725 * libio/iogetdelim.c: Likewise.
10726 * libio/iopopen.c: Likewise.
10727 * libio/obprintf.c: Likewise.
10728 * libio/oldfileops.c: Likewise.
10729 * libio/oldiofclose.c: Likewise.
10730 * libio/oldiofdopen.c: Likewise.
10731 * libio/oldiofopen.c: Likewise.
10732 * libio/oldiopopen.c: Likewise.
10733 * libio/wfiledoalloc.c: Likewise.
10734 * libio/wgenops.c: Likewise.
10735 * locale/programs/xmalloc.c: Likewise.
10736 * misc/syslog.c: Likewise.
10737 * stdio-common/xbug.c: Likewise.
10738 * string/memchr.c: Likewise.
10739 * string/memcmp.c: Likewise.
10740 * string/memrchr.c: Likewise.
10741 * string/rawmemchr.c: Likewise.
10742 * sysdeps/posix/getcwd.c: Likewise.
10743 * time/strftime_l.c: Likewise.
10744
107452012-01-30 Joseph Myers <joseph@codesourcery.com>
10746
10747 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
10748 * config.make.in (config-cflags-sse2avx): Define.
10749 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
10750 Fix typo.
10751
107522012-01-29 Chris Metcalf <cmetcalf@tilera.com>
10753
10754 * scripts/config.guess: Update from upstream config git repository.
10755 * scripts/config.sub: Likewise.
10756
107572012-01-28 Chris Metcalf <cmetcalf@tilera.com>
10758
10759 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
10760 (EM_NUM): Update.
10761 (R_TILEPRO_*, R_TILEGX_*): New macros.
10762
10763 * scripts/firstversions.awk: Fix bug in version range handling.
10764
10765 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
10766
10767 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
10768
10769 * include/sys/epoll.h: New file.
10770 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
10771 libc_hidden_def.
10772
107732012-01-28 Ulrich Drepper <drepper@gmail.com>
10774
10775 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
10776 Avoid unnecessary __WORDSIZE == 64 test.
10777 (fmaxf): Use VEX format if possible.
10778 (fmax): Likewise.
10779 (fminf): Likewise.
10780 (fmin): Likewise.
10781
10782 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
10783 * math/math_private.h: Remove libc_fegetround* and
10784 libc_fesetround*.
10785 * sysdeps/i386/configure.in: Check for -msse2avx.
10786 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
10787 also if SSE2AVX is defined.
10788 Remove libc_fegetround* and libc_fesetround*.
10789 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
10790 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
10791 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
10792 of HAS_YMM_USABLE.
10793 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10794 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10795 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10796 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10797 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10798
10799 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
10800
108012012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10802
10803 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
10804 size is not set.
10805 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10806
108072012-01-27 Ulrich Drepper <drepper@gmail.com>
10808
10809 [BZ #13618]
10810 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
10811 relocation.
10812 * Makeconfig (libm): Define.
10813 * elf/Makefile: Add rules to build and run tst-relsort1.
10814 * elf/tst-relsort1.c: New file.
10815 * elf/tst-relsort1mod1.c: New file.
10816 * elf/tst-relsort1mod2.c: New file.
10817
108182012-01-27 Joseph Myers <joseph@codesourcery.com>
10819
10820 * math/s_ldexp.c: Remove __STDC__ conditionals.
10821 * math/s_ldexpf.c: Likewise.
10822 * math/s_ldexpl.c: Likewise.
10823 * math/s_nextafter.c: Likewise.
10824 * math/s_nexttowardf.c: Likewise.
10825 * math/s_significand.c: Likewise.
10826 * math/s_significandf.c: Likewise.
10827 * math/s_significandl.c: Likewise.
10828 * math/w_jnl.c: Likewise.
10829 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10830 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10831 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10832 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10833 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10834 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10835 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
10836 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10837 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10838 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10839 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10840 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10841 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10842 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10843 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10844 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10845 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10846 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10847 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10848 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10849 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10850 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10851 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10852 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10853 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10854 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10855 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10856 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10857 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10858 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10859 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10860 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10861 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10862 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10863 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10864 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10865 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10866 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10867 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10868 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10869 * sysdeps/ieee754/k_standard.c: Likewise.
10870 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10871 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10872 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10873 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10874 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10875 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10876 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10877 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10878 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10879 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10880 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10881 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10882 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10883 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10884 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10885 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10886 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10887 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10888 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10889 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10890 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10891 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10892 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10893 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10894 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10895 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10896 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10897 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10898 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10899 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10900 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10901 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10902 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10903 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10904 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10905 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10906 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10907 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10908 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10909 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10910 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10911 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10912 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10913 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10914 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10915 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10916 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10917 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10918 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10919 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10920 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10921 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10922 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10923 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10924 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10925 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10926 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10927 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10928 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10929 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10930 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10931 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10932 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10933 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10934 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10935 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10936 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10937 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10938 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10939 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10940 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10941 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10942 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10943 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10944 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10945 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10946 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10947 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10948 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10949 * sysdeps/ieee754/s_matherr.c: Likewise.
10950 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10951 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10952 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10953 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10954
109552012-01-26 Joseph Myers <joseph@codesourcery.com>
10956
10957 * crypt/md5.h: Remove __STDC__ conditionals.
10958 * libio/libioP.h: Likewise.
10959 * locale/programs/config.h: Likewise.
10960 * sysdeps/generic/sysdep.h: Likewise.
10961 * sysdeps/i386/asm-syntax.h: Likewise.
10962 * sysdeps/s390/asm-syntax.h: Likewise.
10963 * sysdeps/unix/sysdep.h: Likewise.
10964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10966
109672012-01-26 Joseph Myers <joseph@codesourcery.com>
10968
10969 * libio/libio.h: Remove __STDC__ conditionals.
10970 * malloc/obstack.h: Likewise.
10971 * math/complex.h: Likewise.
10972 * math/math.h: Likewise.
10973 * sysdeps/generic/_G_config.h: Likewise.
10974 * sysdeps/gnu/_G_config.h: Likewise.
10975 * sysdeps/mach/hurd/_G_config.h: Likewise.
10976 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10977 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10978 * sysdeps/sparc/bits/mathdef.h: Likewise.
10979
109802012-01-26 Ulrich Drepper <drepper@gmail.com>
10981
10982 [BZ #13583]
10983 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
10984 Clean up HAS_* macros.
10985 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
10986 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
10987 possible.
10988 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
10989 HAS_AVX.
10990 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10991 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10992 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10993 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10994 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10995
109962012-01-25 Joseph Myers <joseph@codesourcery.com>
10997
10998 * elf/tst-unique3.cc (gets): Remove declaration.
10999 * elf/tst-unique3lib.cc (gets): Likewise.
11000 * elf/tst-unique3lib2.cc (gets): Likewise.
11001 * elf/tst-unique4.cc (gets): Likewise.
11002
110032012-01-24 Ulrich Drepper <drepper@gmail.com>
11004
11005 * include/stdio.h: Add C++ protection. Add gets declarations and
11006 definitions.
11007 * debug/tst-chk1.c: Don't declare gets here.
11008 * stdio-common/tst-gets.c: Likewise.
11009
110102012-01-24 Joseph Myers <joseph@codesourcery.com>
11011
11012 * posix/glob: Remove directory.
11013
110142012-01-24 Joseph Myers <joseph@codesourcery.com>
11015
11016 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
11017
110182012-01-22 Pino Toscano <toscano.pino@tiscali.it>
11019
11020 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
11021 of the non-standard EPFNOSUPPORT.
11022
110232011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
11024
11025 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
11026 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
11027 ANYWHERE set to 1 only on KERN_NO_SPACE error.
11028
110292012-01-21 Ulrich Drepper <drepper@gmail.com>
11030
11031 * wcsmbs/uchar.h: Test __STDC_VERSION__.
11032
110332012-01-20 Ulrich Drepper <drepper@gmail.com>
11034
11035 * nscd/aicache.c (addhstaiX): Do not cache negative results of
11036 transient errors.
11037 * nscd/grpcache.c (cache_addgr): Likewise.
11038 * nscd/hstcache.c (cache_addhst): Likewise.
11039 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11040 * nscd/pwdcache.c (cache_addpw): Likewise.
11041 * nscd/servicescache.c (cache_addserv): Likewise.
11042
110432012-01-16 Ulrich Drepper <drepper@gmail.com>
11044
11045 * malloc/malloc.c: Various cleanups.
11046 * malloc/hooks.c: Likewise.
11047
11048 * stdlib/Makefile (tests): Add bug-fmtmsg1.
11049 * stdlib/bug-fmtmsg1.c: New file.
11050
11051 * stdlib/fmtmsg.c (init): Add missing unlock.
11052 Patch by Peng Haitao <penght@cn.fujitsu.com>.
11053
110542012-01-12 Marek Polacek <polacek@redhat.com>
11055
11056 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
11057 and _GNU_SOURCE.
11058
110592012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11060
11061 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
11062 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
11063 macro to ensure uniqueness of label name.
11064 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11065 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11066
110672012-01-11 Ulrich Drepper <drepper@gmail.com>
11068
11069 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
11070
11071 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
11072 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11073 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11074 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
11075
110762012-01-10 Ulrich Drepper <drepper@gmail.com>
11077
11078 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
11079
11080 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
11081 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11082 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11083
11084 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
11085
11086 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
11087 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11088 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11089 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
11090
11091 * math/bits/math-finite.h: Add ldexp support.
11092
110932012-01-10 Marek Polacek <polacek@redhat.com>
11094
11095 * locale/programs/localedef.h (show_archive_content): Add noreturn
11096 attribute.
11097
110982012-01-09 Ulrich Drepper <drepper@gmail.com>
11099
11100 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
11101
111022012-01-08 Ulrich Drepper <drepper@gmail.com>
11103
11104 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
11105
11106 * io/Makefile (headers): Add bits/poll2.h.
11107
111082011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
11109
11110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
11111 typo #include statement.
11112
111132012-01-08 Ulrich Drepper <drepper@gmail.com>
11114
11115 * include/sys/cdefs.h: Define __attribute_alloc_size.
11116 * catgets/gencat.c: Add alloc_size attribute and apply consistently
11117 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
11118 * elf/pldd.c: Likewise.
11119 * iconv/iconv_charmap.c: Likewise.
11120 * iconv/iconvconfig.c: Likewise.
11121 * iconv/strtab.c: Likewise.
11122 * locale/programs/locale.c: Likewise.
11123 * locale/programs/localedef.h: Likewise.
11124 * locale/programs/simple-hash.c: Likewise.
11125 * nscd/nscd.h: Likewise.
11126 * nss/makedb.c: Likewise.
11127 * sysdeps/generic/ldconfig.h: Likewise.
11128 * locale/programs/localedef.c: Remove xmalloc prototype.
11129 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
11130
111312012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11132
11133 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
11134 appropriate.
11135
111362012-01-08 Ulrich Drepper <drepper@gmail.com>
11137
11138 * math/Makefile (tests): Add tst-CMPLX.
11139 * math/tst-CMPLX.c: New file.
11140
11141 * math/complex.h (CMPLXL): Fix typo.
11142
11143 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11144 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11145 GLIBC_2.16.
11146 * debug/tst-chk1.c: Add poll and ppoll tests.
11147 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11148 * include/sys/poll.h: Add hidden proto for ppoll.
11149 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11150 * sysdeps/mach/hurd/ppoll.c: Likewise.
11151 * io/ppoll.c: Likewise.
11152 * debug/poll_chk.c: New file.
11153 * debug/ppoll_chk.c: New file.
11154 * include/bits/poll2.h: New file.
11155 * io/bits/poll2.h: New file.
11156
11157 [BZ #1350]
11158 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11159
11160 * configure.in: static is always set to yes. Remove.
11161 * config.make.in: Don't set build-static.
11162 * Makeconfig: Remove use of build-static.
11163 * dlfcn/Makefile: Likewise.
11164 * elf/Makefile: Likewise.
11165 * math/Makefile: Likewise.
11166 * misc/Makefile: Likewise.
11167 * nptl/Makefile: Likewise.
11168 * sysdeps/mach/hurd/Makefile: Likewise.
11169
11170 * configure.in: PWD_P is not used anymore.
11171 * config.make.in: Remove PWD_P entry.
11172
11173 * configure.in: Remove last remnants of RANLIB.
11174 No need to check for signed size_t anymore.
11175 Don't set libc_commonpagesize and libc_relro_required here for Alpha
11176 and IA-64.
11177 Remove __builtin_expect test because we require at least gcc 3.4.
11178 * aclocal.m4: Likewise.
11179
11180 * wcsmbs/mbrtoc16.c: Implement using towc function.
11181 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11182 * wcsmbs/wcsmbsload.c: Likewise.
11183 * iconv/gconv_simple.c: Likewise.
11184 * iconv/gconv_int.h: Likewise.
11185 * iconv/gconv_builtin.h: Likewise.
11186 * iconv/iconv_prog.c: Remove CHAR16 handling.
11187
11188 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11189
11190 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11191
11192 * configure.in: Remove --with-elf and --enable-bounded options.
11193 Dont set base_machine for ia64. More non-ELF conditions removed.
11194 Remove testing and setting of leading underscore information.
11195 * config.make.in (build-bounded): Set to no.
11196 * config.h.in: Remove NO_UNDERSCORES entry.
11197 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
11198 them.
11199 * csu/start.c: Remove !NO_UNDERSCORE code.
11200 * locale/localeinfo.h: Likewise.
11201 * sysdeps/generic/machine-gmon.h: Likewise.
11202 * sysdeps/generic/sysdep.h: Likewise.
11203 * sysdeps/i386/sysdep.h: Likewise.
11204 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11205 * sysdeps/mach/sysdep.h: Likewise.
11206 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11207 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11208 * sysdeps/sh/sysdep.h: Likewise.
11209 * sysdeps/sparc/sparc32/alloca.S: Likewise.
11210 * sysdeps/unix/i386/sysdep.S: Likewise.
11211 * sysdeps/unix/sparc/start.c: Likewise.
11212 * sysdeps/unix/sparc/sysdep.S: Likewise.
11213 * sysdeps/unix/sparc/sysdep.h: Likewise.
11214 * sysdeps/unix/start.c: Likewise.
11215 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11216 * sysdeps/x86_64/sysdep.h: Likewise.
11217
112182012-01-07 Ulrich Drepper <drepper@gmail.com>
11219
11220 [BZ #13553]
11221 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11222 for non-gcc.
11223 * argp/argp-fmtstream.h: Use const instead __const.
11224 * argp/argp.h: Likewise.
11225 * assert/assert.h: Likewise.
11226 * bits/fenv.h: Likewise.
11227 * bits/sched.h: Likewise.
11228 * bits/sigset.h: Likewise.
11229 * bits/sigthread.h: Likewise.
11230 * catgets/nl_types.h: Likewise.
11231 * conform/data/pthread.h-data: Likewise.
11232 * crypt/crypt-private.h: Likewise.
11233 * crypt/crypt.h: Likewise.
11234 * crypt/crypt_util.c: Likewise.
11235 * ctype/ctype.h: Likewise.
11236 * debug/execinfo.h: Likewise.
11237 * debug/mbsnrtowcs_chk.c: Likewise.
11238 * debug/mbsrtowcs_chk.c: Likewise.
11239 * debug/wcsnrtombs_chk.c: Likewise.
11240 * debug/wcsrtombs_chk.c: Likewise.
11241 * debug/wcstombs_chk.c: Likewise.
11242 * dirent/dirent.h: Likewise.
11243 * dlfcn/dlfcn.h: Likewise.
11244 * elf/neededtest4.c: Likewise.
11245 * grp/grp.h: Likewise.
11246 * gshadow/gshadow.h: Likewise.
11247 * iconv/gconv.h: Likewise.
11248 * iconv/gconv_int.h: Likewise.
11249 * iconv/gconv_simple.c: Likewise.
11250 * iconv/iconv.h: Likewise.
11251 * iconv/loop.c: Likewise.
11252 * iconv/skeleton.c: Likewise.
11253 * include/aio.h: Likewise.
11254 * include/aliases.h: Likewise.
11255 * include/argz.h: Likewise.
11256 * include/arpa/inet.h: Likewise.
11257 * include/assert.h: Likewise.
11258 * include/dirent.h: Likewise.
11259 * include/dlfcn.h: Likewise.
11260 * include/execinfo.h: Likewise.
11261 * include/fcntl.h: Likewise.
11262 * include/fenv.h: Likewise.
11263 * include/glob.h: Likewise.
11264 * include/grp.h: Likewise.
11265 * include/libintl.h: Likewise.
11266 * include/mntent.h: Likewise.
11267 * include/netdb.h: Likewise.
11268 * include/pwd.h: Likewise.
11269 * include/rpc/netdb.h: Likewise.
11270 * include/sched.h: Likewise.
11271 * include/search.h: Likewise.
11272 * include/shadow.h: Likewise.
11273 * include/signal.h: Likewise.
11274 * include/stdio.h: Likewise.
11275 * include/stdlib.h: Likewise.
11276 * include/string.h: Likewise.
11277 * include/sys/socket.h: Likewise.
11278 * include/sys/stat.h: Likewise.
11279 * include/sys/statfs.h: Likewise.
11280 * include/sys/statvfs.h: Likewise.
11281 * include/sys/syslog.h: Likewise.
11282 * include/sys/time.h: Likewise.
11283 * include/sys/uio.h: Likewise.
11284 * include/time.h: Likewise.
11285 * include/unistd.h: Likewise.
11286 * include/utmp.h: Likewise.
11287 * include/wchar.h: Likewise.
11288 * include/wctype.h: Likewise.
11289 * inet/aliases.h: Likewise.
11290 * inet/arpa/inet.h: Likewise.
11291 * inet/netinet/ether.h: Likewise.
11292 * inet/netinet/in.h: Likewise.
11293 * intl/libintl.h: Likewise.
11294 * io/bits/fcntl2.h: Likewise.
11295 * io/fcntl.h: Likewise.
11296 * io/ftw.h: Likewise.
11297 * io/sys/poll.h: Likewise.
11298 * io/sys/stat.h: Likewise.
11299 * io/sys/statfs.h: Likewise.
11300 * io/sys/statvfs.h: Likewise.
11301 * io/utime.h: Likewise.
11302 * libio/bits/stdio.h: Likewise.
11303 * libio/bits/stdio2.h: Likewise.
11304 * libio/libio.h: Likewise.
11305 * libio/libioP.h: Likewise.
11306 * libio/stdio.h: Likewise.
11307 * locale/lc-ctype.c: Likewise.
11308 * locale/locale.h: Likewise.
11309 * login/utmp.h: Likewise.
11310 * malloc/arena.c: Likewise.
11311 * malloc/malloc.c: Likewise.
11312 * malloc/malloc.h: Likewise.
11313 * malloc/mcheck.c: Likewise.
11314 * malloc/mtrace.c: Likewise.
11315 * math/bits/mathcalls.h: Likewise.
11316 * math/fenv.h: Likewise.
11317 * math/math_private.h: Likewise.
11318 * misc/bits/error.h: Likewise.
11319 * misc/bits/syslog.h: Likewise.
11320 * misc/err.h: Likewise.
11321 * misc/error.h: Likewise.
11322 * misc/fstab.h: Likewise.
11323 * misc/mntent.h: Likewise.
11324 * misc/regexp.h: Likewise.
11325 * misc/search.h: Likewise.
11326 * misc/sgtty.h: Likewise.
11327 * misc/sys/mman.h: Likewise.
11328 * misc/sys/syslog.h: Likewise.
11329 * misc/sys/uio.h: Likewise.
11330 * misc/sys/xattr.h: Likewise.
11331 * misc/ttyent.h: Likewise.
11332 * nis/rpcsvc/ypclnt.h: Likewise.
11333 * nss/nss.h: Likewise.
11334 * posix/bits/unistd.h: Likewise.
11335 * posix/fnmatch.h: Likewise.
11336 * posix/glob.h: Likewise.
11337 * posix/sched.h: Likewise.
11338 * posix/spawn.h: Likewise.
11339 * posix/sys/wait.h: Likewise.
11340 * posix/unistd.h: Likewise.
11341 * posix/wordexp.h: Likewise.
11342 * pwd/pwd.h: Likewise.
11343 * resolv/netdb.h: Likewise.
11344 * resource/sys/resource.h: Likewise.
11345 * rt/aio.h: Likewise.
11346 * rt/bits/mqueue2.h: Likewise.
11347 * rt/mqueue.h: Likewise.
11348 * shadow/shadow.h: Likewise.
11349 * signal/signal.h: Likewise.
11350 * socket/send.c: Likewise.
11351 * socket/sendto.c: Likewise.
11352 * socket/sys/socket.h: Likewise.
11353 * stdio-common/printf.h: Likewise.
11354 * stdlib/bits/stdlib.h: Likewise.
11355 * stdlib/fmtmsg.h: Likewise.
11356 * stdlib/monetary.h: Likewise.
11357 * stdlib/stdlib.h: Likewise.
11358 * stdlib/ucontext.h: Likewise.
11359 * streams/stropts.h: Likewise.
11360 * string/argz.h: Likewise.
11361 * string/bits/string2.h: Likewise.
11362 * string/string.h: Likewise.
11363 * string/strings.h: Likewise.
11364 * sunrpc/rpc/auth.h: Likewise.
11365 * sunrpc/rpc/auth_des.h: Likewise.
11366 * sunrpc/rpc/clnt.h: Likewise.
11367 * sunrpc/rpc/netdb.h: Likewise.
11368 * sunrpc/rpc/pmap_clnt.h: Likewise.
11369 * sunrpc/rpc/xdr.h: Likewise.
11370 * sysdeps/generic/inttypes.h: Likewise.
11371 * sysdeps/generic/net/if.h: Likewise.
11372 * sysdeps/generic/sys/swap.h: Likewise.
11373 * sysdeps/gnu/net/if.h: Likewise.
11374 * sysdeps/gnu/utmpx.h: Likewise.
11375 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11376 * sysdeps/i386/i486/bits/string.h: Likewise.
11377 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
11378 * sysdeps/s390/bits/string.h: Likewise.
11379 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
11380 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
11381 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
11382 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11383 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11384 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
11385 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11386 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
11387 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11388 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
11389 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
11390 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11391 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
11392 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11393 * sysdeps/unix/sysv/linux/readv.c: Likewise.
11394 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
11395 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11396 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11397 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11398 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11399 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11400 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
11401 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
11402 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
11403 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
11404 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
11405 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
11406 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11407 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
11408 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
11409 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
11410 * sysvipc/sys/ipc.h: Likewise.
11411 * sysvipc/sys/msg.h: Likewise.
11412 * sysvipc/sys/sem.h: Likewise.
11413 * sysvipc/sys/shm.h: Likewise.
11414 * termios/termios.h: Likewise.
11415 * time/sys/time.h: Likewise.
11416 * time/time.h: Likewise.
11417 * wcsmbs/bits/wchar2.h: Likewise.
11418 * wcsmbs/uchar.h: Likewise.
11419 * wcsmbs/wchar.h: Likewise.
11420 * wctype/wctype.h: Likewise.
11421
11422 [BZ #13551]
11423 * Makeconfig: Remove all but ELF support including AIX support.
11424 * Makerules: Likewise.
11425 * config.h.in: Likewise.
11426 * config.make.in: Likewise.
11427 * configure: Likewise.
11428 * configure.in: Likewise.
11429 * csu/Makefile: Likewise.
11430 * csu/version.c: Likewise.
11431 * debug/Makefile: Likewise.
11432 * dlfcn/Makefile: Likewise.
11433 * elf/Makefile: Likewise.
11434 * extra-lib.mk: Likewise.
11435 * iconv/Makefile: Likewise.
11436 * include/libc-symbols.h: Likewise.
11437 * include/shlib-compat.h: Likewise.
11438 * resolv/Makefile: Likewise.
11439 * resolv/res_libc.c: Likewise.
11440 * rt/Makefile: Likewise.
11441 * sysdeps/i386/asm-syntax.h: Likewise.
11442 * sysdeps/i386/sysdep.h: Likewise.
11443 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11444 * sysdeps/mach/sysdep.h: Likewise.
11445 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
11446 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
11447 * sysdeps/s390/asm-syntax.h: Likewise.
11448 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11449 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11450 * sysdeps/sh/sysdep.h: Likewise.
11451 * sysdeps/unix/sparc/sysdep.h: Likewise.
11452 * sysdeps/wordsize-32/divdi3.c: Likewise.
11453 * sysdeps/x86_64/sysdep.h: Likewise.
11454
11455 * argp/Versions: Remove _argp_unlock_xxx.
11456
11457 [BZ #13559]
11458 * abilist/ld.abilist: Update. Adjust for removal of tls option.
11459 * abilist/libBrokenLocale.abilist: Likewise.
11460 * abilist/libanl.abilist: Likewise.
11461 * abilist/libc.abilist: Likewise.
11462 * abilist/libcrypt.abilist: Likewise.
11463 * abilist/libdl.abilist: Likewise.
11464 * abilist/libm.abilist: Likewise.
11465 * abilist/libnsl.abilist: Likewise.
11466 * abilist/libpthread.abilist: Likewise.
11467 * abilist/libresolv.abilist: Likewise.
11468 * abilist/librt.abilist: Likewise.
11469 * abilist/libthread_db.abilist: Likewise.
11470 * abilist/libutil.abilist: Likewise.
11471 * abilist/libnss_db.abilist: New file.
11472
11473 * scripts/abilist.awk: Add support for indirect functions.
11474
11475 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
11476
11477 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
11478
11479 * shlib-versions: Remove entries for ports architectures.
11480
11481 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
11482 files in ports.
11483 * elf/stackguard-macros.h: Remove support for IA-64.
11484 * elf/tst-auditmod1.c: Likewise.
11485 * sysdeps/generic/ldsodefs.h: Likewise.
11486
11487 * sysdeps/unix/sysv/linux/configure.in: Ports should define
11488 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
11489 configure files.
11490
11491 [BZ #13552]
11492 * configure.in: Remove --enable-omitfp support.
11493 * FAQ.in: Adjust.
11494 * config.make.in: Likewise.
11495 * Makeconfig: Likewise.
11496 * manual/install.texi: Likewise.
11497
11498 In case anyone cares, the IA-64 architecture could move to ports.
11499 * sysdeps/ia64/*: Removed.
11500 * sysdeps/unix/sysv/linux/ia64/*: Removed.
11501 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
11502
11503 [BZ #13555]
11504 * configure.in: Remove entries for unsupported architectures.
11505
11506 [BZ #13533]
11507 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
11508 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
11509 routines.
11510 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
11511 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
11512 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
11513 fall back to using wcrtomb.
11514 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
11515 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
11516 renaming.
11517 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
11518 * wcsmbs/tst-c16c32-1.c: New file.
11519
11520 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
11521 local variable.
11522
11523 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
11524
11525 * elf/tst-unique3.cc: Add explicit declaration of gets.
11526 * elf/tst-unique3lib.cc: Likewise.
11527 * elf/tst-unique3lib2.cc: Likewise.
11528 * elf/tst-unique4.cc: Likewise.
11529
11530 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
11531
115322012-01-06 Joseph Myers <joseph@codesourcery.com>
11533
11534 [BZ #13566]
11535 * assert/assert.h (static_assert): Don't define for C++.
11536 * libio/stdio.h (gets): Do declare for C++ <= C++11.
11537 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
11538
115392012-01-03 Ulrich Drepper <drepper@gmail.com>
11540
11541 * iconv/loop.c (single loop): Fix assertion in storing of
11542 remaining bytes.
11543
11544 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
11545
115462012-01-01 Ulrich Drepper <drepper@gmail.com>
11547
11548 * posix/getconf.c: Update copyright year.
11549 * nss/getent.c: Likewise.
11550 * nss/makedb.c: Likewise.
11551 * iconv/iconvconfig.c: Likewise.
11552 * iconv/iconv_prog.c: Likewise.
11553 * elf/ldconfig.c: Likewise.
11554 * elf/pldd.c: Likewise.
11555 * elf/sotruss.ksh: Likewise.
11556 * catgets/gencat.c: Likewise.
11557 * csu/version.c: Likewise.
11558 * elf/ldd.bash.in: Likewise.
11559 * elf/sprof.c (print_version): Likewise.
11560 * locale/programs/locale.c: Likewise.
11561 * locale/programs/localedef.c: Likewise.
11562 * login/programs/pt_chown.c: Likewise.
11563 * nscd/nscd.c (print_version): Likewise.
11564 * debug/xtrace.sh: Likewise.
11565 * malloc/memusage.sh: Likewise.
11566 * malloc/mtrace.pl: Likewise.
11567 * debug/catchsegv.sh: Likewise.
11568
115692011-12-30 Jakub Jelinek <jakub@redhat.com>
11570
11571 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
11572 pure attribute.
11573
115742011-12-24 Ulrich Drepper <drepper@gmail.com>
11575
11576 [BZ #13533]
11577 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
11578 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
11579 transformations.
11580 * iconv/gconv_int.h: Likewise.
11581 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
11582 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
11583 from libc for GLIBC_2.16.
11584 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
11585 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
11586 * wcsmbs/uchar.h: Really define mbstate_t.
11587 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
11588 * wcsmbs/c16rtomb.c: New file.
11589 * wcsmbs/mbrtoc16.c: New file.
11590 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
11591 for C/POSIX locale.
11592 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
11593 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
11594
11595 * wcsmbs/wchar.h: Add missing __restrict.
11596
115972011-12-23 Ulrich Drepper <drepper@gmail.com>
11598
11599 [BZ #13532]
11600 * time/Makefile (routines): Add timespec_get.
11601 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
11602 * time/time.h: Define TIME_UTC and declare timespec_get. Define
11603 timespec for ISO C11.
11604 * time/timespec_get.c: New file.
11605 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
11606 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
11607
11608 [BZ #13531]
11609 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
11610 * stdlib/stdlib.h: Declare aligned_alloc.
11611 * Versions.def: Add GLIBC_2.16 for libc.
11612 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
11613
11614 [BZ 13527]
11615 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
11616 ISO C11.
11617
11618 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
11619 code.
11620
11621 [BZ #13528]
11622 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
11623
11624 [BZ #13529]
11625 * assert/assert.h (static_assert): Define.
11626
11627 * version.h: Update for 2.16 development version.
11628
11629 [BZ #13526]
11630 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
11631 _ISOC11_SOURCE.
11632
11633 * version.h (RELEASE): Bump for 2.15 release.
11634 * include/features.h (__GLIBC_MINOR__): Bump to 15.
11635
11636 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
11637 Patch by Marek Polacek <mpolacek@redhat.com>.
11638
11639 * bits/byteswap.h: Protect long long constants with __extension__.
11640 * sysdeps/i386/bits/byteswap.h: Likewise.
11641 * sysdeps/ia64/bits/byteswap.h: Likewise.
11642 * sysdeps/s390/bits/byteswap.h: Likewise.
11643 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11644
116452011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11646
11647 [BZ #13540]
11648 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
11649 destination buffer.
11650 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11651
116522011-12-23 Marek Polacek <polacek@redhat.com>
11653
11654 * elf/dl-addr.c (determine_info): Add inline keyword.
11655 * elf/tst-auditmod4b.c (check_avx): Likewise.
11656 * elf/tst-auditmod6b.c (check_avx): Likewise.
11657 * elf/tst-auditmod6c.c (check_avx): Likewise.
11658 * elf/tst-auditmod7b.c (check_avx): Likewise.
11659
116602011-12-23 Ulrich Drepper <drepper@gmail.com>
11661
11662 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
11663 !__SSE_MATH__.
11664
116652011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11666
11667 [BZ #13540]
11668 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
11669 processing for last bytes.
11670
116712011-08-06 Bruno Haible <bruno@clisp.org>
11672
11673 [BZ #13061]
11674 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
11675 U+0385, not to U+1FEE.
11676
11677 [BZ #13062]
11678 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
11679 entry for U+00A5 U+0301.
11680
116812011-12-22 Ulrich Drepper <drepper@gmail.com>
11682
11683 [BZ #13166]
11684 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
11685 buffer for the output is too small.
11686
11687 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
11688 optimization.
11689
11690 [BZ #13185]
11691 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
11692 SSE flags if possible.
11693
116942011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11695
11696 [BZ #13540]
11697 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
11698 processing for last bytes.
11699
117002011-12-22 Joseph Myers <joseph@codesourcery.com>
11701
11702 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
11703 (syscall-list-default-options, syscall-list-default-condition)
11704 (syscall-list-includes): Define.
11705 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
11706 list of ABIs and options and #if conditions for each ABI. Do not
11707 handle common syscalls between ABIs specially.
11708 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
11709 Remove.
11710 (syscall-list-variants, syscall-list-32bit-options)
11711 (syscall-list-32bit-condition, syscall-list-64bit-options)
11712 (syscall-list-64bit-condition): Define.
11713 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
11714 (syscall-list-variants, syscall-list-32bit-options)
11715 (syscall-list-32bit-condition, syscall-list-64bit-options)
11716 (syscall-list-64bit-condition): Define.
11717 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
11718 Remove.
11719 (syscall-list-variants, syscall-list-32bit-options)
11720 (syscall-list-32bit-condition, syscall-list-64bit-options)
11721 (syscall-list-64bit-condition): Define.
11722 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
11723 Remove.
11724 (syscall-list-variants, syscall-list-32bit-options)
11725 (syscall-list-32bit-condition, syscall-list-64bit-options)
11726 (syscall-list-64bit-condition): Define.
11727
117282011-12-22 Ulrich Drepper <drepper@gmail.com>
11729
11730 * locale/iso-639.def: Add brx entry.
11731
11732 [BZ #13328]
11733 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
11734 Proposed by Mariusz_Cukr <marcukr@op.pl>.
11735
11736 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
11737 __feraiseexcept_renamed.
11738
117392011-12-21 Ulrich Drepper <drepper@gmail.com>
11740
11741 [BZ #13538]
11742 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
11743 EPOLLET with unsigned values.
11744 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11745 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11746
11747 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
11748 to large cancellation.
11749 * math/s_cacoshf.c: Likewise.
11750 * math/s_cacoshl.c: Likewise.
11751
117522011-11-18 Richard B. Kreckel <kreckel@ginac.de>
11753
11754 [BZ #13305]
11755 [BZ #12786]
11756 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
11757 * math/s_cacoshf.c: Likewise.
11758 * math/s_cacoshl.c: Likewise.
11759
117602011-12-21 Ulrich Drepper <drepper@gmail.com>
11761
11762 [BZ #13439]
11763 * iconv/gconv.h: Define __GCONV_SWAP.
11764 * iconvdata/unicode.c: The swap bit must be stored in __flags.
11765 * iconvdata/utf-16.c: Likewise.
11766 * iconvdata/utf-32.c: Likewise.
11767
117682011-12-21 Andreas Schwab <schwab@linux-m68k.org>
11769
11770 [BZ #13524]
11771 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
11772 numerator after shifting it by one limb.
11773
117742011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
11775
11776 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
11777 under [__USE_EXTERN_INLINES].
11778
117792011-12-17 Ulrich Drepper <drepper@gmail.com>
11780
11781 [BZ #13446]
11782 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
11783
117842011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11785
11786 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
11787 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
11788 optimized code.
11789 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
11790 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
11791 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
11792 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
11793 for strncasecmp/strncasecmp_l compilation.
11794 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
11795 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
11796
117972011-12-08 Marek Polacek <mpolacek@redhat.com>
11798
11799 [BZ #13484]
11800 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
11801 of __asm__.
11802
118032011-12-17 Ulrich Drepper <drepper@gmail.com>
11804
11805 [BZ #13506]
11806 * time/tzfile.c (__tzfile_read): Check values from file header.
11807
118082011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11809
11810 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
11811 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
11812 * powerpc/powerpc32/dl-start.S: Likewise.
11813 * powerpc/powerpc32/elf/start.S: Likewise.
11814 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11815 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
11816 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
11817 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
11818 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11819 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
11820 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
11821 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11822 * powerpc/powerpc32/fpu/s_round.S: Likewise.
11823 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11824 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11825 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11826 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11827 * powerpc/powerpc32/memset.S: Likewise.
11828 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11829 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11830 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11831 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11832 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11833 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11834 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11835 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11836 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
11837 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
11838 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
11839 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11840 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11841
118422011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11843
11844 * math/libm-test.inc: Added more nearbyint tests.
11845 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
11846 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
11847 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
11848 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
11849
118502011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
11851
11852 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
11853 FD_CLOEXEC.
11854
118552011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11856
11857 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
11858 Add wcscpy-ssse3 wcscpy-c.
11859 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
11860 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
11861 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
11862 * sysdeps/x86_64/wcschr.S: New file.
11863 * sysdeps/x86_64/wcsrchr.S: New file.
11864 * string/test-strcmp.c: Remove checking of wcscmp function for
11865 wrong alignments.
11866 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
11867 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
11868 wcsrchr-sse2 wcsrchr-c.
11869 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
11870 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
11871 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
11872 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
11873 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
11874 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
11875 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
11876 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
11877 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
11878 * wcsmbc/wcschr.c (WCSCHR): New macro.
11879
118802011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11881
11882 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
11883 * wcsmbs/test-wcsrchr.c: New file.
11884 * string/test-strrchr.c: Add wcsrchr support.
11885 (WIDE): New macro.
11886 * wcsmbs/test-wcscpy.c: New file.
11887 * string/test-strcpy.c: Add wcscpy support.
11888 (WIDE): New macro.
11889
118902011-12-10 Ulrich Drepper <drepper@gmail.com>
11891
11892 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
11893 the inner loop.
11894
118952011-12-06 Andreas Schwab <schwab@linux-m68k.org>
11896
11897 [BZ #13472]
11898 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
11899
119002011-12-04 Ulrich Drepper <drepper@gmail.com>
11901
11902 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
11903 Minor optimizations.
11904
11905 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
11906 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
11907 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11908
119092011-12-03 Ulrich Drepper <drepper@gmail.com>
11910
11911 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
11912 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
11913 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
11914 for gcc to avoid warnings.
11915 * inet/Makefile (tests): Add tst-checks.
11916 * inet/tst-checks.c: New file.
11917
11918 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
11919 warning.
11920
11921 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
11922 __wmemcmp_sse2.
11923
11924 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
11925 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
11926
11927 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
11928
119292011-12-02 Ulrich Drepper <drepper@gmail.com>
11930
11931 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
11932 problem.
11933
11934 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
11935
119362011-11-29 Joseph Myers <joseph@codesourcery.com>
11937
11938 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
11939 conditional on GCC version.
11940 (__arch_compare_and_exchange_val_8_acq)
11941 (__arch_compare_and_exchange_val_16_acq)
11942 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
11943 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
11944 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
11945
119462011-12-02 Joseph Myers <joseph@codesourcery.com>
11947
11948 * sysdeps/sh/backtrace.c: New file.
11949
119502011-12-02 Andreas Schwab <schwab@redhat.com>
11951
11952 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
11953 parenthesis.
11954
119552011-12-01 Andreas Schwab <schwab@redhat.com>
11956
11957 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
11958 falling back to utime.
11959
119602011-11-30 Andreas Schwab <schwab@redhat.com>
11961
11962 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
11963 expectations for float.
11964
119652011-11-29 Andreas Schwab <schwab@redhat.com>
11966
11967 * locale/weight.h (findidx): Add parameter len.
11968 * locale/weightwc.h (findidx): Likewise.
11969 * posix/fnmatch_loop.c (FCT): Adjust caller.
11970 * posix/regcomp.c (build_equiv_class): Likewise.
11971 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
11972 * posix/regexec.c (check_node_accept_bytes): Likewise.
11973 * string/strcoll_l.c (STRCOLL): Likewise.
11974 * string/strxfrm_l.c (STRXFRM): Likewise.
11975
119762011-11-17 Ulrich Drepper <drepper@gmail.com>
11977
11978 * Makefile.in: Remove CVSOPT handling.
11979 * configure.in: Remove use of AC_REVISION.
11980 * iconvdata/Makefile (distribute): No need to filter out CVS.
11981 * scripts/list-sources.sh: Remove CVS, subversion and monotone
11982 handling.
11983
119842011-11-16 Andreas Schwab <schwab@redhat.com>
11985
11986 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
11987 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
11988 [USE_AS_STRNCASECMP_L]: Likewise.
11989 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
11990 NO_TLS_DIRECT_SEG_REFS.
11991 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
11992 Fix argument offsets for non-PIC.
11993 [USE_AS_STRNCASECMP_L]: Likewise.
11994 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
11995 NO_TLS_DIRECT_SEG_REFS.
11996
119972011-11-15 Ulrich Drepper <drepper@gmail.com>
11998
11999 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
12000 O_CLOEXEC.
12001 * locale/loadlocale.c (_nl_load_locale): Likewise.
12002
120032011-11-15 Andreas Schwab <schwab@redhat.com>
12004
12005 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
12006 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
12007 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
12008 (SYSCALL_GETTIME): Set errno on error.
12009
12010 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
12011 count references to noai6ai_cached.
12012
120132011-11-15 Ulrich Drepper <drepper@gmail.com>
12014
12015 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
12016
12017 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
12018 FD_CLOEXEC for /proc/self/maps.
12019
12020 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
12021 FD_CLOEXEC for /proc/meminfo.
12022
12023 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
12024 gai.conf.
12025
12026 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
12027 FD_CLOEXEC for given file.
12028
12029 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
12030
12031 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
12032 FD_CLOEXEC for /etc/hosts.
12033 (_gethtent): Likewise.
12034
12035 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
12036
12037 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
12038 cancellation and set FD_CLOEXEC for /etc/netgroup.
12039
12040 * nss/nss_files/files-key.c (search): Don't allow cancellation when
12041 reading /etc/publickey.
12042
12043 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
12044 allow cancellation when reading /etc/group.
12045
12046 * nss/nss_files/files-alias.c (internal_setent): Don't allow
12047 cancellation.
12048 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
12049
12050 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
12051 when using data file.
12052
12053 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
12054
12055 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
12056 (write_nis_obj): Use "c" and "e" in fopen.
12057
12058 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
12059
12060 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
12061
12062 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
12063
12064 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
12065
12066 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
12067 locale.alias.
12068
12069 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
12070
12071 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
12072
12073 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
12074
12075 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
12076 file parsing and set FD_CLOEXEC.
12077
120782011-11-14 Ulrich Drepper <drepper@gmail.com>
12079
12080 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
12081
120822011-11-14 Andreas Schwab <schwab@redhat.com>
12083
12084 * malloc/arena.c (arena_get2): Don't call reused_arena when
12085 _int_new_arena failed.
12086
120872011-11-14 Ulrich Drepper <drepper@gmail.com>
12088
12089 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
12090 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
12091 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
12092 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12093 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12094 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
12095 to compile strcasecmp and strncasecmp.
12096 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
12097 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
12098
12099 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
12100
121012011-11-13 Ulrich Drepper <drepper@gmail.com>
12102
12103 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
12104 locale-defines.sym to gen-as-const-headers.
12105 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
12106 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
12107 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
12108 to compile strcasecmp and strncasecmp.
12109 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
12110 strcasecmp_l and strncasecmp_l.
12111 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
12112 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
12113 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
12114 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
12115 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
12116 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
12117 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
12118 * sysdeps/i386/i686/multiarch/strncase.S: New file.
12119 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
12120 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
12121 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
12122
121232011-11-12 Ulrich Drepper <drepper@gmail.com>
12124
12125 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
12126 result of SYSDEP_GETTIME_CPU to retval.
12127 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
12128 parameter list to macro. Remove trailing semicolon. Adjust users.
12129
12130 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
12131 variable.
12132
12133 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
12134 mantissa words.
12135 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12136
12137 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
12138 from unused variable.
12139
12140 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12141 DWARF definitions.
12142 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12143 for assembling.
12144
12145 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12146 over namespaces.
12147
12148 * sunrpc/rpc_prot.c (rejected): Fix case value.
12149
12150 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12151 unsigned long long int to avoid warnings in shift.
12152
12153 * posix/regex_internal.c (re_string_reconstruct): Actually use result
12154 of use of trans.
12155 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12156 variable tmp.
12157
12158 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12159 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12160 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12161
12162 * nis/nis_table.c (nis_list): Use variable of correct type for
12163 result of __follow_path call.
12164
121652011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12166
12167 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12168 of math functions ceil, trunc, floor, round, and sqrt, when
12169 avaliable on the platform.
12170 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12171 name clash.
12172 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12173 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12174 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12175
121762011-10-30 Marek Polacek <mpolacek@redhat.com>
12177
12178 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12179 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12180
121812011-11-11 Roland McGrath <roland@hack.frob.com>
12182
12183 * include/unistd.h: Fix __readlink return type.
12184 Reported by Chris Metcalf <cmetcalf@tilera.com>.
12185
121862011-11-11 Ulrich Drepper <drepper@gmail.com>
12187
12188 * stdlib/ucontext.h: Undo last change for makecontext.
12189
121902011-11-11 Andreas Schwab <schwab@redhat.com>
12191
12192 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12193
12194 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12195 * setjmp/setjmp.h: Mark functions as non-leaf.
12196 * setjmp/bits/setjmp2.h: Likewise.
12197 * stdlib/ucontext.h: Likewise.
12198
121992011-11-10 Andreas Schwab <schwab@redhat.com>
12200
12201 * malloc/arena.c (_int_new_arena): Don't increment narenas.
12202 (reused_arena): Don't check arena limit.
12203 (arena_get2): Atomically check arena limit.
12204
122052011-11-08 Ulrich Drepper <drepper@gmail.com>
12206
12207 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12208 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12209
12210 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12211 instructions.
12212
122132011-11-07 Andreas Schwab <schwab@redhat.com>
12214
12215 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12216 handler when locking.
12217
12218 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12219 Fix size of allocated buffer.
12220
122212011-11-04 Andreas Schwab <schwab@redhat.com>
12222
12223 [BZ #10103]
12224 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12225 declarations for long double functions.
12226 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12227
12228 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12229
122302011-11-03 Andreas Schwab <schwab@redhat.com>
12231
12232 * nscd/nscd.c (main): Don't start AVC thread until credentials are
12233 installed.
12234
12235 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
12236 is disabled.
12237
122382011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12239
12240 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
12241
122422011-11-01 Andreas Schwab <schwab@linux-m68k.org>
12243
12244 * include/alloca.h (stackinfo_alloca_round): Define.
12245 (extend_alloca): Use it.
12246 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
12247 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
12248 here.
12249
12250 * scripts/check-local-headers.sh: Ignore libaudit.h.
12251
12252 * nscd/Makefile (extra-objs): Make recursively expanded.
12253
122542011-11-01 Ulrich Drepper <drepper@gmail.com>
12255
12256 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
12257 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12258
12259 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
12260 * posix/tst-rfc3484-2.c: Likewise.
12261 * posix/tst-rfc3484-3.c: Likewise.
12262
12263 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12264 process_vm_writev.
12265 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
12266 process_vm_writev.
12267 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
12268 process_vm_writev from libc using GLIBC_2.15 version.
12269
12270 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
12271
122722011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12273
12274 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
12275 stack usage.
12276
122772011-10-31 Ulrich Drepper <drepper@gmail.com>
12278
12279 [BZ #13367]
12280 * nss/getent.c (initgroups_keys): Show error message in case no group
12281 names are given.
12282
12283 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
12284 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
12285 __bump_nl_timestamp.
12286 * nscd/connections (nscd_init): When host database is served open
12287 netlink socket and request notification about configuration changes.
12288 (main_loop_poll): Track netlink file descriptor and bump timestamp
12289 in case data becomes available.
12290 (main_loop_epoll): Likewise.
12291 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
12292 (database_pers_head): Add extra_data fileds.
12293 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
12294 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
12295 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
12296 Adjust caller.
12297 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
12298 in6ai data, call __free_in6ai.
12299 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
12300 Add -DHAVE_NETLINK.
12301 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
12302 interface information. Reuse previous data if netlink timestamp
12303 is not changed.
12304 (__bump_nl_timestamp): New function.
12305 (__free_in6ai): New function.
12306
123072011-10-30 Ulrich Drepper <drepper@gmail.com>
12308
12309 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
12310 close_not_cancel_no_status here.
12311 (__check_pf): Reorganize code a bit to not call close twice if OOM.
12312
123132011-10-29 Ulrich Drepper <drepper@gmail.com>
12314
12315 [BZ #13276]
12316 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
12317 return value.
12318
12319 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
12320 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
12321 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
12322
123232011-07-03 Andreas Jaeger <aj@suse.de>
12324
12325 [BZ #10709]
12326 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
12327 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
12328 * math/libm-test.inc (sin_test): Add test case.
12329
123302011-10-29 Ulrich Drepper <drepper@gmail.com>
12331
12332 [BZ #13337]
12333 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
12334 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12335
12336 * elf/chroot_canon.c (chroot_canon): Cleanups.
12337
12338 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
12339
12340 [BZ #13335]
12341 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
12342 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12343
12344 * string/test-strchr.c: Make usable for strchrnul testing.
12345 * string/test-strchrnul.c: New file.
12346 * string/Makefile (strop-tests): Add strchrnul.
12347
12348 * po/it.po: Update from translation team.
12349 * po/es.po: Likewise.
12350
123512011-10-28 Ulrich Drepper <drepper@gmail.com>
12352
12353 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
12354 the three constants needed as parameters. Drop the others.
12355 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
12356 __m128i_strloadu_tolower.
12357 Create and initialize variable zero and use it in all the places
12358 where _mm_setzero_si128 was used.
12359
12360 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
12361 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
12362 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
12363 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
12364 anymore.
12365 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
12366 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
12367 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
12368 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
12369 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
12370 __mpranred, __mptan.
12371 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
12372 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
12373 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
12374 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
12375 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
12376 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
12377 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
12378 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
12379 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
12380
123812011-10-28 Andreas Schwab <schwab@redhat.com>
12382
12383 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
12384 redefine if SHARED.
12385 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
12386
12387 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
12388 wide char related routines to wcsmbs subdir.
12389
123902011-10-27 Andreas Schwab <schwab@redhat.com>
12391
12392 [BZ #13344]
12393 * misc/sys/cdefs.h (__THROWNL): Define.
12394 * posix/unistd.h: Use __THREADNL instead of __THREAD
12395 for memory synchronization functions.
12396
123972011-10-26 Roland McGrath <roland@hack.frob.com>
12398
12399 [BZ #13349]
12400 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
12401 doesn't exist.
12402 * manual/stdio.texi (Obstack Streams): Node removed.
12403
124042011-10-26 Andreas Schwab <schwab@redhat.com>
12405
12406 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
12407 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12408 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12409
12410 * math/math_private.h (math_force_eval): Allow non-addressable
12411 arguments.
12412 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
12413
124142011-10-25 Ulrich Drepper <drepper@gmail.com>
12415
12416 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
12417 file is not needed.
12418
12419 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
12420 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12421 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12422 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12423 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12424 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12425 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12426 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
12427 Add AVX variants.
12428 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
12429 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
12430 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
12431 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
12432 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
12433 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
12434 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
12435 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
12436 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
12437 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
12438 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
12439 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
12440 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
12441 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
12442 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
12443 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
12444 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
12445 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
12446 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
12447
12448 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
12449 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
12450
12451 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
12452 place. Use VEX encoding when compiling for AVX.
12453
124542011-10-25 Andreas Schwab <schwab@redhat.com>
12455
12456 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
12457 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12458
12459 * string/test-strchr.c (do_test): Don't generate NUL bytes.
12460
124612011-10-25 Ulrich Drepper <drepper@gmail.com>
12462
12463 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
12464 useless if() expression.
12465 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12466 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12467 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12468 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12469 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12470 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12471 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12472 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12473 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12474 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12475 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12476 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12477 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12478 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12479 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12480 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12481 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12482 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12483 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12484
12485 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
12486
124872011-10-25 Andreas Schwab <schwab@redhat.com>
12488
12489 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
12490 condition.
12491 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12492
124932011-10-25 Ulrich Drepper <drepper@gmail.com>
12494
12495 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
12496 .text section. Avoid duplicate constants.
12497 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12498 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12499 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12500 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12501 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12502 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12503 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12504 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12505 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12506 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
12507 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12508 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12509 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12510 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12511 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12512 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12513 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12514 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12515 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12516 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12517 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12518 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12519 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12520 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
12521 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
12522 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
12523 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
12524 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
12525 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
12526 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
12527 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
12528 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
12529 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12530 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
12531 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
12532 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
12533 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
12534 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
12535 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
12536 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
12537 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
12538 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
12539 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
12540 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
12541 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
12542
125432011-10-24 Ulrich Drepper <drepper@gmail.com>
12544
12545 * sysdeps/x86_64/dla.h: Move to ...
12546 * sysdeps/x86_64/fpu/dla.h: ...here.
12547 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
12548 situations. Use __builtin_fma only for gcc 4.6 and up.
12549
12550 * config.make.in: Add have-mfma4 entry.
12551 * configure.in: Substitute libc_cv_cc_fma4.
12552 * math/Makefile (dbl-only-routines): Add sincostab.
12553 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
12554 Use __sincostab not sincos.
12555 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
12556 name is a macro.
12557 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12558 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12559 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12560 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
12561 using __copysign.
12562 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
12563 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
12564 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
12565 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
12566 and __inv.
12567 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
12568 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
12569 __copysign.
12570 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
12571 define aliases when function name is a macro.
12572 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
12573 sysdeps/ieee754/dbl-64/sincos.tbl.
12574 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
12575 fma4-enabled routines.
12576 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
12577 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
12578 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
12579 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
12580 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
12581 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
12582 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
12583 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
12584 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
12585 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
12586 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
12587 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
12588 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
12589 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
12590 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
12591 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
12592 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
12593 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
12594 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
12595 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
12596 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
12597 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
12598 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
12599 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
12600 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
12601 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
12602 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
12603 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
12604 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
12605 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
12606
12607 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
12608 rename.
12609 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12610 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12611 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12612 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12613 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12614 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12615 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12616 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12617
126182011-10-24 Andreas Schwab <schwab@redhat.com>
12619
12620 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
12621
126222011-10-23 Ulrich Drepper <drepper@gmail.com>
12623
12624 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
12625
12626 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
12627 prediction.
12628 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
12629
12630 * string/strnlen.c: Don't define STRNLEN, reverse logic.
12631 Remove unused variable magic_bits.
12632 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
12633
12634 * string/strnlen.c: Define and use STRNLEN macro.
12635 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
12636 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
12637 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
12638 * wcsmbs/wcslen.c: Define and use WCSLEN.
12639 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
12640 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
12641 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
12642 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
12643 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
12644 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
12645 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12646
126472011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12648
12649 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12650 strnlen-sse2-no-bsf.
12651 Rename strlen-no-bsf to strlen-sse2-no-bsf.
12652 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
12653 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
12654 Add strnlen support.
12655 (USE_AS_STRNLEN): New macro.
12656 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
12657 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
12658 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
12659 * sysdeps/x86_64/wcslen.S: New file.
12660
126612011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
12662
12663 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12664 XMM-moves are used for copying on small sizes.
12665
126662011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12667
12668 * wcsmbs/Makefile (strop-tests): Add wcschr.
12669 * wcsmbs/test-wcschr.c: New file.
12670 * string/test-strchr.c: Update.
12671 Add wcschr support.
12672 (WIDE): New macro.
12673
126742011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12675
12676 * wcsmbs/Makefile (strop-tests): Add wcslen.
12677 * wcsmbs/test-wcslen.c: New file.
12678 * string/test-strlen.c: Update.
12679 Add wcslen support.
12680 (WIDE): New macro.
12681
126822011-10-23 Ulrich Drepper <drepper@gmail.com>
12683
12684 * po/it.po: Update from translation team.
12685
126862011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12687
12688 * sysdeps/x86_64/wcscmp.S: Update.
12689 Fix wrong comparison semantics.
12690 wcscmp shall use signed comparison not unsigned.
12691 Don't use substraction to avoid overflow bug.
12692 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12693 * wcsmbc/wcscmp.c: Likewise.
12694 * string/test-strcmp.c: Likewise.
12695 Add new tests to check cases with negative values.
12696
126972011-10-23 Ulrich Drepper <drepper@gmail.com>
12698
12699 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
12700 * sysdeps/x86_64/dla.h: ...here. New file.
12701 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
12702 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12703 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12704 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12705 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12706 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12707 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12708 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12709 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12710
127112011-10-23 Andreas Schwab <schwab@linux-m68k.org>
12712
12713 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
12714 __ynl_finite aliases.
12715
127162011-10-22 Ulrich Drepper <drepper@gmail.com>
12717
12718 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12719
12720 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
12721 define DLA_FMA.
12722 [DLA_FMA] (EMULV): Use DLA_FMA.
12723 [DLA_FMA] (MUL12): Use EMULV.
12724 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
12725 that are not needed.
12726 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12727 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12728 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12729 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12730 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12731 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12732 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12733
127342011-10-22 Andreas Schwab <schwab@linux-m68k.org>
12735
12736 * math/s_nan.c: Undef __nan.
12737 * math/s_nanf.c: Undef __nanf.
12738 * math/s_nanl.c: Undef __nanl.
12739 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
12740 "math_private.h".
12741
127422011-10-22 Ulrich Drepper <drepper@gmail.com>
12743
12744 * math/s_catan.c: Add branch predictions.
12745 * math/s_catanf.c: Likewise.
12746 * math/s_catanh.c: Likewise.
12747 * math/s_catanhf.c: Likewise.
12748 * math/s_catanhl.c: Likewise.
12749 * math/s_catanl.c: Likewise.
12750 * math/s_cexp.c: Likewise.
12751 * math/s_cexpf.c: Likewise.
12752 * math/s_cexpl.c: Likewise.
12753 * math/s_clog.c: Likewise.
12754 * math/s_clog10.c: Likewise.
12755 * math/s_clog10f.c: Likewise.
12756 * math/s_clog10l.c: Likewise.
12757 * math/s_clogf.c: Likewise.
12758 * math/s_clogl.c: Likewise.
12759 * math/s_csqrt.c: Likewise.
12760 * math/s_csqrtf.c: Likewise.
12761 * math/s_csqrtl.c: Likewise.
12762 * math/s_ctanf.c: Likewise.
12763 * math/s_ctanh.c: Likewise.
12764 * math/s_ctanhf.c: Likewise.
12765 * math/s_ctanhl.c: Likewise.
12766 * math/s_ctanl.c: Likewise.
12767
12768 * math/math_private.h: Define __nan, __nanf, __nanl.
12769 * math/s_cacosh.c: Include <math_private.h>.
12770 * math/s_cacoshl.c: Likewise.
12771 * math/s_casinh.c: Likewise.
12772 * math/s_casinhf.c: Likewise.
12773 * math/s_casinhl.c: Likewise.
12774 * math/s_ccos.c: Rely entire on ccosh.
12775 * math/s_ccosf.c: Rely entire on ccoshf.
12776 * math/s_ccosl.c: Rely entirely on ccoshl.
12777 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
12778 Remove tests for FE_INVALID.
12779 * math/s_ccoshf.c: Likewise.
12780 * math/s_ccoshl.c: Likewise.
12781 * math/s_csin.c: Likewise.
12782 * math/s_csinf.c: Likewise.
12783 * math/s_csinh.c Likewise.
12784 * math/s_csinhf.c: Likewise.
12785 * math/s_csinhl.c: Likewise.
12786 * math/s_csinl.c: Likewise.
12787 * math/s_ctan.c: Likewise.
12788 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
12789 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
12790 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
12791
127922011-10-21 Ulrich Drepper <drepper@gmail.com>
12793
12794 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
12795 compilation problems.
12796
12797 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
12798 __builtin_expect.
12799
128002011-10-20 Ulrich Drepper <drepper@gmail.com>
12801
12802 * sysdeps/i386/configure.in: Test for -mfma4 option.
12803 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
12804 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
12805 COMMON_CPUID_INDEX_80000001.
12806 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
12807 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
12808 use it if FMA3 is not supported.
12809 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12810
12811 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
12812 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12813
128142011-10-20 Andreas Schwab <schwab@redhat.com>
12815
12816 [BZ #12892]
12817 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
12818 it would create a cycle with a link time dependency.
12819
128202011-10-19 Ulrich Drepper <drepper@gmail.com>
12821
12822 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
12823 instruction.
12824 * string/Makefile (strop-tests): Add rawmemchr.
12825 * string/test-rawmemchr.c: New file.
12826
12827 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
12828 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
12829 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
12830 when compiling str{,n}casecmp and when AVX is available. Hook up
12831 new optimized code in initializers.
12832
128332011-10-19 Andreas Schwab <schwab@redhat.com>
12834
12835 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
12836 __feraiseexcept instead of feraiseexcept.
12837
128382011-10-18 Ulrich Drepper <drepper@gmail.com>
12839
12840 * math/math_private.h: Define defaults for libc_fetestexcept and
12841 libc_feupdateenv.
12842 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
12843 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12844 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12845 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12846 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12847 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12848 libc_fetestexcept and libc_feupdateenv.
12849
12850 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
12851 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
12852 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
12853 * sysdeps/x86_64/fpu/math_private.h: Define special version of
12854 libc_feholdexcept_setround.
12855
12856 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
12857 Add s_nearbyint-c and s_nearbyintf-c.
12858 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
12859 nearbyintf inlines.
12860 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
12861 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
12862 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
12863 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
12864
12865 * math/math_private.h: Define defaults for libc_fegetround,
12866 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
12867 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
12868 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
12869 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
12870 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
12871 standard functions.
12872 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12873 Remove comments and hacks for old compiler versions.
12874 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12875 libc_fegetround, libc_fesetround, libc_feholdexcept, and
12876 libc_feholdexceptl.
12877
128782011-10-18 Andreas Schwab <schwab@redhat.com>
12879
12880 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
12881 (__feraiseexcept_renamed): Add __NTH.
12882 (feraiseexcept): Add __NTH. Rename local variables to fix
12883 namespace violations.
12884
128852011-10-17 Ulrich Drepper <drepper@gmail.com>
12886
12887 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
12888
12889 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
12890
12891 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
12892 recently added interfaces.
12893 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
12894
12895 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
12896 about macro parameter expansion.
12897
12898 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
12899 __NO_MATH_INLINES is defined. Cleanups.
12900
12901 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
12902 and __floorf is target has SSE4.1.
12903 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
12904 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
12905 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
12906 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
12907
12908 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
12909 name.
12910 (floorf): Likewise.
12911
12912 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
12913
129142011-10-17 Andreas Schwab <schwab@redhat.com>
12915
12916 * misc/sys/cdefs.h: Fix last change.
12917
12918 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
12919 database lookup.
12920
129212011-10-16 Ulrich Drepper <drepper@gmail.com>
12922
12923 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
12924
12925 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
12926 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12927 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12928 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12929 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12930 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12931 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12932 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12933 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12934 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
12935 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
12936 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
12937 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
12938 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
12939 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
12940 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
12941 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
12942 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
12943 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
12944 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
12945 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
12946 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
12947
12948 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
12949 ceil, ceilf, floor, floorf.
12950
12951 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
12952 Perform IRELATIVE relocations last.
12953
12954 * elf/do-rel.h: Add another parameter nrelative, replacing the
12955 local variable with the same name. Change name of the function
12956 to end in Rel or Rela (uppercase).
12957 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
12958 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
12959 elf_dynamic_do_##reloc function.
12960
129612011-10-15 Ulrich Drepper <drepper@gmail.com>
12962
12963 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
12964 is sufficient, at least on modern CPUs.
12965
12966 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
12967
12968 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
12969 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
12970
12971 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
12972 __expl_finite.
12973 * math/bits/math-finite.h: Add entries for exp.
12974 * math/e_expl.c: Add __*_finite alias.
12975 * sysdeps/i386/fpu/e_exp.S: Likewise.
12976 * sysdeps/i386/fpu/e_expf.S: Likewise.
12977 * sysdeps/i386/fpu/e_expl.c: Likewise.
12978 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12979 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12980 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12981 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12982 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
12983 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12984 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12985
12986 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
12987 is sufficient, at least on modern CPUs.
12988
12989 * ctype/ctype-info.c (__ctype_init): Define.
12990 * include/ctype.h (__ctype_init): Declare.
12991 (__ctype_b_loc): The variable is always initialized.
12992 (__ctype_toupper_loc): Likewise.
12993 (__ctype_tolower_loc): Likewise.
12994 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
12995 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
12996
129972011-10-15 Andreas Schwab <schwab@linux-m68k.org>
12998
12999 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
13000
13001 * configure.in: Also look in $cxxmachine/include for C++ system
13002 headers.
13003
130042011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13005
13006 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
13007 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
13008 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
13009 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
13010 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
13011 (USE_AS_WMEMCMP): New macro.
13012 Fixing indents.
13013 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
13014 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
13015 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
13016 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
13017 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13018 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
13019 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
13020 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
13021 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
13022 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
13023 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
13024 (USE_AS_WMEMCMP): New macro.
13025 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
13026 * sysdeps/string/test-memcmp.c: Update.
13027 Fix simple_wmemcmp.
13028 Add new tests.
13029 * wcsmbs/wmemcmp.c: Update.
13030 (WMEMCMP): New macro.
13031 Fix overflow bug.
13032
130332011-10-12 Andreas Jaeger <aj@suse.de>
13034
13035 [BZ #13268]
13036 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
13037
130382011-10-15 Ulrich Drepper <drepper@gmail.com>
13039
13040 * libio/iofwide.c (do_length): Avoid warning.
13041
13042 * ctype/ctype.h (__isctype_f): Add missing __THROW.
13043
130442011-10-14 Ulrich Drepper <drepper@gmail.com>
13045
13046 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
13047
13048 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
13049 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
13050 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
13051 * sysdeps/i386/i686/fpu/e_log.S: New file.
13052 * sysdeps/i386/i686/fpu/e_logf.S: New file.
13053 * sysdeps/i386/i686/fpu/e_logl.S: New file.
13054
13055 * ctype/ctype.h: Add support for inlined isXXX functions when
13056 compiling C++ code.
13057
130582011-10-14 Andreas Schwab <schwab@redhat.com>
13059
13060 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13061
13062 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
13063
130642011-10-13 Roland McGrath <roland@hack.frob.com>
13065
13066 [BZ #13291]
13067 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
13068
130692011-10-13 Andreas Schwab <schwab@redhat.com>
13070
13071 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
13072 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
13073 feraiseexcept.
13074
13075 * sysdeps/x86_64/memrchr.S: Check for zero size.
13076
13077 * string/stratcliff.c: Add memrchr tests.
13078
130792011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13080
13081 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13082 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
13083 rawmemchr-sse2 rawmemchr-sse2-bsf.
13084 * sysdeps/i386/i686/multiarch/memchr.S: New file.
13085 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
13086 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
13087 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
13088 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
13089 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
13090 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
13091 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
13092 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
13093 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
13094 * string/memrchr.c (MEMRCHR): New macro.
13095
130962011-10-12 Ulrich Drepper <drepper@gmail.com>
13097
13098 Add integration with gcc's -ffinite-math-only and optimize wrapper
13099 functions in libm.
13100 * Versions.def: Define GLIBC_2.15 version for libm.
13101 * math/Makefile (headers): Add bits/math-finite.h.
13102 * math/bits/math-finite.h: New file.
13103 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
13104 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
13105 * math/e_acoshl.c: Add __*_finite alias.
13106 * math/e_acosl.c: Likewise.
13107 * math/e_asinl.c: Likewise.
13108 * math/e_atan2l.c: Likewise.
13109 * math/e_atanhl.c: Likewise.
13110 * math/e_coshl.c: Likewise.
13111 * math/e_exp10.c: Likewise.
13112 * math/e_exp10f.c: Likewise.
13113 * math/e_exp10l.c: Likewise.
13114 * math/e_exp2l.c: Likewise.
13115 * math/e_fmodl.c: Likewise.
13116 * math/e_gammal_r.c: Likewise.
13117 * math/e_hypotl.c: Likewise.
13118 * math/e_j0l.c: Likewise.
13119 * math/e_j1l.c: Likewise.
13120 * math/e_jnl.c: Likewise.
13121 * math/e_lgammal_r.c: Likewise.
13122 * math/e_log10l.c: Likewise.
13123 * math/e_log2l.c: Likewise.
13124 * math/e_logl.c: Likewise.
13125 * math/e_powl.c: Likewise.
13126 * math/e_sinhl.c: Likewise.
13127 * math/e_sqrtl.c: Likewise.
13128 * math/e_scalb.c: Completely rewritten and optimized.
13129 * math/e_scalbf.c: Likewise.
13130 * math/e_scalbl.c: Likewise.
13131 * math/w_acos.c: Likewise.
13132 * math/w_acosf.c: Likewise.
13133 * math/w_acosl.c: Likewise.
13134 * math/w_acosh.c: Likewise.
13135 * math/w_acoshf.c: Likewise.
13136 * math/w_acoshl.c: Likewise.
13137 * math/w_asin.c: Likewise.
13138 * math/w_asinf.c: Likewise.
13139 * math/w_asinl.c: Likewise.
13140 * math/w_atan2.c: Likewise.
13141 * math/w_atan2f.c: Likewise.
13142 * math/w_atan2l.c: Likewise.
13143 * math/w_atanh.c: Likewise.
13144 * math/w_atanhf.c: Likewise.
13145 * math/w_atanhl.c: Likewise.
13146 * math/w_exp10.c: Likewise.
13147 * math/w_exp10f.c: Likewise.
13148 * math/w_exp10l.c: Likewise.
13149 * math/w_fmod.c: Likewise.
13150 * math/w_fmodf.c: Likewise.
13151 * math/w_fmodl.c: Likewise.
13152 * math/w_j0.c: Likewise.
13153 * math/w_j0f.c: Likewise.
13154 * math/w_j0l.c: Likewise.
13155 * math/w_j1.c: Likewise.
13156 * math/w_j1f.c: Likewise.
13157 * math/w_j1l.c: Likewise.
13158 * math/w_jn.c: Likewise.
13159 * math/w_jnf.c: Likewise.
13160 * math/w_log.c: Likewise.
13161 * math/w_logf.c: Likewise.
13162 * math/w_logl.c: Likewise.
13163 * math/w_log10.c: Likewise.
13164 * math/w_log10f.c: Likewise.
13165 * math/w_log10l.c: Likewise.
13166 * math/w_log2.c: Likewise.
13167 * math/w_log2f.c: Likewise.
13168 * math/w_log2l.c: Likewise.
13169 * math/w_pow.c: Likewise.
13170 * math/w_powf.c: Likewise.
13171 * math/w_powl.c: Likewise.
13172 * math/w_remainder.c: Likewise.
13173 * math/w_remainderf.c: Likewise.
13174 * math/w_remainderl.c: Likewise.
13175 * math/w_scalb.c: Likewise.
13176 * math/w_scalbf.c: Likewise.
13177 * math/w_scalbl.c: Likewise.
13178 * math/w_sqrt.c: Likewise.
13179 * math/w_sqrtf.c: Likewise.
13180 * math/w_sqrtl.c: Likewise.
13181 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13182 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
13183 used.
13184 * math/math_private.h: Declare __kernel_standard_f.
13185 * math/w_cosh.c: Remove cruft and optimize a bit.
13186 * math/w_coshf.c: Likewise.
13187 * math/w_coshl.c: Likewise.
13188 * math/w_exp2.c: Likewise.
13189 * math/w_exp2f.c: Likewise.
13190 * math/w_exp2l.c: Likewise.
13191 * math/w_hypot.c: Likewise.
13192 * math/w_hypotf.c: Likewise.
13193 * math/w_hypotl.c: Likewise.
13194 * math/w_lgamma.c: Likewise.
13195 * math/w_lgamma_r.c: Likewise.
13196 * math/w_lgammaf.c: Likewise.
13197 * math/w_lgammaf_r.c: Likewise.
13198 * math/w_lgammal.c: Likewise.
13199 * math/w_lgammal_r.c: Likewise.
13200 * math/w_sinh.c: Likewise.
13201 * math/w_sinhf.c: Likewise.
13202 * math/w_sinhl.c: Likewise.
13203 * math/w_tgamma.c: Likewise.
13204 * math/w_tgammaf.c: Likewise.
13205 * math/w_tgammal.c: Likewise.
13206 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13207 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13208 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13209 Minor optimizations. Pretty printing. Remove cruft.
13210 * sysdeps/i386/fpu/e_acosf.S: Likewise.
13211 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13212 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13213 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13214 * sysdeps/i386/fpu/e_acosl.c: Likewise.
13215 * sysdeps/i386/fpu/e_asin.S: Likewise.
13216 * sysdeps/i386/fpu/e_asinf.S: Likewise.
13217 * sysdeps/i386/fpu/e_atan2.S: Likewise.
13218 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13219 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13220 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13221 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13222 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13223 * sysdeps/i386/fpu/e_exp10.S: Likewise.
13224 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13225 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13226 * sysdeps/i386/fpu/e_exp2.S: Likewise.
13227 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13228 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13229 * sysdeps/i386/fpu/e_fmod.S: Likewise.
13230 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13231 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13232 * sysdeps/i386/fpu/e_hypot.S: Likewise.
13233 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
13234 * sysdeps/i386/fpu/e_log.S: Likewise.
13235 * sysdeps/i386/fpu/e_log10.S: Likewise.
13236 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13237 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13238 * sysdeps/i386/fpu/e_log2.S: Likewise.
13239 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13240 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13241 * sysdeps/i386/fpu/e_logf.S: Likewise.
13242 * sysdeps/i386/fpu/e_logl.S: Likewise.
13243 * sysdeps/i386/fpu/e_pow.S: Likewise.
13244 * sysdeps/i386/fpu/e_powf.S: Likewise.
13245 * sysdeps/i386/fpu/e_powl.S: Likewise.
13246 * sysdeps/i386/fpu/e_remainder.S: Likewise.
13247 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
13248 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
13249 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13250 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13251 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13252 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
13253 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
13254 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
13255 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13256 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13257 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13258 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13259 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13260 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13261 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13262 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13263 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13264 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13265 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13266 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13267 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13268 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13269 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13270 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13271 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13272 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13273 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13274 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13275 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13276 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13277 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13278 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13279 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13280 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13281 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13282 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13283 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13284 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13285 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13286 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13287 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13288 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13289 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13290 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13291 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13292 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13293 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13294 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13295 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13296 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13297 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13298 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13299 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13300 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13301 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13302 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13303 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13304 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13305 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13306 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13307 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13308 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13309 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13310 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13311 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13312 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13313 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13314 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13315 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13316 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13317 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13318 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13319 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13320 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13321 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13322 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13323 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13324 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13325 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13326 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13327 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13328 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13329 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13330 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13331 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13332 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13333 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13334 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13335 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13336 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13337 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13338 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13339 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13340 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13341 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13342 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13343 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13344 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13345 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13346 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13347 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13348 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13349 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13350 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13351 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13352 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13353 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13354 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13355 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
13356 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
13357 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
13358 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
13359 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13360 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13361 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13362 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13363 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
13364 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13365 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
13366 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
13367 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
13368 (__isnanf): Likewise.
13369 (__isinf_ns): Likewise.
13370 (__isinf_nsf): Likewise.
13371 (__finite): Likewise.
13372 (__finitef): Likewise.
13373 (__ieee754_sqrt): Define as macro.
13374 (__ieee754_sqrtf): Define as macro.
13375 (__ieee754_sqrtl): Define as macro.
13376 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
13377 inlined copy.
13378 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
13379 __FINITE_MATH_ONLY__ consistent.
13380 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
13381
133822011-10-10 Andreas Schwab <schwab@linux-m68k.org>
13383
13384 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
13385 of rawmemchr.
13386
13387 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
13388
133892011-10-09 Ulrich Drepper <drepper@gmail.com>
13390
13391 * po/ja.po: Update from translation team.
13392
133932011-10-08 Roland McGrath <roland@hack.frob.com>
13394
13395 * locale/programs/locarchive.c (prepare_address_space): New function.
13396 (create_archive, enlarge_archive, open_archive): Use it.
13397
13398 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
13399 inside [SHARED], where it is used.
13400
13401 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
13402
13403 * nss/getent.c (netgroup_keys): Remove unused variable.
13404 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13405
134062011-10-08 Ulrich Drepper <drepper@gmail.com>
13407
13408 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
13409 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
13410 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
13411 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
13412 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
13413 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
13414 * math/Makefile (libm-calls): Add s_isinf_ns.
13415 * math/divtc3.c: Use __isinf_nsl instead of isinf.
13416 * math/multc3.c: Likewise.
13417 * math/s_casin.c: Likewise.
13418 * math/s_casinf.c: Likewise.
13419 * math/s_casinl.c: Likewise.
13420 * math/s_ccos.c: Likewise.
13421 * math/s_ccosf.c: Likewise.
13422 * math/s_ccosl.c: Likewise.
13423 * math/s_ctan.c: Likewise.
13424 * math/s_ctanf.c: Likewise.
13425 * math/s_ctanh.c: Likewise.
13426 * math/s_ctanhf.c: Likewise.
13427 * math/s_ctanhl.c: Likewise.
13428 * math/s_ctanl.c: Likewise.
13429 * math/w_fmod.c: Likewise.
13430 * math/w_fmodf.c: Likewise.
13431 * math/w_fmodl.c: Likewise.
13432 * math/w_remainder.c: Likewise.
13433 * math/w_remainderf.c: Likewise.
13434 * math/w_remainderl.c: Likewise.
13435 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
13436 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
13437 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
13438 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
13439 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
13440 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
13441 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
13442 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
13443
13444 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
13445 of the number.
13446 * stdio-common/printf_fphex.c: Likewise.
13447 * stdio-common/printf_size.c: Likewise.
13448
13449 * math/e_exp10.c: Include math_private.h using <...> not "...".
13450 * math/e_exp10f.c: Likewise.
13451 * math/e_exp10l.c: Likewise.
13452 * math/e_exp2l.c: Likewise.
13453 * math/e_j0l.c: Likewise.
13454 * math/e_j1l.c: Likewise.
13455 * math/e_jnl.c: Likewise.
13456 * math/e_lgammal_r.c: Likewise.
13457 * math/e_rem_pio2l.c: Likewise.
13458 * math/e_scalb.c: Likewise.
13459 * math/e_scalbf.c: Likewise.
13460 * math/e_scalbl.c: Likewise.
13461 * math/k_cosl.c: Likewise.
13462 * math/k_sinl.c: Likewise.
13463 * math/k_tanl.c: Likewise.
13464 * math/s_cacoshf.c: Likewise.
13465 * math/s_catan.c: Likewise.
13466 * math/s_catanf.c: Likewise.
13467 * math/s_catanh.c: Likewise.
13468 * math/s_catanhf.c: Likewise.
13469 * math/s_catanhl.c: Likewise.
13470 * math/s_catanl.c: Likewise.
13471 * math/s_ccosh.c: Likewise.
13472 * math/s_ccoshf.c: Likewise.
13473 * math/s_ccoshl.c: Likewise.
13474 * math/s_cexp.c: Likewise.
13475 * math/s_cexpf.c: Likewise.
13476 * math/s_cexpl.c: Likewise.
13477 * math/s_clog.c: Likewise.
13478 * math/s_clog10.c: Likewise.
13479 * math/s_clog10f.c: Likewise.
13480 * math/s_clog10l.c: Likewise.
13481 * math/s_clogf.c: Likewise.
13482 * math/s_clogl.c: Likewise.
13483 * math/s_csin.c: Likewise.
13484 * math/s_csinf.c: Likewise.
13485 * math/s_csinh.c: Likewise.
13486 * math/s_csinhf.c: Likewise.
13487 * math/s_csinhl.c: Likewise.
13488 * math/s_csinl.c: Likewise.
13489 * math/s_csqrt.c: Likewise.
13490 * math/s_csqrtf.c: Likewise.
13491 * math/s_csqrtl.c: Likewise.
13492 * math/s_ctan.c: Likewise.
13493 * math/s_ctanf.c: Likewise.
13494 * math/s_ctanh.c: Likewise.
13495 * math/s_ctanhf.c: Likewise.
13496 * math/s_ctanhl.c: Likewise.
13497 * math/s_ctanl.c: Likewise.
13498 * math/s_ldexp.c: Likewise.
13499 * math/s_ldexpf.c: Likewise.
13500 * math/s_ldexpl.c: Likewise.
13501 * math/s_significand.c: Likewise.
13502 * math/s_significandf.c: Likewise.
13503 * math/s_significandl.c: Likewise.
13504 * math/w_acos.c: Likewise.
13505 * math/w_acosf.c: Likewise.
13506 * math/w_acosh.c: Likewise.
13507 * math/w_acoshf.c: Likewise.
13508 * math/w_acoshl.c: Likewise.
13509 * math/w_acosl.c: Likewise.
13510 * math/w_asin.c: Likewise.
13511 * math/w_asinf.c: Likewise.
13512 * math/w_asinl.c: Likewise.
13513 * math/w_atan2.c: Likewise.
13514 * math/w_atan2f.c: Likewise.
13515 * math/w_atan2l.c: Likewise.
13516 * math/w_atanh.c: Likewise.
13517 * math/w_atanhf.c: Likewise.
13518 * math/w_atanhl.c: Likewise.
13519 * math/w_cosh.c: Likewise.
13520 * math/w_coshf.c: Likewise.
13521 * math/w_coshl.c: Likewise.
13522 * math/w_dremf.c: Likewise.
13523 * math/w_exp10.c: Likewise.
13524 * math/w_exp10f.c: Likewise.
13525 * math/w_exp10l.c: Likewise.
13526 * math/w_exp2.c: Likewise.
13527 * math/w_exp2f.c: Likewise.
13528 * math/w_fmod.c: Likewise.
13529 * math/w_fmodf.c: Likewise.
13530 * math/w_fmodl.c: Likewise.
13531 * math/w_hypot.c: Likewise.
13532 * math/w_hypotf.c: Likewise.
13533 * math/w_hypotl.c: Likewise.
13534 * math/w_j0.c: Likewise.
13535 * math/w_j0f.c: Likewise.
13536 * math/w_j0l.c: Likewise.
13537 * math/w_j1.c: Likewise.
13538 * math/w_j1f.c: Likewise.
13539 * math/w_j1l.c: Likewise.
13540 * math/w_jn.c: Likewise.
13541 * math/w_jnf.c: Likewise.
13542 * math/w_jnl.c: Likewise.
13543 * math/w_lgamma.c: Likewise.
13544 * math/w_lgamma_r.c: Likewise.
13545 * math/w_lgammaf.c: Likewise.
13546 * math/w_lgammaf_r.c: Likewise.
13547 * math/w_lgammal.c: Likewise.
13548 * math/w_lgammal_r.c: Likewise.
13549 * math/w_log.c: Likewise.
13550 * math/w_log10.c: Likewise.
13551 * math/w_log10f.c: Likewise.
13552 * math/w_log10l.c: Likewise.
13553 * math/w_log2.c: Likewise.
13554 * math/w_log2f.c: Likewise.
13555 * math/w_log2l.c: Likewise.
13556 * math/w_logf.c: Likewise.
13557 * math/w_logl.c: Likewise.
13558 * math/w_pow.c: Likewise.
13559 * math/w_powf.c: Likewise.
13560 * math/w_powl.c: Likewise.
13561 * math/w_remainder.c: Likewise.
13562 * math/w_remainderf.c: Likewise.
13563 * math/w_remainderl.c: Likewise.
13564 * math/w_scalb.c: Likewise.
13565 * math/w_scalbf.c: Likewise.
13566 * math/w_scalbl.c: Likewise.
13567 * math/w_sinh.c: Likewise.
13568 * math/w_sinhf.c: Likewise.
13569 * math/w_sinhl.c: Likewise.
13570 * math/w_sqrt.c: Likewise.
13571 * math/w_sqrtf.c: Likewise.
13572 * math/w_sqrtl.c: Likewise.
13573 * math/w_tgamma.c: Likewise.
13574 * math/w_tgammaf.c: Likewise.
13575 * math/w_tgammal.c: Likewise.
13576
13577 * po/ja.po: Update from translation team.
13578
135792011-09-29 Andreas Jaeger <aj@suse.de>
13580
13581 [BZ #13179]
13582 * sunrpc/netname.c (netname2host): Fix logic.
13583
13584 [BZ #6779]
13585 [BZ #6783]
13586 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
13587 correctly.
13588 * math/w_remainder.c (__remainder): Likewise.
13589 * math/w_remainderf.c (__remainderf): Likewise.
13590 * math/libm-test.inc (remainder_test): Add test cases.
13591
135922011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13593
13594 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
13595 sdiv_qrnnd.
13596
135972011-10-07 Ulrich Drepper <drepper@gmail.com>
13598
13599 * string/test-memcmp.c: Avoid unncessary #defines.
13600 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13601
136022011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13603
13604 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
13605 Use new sse2 version for core i3 - i7 as it's faster
13606 than sse42 version.
13607 (bit_Prefer_PMINUB_for_stringop): New.
13608 * sysdeps/x86_64/rawmemchr.S: Update.
13609 Replace with faster SSE2 version.
13610 * sysdeps/x86_64/memrchr.S: New file.
13611 * sysdeps/x86_64/memchr.S: Update.
13612 Replace with faster SSE2 version.
13613
136142011-09-12 Marek Polacek <mpolacek@redhat.com>
13615
13616 * elf/dl-load.c (lose): Add cast to avoid warning.
13617
136182011-10-07 Ulrich Drepper <drepper@gmail.com>
13619
13620 * po/ca.po: Update from translation team.
13621
13622 * inet/getnetgrent_r.c: Hook up nscd.
13623 * nscd/Makefile (routines): Add nscd_netgroup.
13624 (nscd-modules): Add netgroupcache.
13625 (CFLAGS-netgroupcache.c): Define.
13626 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
13627 (cache_search): Add const to second parameter.
13628 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
13629 INNETGR.
13630 (dbs): Add netgrdb entry.
13631 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
13632 (verify_persistent_db): Handle netgrdb.
13633 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
13634 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
13635 GETFDNETGR.
13636 (netgroup_response_header): Define.
13637 (innetgroup_response_header): Define.
13638 (datahead): Add netgroup_response_header and innetgroup_response_header
13639 elements.
13640 * nscd/nscd.conf: Add entries for netgroup cache.
13641 * nscd/nscd.h (dbtype): Add netgrdb.
13642 (_PATH_NSCD_NETGROUP_DB): Define.
13643 (netgroup_iov_disabled): Declare.
13644 (xmalloc, xcalloc, xrealloc): Move declarations here.
13645 (cache_search): Adjust prototype.
13646 Add netgroup-related prototypes.
13647 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
13648 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
13649 (__nscd_innetgr): Declare.
13650 * nscd/selinux.c (perms): Use access_vector_t as element type and
13651 add netgroup-related initializers.
13652 * nscd/netgroupcache.c: New file.
13653 * nscd/nscd_netgroup.c: New file.
13654 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
13655 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
13656 For four parameters use innetgr.
13657 * nss/nss_files/files-init.c: Add definition and callback for netgr.
13658 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
13659 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
13660 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
13661
13662 * nscd/connections.c (register_traced_file): Don't register file
13663 for disabled databases.
13664
136652011-10-06 Ulrich Drepper <drepper@gmail.com>
13666
13667 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
13668
13669 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
13670 from tree and freeing node.
13671
136722011-09-25 Jiri Olsa <jolsa@redhat.com>
13673
13674 * nss/nsswitch.c (__nss_database_lookup): Handle
13675 nss_parse_service_list out of memory case.
13676
136772011-09-15 Jiri Olsa <jolsa@redhat.com>
13678
13679 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
13680 out of memory case.
13681
136822011-10-04 Andreas Schwab <schwab@redhat.com>
13683
13684 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
13685 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
13686 pass it down.
13687 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
13688 elf_machine_rela, elf_machine_lazy_rel.
13689 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
13690 (ELF_DYNAMIC_DO_REL): Likewise.
13691 (ELF_DYNAMIC_DO_RELA): Likewise.
13692 (ELF_DYNAMIC_RELOCATE): Likewise.
13693 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
13694 to ELF_DYNAMIC_DO_REL.
13695 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
13696 (dl_main): In trace mode always set __RTLD_NOIFUNC.
13697 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
13698 elf_machine_rela.
13699 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
13700 skip_ifunc, don't call ifunc function if non-zero.
13701 (elf_machine_rela): Likewise.
13702 (elf_machine_lazy_rel): Likewise.
13703 (elf_machine_lazy_rela): Likewise.
13704 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13705 (elf_machine_lazy_rel): Likewise.
13706 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13707 Likewise.
13708 (elf_machine_lazy_rel): Likewise.
13709 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13710 Likewise.
13711 (elf_machine_lazy_rel): Likewise.
13712 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
13713 (elf_machine_lazy_rel): Likewise.
13714 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
13715 (elf_machine_lazy_rel): Likewise.
13716 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13717 (elf_machine_lazy_rel): Likewise.
13718 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
13719 (elf_machine_lazy_rel): Likewise.
13720 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
13721 (elf_machine_lazy_rel): Likewise.
13722 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13723 (elf_machine_lazy_rel): Likewise.
13724
137252011-09-28 Ulrich Drepper <drepper@gmail.com>
13726
13727 * nss/nss_files/files-init.c (_nss_files_init): Use static
13728 initialization for all the *_traced_file variables.
13729
137302011-09-28 Andreas Schwab <schwab@redhat.com>
13731
13732 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13733
137342011-09-27 Roland McGrath <roland@hack.frob.com>
13735
13736 [BZ #13226]
13737 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
13738
137392011-09-27 Andreas Schwab <schwab@redhat.com>
13740
13741 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13742 Reread the line before reparsing it.
13743
137442011-09-26 Andreas Schwab <schwab@redhat.com>
13745
13746 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
13747
137482011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
13749 Maxim Kuvyrkov <maxim@codesourcery.com>
13750 Joseph Myers <joseph@codesourcery.com>
13751
13752 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
13753 if needed for __stack_chk_guard.
13754
137552011-09-19 Roland McGrath <roland@hack.frob.com>
13756
13757 * sysdeps/posix/spawni.c (script_execute): Always define it.
13758 It will be optimized away if unused.
13759 (maybe_script_execute): New function.
13760 (__spawni): Call it.
13761
13762 * Makerules: Don't include tls.make.
13763 (config-tls): Always set to thread.
13764 * tls.make.c: File removed.
13765
137662011-09-19 Mike Frysinger <vapier@gentoo.org>
13767
13768 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
13769 * config.make.in (CPPFLAGS-config): New substituted variable.
13770
137712011-09-15 Ulrich Drepper <drepper@gmail.com>
13772
13773 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
13774
13775 [BZ #13192]
13776 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
13777 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
13778
137792011-09-15 Roland McGrath <roland@hack.frob.com>
13780
13781 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
13782 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
13783 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13784 (CALL_FAIL): Likewise.
13785 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
13786 (CALL_FAIL): Macro removed.
13787 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
13788
137892011-09-15 Ulrich Drepper <drepper@gmail.com>
13790
13791 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
13792 for __FINITE_MATH_ONLY__ == 1.
13793
137942011-09-15 Andreas Schwab <schwab@redhat.com>
13795
13796 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
13797 __ieee754_sqrt instead of sqrt.
13798 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
13799 __ieee754_sqrtf instead of sqrtf.
13800 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
13801 __floorf instead of floorf.
13802 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
13803 __floorf, __truncf instead of floorf, truncf.
13804
138052011-09-14 Ulrich Drepper <drepper@gmail.com>
13806
13807 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
13808
13809 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
13810 __extern_always_inline.
13811 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
13812 32-bit.
13813
138142011-09-14 Andreas Schwab <schwab@redhat.com>
13815
13816 * elf/rtld.c (dl_main): Also relocate in dependency order when
13817 doing symbol dependency testing.
13818
138192011-09-13 Andreas Schwab <schwab@linux-m68k.org>
13820
13821 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13822 Always define `refsym'.
13823
138242011-09-13 Andreas Schwab <schwab@redhat.com>
13825
13826 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
13827 (__FD_ELT): Renamed from __FDELT.
13828 * misc/bits/select2.h (__FD_ELT): Likewise.
13829 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
13830 __FD_MASK instead of __FDELT, __FDMASK.
13831 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13832 Likewise.
13833 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13834 Likewise.
13835
13836 * elf/Makefile (gen-ldd): Fix pattern.
13837
13838 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
13839 (init_tls): Likewise.
13840
138412011-09-12 Ulrich Drepper <drepper@gmail.com>
13842
13843 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
13844
138452011-09-12 Andreas Schwab <schwab@redhat.com>
13846
13847 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
13848 `struct cmsghdr *' instead of `void *'.
13849 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
13850 Likewise.
13851
138522011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13853
13854 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
13855 if non-absolute.
13856 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
13857 ldd_rewrite_script.
13858
138592011-09-11 Ulrich Drepper <drepper@gmail.com>
13860
13861 * configure.in: Remove --with-tls option.
13862 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
13863 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
13864 out in case it is missing.
13865 * sysdeps/ia64/elf/configure.in: Likewise.
13866 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
13867 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
13868 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
13869 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
13870 * sysdeps/sh/elf/configure.in: Likewise.
13871 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
13872 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13873 * sysdeps/x86_64/elf/configure.in: Likewise.
13874 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
13875 * sysdeps/mach/hurd/tls.h: Likewise.
13876
13877 [BZ #13067]
13878 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
13879
13880 [BZ #13090]
13881 * configure.in: Fix use of AC_INIT.
13882
13883 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
13884
138852011-09-10 Ulrich Drepper <drepper@gmail.com>
13886
13887 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
13888 __set_errno.
13889 * malloc/hooks.c: Likewise.
13890
13891 [BZ #11929]
13892 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
13893 variables statically.
13894 (narenas): Initialize.
13895 (list_lock): Initialize.
13896 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
13897 initializtion of main_arena and list_lock. Small cleanups.
13898 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
13899 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
13900 Add initializers to main_arena and mp_.
13901 (malloc_state): Remove pagesize member. Change all users to use
13902 GLRO(dl_pagesize).
13903
13904 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
13905 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
13906 is always initialized.
13907
13908 * malloc/malloc.c: Removed unused configurations and dead code.
13909 * malloc/arena.c: Likewise.
13910 * malloc/hooks.c: Likewise.
13911 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
13912
13913 * include/tls.h: Removed. USE___THREAD must always be defined.
13914 * bits/libc-tsd.h: Don't handle !USE___THREAD.
13915 * elf/dl-libc.c: Likewise.
13916 * elf/dl-tsd.c: Likewise.
13917 * include/errno.h: Likewise.
13918 * include/netdb.h: Likewise.
13919 * include/resolv.h: Likewise.
13920 * inet/herrno-loc.c: Likewise.
13921 * inet/herrno.c: Likewise.
13922 * malloc/arena.c: Likewise.
13923 * malloc/hooks.c: Likewise.
13924 * malloc/malloc.c: Likewise.
13925 * resolv/res-state.c: Likewise.
13926 * resolv/res_libc.c: Likewise.
13927 * sysdeps/i386/dl-machine.h: Likewise.
13928 * sysdeps/ia64/dl-machine.h: Likewise.
13929 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13930 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13931 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13932 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13933 * sysdeps/sh/dl-machine.h: Likewise.
13934 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13935 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13936 * sysdeps/unix/i386/sysdep.S: Likewise.
13937 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13938 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13939 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13940 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13941 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13942 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13943 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13944 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13945 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13946 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13947 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13948 * sysdeps/x86_64/dl-machine.h: Likewise.
13949 * tls.make.c: Likewise.
13950
13951 * configure.in: Remove --with-__thread option. Make tests for
13952 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
13953 tls_model attribute fail if no support is available. Remove
13954 USE_IN_LIBIO.
13955 * Makeconfig: Adjust for dropped configure option. All features are
13956 now mandatory.
13957 * Makerules: Likewise.
13958 * Versions.def: Likewise.
13959 * argp/argp-fmtstream.c: Likewise.
13960 * argp/argp-fmtstream.h: Likewise.
13961 * argp/argp-help.c: Likewise.
13962 * assert/assert.c: Likewise.
13963 * config.h.in: Likewise.
13964 * config.make.in: Likewise.
13965 * configure: Likewise.
13966 * configure.in: Likewise.
13967 * csu/Versions: Likewise.
13968 * csu/init.c: Likewise.
13969 * elf/tst-audit2.c: Likewise.
13970 * elf/tst-tls10.c: Likewise.
13971 * elf/tst-tls10.h: Likewise.
13972 * elf/tst-tls11.c: Likewise.
13973 * elf/tst-tls12.c: Likewise.
13974 * elf/tst-tls14.c: Likewise.
13975 * elf/tst-tlsmod11.c: Likewise.
13976 * elf/tst-tlsmod12.c: Likewise.
13977 * elf/tst-tlsmod13.c: Likewise.
13978 * elf/tst-tlsmod13a.c: Likewise.
13979 * elf/tst-tlsmod14a.c: Likewise.
13980 * elf/tst-tlsmod15b.c: Likewise.
13981 * elf/tst-tlsmod16a.c: Likewise.
13982 * elf/tst-tlsmod16b.c: Likewise.
13983 * elf/tst-tlsmod7.c: Likewise.
13984 * elf/tst-tlsmod8.c: Likewise.
13985 * elf/tst-tlsmod9.c: Likewise.
13986 * gmon/gmon.c: Likewise.
13987 * grp/fgetgrent_r.c: Likewise.
13988 * grp/putgrent.c: Likewise.
13989 * hurd/fopenport.c: Likewise.
13990 * include/libc-symbols.h: Likewise.
13991 * include/tls.h: Likewise.
13992 * intl/gettextP.h: Likewise.
13993 * intl/loadinfo.h: Likewise.
13994 * locale/global-locale.c: Likewise.
13995 * locale/localeinfo.h: Likewise.
13996 * mach/devstream.c: Likewise.
13997 * malloc/arena.c: Likewise.
13998 * malloc/set-freeres.c: Likewise.
13999 * misc/err.c: Likewise.
14000 * misc/getttyent.c: Likewise.
14001 * misc/mntent_r.c: Likewise.
14002 * posix/getopt.c: Likewise.
14003 * posix/wordexp.c: Likewise.
14004 * pwd/fgetpwent_r.c: Likewise.
14005 * resolv/Versions: Likewise.
14006 * resolv/res_hconf.c: Likewise.
14007 * shadow/fgetspent_r.c: Likewise.
14008 * shadow/putspent.c: Likewise.
14009 * stdio-common/printf_fphex.c: Likewise.
14010 * stdio-common/tmpfile.c: Likewise.
14011 * stdlib/abort.c: Likewise.
14012 * stdlib/fmtmsg.c: Likewise.
14013 * sunrpc/auth_unix.c: Likewise.
14014 * sunrpc/clnt_perr.c: Likewise.
14015 * sunrpc/clnt_tcp.c: Likewise.
14016 * sunrpc/clnt_udp.c: Likewise.
14017 * sunrpc/clnt_unix.c: Likewise.
14018 * sunrpc/openchild.c: Likewise.
14019 * sunrpc/svc_simple.c: Likewise.
14020 * sunrpc/svc_tcp.c: Likewise.
14021 * sunrpc/svc_udp.c: Likewise.
14022 * sunrpc/svc_unix.c: Likewise.
14023 * sunrpc/xdr.c: Likewise.
14024 * sunrpc/xdr_array.c: Likewise.
14025 * sunrpc/xdr_rec.c: Likewise.
14026 * sunrpc/xdr_ref.c: Likewise.
14027 * sunrpc/xdr_stdio.c: Likewise.
14028
140292011-09-09 Ulrich Drepper <drepper@gmail.com>
14030
14031 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14032
140332011-07-03 Andreas Jaeger <aj@suse.de>
14034
14035 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
14036 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
14037 regenerate with gen-libm-tests.pl.
14038
140392010-05-12 Petr Baudis <pasky@suse.cz>
14040
14041 [BZ #11589]
14042 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
14043 around j0() zero points by switching to j1().
14044 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14045 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14046 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14047 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14048
140492011-09-09 Ulrich Drepper <drepper@gmail.com>
14050
14051 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
14052 instead of 0.
14053 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
14054 instead of 0. .
14055 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14056 Patch in part by Pavel Roskin <proski@gnu.org>.
14057
14058 [BZ #13138]
14059 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
14060 realloc.
14061 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
14062 Free memory block if necessary.
14063
14064 [BZ #12847]
14065 * libio/genops.c (INTDEF): For string streams the _lock pointer can
14066 be NULL. Don't lock in this case.
14067
140682011-09-09 Roland McGrath <roland@hack.frob.com>
14069
14070 * elf/elf.h (ELFOSABI_GNU): New macro.
14071 (ELFOSABI_LINUX): Define to that.
14072
140732011-07-29 Denis Zaitceff <zaitceff@gmail.com>
14074
14075 * string/strncat.c (strncat): Undef the symbol in case it has been
14076 defined in bits/string.h.
14077
140782011-09-09 Ulrich Drepper <drepper@gmail.com>
14079
14080 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
14081
14082 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
14083 link map.
14084
140852011-08-17 Andreas Jaeger <aj@suse.de>
14086
14087 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
14088
140892011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14090 Ian Lance Taylor <iant@google.com>
14091
14092 * math/libm-test.inc (lround_test): New testcase.
14093 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
14094
140952011-09-08 Ulrich Drepper <drepper@gmail.com>
14096
14097 * Makefile: Remove support for automatic cvs check-ins.
14098 * Makerules: Likewise.
14099 * config.make.in: Likewise.
14100 * configure.in: Likewise.
14101 * intl/Makefile: Likewise.
14102 * locale/Makefile: Likewise.
14103 * po/Makefile: Likewise.
14104 * posix/Makefile: Likewise.
14105 * sysdeps/gnu/Makefile: Likewise.
14106 * sysdeps/mach/hurd/Makefile: Likewise.
14107 * sysdeps/sparc/sparc32/Makefile: Likewise.
14108
14109 [BZ #13118]
14110 * posix/Makefile (bug-regex32-ENV): Define.
14111 Patch by John Stanley <jpsinthemix@verizon.net>.
14112
14113 * misc/Makefile (headers): Add bits/select2.h.
14114 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
14115 * misc/bits/select2.h: New file.
14116 * include/bits/select2.h: New file.
14117 * debug/Makefile (routines): Add fdelt_chk.
14118 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
14119 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
14120 FD_ISSET.
14121 * debug/fdelt_chk.c: New file.
14122
14123 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
14124 * wcsmbs/test-wmemcmp.c: Likewise.
14125 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
14126 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
14127
141282011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14129
14130 * string/Makefile (strop-tests): Add memcmp.
14131 * string/test-wmemcmp.c: New file.
14132 * string/test-memcmp.c: Add wmemcmp support.
14133
141342011-09-08 Roland McGrath <roland@hack.frob.com>
14135
14136 [BZ #13153]
14137 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
14138 2011-07-19 change.
14139
14140 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14141 garbage value in a __mach_port_mod_refs call in the cases of the
14142 task-self and thread-self ports.
14143
141442011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14145
14146 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14147
141482011-09-08 Andreas Schwab <schwab@redhat.com>
14149
14150 * elf/dl-load.c (lose): Check for non-null L.
14151
141522011-09-07 Ulrich Drepper <drepper@gmail.com>
14153
14154 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14155
14156 * elf/dl-libc.c (dlerror_run): Pass back error code from
14157 dl_catch_error.
14158
14159 [BZ #13123]
14160 * elf/dl-load.c (lose): Free l_origin if it is valid.
14161
14162 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14163 names.
14164 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14165 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14166 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14167 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14168 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14169 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14170
141712011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14172
14173 * sysdeps/powerpc/fpu/e_hypot.c: New file.
14174 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14175 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14176 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14177 * sysdeps/powerpc/fpu/k_cosf.c: New file.
14178 * sysdeps/powerpc/fpu/k_sinf.c: New file.
14179 * sysdeps/powerpc/fpu/s_cosf.c: New file.
14180 * sysdeps/powerpc/fpu/s_sinf.c: New file.
14181 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14182 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14183
141842011-08-15 Alan Modra <amodra@gmail.com>
14185
14186 [BZ #13092]
14187 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14188 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14189 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
14190 ppc_mcount to static-only-routines.
14191 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14192 __mcount_internal.
14193 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14194 __mcount_internal with usual JUMPTARGET. Remove useless nop.
14195
141962011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
14197
14198 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14199 for finite and infinity parameters.
14200
142012011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14202
14203 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14204 and add nop instructions for throughput optimization.
14205 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14206
142072011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
14208
14209 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14210 aligned copy for power7 with vector-scalar instructions.
14211 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14212
142132011-07-24 H.J. Lu <hongjiu.lu@intel.com>
14214
14215 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14216 AVX check.
14217
142182011-09-07 Andreas Schwab <schwab@redhat.com>
14219
14220 [BZ #13144]
14221 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14222 last change.
14223
142242011-09-07 Ulrich Drepper <drepper@gmail.com>
14225
14226 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14227 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14228 syscall wrapper around clock_gettime in __vdso_clock_gettime.
14229 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14230 clock_gettime.
14231
142322011-09-06 Ulrich Drepper <drepper@gmail.com>
14233
14234 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
14235 Forgot to demangle the pointer.
14236
14237 * sysdeps/i386/sysdep.h: Define atom_text_section.
14238 * sysdeps/x86_64/sysdep.h: Likewise.
14239 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
14240 section with atom_text_section.
14241 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14242 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14243 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14244 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14245 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
14246
14247 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
14248 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
14249 already be defined. Change to take two parameters and don't assign
14250 result to variable. Adjust all users.
14251 Define INTERNAL_GETTIME if not already defined.
14252 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
14253 call.
14254 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
14255 HAVE_CLOCK_GETTIME_VSYSCALL.
14256 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
14257
14258 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
14259 gettimeofday vsyscall, just use time.
14260
142612011-09-06 Andreas Schwab <schwab@redhat.com>
14262
14263 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
14264 <errno.h>.
14265
142662011-09-06 Ulrich Drepper <drepper@gmail.com>
14267
14268 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
14269 syscall on x86-64.
14270 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
14271 syscall.
14272 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14273 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
14274 syscall if possible.
14275
142762011-09-05 Ulrich Drepper <drepper@gmail.com>
14277
14278 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
14279 e_ident. Don't pass to find_mapsXX.
14280 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
14281
142822011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14283
14284 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14285 strchr-sse2-no-bsf strrchr-sse2-no-bsf
14286 * sysdeps/x86_64/multiarch/strchr.S: Update.
14287 Check bit_slow_BSF bit.
14288 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14289 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
14290 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
14291
142922011-09-05 Ulrich Drepper <drepper@gmail.com>
14293
14294 [BZ #13134]
14295 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
14296 before glibc 2.15.
14297 (tryshell): Define.
14298 (__spawni): Change last parameter to be flag. Test
14299 SPAWN_XFLAGS_USE_PATH flag to use path or not.
14300 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
14301 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
14302 * posix/spawni.c: Likewise.
14303 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
14304 * posix/spawnp.c: Likewise. Change normal version to use
14305 SPAWN_XFLAGS_USE_PATH.
14306 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
14307 SPAWN_XFLAGS_TRY_SHELL.
14308
14309 [BZ #13150]
14310 * posix/glob.h: Remove gcc 1.x support.
14311
14312 [BZ #13068]
14313 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
14314
143152011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14316
14317 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14318 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
14319 strrchr-sse2-bsf
14320 * sysdeps/i386/i686/multiarch/strchr.S: New file.
14321 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
14322 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
14323 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
14324 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
14325 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
14326
143272011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14328
14329 * sysdeps/x86_64/wcscmp.S: New file.
14330
14331 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
14332 wcscmp-c wcscmp-sse2
14333 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
14334 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
14335 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
14336 * wcsmbs/wcscmp.c: Allow renaming.
14337
143382011-09-05 David S. Miller <davem@davemloft.net>
14339
14340 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
14341 stack slot, rather than the struct return pointer slot.
14342 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
14343 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
14344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
14345 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
14346
143472011-09-05 Ulrich Drepper <drepper@gmail.com>
14348
14349 * po/ja.po: Update from translation team.
14350
14351 [BZ #13144]
14352 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
14353 kernel in 64-bit binaries.
14354
143552011-09-01 David S. Miller <davem@davemloft.net>
14356
14357 * elf/elf.h (HWCAP_SPARC_*): Move to..
14358 * sysdeps/sparc/sysdep.h: this new file and add new values.
14359 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
14360 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
14361 _DL_HWCAP_COUNT to 24.
14362 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14363 entries.
14364 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
14365 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
14366 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
14367 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
14368 instead of magic constants.
14369 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14370
143712011-08-31 David S. Miller <davem@davemloft.net>
14372
14373 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
14374 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
14375 Reimplement to do errno handling inline.
14376 (SYSCALL_ERROR_HANDLER): New macro.
14377 (__SYSCALL_STRING): Do not do errno handling in asm.
14378 (__CLONE_SYSCALL_STRING): Delete.
14379 (__INTERNAL_SYSCALL_STRING): Delete.
14380 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
14381 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
14382 (PSEUDO): Reimplement to do errno handling inline.
14383 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
14384 (SYSCALL_ERROR_HANDLER): New macro.
14385 (__SYSCALL_STRING): Do not do errno handling in asm.
14386 (__CLONE_SYSCALL_STRING): Delete.
14387 (__INTERNAL_SYSCALL_STRING): Delete.
14388 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
14389 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
14390 i386.
14391 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
14392 (inline_syscall*): Add 'err' argument.
14393 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
14394 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
14395 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
14396 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
14397
14398 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
14399 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14400
144012011-08-30 Andreas Schwab <schwab@redhat.com>
14402
14403 * elf/rtld.c (dl_main): Relocate objects in dependency order.
14404
144052011-08-29 Jiri Olsa <jolsa@redhat.com>
14406
14407 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
14408 directive.
14409
144102011-08-24 David S. Miller <davem@davemloft.net>
14411
14412 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
14413
144142011-08-24 Andreas Schwab <schwab@redhat.com>
14415
14416 * elf/Makefile: Add rules to build and run unload8 test.
14417 * elf/unload8.c: New file.
14418 * elf/unload8mod1.c: New file.
14419 * elf/unload8mod1x.c: New file.
14420 * elf/unload8mod2.c: New file.
14421 * elf/unload8mod3.c: New file.
14422
14423 * elf/dl-close.c (_dl_close_worker): Reset private search list if
14424 it wasn't used.
14425
144262011-08-23 David S. Miller <davem@davemloft.net>
14427
14428 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
14429 subtract stack bias.
14430 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
14431 %sp not %fp in calculations.
14432 (_JMPBUF_UNWINDS_ADJ): Likewise.
14433
14434 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
14435 (aio_suspend): Call it to force an exception region around the
14436 AIO_MISC_WAIT() invocation.
14437
144382011-08-23 Andreas Schwab <schwab@redhat.com>
14439
14440 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
14441 backslash.
14442
144432011-07-04 Aurelien Jarno <aurelien@aurel32.net>
14444
14445 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
14446 protection macro.
14447 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
14448 and <dl-machine.h>.
14449 (Elf64_FuncDesc): Remove.
14450
144512011-08-22 David S. Miller <davem@davemloft.net>
14452
14453 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
14454 sigaltstack check, add missing cfi directives.
14455 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
14456 missing cfi directives, and sigaltstack handling.
14457
144582011-08-16 Andreas Schwab <schwab@redhat.com>
14459
14460 [BZ #11724]
14461 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
14462 object is seen twice.
14463 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14464
14465 * elf/Makefile (distribute): Add tst-initorder2.c.
14466 (tests): Add tst-initorder2.
14467 (modules-names): Add tst-initorder2a tst-initorder2b
14468 tst-initorder2c tst-initorder2d. Add rules to build them.
14469 ($(objpfx)tst-initorder2.out): New rule.
14470 * elf/tst-initorder2.c: New file.
14471 * elf/tst-initorder2.exp: New file.
14472
144732011-08-22 Andreas Schwab <schwab@redhat.com>
14474
14475 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
14476
14477 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
14478 dependencies back to end of function.
14479
14480 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14481 $(elfobjdir)/ld.so.
14482
144832011-08-21 Ulrich Drepper <drepper@gmail.com>
14484
14485 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
14486 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
14487 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
14488 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
14489 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
14490 of __vdso_gettimeofday.
14491 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
14492 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
14493 attribute_hidden.
14494 (_libc_vdso_platform_setup): Remove initialization of
14495 __vdso_gettimeofday and __vdso_time.
14496
144972011-08-20 Ulrich Drepper <drepper@gmail.com>
14498
14499 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
14500 and fgetc_unlocked.
14501 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
14502 getc_unlocked.
14503
14504 * elf/dl-open.c (add_to_global): Report additions to the global scope
14505 for LD_DEBUG=scopes.
14506 (dl_open_worker): Also print scope of newly loaded dependencies.
14507 (_dl_show_scope): Indicate if there is no scope.
14508
14509 [BZ #13114]
14510 * stdio-common/Makefile (tests): Add bug24.
14511 * stdio-common/bug24.c: New file.
14512
145132011-08-19 Andreas Jaeger <aj@suse.de>
14514
14515 [BZ #13114]
14516 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
14517 non-existant file when using close-on-exec mode.
14518
145192011-08-20 Ulrich Drepper <drepper@gmail.com>
14520
14521 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
14522 the very first instruction.
14523
14524 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
14525 the CFI state in the end.
14526 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
14527 inclusion of dl-trampoline.h.
14528 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
14529
145302011-08-19 Andreas Schwab <schwab@redhat.com>
14531
14532 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
14533 expectations for long double.
14534
14535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
14536 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
14537
145382011-08-14 David S. Miller <davem@davemloft.net>
14539
14540 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
14541 artificual limit depends upon the system page size.
14542
145432011-08-17 Ulrich Drepper <drepper@gmail.com>
14544
14545 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
14546 * resolv/Makefile: Define CFLAGS-libresolv.
14547
145482011-08-17 Andreas Schwab <schwab@redhat.com>
14549
14550 * nss/makedb.c (compute_tables): Make variables used in nested
14551 function static.
14552
145532011-08-17 Ulrich Drepper <drepper@gmail.com>
14554
14555 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
14556 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
14557 if buffer was too small.
14558
14559 * elf/pldd.c (main): Attach to all threads in the process.
14560 Rewrite /proc handling to use *at functions.
14561
145622011-08-16 Ulrich Drepper <drepper@gmail.com>
14563
14564 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
14565 specifies first scope to show.
14566 (dl_open_worker): Update callers. Move printing scope of new
14567 object to before the relocation.
14568 * elf/rtld.c (dl_main): Update _dl_show_scope call.
14569 * sysdeps/generic/ldsodefs.h: Update declaration.
14570
14571 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
14572 string for the scope number.
14573
145742011-08-14 Ulrich Drepper <drepper@gmail.com>
14575
14576 * nscd/servicescache.c (cache_addserv): Make sure written is always
14577 initialized.
14578
145792011-08-14 Roland McGrath <roland@hack.frob.com>
14580
14581 * sysdeps/i386/i486/bits/atomic.h
14582 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
14583 statement expression, so as to suppress "set but not used" warning.
14584 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
14585
14586 * string/strncat.c (STRNCAT): Use prototype definition.
14587
14588 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
14589 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
14590 -Iprograms here.
14591 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
14592 (localedef-modules): Add localedef.
14593 (locale-modules): Add locale.
14594
14595 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
14596 * elf/rtld.c (dl_main): Invert order of assignment in last change,
14597 to avoid a warning.
14598
145992011-08-14 David S. Miller <davem@davemloft.net>
14600
14601 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
14602 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
14603
146042011-08-13 Ulrich Drepper <drepper@gmail.com>
14605
14606 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
14607 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
14608 * elf/rtld.c (dl_main): Set l_name of vDSO.
14609 Call _dl_show_scope when DL_DEBUG_SCOPES.
14610 (process_dl_debug): Recognize scopes flag and also set it for all.
14611 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
14612 Declare _dl_show_scope.
14613
14614 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
14615 (do_dlopen): Pass caller_dlopen to dl_open.
14616 (__libc_dlopen_mode): Initialize caller_dlopen.
14617
14618 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
14619 of libc. Make tolower call locale-independent. Optimize a bit by
14620 using isdigit instead of isalnum.
14621 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
14622
146232011-08-12 Ulrich Drepper <drepper@gmail.com>
14624
14625 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
14626 was a dependency or dynamically loaded.
14627
146282011-08-11 Ulrich Drepper <drepper@gmail.com>
14629
14630 * intl/l10nflist.c: Allow architecture-specific pop function.
14631 * sysdeps/x86_64/l10nflist.c: New file.
14632
14633 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
14634 classification.
14635
146362011-08-10 Andreas Schwab <schwab@redhat.com>
14637
14638 * include/dirent.h: Add libc_hidden_proto for scandirat and
14639 scandirat64. Don't declare __scandirat64.
14640 * dirent/scandirat.c: Add libc_hidden_def.
14641 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
14642 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
14643
146442011-08-10 David S. Miller <davem@davemloft.net>
14645
14646 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
14647 enum.
14648 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14649 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14650 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14651
146522011-08-09 Ulrich Drepper <drepper@gmail.com>
14653
14654 * Versions.def [libc]: Add GLIBC_2.15.
14655 * dirent/Makefile (routines): Add scandirat and scandirat64.
14656 * dirent/Versions [libc]: Export scandirat and scandirat64 for
14657 GLIBC_2.15.
14658 * dirent/dirent.h: Declare scandirat and scandirat64.
14659 * dirent/scandirat.c: New file.
14660 * dirent/scandirat64.c: New file.
14661 * sysdeps/wordsize-64/scandirat.c: New file.
14662 * sysdeps/wordsize-64/scandirat64.c: New file.
14663 * dirent/opendir.c: Define opendirat.
14664 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
14665 using scandirat.
14666 * dirent/scandir64.c: Adjust for scandir.c change.
14667 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
14668 __scandirat64, and __scandir_cancel_handler.
14669 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
14670 additional parameter and use openat instead of open (outside of ld.so).
14671 Add new __opendir as wrapper around __opendirat.
14672 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
14673 here without requiring old scandirat implementation.
14674
146752011-08-08 Ulrich Drepper <drepper@gmail.com>
14676
14677 * dirent/scandir.c (cancel_handler): Renamed to
14678 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
14679 defined. Adjust users.
14680 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
14681 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14682
146832011-08-04 Ulrich Drepper <drepper@gmail.com>
14684
14685 * string/test-string.h (IMPL): Use __STRING to expand name and then
14686 stringify it.
14687
14688 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
14689 of cleanups.
14690
146912011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14692
14693 * string/Makefile: Update.
14694 (strop-tests): Append strncat.
14695 * string/test-wcscmp.c: New file.
14696 New comprehensive test for wcscmp.
14697 * string/test-strcmp.c: Update.
14698 (WIDE): New define.
14699
147002011-07-22 Andreas Schwab <schwab@redhat.com>
14701
14702 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
14703 line.
14704
147052011-07-26 Andreas Schwab <schwab@redhat.com>
14706
14707 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14708 encoding to ACE if AI_IDN.
14709
147102011-08-01 Jakub Jelinek <jakub@redhat.com>
14711
14712 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
14713 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
14714
147152011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14716
14717 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
14718 Fix overflow bug in strncat.
14719 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
14720
14721 * string/test-strncat.c: Update.
14722 Add new tests for checking overflow bugs.
14723
147242011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14725
14726 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14727 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
14728 * sysdeps/i386/i686/multiarch/strcat.S: New file.
14729 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
14730 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
14731 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
14732 * sysdeps/i386/i686/multiarch/strncat.S: New file.
14733 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
14734 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
14735
14736 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
14737 (USE_AS_STRCAT): Define.
14738 Add strcat and strncat support.
14739 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14740
147412011-07-25 Andreas Schwab <schwab@redhat.com>
14742
14743 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
14744 __n bigger than INT_MAX+1.
14745 (__strncmp_g): Likewise.
14746
147472011-07-23 Ulrich Drepper <drepper@gmail.com>
14748
14749 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
14750 * libio/stido.h: Likewise.
14751
14752 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
14753 (AF_NFC): Define.
14754 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
14755 (AF_NFC): Define.
14756
14757 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
14758 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14759 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14760 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14761 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14762
14763 [BZ #13021]
14764 * scripts/test-installation.pl: Don't expect libnss_test1 to be
14765 installed.
14766
14767 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
14768 typo.
14769 (_dl_x86_64_save_sse): Likewise.
14770
147712011-07-22 Ulrich Drepper <drepper@gmail.com>
14772
14773 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
14774 OSXSAVE.
14775 (_dl_x86_64_save_sse): Likewise.
14776
14777 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
14778
14779 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
14780
147812011-07-21 Andreas Schwab <schwab@redhat.com>
14782
14783 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
14784 change.
14785 (_dl_x86_64_save_sse): Use correct AVX check.
14786
147872011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14788
14789 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
14790 bug in strncpy/strncat.
14791 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
14792
147932011-07-21 Ulrich Drepper <drepper@gmail.com>
14794
14795 * string/tester.c (test_strcat): Add tests for different alignments
14796 of source and destination.
14797 (test_strncat): Likewise.
14798
147992011-07-20 Ulrich Drepper <drepper@gmail.com>
14800
14801 [BZ #12852]
14802 * posix/glob.c (glob): Check passed in values before using them in
14803 expressions to avoid some overflows.
14804 (glob_in_dir): Likewise.
14805
14806 [BZ #13007]
14807 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
14808 check for AVX enablement so that we don't crash with old kernels and
14809 new hardware.
14810 * elf/tst-audit4.c: Add same checks here.
14811 * elf/tst-audit6.c: Likewise.
14812
14813 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
14814
148152011-07-09 Andreas Schwab <schwab@linux-m68k.org>
14816
14817 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
14818
148192011-07-20 Ulrich Drepper <drepper@gmail.com>
14820
14821 * po/cs.po: Update from translation team.
14822 * po/bg.po: Likewise.
14823
148242011-07-12 Marek Polacek <mpolacek@redhat.com>
14825
14826 * misc/sys/cdefs.h: Add support for const attribute.
14827 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
14828 to gnu_dev_{major,minor,makedev} functions.
14829
148302011-07-20 Marek Polacek <mpolacek@redhat.com>
14831
14832 * intl/dcigettext.c (get_output_charset): Add missing bracket.
14833
148342011-07-20 Andreas Schwab <schwab@redhat.com>
14835
14836 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
14837 strlen results.
14838
148392011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14840
14841 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14842 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
14843 register in order to avoid conflicts with the soft frame pointer
14844 being held in r11 when necessary.
14845 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14846 (INTERNAL_VSYSCALL_NCS): Likewise.
14847
148482011-07-14 Marek Polacek <mpolacek@redhat.com>
14849
14850 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
14851 * elf/dl-fini.c (_dl_fini): Adjust caller.
14852 * elf/dl-close.c (_dl_close_worker): Likewise.
14853 * sysdeps/generic/ldsodefs.h: Adjust declaration.
14854
148552011-07-15 Marek Polacek <mpolacek@redhat.com>
14856
14857 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
14858 "aux_cache->nlibs < 0".
14859
14860 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
14861 in the reload-count case.
14862
148632011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14864
14865 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14866 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
14867 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
14868 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
14869 * sysdeps/x86_64/multiarch/strcat.S: New file.
14870 * sysdeps/x86_64/multiarch/strncat.S: New file.
14871 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
14872 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
14873 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
14874 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
14875 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
14876 (USE_AS_STRCAT): Define.
14877 Add strcat and strncat support.
14878 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14879 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14880 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
14881 * string/strncat.c: Update.
14882 (USE_AS_STRNCAT): Define.
14883 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14884 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
14885 and i7.
14886 * sysdeps/x86_64/multiarch/init-arch.h
14887 (bit_Prefer_PMINUB_for_stringop): New.
14888 (index_Prefer_PMINUB_for_stringop): Likewise.
14889 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
14890 bit_Prefer_PMINUB_for_stringop.
14891
148922011-07-19 Ulrich Drepper <drepper@gmail.com>
14893
14894 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
14895 buffer64.
14896 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
14897 of casting of buffer.
14898 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
14899 buffer32 and buffer64.
14900 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
14901 writes instead of casting of buffer.
14902 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
14903 buffer32.
14904 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
14905 casting of buffer.
14906
149072011-07-19 Andreas Schwab <schwab@redhat.com>
14908
14909 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
14910
149112011-07-19 Ulrich Drepper <drepper@gmail.com>
14912
14913 * nscd/nscd.c (termination_handler): Don't do anything for a database
14914 if it has not yet been initialized.
14915
149162011-07-18 Ulrich Drepper <drepper@gmail.com>
14917
14918 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14919
149202011-07-15 Marek Polacek <mpolacek@redhat.com>
14921
14922 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14923
149242011-07-18 Ulrich Drepper <drepper@gmail.com>
14925
14926 * po/nl.po: Update from translation team.
14927 * po/sv.po: Likewise.
14928
149292011-07-16 Roland McGrath <roland@hack.frob.com>
14930
14931 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
14932 now disallowed by GCC.
14933
14934 * configure.in (use-default-link): Default to yes if a test -shared
14935 link meets our qualifications.
14936 * configure: Regenerated.
14937
14938 * config.make.in (output-format): New variable.
14939 * configure.in: Check for ld --print-output-format support.
14940 * configure: Regenerated.
14941 * Makerules ($(common-objpfx)format.lds)
14942 [$(output-format) != unknown]: Just use $(output-format),
14943 instead of the linker-script munging.
14944
149452011-07-14 Roland McGrath <roland@hack.frob.com>
14946
14947 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
14948 of $(common-objpfx)shlib.lds.
14949 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
14950
14951 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
14952 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
14953
14954 * configure.in (-z relro check): Adjust test code to add a large
14955 writable data section after it.
14956 * configure: Regenerated.
14957
149582011-07-11 Roland McGrath <roland@hack.frob.com>
14959
14960 * configure.in (-z relro check): Fix test code to make the variable
14961 truly const.
14962 * configure: Regenerated.
14963
149642011-07-11 Ulrich Drepper <drepper@gmail.com>
14965
14966 * nscd/nscd.h (struct traced_file): Define.
14967 (struct database_dyn): Remove inotify_descr, reset_res, and filename
14968 elements. Add traced_files.
14969 (inotify_fd): Declare.
14970 (register_traced_file): Declare.
14971 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
14972 (inotify_fd): Export.
14973 (resolv_conf_descr): Remove.
14974 (nscd_init): Move inotify descriptor creation to main.
14975 Don't register files for notification here.
14976 (register_traced_file): New function.
14977 (invalidate_cache): Don't use reset_res to determine whether to call
14978 res_init, go through the list of registered files.
14979 (main_loop_poll): The inotify descriptors are now stored in the
14980 structures for the traced files.
14981 (main_loop_epoll): Likewise
14982 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
14983 to __nss_disable_nscd.
14984 * nscd/cache.c (prune_cache): There is no single inotify descriptor
14985 for a database anymore. Check the records for all the registered
14986 files instead.
14987 * nss/Makefile (libnss_files-routines): Add files-init.
14988 (libnss_db-routines): Add db-init.
14989 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
14990 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
14991 * nss/nss_db/db-init.c: New file.
14992 * nss/nss_files/files-init.c: New file.
14993 * nss/nsswitch.c (nss_load_library): New function. Broken out of
14994 __nss_lookup_function.
14995 (__nss_lookup_function): Call nss_load_library.
14996 (nss_load_all_libraries): New function.
14997 (__nss_disable_nscd): Take parameter with callback function for files
14998 to register. Set is_nscd. Load all the DSOs for the NSS modules
14999 used for the cached services.
15000 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
15001 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
15002 options for features to all the files in nscd.
15003
15004 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
15005
150062011-07-10 Roland McGrath <roland@hack.frob.com>
15007
15008 * csu/elf-init.c (__libc_csu_init): Comment typo.
15009
150102011-07-09 Ulrich Drepper <drepper@gmail.com>
15011
15012 * po/pl.po: Update from translation team.
15013 * po/ja.po: Likewise.
15014 * po/ru.po: Likewise.
15015 * po/ko.po: Likewise.
15016 * po/fr.po: Likewise.
15017
150182011-07-09 Roland McGrath <roland@hack.frob.com>
15019
15020 * configure.in (.ctors/.dtors header and trailer check):
15021 Use an empirical test on a built program.
15022 * configure: Regenerated.
15023
15024 * configure.in (-z relro check): Use an empirical test on a built DSO.
15025 Detect, but do not require, on ia64.
15026 * configure: Regenerated.
15027
15028 * configure.in (READELF): Find it with AC_CHECK_TOOL.
15029 Update tests that use readelf to use $READELF instead.
15030 * configure: Regenerated.
15031
150322011-07-08 Ulrich Drepper <drepper@gmail.com>
15033
15034 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
15035 if the result is not used.
15036
150372011-07-05 Andreas Jaeger <aj@suse.de>
15038
15039 [BZ#9696]
15040 * stdlib/tst-strtod.c: Add testcase.
15041
150422011-07-07 Ulrich Drepper <drepper@gmail.com>
15043
15044 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
15045 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
15046 The latter has a higher limit. Take additional parameter to pass to
15047 the new function.
15048 (__pathconf): Pass file to __statfs_link_max.
15049 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
15050 __statfs_link_max.
15051 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
15052 __statfs_link_max.
15053
15054 [BZ #12868]
15055 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
15056 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15057 Handle Lustre.
15058 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
15059 (__statfs_filesize_max): Likewise.
15060 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
15061
150622011-07-05 Andreas Jaeger <aj@suse.de>
15063
15064 * resolv/res_comp.c (dn_skipname): Remove unused variable.
15065
150662011-07-06 Marek Polacek <mpolacek@redhat.com>
15067
15068 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
15069 `status' variable.
15070 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
15071 Likewise.
15072
150732011-07-04 H.J. Lu <hongjiu.lu@intel.com>
15074
15075 * Makefile (strop-tests): Add strncat.
15076 * string/test-strncat.c: New file.
15077
150782011-06-30 Marek Polacek <mpolacek@redhat.com>
15079
15080 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
15081
150822011-06-21 Andreas Jaeger <aj@suse.de>
15083
15084 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
15085 Copy rule from iconvdata/Makefile.
15086
150872011-07-06 Ulrich Drepper <drepper@gmail.com>
15088
15089 [BZ #12922]
15090 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
15091 but no long options are defined, just return 'W'.
15092
150932011-06-22 Marek Polacek <mpolacek@redhat.com>
15094
15095 [BZ #9696]
15096 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
15097
150982011-07-06 Ulrich Drepper <drepper@gmail.com>
15099
15100 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
15101 netgroups to read.
15102 (innetgr): Likewise.
15103
151042011-07-05 Roland McGrath <roland@hack.frob.com>
15105
15106 * config.make.in (install_root): Default to $(DESTDIR).
15107
151082011-07-05 Ulrich Drepper <drepper@gmail.com>
15109
15110 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
15111
151122011-07-02 Roland McGrath <roland@hack.frob.com>
15113
15114 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
15115
15116 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
15117 containing directory rather than embedding absolute directory names.
15118
15119 * scripts/check-local-headers.sh: Rewritten using awk.
15120 Match by word, not by line. Print error messages for matches.
15121 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
15122
15123 * Makerules [shlib-lds-flags empty]:
15124 ($(common-objpfx)libc_pic.opts): New target.
15125 ($(common-objpfx)libc_pic.os.clean): New target.
15126 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
15127
15128 * config.make.in (OBJCOPY): New variable.
15129 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
15130 * configure: Regenerated.
15131
15132 * config.make.in (use-default-link): New variable.
15133 * configure.in (use_default_link): Grok --with-default-link to set it.
15134 * configure: Regenerated.
15135 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
15136 (shlib-lds, shlib-lds-flags): Define to empty.
15137
15138 * Makerules (shlib-lds): New variable.
15139 (shlib-lds-flags): New variable.
15140 (build-shlib, build-moduile, build-module-asneeded): Use it.
15141 ($(common-objpfx)libc.so): Use $(shlib-lds).
15142 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15143 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15144
15145 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15146 DT_FLAGS/DT_FLAGS_1 with zero flags.
15147
15148 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15149 linker script munging.
15150
151512011-07-02 Ulrich Drepper <drepper@gmail.com>
15152
15153 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15154 as 128-bit value.
15155 * crypt/sha512.c (sha512_process_block): Perform total addition using
15156 128-bit if possible.
15157 (__sha512_finish_ctx): Likewise.
15158 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15159 as 64-bit value.
15160 * crypt/sha256.c (SWAP64): Define.
15161 (sha256_process_block): Perform total addition using 64-bit if
15162 possible.
15163 (__sha256_finish_ctx): Likewise.
15164
151652011-07-01 Ulrich Drepper <drepper@gmail.com>
15166
15167 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
15168 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15169 * nscd/hstcache.c (cache_addhst): Likewise.
15170 * nscd/grpcache.c (cache_addgr): Likewise.
15171 * nscd/aicache.c (addhstaiX): Likewise
15172 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15173
151742011-07-01 Thorsten Kukuk <kukuk@suse.de>
15175
15176 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15177 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15178 * nscd/hstcache.c (cache_addhst): Likewise.
15179 * nscd/grpcache.c (cache_addgr): Likewise.
15180 * nscd/aicache.c (addhstaiX): Likewise
15181
151822011-07-01 Andreas Schwab <schwab@redhat.com>
15183
15184 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15185 domain only when needed.
15186
151872011-06-30 Andreas Schwab <schwab@redhat.com>
15188
15189 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15190 is always restored.
15191
151922011-06-29 Ulrich Drepper <drepper@gmail.com>
15193
15194 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15195 are re-adding the entry.
15196 * nscd/servicescache.c (cache_addserv): Likewise.
15197
151982011-06-30 Aurelien Jarno <aurelien@aurel32.net>
15199
15200 * sysdeps/generic/dl-irel.h: fix protection against multiple
15201 inclusions.
15202 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15203
152042011-06-28 Ulrich Drepper <drepper@gmail.com>
15205
15206 [BZ #12935]
15207 * malloc/memusage.sh: Fix quoting in message.
15208 * debug/xtrace.sh: Likewise.
15209
15210 * configure.in: Remove support for --experimental-malloc option, make
15211 it the default.
15212 * config.make.in: Likewise.
15213 * malloc/Makefile: Likewise.
15214
152152011-06-27 Andreas Schwab <schwab@redhat.com>
15216
15217 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15218 two-byte characters.
15219
152202011-06-27 Roland McGrath <roland@hack.frob.com>
15221
15222 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15223 AC_CACHE_CHECK invocation.
15224 * configure: Regenerated.
15225
15226 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15227
152282011-06-27 Ulrich Drepper <drepper@gmail.com>
15229
15230 [BZ #12350]
15231 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
15232 bit from old_res_options.
15233
15234 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
15235
15236 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
15237 value type for setfct.
15238
152392011-06-23 H.J. Lu <hongjiu.lu@intel.com>
15240
15241 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15242 __gettimeofday instead of gettimeofday.
15243
152442011-06-26 Ulrich Drepper <drepper@gmail.com>
15245
15246 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
15247
152482011-06-24 H.J. Lu <hongjiu.lu@intel.com>
15249
15250 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
15251
15252 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
15253 info.
15254
152552011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15256
15257 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15258 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15259 strcpy-sse2-unaligned strncpy-sse2-unaligned
15260 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
15261 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
15262 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
15263 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
15264 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
15265 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
15266 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
15267 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
15268 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
15269 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
15270 (STRCPY): Support SSE2 and SSSE3 versions.
15271
152722011-06-24 Ulrich Drepper <drepper@gmail.com>
15273
15274 [BZ #12874]
15275 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
15276 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
15277 kernels which artificially limit size of requests.
15278
152792011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15280
15281 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15282 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15283 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
15284 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
15285 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
15286 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
15287 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
15288 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
15289 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
15290 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
15291 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
15292 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
15293 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
15294 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
15295 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
15296 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15297 Enable unaligned load optimization for Intel Core i3, i5 and i7
15298 processors.
15299 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
15300 Define.
15301 (index_Fast_Unaligned_Load): Define.
15302 (HAS_FAST_UNALIGNED_LOAD): Define.
15303
153042011-06-23 Marek Polacek <mpolacek@redhat.com>
15305
15306 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
15307
153082011-06-22 Ulrich Drepper <drepper@gmail.com>
15309
15310 [BZ #12907]
15311 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
15312 until it is clear that the information is realy needed.
15313 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
15314
153152011-06-22 Andreas Schwab <schwab@redhat.com>
15316
15317 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
15318
153192011-06-22 Ulrich Drepper <drepper@gmail.com>
15320
15321 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15322 /sys/devices/system/cpu/online if it is usable.
15323
15324 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
15325 reading the information from the /proc filesystem to once a second.
15326
153272011-06-21 Andreas Jaeger <aj@suse.de>
15328
15329 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
15330 NULL after inclusion of kernel headers.
15331
153322011-06-21 Ulrich Drepper <drepper@gmail.com>
15333
15334 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
15335 calls to internal_setent.
15336
15337 [BZ #12885]
15338 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
15339 addresses using gethostbyname4_r ignore IPv4 addresses.
15340
15341 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
15342 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
15343
15344 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
15345
153462011-06-20 David S. Miller <davem@davemloft.net>
15347
15348 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
15349 inclusions.
15350 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
15351
15352 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
15353 (elf_irel): Use it.
15354 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
15355 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
15356 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
15357 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
15358 * sysdeps/x86_64/dl-irel.h: Likewise.
15359
15360 * elf/dl-runtime.c: Use elf_ifunc_invoke.
15361 * elf/dl-sym.c: Likewise.
15362
153632011-06-15 Ulrich Drepper <drepper@gmail.com>
15364
15365 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
15366 need to dereference resplen2.
15367
153682011-06-14 Andreas Schwab <schwab@redhat.com>
15369
15370 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
15371
153722011-06-15 Ulrich Drepper <drepper@gmail.com>
15373
15374 * Makeconfig: Define vardbdir and inst_vardbdir.
15375 * nss/Makefile: Add rules to install db-Makefile.
15376
15377 * nss/nss_db/db-XXX.c: Cleanup.
15378
15379 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
15380 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
15381 GLIBC_PRIVATE.
15382 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
15383 * nss/makedb.c: Implement -g option to specify that value strings
15384 are generated and should not be added to table iterated over for
15385 get*ent calls.
15386 * nss/nss_db/db-initgroups.c: New file.
15387
15388 * nss/getent.c: Add support for initgroups lookups through getgrouplist
15389 interface.
15390
15391 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
15392 (internal_getgrouplist): Adjust to name change.
15393 Update use_initgroups_entry if this is not the first call.
15394 * nss/databases.def: Add initgroups entry.
15395
15396 * nss/makedb.c (compute_tables): Check result of multiple hash table
15397 sizes to minimize maximum chain length.
15398
153992011-06-14 Ulrich Drepper <drepper@gmail.com>
15400
15401 * Versions.def: Add entry for libnss_db.
15402 * shlib-versions: Likewise.
15403 * nss/Makefile: Add rules to build libnss_db.
15404 * nss/Versions: Add libnss_db information. Organize libnss_files
15405 entries better.
15406 * nss/db-Makefile: Add gshadow support. Change rules for the new
15407 makedb progra. Some minor improvements to generate smaller files.
15408 * nss/nss_db/nss_db.h: Move NSS database header data structures to
15409 here from...
15410 * nss/makedb.c: ...here.
15411 Improve database format to be smaller and require less memory at
15412 runtime.
15413 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
15414 db anymore.
15415 * nss/nss_db/db-netgrp.c: Likewise.
15416 * nss/nss_db/db-open.c: Likewise.
15417 * nss/nss_files/flies-XXX.x: Adjust comments.
15418 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
15419 * nss/nss_files/files-grp.c: Likewise.
15420 * nss/nss_files/files-hosts.c: Likewise.
15421 * nss/nss_files/files-network.c: Likewise.
15422 * nss/nss_files/files-proto.c: Likewise.
15423 * nss/nss_files/files-pwd.c: Likewise.
15424 * nss/nss_files/files-rpc.c: Likewise.
15425 * nss/nss_files/files-service.c: Likewise.
15426 * nss/nss_files/files-sgrp.c: Likewise.
15427 * nss/nss_files/files-spwd.c: Likewise.
15428 * nss/nss_db/db-alias.c: Removed.
15429 * nss/nss_db/dummy-db.h: Removed.
15430
154312011-06-02 Ulrich Drepper <drepper@gmail.com>
15432
15433 * nss/makedb.c: Rewritten to not use database library.
15434 * nss/Makefile: Update to build new makedb program.
15435
154362011-06-14 Andreas Jaeger <aj@suse.de>
15437
15438 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
15439 memset declaration.
15440
154412011-06-10 Andreas Schwab <schwab@redhat.com>
15442
15443 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
15444 tmpbuf.
15445
154462011-06-10 Roland McGrath <roland@hack.frob.com>
15447
15448 * Makerules (shlib.lds): Fail if the linker script comes out empty.
15449 * elf/Makefile ($(objpfx)ld.so): Likewise.
15450
15451 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
15452 Don't list ld.so twice in dependencies.
15453
15454 * posix/bug-regex31.c: Include <stdlib.h>.
15455
15456 * nscd/hstcache.c (cache_addhst): Remove unused variable.
15457
15458 * nis/nss_compat/compat-spwd.c
15459 (getspent_next_nss_netgr): Remove unused variable.
15460 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
15461
15462 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
15463 nonmembers" output to use the right array.
15464
15465 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
15466
15467 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
15468
15469 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
15470 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
15471 * catgets/gencat.c (read_input_file): Likewise.
15472 * locale/programs/locarchive.c (enlarge_archive): Likewise.
15473
15474 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
15475 variable definition inside #if's controlling its use.
15476
15477 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
15478
15479 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
15480
15481 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
15482
15483 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
15484 unreachable code.
15485
15486 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
15487
15488 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
15489 * configure: Regenerated.
15490
15491 * Makerules: Revert last change.
15492 * elf/Makefile: Likewise.
15493
154942011-06-09 Roland McGrath <roland@hack.frob.com>
15495
15496 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
15497 * elf/Makefile ($(objpfx)librtld.os): Likewise.
15498 (reloc-link): Likewise.
15499
155002011-06-09 Ulrich Drepper <drepper@gmail.com>
15501
15502 * elf/Makefile: Add rules to build pldd.
15503 * elf/pldd.c: New file.
15504 * elf/pldd-xx.c: New file.
15505
155062011-06-07 Ulrich Drepper <drepper@gmail.com>
15507
15508 * version.h: Update for 2.15 development version.
15509
155102011-06-07 David S. Miller <davem@davemloft.net>
15511
15512 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
15513 ifuncs.
15514 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
15515 elf_machine_lazy_rel): Likewise.
15516 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15517 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
15518 elf_machine_lazy_rel): Likewise.
15519 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
15520 dl_hwcap via passed in argument.
15521 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
15522 Likewise.
15523
155242011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15525
15526 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
15527
155282011-06-06 Roland McGrath <roland@hack.frob.com>
15529
15530 [BZ #12849]
15531 * manual/fdl-1.1.texi: New file, verbatim from:
15532 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
15533 * manual/lgpl-2.1.texi: New file, verbatim from:
15534 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
15535 * manual/Makefile (licenses): New variable, list those new file names.
15536 (texis): Use it.
15537 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
15538
15539 * manual/fdl.texi: File removed.
15540 * manual/lesser.texi: File removed.
15541 * manual/libc.texinfo (Copying, Documentation License):
15542 Use new @include file names, put @appendix directive before @include.
15543
155442011-06-04 Jakub Jelinek <jakub@redhat.com>
15545
15546 [BZ #12841]
15547 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
15548 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
15549 (mq_open): Add __NTH.
15550
155512011-06-02 H.J. Lu <hongjiu.lu@intel.com>
15552
15553 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15554 Assume Intel Core i3/i5/i7 processor if AVX is available.
15555
155562011-05-31 Ulrich Drepper <drepper@gmail.com>
15557
15558 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15559 typo.
15560
155612011-05-31 Andreas Schwab <schwab@redhat.com>
15562
15563 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
15564 memory. Use alloca_account. Fix memory leak when retrying.
15565
155662011-05-31 Ulrich Drepper <drepper@gmail.com>
15567
15568 * version.h (RELEASE): Bump for 2.14 release.
15569 * include/features.h (__GLIBC_MINOR__): Bump to 14.
15570
15571 * config.make.in (RANLIB): Remove entry.
15572
155732011-05-30 Ulrich Drepper <drepper@gmail.com>
15574
15575 * po/Makefile (po-sed-cmd): Add ksh to extensions.
15576 (libc.pot): Work around missing support for .ksh extension in xgettext.
15577
15578 [BZ #12684]
15579 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
15580 if both request failed.
15581 (send_dg): In case of server errors clear resplen or *resplen2.
15582
15583 [BZ #12454]
15584 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
15585 when there are multiple maps.
15586 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
15587 (_dl_fini): Remove test here.
15588
15589 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
15590
155912011-05-29 Ulrich Drepper <drepper@gmail.com>
15592
15593 [BZ #12350]
15594 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
15595 bit from old_res_options.
15596 (gaih_inet): Likewise.
15597
15598 [BZ #11099]
15599 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
15600 as signed.
15601
15602 * resolv/res_init.c (res_setoptions): Make the code more compact.
15603
15604 [BZ #11558]
15605 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
15606 set RES_USEVC.
15607
15608 [BZ #11634]
15609 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
15610
15611 * malloc/malloc.h: Mark malloc hook variables as deprecated.
15612
15613 [BZ #11781]
15614 * malloc/malloc.h: Declare malloc hook variables as volatile.
15615
15616 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
15617 in last patch.
15618
15619 [BZ #11799]
15620 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
15621 raise in the comment.
15622 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15623 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15624 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
15625
156262011-05-28 Ulrich Drepper <drepper@gmail.com>
15627
15628 [BZ #12811]
15629 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
15630 grow the buffers more if it already has to be sufficient.
15631 (build_wcs_upper_buffer): Likewise.
15632 * posix/regexec.c (check_matching): Likewise.
15633 (clean_state_log_if_needed): Likewise.
15634 (extend_buffers): Don't enlarge buffers beyond size of the input
15635 buffer.
15636 Patches mostly by Emil Wojak <emil@wojak.eu>.
15637 * posix/bug-regex32.c: New file.
15638 * posix/Makefile (tests): Add bug-regex32.
15639
15640 * locale/findlocale.c (_nl_find_locale): Return right away if
15641 _nl_explode_name failed.
15642 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
15643
15644 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
15645
15646 * debug/xtrace.sh: Unify messages.
15647 * malloc/memusage.sh: Likewise.
15648
15649 [BZ #12813]
15650 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
15651 time symbol from vDSO. Substitute with vsyscall if not available.
15652 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
15653 __vdso_time.
15654
15655 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
15656 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
15657 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
15658 Add sendmmsg and internal_sendmmsg.
15659 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
15660 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
15661 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
15662
15663 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
15664 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
15665 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
15666
156672011-05-27 Ulrich Drepper <drepper@gmail.com>
15668
15669 [BZ #12813]
15670 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
15671 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
15672 available.
15673 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
15674 __vdso_getcpu.
15675
15676 [BZ #12814]
15677 * iconvdata/Makefile (tests): Add bug-iconv9.
15678 * iconvdata/bug-iconv9.c: New file.
15679
156802011-05-27 Andreas Schwab <schwab@redhat.com>
15681
15682 [BZ #12814]
15683 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
15684
156852011-05-25 Jakub Jelinek <jakub@redhat.com>
15686
15687 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15688 (struct user_regs_struct): Change intcs field back to cs.
15689
156902011-05-25 Ulrich Drepper <drepper@gmail.com>
15691
15692 * po/ja.po: Update from translation team.
15693
156942011-05-23 Ulrich Drepper <drepper@gmail.com>
15695
15696 [BZ #12795]
15697 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
15698 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
15699
157002011-05-20 Andreas Schwab <schwab@redhat.com>
15701
15702 * stdlib/longlong.h: Update from GCC.
15703
157042011-05-23 Andreas Schwab <schwab@redhat.com>
15705
15706 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
15707 parameter name.
15708 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
15709 Add parameter name.
15710 (__sysconf): Pass it down.
15711
157122011-05-22 Ulrich Drepper <drepper@gmail.com>
15713
15714 [BZ #12671]
15715 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
15716 some situations.
15717 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15718 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
15719 add in in __libc_use_alloca calls. Adjust callers.
15720 (glob): Use malloc in some situations.
15721
15722 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
15723 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
15724 pltexit.
15725
157262011-05-21 Ulrich Drepper <drepper@gmail.com>
15727
15728 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
15729 and CLOCK_BOOTTIME_ALARM.
15730
15731 [BZ #12782]
15732 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
15733 is returned.
15734
15735 * string/_strerror.c (__strerror_r): Print negative errors as signed
15736 numbers.
15737
15738 [BZ #12777]
15739 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
15740 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
15741 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
15742
15743 * configure.in: Fix typo in redirection and correct removal of test
15744 files in two cases.
15745
15746 [BZ #12788]
15747 * locale/setlocale.c (new_composite_name): Fix test to check for
15748 identical name of all categories.
15749
15750 [BZ #12792]
15751 * libio/filedoalloc.c (local_isatty): New function.
15752 (_IO_file_doallocate): Use local_isatty.
15753 * stdio-common/perror.c (perror): In case a new stream is used
15754 forward the stream error.
15755 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
15756 error flag.
15757
157582011-05-20 Ulrich Drepper <drepper@gmail.com>
15759
15760 [BZ #11869]
15761 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
15762 alloca.
15763 * include/alloca.h (extend_alloca_account): Define.
15764
15765 [BZ #11857]
15766 * posix/regex.h: Fix comments with documentation of user-accessible
15767 fields after compilation and describe correct free'ing of pattern
15768 after re_compile_pattern.
15769 Patch by Reuben Thomas <rrt@sc3d.org>.
15770
157712011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
15772
15773 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
15774 and -mno-altivec to prevent the compiler from using Altivec and/or
15775 VSX instructions when the corresponding registers are not available.
15776
157772011-05-19 Andreas Schwab <schwab@redhat.com>
15778
15779 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
15780
157812011-05-19 Ulrich Drepper <drepper@gmail.com>
15782
15783 * libio/freopen.c (freopen): Use __dup2, not dup2.
15784 * libio/freopen64.c (freopen64): Likewise.
15785
157862011-05-17 H.J. Lu <hongjiu.lu@intel.com>
15787
15788 [BZ #12775]
15789 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
15790 * math/Makefile (tests): Add test-powl.
15791 (CFLAGS-test-powl.c): Define.
15792 * math/test-powl.c: New file.
15793
157942011-05-16 H.J. Lu <hongjiu.lu@intel.com>
15795
15796 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
15797
157982011-05-17 Ulrich Drepper <drepper@gmail.com>
15799
15800 [BZ #11837]
15801 * iconvdata/gb18030.c: Update to GB18020-2005.
15802
158032011-05-16 Ulrich Drepper <drepper@gmail.com>
15804
15805 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
15806 RE_SYNTAX_POSIX_AWK): Update to match recent development.
15807 Patch by Aharon Robbins <arnold@skeeve.com>.
15808
15809 [BZ #11892]
15810 * stdlib/putenv.c (putenv): Don't always create copy of the variable
15811 on the stack.
15812
15813 [BZ #11895]
15814 * misc/pselect.c (__pselect): Handle timeout value errors hidden
15815 through underflows.
15816
15817 [BZ #12766]
15818 * misc/error.c (error_at_line): Ensure file_name and old_file_name
15819 point to strings before performing equality test for error_one_per_line
15820 mode.
15821
15822 [BZ #11697]
15823 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
15824
15825 [BZ #11820]
15826 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15827 (struct user_fpregs_struct): Avoid __uint*_t types.
15828
15829 [BZ #6420]
15830 * malloc/mtrace.c (tr_where): Add additional parameter to point to
15831 symbol info. Use it instead of calling _dl_addr locally.
15832 (lock_and_info): New function.
15833 (tr_freehook): Call lock_and_info and pass symbol info as additional
15834 parameter to tr_where.
15835 (tr_mallochook): Likewise.
15836 (tr_reallochook): Likewise.
15837 (tr_memalignhook): Likewise.
15838
15839 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
15840 used and couldn't be at all thread-safe.
15841
158422011-05-15 Ulrich Drepper <drepper@gmail.com>
15843
15844 * libio/freopen.c (freopen): Don't close old file descriptor
15845 before the new one is opened. Instead dup the new file descriptor
15846 to the old one after the new stream is created.
15847 * libio/freopen64.c (freopen64): Likewise.
15848 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
15849 * libio/fileops.c (_IO_new_file_close_it): Handle new
15850 _IO_FLAGS2_NOCLOSE flag.
15851 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
15852 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
15853 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
15854 _IO_FLAGS2_NOCLOSE flag.
15855 * include/unistd.h: Add hidden_proto for dup3.
15856 Define __have_dup3.
15857 * io/dup3.c: Define hidden symbol.
15858 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
15859
15860 [BZ #7101]
15861 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
15862 when an incomplete long option is used.
15863 * posix/tst-getopt_long1.c: New file.
15864 * posix/Makefile (tests): Add tst-getopt_long1.
15865
15866 [BZ #10138]
15867 * scripts/config.guess: Update from autoconf-2.68.
15868 * scripts/config.sub: Likewise.
15869
15870 [BZ #10157]
15871 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
15872 tests into ...
15873 (has_cpuclock): ...this. New function.
15874 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
15875 macro here based on has_cpuclock code.
15876
15877 [BZ #10149]
15878 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15879 First byte (not low byte) is now always NUL.
15880 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
15881
15882 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15883 Use non-cancelable interfaces.
15884
15885 [BZ #9809]
15886 * locale/iso-639.def: Add entry for Sorani.
15887
15888 [BZ #11901]
15889 * include/stdlib.h: Move include protection to the right place.
15890 Define abort_msg_s. Declare __abort_msg with it.
15891 * stdlib/abort.c (__abort_msg): Adjust type.
15892 * assert/assert.c (__assert_fail_base): New function. Majority
15893 of code from __assert_fail. Allocate memory for __abort_msg with
15894 mmap.
15895 (__assert_fail): Now call __assert_fail_base.
15896 * assert/assert-perr.c: Remove bulk of implementation. Use
15897 __assert_fail_base.
15898 * include/assert.hL Declare __assert_fail_base.
15899 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
15900 mmap.
15901 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
15902
159032011-05-14 Ulrich Drepper <drepper@gmail.com>
15904
15905 [BZ #11952]
15906 [BZ #12453]
15907 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
15908 until all modules are registered in the DTV.
15909 * elf/Makefile: Add rules to build and run tst-tls19.
15910 * elf/tst-tls19.c: New file.
15911 * elf/tst-tls19mod1.c: New file.
15912 * elf/tst-tls19mod2.c: New file.
15913 * elf/tst-tls19mod3.c: New file.
15914 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
15915
15916 [BZ #12083]
15917 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
15918 correctly.
15919
15920 [BZ #12601]
15921 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
15922 two-byte sequence errors.
15923 * iconvdata/Makefile (tests): Add bug-iconv8.
15924 * iconvdata/bug-iconv8.c: New file.
15925
15926 [BZ #12626]
15927 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
15928 buf2 definition.
15929
15930 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
15931
15932 [BZ #12432]
15933 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
15934 (dummy_getcfa): New function.
15935 (init): Get _Unwind_GetCFA address, use dummy if not found.
15936 (backtrace_helper): In recursion check, also check whether CFA changes.
15937 (__backtrace): Completely initialize arg.
15938
15939 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
15940 storing incomplete byte sequence in state object. Avoid testing for
15941 guaranteed too small input if we know there is enough data available.
15942
159432011-05-11 Andreas Schwab <schwab@redhat.com>
15944
15945 * Makeconfig (+link-pie): Indent.
15946 * Rules (binaries-pie): Define if $(have-fpie) and
15947 $(build-shared).
15948 (binaries-shared): Also filter out $(binaries-pie).
15949 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
15950 * nscd/Makefile (others-pie): Add nscd.
15951 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
15952 ($(objpfx)nscd): Remove command override.
15953 * login/Makefile (others-pie): Add pt_chown.
15954 ($(objpfx)pt_chown): Remove command override.
15955 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
15956 remove command overrides.
15957
159582011-05-13 Ulrich Drepper <drepper@gmail.com>
15959
15960 * libio/tst_putwc.c: Fix error messages.
15961
15962 [BZ #12724]
15963 * libio/fileops.c (_IO_new_file_close_it): Always flush when
15964 currently writing and seek to current position when not.
15965 * libio/Makefile (tests): Add bug-fclose1.
15966 * libio/bug-fclose1.c: New file.
15967
159682011-05-12 Ulrich Drepper <drepper@gmail.com>
15969
15970 [BZ #12511]
15971 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
15972 don't set DF_1_NODELETE here.
15973 (do_lookup_x): When entering new entry test for copy relocation
15974 and if necessary set DF_1_NODELETE flag.
15975 * elf/tst-unique4.cc: New file.
15976 * elf/tst-unique4.h: New file.
15977 * elf/tst-unique4lib.cc: New file.
15978 * elf/Makefile: Add rules to build and run tst-unique4.
15979 Patch by Piotr Bury <pbury@goahead.com>.
15980
159812011-05-11 Ulrich Drepper <drepper@gmail.com>
15982
15983 [BZ #12052]
15984 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
15985
15986 [BZ #12625]
15987 * misc/mntent_r.c (addmntent): Flush the stream after the output
15988
15989 [BZ #12393]
15990 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
15991 (is_trusted_path_normalize): Skip initial colon. Append slash
15992 to empty buffer. Duplicate is_trusted_path code but allow
15993 constructed patch to be prefix.
15994 (is_dst): Allow $ORIGIN followed by /.
15995 (_dl_dst_substitute): Correct clearing of check_for_trusted.
15996 Correct testing of result of is_trusted_path_normalize
15997 (decompose_rpath): Fix warning.
15998
159992011-05-10 Ulrich Drepper <drepper@gmail.com>
16000
16001 [BZ #11257]
16002 * grp/initgroups.c (internal_getgrouplist): When we found the service
16003 list through the initgroups entry in nsswitch.conf do not always
16004 continue on a successful lookup. Don't always use the
16005 __nss_group_database value if it is set.
16006 * nss/nsswitch.conf (initgroups): Change action for successful db
16007 lookup to continue for compatibility.
16008
160092011-05-09 Ulrich Drepper <drepper@gmail.com>
16010
16011 [BZ #11532]
16012 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
16013 and CP774 modules.
16014 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
16015 and CP774 modules.
16016 * iconvdata/tst-tables.sh: Likewise.
16017 * iconvdata/cp770.c: New file.
16018 * iconvdata/cp771.c: New file.
16019 * iconvdata/cp772.c: New file.
16020 * iconvdata/cp773.c: New file.
16021 * iconvdata/cp774.c: New file.
16022 * iconvdata/testdata/CP770: New file.
16023 * iconvdata/testdata/CP770..UTF8: New file.
16024 * iconvdata/testdata/CP771: New file.
16025 * iconvdata/testdata/CP771..UTF8: New file.
16026 * iconvdata/testdata/CP772: New file.
16027 * iconvdata/testdata/CP772..UTF8: New file.
16028 * iconvdata/testdata/CP773: New file.
16029 * iconvdata/testdata/CP773..UTF8: New file.
16030 * iconvdata/testdata/CP774: New file.
16031 * iconvdata/testdata/CP774..UTF8: New file.
16032
16033 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
16034 END CHARMAP line.
16035 * iconvdata/gen-8bit-gap.sh: Likewise.
16036 * iconvdata/gen-8bit.sh: Likewise.
16037
16038 * locale/iso-639.def: Add ary entry.
16039
16040 [BZ #11258]
16041 * locale/C-translit.h.in: Add U20A1 transliteration.
16042
16043 [BZ #12178]
16044 * locale/iso-639.def: Add wae entry.
16045 Patch by Kevin Bortis <bortis@translate-wae.ch>.
16046
16047 [BZ #12545]
16048 * locale/programs/localedef.c (construct_output_path): Use ssize_t
16049 for n.
16050
16051 [BZ #12711]
16052 * locale/C-translit.h.in: Add entry for U20B9.
16053 Patch by pravin.d.s@gmail.com.
16054
160552011-05-08 Ulrich Drepper <drepper@gmail.com>
16056
16057 [BZ #12713]
16058 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
16059 ENAMETOOLONG use generic getcwd.
16060 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
16061 in rtld. Use *stat64.
16062 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
16063 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
16064 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
16065 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
16066 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
16067 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
16068 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
16069 __fstatat64 macros.
16070 * include/dirent.h: Add libc_hidden_proto for rewinddir.
16071 * dirent/rewinddir.c: Add libc_hidden_def.
16072 * sysdeps/mach/hurd/rewinddir.c: Likewise.
16073 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
16074
16075 * include/dirent.h (__alloc_dir): Add flags parameter.
16076 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
16077 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
16078 __alloc_dir.
16079 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
16080 from fdopendir if O_CLOEXEC is already set.
16081
160822011-03-15 Alan Modra <amodra@gmail.com>
16083
16084 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
16085 l_tls_firstbyte_offset non-zero. Save padding offset in
16086 l_tls_firstbyte_offset for later use.
16087 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
16088 freeing static tls block.
16089
160902011-03-05 Jonathan Nieder <jrnieder@gmail.com>
16091
16092 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
16093 where #ifdef was intended. The intent is to prevent ARG_MAX from
16094 being defined by the kernel headers.
16095
160962011-05-07 Ulrich Drepper <drepper@gmail.com>
16097
16098 [BZ #12734]
16099 * resolv/resolv.h: Define RES_NOTLDQUERY.
16100 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
16101 no-tld-query and set RES_NOTLDQUERY.
16102 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
16103 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
16104 modern BIND to search name as TLD unless forbidden.
16105
161062011-05-07 Petr Baudis <pasky@suse.cz>
16107 Ulrich Drepper <drepper@gmail.com>
16108
16109 [BZ #12393]
16110 * elf/dl-load.c (fillin_rpath): Move trusted path check...
16111 (is_trusted_path): ...to here.
16112 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
16113 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
16114 using is_trusted_path_normalize() in setuid scripts.
16115
161162011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16117
16118 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
16119 __BEGIN/__END_DECLS.
16120
161212011-05-06 Ulrich Drepper <drepper@gmail.com>
16122
16123 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
16124 NSS_STATUS_NOTFOUND if no record was found.
16125
161262011-05-05 Andreas Schwab <schwab@redhat.com>
16127
16128 * sunrpc/Makefile (headers): Add rpc/netdb.h.
16129 (headers-not-in-tirpc): Remove rpc/netdb.h
16130 * resolv/netdb.h: Revert last change.
16131
161322011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16133
16134 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
16135 circular dependency between libgcc.a and libc.a.
16136
161372011-05-05 Andreas Schwab <schwab@redhat.com>
16138
16139 * resolv/netdb.h: Don't include <rpc/netdb.h>.
16140 * nis/Makefile: Don't install rpcsvc/*.
16141 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16142 instead of <rpc/types.h>.
16143 (MAXHOSTNAMELEN): Define.
16144
161452011-05-03 Andreas Schwab <schwab@redhat.com>
16146
16147 * elf/ldconfig.c (add_dir): Don't crash on empty path.
16148
161492011-04-28 Maciej Babinski <mbabinski@google.com>
16150
16151 [BZ #12714]
16152 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16153 gethostbyname4_r when IPv6 results are possible.
16154
161552011-05-02 Ulrich Drepper <drepper@gmail.com>
16156
16157 [BZ #12723]
16158 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16159 _PC_PIPE_BUF handling.
16160
161612011-04-30 Bruno Haible <bruno@clisp.org>
16162
16163 [BZ #12717]
16164 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16165 * resolv/netdb.h (getnameinfo): Change type of flags parameter
16166 to 'int'.
16167 * inet/getnameinfo.c (getnameinfo): Likewise.
16168
161692011-04-29 Ulrich Drepper <drepper@gmail.com>
16170
16171 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16172 to groups setting in database lookup.
16173 * nss/nsswitch.conf: Add initgroups entry.
16174
161752011-04-22 Ulrich Drepper <drepper@gmail.com>
16176
16177 [BZ #12685]
16178 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16179 mode string.
16180 Patch by Eric Blake <eblake@redhat.com>.
16181
161822011-04-20 H.J. Lu <hongjiu.lu@intel.com>
16183
16184 * sunrpc/Makefile (need-export-routines): Add svc_run.
16185 (routines): Remove svc_run.
16186 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16187 * sunrpc/clnt_perr.c (clnt_perrno): Export.
16188 * sunrpc/svc_run.c (svc_run): Likewise.
16189 * sunrpc/svc_udp.c (svcudp_create): Likewise.
16190
161912011-04-21 Ulrich Drepper <drepper@gmail.com>
16192
16193 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16194 problem in reallocation in last patch.
16195
161962011-04-20 Ulrich Drepper <drepper@gmail.com>
16197
16198 * sunrpc/Makefile: Move inclusion of Rules.
16199
162002011-04-19 Ulrich Drepper <drepper@gmail.com>
16201
16202 * nss/nss_files/files-initgroups.c: New file.
16203 * nss/Makefile (libnss_files-routines): Add files-initgroups.
16204 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16205 _nss_files_initgroups_dyn.
16206
162072011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
16208
16209 * elf/elf.h (R_ARM_IRELATIVE): Define.
16210
162112011-04-19 Ulrich Drepper <drepper@gmail.com>
16212
16213 * po/ru.po: Update from translation team.
16214
162152011-04-17 Ulrich Drepper <drepper@gmail.com>
16216
16217 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16218 dependencies.
16219
162202011-02-06 Mike Frysinger <vapier@gentoo.org>
16221
16222 [BZ #12653]
16223 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16224 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16225 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16226 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16227 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16228
162292011-03-28 Andreas Schwab <schwab@linux-m68k.org>
16230
16231 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16232 differing bytes.
16233 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16234 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16235 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16236
162372011-04-17 Ulrich Drepper <drepper@gmail.com>
16238
16239 [BZ #12420]
16240 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
16241 storing it.
16242 * stdlib/bug-getcontext.c: New file.
16243 * stdlib/Makefile: Add rules to build and run bug-getcontext.
16244
162452011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16246
16247 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
16248 instructions into .machine "z9-109".
16249 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16250 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16251
162522011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16253
16254 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
16255 between environment variables and auxiliary vector.
16256
162572011-04-16 Ulrich Drepper <drepper@gmail.com>
16258
16259 * Makefile: Add rules to build linkobj/libc.so.
16260 * include/libc-symbols.h: Define libc_hidden_nolink.
16261 * include/rpc/auth.h: Mark functions which are to be hidden.
16262 * include/rpc/auth_des.h: Likewise.
16263 * include/rpc/auth_unix.h: Likewise.
16264 * include/rpc/clnt.h: Likewise.
16265 * include/rpc/des_crypt.h: Likewise.
16266 * include/rpc/key_prot.h: Likewise.
16267 * include/rpc/pmap_clnt.h: Likewise.
16268 * include/rpc/pmap_prot.h: Likewise.
16269 * include/rpc/pmap_rmt.h: Likewise.
16270 * include/rpc/rpc_msg.h: Likewise.
16271 * include/rpc/svc.h: Likewise.
16272 * include/rpc/svc_auth.h: Likewise.
16273 * include/rpc/xdr.h: Likewise.
16274 * nis/Makefile: Link all DSOs against linkobj/libc.so.
16275 * nss/Makefile: Likewise.
16276 * sunrpc/Makefile: Don't install headers. Build library with normal
16277 entry points. Don't build rpcinfo. Link RPC tests appropriately.
16278 * sunrpc/auth_des.c: Hide exported symbols by default, export some
16279 for the compat linking library. Remove use of INTDEF/INTUSE.
16280 * sunrpc/auth_none.c: Likewise.
16281 * sunrpc/auth_unix.c: Likewise.
16282 * sunrpc/authdes_prot.c: Likewise.
16283 * sunrpc/authuxprot.c: Likewise.
16284 * sunrpc/clnt_gen.c: Likewise.
16285 * sunrpc/clnt_perr.c: Likewise.
16286 * sunrpc/clnt_raw.c: Likewise.
16287 * sunrpc/clnt_simp.c: Likewise.
16288 * sunrpc/clnt_tcp.c: Likewise.
16289 * sunrpc/clnt_udp.c: Likewise.
16290 * sunrpc/clnt_unix.c: Likewise.
16291 * sunrpc/des_crypt.c: Likewise.
16292 * sunrpc/des_soft.c: Likewise.
16293 * sunrpc/get_myaddr.c: Likewise.
16294 * sunrpc/key_call.c: Likewise.
16295 * sunrpc/key_prot.c: Likewise.
16296 * sunrpc/netname.c: Likewise.
16297 * sunrpc/pm_getmaps.c: Likewise.
16298 * sunrpc/pm_getport.c: Likewise.
16299 * sunrpc/pmap_clnt.c: Likewise.
16300 * sunrpc/pmap_prot.c: Likewise.
16301 * sunrpc/pmap_prot2.c: Likewise.
16302 * sunrpc/pmap_rmt.c: Likewise.
16303 * sunrpc/publickey.c: Likewise.
16304 * sunrpc/rpc_cmsg.c: Likewise.
16305 * sunrpc/rpc_common.c: Likewise.
16306 * sunrpc/rpc_dtable.c: Likewise.
16307 * sunrpc/rpc_prot.c: Likewise.
16308 * sunrpc/rpc_thread.c: Likewise.
16309 * sunrpc/rtime.c: Likewise.
16310 * sunrpc/svc.c: Likewise.
16311 * sunrpc/svc_auth.c: Likewise.
16312 * sunrpc/svc_authux.c: Likewise.
16313 * sunrpc/svc_raw.c: Likewise.
16314 * sunrpc/svc_run.c: Likewise.
16315 * sunrpc/svc_simple.c: Likewise.
16316 * sunrpc/svc_tcp.c: Likewise.
16317 * sunrpc/svc_udp.c: Likewise.
16318 * sunrpc/svc_unix.c: Likewise.
16319 * sunrpc/svcauth_des.c: Likewise.
16320 * sunrpc/xcrypt.c: Likewise.
16321 * sunrpc/xdr.c: Likewise.
16322 * sunrpc/xdr_array.c: Likewise.
16323 * sunrpc/xdr_float.c: Likewise.
16324 * sunrpc/xdr_intXX_t.c: Likewise.
16325 * sunrpc/xdr_mem.c: Likewise.
16326 * sunrpc/xdr_rec.c: Likewise.
16327 * sunrpc/xdr_ref.c: Likewise.
16328 * sunrpc/xdr_sizeof.c: Likewise.
16329 * sunrpc/xdr_stdio.c: Likewise.
16330
163312011-04-10 Ulrich Drepper <drepper@gmail.com>
16332
16333 [BZ #12650]
16334 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
16335 * sysdeps/ia64/dl-tls.h: Likewise.
16336 * sysdeps/powerpc/dl-tls.h: Likewise.
16337 * sysdeps/s390/dl-tls.h: Likewise.
16338 * sysdeps/sh/dl-tls.h: Likewise.
16339 * sysdeps/sparc/dl-tls.h: Likewise.
16340 * sysdeps/x86_64/dl-tls.h: Likewise.
16341 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
16342
163432011-03-14 Andreas Schwab <schwab@redhat.com>
16344
16345 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
16346 rpath element also skip the following colon.
16347 (expand_dynamic_string_token): Add is_path parameter and pass
16348 down to DL_DST_REQUIRED and _dl_dst_substitute.
16349 (decompose_rpath): Call expand_dynamic_string_token with
16350 non-zero is_path. Ignore empty rpaths.
16351 (_dl_map_object_from_fd): Call expand_dynamic_string_token
16352 with zero is_path.
16353
163542011-04-08 Andreas Schwab <schwab@linux-m68k.org>
16355
16356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16357 Make cancelable.
16358
163592011-04-09 Ulrich Drepper <drepper@gmail.com>
16360
16361 [BZ #12655]
16362 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
16363 Patch by Filipe David Manana <fdmanana@apache.org>.
16364
163652011-04-07 Andreas Schwab <schwab@redhat.com>
16366
16367 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
16368 Maintain aligned stack.
16369 (CHECK_RSP): Remove unused macro.
16370
163712011-04-03 Ulrich Drepper <drepper@gmail.com>
16372
16373 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
16374 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
16375
163762011-04-02 Ulrich Drepper <drepper@gmail.com>
16377
16378 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
16379
16380 * include/features.h: Mention __USE_XOPEN2K8 in comment.
16381
163822011-03-26 H.J. Lu <hongjiu.lu@intel.com>
16383
16384 [BZ #12518]
16385 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
16386 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
16387 * sysdeps/x86_64/memmove.c: New file.
16388 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
16389 (memcpy): Renamed to ...
16390 (__new_memcpy): This.
16391 (memcpy): Provide GLIBC_2_14 memcpy.
16392 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
16393 (memcpy): Provide GLIBC_2_2_5 memcpy.
16394
163952011-04-01 Ulrich Drepper <drepper@gmail.com>
16396
16397 [BZ #12631]
16398 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
16399
164002011-03-30 Andreas Schwab <schwab@redhat.com>
16401
16402 * misc/syncfs.c: New file.
16403 * misc/Makefile (routines): Add syncfs.
16404 * posix/unistd.h: Declare syncfs.
16405 * sysdeps/unix/syscalls.list: Add syncfs.
16406
164072011-04-01 Andreas Schwab <schwab@redhat.com>
16408
16409 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
16410 open_by_handle_at.
16411 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16412 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16413 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16414 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16415 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16416 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
16417 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16418
164192011-04-01 Ulrich Drepper <drepper@gmail.com>
16420
16421 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
16422 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16423 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
16424 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16425 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16426 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16427 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16428
16429 * io/Makefile: Compile fallocate.c, fallocate64.c, and
16430 sync_file_range.c with -fexceptions.
16431 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
16432 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
16433 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16434 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16435 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16436 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16437 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
16438 sync_file_range as cancellation point
16439 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
16440 now a wrapper around __call_sync_file_range with cancellation handling.
16441 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
16442 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
16443 function name to __call_sync_file_range.
16444 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
16445 Add call_sync_file_range.
16446
164472011-04-01 Andreas Schwab <schwab@redhat.com>
16448
16449 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16450 bits/timex.h.
16451
164522011-04-01 Ulrich Drepper <drepper@gmail.com>
16453
16454 * iconv/iconv.h: Fix typo in comment.
16455 * io/fcntl.h: Likewise.
16456 * libio/stdio.h: Likewise.
16457 * posix/spawn.h: Likewise.
16458 * posix/unistd.h: Likewise.
16459 * stdlib/stdlib.h: Likewise.
16460 * time/time.h: Likewise.
16461 * wcsmbs/wchar.h: Likewise.
16462
16463 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
16464 open_by_handle): Add.
16465 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
16466 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
16467 Augment a few comments.
16468 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16469 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16470 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16471 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16472 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16473 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
16474 open_by_handle.
16475
16476 * io/fcntl.h (AT_EMPTY_PATH): Define.
16477
164782011-03-30 Ulrich Drepper <drepper@gmail.com>
16479
16480 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
16481 * sysdeps/unix/sysv/linux/bits/time.h: New file.
16482 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
16483 to...
16484 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
16485 * Versions.def: Add GLIBC_2.14.
16486 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
16487 Export.
16488
164892011-03-22 Ulrich Drepper <drepper@gmail.com>
16490
16491 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
16492 round counter.
16493 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16494
164952011-03-20 H.J. Lu <hongjiu.lu@intel.com>
16496
16497 [BZ #12597]
16498 * string/test-strncmp.c (do_page_test): New function.
16499 (check2): Likewise.
16500 (test_main): Call check2.
16501 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
16502
165032011-03-20 Ulrich Drepper <drepper@gmail.com>
16504
16505 [BZ #12587]
16506 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
16507 Handle cache information in CPU leaf 4.
16508 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16509
165102011-03-18 Ulrich Drepper <drepper@gmail.com>
16511
16512 [BZ #12583]
16513 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
16514 character representation.
16515 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
16516
165172011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
16518
16519 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
16520 END(__isnan) to END(__isnanf) to match function entry point/label
16521 EALIGN(__isnanf,...).
16522
165232011-03-10 Jakub Jelinek <jakub@redhat.com>
16524
16525 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
16526
165272011-03-10 Ulrich Drepper <drepper@gmail.com>
16528
16529 [BZ #12510]
16530 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
16531 copy from the symbol referenced in the relocation to initialize the
16532 used variable.
16533 Patch by Piotr Bury <pbury@goahead.com>.
16534 * elf/Makefile: Add rules to build and tst-unique3.
16535 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
16536 * elf/tst-unique3.cc: New file.
16537 * elf/tst-unique3.h: New file.
16538 * elf/tst-unique3lib.cc: New file.
16539 * elf/tst-unique3lib2.cc: New file.
16540
16541 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
16542
165432011-03-10 Mike Frysinger <vapier@gentoo.org>
16544
16545 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
16546 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
16547 to _start.
16548
165492011-03-06 Ulrich Drepper <drepper@gmail.com>
16550
16551 * elf/dl-load.c (_dl_map_object): If we are looking for the first
16552 to-be-loaded object along a path to loader is ld.so.
16553
165542011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16555 Ulrich Drepper <drepper@gmail.com>
16556
16557 * sysdeps/x86_64/memset.S: After aligning destination, code
16558 branches to different locations depending on the value of
16559 misalignment, when multiarch is enabled. Fix this.
16560
165612011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16562
16563 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
16564 Set _x86_64_preferred_memory_instruction for AMD processsors.
16565 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16566 Set bit_Prefer_SSE_for_memop for AMD processors.
16567
165682011-03-04 Ulrich Drepper <drepper@gmail.com>
16569
16570 * libio/fmemopen.c (fmemopen): Optimize a bit.
16571
165722011-03-03 Andreas Schwab <schwab@redhat.com>
16573
16574 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
16575
165762011-03-03 Roland McGrath <roland@redhat.com>
16577
16578 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
16579
165802011-02-28 Aurelien Jarno <aurelien@aurel32.net>
16581
16582 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
16583 __bzero_ultra1 instead of __memset_ultra1.
16584
165852011-02-23 Andreas Schwab <schwab@redhat.com>
16586 Ulrich Drepper <drepper@gmail.com>
16587
16588 [BZ #12509]
16589 * include/link.h (struct link_map): Add l_orig_initfini.
16590 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
16591 returning unsuccessfully.
16592 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
16593 close of a file loaded at startup, restore the original l_initfini
16594 list.
16595 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
16596 list, store the pointer.
16597 * elf/Makefile ($(objpfx)noload-mem): New rule.
16598 (noload-ENV): Define.
16599 (tests): Add $(objpfx)noload-mem.
16600 * elf/noload.c: Include <memcheck.h>.
16601 (main): Call mtrace. Close all opened handles.
16602
166032011-02-17 Andreas Schwab <schwab@redhat.com>
16604
16605 [BZ #12454]
16606 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
16607 dependencies are missing.
16608
166092011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16610
16611 Fix __if_freereq crash: Unlike the generic version which uses free,
16612 Hurd needs munmap.
16613 * sysdeps/mach/hurd/ifreq.h: New file.
16614
166152011-01-27 Petr Baudis <pasky@suse.cz>
16616 Ulrich Drepper <drepper@gmail.com>
16617
16618 [BZ 12445]#
16619 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
16620 to extend_alloca().
16621 * stdio-common/bug23.c: New file.
16622 * stdio-common/Makefile (tests): Add bug23.
16623
166242010-09-28 Andreas Schwab <schwab@redhat.com>
16625 Ulrich Drepper <drepper@gmail.com>
16626
16627 [BZ #12489]
16628 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
16629 before performing relro protection. At old place add assertion
16630 to make sure nothing changed.
16631
166322011-02-17 Nathan Sidwell <nathan@codesourcery.com>
16633 Glauber de Oliveira Costa <glommer@gmail.com>
16634
16635 * elf/elf.h: Add new ARM TLS relocs.
16636
166372011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
16638
16639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16640 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
16641 cast from r3.
16642 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
16643 'tests' variable.
16644 * sysdeps/wordsize-64/tst-writev.c: New file.
16645
166462011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
16647
16648 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
16649 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
16650 insns in _dl_start to prevent a TOC reference before relocs are
16651 resolved.
16652
166532011-02-15 Ulrich Drepper <drepper@gmail.com>
16654
16655 [BZ #12469]
16656 * Makeconfig: Remove RANLIB definition.
16657 * Makerules: Don't use RANLIB.
16658 * aclocal.m4: Remove ranlib test.
16659 * configure.in: No need to check for ranlib.
16660 * elf/rtld-Rules: Don't use RANLIB.
16661
166622011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16663
16664 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
16665 protection macro.
16666 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
16667 inclusion protection macro.
16668
16669 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
16670 SIGRTMIN and SIGRTMAX and print information in that case only when
16671 SIGRTMIN is defined.
16672
166732011-02-11 Jakub Jelinek <jakub@redhat.com>
16674
16675 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
16676 arginfo fn returning -1.
16677
16678 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
16679 and thousands string is zero terminated.
16680
166812011-02-03 Andreas Schwab <schwab@redhat.com>
16682
16683 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
16684 sysdeps/unix/sysv/linux/bits/socket.h.
16685
166862011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16687
16688 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
16689 (__CPU_COUNT): Remove old macros.
16690 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
16691 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
16692 (__CPU_ALLOC, __CPU_FREE): Add macros.
16693 (__sched_cpualloc, __sched_cpufree): Add declarations.
16694
166952011-02-05 Ulrich Drepper <drepper@gmail.com>
16696
16697 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
16698 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
16699 * nscd/aicache.c (addhstaiX): Return timeout of added value.
16700 (readdhstai): Return value of addhstaiX call.
16701 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
16702 (addgrbyX): Return value returned by cache_addgr.
16703 (readdgrbyname): Return value returned by addgrbyX.
16704 (readdgrbygid): Likewise.
16705 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
16706 (addpwbyX): Return value returned by cache_addpw.
16707 (readdpwbyname): Return value returned by addhstbyX.
16708 (readdpwbyuid): Likewise.
16709 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
16710 (addservbyX): Return value returned by cache_addserv.
16711 (readdservbyname): Return value returned by addservbyX:
16712 (readdservbyport): Likewise.
16713 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
16714 (addhstbyX): Return value returned by cache_addhst.
16715 (readdhstbyname): Return value returned by addhstbyX.
16716 (readdhstbyaddr): Likewise.
16717 (readdhstbynamev6): Likewise.
16718 (readdhstbyaddrv6): Likewise.
16719 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
16720 (readdinitgroups): Return value returned by addinitgroupsX.
16721 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
16722 (prune_cache): Keep track of timeout value of re-added entries.
16723 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
16724 * nscd/nscd.h: Adjust prototypes of readd* functions.
16725
167262011-02-04 Roland McGrath <roland@redhat.com>
16727
16728 * nis/nis_server.c (nis_servstate): Use the right name for 0.
16729 (nis_stats): Likewise.
16730 * nis/nis_modify.c (nis_modify): Likewise.
16731 * nis/nis_remove.c (nis_remove): Likewise.
16732 * nis/nis_add.c (nis_add): Likewise.
16733
16734 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
16735
16736 * posix/fnmatch_loop.c: Add some consts.
16737
16738 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
16739
167402011-02-02 H.J. Lu <hongjiu.lu@intel.com>
16741
16742 [BZ #12460]
16743 * config.make.in (config-cflags-novzeroupper): Define.
16744 * configure.in: Substitute libc_cv_cc_novzeroupper.
16745 * elf/Makefile (AVX-CFLAGS): Define.
16746 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
16747 (CFLAGS-tst-auditmod4a.c): Likewise.
16748 (CFLAGS-tst-auditmod4b.c): Likewise.
16749 (CFLAGS-tst-auditmod6b.c): Likewise.
16750 (CFLAGS-tst-auditmod6c.c): Likewise.
16751 (CFLAGS-tst-auditmod7b.c): Likewise.
16752 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
16753
167542011-02-02 Ulrich Drepper <drepper@gmail.com>
16755
16756 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
16757 function to the callback.
16758 Patch partly by Jiri Olsa <jolsa@redhat.com>.
16759
167602011-02-02 Andreas Schwab <schwab@redhat.com>
16761
16762 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
16763 of errno.
16764
167652011-01-19 Ulrich Drepper <drepper@gmail.com>
16766
16767 [BZ #11724]
16768 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
16769 of constructors.
16770 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
16771 of destructors.
16772 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
16773
16774 [BZ #11724]
16775 * elf/Makefile: Add rules to build and run new test.
16776 * elf/tst-initorder.c: New file.
16777 * elf/tst-initorder.exp: New file.
16778 * elf/tst-initordera1.c: New file.
16779 * elf/tst-initordera2.c: New file.
16780 * elf/tst-initordera3.c: New file.
16781 * elf/tst-initordera4.c: New file.
16782 * elf/tst-initorderb1.c: New file.
16783 * elf/tst-initorderb2.c: New file.
16784 * elf/tst-order-a1.c: New file.
16785 * elf/tst-order-a2.c: New file.
16786 * elf/tst-order-a3.c: New file.
16787 * elf/tst-order-a4.c: New file.
16788 * elf/tst-order-b1.c: New file.
16789 * elf/tst-order-b2.c: New file.
16790 * elf/tst-order-main.c: New file.
16791 New test case by George Gensure <werkt0@gmail.com>.
16792
167932010-10-01 Andreas Schwab <schwab@redhat.com>
16794
16795 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16796 decoding ACE if AI_CANONIDN.
16797
167982011-01-18 Ulrich Drepper <drepper@gmail.com>
16799
16800 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
16801
168022011-01-17 Ulrich Drepper <drepper@gmail.com>
16803
16804 * version.h (RELEASE): Bump for 2.13 release.
16805 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
16806
16807 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
16808
16809 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
16810 MADV_NOHUGEPAGE.
16811 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
16812 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16813 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16814 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16815 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16816 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16817
16818 * posix/getconf.c: Update copyright year.
16819 * catgets/gencat.c: Likewise.
16820 * csu/version.c: Likewise.
16821 * debug/catchsegv.sh: Likewise.
16822 * debug/xtrace.sh: Likewise.
16823 * elf/ldconfig.c: Likewise.
16824 * elf/ldd.bash.in: Likewise.
16825 * elf/sprof.c (print_version): Likewise.
16826 * iconv/iconv_prog.c: Likewise.
16827 * iconv/iconvconfig.c: Likewise.
16828 * locale/programs/locale.c: Likewise.
16829 * locale/programs/localedef.c: Likewise.
16830 * malloc/memusage.sh: Likewise.
16831 * malloc/mtrace.pl: Likewise.
16832 * nscd/nscd.c (print_version): Likewise.
16833 * nss/getent.c: Likewise.
16834
16835 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
16836 PF_CAIF, and PF_ALG.
16837 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16838
168392011-01-16 Andreas Schwab <schwab@linux-m68k.org>
16840
16841 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
16842 (modules-names): Use them.
16843 (ifunc-test-modules, ifunc-pie-tests): Define.
16844 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
16845 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
16846 (test-extras): Likewise.
16847 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
16848 $(compile-command.c).
16849 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
16850 (all-built-dso): Define.
16851 (check-textrel.out, check-execstack.out): Depend on it.
16852
16853 * configure.in: Don't override --enable-multi-arch.
16854
168552011-01-15 Ulrich Drepper <drepper@gmail.com>
16856
16857 [BZ #6812]
16858 * nscd/hstcache.c (tryagain): Define.
16859 (cache_addhst): Return tryagain not notfound for temporary errors.
16860 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
16861 failed.
16862
168632011-01-14 Ulrich Drepper <drepper@gmail.com>
16864
16865 [BZ #10563]
16866 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
16867 to make the syscall.
16868 * sysdeps/unix/sysv/linux/setgroups.c: New file.
16869
16870 [BZ #12378]
16871 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
16872 and fall back to matching as normal character if the string ends before
16873 the matching ']' is found. This is what POSIX requires.
16874 * posix/testfnm.c: Adjust test result.
16875 * posix/globtest.sh: Adjust test result. Add new test.
16876 * posix/tst-fnmatch.input: Likewise.
16877 * posix/tst-fnmatch2.c: Add new test.
16878
168792010-12-28 Andreas Schwab <schwab@linux-m68k.org>
16880
16881 * elf/Makefile (check-execstack): Revert last change. Depend on
16882 check-execstack.h.
16883 (check-execstack.h): New target.
16884 (generated): Add check-execstack.h.
16885 * elf/check-execstack.c: Include "check-execstack.h".
16886 (main): Revert last change.
16887 (handle_file): Return zero if GNU_STACK is absent and
16888 DEFAULT_STACK_PERMS doesn't include PF_X.
16889
168902011-01-13 Ulrich Drepper <drepper@gmail.com>
16891
16892 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
16893 in child fails because the descriptor is already closed.
16894 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
16895 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
16896 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
16897
16898 [BZ #12397]
16899 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
16900 syscall.
16901
16902 [BZ #10484]
16903 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
16904 temporary buffer used to handle multi lookups locally.
16905 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
16906
169072011-01-12 Ulrich Drepper <drepper@gmail.com>
16908
16909 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
16910 loader is ld.so.
16911
169122011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
16913
16914 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
16915 alignment for SSE2.
16916
169172011-01-12 Ulrich Drepper <drepper@gmail.com>
16918
16919 [BZ #12394]
16920 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
16921 characters. When rounding increased number of integer digits recompute
16922 number of groups.
16923 * stdio-common/tst-grouping.c: New file.
16924 * stdio-common/Makefile: Add rules to build and run tst-grouping.
16925
169262011-01-09 Ulrich Drepper <drepper@gmail.com>
16927
16928 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
16929 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
16930
16931 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
16932 void.
16933 * bits/select.h: Likewise.
16934
169352011-01-08 Ulrich Drepper <drepper@gmail.com>
16936
16937 * po/ja.po: Update from translation team.
16938
169392011-01-04 David S. Miller <davem@sunset.davemloft.net>
16940
16941 [BZ #11155]
16942 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
16943 implementation just like for lxstat, fxstatat, et al.
16944
169452010-12-27 Jim Meyering <meyering@redhat.com>
16946
16947 [BZ #12348]
16948 * posix/regexec.c (build_trtable): Return failure indication upon
16949 calloc failure. Otherwise, re_search_internal could infloop on OOM.
16950
169512010-12-25 Ulrich Drepper <drepper@gmail.com>
16952
16953 [BZ #12201]
16954 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
16955 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
16956 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
16957 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
16958
16959 [BZ #12207]
16960 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
16961
16962 [BZ #12204]
16963 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
16964 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
16965
169662010-12-15 H.J. Lu <hongjiu.lu@intel.com>
16967
16968 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
16969 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
16970 script has SORT_BY_INIT_PRIORITY.
16971 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
16972 NO_CTORS_DTORS_SECTIONS is defined.
16973 * elf/soinit.c: Likewise.
16974 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
16975 NO_CTORS_DTORS_SECTIONS is defined.
16976 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
16977 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
16978 * sysdeps/sh/init-first.c: Likewise.
16979 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
16980
169812010-12-24 Ulrich Drepper <drepper@gmail.com>
16982
16983 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
16984 always use the slow path.
16985
169862010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
16987
16988 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
16989 similar rule which adds the sysdep directories to the header search in
16990 order to pick up the correct platform stackinfo.h.
16991 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
16992 perform test if it is, otherwise return successfully without testing.
16993 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
16994 DEFAULT_STACK_PERMS define in stackinfo.h.
16995 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
16996 defined in stackinfo.h.
16997 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
16998 DEFAULT_STACK_PERMS defined in stackinfo.h.
16999 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
17000 * sysdeps/ia64/stackinfo.h: Likewise.
17001 * sysdeps/s390/stackinfo.h: Likewise.
17002 * sysdeps/sh/stackinfo.h: Likewise.
17003 * sysdeps/sparc/stackinfo.h: Likewise.
17004 * sysdeps/x86_64/stackinfo.h: Likewise.
17005 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
17006 PF_X for powerpc64. Retain PF_X for powerpc32.
17007
170082010-12-19 Ulrich Drepper <drepper@gmail.com>
17009
17010 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
17011 accurately.
17012 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
17013 GETDENTS_64BIT_ALIGNED.
17014
170152010-12-14 Ulrich Drepper <dreper@gmail.com>
17016
17017 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
17018
170192010-12-10 Andreas Schwab <schwab@redhat.com>
17020
17021 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
17022 _GNU_SOURCE.
17023
17024 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
17025 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
17026 Remove __restrict.
17027 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
17028 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
17029
170302010-12-09 Ulrich Drepper <drepper@gmail.com>
17031
17032 [BZ #11655]
17033 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
17034 are initialized.
17035
170362010-12-09 Jakub Jelinek <jakub@redhat.com>
17037
17038 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
17039
170402010-12-03 Ulrich Drepper <drepper@gmail.com>
17041
17042 * po/it.po: Update from translation team.
17043
170442010-12-01 H.J. Lu <hongjiu.lu@intel.com>
17045
17046 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
17047 unused codes.
17048
170492010-11-30 Ulrich Drepper <drepper@gmail.com>
17050
17051 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
17052
170532010-11-24 Andreas Schwab <schwab@redhat.com>
17054
17055 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
17056 specially.
17057 (gaih_getanswer_slice): Likewise.
17058
170592010-10-20 Jakub Jelinek <jakub@redhat.com>
17060
17061 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
17062
170632010-05-31 Petr Baudis <pasky@suse.cz>
17064
17065 [BZ #11149]
17066 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
17067 silently even in the chroot mode.
17068
170692010-11-22 Ulrich Drepper <drepper@gmail.com>
17070
17071 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
17072 last patch a bit. Pretty printing
17073
170742010-05-31 Petr Baudis <pasky@suse.cz>
17075
17076 [BZ #10085]
17077 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
17078 initialization of skip_initgroups_dyn.
17079
170802010-11-19 Ulrich Drepper <drepper@gmail.com>
17081
17082 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
17083 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17084
170852010-11-16 Ulrich Drepper <drepper@gmail.com>
17086
17087 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
17088
170892010-11-11 Andreas Schwab <schwab@redhat.com>
17090
17091 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
17092 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
17093 (tst-fnmatch-ENV): Set MALLOC_TRACE.
17094 ($(objpfx)tst-fnmatch-mem): New rule.
17095 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
17096 * posix/tst-fnmatch.c (main): Call mtrace.
17097
170982010-11-11 H.J. Lu <hongjiu.lu@intel.com>
17099
17100 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17101 Support Intel processor model 6 and model 0x2c.
17102
171032010-11-10 Luis Machado <luisgpm@br.ibm.com>
17104
17105 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
17106 signed comparison.
17107
171082010-11-09 H.J. Lu <hongjiu.lu@intel.com>
17109
17110 [BZ #12205]
17111 * string/test-strncasecmp.c (check_result): New function.
17112 (do_one_test): Use it.
17113 (check1): New function.
17114 (test_main): Use it.
17115 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
17116 Support strcasecmp and strncasecmp.
17117
171182010-11-08 Ulrich Drepper <drepper@gmail.com>
17119
17120 [BZ #12194]
17121 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
17122 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17123
171242010-11-07 H.J. Lu <hongjiu.lu@intel.com>
17125
17126 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
17127 IFUNC support.
17128 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17129 memset-x86-64.
17130 * sysdeps/x86_64/multiarch/bzero.S: New file.
17131 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
17132 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
17133 * sysdeps/x86_64/multiarch/memset.S: New file.
17134 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
17135 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17136 Set bit_Prefer_SSE_for_memop for Intel processors.
17137 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
17138 Define.
17139 (index_Prefer_SSE_for_memop): Define.
17140 (HAS_PREFER_SSE_FOR_MEMOP): Define.
17141
171422010-11-04 Luis Machado <luisgpm@br.ibm.com>
17143
17144 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17145 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17146
171472010-11-03 H.J. Lu <hongjiu.lu@intel.com>
17148
17149 [BZ #12191]
17150 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17151 (__x86_64_raw_data_cache_size_half): Likewise.
17152 (__x86_64_raw_shared_cache_size): Likewise.
17153 (__x86_64_raw_shared_cache_size_half): Likewise.
17154
17155 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17156 (__x86_64_raw_data_cache_size_half): Likewise.
17157 (__x86_64_raw_shared_cache_size): Likewise.
17158 (__x86_64_raw_shared_cache_size_half): Likewise.
17159 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17160 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17161 and __x86_64_raw_shared_cache_size_half. Round
17162 __x86_64_data_cache_size_half, __x86_64_data_cache_size
17163 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17164 to multiple of 256 bytes.
17165
171662010-11-03 Ulrich Drepper <drepper@gmail.com>
17167
17168 [BZ #12167]
17169 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17170 of inacessible symlinks. Verify result of symlink before returning it.
17171 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17172 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17173
171742010-10-28 Erich Ritz <erichritz@gmail.com>
17175
17176 * math/math.h (isinf): Fix typo in comment.
17177
171782010-11-01 Ulrich Drepper <drepper@gmail.com>
17179
17180 * po/da.po: Update from translation team.
17181
171822010-10-26 Ulrich Drepper <drepper@gmail.com>
17183
17184 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17185 is added to the list.
17186
171872010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17188 Ulrich Drepper <drepper@gmail.com>
17189
17190 * elf/dl-object.c (_dl_new_object): Don't append the new object to
17191 the global list here. Move code to...
17192 (_dl_add_to_namespace_list): ...here. New function.
17193 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17194 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17195 * elf/dl-load.c (lose): Don't remove the element from the list.
17196 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17197 (_dl_map_object): Likewise.
17198
171992010-10-25 Ulrich Drepper <drepper@gmail.com>
17200
17201 [BZ #12159]
17202 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17203 into all bytes of SSE register.
17204 Patch by Richard Li <richardpku@gmail.com>.
17205
172062010-10-24 Ulrich Drepper <drepper@gmail.com>
17207
17208 [BZ #12140]
17209 * malloc/malloc.c (_int_free): Fill correct number of bytes when
17210 perturbing.
17211
172122010-10-20 Michael B. Brutman <brutman@us.ibm.com>
17213
17214 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17215 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17216 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17217 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17219 submachine.
17220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17221
172222010-10-22 Andreas Schwab <schwab@redhat.com>
17223
17224 * include/dlfcn.h (__RTLD_SECURE): Define.
17225 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
17226 mode & __RTLD_SECURE instead.
17227 (open_path): Rename preloaded parameter to secure.
17228 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17229 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17230 * elf/dl-deps.c (openaux): Likewise.
17231 * elf/rtld.c (struct map_args): Remove is_preloaded.
17232 (map_doit): Don't use it.
17233 (dl_main): Likewise.
17234 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
17235 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
17236
172372010-09-09 Andreas Schwab <schwab@redhat.com>
17238
17239 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
17240 (sysd-rules-targets): Remove duplicates.
17241 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
17242 rtld-%.$o dependency.
17243
172442010-10-18 Andreas Schwab <schwab@redhat.com>
17245
17246 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
17247 _dl_map_object do it.
17248
172492010-10-19 Ulrich Drepper <drepper@gmail.com>
17250
17251 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
17252 fast fma builtins, define the macros in the C99 standard.
17253 (FP_FAST_FMAF): Likewise.
17254 (FP_FAST_FMAL): Likewise.
17255 * sysdeps/x86_64/bits/mathdef.h: Likewise.
17256
17257 * bits/mathdef.h: Update copyright year.
17258 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17259
172602010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
17261
17262 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
17263 builtins, define the macros in the C99 standard.
17264 (FP_FAST_FMAF): Likewise.
17265 (FP_FAST_FMAL): Likewise.
17266 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
17267 multiply/add.
17268 (FP_FAST_FMAF): Likewise.
17269
172702010-10-15 Jakub Jelinek <jakub@redhat.com>
17271
17272 [BZ #3268]
17273 * math/libm-test.inc (fma_test): Some new testcases.
17274 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
17275 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
17276 y and infinite z. Do multiplication by C already in long double.
17277 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
17278 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
17279 y and infinite z. Do bitwise or of inexact bit into u.d.
17280 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
17281 * sysdeps/i386/fpu/s_fmaf.S: Removed.
17282 * sysdeps/i386/fpu/s_fma.S: Removed.
17283 * sysdeps/i386/fpu/s_fmal.S: Removed.
17284
172852010-10-16 Jakub Jelinek <jakub@redhat.com>
17286
17287 [BZ #3268]
17288 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
17289 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
17290 computation is not scheduled after fetestexcept. Fix value
17291 of minimum denormal long double.
17292
172932010-10-14 Jakub Jelinek <jakub@redhat.com>
17294
17295 [BZ #3268]
17296 * math/libm-test.inc (fma_test): Add some more tests.
17297 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
17298 correctly.
17299
173002010-10-15 Andreas Schwab <schwab@redhat.com>
17301
17302 * scripts/data/localplt-s390-linux-gnu.data: New file.
17303 * scripts/data/localplt-s390x-linux-gnu.data: New file.
17304
173052010-10-13 Jakub Jelinek <jakub@redhat.com>
17306
17307 [BZ #3268]
17308 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
17309 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
17310 instead of dbl-64.
17311 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
17312 inlines.
17313 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
17314 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
17315 if one of x and y is very large and the other is subnormal.
17316 * sysdeps/s390/fpu/s_fmaf.c: New file.
17317 * sysdeps/s390/fpu/s_fma.c: New file.
17318 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
17319 * sysdeps/powerpc/fpu/s_fma.S: New file.
17320 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
17321 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
17322 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
17323
173242010-10-12 Jakub Jelinek <jakub@redhat.com>
17325
17326 [BZ #3268]
17327 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
17328 fma tests.
17329 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
17330 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
17331 * sysdeps/i386/i686/multiarch/s_fma.c: Include
17332 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
17333 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
17334 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
17335 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
17336
173372010-10-12 Ulrich Drepper <drepper@redhat.com>
17338
17339 [BZ #12078]
17340 * posix/regcomp.c (parse_branch): One more memory leak plugged.
17341 * posix/bug-regex31.input: Add test case.
17342
173432010-10-11 Ulrich Drepper <drepper@gmail.com>
17344
17345 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
17346 * posix/bug-regex31.input: New file.
17347
17348 [BZ #12078]
17349 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
17350 (parse_sub_exp): Fix last change, use postorder.
17351
17352 * posix/bug-regex31.c: New file.
17353 * posix/Makefile: Add rules to build and run bug-regex31.
17354
17355 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
17356
17357 [BZ #12078]
17358 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
17359
17360 [BZ #12108]
17361 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
17362 to have entries in sys_siglist.
17363
17364 [BZ #12093]
17365 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
17366 be NULL.
17367
173682010-10-07 Jakub Jelinek <jakub@redhat.com>
17369
17370 [BZ #3268]
17371 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
17372 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
17373 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
17374 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
17375 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17376 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
17377 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
17378 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
17379 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
17380 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
17381 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
17382 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
17383 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17384 * math/ftestexcept.c (fetestexcept): Likewise.
17385 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
17386 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
17387 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17388 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
17389 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
17390 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
17391 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17392
173932010-10-11 Ulrich Drepper <drepper@gmail.com>
17394
17395 [BZ #12107]
17396 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
17397 newline.
17398
173992010-10-06 Ulrich Drepper <drepper@gmail.com>
17400
17401 * string/bug-strstr1.c: New file.
17402 * string/Makefile: Add rules to build and run bug-strstr1.
17403
174042010-10-05 Eric Blake <eblake@redhat.com>
17405
17406 [BZ #12092]
17407 * string/str-two-way.h (two_way_long_needle): Always clear memory
17408 when skipping input due to the shift table.
17409
174102010-10-03 Ulrich Drepper <drepper@gmail.com>
17411
17412 [BZ #12005]
17413 * malloc/mcheck.c: Handle large requests.
17414
17415 [BZ #12077]
17416 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
17417 for strncmp and strncasecmp.
17418 * string/stratcliff.c: Add tests for strcmp and strncmp.
17419 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
17420
174212010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17422
17423 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
17424 __set_fpscr.
17425
174262010-09-30 Andreas Jaeger <aj@suse.de>
17427
17428 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
17429 (CGROUP_SUPER_MAGIC): Define.
17430 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17431 Handle btrfs and cgroup file systems.
17432 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17433 Likewise.
17434
174352010-09-27 Luis Machado <luisgpm@br.ibm.com>
17436
17437 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
17438 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
17439
174402010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17441
17442 [BZ #12067]
17443 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
17444 trying to locate the ELF header.
17445
174462010-09-27 Andreas Schwab <schwab@redhat.com>
17447
17448 [BZ #11611]
17449 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
17450 Mask out sign-bit copies when constructing f_fsid.
17451
174522010-09-24 Petr Baudis <pasky@suse.cz>
17453
17454 * debug/stack_chk_fail_local.c: Add missing licence exception.
17455 * debug/warning-nop.c: Likewise.
17456
174572010-09-15 Joseph Myers <joseph@codesourcery.com>
17458
17459 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
17460 implementing getdents64 using getdents syscall, set d_type if
17461 __ASSUME_GETDENTS32_D_TYPE.
17462
174632010-09-16 Andreas Schwab <schwab@redhat.com>
17464
17465 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
17466 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
17467
174682010-09-21 Ulrich Drepper <drepper@redhat.com>
17469
17470 [BZ #12037]
17471 * posix/unistd.h: Undo change of feature selection for ftruncate from
17472 2010-01-11.
17473
174742010-09-20 Ulrich Drepper <drepper@redhat.com>
17475
17476 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
17477 detection.
17478
174792010-09-20 Andreas Schwab <schwab@redhat.com>
17480
17481 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
17482 fanotify_mark.
17483 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17484
174852010-09-14 Andreas Schwab <schwab@redhat.com>
17486
17487 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
17488 variables after CHECK_SP call.
17489 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
17490
174912010-09-13 Andreas Schwab <schwab@redhat.com>
17492 Ulrich Drepper <drepper@redhat.com>
17493
17494 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
17495 re-relocationg ld.so.
17496 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
17497 _dl_init_paths call.
17498 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
17499 here anymore.
17500
175012010-09-14 Ulrich Drepper <drepper@redhat.com>
17502
17503 * resolv/res_init.c (__res_vinit): Count the default server we added.
17504
175052010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
17506 Ulrich Drepper <drepper@redhat.com>
17507
17508 [BZ #11968]
17509 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17510 (____longjmp_chk): Use %ebx for saving value across system call.
17511 Add unwind info.
17512
175132010-09-06 Andreas Schwab <schwab@redhat.com>
17514
17515 * manual/Makefile: Don't mix pattern rules with normal rules.
17516
175172010-09-05 Andreas Schwab <schwab@linux-m68k.org>
17518
17519 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
17520 operation.
17521 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17522 * libio/iofopncook.c (_IO_cookie_init): Likewise.
17523 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17524 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17525 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17526 Likewise.
17527
175282010-09-04 Ulrich Drepper <drepper@redhat.com>
17529
17530 [BZ #11979]
17531 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
17532 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
17533
175342010-09-02 Ulrich Drepper <drepper@redhat.com>
17535
17536 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
17537 * sysdeps/x86_64/addmul_1.S: Likewise.
17538 * sysdeps/x86_64/lshift.S: Likewise.
17539 * sysdeps/x86_64/mul_1.S: Likewise.
17540 * sysdeps/x86_64/rshift.S: Likewise.
17541 * sysdeps/x86_64/sub_n.S: Likewise.
17542 * sysdeps/x86_64/submul_1.S: Likewise.
17543
175442010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
17545
17546 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
17547 Define __sched_param instead of SCHED_* and sched_param when
17548 <bits/sched.h> is included with __need_schedparam defined.
17549 * bits/sched.h [__need_schedparam]
17550 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
17551 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
17552 (__defined_schedparam): Define to 1.
17553 (__sched_param): New structure, identical to sched_param.
17554 (__need_schedparam): Undefine.
17555
175562010-08-31 Mike Frysinger <vapier@gentoo.org>
17557
17558 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
17559 (epoll_create1): Declare.
17560
17561 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
17562
175632010-08-31 Andreas Schwab <schwab@redhat.com>
17564
17565 [BZ #7066]
17566 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
17567 shifting retval into place.
17568
175692010-09-01 Ulrich Drepper <drepper@redhat.com>
17570
17571 * nis/rpcsvc/nis.h: Update copyright notice.
17572 * nis/rpcsvc/nis.x: Likewise.
17573 * nis/rpcsvc/nis_callback.h: Likewise.
17574 * nis/rpcsvc/nis_callback.x: Likewise.
17575 * nis/rpcsvc/nis_object.x: Likewise.
17576 * nis/rpcsvc/nis_tags.h: Likewise.
17577 * nis/rpcsvc/yp.h: Likewise.
17578 * nis/rpcsvc/yp.x: Likewise.
17579 * nis/rpcsvc/ypupd.h: Likewise.
17580 * nis/yp_xdr.c: Likewise.
17581 * nis/ypupdate_xdr.c: Likewise.
17582
17583 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
17584 mainly the body of pmap_getport. Add parameters to specify timeouts.
17585 (pmap_getport): Use __libc_rpc_getport.
17586 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
17587 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
17588 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
17589
175902010-08-31 Andreas Schwab <schwab@linux-m68k.org>
17591
17592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
17593 fanotify_mark.
17594
175952010-08-27 Roland McGrath <roland@redhat.com>
17596
17597 * sysdeps/i386/i686/multiarch/Makefile
17598 (CFLAGS-varshift.c): New variable.
17599
176002010-08-27 Ulrich Drepper <drepper@redhat.com>
17601
17602 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
17603 * sysdeps/i386/i686/multiarch/varshift.c: New file.
17604
17605 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
17606
17607 * sysdeps/x86_64/strlen.S: Minimal code improvement.
17608
176092010-08-26 H.J. Lu <hongjiu.lu@intel.com>
17610
17611 * sysdeps/x86_64/strlen.S: Unroll the loop.
17612 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17613 strlen-sse2 strlen-sse2-bsf.
17614 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
17615 __strlen_no_bsf if bit_Slow_BSF is set.
17616 (__strlen_sse42): Removed.
17617 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
17618 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
17619
176202010-08-25 Roland McGrath <roland@redhat.com>
17621
17622 * sysdeps/x86_64/multiarch/varshift.S: File removed.
17623 * sysdeps/x86_64/multiarch/varshift.c: New file.
17624 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
17625 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
17626 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
17627 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17628
176292010-08-25 H.J. Lu <hongjiu.lu@intel.com>
17630
17631 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17632 strlen-sse2 strlen-sse2-bsf.
17633 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
17634 __strlen_sse2_bsf if bit_Slow_BSF is unset.
17635 (__strlen_sse2): Removed.
17636 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
17637 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
17638 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17639 bit_Slow_BSF for Atom.
17640 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
17641 (index_Slow_BSF): Define.
17642 (HAS_SLOW_BSF): Define.
17643
176442010-08-25 Ulrich Drepper <drepper@redhat.com>
17645
17646 [BZ #10851]
17647 * resolv/res_init.c (__res_vinit): When no server address at all
17648 is given default to loopback.
17649
176502010-08-24 Roland McGrath <roland@redhat.com>
17651
17652 * configure.in: Remove config-name.h generation.
17653 * configure: Regenerated.
17654 * config-name.in: File removed.
17655 * scripts/config-uname.sh: New file.
17656 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
17657 ($(objdir)config-name.h): New target.
17658
17659 * sunrpc/rpc_parse.h: Avoid nested comment.
17660
176612010-08-24 Richard Henderson <rth@redhat.com>
17662 Ulrich Drepper <drepper@redhat.com>
17663 H.J. Lu <hongjiu.lu@intel.com>
17664
17665 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
17666 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
17667 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
17668 Replace _mm_srli_si128 with __m128i_shift_right. Replace
17669 _mm_alignr_epi8 with _mm_loadu_si128.
17670 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
17671 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
17672 (__m128i_shift_right): Removed.
17673 * sysdeps/i386/i686/multiarch/varshift.h: New file.
17674 * sysdeps/i386/i686/multiarch/varshift.S: New file.
17675 * sysdeps/x86_64/multiarch/varshift.h: New file.
17676 * sysdeps/x86_64/multiarch/varshift.S: New file.
17677
176782010-08-21 Mike Frysinger <vapier@gentoo.org>
17679
17680 * configure.in: Move assembler checks to before sysdep dir checking.
17681
176822010-08-20 Petr Baudis <pasky@suse.cz>
17683
17684 * LICENSES: Sync the sunrpc license.
17685
176862010-08-19 Ulrich Drepper <drepper@redhat.com>
17687
17688 * sunrpc/auth_des.c: Update copyright notice once again.
17689 * sunrpc/auth_none.c: Likewise.
17690 * sunrpc/auth_unix.c: Likewise.
17691 * sunrpc/authdes_prot.c: Likewise.
17692 * sunrpc/authuxprot.c: Likewise.
17693 * sunrpc/bindrsvprt.c: Likewise.
17694 * sunrpc/clnt_gen.c: Likewise.
17695 * sunrpc/clnt_perr.c: Likewise.
17696 * sunrpc/clnt_raw.c: Likewise.
17697 * sunrpc/clnt_simp.c: Likewise.
17698 * sunrpc/clnt_tcp.c: Likewise.
17699 * sunrpc/clnt_udp.c: Likewise.
17700 * sunrpc/clnt_unix.c: Likewise.
17701 * sunrpc/des_crypt.c: Likewise.
17702 * sunrpc/des_soft.c: Likewise.
17703 * sunrpc/get_myaddr.c: Likewise.
17704 * sunrpc/getrpcport.c: Likewise.
17705 * sunrpc/key_call.c: Likewise.
17706 * sunrpc/key_prot.c: Likewise.
17707 * sunrpc/openchild.c: Likewise.
17708 * sunrpc/pm_getmaps.c: Likewise.
17709 * sunrpc/pm_getport.c: Likewise.
17710 * sunrpc/pmap_clnt.c: Likewise.
17711 * sunrpc/pmap_prot.c: Likewise.
17712 * sunrpc/pmap_prot2.c: Likewise.
17713 * sunrpc/pmap_rmt.c: Likewise.
17714 * sunrpc/rpc/auth.h: Likewise.
17715 * sunrpc/rpc/auth_unix.h: Likewise.
17716 * sunrpc/rpc/clnt.h: Likewise.
17717 * sunrpc/rpc/des_crypt.h: Likewise.
17718 * sunrpc/rpc/key_prot.h: Likewise.
17719 * sunrpc/rpc/netdb.h: Likewise.
17720 * sunrpc/rpc/pmap_clnt.h: Likewise.
17721 * sunrpc/rpc/pmap_prot.h: Likewise.
17722 * sunrpc/rpc/pmap_rmt.h: Likewise.
17723 * sunrpc/rpc/rpc.h: Likewise.
17724 * sunrpc/rpc/rpc_des.h: Likewise.
17725 * sunrpc/rpc/rpc_msg.h: Likewise.
17726 * sunrpc/rpc/svc.h: Likewise.
17727 * sunrpc/rpc/svc_auth.h: Likewise.
17728 * sunrpc/rpc/types.h: Likewise.
17729 * sunrpc/rpc/xdr.h: Likewise.
17730 * sunrpc/rpc_clntout.c: Likewise.
17731 * sunrpc/rpc_cmsg.c: Likewise.
17732 * sunrpc/rpc_common.c: Likewise.
17733 * sunrpc/rpc_cout.c: Likewise.
17734 * sunrpc/rpc_dtable.c: Likewise.
17735 * sunrpc/rpc_hout.c: Likewise.
17736 * sunrpc/rpc_main.c: Likewise.
17737 * sunrpc/rpc_parse.c: Likewise.
17738 * sunrpc/rpc_parse.h: Likewise.
17739 * sunrpc/rpc_prot.c: Likewise.
17740 * sunrpc/rpc_sample.c: Likewise.
17741 * sunrpc/rpc_scan.c: Likewise.
17742 * sunrpc/rpc_scan.h: Likewise.
17743 * sunrpc/rpc_svcout.c: Likewise.
17744 * sunrpc/rpc_tblout.c: Likewise.
17745 * sunrpc/rpc_util.c: Likewise.
17746 * sunrpc/rpc_util.h: Likewise.
17747 * sunrpc/rpcinfo.c: Likewise.
17748 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
17749 * sunrpc/rpcsvc/key_prot.x: Likewise.
17750 * sunrpc/rpcsvc/klm_prot.x: Likewise.
17751 * sunrpc/rpcsvc/mount.x: Likewise.
17752 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
17753 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
17754 * sunrpc/rpcsvc/rex.x: Likewise.
17755 * sunrpc/rpcsvc/rstat.x: Likewise.
17756 * sunrpc/rpcsvc/rusers.x: Likewise.
17757 * sunrpc/rpcsvc/sm_inter.x: Likewise.
17758 * sunrpc/rpcsvc/spray.x: Likewise.
17759 * sunrpc/rpcsvc/yppasswd.x: Likewise.
17760 * sunrpc/rtime.c: Likewise.
17761 * sunrpc/svc.c: Likewise.
17762 * sunrpc/svc_auth.c: Likewise.
17763 * sunrpc/svc_authux.c: Likewise.
17764 * sunrpc/svc_raw.c: Likewise.
17765 * sunrpc/svc_run.c: Likewise.
17766 * sunrpc/svc_simple.c: Likewise.
17767 * sunrpc/svc_tcp.c: Likewise.
17768 * sunrpc/svc_udp.c: Likewise.
17769 * sunrpc/svc_unix.c: Likewise.
17770 * sunrpc/svcauth_des.c: Likewise.
17771 * sunrpc/xcrypt.c: Likewise.
17772 * sunrpc/xdr.c: Likewise.
17773 * sunrpc/xdr_array.c: Likewise.
17774 * sunrpc/xdr_float.c: Likewise.
17775 * sunrpc/xdr_mem.c: Likewise.
17776 * sunrpc/xdr_rec.c: Likewise.
17777 * sunrpc/xdr_ref.c: Likewise.
17778 * sunrpc/xdr_sizeof.c: Likewise.
17779 * sunrpc/xdr_stdio.c: Likewise.
17780
17781 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
17782 handling.
17783
177842010-08-19 Andreas Schwab <schwab@redhat.com>
17785
17786 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
17787
177882010-08-19 Luis Machado <luisgpm@br.ibm.com>
17789
17790 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
17791 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
17792 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
17793 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
17794 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
17795 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
17796 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
17797 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
17798 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
17799 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
17800 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
17801 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
17802 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
17803 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
17804
178052010-07-26 Anton Blanchard <anton@samba.org>
17806
17807 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
17808 * malloc/arena.c (heap_trim): Likewise.
17809
178102010-08-16 Ulrich Drepper <drepper@redhat.com>
17811
17812 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
17813 here. Not...
17814 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
17815 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
17816
178172010-08-12 H.J. Lu <hongjiu.lu@intel.com>
17818
17819 * sysdeps/i386/elf/Makefile: New file.
17820
178212010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17822
17823 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
17824 from fanotify_init.
17825 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
17826 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17827
178282010-08-15 Ulrich Drepper <drepper@redhat.com>
17829
17830 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
17831 of strncasecmp_l.
17832 * sysdeps/multiarch/strcmp.S: Likewise.
17833
178342010-08-14 Ulrich Drepper <drepper@redhat.com>
17835
17836 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17837 strncase_l-nonascii.
17838 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17839 Add strncase_l-ssse3.
17840 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
17841 * sysdeps/x86_64/strcmp.S: Likewise.
17842 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
17843 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
17844 * sysdeps/x86_64/strncase.S: New file.
17845 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
17846 * sysdeps/x86_64/strncase_l.S: New file.
17847 * string/Makefile (strop-tests): Add strncasecmp.
17848 * string/test-strncasecmp.c: New file.
17849
17850 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
17851 warning.
17852
17853 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
17854 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
17855
178562010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17857
17858 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
17859
178602010-08-12 Ulrich Drepper <drepper@redhat.com>
17861
17862 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
17863 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
17864 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
17865
178662010-05-01 Alan Modra <amodra@gmail.com>
17867
17868 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
17869 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
17870 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
17871 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
17872 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
17873 tidying. Don't tail-call __sigjmp_save for static lib.
17874 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
17875 save location.
17876 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
17877 (CALL_MCOUNT): Add eh info, and nop after bl.
17878 (TAIL_CALL_SYSCALL_ERROR): New macro.
17879 (PSEUDO_RET): Use it.
17880 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17881 Correct save location of integer regs and cr.
17882 (_dl_profile_resolve): Correct cr save location. Delete nops
17883 after bl when SHARED. Reduce cfi size a little by better
17884 placement of cfi directives.
17885 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
17886 make a stack frame. Instead use parm save area as a temp.
17887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
17888 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
17889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17890 Don't make a stack frame for parent, use parm save area.
17891 Increase child stack frame to 112 bytes. Don't save unused reg,
17892 and adjust reg usage. Set up cfi on error recovery and
17893 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
17894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17895 (__makecontext): Add dummy nop after jump to exit.
17896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
17897 Use correct parm save area and cr save, reduce stack frame.
17898 Correct cfi for possible PSEUDO_RET frame setup.
17899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
17900 Branch to local label emitted by PSEUDO_RET rather than
17901 __syscall_error.
17902
179032010-08-12 Andreas Schwab <schwab@redhat.com>
17904
17905 [BZ #11904]
17906 * locale/programs/locale.c (print_assignment): New function.
17907 (show_locale_vars): Use it.
17908
179092010-08-11 Ulrich Drepper <drepper@redhat.com>
17910
17911 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
17912 field.
17913 (struct statfs64): Likewise.
17914 (_STATFS_F_FLAGS): Define.
17915 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
17916 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17917 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
17918 (ST_VALID): Define locally.
17919 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
17920 __statvfs_getflags, use the provided value.
17921 * sysdeps/unix/sysv/linux/kernel-features.h: Define
17922 __ASSUME_STATFS_F_FLAGS.
17923
17924 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
17925
17926 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
17927 Add sys/fanotify.h.
17928 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
17929 fanotify_mask for GLIBC_2.13.
17930 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
17931 fanotify_init and fanotify_mark.
17932 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17933 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
17934
17935 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
17936 Add prlimit.
17937 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
17938 prlimit64 for GLIBC_2.13.
17939 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
17940 prlimit64.
17941 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
17942 syscall.
17943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
17944 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17945 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
17946 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
17947 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
17948 add prlimit alias.
17949 * sysdeps/unix/sysv/linux/prlimit.c: New file.
17950
17951 [BZ #11903]
17952 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
17953 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
17954
17955 * nss/Makefile: Add rules to build and run tst-nss-test1.
17956 * shlib-versions: Add entry for libnss_test1.
17957 * nss/nss_test1.c: New file.
17958 * nss/tst-nss-test1.c: New file.
17959
17960 * nss/nsswitch.c (__nss_database_custom): Define new variable.
17961 (__nss_configure_lookup): Set appropriate entry in
17962 __nss_configure_lookup to true.
17963 * nss/nsswitch.h: Define enum with indeces of databases in
17964 databases and __nss_database_custom arrays. Declare
17965 __nss_database_custom.
17966 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
17967 to avoid using nscd when custom rules are installed.
17968 * nss/getXXbyYY_r.c: Likewise.
17969 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17970
17971 * nss/nss_files/files-parse.c: Whitespace fixes.
17972
179732010-08-09 Ulrich Drepper <drepper@redhat.com>
17974
17975 [BZ #11883]
17976 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
17977 * posix/fnmatch_loop.c: Likewise.
17978
179792010-07-17 Andi Kleen <ak@linux.intel.com>
17980
17981 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
17982 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
17983 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
17984 * Versions.def [GLIBC_2.13]: Add.
17985
179862010-08-06 Ulrich Drepper <drepper@redhat.com>
17987
17988 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17989 Also fail if tpwd after pwuid call is NULL.
17990
179912010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
17992
17993 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
17994 when converting to ms.
17995
179962010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17997
17998 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
17999 EOPNOTSUPP errors with ENOTTY.
18000 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
18001 EOPNOTSUPP errors with ENOTTY.
18002
180032010-07-31 Ulrich Drepper <drepper@redhat.com>
18004
18005 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18006 Add strcasecmp_l-ssse3.
18007 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
18008 strcasecmp.
18009 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
18010 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
18011 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
18012
180132010-07-30 Ulrich Drepper <drepper@redhat.com>
18014
18015 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
18016
18017 * string/Makefile (strop-tests): Add strcasecmp.
18018 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18019 strcasecmp_l-nonascii.
18020 (gen-as-const-headers): Add locale-defines.sym.
18021 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
18022 * sysdeps/x86_64/strcasecmp.S: New file.
18023 * sysdeps/x86_64/strcasecmp_l.S: New file.
18024 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
18025 * sysdeps/x86_64/locale-defines.sym: New file.
18026 * string/test-strcasecmp.c: New file.
18027
18028 * string/test-strcasestr.c: Test both ends of the range of characters.
18029 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
18030
180312010-07-29 Roland McGrath <roland@redhat.com>
18032
18033 [BZ #11856]
18034 * manual/locale.texi (Yes-or-No Questions): Fix example code.
18035
180362010-07-27 Ulrich Drepper <drepper@redhat.com>
18037
18038 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
18039 for ld.so.
18040
180412010-07-27 Andreas Schwab <schwab@redhat.com>
18042
18043 * manual/memory.texi (Malloc Tunable Parameters): Document
18044 M_PERTURB.
18045
180462010-07-26 Roland McGrath <roland@redhat.com>
18047
18048 [BZ #11840]
18049 * configure.in (-fgnu89-inline check): Set and substitute
18050 gnu89_inline, not libc_cv_gnu89_inline.
18051 * configure: Regenerated.
18052 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
18053
180542010-07-26 Ulrich Drepper <drepper@redhat.com>
18055
18056 * string/test-strnlen.c: New file.
18057 * string/Makefile (strop-tests): Add strnlen.
18058 * string/tester.c (test_strnlen): Add a few more test cases.
18059 * string/tst-strlen.c: Better error reporting.
18060
18061 * sysdeps/x86_64/strnlen.S: New file.
18062
180632010-07-24 Ulrich Drepper <drepper@redhat.com>
18064
18065 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
18066 lower-latency instructions.
18067
180682010-07-23 Ulrich Drepper <drepper@redhat.com>
18069
18070 * string/test-strcasestr.c: New file.
18071 * string/test-strstr.c: New file.
18072 * string/Makefile (strop-tests): Add strstr and strcasestr.
18073 * string/str-two-way.h: Don't undefine MAX.
18074 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
18075
180762010-07-21 Andreas Schwab <schwab@redhat.com>
18077
18078 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18079 strcasestr-nonascii.
18080 (CFLAGS-strcasestr-nonascii.c): Define.
18081 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
18082 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
18083 Remove unused attribute.
18084
180852010-07-20 Roland McGrath <roland@redhat.com>
18086
18087 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
18088 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
18089 ld.so.cache was broken. With it, there is no way to disable dsocaps
18090 like LD_HWCAP_MASK can disable hwcaps.
18091
180922010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18093
18094 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
18095
180962010-07-16 Ulrich Drepper <drepper@redhat.com>
18097
18098 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
18099 call in strcasestr.
18100 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
18101 __strcasestr_sse42_nonascii.
18102 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
18103 strcasestr-nonascii.c.
18104 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
18105
181062010-06-15 Luis Machado <luisgpm@br.ibm.com>
18107
18108 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
18109 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
18110 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
18111 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
18112
181132010-07-09 Ulrich Drepper <drepper@redhat.com>
18114
18115 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
18116 fcntl.
18117
181182010-07-06 Andreas Schwab <schwab@redhat.com>
18119
18120 [BZ #11577]
18121 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
18122 dl_signal_cerror.
18123
181242010-07-06 Ulrich Drepper <drepper@redhat.com>
18125
18126 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
18127 _PC_PIPE_BUF using F_GETPIPE_SZ.
18128
181292010-07-05 Roland McGrath <roland@redhat.com>
18130
18131 * manual/arith.texi (Rounding Functions): Fix rint description
18132 implicit in round description.
18133
181342010-07-02 Ulrich Drepper <drepper@redhat.com>
18135
18136 * elf/Makefile: Fix linking for a few tests to make recent linker
18137 happy.
18138
181392010-06-30 Andreas Schwab <schwab@redhat.com>
18140
18141 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18142 $(common-objpfx)libc_nonshared.a.
18143
181442010-06-21 Luis Machado <luisgpm@br.ibm.com>
18145
18146 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18147 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18148 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18149 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18150 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18151 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18152 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18153 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18168 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18169 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18170 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18171 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18172 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18173 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18174 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18175 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18176 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18177 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18178 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18179 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18194
181952010-06-25 H.J. Lu <hongjiu.lu@intel.com>
18196
18197 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18198 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
18199 * string/memmove.c (memmove): Renamed to ...
18200 (MEMMOVE): ...this. Default to memmove.
18201 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18202 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18203 (END_CHK): Define.
18204 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18205 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18206 mempcpy-ssse3-back memmove-ssse3-back.
18207 * sysdeps/x86_64/multiarch/bcopy.S: New file .
18208 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18209 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18210 * sysdeps/x86_64/multiarch/memcpy.S: New file.
18211 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18212 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18213 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18214 * sysdeps/x86_64/multiarch/memmove.c: New file.
18215 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18216 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18217 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18218 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18219 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18220 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18221 Define.
18222 (index_Fast_Copy_Backward): Define.
18223 (HAS_ARCH_FEATURE): Define.
18224 (HAS_FAST_REP_STRING): Define.
18225 (HAS_FAST_COPY_BACKWARD): Define.
18226
182272010-06-21 Andreas Schwab <schwab@redhat.com>
18228
18229 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18230 Restore proper fallback handling.
18231
182322010-06-19 Ulrich Drepper <drepper@redhat.com>
18233
18234 [BZ #11701]
18235 * posix/group_member.c (__group_member): Correct checking loop.
18236
18237 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
18238 OOM in getpwuid_r correctly. Return error number when the caller
18239 should return, otherwise -1.
18240 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
18241 call returning > 0 value.
18242 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
18243
182442010-06-07 Andreas Schwab <schwab@redhat.com>
18245
18246 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
18247 libc_nonshared.a from targets in modules-names.
18248
182492010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
18250
18251 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
18252 requires it.
18253
182542010-06-10 Luis Machado <luisgpm@br.ibm.com>
18255
18256 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
18257 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
18258 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
18259 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
18260
182612010-06-02 Andreas Schwab <schwab@redhat.com>
18262
18263 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
18264
182652010-06-14 Ulrich Drepper <drepper@redhat.com>
18266
18267 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
18268 and F_GETPIPE_SZ.
18269 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18270 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18271 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18272 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18273 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18274 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
18275
182762010-06-14 Roland McGrath <roland@redhat.com>
18277
18278 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
18279
182802010-06-07 Jakub Jelinek <jakub@redhat.com>
18281
18282 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
18283 __REDIRECT followed by __THROW.
18284 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
18285 * posix/getopt.h (getopt): Likewise.
18286
182872010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18288
18289 * hurd/lookup-at.c (__file_name_lookup_at): Accept
18290 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
18291 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
18292 in AT_FLAGS.
18293 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
18294 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
18295
182962010-05-28 Luis Machado <luisgpm@br.ibm.com>
18297
18298 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
18299
183002010-05-26 H.J. Lu <hongjiu.lu@intel.com>
18301
18302 [BZ #11640]
18303 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18304 Properly check family and model.
18305
183062010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
18307
18308 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
18309
183102010-05-24 Luis Machado <luisgpm@br.ibm.com>
18311
18312 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
18313
183142010-05-21 Ulrich Drepper <drepper@redhat.com>
18315
18316 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
18317 symbol reference.
18318
183192010-05-19 Andreas Schwab <schwab@redhat.com>
18320
18321 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
18322 symbol reference.
18323
183242010-05-21 Andreas Schwab <schwab@redhat.com>
18325
18326 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
18327 and internal_recvmmsg.
18328 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
18329 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
18330 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
18331 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
18332
18333 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
18334 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18335 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18336
183372010-05-20 Andreas Schwab <schwab@redhat.com>
18338
18339 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
18340
183412010-05-17 Luis Machado <luisgpm@br.ibm.com>
18342
18343 POWER7 optimizations.
18344 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
18345 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
18346
183472010-05-19 Ulrich Drepper <drepper@redhat.com>
18348
18349 * version.h: Update for 2.13 development version.
18350
183512010-05-12 Andrew Stubbs <ams@codesourcery.com>
18352
18353 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
18354 exceptions. Return 0.
18355
183562010-05-07 Roland McGrath <roland@redhat.com>
18357
18358 * elf/ldconfig.c (main): Add a const.
18359
183602010-05-06 Ulrich Drepper <drepper@redhat.com>
18361
18362 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
18363 (args_options): Add no-idn option.
18364 (ahosts_keys_int): Add idn_flags to ai_flags.
18365 (parse_option): Handle 'i' option to clear idn_flags.
18366
18367 * malloc/malloc.c (_int_free): Possible race in the most recently
18368 added check. Only act on the data if no current modification
18369 happened.
18370
18371See ChangeLog.17 for earlier changes.