]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Do not pollute name space with internal_*netgrent functions.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
86466cd9
RM
12012-08-16 Roland McGrath <roland@hack.frob.com>
2
3 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
4 (__internal_setnetgrent): ... this. Add internal_function to
5 definition. Add libc_hidden_def.
6 (setnetgrent): Update caller.
7 (internal_endnetgrent): Renamed to ...
8 (__internal_endnetgrent): ... this. Add internal_function to
9 definition. Add libc_hidden_def.
10 (endnetgrent): Update caller.
11 (internal_getnetgrent_r): Renamed to ...
12 (__internal_getnetgrent_r): ... this. Add internal_function to
13 definition. Add libc_hidden_def.
14 (__getnetgrent_r): Update caller.
15 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
16
c3c8283c
JM
172012-08-16 Joseph Myers <joseph@codesourcery.com>
18
19 * stdlib/longlong.h: Update from GCC.
20
db1ee0a8
RM
212012-08-16 Roland McGrath <roland@hack.frob.com>
22
23 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24 on _QL, which is set by umul_ppmm but never used.
25 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
26 variables, which are set by GMP macros but never used.
27 * stdio-common/_itowa.c (_itowa): Likewise.
28 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
29 * stdlib/mod_1.c (mpn_mod_1): Likewise.
30
30f69637
CD
312012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
32
33 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
34 struct La_sh_regs is not constant.
35 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
36 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
37 and struct La_sparc64_regs are not constant.
38
93a78ac4
JM
392012-08-16 Joseph Myers <joseph@codesourcery.com>
40
41 * sysdeps/unix/sysv/linux/kernel-features.h
42 (__ASSUME_POSIX_TIMERS): Remove.
43 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
46 Make code unconditional.
47 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
49 Make code unconditional.
50 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
51 * sysdeps/unix/sysv/linux/clock_nanosleep.c
52 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
53 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
55 Make code unconditional.
56 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
58 (__libc_missing_posix_timers): Remove.
59
dd924cd7
RM
602012-08-15 Roland McGrath <roland@hack.frob.com>
61
4b4f2771
RM
62 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
63 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
64
601c888b
RM
65 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
66
176790a7
RM
67 * elf/dl-sym.c: Include <stdlib.h>.
68
329bc018
RM
69 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
70 constants, which avoids warnings in 32-bit builds.
71
e04e272d
RM
72 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
73 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
74
952bf94a
RM
75 * misc/lseek.c: File moved to ...
76 * io/lseek.c: ... here.
77
7c99b50a
RM
78 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
79
dd924cd7
RM
80 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
81 shifting LEN more than 31 bits at once.
82
b3f479a8
LD
832012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
84
85 [BZ #14195]
86 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
87 segmentation fault for a case of two empty input strings.
88 * string/test-strncasecmp.c (check1): Renamed to...
89 (bz12205): ...this.
90 (bz14195): Add new testcase for two empty input strings and N > 0.
91 (test_main): Call new testcase, adapt for renamed function.
92
9c55864e
AJ
932012-08-15 Andreas Jaeger <aj@suse.de>
94
95 [BZ #14090]
96 * crypt/md5test2.c: New test, based on test supplied by Serge
97 Belyshev <belyshev@depni.sinp.msu.ru>.
98 * crypt/Makefile (xtests): Add md5test-giant..
99 * crypt/Makefile ($(objpfx)md5test-giant): Add.
100
02dcb6c5
PE
1012012-08-15 Paul Eggert <eggert@cs.ucla.edu>
102
103 [BZ #14090]
104 * crypt/md5.c (md5_process_block): Don't assume the buffer
105 length is less than 2**32.
106 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
107 length is less than 2**64.
108
a3f95dcc
RM
1092012-08-15 Roland McGrath <roland@hack.frob.com>
110
be75d758
RM
111 * string/str-two-way.h: Include <sys/param.h>.
112 (MAX): Macro removed.
113
7312ca90
RM
114 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
115 Move #define and #undef of memmove to just before and after
116 including <string.h>.
117
9a0a5486
RM
118 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
119 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
120 and after including <string.h>. Move declarations of
121 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
122 to before #include "string/memmove.c".
123
67cc348d
RM
124 * include/dirent.h: Declare __getdirentries.
125
a3f95dcc
RM
126 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
127 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
128
ca98e171
MF
1292012-08-14 Mike Frysinger <vapier@gentoo.org>
130
131 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
132 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
133 * sysdeps/i386/configure: Regenerated.
134 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
135 STABS_CURRENT_FILE, and STABS_FUN.
136 (END): Remove call to STABS_FUN_END.
137 (STABS_CURRENT_FILE1): Delete.
138 (STABS_CURRENT_FILE): Likewise.
139 (STABS_FUN): Likewise.
140 (STABS_FUN_END): Likewise.
141 (STABS_FUN2): Likewise.
142 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
143 * sysdeps/x86_64/configure: Regenerated.
144
5908bf46
RM
1452012-08-14 Roland McGrath <roland@hack.frob.com>
146
147 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 148 * elf/dl-lookup.c: Likewise.
5908bf46 149
f2c05b9e
JM
1502012-08-14 Joseph Myers <joseph@codesourcery.com>
151
152 * sysdeps/unix/sysv/linux/kernel-features.h
153 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
154 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
155 unconditionally.
156 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
157 unconditionally.
158 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
159 condition on __ASSUME_CLONE_THREAD_FLAGS.
160
e11f5155
AJ
1612012-08-14 Andreas Jaeger <aj@suse.de>
162
163 * sysdeps/i386/fpu/libm-test-ulps: Update.
164
51a9ba86
MK
1652012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
166
2fdd4f78
AJ
167 * include/atomic.h (atomic_exchange_and_add): Split into ...
168 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
169 New atomic macros.
51a9ba86 170
ba6cba9e
MT
1712012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
172
173 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
174
42443a47
JL
1752012-08-13 Jeff Law <law@redhat.com>
176
177 * manual/stdio.texi (snprintf): Clarify handling of the trailing
178 null byte in the output string.
179
121dce05
JM
1802012-08-10 Joseph Myers <joseph@codesourcery.com>
181
182 * sysdeps/unix/sysv/linux/kernel-features.h
183 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
184 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
185 (__ASSUME_ARG_MAX_STACK_BASED): Define.
186 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
187 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
188 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
189 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
190
bf51f568
JL
1912012-08-09 Jeff Law <law@redhat.com>
192
193 [BZ #13939]
194 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
195 When avoid_arena is set, don't retry in the that arena. Pick the
196 next one, whatever it might be.
197 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
198 (arena_lock): Pass in new parameter to arena_get2.
199 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
200 arena_get2.
201 (__libc_malloc): Unify retrying after main arena failure with
202 __libc_memalign version.
203 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
204
f85fa270
L
2052012-08-09 H.J. Lu <hongjiu.lu@intel.com>
206
207 [BZ #14166]
208 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
209 to __redirect_strstr.
210 (__strstr_sse42): Use typeof __redirect_strstr.
211 (__strstr_ia32): Likewise.
212 (__libc_strstr): New prototype.
213 (strstr): Renamed to ...
214 (__libc_strstr): This.
215 (strstr): New strong alias of __libc_strstr.
216 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
217 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
218 __redirect_time.
219 Include <time.h>.
220 (__libc_time): New prototype.
221 (time_ifunc): Replace time with __libc_time.
222 (time): New strong alias and hidden definition of __libc_time.
223 (__GI_time): Remove strong alias.
224 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
225 Include <stddef.h>.
226 (memmove): Redefined to __redirect_memmove.
227 (__memmove_sse2): Use typeof __redirect_memmove.
228 (__memmove_ssse3): Likewise.
229 (__memmove_ssse3_back): Likewise.
230 (__libc_memmove): New prototype.
231 (memmove): Renamed to ...
232 (__libc_memmove): This.
233 (memmove): New strong alias of __libc_memmove.
234
33b4a91e
MS
2352012-08-08 Mark Salter <msalter@redhat.com>
236
237 * elf/elf.h
238 (R_MN10300_TLS_GD): Define.
239 (R_MN10300_TLS_LD): Likewise.
240 (R_MN10300_TLS_LDO): Likewise.
241 (R_MN10300_TLS_GOTIE): Likewise.
242 (R_MN10300_TLS_IE): Likewise.
243 (R_MN10300_TLS_LE): Likewise.
244 (R_MN10300_TLS_DTPMOD): Likewise.
245 (R_MN10300_TLS_DTPOFF): Likewise.
246 (R_MN10300_TLS_TPOFF): Likewise.
247 (R_MN10300_SYM_DIFF): Likewise.
248 (R_MN10300_ALIGN): Likewise.
249 (R_MN10300_NUM): Update.
250
b36137f1
JM
2512012-08-08 Joseph Myers <joseph@codesourcery.com>
252
253 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
254 Remove.
255
cdd915fd
RM
2562012-08-08 Roland McGrath <roland@hack.frob.com>
257
a2433aac
RM
258 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
259
cdd915fd
RM
260 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
261 sysdeps/unix -> sysdeps/posix move.
262 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
263
bf9b740a
AM
2642012-08-07 Allan McRae <allan@archlinux.org>
265
266 [BZ #14303]
267 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
268 (SUNOS_CPP): Likewise.
269 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
270 not found.
271 (open_input): Call CPP using execvp.
272
93df14ee
JM
2732012-08-07 Joseph Myers <joseph@codesourcery.com>
274
275 * sysdeps/unix/sysv/linux/kernel-features.h
276 (__ASSUME_PROT_GROWSUPDOWN): Remove.
277 (__ASSUME_NO_CLONE_DETACHED): Likewise.
278 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
279 (__ASSUME_WAITID_SYSCALL): Likewise.
280 * sysdeps/unix/sysv/linux/dl-execstack.c
281 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
282 code unconditional.
283 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
284 conditional code.
285 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
286 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
287 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
288 code.
289 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
290 unconditional.
291 [__ASSUME_WAITID_SYSCALL]: Likewise.
292 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
293
d34689de
RM
2942012-08-07 Roland McGrath <roland@hack.frob.com>
295
a281decc
RM
296 * sysdeps/unix/closedir.c: Renamed to ...
297 * sysdeps/posix/closedir.c: ... here.
298 * sysdeps/unix/dirfd.c: Renamed to ...
299 * sysdeps/posix/dirfd.c: ... here.
300 * sysdeps/unix/dirstream.h: Renamed to ...
301 * sysdeps/posix/dirstream.h: ... here.
302 * sysdeps/unix/fdopendir.c: Renamed to ...
303 * sysdeps/posix/fdopendir.c: ... here.
304 * sysdeps/unix/opendir.c: Renamed to ...
305 * sysdeps/posix/opendir.c: ... here.
306 * sysdeps/unix/readdir.c: Renamed to ...
307 * sysdeps/posix/readdir.c: ... here.
308 * sysdeps/unix/readdir_r.c: Renamed to ...
309 * sysdeps/posix/readdir_r.c: ... here.
310 * sysdeps/unix/rewinddir.c: Renamed to ...
311 * sysdeps/posix/rewinddir.c: ... here.
312 * sysdeps/unix/seekdir.c: Renamed to ...
313 * sysdeps/posix/seekdir.c: ... here.
314 * sysdeps/unix/telldir.c: Renamed to ...
315 * sysdeps/posix/telldir.c: ... here.
316 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
317 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
318 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
319 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
320
22895b47
RM
321 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
322 * bits/fcntl.h: ... here.
323
707a53b6
RM
324 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
325 not 0.
326 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
327 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
328 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
329 (struct flock): Move l_start, l_len to the beginning.
330 Use __pid_t for l_pid.
331 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
332 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
333 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
334 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
335 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
336 [__USE_LARGEFILE64] (struct flock64): New type.
337 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
338
f0bd3e25
RM
339 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
340 * bits/dirent.h: ... here.
341
d34689de
RM
342 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
343 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
344
6dad2c06
JM
3452012-08-07 Joseph Myers <joseph@codesourcery.com>
346
347 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
348 Change from 2.6.0 to 2.6.16.
349 * sysdeps/unix/sysv/linux/configure: Regenerated.
350 * sysdeps/unix/sysv/linux/kernel-features.h
351 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
352 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
353 version.
354 (__ASSUME_UTIMES): Likewise.
355 (__ASSUME_CLONE_STOPPED): Remove.
356 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
357 architectures, not kernel version.
358 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
359 (__ASSUME_NO_CLONE_DETACHED): Likewise.
360 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
361 (__ASSUME_WAITID_SYSCALL): Likewise.
362 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
363 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
364 * README: State 2.6.16 as minimum Linux kernel version. Do not
365 refer to older versions.
366
03af9520
RM
3672012-08-06 Roland McGrath <roland@hack.frob.com>
368
8e49df1d
RM
369 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
370 Define alphasort64 as an alias.
371 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
372 Define versionsort64 as an alias.
373 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
374 Define scandir64 as an alias.
375 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
376 Define scandirat64 as an alias.
377 * dirent/alphasort64.c (alphasort64):
378 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
379 * dirent/versionsort64.c: Likewise.
380 * dirent/scandir64.c: Likewise.
381 * dirent/scandirat64.c: Likewise.
382 * sysdeps/wordsize-64/alphasort.c: File removed.
383 * sysdeps/wordsize-64/alphasort64.c: File removed.
384 * sysdeps/wordsize-64/scandir.c: File removed.
385 * sysdeps/wordsize-64/scandir64.c: File removed.
386 * sysdeps/wordsize-64/scandirat.c: File removed.
387 * sysdeps/wordsize-64/scandirat64.c: File removed.
388 * sysdeps/wordsize-64/versionsort.c: File removed.
389 * sysdeps/wordsize-64/versionsort64.c: File removed.
390 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
391 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
392 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
393 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
394 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
395 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
396 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
397 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
398
399 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
400 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
401 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
402 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
403 [defined __arch64__ || defined __sparcv9]
404 (__INO_T_MATCHES_INO64_T): New macro.
405 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
406 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
407 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
408 * sysdeps/unix/sysv/linux/bits/dirent.h
409 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
410 (_DIRENT_MATCHES_DIRENT64): New macro.
411
03af9520
RM
412 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
413 Define lockf64 as an alias.
414 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
415 Define fseeko64 as an alias.
416 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
417 Define ftello64 as an alias.
418 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
419 Define _IO_fgetpos64 and fgetpos64 as aliases.
420 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
421 Define _IO_fsetpos64 and fsetpos64 as aliases.
422 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
423 Conditionalize body on this.
424 * libio/fseeko64.c: Likewise.
425 * libio/ftello64.c: Likewise.
426 * libio/iofgetpos64.c: Likewise.
427 * libio/iofsetpos64.c: Likewise.
428 * sysdeps/wordsize-64/lockf.c: File removed.
429 * sysdeps/wordsize-64/lockf64.c: File removed.
430 * sysdeps/wordsize-64/fseeko.c: File removed.
431 * sysdeps/wordsize-64/fseeko64.c: File removed.
432 * sysdeps/wordsize-64/ftello.c: File removed.
433 * sysdeps/wordsize-64/ftello64.c: File removed.
434 * sysdeps/wordsize-64/iofgetpos.c: File removed.
435 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
436 * sysdeps/wordsize-64/iofsetpos.c: File removed.
437 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
438 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
439 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
440 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
441 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
442 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
443 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
444 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
445 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
446 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
447 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
448
449 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
450 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
451 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
452 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
453 [defined __arch64__ || defined __sparcv9]
454 (__OFF_T_MATCHES_OFF64_T): New macro.
455 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
456 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
457 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
458 (__OFF_T_MATCHES_OFF64_T): New macro.
459
c5757acd
L
4602012-08-06 H.J. Lu <hongjiu.lu@intel.com>
461
462 * stdlib/secure-getenv.c (__secure_getenv): Replace
463 GLIBC_2_16 with GLIBC_2_17.
464
3a31811e
L
4652012-08-06 H.J. Lu <hongjiu.lu@intel.com>
466
467 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
468 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
469
faa2bccb
DM
4702012-08-03 David S. Miller <davem@davemloft.net>
471
472 * sysdeps/sparc/fpu/libm-test-ulps: Update.
473
85fe1997
JM
4742012-08-03 Joseph Myers <joseph@codesourcery.com>
475
476 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
477 Remove.
478 (__ASSUME_CORRECT_SI_PID): Likewise.
479 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
480 (__ASSUME_TMPFS_NAME): Likewise.
481 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
482 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
483 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
484 (HAVE_AUX_SECURE): Make definition unconditional.
485 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
486 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
487
4f75b7a0
RM
4882012-08-03 Roland McGrath <roland@hack.frob.com>
489
490 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
491 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
492 * sysdeps/mach/hurd/eloop-threshold.h: New file.
493 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
494 __eloop_threshold instead of SYMLOOP_MAX.
495
496 * sysdeps/generic/eloop-threshold.h: New file.
497 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
498 of MAXSYMLINKS.
499 * elf/chroot_canon.c (chroot_canon): Likewise.
500
7aab07e4
JM
5012012-08-03 Joseph Myers <joseph@codesourcery.com>
502
503 [BZ #13717]
504 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
505 Change to 2.6.0 everywhere.
506 * sysdeps/unix/sysv/linux/configure: Regenerated.
507 * sysdeps/unix/sysv/linux/kernel-features.h
508 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
509 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
510 kernel versions.
511 (__ASSUME_POSIX_TIMERS): Define unconditionally.
512 (__ASSUME_FUTEX_REQUEUE): Remove.
513 (__ASSUME_STATFS64): Define unconditionally.
514 (__ASSUME_AT_SECURE): Likewise.
515 (__ASSUME_CORRECT_SI_PID): Likewise.
516 (__ASSUME_TGKILL): Define without depending on kernel version for
517 i386.
518 (__ASSUME_UTIMES): Likewise.
519 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
520 kernel version.
521 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
522 (__ASSUME_TMPFS_NAME): Likewise.
523 * README: Update reference to Linux kernel versions.
524
b67e9372
MP
5252012-08-02 Marek Polacek <polacek@redhat.com>
526
527 [BZ#14150]
528 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
529 libc_cv_asm_type_prefix with %.
530 * configure: Regenerated.
d2441631
RM
531 * include/libc-symbols.h: Remove comment about
532 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
533 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
534 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
535 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
536 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
537 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
538 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
539 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
540 * elf/tst-unique2mod1.c: Likewise.
541 * elf/tst-unique1mod2.c: Likewise.
542 * elf/tst-unique1mod1.c: Likewise.
543 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
544 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
545 Replace ASM_TYPE_DIRECTIVE with .type.
546 * sysdeps/s390/s390-64/sysdep.h: Likewise.
547 * sysdeps/i386/sysdep.h: Likewise.
548 * sysdeps/x86_64/sysdep.h: Likewise.
549 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
551 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 552 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
553 * sysdeps/powerpc/powerpc32/sysdep.h:
554 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
555 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
556 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
557 * sysdeps/i386/fpu/e_powf.S: Likewise.
558 * sysdeps/i386/fpu/e_expl.S: Likewise.
559 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
560 * sysdeps/i386/fpu/e_acosh.S: Likewise.
561 * sysdeps/i386/fpu/e_pow.S: Likewise.
562 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
563 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
564 * sysdeps/i386/fpu/s_expm1.S: Likewise.
565 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
566 * sysdeps/i386/fpu/e_log2.S: Likewise.
567 * sysdeps/i386/fpu/e_log2l.S: Likewise.
568 * sysdeps/i386/fpu/e_scalb.S: Likewise.
569 * sysdeps/i386/fpu/e_powl.S: Likewise.
570 * sysdeps/i386/fpu/e_log10f.S: Likewise.
571 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
572 * sysdeps/i386/fpu/e_logl.S: Likewise.
573 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
574 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
575 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
576 * sysdeps/i386/fpu/e_log2f.S: Likewise.
577 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
578 * sysdeps/i386/fpu/e_log.S: Likewise.
579 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
580 * sysdeps/i386/fpu/e_logf.S: Likewise.
581 * sysdeps/i386/fpu/e_log10l.S: Likewise.
582 * sysdeps/i386/fpu/e_atanh.S: Likewise.
583 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
584 * sysdeps/i386/fpu/e_log10.S: Likewise.
585 * sysdeps/i386/fpu/s_frexp.S: Likewise.
586 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
587 * sysdeps/i386/fpu/s_asinh.S: Likewise.
588 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
589 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
590 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
591 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
592 * sysdeps/i386/i686/strtok.S: Likewise.
593 * sysdeps/i386/i386-mcount.S: Likewise.
594 * sysdeps/i386/strtok.S: Likewise.
595 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
596 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
597 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
598 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
599 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
600 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
601 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
602 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
603 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
604 * sysdeps/x86_64/_mcount.S: Likewise.
605 * sysdeps/x86_64/strtok.S: Likewise.
606 * sysdeps/sh/_mcount.S: Likewise.
607
2747bf9a
RM
6082012-08-01 Roland McGrath <roland@hack.frob.com>
609
610 * libio/iofopen.c: Include <fcntl.h>.
611 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
612 (_IO_fopen64, fopen64): Define as aliases.
613 * libio/iofopen64.c: Include <fcntl.h>.
614 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
615 Conditionalize body on this.
616 * sysdeps/wordsize-64/iofopen.c: File removed.
617 * sysdeps/wordsize-64/iofopen64.c: File removed.
618
3fb791b8
MP
6192012-08-01 Marek Polacek <polacek@redhat.com>
620
621 * libc/Makeconfig: Use elf in place of binfmt-subdir.
622 Use dlfcn directly instead of a variable.
623 (binfmt-subdir): Do not define.
624 (dlfcn): Likewise.
625
a9f1039f
JM
6262012-08-01 Joseph Myers <joseph@codesourcery.com>
627
23bddc06
JM
628 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
629 Remove all definitions.
630 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
631 <kernel-features.h>.
632 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
633 (miss_F_GETOWN_EX): Remove all definitions.
634 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
635 macro definition.
636 [!__ASSUME_FCNTL64]: Remove conditional code.
637 [__ASSUME_FCNTL64]: Make code unconditional.
638 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
639 <kernel-features.h>.
640 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
641 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
642 (lockf64) [__NR_fcntl64]: Make code unconditional.
643 (lockf64) [__ASSUME_FCNTL64]: Likewise.
644
a9f1039f
JM
645 * sysdeps/unix/sysv/linux/kernel-features.h
646 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
647 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
648 Make code unconditional.
649 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
650 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
652 [__NR_vfork]: Make code unconditional.
653 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
654 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
656 [__NR_vfork]: Make code unconditional.
657 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
658 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
659
09c0ee5f
RM
6602012-08-01 Roland McGrath <roland@hack.frob.com>
661
48aec5b9
RM
662 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
663 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
664
cd97c966
RM
665 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
666 Define mkstemp64 as an alias.
3f55550c
RM
667 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
668 Define mkstemps64 as an alias.
cd97c966
RM
669 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
670 Define mkostemp64 as an alias.
b8625cfc
RM
671 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
672 Define mkostemps64 as an alias.
cd97c966
RM
673 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
674 Conditionalize body on this.
675 * misc/mkostemp64.c: Likewise.
b8625cfc 676 * misc/mkostemps64.c: Likewise.
3f55550c 677 * misc/mkstemps64.c: Likewise.
cd97c966
RM
678 * sysdeps/wordsize-64/mkstemp64.c: File removed.
679 * sysdeps/wordsize-64/mkostemp64.c: File removed.
680 * sysdeps/wordsize-64/mkostemp.c: File removed.
681 * sysdeps/wordsize-64/mkstemp.c: File removed.
682 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
683 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
684 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
685 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
686
09c0ee5f
RM
687 [BZ #14138]
688 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
689 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
690 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
691 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
692
693 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
694 compat_symbol macros from <shlib-compat.h> rather than the underlying
695 default_symbol_version and symbol_version macros, so that DEFAULT
696 lines in shlib-versions are respected.
697 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
698
7e66ee51
FW
6992012-08-01 Florian Weimer <fweimer@redhat.com>
700
701 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
702 Declare with warn_unused_result.
703 (setgid, setregid, setegid, setresgid): Likewise.
704 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
705 Likewise.
706 * WUR-REPORT: Remove set*id functions.
707
d2a54255
PT
7082012-07-31 Pino Toscano <toscano.pino@tiscali.it>
709
710 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
711
7ecdb005
RM
7122012-07-31 Roland McGrath <roland@hack.frob.com>
713
789bd351
RM
714 * include/sys/socket.h (__libc_accept, __libc_accept4):
715 Add attribute_hidden.
716 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
717
40ce302d
RM
718 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
719 use of PTR_MANGLE.
720 * inet/getnetgrent_r.c (setup): Likewise.
721
7ecdb005
RM
722 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
723
e2eabb2c
DM
7242012-07-31 David S. Miller <davem@davemloft.net>
725
726 * sysdeps/sparc/fpu/libm-test-ulps: Update.
727
d0419dbf
JM
7282012-07-31 Joseph Myers <joseph@codesourcery.com>
729
730 [BZ #13629]
731 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
732 value between 1.0 and 2.0 and smaller part has absolute value less
733 than 1.0.
734 * math/s_clog10.c (__clog10): Likewise.
735 * math/s_clog10f.c (__clog10f): Likewise.
736 * math/s_clog10l.c (__clog10l): Likewise.
737 * math/s_clogf.c (__clogf): Likewise.
738 * math/s_clogl.c (__clogl): Likewise.
739 * math/libm-test.inc (clog_test): Add more tests.
740 (clog10_test): Likewise.
741 * sysdeps/i386/fpu/libm-test-ulps: Update.
742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
743
2bc13872
FW
7442012-07-31 Florian Weimer <fweimer@redhat.com>
745
746 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
747 Exit with zero in case no suitable GID is found, and write a
748 message to standard error.
749
bea9b193
RM
7502012-07-30 Roland McGrath <roland@hack.frob.com>
751
752 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
753 rather than to 1.
754 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
755 (MAXPATHLEN): Removed.
756 (NOGROUP, NODEV): New macros.
757 (setbit, clrbit, isset, isclr): New macros.
758 (howmany, roundup, powerof2): New macros.
759 (DEV_BSIZE): New macro.
760
761 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
762 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
763
764 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
765 definition on [!__NO_LONG_DOUBLE_MATH].
766
767 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
768 PTR_MANGLE and PTR_DEMANGLE.
769
770 * socket/accept4.c (accept4): Rename to __libc_accept4.
771 Define accept4 as a weak alias.
772
773 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
774 on [_DIRENT_HAVE_D_TYPE].
775 * io/ftw.c (ftw_dir): Likewise.
776
777 * io/xmknod.c (__xmknod): Don't check PATH for being null.
778
779 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
780
781 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
782 Use the BSD numbers rather than the arbitrary ones we had.
783 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
784 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
785 (SIGXCPU, SIGXFSZ): New macros.
786 (_NSIG): Now 32.
787
788 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
789 initializer on [_LIBC_REENTRANT].
790
791 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
792 definitions inside [_POSIX_MAPPED_FILES].
793
794 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
795
796 * dirent/opendir.c: Include <fcntl.h>.
797
798 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
799 (__libc_getspecific): Likewise.
800 (__libc_key_create): Likewise.
801
802 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
803 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
804 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
805 (tmpfile64): Define as alias.
806 * sysdeps/wordsize-64/tmpfile.c: File removed.
807 * sysdeps/wordsize-64/tmpfile64.c: File removed.
808 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
809 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
810
811 * stdio-common/vfscanf.c: Include <stdbool.h>.
812 * nss/makedb.c: Likewise.
813 * stdio-common/_i18n_number.h: Likewise.
814 * argp/argp-help.c: Likewise.
815 * posix/wordexp.c: Likewise.
816 * sysdeps/posix/spawni.c: Likewise.
817 * nss/nss_files/files-initgroups.c: Likewise.
818 * stdio-common/reg-modifier.c: Include <stdlib.h>.
819 * nss/nss_files/files-initgroups.c: Likewise.
820 * nss/nss_db/db-netgrp.c: Likewise.
821 * nss/nss_db/db-initgroups.c: Likewise.
822 * io/fchmodat.c: Include <sys/stat.h>.
823
824 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
825 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
826
827 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
828 [HAVE_MMAP].
829
830 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
831 Add multiple inclusion protection.
832
e5abc686
DM
8332012-07-27 David S. Miller <davem@davemloft.net>
834
835 * sysdeps/sparc/fpu/libm-test-ulps: Update.
836
815e6fa3
GB
8372012-07-27 Gary Benson <gbenson@redhat.com>
838
839 [BZ #14298]
840 * elf/rtld.c: Include <stap-probe.h>.
841 (dl_main): Added static probes "init_start" and "init_complete".
842 * elf/dl-load.c: Include <stap-probe.h>.
843 (lose): Take new parameter "nsid".
844 Added static probe "map_failed".
845 (_dl_map_object_from_fd): Pass namespace id to lose.
846 Added static probe "map_start".
847 (open_verify): Pass namespace id to lose.
848 * elf/dl-open.c: Include <stap-probe.h>.
849 (dl_open_worker) Added static probes "map_complete", "reloc_start"
850 and "reloc_complete".
851 * elf/dl-close.c: Include <stap-probe.h>.
852 (_dl_close_worker): Added static probes "unmap_start" and
853 "unmap_complete".
854 * elf/rtld-debugger-interface.txt: New file documenting the above.
855
9f98c16c
RM
8562012-07-26 Roland McGrath <roland@hack.frob.com>
857
858 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
859 rather than a string variable.
860 * sunrpc/rpc_main.c (h_output): Likewise.
861 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
862
f3c22df3
PT
8632012-07-26 Pino Toscano <toscano.pino@tiscali.it>
864
865 * inet/check_native.c: New file.
866
3129cfc6
JM
8672012-07-26 Joseph Myers <joseph@codesourcery.com>
868
da865e95
JM
869 [BZ #13629]
870 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
871 if larger part has absolute value 1.0.
872 * math/s_clog10.c (__clog10): Likewise.
873 * math/s_clog10f.c (__clog10f): Likewise.
874 * math/s_clog10l.c (__clog10l): Likewise.
875 * math/s_clogf.c (__clogf): Likewise.
876 * math/s_clogl.c (__clogl): Likewise.
877 * math/libm-test.inc (clog_test): Add more tests.
878 (clog10_test): Likewise.
879 * sysdeps/i386/fpu/libm-test-ulps: Update.
880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
881
3129cfc6
JM
882 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
883 (pltexit): Likewise.
884 (La_regs): Likewise.
885 (La_retval): Likewise.
886 (int_retval): Likewise.
887 Update #error for removed macros to refer only to definitions in
888 tst-audit.h.
889 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
890 macro.
891 (pltexit): Likewise.
892 (La_regs): Likewise.
893 (La_retval): Likewise.
894 (int_retval): Likewise.
895 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
896 macro.
897 (pltexit): Likewise.
898 (La_regs): Likewise.
899 (La_retval): Likewise.
900 (int_retval): Likewise.
901 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
902 macro.
903 (pltexit): Likewise.
904 (La_regs): Likewise.
905 (La_retval): Likewise.
906 (int_retval): Likewise.
907 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
908 macro.
909 (pltexit): Likewise.
910 (La_regs): Likewise.
911 (La_retval): Likewise.
912 (int_retval): Likewise.
913 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
914 macro.
915 (pltexit): Likewise.
916 (La_regs): Likewise.
917 (La_retval): Likewise.
918 (int_retval): Likewise.
919 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
920 macro.
921 (pltexit): Likewise.
922 (La_regs): Likewise.
923 (La_retval): Likewise.
924 (int_retval): Likewise.
925 * sysdeps/generic/tst-audit.h: Update comment to refer only to
926 macro definitions in tst-audit.h.
927 * sysdeps/i386/tst-audit.h: New file.
928 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
929 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
930 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
931 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
932 * sysdeps/sh/tst-audit.h: Likewise.
933 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
934 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
935 * sysdeps/x86_64/tst-audit.h: Likewise.
936
bfc07087
AJ
9372012-07-26 Andreas Jaeger <aj@suse.de>
938
b1b2aaf8
AJ
939 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
940 ptrace.
941
942 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
943 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
944 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
945 PTRACE_O_MASK.
946 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
947 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
948 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
949
bfc07087
AJ
950 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
951 value.
952
953 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
954 _sigsys.
955 (si_call_addr, si_syscall, si_arch): Define new macro.
956 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
957 _sigsys.
958 (si_call_addr, si_syscall, si_arch): Define new marcro.
959 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
960 _sigsys.
961 (si_call_addr, si_syscall, si_arch): Define new macro.
962 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
963 _sigsys.
964 (si_call_addr, si_syscall, si_arch): Define new macro.
965
89b4b02f
JM
9662012-07-25 Joseph Myers <joseph@codesourcery.com>
967
968 [BZ #13717]
969 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
970 Change to 2.4.21 where previously 2.4.1.
971 * sysdeps/unix/sysv/linux/configure: Regenerated.
972 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
973 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
974 Linux kernel version.
975 (__ASSUME_STD_AUXV): Remove.
976 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
977 kernel version.
978 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
979 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
980 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
981 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
982 (__ASSUME_NETLINK_SUPPORT): Likewise.
983 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
984 (__no_netlink_support): Remove conditional definition.
985 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
986 Remove.
987 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
988 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
989 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
990 (if_nameindex_ioctl): Remove.
991 (if_nameindex_netlink): Do not handle __no_netlink_support.
992 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
993 code.
994 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
995 Remove conditional code.
996 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
997 code.
998 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
999 unconditional.
1000 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1001 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
1002 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
1003 Remove.
1004 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1005 [!__ASSUME_STD_AUXV]: Remove conditional code.
1006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
1007 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
1008 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
1009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
1010 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
1011 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1012 code.
1013 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1015 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
1016 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1017 conditional code.
1018 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1020 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1021 code.
1022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1023 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1024 conditional code.
1025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
1026 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1027 code unconditional.
1028 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1029 conditional code.
1030 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1031 unconditional.
1032 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1033 conditional code.
1034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1035 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1036 unconditional.
1037 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1038 conditional code.
1039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1040 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1041 code unconditional.
1042 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1043 conditional code.
1044 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1045 unconditional.
1046 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1047 conditional code.
1048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1049 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1050 code unconditional.
1051 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1052 conditional code.
1053 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1054 unconditional.
1055 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1056 conditional code.
1057
842a39cd
AS
10582012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1059
1060 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
1061 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
1062 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1063 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
1064 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1065 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1066 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1067 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1068 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1069 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1070 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
1071 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1072 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
1073 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1074 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1075 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
1076 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1077 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
1078 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
1079 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
1080 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1081 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1082 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1083
84b3fd84
FW
10842012-07-25 Florian Weimer <fweimer@redhat.com>
1085
1086 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
1087 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
1088 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
1089 Introduce __libc_secure_getenv.
0c7936d5
FW
1090 * stdlib/Versions (2.17): Add secure_getenv
1091 (GLIBC_PRIVATE): Add __libc_secure_getenv.
1092 * stdlib/secure-getenv.c: Rename __secure_getenv to
1093 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
1094 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
1095 * stdlib/tst-secure-getenv.c: New.
1096 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
1097 * manual/startup.texi (Environment Access): Document
1098 secure_getenv.
84b3fd84
FW
1099 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
1100 __libc_secure_getenv.
1101 * inet/ruserpass.c (ruserpass): Likewise.
1102 * malloc/mtrace.c (mtrace): Likewise.
1103 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 1104 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
1105 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
1106 * sysdeps/posix/tempname.c: Likewise. Evaluate
1107 HAVE_SECURE_GETENV.
1108 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 1109 __secure_getenv to __libc_secure_getenv.
84b3fd84 1110 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
1111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1112 Likewise.
1113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1114 Likewise.
1115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1116 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1117 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1118 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1119 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1120 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1121 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 1122
56e49b71
JM
11232012-07-25 Joseph Myers <joseph@codesourcery.com>
1124
1125 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
1126 (struct La_i86_retval): Likewise.
1127 (struct La_x86_64_regs): Likewise.
1128 (struct La_x86_64_retval): Likewise.
1129 (struct La_x32_regs): Likewise.
1130 (struct La_x32_retval): Likewise.
1131 (struct La_ppc32_regs): Likewise.
1132 (struct La_ppc32_retval): Likewise.
1133 (struct La_ppc64_regs): Likewise.
1134 (struct La_ppc64_retval): Likewise.
1135 (struct La_sh_regs): Likewise.
1136 (struct La_sh_retval): Likewise.
1137 (struct La_s390_32_regs): Likewise.
1138 (struct La_s390_32_retval): Likewise.
1139 (struct La_s390_64_regs): Likewise.
1140 (struct La_s390_64_retval): Likewise.
1141 (struct La_sparc32_regs): Likewise.
1142 (struct La_sparc32_retval): Likewise.
1143 (struct La_sparc64_regs): Likewise.
1144 (struct La_sparc64_retval): Likewise.
1145 (struct audit_ifaces): Remove architecture-specific pltenter and
1146 pltexit members.
1147 * sysdeps/i386/ldsodefs.h: New file.
1148 * sysdeps/powerpc/ldsodefs.h: Likewise.
1149 * sysdeps/s390/ldsodefs.h: Likewise.
1150 * sysdeps/sh/ldsodefs.h: Likewise.
1151 * sysdeps/sparc/ldsodefs.h: Likewise.
1152 * sysdeps/x86_64/ldsodefs.h: Likewise.
1153
354691b7
MP
11542012-07-25 Marek Polacek <polacek@redhat.com>
1155
1156 [BZ #6808]
1157 * math/libm-test.inc (yn_test): Add another test.
1158 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
1159 to ERANGE when the result is +-Inf.
1160 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1161 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1162 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
1163 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
1164
bf9e2071
JM
11652012-07-24 Joseph Myers <joseph@codesourcery.com>
1166
1167 * conform/data/time.h-data (NULL): Use macro-constant. Require
1168 equal to 0.
1169 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
1170 clock_t.
1171 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
1172
57633811
TS
11732012-07-23 Thomas Schwinge <thomas@codesourcery.com>
1174
1175 * configure.in <sysdeps resolving>: Correct printing
1176 Implies_before.
1177 * configure: Regenerate.
1178
c23c33b0
TS
11792012-07-22 Thomas Schwinge <thomas@codesourcery.com>
1180
1181 * math/w_ilogb.c: Include <limits.h>.
1182 * math/w_ilogbl.c: Likewise.
1183
b5982523
JM
11842012-07-20 Joseph Myers <joseph@codesourcery.com>
1185
1186 * manual/lang.texi (__va_copy): Document primarily as ISO C99
1187 va_copy. Document allowing for unavailable va_copy only as
1188 pre-C99 compatibility.
1189 * manual/string.texi (Copying and Concatenation): Use va_copy
1190 instead of __va_copy in concat example.
1191
ac4ea442
PT
11922012-07-20 Pino Toscano <toscano.pino@tiscali.it>
1193
1194 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1195 (__sendto): Use create_address_port. Initialize APORT and deallocate
1196 it if not null.
1197
f98eafbd
PT
1198 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1199 with O_NOLINK passed to __file_name_lookup.
1200
898c7aab
PT
1201 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1202 with O_NOLINK passed to __file_name_lookup.
1203
0ced335a
PT
1204 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1205 negative N or less than NGIDS.
1206
b3404dbd
PT
1207 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1208 type to string_t. Set ERANGE as errno and return it if NAME is not big
1209 enough. Use memcpy instead of strncpy.
1210
0f48659e
JM
12112012-07-20 Joseph Myers <joseph@codesourcery.com>
1212
1213 * elf/Makefile (check-data): Remove.
1214 (localplt.data): New vpath directive.
1215 ($(objpfx)check-localplt.out): Use localplt.data from vpath
1216 instead of $(check-data).
1217 * scripts/data/localplt-generic.data: Move to ...
1218 * sysdeps/generic/localplt.data: ... here.
1219 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1220 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1221 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1223 ... here.
1224 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1226 ... here.
1227 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1228 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1229 ... here.
1230 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1231 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1232 ... here.
1233 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1234 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1235 ... here.
1236 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1237 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1238 ... here.
1239
d37cbdaa
AZ
12402012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1241
1242 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1243 PPC32 and PPC64 files.
1244 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1245 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1246
46f85fc2
AK
12472012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1248
1249 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1250 __makecontext_ret to ...
1251 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1252 ... here and call exit if uc_link is NULL. New file.
1253 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1254 __makecontext_ret.S.
1255 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1256 __makecontext_ret to ...
1257 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1258 ... here and call exit if uc_link is NULL. New file.
1259 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1260 __makecontext_ret.S.
1261
08f43f9b
AK
12622012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1263
1264 * elf/elf.h (R_390_IRELATIVE): New definition.
1265 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1266 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
1267 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1268 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1269 (elf_machine_lazy_rel): Likewise.
1270 * sysdeps/s390/dl-irel.h: New file.
1271 * sysdeps/s390/s390-64/memcpy.S: New asm code.
1272 * sysdeps/s390/s390-64/memset.S: New asm code.
1273 * sysdeps/s390/s390-64/memcmp.S: New asm code.
1274 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
1275 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
1276 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
1277 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
1278 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
1279 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
1280 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
1281 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
1282 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
1283 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
1284 * sysdeps/s390/s390-32/memcpy.S: New asm code.
1285 * sysdeps/s390/s390-32/memset.S: New asm code.
1286 * sysdeps/s390/s390-32/memcmp.S: New asm code.
1287
3b05db33
MP
12882012-07-17 Marek Polacek <polacek@redhat.com>
1289
1290 [BZ #14349]
1291 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
1292 * sysdeps/s390/s390-64/configure.in: Likewise.
1293 * sysdeps/sparc/configure.in: Likewise.
1294 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
1295 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
1296 * sysdeps/i386/configure.in: Likewise.
1297 * sysdeps/x86_64/configure.in: Likewise.
1298 * sysdeps/sh/configure.in: Likewise.
1299 * sysdeps/s390/s390-32/configure: Regenerated.
1300 * sysdeps/s390/s390-64/configure: Likewise.
1301 * sysdeps/x86_64/configure: Likewise.
1302 * sysdeps/sh/configure: Likewise.
1303 * sysdeps/powerpc/powerpc64/configure: Likewise.
1304 * sysdeps/powerpc/powerpc32/configure: Likewise.
1305 * sysdeps/sparc/configure: Likwise.
1306 * sysdeps/i386/configure: Likewise.
1307
a66877c6
MP
1308 * elf/dl-open.c: Comment fixes.
1309
cfc82fd8
JM
13102012-07-17 Joseph Myers <joseph@codesourcery.com>
1311
bd29910a
JM
1312 * Makefile [CXX] (check-data): Remove.
1313 [CXX] (c++-types.data): New vpath directive.
1314 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
1315 vpath. Do not allow for C++ type data being missing.
1316 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
1317 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
1318 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
1319 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
1320 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
1321 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
1322 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
1323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1324 ... here.
1325 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
1326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1327 ... here.
1328 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
1329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
1330 ... here.
1331 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
1332 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
1333 ... here.
1334 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
1335 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
1336 ... here.
1337 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
1338 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
1339 ... here.
1340 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
1341 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
1342 ... here.
1343 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
1344 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
1345
cfc82fd8
JM
1346 * elf/tls-macros.h (TLS_LE): Move architecture-specific
1347 definitions to architecture-specific files.
1348 (TLS_IE): Likewise.
1349 (TLS_LD): Likewise.
1350 (TLS_GD): Likewise.
1351 * sysdeps/i386/tls-macros.h: New file.
1352 * sysdeps/powerpc/tls-macros.h: Likewise.
1353 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1354 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1355 * sysdeps/sh/tls-macros.h: Likewise.
1356 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
1357 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
1358 * sysdeps/x86_64/tls-macros.h: Likewise.
1359
f7db3170
TS
13602012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1361
07cbfc23
TS
1362 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
1363 zero value for regular exit case.
1364
f7db3170
TS
1365 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1366 (__start_context): Preserve zero value for regular exit case.
1367
dc97c227
TS
13682012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1369 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1370
1371 * manual/setjmp.texi (setcontext): Clarify normal process
1372 termination when uc_link is the null pointer.
1373 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
1374 exit call.
1375
d0cd7d02
AS
13762012-07-16 Andreas Schwab <schwab@linux-m68k.org>
1377
1378 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
1379 preprocessor. Test for each exception mask separately.
1380
dd318934
AJ
13812012-07-16 Andreas Jaeger <aj@suse.de>
1382
1383 * po/ru.po: Update from translation team.
1384
8048311a
JM
13852012-07-15 Joseph Myers <joseph@codesourcery.com>
1386
1387 * conform/data/string.h-data (NULL): Use macro-constant. Require
1388 equal to 0.
1389 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1390 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1391 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
1392 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
1393 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1394
b637d46e
AJ
13952012-07-13 Andreas Jaeger <aj@suse.de>
1396
1397 * po/fr.po: Update from translation team.
1398
541428fe
MP
13992012-07-12 Marek Polacek <polacek@redhat.com>
1400
1401 [BZ #14173]
1402 * math/libm-test.inc (yn_test): Add test for BZ #14173.
1403 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
1404 loop condition.
1405
ec332e94
JM
14062012-07-12 Joseph Myers <joseph@codesourcery.com>
1407
1408 [BZ #13717]
1409 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1410 Change to 2.4.1 where previously 2.4.0.
1411 * sysdeps/unix/sysv/linux/configure: Regenerated.
1412 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
1413 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
1414 version.
1415 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
1416 (__ASSUME_AT_CLKTCK): Remove.
1417 (__ASSUME_AT_PAGESIZE): Likewise.
1418 (__ASSUME_AT_XID): Likewise.
1419 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
1420 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
1421 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
1422 unconditionally.
1423 (HAVE_AUX_PAGESIZE): Likewise.
1424 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
1425 [__ASSUME_AT_CLKTCK]: Make code unconditional.
1426 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
1427
7b6e99be
JB
14282012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
1429
1430 [BZ #14307]
1431 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
1432 the temporary buffer used to invoke __gethostbyname2_r,
1433 __gethostbyaddr_r and gethostbyname4_r to make room for struct
1434 host_data / struct gaih_addrtuple.
1435 * resolv/nss_dns/dns-host.c (global scope): Move definition of
1436 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
1437 header file nss/nsswitch.h.
1438 * nss/nsswitch.h (global scope): Add definition of implementation
1439 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
1440 resolv/nss_dns/dns-host.c).
1441
608404eb
AJ
14422012-07-11 Andreas Jaeger <aj@suse.de>
1443
1444 * po/fr.po: Update from translation team.
1445
71220aca
AJ
1446 * po/sv.po: Update from translation team
1447 * po/fr.po: Another update from translation team.
1448
28cfe843
AZ
14492012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1450
1451 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
1452 for subnormals or multiply small sinh result by itself.
1453 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1454 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1455
6b90f981
DM
14562012-07-11 David S. Miller <davem@davemloft.net>
1457
1458 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1459
c6825772
AS
14602012-07-10 Andreas Schwab <schwab@linux-m68k.org>
1461
1462 [BZ #14347]
1463 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
1464 (INTERNAL_MARK): Shift it here.
1465
7b8e0d49
MP
14662012-07-10 Marek Polacek <polacek@redhat.com>
1467
1468 [BZ #14151]
1469 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
1470 libc_cv_asm_global_directive with .globl.
1471 * configure: Regenerated.
1472 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
1473 with .globl.
1474 * sysdeps/i386/configure: Regenerated.
1475 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
1476 with .globl.
1477 * sysdeps/x86_64/configure: Regenerated.
1478 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
1479 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
1480 * elf/tst-unique2mod2.c: Likewise.
1481 * elf/tst-unique2mod1.c: Likewise.
1482 * elf/tst-unique1mod2.c: Likewise.
1483 * elf/tst-unique1mod1.c: Likewise.
1484 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1485 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1486 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1487 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1488 * sysdeps/mach/sysdep.h: Likewise.
1489 * sysdeps/i386/sysdep.h: Likewise.
1490 * sysdeps/i386/i386-mcount.S: Likewise.
1491 * sysdeps/x86_64/_mcount.S: Likewise.
1492 * sysdeps/x86_64/sysdep.h: Likewise.
1493 * sysdeps/sh/_mcount.S: Likewise.
1494 * sysdeps/sh/sysdep.h: Likewise.
1495 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
1496 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
1497 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
1498 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1499 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
1500 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
1501 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
1502 * locale/localeinfo.h: Likewise.
1503 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
1504 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
1505
6c55cda3
RM
15062012-07-09 Roland McGrath <roland@hack.frob.com>
1507
1508 [BZ #14336]
1509 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
1510 system".
1511 * manual/message.texi (The Uniforum approach): Likewise.
1512 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
1513 (glibc iconv Implementation): Likewise.
1514
638a572e
JM
15152012-07-09 Joseph Myers <joseph@codesourcery.com>
1516
1517 [BZ #14337]
1518 * math/s_clog.c (__clog): Avoid scaling a value down where that
1519 could result in underflow.
1520 * math/s_clog10.c (__clog10): Likewise.
1521 * math/s_clog10f.c (__clog10f): Likewise.
1522 * math/s_clog10l.c (__clog10l): Likewise.
1523 * math/s_clogf.c (__clogf): Likewise.
1524 * math/s_clogl.c (__clogl): Likewise.
1525 * math/libm-test.inc (clog_test): Add more tests.
1526 (clog10_test): Likewise.
1527 * sysdeps/i386/fpu/libm-test-ulps: Update.
1528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1529
261f4859
AS
15302012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1531
0abaf3e4
AS
1532 [BZ #14283]
1533 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
1534 by 7 not 8 to examine high bit of fractional part.
1535
261f4859
AS
1536 [BZ #14042]
1537 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
1538 for call to __mcount_internal.
1539 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
1540 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
1541 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
1542
f17ac40d
JM
15432012-07-06 Joseph Myers <joseph@codesourcery.com>
1544
9ad63c23
JM
1545 [BZ #14154]
1546 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
1547 approximation for values within 0x1p-13f of an odd multiple of
1548 pi/4.
1549 * math/libm-test.inc (tan_test): Do not allow spurious underflow
1550 exception. Add more tests.
1551 * sysdeps/i386/fpu/libm-test-ulps: Update.
1552
f17ac40d
JM
1553 [BZ #6778]
1554 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
1555 inputs and return -1 for them. Do not check for +Inf in case not
1556 reachable for +Inf.
1557 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1558 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
1559 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1560 and return -1 for them. Do not check for +Inf in case not
1561 reachable for +Inf.
1562 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
1563 define.
1564 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1565 and return -1 for them. Do not check for +Inf in case not
1566 reachable for +Inf.
1567 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
1568 spurious underflow.
1569 * sysdeps/i386/fpu/libm-test-ulps: Update.
1570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1571
fb21f89b
MF
15722012-07-06 Mike Frysinger <vapier@gentoo.org>
1573
1574 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
1575
cdfe2c5e
JM
15762012-07-05 Joseph Myers <joseph@codesourcery.com>
1577
1578 [BZ #14157]
1579 [BZ #14331]
1580 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
1581 could result in spurious underflow. Scale down values above
1582 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
1583 * math/s_csqrtf.c (__csqrtf): Likewise.
1584 * math/s_csqrtl.c (__csqrtl): Likewise.
1585 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
1586 spurious underflow.
1587 * sysdeps/i386/fpu/libm-test-ulps: Update.
1588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1589
70d35b67
AS
15902012-07-04 Andreas Schwab <schwab@linux-m68k.org>
1591
704bc459
AS
1592 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
1593 xopen-msg.sed.
1594 * catgets/xopen-msg.awk: New file.
1595 * catgets/xopen-msg.sed: Removed.
1596
70d35b67
AS
1597 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
1598 po2text.sed.
1599 * intl/po2test.awk: New file.
1600 * intl/po2test.sed: Removed.
1601
ca61cf32
JM
16022012-07-04 Joseph Myers <joseph@codesourcery.com>
1603
1604 [BZ #14328]
1605 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
1606 or multiply small sinh result by itself.
1607 * math/s_ctanf.c (__ctanf): Likewise.
1608 * math/s_ctanh.c (__ctanh): Likewise.
1609 * math/s_ctanhf.c (__ctanhf): Likewise.
1610 * math/s_ctanhl.c (__ctanhl): Likewise.
1611 * math/s_ctanl.c (__ctanl): Likewise.
1612 * math/libm-test.inc (ctan_test_tonearest): New function.
1613 (ctan_test_towardzero): Likewise.
1614 (ctan_test_downward): Likewise.
1615 (ctan_test_upward): Likewise.
1616 (ctanh_test_tonearest): Likewise.
1617 (ctanh_test_towardzero): Likewise.
1618 (ctanh_test_downward): Likewise.
1619 (ctanh_test_upward): Likewise.
1620 (main): Call these new functions.
1621 * sysdeps/i386/fpu/libm-test-ulps: Update.
1622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1623
ca48a46a
MF
16242012-07-03 Mike Frysinger <vapier@gentoo.org>
1625
1626 * .gitignore: Delete /ports entry.
1627
9d63d37d
AJ
16282012-07-03 Andreas Jaeger <aj@suse.de>
1629
1630 * po/bg.po: Update from translation team.
1631 * po/cs.po: Likewise.
1632 * po/de.po: Likewise.
1633 * po/hr.po: Likewise.
1634 * po/nl.pl: Likewise.
1635 * po/pl.po: Likewise.
1636 * po/vi.po: Likewise.
1637
370ca3d2
JM
16382012-07-03 Joseph Myers <joseph@codesourcery.com>
1639
95f5a9a8
JM
1640 * Makeconfig [!+link] (+link-before-libc): New variable.
1641 [!+link] (+link-after-libc): Likewise.
1642 [!+link] (+link-tests): Likewise.
1643 [!+link] (+link): Define in terms of $(+link-before-libc) and
1644 $(+link-after-libc).
1645 [!+link-static] (+link-static-before-libc): New variable.
1646 [!+link-static] (+link-static-after-libc): Likewise.
1647 [!+link-static] (+link-static-tests): Likewise.
1648 [!+link-static] (+link-static): Define in terms of
1649 $(+link-static-before-libc) and $(+link-static-after-libc).
1650 [build-shared] (link-libc-before-gnulib): New variable.
1651 [build-shared] (link-libc-tests): Likewise.
1652 [build-shared] (link-libc): Define in terms of
1653 $(link-libc-before-gnulib).
1654 [!build-shared] (link-libc-tests): New variable.
1655 (link-libc-static-tests): New variable.
1656 [!gnulib] (gnulib-arch): New variable.
1657 [!gnulib] (gnulib-tests): Likewise.
1658 [!gnulib] (static-gnulib-arch): Likewise.
1659 [!gnulib] (static-gnulib-tests): Likewise.
1660 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
1661 Define with "=" instead of ":=".
1662 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
1663 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
1664 * Rules (binaries-all-notests): New variable.
1665 (binaries-all-tests): Likewise.
1666 (binaries-static-notests): Likewise.
1667 (binaries-static-tests): Likewise.
1668 (binaries-all): Define using $(binaries-all-notests) and
1669 $(binaries-all-tests).
1670 (binaries-static): Define using $(binaries-static-notests) and
1671 $(binaries-static-tests).
1672 (binaries-shared-tests): New variable.
1673 (binaries-shared-notests): Likewise.
1674 (binaries-shared): Remove variable.
1675 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
1676 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
1677 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
1678 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
1679 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
1680 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
1681 * elf/Makefile (sln-modules): New variable.
1682 (extra-objs): Add $(sln-modules:=.o).
1683 (ldconfig-modules): Add static-stubs.
1684 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
1685 * elf/static-stubs.c: New file.
1686
7a845b2c
JM
1687 [BZ #14283]
1688 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
1689 by 7 not 8 to examine high bit of fractional part. Use volatile
1690 variables when splitting into final array of floats if
1691 __FLT_EVAL_METHOD__ != 0.
1692 * math/libm-test.inc (cos_test): Add another test.
1693 (sin_test): Likewise.
1694 * sysdeps/i386/fpu/libm-test-ulps: Update.
1695
e2283f38
JM
1696 [BZ #14273]
1697 * math/libm-test.inc (cosh_test): Add more tests.
1698
370ca3d2
JM
1699 * version.h (RELEASE): Set to "development".
1700 (VERSION): Set to "2.16.90".
1701
ee9247c3
CD
17022012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
1703
1704 * NEWS: Update copyright. Remove last-updated date.
1705 Mention math library bug fixes and timezone data changes.
1706 * README: Mention GNU/Hurd, x32, and HPPA support status.
1707
4648c381
TS
17082012-06-28 Thomas Schwinge <thomas@codesourcery.com>
1709
1710 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
1711
aac78a43
AJ
17122012-06-27 Andreas Jaeger <aj@suse.de>
1713
1714 * manual/contrib.texi (Contributors): Add Samuel Thibault.
1715
ed3dbfad
AJ
17162012-06-25 Andreas Jaeger <aj@suse.de>
1717
1718 * sysdeps/s390/fpu/libm-test-ulps: Update.
1719
4d0ee855
AS
17202012-06-23 Andreas Schwab <schwab@linux-m68k.org>
1721 Thomas Schwinge <thomas@codesourcery.com>
1722
1723 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
1724 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
1725 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
1726 fanotify_mark.
1727
af1bce34
TS
17282012-06-23 Thomas Schwinge <thomas@codesourcery.com>
1729
a9fa33ba
TS
1730 * sysdeps/mach/start.c: Remove file.
1731 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
1732 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
1733 * sysdeps/sh/init-first.c: Likewise.
1734
58f902b8
TS
1735 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
1736 registers for frame unwinding purposes, add CFI directives.
1737 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1738 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
1739 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1740 Likewise.
1741
1518f58b
TS
1742 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
1743 __fortify_fail returning.
1744 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1745
db9b5059
TS
1746 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
1747 sysdeps/sh/____longjmp_chk.S.
1748 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
1749 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
1750 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
1751 (gen-as-const-headers): Append sigaltstack-offsets.sym.
1752
967705fe
TS
1753 * sysdeps/sh/abort-instr.h: New file.
1754 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
1755 process in case exit returns.
1756
a9def8c4
TS
1757 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
1758 initialize the GOT register before use.
1759
2a649725
TS
1760 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
1761 calculation of ARGC > 4.
1762
af1bce34
TS
1763 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
1764 meaningful names to some local labels.
1765
d230f50a
KK
17662012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1767 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1768
1769 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
1770 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
1771 (__arch_compare_and_exchange_val_16_acq): Likewise.
1772 (__arch_compare_and_exchange_val_32_acq): Likewise.
1773 (atomic_exchange_and_add): Fix gUSA sequence.
1774 (atomic_add): Likewise.
1775 (atomic_add_negative): Likewise.
1776 (atomic_add_zero): Likewise.
1777 (atomic_bit_test_set): Likewise.
1778
0479b305
AS
17792012-06-22 Andreas Schwab <schwab@redhat.com>
1780
1781 [BZ #13579]
1782 * include/link.h (struct link_map): Add l_free_initfini.
1783 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
1784 l_initfini.
1785 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
1786 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
1787 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
1788 set.
1789
0e3933b9
CD
17902012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
1791
1792 * configure.in: Use AC_LANG_SOURCE.
1793 * configure: Regenerate.
1794
4248b1b1
RM
17952012-06-22 Roland McGrath <roland@hack.frob.com>
1796
1797 * configure.in (libc_cv_localstatedir): New substituted variable.
1798 * configure: Regenerated.
1799 * config.make.in (localstatedir): New variable, substituted from
1800 libc_cv_localstatedir.
1801 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
1802 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
1803 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
1804 * sysdeps/gnu/configure: Regenerated.
1805
006dd861
JL
18062012-06-21 Jeff Law <law@redhat.com>
1807
1808 [BZ #14277]
1809 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
1810 free. Simplify list management for _LIBC case.
1811
79662d42
JM
18122012-06-21 Joseph Myers <joseph@codesourcery.com>
1813
b7abb4bf
JM
1814 [BZ #14273]
1815 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1816 Clear sign bit of 64-bit integer value before comparing against
1817 overflow value.
1818
79662d42
JM
1819 * sysdeps/mach/configure: Regenerated.
1820
1f150908
L
18212012-06-21 H.J. Lu <hongjiu.lu@intel.com>
1822
1823 [BZ #14278]
1824 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
1825
28363bbf
JL
18262012-06-21 Jeff Law <law@redhat.com>
1827
1828 [BZ #13882]
1829 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
1830 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 1831 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
1832 * elf/dl-open.c (dl_open_worker): Likewise.
1833
09615db4
CD
18342012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
1835
1836 * scripts/list-sources.sh: Scan PORTS for translations.
1837 * po/libc.pot: Regenerated.
1838
2174c6dd
AJ
18392012-06-21 Andreas Jaeger <aj@suse.de>
1840
1841 [BZ #12194]
1842 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
1843 warning.
1844 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
1845 * bits/byteswap-16.h (__bswap_16): Likewise.
1846 * bits/byteswap.h (__bswap_constant_16): Likewise.
1847
3ee947b1
L
18482012-06-18 H.J. Lu <hongjiu.lu@intel.com>
1849
1850 [BZ #14117]
a2f34833
L
1851 * sysdeps/i386/fpu_control.h: Removed.
1852 * sysdeps/x86_64/fpu_control.h: Moved to ...
1853 * sysdeps/x86/fpu_control.h: Here.
1854
3ee947b1
L
1855 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
1856 (_FPU_SETCW): Likewise.
1857
ed1825f8
L
18582012-06-15 H.J. Lu <hongjiu.lu@intel.com>
1859
25f1282a
L
1860 [BZ #14117]
1861 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
1862 * sysdeps/x86/fpu/bits/mathinline.h: This.
1863 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
1864
ed1825f8
L
1865 [BZ #14050]
1866 [BZ #14117]
1867 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
1868 functions if __x86_64__ is defined.
1869
36d54b74
CLT
18702012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
1871
1872 * string/endian.h: Add !__ASSEMBLER__ condition for including
1873 conversion interfaces.
1874
10285c21
JM
18752012-06-15 Joseph Myers <joseph@codesourcery.com>
1876
1877 [BZ #14241]
1878 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
1879 of ABS(x) in calculating zero to negative powers other than odd
1880 integers.
1881 * math/libm-test.inc (pow_test): Add more tests.
1882
06c5abbd
AJ
18832012-06-15 Andreas Jaeger <aj@suse.de>
1884
1885 * manual/contrib.texi (Contributors): Update entry of Liubov
1886 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
1887 Machado Filho.
1888
a3aeac40
CH
18892012-06-15 Cyril Hrubis <metan@ucw.cz>
1890
1891 * string/string.h: Add __wur to GNU version of strerror_r.
1892
49bdf4c1
L
18932012-06-14 H.J. Lu <hongjiu.lu@intel.com>
1894
1895 [BZ #14229]
1896 * string/Makefile (tests): Add tst-strtok_r.
1897 * string/tst-strtok_r.c: New file.
1898 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
1899 RAX_LP/RDX_LP on SAVE_PTR.
1900
834f9b8d
RM
19012012-06-14 Roland McGrath <roland@hack.frob.com>
1902
1903 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
1904
75fa1921
JM
19052012-06-14 Joseph Myers <joseph@codesourcery.com>
1906
1907 * libm_test.inc (csqrt_test): Allow more spurious underflow
1908 exceptions.
1909 (j0_test): Likewise.
1910 (j1_test): Likewise.
1911 (y0_test): Likewise.
1912 (y1_test): Likewise.
1913
771766df
CD
19142012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
1915
1916 * po/Makefile (libc.pot): Use UTF-8 charset.
1917
ceb9e56b
PP
19182012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
1919
1920 [BZ #14210]
1921 Suppress sign-conversion warning from FD_SET.
1922 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
1923 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
1924 not unsigned long int.
1925 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
1926
ddb28975
L
19272012-06-12 H.J. Lu <hongjiu.lu@intel.com>
1928
1929 [BZ #14050]
1930 [BZ #14117]
1931 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
1932 __extern_always_inline instead of __extern_inline.
1933 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
1934 (__signbit): Likewise.
1935 (__signbitl): Support C++ namespace.
1936 (lrintf): New inline function.
1937 (lrint): Likewise.
1938 (llrintf): Likewise.
1939 (llrint): Likewise.
1940 (fmaxf): Likewise.
1941 (fmax): Likewise.
1942 (fminf): Likewise.
1943 (fmin): Likewise.
1944 (rint): Likewise.
1945 (rintf): Likewise.
1946 (ceil): Likewise.
1947 (ceilf): Likewise.
1948 (floor): Likewise.
1949 (floorf): Likewise.
1950 (nearbyint): Likewise.
1951 (nearbyintf): Likewise.
1952
d7b4fb26
TS
19532012-06-12 Thomas Schwinge <thomas@codesourcery.com>
1954
1955 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
1956 non-default versions.
1957
eb55f5c2
RM
19582012-06-11 Roland McGrath <roland@hack.frob.com>
1959
1960 [BZ #14218]
1961 * manual/argp.texi (Argp): Reword argp_parse description slightly.
1962
366af02c
TS
19632012-06-09 Thomas Schwinge <thomas@codesourcery.com>
1964
99ff6e5c
TS
1965 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
1966 (FE_UPWARD, FE_DOWNWARD): Don't define.
1967 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
1968 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1969
366af02c
TS
1970 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
1971 reading it.
1972 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1973 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1974
793ea851
KK
19752012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1976
1977 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1978 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
1979 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
1980 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
1981
a728a38f
L
19822012-06-06 H.J. Lu <hongjiu.lu@intel.com>
1983
1984 [BZ #14117]
c08010c7
L
1985 * sysdeps/i386/fpu/bits/fenv.h: Removed.
1986 * sysdeps/i386/fpu/Implies: New file.
1987 * sysdeps/x86_64/fpu/Implies: Likewise.
1988 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
1989 * sysdeps/x86/fpu/bits/fenv.h: This.
1990
a728a38f
L
1991 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
1992 __SSE_MATH__.
1993
6e230d11
SP
19942012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1995
1996 [BZ #14134]
1997 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
1998 character 0xffff that matches the last element of the
1999 conversion table.
2000
1b671feb
AZ
20012012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2002
2003 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
2004 fmodl commit.
2005
6043738b
AZ
20062012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2007
2008 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
2009 values higher than 25.6283.
2010
34ae0b32
AZ
20112012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2012
2013 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
2014 subnormal exponent extraction and add some __builtin_expect.
2015 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
2016 Fix for subnormal mantissa calculation.
2017
1214ec8f
MF
20182012-06-04 Mike Frysinger <vapier@gentoo.org>
2019
2020 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
2021 cpu2 is -1 and errno is not ENOSYS.
2022
f3d1f93c
L
20232012-06-04 H.J. Lu <hongjiu.lu@intel.com>
2024
2025 [BZ #14117]
0e4a3cd7
L
2026 * sysdeps/i386/i486/bits/string.h: Renamed to ...
2027 * sysdeps/x86/bits/string.h: This.
2028 * sysdeps/x86_64/bits/string.h: Removed.
2029
6704c645
L
2030 * sysdeps/i386/i486/bits/string.h: Define inline functions only
2031 if not compiling for x86-64, but compiling for >= i486.
2032
48495318
L
2033 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
2034 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
2035
14adcbfc
L
2036 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
2037 New macro from Linux kernel 3.4.0.
2038 (FP_XSTATE_MAGIC2): Likewise.
2039 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2040 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
2041 (struct _fpx_sw_bytes): New struct.
2042 (struct _xsave_hdr): Likewise.
2043 (struct _ymmh_state): Likewise.
2044 (struct _xstate): Likewise.
2045
68e408ab
L
2046 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
2047 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
2048 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
2049 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
2050 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
2051 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
2052
f3d1f93c
L
2053 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
2054 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
2055 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
2056 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
2057 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
2058 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
2059
d9dc34cd
TMQMF
20602012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2061
2062 [BZ #13743]
2063 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
2064 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
2065 (sysdep_headers): Include sys/platform/ppc.h.
2066 * sysdeps/powerpc/test-gettimebase.c: Test for
2067 __ppc_get_timebase() to catch future ISA opcode/insn changes.
2068 * manual/Makefile (appendices): Include platform.texi.
2069 * manual/contrib.texi (Contributors): Update @node pointers.
2070 * manual/maint.texi (Maintenance): Likewise.
2071 (Platform): New node.
2072 * manual/platform.texi: New file. Document the new features.
2073
4af3879c
SP
20742012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2075 Jakub Jelinek <jakub@redhat.com>
2076
2077 [BZ #14188]
2078 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
2079 where __builtin_expect is unavailable.
2080
2fd6ff13
DM
20812012-06-03 David S. Miller <davem@davemloft.net>
2082
2083 * stdlib/longlong.h: Updated from GCC.
2084
173f7220
AS
20852012-06-02 Andreas Schwab <schwab@linux-m68k.org>
2086
2087 [BZ #14042]
2088 * sysdeps/powerpc/powerpc32/mcount.c: New file.
2089 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
2090 __mcount_internal.
2091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2092 (GLIBC_2.16): Likewise.
2093
f34a1c6f
L
20942012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2095
2096 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
2097
88a4576f
JM
20982012-06-01 Joseph Myers <joseph@codesourcery.com>
2099
ea32bcdd
JM
2100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2101 (default-abi): New variable.
2102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
2103 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
2104 variable.
2105 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
2106 Likewise.
2107 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
2108 Likewise.
2109 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
2110 Likewise.
2111
88a4576f
JM
2112 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
2113 definition. Document in comment.
2114
402fe938
DM
21152012-06-01 David S. Miller <davem@davemloft.net>
2116
2117 * stdlib/longlong.h: Updated from GCC.
2118
3553723f
L
21192012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2120
2121 [BZ #14117]
3bd872c4
L
2122 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
2123 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
2124 sys/debugreg.h sys/io.h here.
2125 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
2126 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
2127 sys/io.h.
2128 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
2129 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
2130 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
2131 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
2132 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
2133 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
2134
3553723f
L
2135 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
2136 Define only if __x86_64__ is defined.
2137
4842e4fe
JM
21382012-06-01 Joseph Myers <joseph@codesourcery.com>
2139
c5bfe3d5
JM
2140 [BZ #14048]
2141 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
2142 Use int64_t for variable i.
2143 * math/libm-test.inc (fmod_test): Add more tests.
2144
4842e4fe
JM
2145 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
2146 z computation is not scheduled after fetestexcept.
2147 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
2148 Use math_force_eval instead of asm to ensure calculation scheduled
2149 before exception test.
2150 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
2151 Ensure a1 + u.d computation is not scheduled after fetestexcept.
2152
efb73488
AJ
21532012-06-01 Aurelien Jarno <aurelien@aurel32.net>
2154
2155 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
2156 computation is not scheduled after fetestexcept.
2157
29bcce7c
L
21582012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2159
2160 [BZ #14117]
2161 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
2162 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
2163
73a68f94
AZ
21642012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2165
2166 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
2167 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2168
67b6df78
L
21692012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2170
edf2933a 2171 [BZ #14117]
ebc64a18
L
2172 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
2173 <bits/wordsize.h>.
2174 (__WCHAR_MIN): Support __WORDSIZE == 64.
2175 (__WCHAR_MAX): Likewise.
2176
edf2933a
L
2177 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
2178 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2179
57c6cf40
L
2180 [BZ #14183]
2181 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2182 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2183
67b6df78 2184 [BZ #14117]
8eb6281e
L
2185 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2186 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2187
aac639f4
L
2188 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2189 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2190
67b6df78
L
2191 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2192 Defined to 1 if __x86_64__ isn't defined.
2193 (_STAT_VER_LINUX_OLD): New.
2194 (st_atime): Remove duplicate.
2195 (st_mtime): Likewise.
2196 (st_ctime): Likewise.
2197
1c2cfe81
DM
21982012-05-31 David S. Miller <davem@davemloft.net>
2199
2200 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2201 entries.
2202
5be8418c
AS
22032012-06-01 Andreas Schwab <schwab@linux-m68k.org>
2204
e7725326
AS
2205 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2206 gen-libm-test.pl.
2207
5be8418c
AS
2208 [BZ #14132]
2209 * elf/dl-reloc.c: Include <_itoa.h>.
2210 (_dl_reloc_bad_type): Remove use of INTUSE.
2211 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2212 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2213 * stdio-common/psiginfo.c (psiginfo): Likewise.
2214 * stdio-common/psignal.c (psignal): Likewise.
2215 * string/strsignal.c (strsignal): Likewise.
2216 * include/signal.h (_sys_siglist): Declare hidden proto.
2217 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
2218 INTVARDEF with libc_hidden_data_def.
2219 * stdio-common/itoa-udigits.c: Likewise.
2220 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2221 (_itoa_lower_digits_internal): Remove declaration.
2222 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2223 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2224 (_sys_sigabbrev_internal): Remove aliases.
2225 (_sys_siglist): Define hidden alias.
2226
507352f1
MT
22272012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
2228
2229 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2230 bits/sysctl.h.
2231
42bbb1c3
L
22322012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2233
2234 [BZ #14117]
6bd784b6
L
2235 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2236 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2237
8bca20f0
L
2238 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2239 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2240 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2241 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2242 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2243 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2244
f9e890a9
L
2245 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2246 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2247 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2248
471101a1
L
2249 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2250 with __addr.
2251 (insw): Likewise.
2252 (insl): Likewise.
2253 (outsb): Likewise.
2254 (outsw): Likewise.
2255 (outsl): Likewise.
2256
6451c862
L
2257 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2258 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2259 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2260
a254b8c9
L
2261 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2262 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2263 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2264 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2265 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2266 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2267
b8dfdd92
L
2268 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2269 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2270
578cd270
L
2271 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
2272 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
2273
de662f5f
L
2274 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
2275 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
2276 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
2277
25653439
L
2278 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
2279 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
2280 to ...
2281 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
2282
6bad24a0
L
2283 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
2284 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
2285 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
2286
42bbb1c3
L
2287 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
2288 for x86-64.
2289 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2290
2d10d547
JM
22912012-05-31 Joseph Myers <joseph@codesourcery.com>
2292
2293 * math/math.h (M_El): Use two more decimal places.
2294 (M_LOG2El): Likewise.
2295 (M_LOG10El): Likewise.
2296 (M_LN2l): Likewise.
2297 (M_LN10l): Likewise.
2298 (M_PIl): Likewise.
2299 (M_PI_2l): Likewise.
2300 (M_PI_4l): Likewise.
2301 (M_1_PIl): Likewise.
2302 (M_2_PIl): Likewise.
2303 (M_2_SQRTPIl): Likewise.
2304 (M_SQRT2l): Likewise.
2305 (M_SQRT1_2l): Likewise.
2306
f230c29b
DM
23072012-05-31 David S. Miller <davem@davemloft.net>
2308
2309 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
2310 values between float registers.
2311 * sysdeps/sparc/sparc64/memset.S: Likewise.
2312 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2313
fed806c3
MF
23142012-05-31 Mike Frysinger <vapier@gentoo.org>
2315
2316 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
2317 -D_FORTIFY_SOURCE=1.
2318 (CPPFLAGS-tst-longjmp_chk.c): Define.
2319 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
2320 (CPPFLAGS-tst-longjmp_chk2.c): Define.
2321 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
2322 CFLAGS-tst-wchar-h.c.
2323
30917259
MP
23242012-05-31 Marek Polacek <polacek@redhat.com>
2325
2326 [BZ #14132]
2327 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
2328 __endmntent_internal): Remove declaration.
2329 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
2330 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
2331 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
2332
1c58d5dc
DM
23332012-05-30 David S. Miller <davem@davemloft.net>
2334
2335 * sysdeps/sparc/sparc32/soft-fp/q_util.c
2336 (___Q_simulate_exceptions): Use real FP ops rather than writing
2337 into the %fsr.
2338 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
2339 Likewise.
2340
7dc00e0d
L
23412012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2342
2343 [BZ #14117]
0bd53985
L
2344 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
2345 * sysdeps/x86/bits/xtitypes.h: This.
2346
3a257e66
L
2347 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
2348 * sysdeps/x86/bits/wordsize.h: This.
2349
62f62904
L
2350 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
2351 * sysdeps/x86/bits/huge_vall.h: This.
2352
404fe9d9
L
2353 * sysdeps/i386/bits/select.h: Removed.
2354 * sysdeps/x86_64/bits/select.h: Renamed to ...
2355 * sysdeps/x86/bits/select.h: This.
2356
d48d0446
L
2357 * sysdeps/i386/bits/setjmp.h: Removed.
2358 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
2359 * sysdeps/x86/bits/setjmp.h: This.
2360
7dc00e0d
L
2361 * sysdeps/i386/bits/mathdef.h: Removed.
2362 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
2363 * sysdeps/x86/bits/mathdef.h: This.
2364
03277f8f
AS
23652012-05-30 Andreas Schwab <schwab@linux-m68k.org>
2366
2367 [BZ #14132]
2368 * include/sys/socket.h (__connect_internal)
2369 (__libc_sa_len_internal): Remove declaration.
2370 (__connect, __libc_sa_len): Declare hidden_proto.
2371 (SA_LEN): Remove use of INTUSE.
2372 * socket/connect.c: Add libc_hidden_def.
2373 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
2374 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
2375 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
2376 alias.
2377 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2378 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2379 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
2380 of adding _internal alias.
2381
13764867
L
23822012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2383
2384 [BZ #14117]
6bd97696
L
2385 * sysdeps/i386/bits/link.h: Removed.
2386 * sysdeps/i386/bits/linkmap.h: Likewise.
2387 * sysdeps/x86_64/bits/link.h: Renamed to ...
2388 * sysdeps/x86/bits/link.h: This.
2389 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
2390 * sysdeps/x86/bits/linkmap.h: This.
2391
f726f0bb
L
2392 * sysdeps/i386/bits/endian.h: Removed.
2393 * sysdeps/x86_64/bits/endian.h: Renamed to ...
2394 * sysdeps/x86/bits/endian.h: This.
2395
13764867
L
2396 * sysdeps/i386/bits/byteswap.h: Removed.
2397 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2398 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
2399 * sysdeps/x86/bits/byteswap.h: This.
2400 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
2401 * sysdeps/x86/bits/byteswap-16.h: This.
2402 * sysdeps/i386/Implies: Add x86.
2403 * sysdeps/x86_64/Implies: Likewise.
2404
ae251b0b
DM
24052012-05-30 David S. Miller <davem@davemloft.net>
2406
2407 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
2408 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
2409 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2410 (FP_TRAPPING_EXCEPTIONS): Define.
2411 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2412 (FP_TRAPPING_EXCEPTIONS): Define.
2413 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
2414 subnormals only when inexact has been signalled or underflow
2415 exceptions are enabled.
2416 (_FP_PACK_CANONICAL): Likewise.
2417
d5c90867
L
24182012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2419
2420 [BZ #14183]
2421 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
2422 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
2423
63f1549e
RH
24242012-05-30 Richard Henderson <rth@twiddle.net>
2425
8d8f2279
RH
2426 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
2427 with #ifndef NOT_IN_libc.
2428
63f1549e
RH
2429 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
2430 marked to avoid plt entry.
2431
0ab0291b
L
24322012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2433
2434 [BZ #14112]
2435 * Makeconfig (default-abi): New macro.
2436 (abi-includes): Likewise.
2437 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
2438 $(abi-$(default-abi)-lib-soname) for soname if defined.
2439 ($(common-objpfx)gnu/lib-names.stmp): Generate from
2440 abi-variants.
2441 * Makefile (installed-stubs): Likewise.
2442 * include/stubs-biarch.h: Removed.
2443 * scripts/lib-names.awk: Only handle one library at a time.
2444 * scripts/soversions.awk: Remove WORDSIZE support.
2445 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
2446 entries.
2447 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
2448 Removed.
2449 (syscall-list-default-condition): Likewise.
2450 (syscall-list-default-condition): Likewise.
2451 (syscall-list-includes): Likewise.
2452 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
2453 syscall-list-* with abi-*. Handle undefined abi-variants.
2454 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
2455 * sysdeps/unix/sysv/linux/i386/Implies: New file.
2456 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
2457 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
2458 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
2459 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
2460 Removed.
2461 (syscall-list-32-options): Likewise.
2462 (syscall-list-32-condition): Likewise.
2463 (syscall-list-64-options): Likewise.
2464 (syscall-list-64-condition): Likewise.
2465 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
2466 macro.
2467 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
2468 Renamed to ...
2469 (abi-*): This.
2470 (abi-64-ld-soname): New macro.
2471 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
2472 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
2473 Renamed to ...
2474 (abi-*): This.
2475 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
2476 * sysdeps/x86_64/x32/shlib-versions: Likewise.
2477
4da0431d
JM
24782012-05-30 Joseph Myers <joseph@codesourcery.com>
2479
3a85279c
JM
2480 * sysdeps/unix/sysv/linux/kernel-features.h
2481 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
2482 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
2483 include <kernel-features.h>.
2484 [!__NR_ftruncate64]: Remove conditional code.
2485 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2486 [__NR_ftruncate64]: Make code unconditional.
2487 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2488 * sysdeps/unix/sysv/linux/truncate64.c: Do not
2489 include <kernel-features.h>.
2490 [!__NR_ftruncate64]: Remove conditional code.
2491 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2492 [__NR_ftruncate64]: Make code unconditional.
2493 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
2495 include <kernel-features.h>.
2496 [!__NR_ftruncate64]: Remove conditional code.
2497 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2498 [__NR_ftruncate64]: Make code unconditional.
2499 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2501 include <kernel-features.h>.
2502 [!__NR_ftruncate64]: Remove conditional code.
2503 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2504 [__NR_ftruncate64]: Make code unconditional.
2505 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2506
4da0431d
JM
2507 * configure.in (libc_cv_fpie): Weaken to a compile test using
2508 LIBC_TRY_CC_OPTION.
2509 * configure: Regenerated.
2510
11ef492c
AK
25112012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2512
2513 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
2514 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
2515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
2516 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2517 Refreshed.
2518 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
2519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
2520 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
2521 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
2522 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
2523 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2524 Refreshed.
2525
d66ef399
DM
25262012-05-27 David S. Miller <davem@davemloft.net>
2527
2528 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
2529 (___Q_zero): New.
2530 (__Q_simulate_exceptions): Return void. Change to simulate
2531 exceptions by writing into the %fsr.
2532 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
2533 (__Qp_handle_exceptions): Likewise.
2534 (numbers): Delete.
2535 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
2536 __Qp_handle_exceptions.
2537 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
2538 __Qp_handle_exceptions.
2539 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2540 as unused and give dummy FP_RND_NEAREST initializer.
2541 (FP_INHIBIT_RESULTS): Define.
2542 (___Q_simulate_exceptions): Update declaration.
2543 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
2544 formatting.
2545 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2546 as unused and give dummy FP_RND_NEAREST initializer.
2547 (__Qp_handle_exceptions): Update declaration.
2548 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
2549 formatting.
2550
04fb54b5
TS
25512012-05-27 Thomas Schwinge <thomas@codesourcery.com>
2552
2553 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
2554 the temporary FPU control word.
2555 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2556 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
2557 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2558 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2559 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2560 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2561 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2562 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2563 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2564 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2565 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2566
3f99608f
KK
25672012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2568
2569 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
2570 fields.
2571
65a4de4e
CLT
25722012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
2573
2574 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
2575 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
2576 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
2577 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
2578 Likewise.
2579 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
2580 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
2581 Likewise.
2582
15749d40
UD
25832012-05-27 Ulrich Drepper <drepper@gmail.com>
2584
2585 * po/h.po: Update from translation team.
2586
25dbcb27
AS
25872012-05-26 Andreas Schwab <schwab@linux-m68k.org>
2588
3d3f8e55
AS
2589 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
2590
25dbcb27
AS
2591 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
2592 handling of denormals.
2593 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2594 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2595 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2596 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2597 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2598 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
2599 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
2600 Likewise.
2601
7ad47a80 26022012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
2603
2604 [BZ #14152]
2605 * math/libm-test.inc (fma_test): Don't always expect underflow
2606 exception.
2607
9c6ea9fa
SP
26082012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2609
2610 [BZ #12416]
2611 * elf/tst-execstack.c: Include stackinfo.h.
2612 (do_test): Adjust test case to ensure that pthread_getattr_np
2613 behaviour remains the same after marking stack executable.
2614
a8239222
JM
26152012-05-25 Joseph Myers <joseph@codesourcery.com>
2616
2617 * sysdeps/unix/sysv/linux/kernel-features.h
2618 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
2619 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
2620 kernel-features.h.
2621 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2622 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2623 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
2624 kernel-features.h.
2625 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2626 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2627
918b5606
L
26282012-05-25 H.J. Lu <hongjiu.lu@intel.com>
2629
2630 * configure.in: Define the default includes to being none.
2631 * configure: Regenerated.
2632
3a097cc7
RM
26332012-05-25 Roland McGrath <roland@hack.frob.com>
2634
8422c9a5
RM
2635 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
2636 * sysdeps/x86_64/setjmp.S: Likewise.
2637 * sysdeps/i386/bsd-setjmp.S: Likewise.
2638 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2639 * sysdeps/i386/setjmp.S: Likewise.
2640 * sysdeps/i386/__longjmp.S: Likewise.
2641 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2642 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
2643
3a097cc7
RM
2644 * include/stap-probe.h: New file.
2645 * configure.in: Handle --enable-systemtap.
2646 * configure: Regenerated.
2647 * config.h.in (USE_STAP_PROBE): New #undef.
2648 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
2649 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
2650 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2651
21708942
JM
26522012-05-25 Joseph Myers <joseph@codesourcery.com>
2653
2654 [BZ #13717]
2655 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2656 to 2.4.0 where earlier.
2657 * sysdeps/unix/sysv/linux/configure: Regenerated.
2658 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2659 <kernel-features.h>.
2660 [__ASSUME_32BITUIDS]: Make code unconditional.
2661 [!__ASSUME_32BITUIDS]: Remove conditional code.
2662 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
2663 <kernel-features.h>.
2664 [__ASSUME_32BITUIDS]: Make code unconditional.
2665 [!__ASSUME_32BITUIDS]: Remove conditional code.
2666 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
2667 [__ASSUME_32BITUIDS]: Make code unconditional.
2668 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
2669 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
2670 <kernel-features.h>.
2671 [__ASSUME_32BITUIDS]: Make code unconditional.
2672 [!__ASSUME_32BITUIDS]: Remove conditional code.
2673 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
2674 <kernel-features.h>.
2675 [__ASSUME_32BITUIDS]: Make code unconditional.
2676 [!__ASSUME_32BITUIDS]: Remove conditional code.
2677 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
2678 <kernel-features.h>.
2679 [__ASSUME_32BITUIDS]: Make code unconditional.
2680 [!__ASSUME_32BITUIDS]: Remove conditional code.
2681 * sysdeps/unix/sysv/linux/i386/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
2710 <kernel-features.h>.
2711 [__NR_setresgid] (__setresgid): Do not declare.
2712 [__ASSUME_32BITUIDS]: Make code unconditional.
2713 [!__ASSUME_32BITUIDS]: Remove conditional code.
2714 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
2715 <kernel-features.h>.
2716 [__NR_setresuid] (__setresuid): Do not declare.
2717 [__ASSUME_32BITUIDS]: Make code unconditional.
2718 [!__ASSUME_32BITUIDS]: Remove conditional code.
2719 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
2720 <kernel-features.h>.
2721 [__ASSUME_32BITUIDS]: Make code unconditional.
2722 [!__ASSUME_32BITUIDS]: Remove conditional code.
2723 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
2724 <kernel-features.h>.
2725 [__ASSUME_32BITUIDS]: Make code unconditional.
2726 [!__ASSUME_32BITUIDS]: Remove conditional code.
2727 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
2728 <kernel-features.h>.
2729 [__ASSUME_32BITUIDS]: Make code unconditional.
2730 [!__ASSUME_32BITUIDS]: Remove conditional code.
2731 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
2732 <kernel-features.h>.
2733 [__ASSUME_32BITUIDS]: Make code unconditional.
2734 [!__ASSUME_32BITUIDS]: Remove conditional code.
2735 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
2736 <kernel-features.h>.
2737 [__ASSUME_32BITUIDS]: Make code unconditional.
2738 [!__ASSUME_32BITUIDS]: Remove conditional code.
2739 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
2740 <kernel-features.h>.
2741 [__ASSUME_32BITUIDS]: Make code unconditional.
2742 [!__ASSUME_32BITUIDS]: Remove conditional code.
2743 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
2744 <kernel-features.h>.
2745 [__ASSUME_32BITUIDS]: Make code unconditional.
2746 [!__ASSUME_32BITUIDS]: Remove conditional code.
2747 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
2748 <kernel-features.h>.
2749 [__ASSUME_32BITUIDS]: Make code unconditional.
2750 [!__ASSUME_32BITUIDS]: Remove conditional code.
2751 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
2752 <kernel-features.h>.
2753 [__ASSUME_32BITUIDS]: Make code unconditional.
2754 [!__ASSUME_32BITUIDS]: Remove conditional code.
2755 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2756 <kernel-features.h>.
2757 [__ASSUME_32BITUIDS]: Make code unconditional.
2758 [!__ASSUME_32BITUIDS]: Remove conditional code.
2759 * sysdeps/unix/sysv/linux/kernel-features.h
2760 (__ASSUME_SETRESUID_SYSCALL): Remove.
2761 (__ASSUME_SETRESGID_SYSCALL): Likewise.
2762 (__ASSUME_32BITUIDS): Likewise.
2763 (__ASSUME_LDT_WORKS): Likewise.
2764 (__ASSUME_O_DIRECTORY): Likewise.
2765 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
2766 architecture but not kernel version.
2767 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2768 (__ASSUME_MMAP2_SYSCALL): Likewise.
2769 (__ASSUME_STAT64_SYSCALL): Likewise.
2770 (__ASSUME_IPC64): Likewise.
2771 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
2772 <kernel-features.h>.
2773 [__ASSUME_32BITUIDS]: Make code unconditional.
2774 [!__ASSUME_32BITUIDS]: Remove conditional code.
2775 * sysdeps/unix/sysv/linux/opendir.c: Do not include
2776 <kernel-features.h>.
2777 [__ASSUME_O_DIRECTORY]: Make code unconditional.
2778 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
2779 132096]: Remove conditional code.
2780 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
2781 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2782 <kernel-features.h>.
2783 [__ASSUME_32BITUIDS]: Make code unconditional.
2784 [!__ASSUME_32BITUIDS]: Remove conditional code.
2785 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2786 <kernel-features.h>.
2787 [__ASSUME_32BITUIDS]: Make code unconditional.
2788 [!__ASSUME_32BITUIDS]: Remove conditional code.
2789 * sysdeps/unix/sysv/linux/setegid.c: Do not include
2790 <kernel-features.h>.
2791 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
2792 unconditional.
2793 (__setresgid): Do not declare.
2794 [__ASSUME_32BITUIDS]: Make code unconditional.
2795 [!__ASSUME_32BITUIDS]: Remove conditional code.
2796 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
2797 <kernel-features.h>.
2798 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
2799 unconditional.
2800 (__setresuid): Do not declare.
2801 [__ASSUME_32BITUIDS]: Make code unconditional.
2802 [!__ASSUME_32BITUIDS]: Remove conditional code.
2803 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2804 <kernel-features.h>.
2805 [__ASSUME_32BITUIDS]: Make code unconditional.
2806 [!__ASSUME_32BITUIDS]: Remove conditional code.
2807 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
2808 <kernel-features.h>.
2809 [__ASSUME_32BITUIDS]: Make code unconditional.
2810 [!__ASSUME_32BITUIDS]: Remove conditional code.
2811
a386f1cc
RH
28122012-05-25 Richard Henderson <rth@twiddle.net>
2813
2814 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
2815 dl_hwcap to ifunc resolver.
2816 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
2817 elf_ifunc_invoke.
2818 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
2819 dl_hwcap to ifunc resolver.
2820 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
2821
b6550497
JM
28222012-05-24 Joseph Myers <joseph@codesourcery.com>
2823
2824 [BZ #14153]
2825 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
2826 for |x| <= 2**-26, not 2**-57.
2827 * math/libm-test.inc (acos_test): Do not allow spurious underflow
2828 exception.
2829
b0bc23a1
JL
28302012-05-24 Jeff Law <law@redhat.com>
2831
2832 * stdio-common/Makefile (tests): Add bug25.
2833 * stdio-common/bug25.c: New test.
2834
347c92e9
L
28352012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2836
2837 [BZ #13576]
2838 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
2839 multiple of MALLOC_ALIGNMENT in size.
2840 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
2841
6bcc8b3f
JM
28422012-05-24 Joseph Myers <joseph@codesourcery.com>
2843
2844 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
2845 Require >= 256.
2846 (FILENAME_MAX): Use macro-int-constant.
2847 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
2848 (_IOFBF): Use macro-int-constant.
2849 (_IOLBF): Likewise.
2850 (_IONBF): Likewise.
2851 (SEEK_CUR): Likewise.
2852 (SEEK_END): Likewise.
2853 (SEEK_SET): Likewise.
2854 (TMP_MAX): Likewise.
2855 (EOF): Use macro-int-constant. Require < 0.
2856 (NULL): Use macro-constant. Require == 0.
2857 (stdin): Require type to be FILE *.
2858 (stdout): Likewise.
2859 (stderr): Likewise.
2860 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
2861 macro-int-constant.
2862 (EXIT_SUCCESS): Likewise.
2863 (NULL): Use macro-constant. Require == 0.
2864 (RAND_MAX): Use macro-int-constant.
2865 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
2866 [C99-based standards] (strtof): Require function.
2867 [C99-based standards] (strtold): Likewise.
2868 [C99-based standards] (strtoll): Likewise.
2869 [C99-based standards] (strtoull): Likewise.
2870 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2871 [ISO || ISO99 || ISO11] (limits.h): Likewise.
2872 [ISO || ISO99 || ISO11] (math.h): Likewise.
2873 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
2874 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2875 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2876
d18ea0c5
AS
28772012-05-24 Andreas Schwab <schwab@linux-m68k.org>
2878
2879 [BZ #14132]
56d25bb8
AS
2880 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
2881 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
2882 * intl/dgettext.c (DCGETTEXT): Likewise.
2883 * intl/gettext.c (DCGETTEXT): Likewise.
2884 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
2885 * posix/regex_internal.h (gettext): Likewise.
2886 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
2887 Remove declaration.
2888 * include/argz.h (__argz_count_internal)
2889 (__argz_stringify_internal): Remove declaration.
2890 (__argz_count, __argz_stringify): Declare hidden proto.
2891 * intl/dcgettext.c: Remove use of INTDEF.
2892 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
2893 * string/argz-stringify.c: Likewise.
2894 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2895 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2896 Declare hidden proto.
d18ea0c5
AS
2897 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2898 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2899 Declare hidden proto.
2900 * include/stdio.h (__asprintf_internal): Don't declare.
2901 (__asprintf): Don't define as macro. Declare hidden proto.
2902 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
2903 (__fsetlocking): Declare hidden proto.
2904 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
2905 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
2906 hidden proto.
2907 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
2908 (_IO_setlinebuf): Remove use of INTUSE.
2909 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
2910 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
2911 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
2912 Remove declaration.
2913 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
2914 (_IO_do_flush): Remove use of INTUSE.
2915 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
2916 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
2917 (_IO_adjust_column, _IO_least_wmarker)
2918 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
2919 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
2920 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
2921 (_IO_default_doallocate, _IO_wdefault_doallocate)
2922 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
2923 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
2924 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
2925 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
2926 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
2927 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
2928 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
2929 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
2930 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
2931 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
2932 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
2933 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
2934 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
2935 proto.
2936 (_IO_flush_all_internal, _IO_adjust_column_internal)
2937 (_IO_default_uflow_internal, _IO_default_finish_internal)
2938 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
2939 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
2940 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
2941 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
2942 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
2943 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
2944 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
2945 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
2946 (_IO_file_close_internal, _IO_file_close_it_internal)
2947 (_IO_file_underflow_internal, _IO_file_overflow_internal)
2948 (_IO_file_init_internal, _IO_file_attach_internal)
2949 (_IO_file_fopen_internal, _IO_file_read_internal)
2950 (_IO_file_sync_internal, _IO_file_seek_internal)
2951 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
2952 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
2953 (_IO_str_underflow_internal, _IO_str_overflow_internal)
2954 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
2955 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
2956 (_IO_list_all_internal, _IO_link_in_internal)
2957 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
2958 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
2959 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
2960 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
2961 (_IO_do_write_internal, _IO_padn_internal)
2962 (_IO_getline_info_internal, _IO_getline_internal)
2963 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
2964 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
2965 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
2966 (_IO_vfscanf_internal, _IO_vfprintf_internal)
2967 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
2968 (_IO_init_internal, _IO_un_link_internal): Don't declare.
2969 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
2970 with libc_hidden_ver, remove use of INTUSE.
2971 * libio/genops.c: Likewise.
2972 * libio/freopen.c: Likewise.
2973 * libio/freopen64.c: Likewise.
2974 * libio/iofclose.c: Likewise.
2975 * libio/iofdopen.c: Likewise.
2976 * libio/iofflush.c: Likewise.
2977 * libio/iofflush_u.c: Likewise.
2978 * libio/iofgets.c: Likewise.
2979 * libio/iofgets_u.c: Likewise.
2980 * libio/iofopen.c: Likewise.
2981 * libio/iofopncook.c: Likewise.
2982 * libio/iofread.c: Likewise.
2983 * libio/iofread_u.c: Likewise.
2984 * libio/ioftell.c: Likewise.
2985 * libio/iofwrite.c: Likewise.
2986 * libio/iogetline.c: Likewise.
2987 * libio/iogets.c: Likewise.
2988 * libio/iogetwline.c: Likewise.
2989 * libio/iopadn.c: Likewise.
2990 * libio/iopopen.c: Likewise.
2991 * libio/ioseekoff.c: Likewise.
2992 * libio/ioseekpos.c: Likewise.
2993 * libio/iosetbuffer.c: Likewise.
2994 * libio/iosetvbuf.c: Likewise.
2995 * libio/ioungetc.c: Likewise.
2996 * libio/ioungetwc.c: Likewise.
2997 * libio/iovdprintf.c: Likewise.
2998 * libio/iovsprintf.c: Likewise.
2999 * libio/iovsscanf.c: Likewise.
3000 * libio/memstream.c: Likewise.
3001 * libio/obprintf.c: Likewise.
3002 * libio/oldfileops.c: Likewise.
3003 * libio/oldiofclose.c: Likewise.
3004 * libio/oldiofdopen.c: Likewise.
3005 * libio/oldiofopen.c: Likewise.
3006 * libio/oldiopopen.c: Likewise.
3007 * libio/oldstdfiles.c: Likewise.
3008 * libio/putc.c: Likewise.
3009 * libio/setbuf.c: Likewise.
3010 * libio/setlinebuf.c: Likewise.
3011 * libio/stdfiles.c: Likewise.
3012 * libio/strops.c: Likewise.
3013 * libio/vasprintf.c: Likewise.
3014 * libio/vscanf.c: Likewise.
3015 * libio/vsnprintf.c: Likewise.
3016 * libio/vswprintf.c: Likewise.
3017 * libio/wfiledoalloc.c: Likewise.
3018 * libio/wfileops.c: Likewise.
3019 * libio/wgenops.c: Likewise.
3020 * libio/wmemstream.c: Likewise.
3021 * libio/wstrops.c: Likewise.
3022 * libio/__fpurge.c: Likewise.
3023 * libio/__fsetlocking.c: Likewise.
3024 * assert/assert.c: Likewise.
3025 * debug/fgets_chk.c: Likewise.
3026 * debug/fgets_u_chk.c: Likewise.
3027 * debug/fread_chk.c: Likewise.
3028 * debug/fread_u_chk.c: Likewise.
3029 * debug/gets_chk.c: Likewise.
3030 * debug/obprintf_chk.c: Likewise.
3031 * debug/vasprintf_chk.c: Likewise.
3032 * debug/vdprintf_chk.c: Likewise.
3033 * debug/vsnprintf_chk.c: Likewise.
3034 * debug/vsprintf_chk.c: Likewise.
3035 * malloc/mtrace.c: Likewise.
3036 * misc/error.c: Likewise.
3037 * misc/syslog.c: Likewise.
3038 * stdio-common/asprintf.c: Likewise.
3039 * stdio-common/fxprintf.c: Likewise.
3040 * stdio-common/getw.c: Likewise.
3041 * stdio-common/isoc99_fscanf.c: Likewise.
3042 * stdio-common/isoc99_scanf.c: Likewise.
3043 * stdio-common/isoc99_vfscanf.c: Likewise.
3044 * stdio-common/isoc99_vscanf.c: Likewise.
3045 * stdio-common/isoc99_vsscanf.c: Likewise.
3046 * stdio-common/printf-prs.c: Likewise.
3047 * stdio-common/printf_fp.c: Likewise.
3048 * stdio-common/printf_fphex.c: Likewise.
3049 * stdio-common/printf_size.c: Likewise.
3050 * stdio-common/putw.c: Likewise.
3051 * stdio-common/scanf.c: Likewise.
3052 * stdio-common/sprintf.c: Likewise.
3053 * stdio-common/tmpfile.c: Likewise.
3054 * stdio-common/vfprintf.c: Likewise.
3055 * stdio-common/vfscanf.c: Likewise.
3056 * stdlib/strfmon_l.c: Likewise.
3057 * sunrpc/openchild.c: Likewise.
3058 * sunrpc/xdr_stdio.c: Likewise.
3059 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3060 * sysdeps/mach/hurd/tmpfile.c: Likewise.
3061
d6c33fda
RM
30622012-05-24 Roland McGrath <roland@hack.frob.com>
3063
c1487492
RM
3064 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3065
3066 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
3067 in the third column, to generate for the shared library an IFUNC
3068 that uses _dl_vdso_vsym.
3069 * Makerules (COMPILE.c, compile-stdin.c): New variables.
3070 * Makeconfig (object-suffixes-noshared): New variable.
3071
3072 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
3073 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
3074 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
3075 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
3076
d6c33fda
RM
3077 [BZ #14132]
3078 * include/sys/time.h (__gettimeofday): Remove macro.
3079 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
3080 * time/gettimeofday.c (__gettimeofday): Remove #undef.
3081 Remove INTDEF.
3082 (__gettimeofday): Add libc_hidden_def.
3083 (gettimeofday): Add libc_hidden_weak.
3084 * sysdeps/mach/gettimeofday.c: Likewise.
3085 * sysdeps/posix/gettimeofday.c: Likewise.
3086 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3087 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3088 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
3089 (__gettimeofday_internal): Remove strong_alias.
3090 (__gettimeofday): Add libc_hidden_def.
3091 (gettimeofday): Add libc_hidden_weak.
3092 * sysdeps/unix/syscalls.list (gettimeofday):
3093 Remove __gettimeofday_internal alias.
3094
b5a2bbe6
L
30952012-05-24 Daniel Jacobowitz <drow@false.org>
3096 H.J. Lu <hongjiu.lu@intel.com>
3097
3098 [BZ #12495]
3099 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
3100 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
3101 (largebin_index_32_big): New.
3102 (largebin_index): Use it for 16-byte alignment.
3103 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
3104 correction with front_misalign.
3105
cfba4fda
L
31062012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3107
7f907421
L
3108 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
3109 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3110 Likewise.
3111 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
3112 Likewise.
3113 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3114 Likewise.
3115 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
3116 Likewise.
3117 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
3118 Likewise.
3119 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
3120 Likewise.
3121 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
3122 Likewise.
3123 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3124 Likewise.
3125 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
3126 Likewise.
3127 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
3128 Likewise.
3129 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3130 Likewise.
3131 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
3132 Likewise.
3133
cfba4fda
L
3134 * scripts/data/c++-types-x32-linux-gnu.data: New file.
3135 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
3136
80bad0cc
JM
31372012-05-24 Joseph Myers <joseph@codesourcery.com>
3138
7a25eb06
JM
3139 [BZ #10846]
3140 [BZ #14036]
3141 * math/libm-test.inc (exp_test): Add test from bug 14036.
3142 (pow_test): Add test from bug 10846.
3143
795405f9
JM
3144 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
3145 and other flags.
3146 (special_function): Do not include flags in test name.
3147 (parse_args): Likewise.
3148 * sysdeps/i386/fpu/libm-test-ulps: Update.
3149 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3150 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3151 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3153
80bad0cc
JM
3154 * math/gen-libm-test.pl (%beautify): Add entries for underflow
3155 exceptions.
3156 * math/libm-test.inc ("Philosophy"): Update comment about
3157 exception testing.
3158 (UNDERFLOW_EXCEPTION): New macro.
3159 (UNDERFLOW_EXCEPTION_OK): Likewise.
3160 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3161 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3162 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3163 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3164 (INVALID_EXCEPTION_OK): Update value.
3165 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3166 (OVERFLOW_EXCEPTION_OK): Likewise.
3167 (IGNORE_ZERO_INF_SIGN): Likewise.
3168 (test_exceptions): Handle underflow exceptions.
3169 (acos_test): Update for underflow exception expectations.
3170 (cexp_test): Likewise.
3171 (clog_test): Likewise.
3172 (clog10_test): Likewise.
3173 (csqrt_test): Likewise.
3174 (ctan_test): Likewise.
3175 (ctanh_test): Likewise.
3176 (exp_test): Likewise.
3177 (exp10_test): Likewise.
3178 (exp2_test): Likewise.
3179 (expm1_test): Likewise.
3180 (fma_test): Likewise.
3181 (j0_test): Likewise.
3182 (jn_test): Likewise.
3183 (nexttoward_test): Likewise.
3184 (pow_test): Likewise.
3185 (scalbn_test): Likewise.
3186 (scalbln_test): Likewise.
3187 (tan_test): Likewise.
3188 (y1_test): Likewise.
3189 * sysdeps/i386/fpu/libm-test-ulps: Update.
3190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3191
9e0e3d0b
DM
31922012-05-23 David S. Miller <davem@davemloft.net>
3193
3194 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3195 (__libc_sigaction): Remove unused local variables.
3196
ccd0a08f
L
31972012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3198
3199 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3200
62bdf9a6
PE
32012012-05-23 Paul Eggert <eggert@cs.ucla.edu>
3202
f8591f80
PE
3203 mktime: avoid signed integer overflow
3204 * time/mktime.c (__mktime_internal): Do not mishandle the case
3205 where diff == INT_MIN.
3206
94c7d826
PE
3207 mktime: simplify computation of average
3208 * time/mktime.c (ranged_convert): Use new time_t_avg function
3209 instead of rolling our own (probably-slower) code.
3210
ce73d683
PE
3211 mktime: do not assume signed right shift propagates sign bit
3212 * time/mktime.c (isdst_differ): New static function.
3213 (__mktime_internal): No need to normalize tm_isdst now.
3214 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3215 tm_isdst values.
3216
72a22e59
PE
3217 mktime: merge another wrapv change from gnulib
3218 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3219 from some compilers.
3220
68605433
PE
3221 mktime: remove incorrect attempt at unusual arithmetics
3222 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3223 The code didn't really work on such machines anyway.
3224 (TYPE_MINIMUM): Assume two's complement.
3225 (twos_complement_arithmetic): Verify that long_int and time_t
3226 are two's complement (or unsigned, in the latter case).
3227
03cf7fe3
PE
3228 mktime: check signed shifts on long_int and time_t, too
3229 * time/mktime.c (SHR): Check that shifts work as desired
3230 on the types long_int and time_t too, as SHR is used on
3231 such types.
3232
f04dfbc2
PE
3233 mktime: do not assume 'long' is wide enough
3234 * time/mktime.c (verify): Move decl up.
3235 (long_int): New type.
3236 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3237 to remove assumption in the code that 'long' is wide enough to
3238 store year values. This assumption is not true on x32 and on
3239 some non-glibc platforms.
3240
62bdf9a6
PE
3241 mktime: merge wrapv change from gnulib
3242 * time/mktime.c (WRAPV): New macro.
3243 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3244 (guess_time_tm, __mktime_internal): Do not assume that signed
3245 integer overflow wraps around; modern compilers generate code
3246 where this assumption is no longer valid.
3247
5e292e4f
L
32482012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3249
3250 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3251 Replace "jmp L(pseudo_end)" with "ret".
3252 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3253 Likewise.
3254
8caf8c87
AJ
32552012-05-23 Andreas Jaeger <aj@suse.de>
3256
3257 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3258 * sysdeps/unix/sysv/linux/poll.c: Remove file.
3259
1a09dc56
AJ
32602012-05-23 Andreas Jaeger <aj@suse.de>
3261 Maximilian Attems <max@stro.at>
3262
3263 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3264 New macros.
3265
1c87aba0
L
32662012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3267
3268 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3269 code so that pseudo_end is just ret and the stack pointer is
3270 correct also for static library in error case.
3271
40e45bd5
JM
32722012-05-23 Joseph Myers <joseph@codesourcery.com>
3273
c2670533
JM
3274 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
3275 move to syscalls.list.
3276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3280
40e45bd5
JM
3281 * manual/install.texi (Running make install): Do not mention Linux
3282 kernel version for which pt_chown is not needed.
3283 (Linux): Do not mention problems with nscd with 2.0 kernels.
3284 * INSTALL: Regenerated.
3285
be08eda5
AJ
32862012-05-23 Andreas Jaeger <aj@suse.de>
3287
3288 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3289 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
3290 macro.
3291 * sysdeps/unix/sysv/linux/s390/bits/mman.h
3292 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3293 * sysdeps/unix/sysv/linux/sh/bits/mman.h
3294 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3295 * sysdeps/unix/sysv/linux/i386/bits/mman.h
3296 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3297 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
3298 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3299 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
3300 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3301 * sysdeps/unix/sysv/linux/bits/in.h
3302 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
3303
a6a056bb
RM
33042012-05-22 Roland McGrath <roland@hack.frob.com>
3305
3306 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
3307 (PREPARE_VERSION): Just use assert instead, it will be elided
3308 under [NDEBUG] anyway.
3309
c9009328
L
33102012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3311
3312 * sysdeps/unix/sysv/linux/Makefile: Include
3313 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 3314 (sysdep_routines): Remove sysctl.
c9009328
L
3315 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
3316 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
3317 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
3318 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
3319 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
3320
73338355
AJ
33212012-05-22 Andreas Jaeger <aj@suse.de>
3322
3323 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
3324 that pseudo_end is just ret and the stack pointer is correct also
3325 for static library in error case.
3326
d44638b0
PP
33272012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3328
3329 [BZ #14122]
3330 * nss/nsswitch.c (defconfig_entries): New variable.
3331 (__nss_database_lookup): Don't leak defconfig entries.
3332 (nss_parse_service_list): Don't leak on error paths.
3333 (free_database_entries): New function.
3334 (free_defconfig): New function.
3335 (free_mem): Move common code to free_database_entries.
3336
31a39bd8
L
33372012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3338
da0331a8
L
3339 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
3340 Add arch_prctl.
3341 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
3342
31a39bd8
L
3343 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3344 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
3345 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
3346 New macro.
3347 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3348 (INTERNAL_SYSCALL_TYPES): Likewise.
3349 (LOAD_ARGS_TYPES_[1-6]): Likewise.
3350 (LOAD_REGS_TYPES_[1-6]): Likewise.
3351 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
3352 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
3353
45470df3
AZ
33542012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3355
3356 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
3357 copysignl for GLIBC_2_0.
3358 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
3359 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
3360 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
3361 logbl for GLIBC_2_0.
3362 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3363 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3364
98a61bcb
L
33652012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3366
a4f6e481
L
3367 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
3368 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3369
f63d5db6
L
3370 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3371 Use "neg %eax".
3372
98a61bcb
L
3373 * time/mktime.c: Update copyright years.
3374
95770f14
PE
33752012-05-22 Paul Eggert <eggert@cs.ucla.edu>
3376
6226efbd
PE
3377 mktime: merge comment-quoting-style change from gnulib
3378 * time/mktime.c: Quote 'like this' in comments.
3379 The GNU coding standards suggest that we no longer quote `like this',
3380 as "`" and "'" are typically rendered asymmetrically nowadays.
3381 The typical gnulib style is to quote 'like this' when quoting
3382 code, and "like this" when quoting English.
3383
b99e4f78
PE
3384 * time/mktime.c (compile-command): Add "-I.".
3385
643e01e6
PE
3386 mktime: merge mktime-internal.h change from gnulib
3387 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
3388
2554247d
PE
3389 mktime: merge time_r change from gnulib
3390 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
3391
826dd0ab
PE
3392 mktime: merge DEBUG change from gnulib
3393 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
3394 case system <time.h> has a #define.
3395
bd83aabe
PE
3396 mktime: merge <sys/types.h> change from gnulib
3397 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
3398 since <time.t> is now guaranteed to define time_t.
3399
95770f14
PE
3400 mktime: merge HAVE_CONFIG_H change from gnulib
3401 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
3402
5e1a27a9
L
34032012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3404
0e44a77e
L
3405 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3406 Use "neg %eax".
3407
5e1a27a9
L
3408 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
3409 __rlim_t cast.
3410 (struct rusage): Use anonymous union to pad each field to
3411 __syscall_slong_t.
3412
46259bec
DM
34132012-05-21 David S. Miller <davem@davemloft.net>
3414
3415 * Makefules (o-iterator): Remove .s cases.
3416 (compile-command.s): Delete.
3417 (COMPILE.s): Delete.
3418 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
3419
59f0c22e
JM
34202012-05-21 Joseph Myers <joseph@codesourcery.com>
3421
3422 * configure.in (libc_cv_predef_stack_protector): Only consider
3423 "foobar" and "__stack_chk_fail" lines in libc_undefs.
3424 * configure: Regenerated.
3425
20c07380
L
34262012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3427
bbb3154b
L
3428 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3429 New macro. Use R*LP on int and pointer.
3430 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
3431 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
3432 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
3433 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
3434
20c07380
L
3435 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
3436 [__WORDSIZE_TIME64_COMPAT32] instead of
3437 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
3438 (struct utmp): Likewise.
3439 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
3440 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
3441 Renamed to ...
3442 (__WORDSIZE_TIME64_COMPAT32): This.
3443 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3444 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3445 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
3446 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
3447 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
3448 (__WORDSIZE_TIME64_COMPAT32): New macro.
3449
d8d1017e
AJ
34502012-05-21 Andreas Jaeger <aj@suse.de>
3451
3452 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
3453 only if [SHARED]. Add prototype for __wcschr_ia32.
3454
6c7fb145
RM
34552012-05-21 Roland McGrath <roland@hack.frob.com>
3456
3457 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
3458 of %rbp unmolested in the jmp_buf while mangling the low bits.
3459 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
3460 unmolested high bits of %rbp while demangling the low bits.
3461 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3462
66274218
AJ
34632012-05-21 Andreas Jaeger <aj@suse.de>
3464
07c58f8f
AJ
3465 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
3466 * sunrpc/svc_simple.c: Use it for registerrpc.
3467 * sunrpc/xcrypt.c: Use it for passwd2des.
3468
66274218
AJ
3469 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
3470
61f65140
L
34712012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3472
3473 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
3474 Don't define if [__SYSCALL_WORDSIZE != 32].
3475 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
3476 New macro.
3477
5fefb436
AJ
34782012-05-21 Bruno Haible <bruno@clisp.org>
3479 Andreas Jaeger <aj@suse.de>
3480
3481 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
3482 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
3483 inptr and inend for must_buffer_ch.
3484 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
3485 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
3486 * stdio-common/Makefile (tests): Remove bug15.
3487 (bug15-ENV): Remove macro.
3488 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
3489 anymore.
3490
d8e272ab
AJ
34912012-05-19 Andreas Jaeger <aj@suse.de>
3492 Roland McGrath <roland@hack.frob.com>
3493
3494 * manual/contrib.texi: Completely rewritten. It contains now an
3495 alphabetical list of contributors and their contributions.
3496
4a56a162
RH
34972012-05-21 Richard Henderson <rth@twiddle.net>
3498
3499 * misc/getauxval.c (__getauxval): Use unsigned long int.
3500 * misc/sys/auxv.h: Include <sys/cdefs.h>.
3501 (getauxval): Use unsigned long int.
3502
d024d23c
L
35032012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3504
3505 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3506
cbc00a03
RM
35072012-05-21 Roland McGrath <roland@hack.frob.com>
3508
3509 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
3510 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
3511 __alignof__ (long double).
3512
478143fa
AZ
35132012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3514
3515 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3516
c7683a6d
RH
35172012-05-20 Richard Henderson <rth@twiddle.net>
3518
3519 * misc/getauxval.c: New file.
3520 * misc/sys/auxv.h: New file.
3521 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
3522 (routines): Add getauxval.
3523 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
3524 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
3525 * elf/dl-sysdep.c (_dl_auxv): Remove.
3526 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
3527 * elf/dl-support.c (_dl_auxv): New variable.
3528 (_dl_aux_init): Initialize it.
3529 * manual/startup.texi (Auxiliary Vector): New node.
3530 * sysdeps/generic/bits/hwcap.h: New file.
3531 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
3532 * sysdeps/powerpc/sysdep.h: ... here. Include it.
3533 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
3534 * sysdeps/sparc/sysdep.h: ... here. Include it.
3535 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
3536 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
3537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3538 Update.
c7683a6d
RH
3539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
3540 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
3541 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
3542 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
3543 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3544 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3545 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
3546 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
3547
a6f1845d
AZ
35482012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3549
3550 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3551
cbcbe830
DM
35522012-05-19 David S. Miller <davem@davemloft.net>
3553
3554 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3555
e0b16cc2
JM
35562012-05-19 Joseph Myers <joseph@codesourcery.com>
3557
3558 [BZ #14123]
3559 * math/s_ccosh.c: Include <float.h>
3560 (__ccosh): Avoid internal overflow calculating sinh and cosh
3561 values before multiplying by sin and cos values.
3562 * math/s_ccoshf.c: Likewise.
3563 * math/s_ccoshl.c: Likewise.
3564 * math/s_csin.c: Likewise.
3565 * math/s_csinf.c: Likewise.
3566 * math/s_csinl.c: Likewise.
3567 * math/s_csinh.c: Likewise.
3568 * math/s_csinhf.c: Likewise.
3569 * math/s_csinhl.c: Likewise.
3570 * math/libm-test.inc (ccos_test): Add more tests.
3571 (ccosh_test): Likewise.
3572 (csin_test): Likewise.
3573 (csinh_test): Likewise.
3574 * sysdeps/i386/fpu/libm-test-ulps: Update.
3575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3576
6ad13e08
L
35772012-05-19 H.J. Lu <hongjiu.lu@intel.com>
3578
f66f0ce8
L
3579 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
3580 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3581
6ad13e08
L
3582 * sysdeps/x86_64/x32/_itoa.h: Add comment.
3583
b1d072a7
JM
35842012-05-19 Joseph Myers <joseph@codesourcery.com>
3585
3586 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
3587 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
3588 * sysdeps/powerpc/soft-fp/Versions: Likewise.
3589 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
3590 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
3591 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
3592 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
3593 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
3594 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
3595 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
3596 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
3597 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
3598 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
3599 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
3600 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
3601 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
3602 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
3603 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
3604 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
3605 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
3606 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
3607 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
3608 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
3609 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
3610 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
3611 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
3612 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
3613 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
3614 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
3615 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
3616 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
3617
9eae47cb
AJ
36182012-05-18 Andreas Jaeger <aj@suse.de>
3619
3620 * csu/.gitignore: Delete.
3621
bb07f69f
L
36222012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3623
3624 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
3625 (timex): Use __syscall_slong_t.
3626
e6bdb741
AJ
36272012-05-18 Andreas Jaeger <aj@suse.de>
3628 Carlos O'Donell <carlos_odonell@mentor.com>
3629
3630 * manual/install.texi (Configuring and compiling): Update
3631 description about files modified in the source directory.
d6c33fda 3632 * INSTALL: Regenerated.
e6bdb741 3633
1b74487e
L
36342012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3635
3636 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
3637 value. Use "or" to set return value to -1.
3638 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
3639 negate return value.
3640
a88b64b9
TMQMF
36412012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3642
3643 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
3644 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
3645 failure if the compiler has Graphite support disabled.
3646 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
3647 Likewise.
3648 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
3649 CFLAGS-memmove.c): Likewise.
3650 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
3651 Likewise.
3652
3707636e
L
36532012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3654
610b8622
L
3655 * sysdeps/x86_64/x32/_itoa.h: New file.
3656
7cd195df
L
3657 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
3658 getdents system call only if kernel and user dirents have the
3659 same d_ino and d_off.
3660
94b07d20
L
3661 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3662 LLONG_MAX != LONG_MAX.
3663 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3664 (_fitoa_word): Likewise.
3665
18298070
L
3666 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
3667 years.
3668 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
3669 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
3670 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
3671
553c7ea4
L
3672 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
3673 include <bits/wordsize.h>. Check __x86_64__ instead of
3674 __WORDSIZE.
3675 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
3676 if __x86_64__ is defined. Use anonymous union on fpstate.
3677
3707636e
L
3678 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
3679 anonymous union.
3680
b53ef01a
AS
36812012-05-18 Andreas Schwab <schwab@linux-m68k.org>
3682
37fb1dc0
AS
3683 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3684 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
3685 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
3686 Refer to _rtld_local_ro instead of _rtld_global_ro.
3687 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
3688 Likewise.
3689 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
3690 Likewise.
3691 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
3692 Likewise.
3693 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
3694 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
3695 of _rtld_global, and rtld_progname instead of _dl_argv[0].
3696
b53ef01a
AS
3697 * sysdeps/powerpc/powerpc32/dl-machine.c
3698 (__elf_machine_runtime_setup) [PROF]: Don't reference
3699 _dl_prof_resolve.
3700
7a185db2
AJ
37012012-05-18 Andreas Jaeger <aj@suse.de>
3702
3703 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
3704 function only available for GCCs before 3.4 since GCC 3.4
3705 introduced a builtin.
3706 (lrint): Likewise.
3707 (llrintf): Likewise.
3708 (llrint): Likewise.
3709 (fmaxf): Likewise.
3710 (fmax): Likewise.
3711 (fminf): Likewise.
3712 (fmin): Likewise.
3713 (rint): Likewise.
3714 (rintf): Likewise.
3715 (nearbyint): Likewise.
3716 (nearbyintf): Likewise.
3717 (ceil): Likewise.
3718 (ceilf): Likewise.
3719 (floor): Likewise.
3720 (floorf): Likewise.
3721
3e5aef87
L
37222012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3723
428bd707
L
3724 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
3725 on both fields and cast pointer to __syscall_ulong_t.
3726
3e5aef87
L
3727 * bits/types.h (__fsword_t): New type.
3728 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
3729 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
3730 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3731 (__FSWORD_T_TYPE): Likewise.
3732 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3733 (__FSWORD_T_TYPE): Likewise.
3734 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3735 (__FSWORD_T_TYPE): Likewise.
3736 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
3737 (__FSWORD_T_TYPE): Likewise.
3738 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
3739 __SWORD_TYPE with __fsword_t.
3740 (statfs64): Likewise.
3741
1ba7c3dc
DM
37422012-05-17 David S. Miller <davem@davemloft.net>
3743
3744 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
3745
59910343
AJ
37462012-05-17 Andreas Jaeger <aj@suse.de>
3747
3748 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
3749 warning.
3750
2e4c1e9e
L
37512012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3752
3753 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
3754
de7f5ce7
AJ
37552012-05-17 Andreas Jaeger <aj@suse.de>
3756
3757 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
3758 when it is used.
3759
286abc3d
CM
37602012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3761
3762 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
3763
477cc68e
L
37642012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3765
3766 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
3767 * sysdeps/x86_64/tst-mallocalign1.c: New file.
3768
1a0994f5
CD
37692012-05-17 Andreas Jaeger <aj@suse.de>
3770 Carlos O'Donell <carlos_odonell@mentor.com>
3771
3772 [BZ #14059]
3773 * sysdeps/x86_64/multiarch/init-arch.h
3774 (bit_YMM_Usable): Rename to...
3775 (bit_AVX_Usable): ... this.
3776 (bit_FMA4_Usable): New macro.
3777 (bit_XMM_state): New macro.
3778 (bit_YMM_state): New macro.
3779 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
3780 [__ASSEMBLER__] (index_AVX_Usable): ... this.
3781 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
3782 (CPUID_OSXSAVE): New macro.
3783 (CPUID_AVX): New macro.
3784 (CPUID_FMA4): New macro.
3785 (index_YMM_Usable): Rename to...
3786 (index_AVX_Usable): ... this.
3787 (HAS_AVX): Use HAS_ARCH_FEATURE.
3788 (HAS_FMA4): Likewise.
3789 (HAS_YMM_USABLE): Remove.
3790 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3791 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
3792 are present.
3793 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
3794 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
3795 * sysdeps/x86_64/multiarch/Makefile: Likewise.
3796 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
3797 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
3798
0af797de
CM
37992012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3800
3801 * math/libm-test.c: Support platforms without multiple rounding modes.
3802 * math/bug-nextafter.c: Support platforms without FP exceptions.
3803 * math/bug-nexttoward.c: Likewise.
3804 * math/test-fenv.c: Likewise.
3805 * math/test-misc.c: Likewise.
3806 * stdlib/bug-getcontext.c: Likewise.
3807
e39745ff
AJ
38082012-05-17 Andreas Jaeger <aj@suse.de>
3809
3810 * manual/examples/search.c (critter_cmp): Change signature to
3811 avoid warnings.
3812 * manual/string.texi (Collation Functions): Likewise.
3813
48970aba
L
38142012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3815
3816 * bits/types.h: Fold copyright years.
3817 * bits/typesizes.h: Likewise.
3818 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
3819 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
3820 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
3821 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
3822 * time/time.h: Likewise.
3823
bedee953
PP
38242012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3825
3826 [BZ #208]
3827 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
3828 in instead of returning them. Return void.
3829 (__libc_mallinfo): Accumulate over all arenas.
3830 (__malloc_stats): Adjust for change in int_mallinfo interface.
3831
61653dfb
RM
38322012-05-16 Roland McGrath <roland@hack.frob.com>
3833
30b99d79
RM
3834 [BZ #10375]
3835 * configure.in (NM): Add AC_CHECK_TOOL for it.
3836 (libc_extra_cflags): New substituted variable.
3837 Check for -fstack-protector being used implicitly.
3838 * configure: Regenerated.
3839 * config.make.in (config-extra-cflags): New variable,
3840 gets @libc_extra_cflags@.
3841 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
3842
61653dfb
RM
3843 [BZ #10375]
3844 * configure.in: Check for _FORTIFY_SOURCE being predefined.
3845 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
3846 * configure: Regenerated.
3847 * config.make.in (CPPUNDEFS): New substituted variable.
3848 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
3849 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
3850 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
3851
661768bb
L
38522012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3853
3854 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
3855 (mq_attr): Use __syscall_slong_t.
3856
d4261567
L
38572012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3858
3859 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
3860 Check __x86_64__ instead of __WORDSIZE.
3861 (_STAT_VER_LINUX): Likewise.
3862 (stat): Check __x86_64__ instead of __WORDSIZE. Use
3863 __syscall_ulong_t and __syscall_slong_t.
3864 (stat64): Likewise.
3865
cf3ff365
L
38662012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3867
3868 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
3869
76cf3e4d
L
38702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3871
3872 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
3873
a637753a
L
38742012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3875
3876 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
3877 __syscall_ulong_t.
3878
d5e05119
L
3879 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
3880 include <bits/wordsize.h>. Check __x86_64__ instead of
3881 __WORDSIZE.
3882 (greg_t): Use "__extension__ long long int" if __x86_64__ is
3883 defined.
3884 (mcontext_t): Replace "unsigned long" with "unsigned long long".
3885
f62ee380
L
3886 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
3887 include <bits/wordsize.h>. Check __x86_64__ instead of
3888 __WORDSIZE.
3889 (user_regs_struct): Use "__extension__ unsigned long long"
3890 instead of "unsigned long" if __x86_64__ is defined.
3891 (user): Likewise. Pad after pointer field if __ILP32__ is
3892 defined.
3893
4e124ced
JM
38942012-05-16 Joseph Myers <joseph@codesourcery.com>
3895
6a3951a0
JM
3896 * configure.in (makeinfo): Require version 4.5 or later. Allow
3897 versions 5 to 9.
3898 * configure: Regenerated.
3899 * manual/install.texi (texinfo): Increase version requirement to
3900 4.5 or later.
3901 * INSTALL: Regenerated.
3902
4e124ced
JM
3903 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
3904
953ca31a
L
39052012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3906
3907 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
3908
617aca05
L
3909 * sysdeps/x86_64/x32/ffs.c: New file.
3910
5762f7ae
L
3911 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
3912 __syscall_ulong_t.
3913 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
3914 defined. Use __syscall_ulong_t.
3915 (shminfo): Use __syscall_ulong_t.
3916 (shm_info): Likewise.
3917
a26b6856
L
3918 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
3919 __syscall_ulong_t.
3920
cb2b9ef7
L
3921 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
3922 <bits/wordsize.h>.
3923 (msgqnum_t): Use __syscall_ulong_t.
3924 (msglen_t): Likewise.
3925 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
3926 __syscall_ulong_t.
3927
34683bb0
L
3928 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
3929 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3930
84a68786
L
3931 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
3932
48baa5f1
L
3933 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
3934 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
3935
180be88b
L
3936 * sysvipc/sys/msg.h (msgbuf): Replace long int with
3937 __syscall_slong_t.
3938
5e90c8ad
L
3939 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
3940 include <bits/wordsize.h>. Check __x86_64__ instead of
3941 __WORDSIZE.
3942
23dfb58b
L
3943 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
3944 "unsigned long long int" if __x86_64__ is defined.
3945 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
3946
ce5d54b0
L
3947 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
3948 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3949 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
3950
13dc9eac
L
3951 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
3952 <stdint.h>.
3953 (GET_PC): Cast to uintptr_t first.
3954 (GET_FRAME): Likewise.
3955 (GET_STACK): Likewise.
3956
a7895d15
L
3957 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
3958 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
3959 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
3960 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
3961 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
3962 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
3963 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
3964 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
3965 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
3966 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
3967 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
3968 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
3969 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3970 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
3971 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
3972 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
3973 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
3974 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
3975 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
3976 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
3977 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
3978 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
3979 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
3980 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
3981 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
3982 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
3983 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
3984 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
3985 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
3986
656416c9
AS
39872012-05-16 Andreas Schwab <schwab@linux-m68k.org>
3988
5bd66283
AS
3989 * Makerules (+depfiles): Also collect depfiles from .oS in
3990 $(extra-objs).
3991 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
3992 .oS, $(libnldbl-routines)).
3993
656416c9
AS
3994 * Makerules (native-compile-mkdep-flags): Define.
3995 * sunrpc/Makefile (extra-objs): Add $(addprefix
3996 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
3997 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
3998 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
3999 calling $(make-target-directory).
4000
a46f2169
L
40012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4002
4003 * bits/types.h (__snseconds_t): Removed.
4004 * time/time.h (struct timespec): Replace __snseconds_t with
4005 __syscall_slong_t.
4006 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
4007 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
4008 Likewise.
4009 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4010 (__SNSECONDS_T_TYPE): Likewise.
4011 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4012 (__SNSECONDS_T_TYPE): Likewise.
4013 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4014 (__SNSECONDS_T_TYPE): Likewise.
4015
6af6528b
L
40162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4017
4018 * sysdeps/mach/hurd/bits/typesizes.h
4019 (__SYSCALL_SLONG_TYPE): New macro.
4020 (__SYSCALL_ULONG_TYPE): Likewise.
4021
de986b56
L
40222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4023
4024 * bits/types.h (__syscall_slong_t): New type.
4025 (__syscall_ulong_t): Likewise.
4026
4027 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
4028 (__SYSCALL_ULONG_TYPE): Likewise.
4029 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4030 (__SYSCALL_SLONG_TYPE): Likewise.
4031 (__SYSCALL_ULONG_TYPE): Likewise.
4032 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4033 (__SYSCALL_SLONG_TYPE): Likewise.
4034 (__SYSCALL_ULONG_TYPE): Likewise.
4035 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4036 (__SYSCALL_SLONG_TYPE): Likewise.
4037 (__SYSCALL_ULONG_TYPE): Likewise.
4038
85736dc7
L
40392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4040
4041 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
4042 Add sigaltstack-offsets.sym.
4043 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
4044 <sigaltstack-offsets.h>.
4045 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
4046 longjmp_msg pointer.
4047 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
4048 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
4049 signal stack.
4050 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
4051
cc03b296
JM
40522012-05-15 Joseph Myers <joseph@codesourcery.com>
4053
a9538892
JM
4054 * elf/stackguard-macros.h: Remove file.
4055 * sysdeps/generic/stackguard-macros.h: New file.
4056 * sysdeps/i386/stackguard-macros.h: Likewise.
4057 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4058 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4059 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4060 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4061 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4062 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4063 * sysdeps/x86_64/stackguard-macros.h: Likewise.
4064 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
4065 <elf/stackguard-macros.h>.
4066
cc03b296
JM
4067 [BZ #14109]
4068 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
4069 __aligned__ in attribute.
4070 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
4071 (gregset_t): Likewise.
4072
93171016
L
40732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4074
4075 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
4076 * sysdeps/x86_64/64/Implies-after: Here. New file.
4077 * sysdeps/x86_64/x32/Implies-after: New file.
4078
d86813a0
L
40792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4080
4081 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
4082 and access return value for _dl_profile_fixup. Use R10_LP to
4083 load frame size.
4084
2953ec75
L
40852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4086
4087 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
4088
3b550e9e
L
40892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4090
4091 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
4092 * sysdeps/x86_64/x32/sysdep.h: New file.
4093
eda41706
L
40942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4095
4096 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
4097 * sysdeps/x86_64/setjmp.S: Likewise.
4098
9ea01d93
AZ
40992012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4100
4101 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
4102 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
4103 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
4104 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
4105 remove unused global constant.
4106
02a91938
CM
41072012-05-15 Chris Metcalf <cmetcalf@tilera.com>
4108
4109 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
4110 include of <not-cancel.h>.
4111
6540185f
RM
41122012-05-15 Roland McGrath <roland@hack.frob.com>
4113
4114 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
4115
509072a0
AJ
41162012-05-15 Jeff Law <law@redhat.com>
4117 Andreas Jaeger <aj@suse.de>
4118
4119 [BZ #13594]
4120 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
4121 out from...
4122 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
4123 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
4124 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
4125 code changing __hst_map_handle.map.
4126
ba75122d
RM
41272012-05-15 Roland McGrath <roland@hack.frob.com>
4128
4129 * configure.in (sysnames): Look for Implies-before and Implies-after
4130 files.
4131 * configure: Regenerated.
4132
890d8bd8
L
41332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4134
4135 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
4136 8-byte data alignment with LP_SIZE alignment.
4137
f6ee6623
L
41382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4139
4140 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
4141 into R10_LP.
4142
ea2626f6
L
41432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4144
4145 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
4146
085f715e
L
41472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4148
4149 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
4150 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
4151 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
4152 Likewise.
4153 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4154
be8498fc
L
41552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4156
4157 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
4158 (stackinfo_sub_sp): Likewise.
4159
70bc83b9
L
41602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4161
4162 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
4163 RAX_LP.
4164
9bc0b730
L
41652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4166
4167 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
4168 into R*_LP.
4169
6d2850e7
L
41702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4171
4172 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
4173 sizes into R*_LP.
4174
3cb84561
L
41752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4176
4177 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4178
54e2ed81
L
41792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4180
4181 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4182 into R11_LP and load __x86_64_shared_cache_size_half into
4183 R8_LP.
4184
8a17f349
L
41852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4186
4187 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4188 R8_LP.
4189
777b1eea
AZ
41902012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4191
4192 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4193 logb for POWER7.
4194 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4195 logbf for POWER7.
4196 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4197 logbl for POWER7.
4198 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4199 powerpc32/power7/fpu/s_logb.c via #include.
4200 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4201 powerpc32/power7/fpu/s_logbf.c via #include.
4202 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4203 powerpc32/power7/fpu/s_logbl.c via #include.
4204
d20d4ac2
JM
42052012-05-15 Joseph Myers <joseph@codesourcery.com>
4206
4207 * README.libm: Remove file.
4208
6cdef1ab
L
42092012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4210
4211 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4212 count for x32. Use R*_LP and omit operand-size suffix.
4213
0b254d8f
L
42142012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4215
4216 * shlib-versions: Move x86_64-.*-linux.* entries to ...
4217 * sysdeps/x86_64/64/shlib-versions: Here. New file.
4218 * sysdeps/x86_64/x32/shlib-versions: New file.
4219
ceb809dc
RM
42202012-05-14 Roland McGrath <roland@hack.frob.com>
4221
4222 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4223 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4224 Use _dl_fatal_printf instead.
4225
37f1abd4
JM
42262012-05-14 Joseph Myers <joseph@codesourcery.com>
4227
4228 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4229 set if not set by the user. Do not allow for being unset.
4230 * sysdeps/unix/sysv/linux/configure: Regenerated.
4231
11de3a33
L
42322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4233
4234 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4235 the `q' suffix from lea and replace .quad with ASM_ADDR.
4236
e02f153a
L
42372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4238
4239 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4240 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
4241 instead of $17.
4242 (PTR_DEMANGLE): Likewise.
4243
520ae0fd
L
42442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4245
4246 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4247 (LP_OP): Likewise.
4248 (ASM_ADDR): Likewise.
4249 (RAX_LP): Likewise.
4250 (RBP_LP): Likewise.
4251 (RBX_LP): Likewise.
4252 (RCX_LP): Likewise.
4253 (RDI_LP): Likewise.
4254 (RSI_LP): Likewise.
4255 (RSP_LP): Likewise.
4256 (R8_LP): Likewise.
4257 (R9_LP): Likewise.
4258 (R10_LP): Likewise.
4259 (R10_LP): Likewise.
4260 (R11_LP): Likewise.
4261 (R12_LP): Likewise.
4262 (R13_LP): Likewise.
4263 (R14_LP): Likewise.
4264 (R15_LP): Likewise.
4265
b985be81
L
42662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4267
4268 * sysdeps/x86_64/x32/dl-machine.h: New file.
4269
6a4888ff
AJ
42702012-05-14 Andreas Jaeger <aj@suse.de>
4271
4272 * manual/Makefile (subdir): Remove export of subdir.
4273 (all): Remove target.
4274 (.PHONY): Remove all from list.
4275 (mkinstalldirs): Remove.
4276 (.PHONY): Remove installdirs from list.
4277 ($(inst_infodir)/libc.info): Use make-target-directory.
4278 (installdirs): Remove.
4279 (subdir_%): Remove.
4280 (glibc-targets): Remove.
4281 (lib): Remove.
4282 (stubs): Remove.
4283 ($(objpfx)stubs ../po/manual.pot): Remove.
4284 ($(objpfx)stamp%): Remove.
4285 (make-target-directory): Remove.
4286 (subdir_install): Remove.
4287 (routines): Remove.
4288 (aux): Remove.
4289 (sources): Remove.
4290 (objects): Remove.
4291 (headers): Remove.
4292
4293 [BZ #13750]
4294 * manual/.gitignore: Remove, it's not needed anymore.
4295 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
4296 all files in it.
4297 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
4298 directory.
4299 (texis): Renamed to $(objpfx)texis.
4300 (texis-path): New, contains path to generated files.
4301 (chapters.%): Use texis-path for complete path, add extra argument
4302 libc-texinfo.sh.
4303 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
4304 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
4305 (summary,texi, stamp-summary): Use complete path of
4306 files. Generate files in build dir.
4307 (dir-add.texi): Build in build dir.
4308 (libm-err.texi,stamp-libm-err): Likewise.
4309 (version.texi, stamp-version): Likewise.
4310 (.%c.texi): Likewise.
4311 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
4312 (mostlyclean): Remove target.
4313 (realclean): Remove target.
4314 (generated): Add new variable with contents from mostlyclean and
4315 realclean, remove entries duplicated in common-mostlyclean, add
4316 stamp-libm-err and stamp-version.
4317 (generated-dirs): Add libc directory.
4318 ($(inst_infodir)/libc.info): Install files from build dir.
4319
4320 * manual/install.texi (Configuring and compiling): Adjust since
4321 the info files are not part of the tar ball anymore.
4322
7ac77294
AJ
43232012-05-14 Andreas Jaeger <aj@suse.de>
4324
4325 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
4326 variable.
4327
ffb7875d
JM
43282012-05-14 Joseph Myers <joseph@codesourcery.com>
4329
4330 [BZ #13717]
4331 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4332 to 2.2.0 where earlier.
4333 * sysdeps/unix/sysv/linux/configure: Regenerated.
4334 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
4335 Remove conditional code.
4336 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
4337 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
4338 Remove conditional code.
4339 [!__NR_lchown]: Likewise.
4340 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4341 [__NR_lchown]: Likewise.
4342 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
4343 comment referencing __ASSUME_LCHOWN_SYSCALL.
4344 * sysdeps/unix/sysv/linux/i386/sigaction.c
4345 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4346 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4347 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
4348 Remove conditional code.
4349 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
4350 (__protocol_available): Remove #if 0 code.
4351 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
4352 conditional code.
4353 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
4354 * sysdeps/unix/sysv/linux/kernel-features.h
4355 (__ASSUME_GETCWD_SYSCALL): Don't define.
4356 (__ASSUME_REALTIME_SIGNALS): Likewise.
4357 (__ASSUME_PREAD_SYSCALL): Likewise.
4358 (__ASSUME_PWRITE_SYSCALL): Likewise.
4359 (__ASSUME_POLL_SYSCALL): Likewise.
4360 (__ASSUME_LCHOWN_SYSCALL): Likewise.
4361 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
4362 non-SPARC.
4363 (__ASSUME_SIOCGIFNAME): Don't define.
4364 (__ASSUME_MSG_NOSIGNAL): Likewise.
4365 (__ASSUME_SENDFILE): Define unconditionally.
4366 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
4367 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
4368 conditional code.
4369 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
4370 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
4371 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4372 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4373 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
4374 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4375 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
4377 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4378 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4380 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4381 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
4383 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4384 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4386 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4387 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
4389 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4390 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4392 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4393 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
4395 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4396 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4398 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4399 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4400 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
4401 Remove conditional code.
4402 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4403 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4404 Remove conditional code.
4405 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4406 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
4407 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
4408 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4409 Remove conditional code.
4410 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4411 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
4412 Remove conditional code.
4413 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4414 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
4415 Remove conditional code.
4416 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4417 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4418 Remove conditional code.
4419 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4420 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4421 Remove conditional code.
4422 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4423 * sysdeps/unix/sysv/linux/sh/pwrite64.c
4424 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4425 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4426 * sysdeps/unix/sysv/linux/sigaction.c
4427 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4428 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4429 * sysdeps/unix/sysv/linux/sigpending.c
4430 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4431 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4432 * sysdeps/unix/sysv/linux/sigprocmask.c
4433 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4434 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4435 * sysdeps/unix/sysv/linux/sigsuspend.c
4436 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4437 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4438 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4439 (__libc_missing_rt_sigs): Remove.
4440 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
4441 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
4442 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
4443 Remove conditional code.
4444 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
4445 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
4446 return 1.
4447 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
4448 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
4449 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
4450 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
4451
1bfb7291
AJ
44522012-05-14 Andreas Jaeger <aj@suse.de>
4453
caae5a81
AJ
4454 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
4455 it's not used in glibc.
4456 (__coshm1): Likewise.
4457 (__acosh1p): Likewise.
4458 (__sgn): Likewise.
4459
1bfb7291
AJ
4460 * manual/string.texi (Copying and Concatenation): Add missing
4461 variable in concat example.
4462 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4463
c044d724
L
44642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4465
144c5467 4466 [BZ #14103]
c044d724
L
4467 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
4468 __builtin_clzl with __builtin_clzll.
4469
2523c62b
L
44702012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4471
4472 [BZ #14104]
4473 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
4474 libc_freeres_ptr.
4475
d7bb4c42
LD
44762012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4477
4478 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
4479 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
4480 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
4481 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
4482
9dc4e1fb
MF
44832012-05-14 Mike Frysinger <vapier@gentoo.org>
4484
4485 * NEWS: Update ia64 info.
4486
c7df0112
AS
44872012-05-12 Andreas Schwab <schwab@linux-m68k.org>
4488
4489 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
4490 used as bcopy.
4491
dc70356c
TS
44922012-05-12 Thomas Schwinge <thomas@codesourcery.com>
4493
4494 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
4495 * sysdeps/unix/syscalls.list (dup3): Likewise.
4496 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
4497 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
4498
9fb1a21f
L
44992012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4500
4501 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
4502 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
4503
4822a2a5
L
45042012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4505
4506 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
4507 thread pointer.
4508 (TLS_IE): Use mov/add instead of movq/addq to load thread
4509 pointer.
4510 (TLS_GD_PREFIX): New.
4511 (TLS_GD): Use it.
4512
842b81d6
DM
45132012-05-11 David S. Miller <davem@davemloft.net>
4514
4515 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
4516 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
4517 (_FPU_SETCW): Likewise.
4518
1cf463cd
L
45192012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4520
4521 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
4522 is 32-byte aligned.
4523
60cc4a18
AS
45242012-05-11 Andreas Schwab <schwab@linux-m68k.org>
4525
4526 [BZ #11837]
4527 * iconvdata/gb18030.c: Update tables.
4528 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
4529 characters specially.
4530 (BODY for TO_LOOP): Add encoding of missing ranges.
4531
febb44a4
TS
45322012-05-11 Thomas Schwinge <thomas@codesourcery.com>
4533
4534 [BZ #13673]
4535 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
4536 * sysdeps/mach/hurd/dup3.c: Likewise.
4537 * sysdeps/mach/hurd/readlinkat.c: Likewise.
4538 * sysdeps/powerpc/memmove.c:: Likewise.
4539
0a10fb9e
L
45402012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4541
4542 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
4543 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
4544
df8a552f
L
45452012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4546
4547 * elf/elf.h (R_X86_64_RELATIVE64): New.
4548 (R_X86_64_NUM): Updated.
4549 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4550 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
4551 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
4552 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
4553 tst-quad1pie tst-quad2pie
4554 (modules-names): Add tst-quadmod1 tst-quadmod2.
4555 ($(objpfx)tst-quad1): New dependency.
4556 ($(objpfx)tst-quad2): Likewise.
4557 ($(objpfx)tst-quad1pie): Likewise.
4558 ($(objpfx)tst-quad2pie): Likewise.
4559 * sysdeps/x86_64/tst-quad1.c: New file.
4560 * sysdeps/x86_64/tst-quad1pie.c: New file.
4561 * sysdeps/x86_64/tst-quad2.c: Likewise.
4562 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
4563 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
4564 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
4565 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
4566 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
4567
f34d6f84
ST
45682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4569
f42d41d1
ST
4570 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
4571 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
4572 * streams/stropts.h (t_scalar_t): Define type.
4573
3c3571fc
ST
4574 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
4575 (_PATH_PRESERVE): Set to "/var/lib".
4576 (_PATH_RWHODIR): Set to "/var/spool/rwho".
4577
61f06bd3
ST
4578 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
4579 instead of int.
4580
918d4d71
ST
4581 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
4582 if __dir_mkfile succeeded.
4583
f34d6f84
ST
4584 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
4585 checking for _hurd_dtablesize. Unlock it right after having
4586 finished _hurd_dtable allocation.
4587
10589b4a
TS
45882012-05-10 Thomas Schwinge <thomas@schwinge.name>
4589
674cdbc7
TS
4590 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
4591 * sysdeps/mach/hurd/configure: Regenerated.
4592 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
4593 special-casing to...
4594 * sysdeps/gnu/configure.in: ... this new file.
4595 * sysdeps/unix/sysv/linux/configure: Regenerated.
4596 * sysdeps/gnu/configure: New generated file.
4597
8e41b99f
TS
4598 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
4599 for Linux: use nsec instead of usec, as well as:
4600 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
4601 members of type struct timespec.
4602 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
4603 New macros.
4604 (struct stat64): Likewise.
4605 (_STATBUF_ST_NSEC): New macro.
4606 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
4607
10589b4a
TS
4608 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4609 __strtoul_internal rather than strtoul.
4610
63643c85
PT
46112012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4612
4613 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
4614 and reject them.
4615
3faebe6a
ST
46162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4617
4618 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
4619 which preserves existing values.
4620 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
4621
c6474b07
PT
46222012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4623
4624 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
4625 TIMEOUT values. Return EINVAL for NFDS values either negative or
4626 greater than FD_SETSIZE.
4627
1043890b
ST
46282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4629
4630 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
4631 allocated, call __vm_protect to finish enabling the existing space, and
4632 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
4633 allocate the remainder.
4634
37ed8b9b
PT
46352012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4636
4637 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
4638 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
4639
db653660
ST
46402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4641
37ed8b9b
PT
4642 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
4643 sysdeps/mach/hurd/readlink.c.
b29d4053 4644
db653660
ST
4645 * posix/tst-sysconf.c (posix_options): Only use
4646 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
4647 _POSIX_SYNCHRONIZED_IO when they are defined
4648 * sysdeps/mach/hurd/bits/posix_opt.h:
4649 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
4650 (_XOPEN_REALTIME): Undefine macro.
4651 (_XOPEN_REALTIME_THREADS): Undefine macro.
4652 (_XOPEN_SHM): Undefine macro.
4653 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
4654 macro to -1.
4655 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
4656 macro to -1.
4657 (_POSIX_ASYNC_IO): Undefine macro.
4658 (_POSIX_PRIORITIZED_IO): Undefine macro.
4659 (_POSIX_SPIN_LOCKS): Define macro to -1.
4660
ee16e894
ST
4661 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
4662 SA_NODEFER, SA_RESETHAND.
4663 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
4664 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
4665 F_DUPFD_CLOEXEC.
4666
6103ae3b
TS
46672012-05-10 Thomas Schwinge <thomas@schwinge.name>
4668
4669 * elf/Makefile (pldd-modules): Define unconditionally.
4670
80b4e5f3
TS
46712012-05-10 Thomas Schwinge <thomas@schwinge.name>
4672
4673 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
4674
edadcbd6
ST
46752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4676
4677 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
4678 Return ENOENT when name is empty.
4679 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
4680
80694780
TS
46812012-05-10 Thomas Schwinge <thomas@schwinge.name>
4682
1792c087
TS
4683 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
4684
80694780
TS
4685 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
4686
6b645f0d
ST
46872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4688
80694780
TS
4689 Fix mlock in all cases except non-readable pages.
4690 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
4691 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 4692
6b645f0d
ST
4693 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
4694 (__mkdir): When path is `/', just fail with EEXIST.
4695 * sysdeps/mach/hurd/mkdirat.c: Likewise.
4696
e468f8a3
TS
46972012-05-10 Thomas Schwinge <thomas@schwinge.name>
4698
4699 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
4700 <sys/uio.h> (for writev).
4701 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
4702 and <sys/param.h> (for MIN).
4703
a4186cff
PT
47042012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4705
4706 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
4707 REQUESTED_TIME. Properly set the remaining time and return EINTR
4708 if interrupted.
4709
510bbf14
TS
47102012-05-10 Thomas Schwinge <thomas@schwinge.name>
4711
4712 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
4713 Depend on against $(link-rpcuserlibs).
4714
5d5722e8
ST
47152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4716
a4186cff
PT
4717 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
4718 (__libc_stack_end): Do not use attribute_relro.
4719 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
4720 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 4721 to libthread-provided value.
a4186cff
PT
4722 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
4723 attribute_relro.
5d5722e8 4724
37233df9
TS
47252012-05-10 Thomas Schwinge <thomas@schwinge.name>
4726
be971a2b
TS
4727 [BZ #3748]
4728 * bits/libc-lock.h (__libc_once_get): New macro.
4729 * sysdeps/mach/bits/libc-lock.h: Likewise.
4730 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
4731 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
4732 instead of using implementation details.
4733
37233df9
TS
4734 * libio/fileops.c: Unconditionally include <kernel-features.h>.
4735 * libio/freopen.c: Likewise.
4736 * libio/freopen64.c: Likewise.
4737 * misc/syslog.c: Likewise.
4738 * nscd/connections.c: Likewise.
4739 * nscd/netgroupcache.c: Likewise.
4740 * sysdeps/posix/getcwd.c: Likewise.
4741
38de94a5
RM
47422012-05-10 Roland McGrath <roland@hack.frob.com>
4743
4744 * math/w_ilogbf.c: Add #include <limits.h>.
4745
67530489
ST
47462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4747
a4186cff 4748 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
4749 path instead of returning without unlocking.
4750
67530489
ST
4751 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
4752 immediate-write ioctls.
4753 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
4754
5aa3a74a
TS
47552012-05-10 Thomas Schwinge <thomas@schwinge.name>
4756
18bad2ae
TS
4757 * sysdeps/mach/hurd/i386/init-first.c (init): Use
4758 __builtin_frame_address instead of making assumptions about the
4759 location of the return address relative to DATA. Force early load of
4760 the return address.
4761 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
4762 __builtin_frame_address.
4763
5aa3a74a
TS
4764 dup3 for GNU Hurd.
4765 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
4766 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
4767 implement dup3 and do some further code clean-ups.
4768 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
4769 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
4770
ecd0de9a
ST
47712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4772
cd9fa985
ST
4773 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
4774
a4186cff
PT
4775 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
4776 HURD_CRITICAL_END around holding _hurd_dtable_lock.
4777 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
4778 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
4779 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
4780 d->port.lock.
802ca5a5 4781
a4186cff
PT
4782 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
4783 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
4784 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 4785
bcf55240
TS
47862012-05-10 Thomas Schwinge <thomas@schwinge.name>
4787
6960eb42
TS
4788 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
4789 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
4790 definitions.
4791
eb43375f
TS
4792 accept4 for GNU Hurd.
4793 * include/sys/socket.h (__libc_accept4): New prototype.
4794 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
4795 to implement __libc_accept4.
4796 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
4797 __libc_accept4.
4798 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
4799
bcf55240
TS
4800 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
4801 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
4802 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
4803 signal-defines.sym.
4804
6178c55b
ST
48052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4806
a4186cff 4807 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 4808
6f080c2f
TS
48092012-05-10 Thomas Schwinge <thomas@schwinge.name>
4810
4811 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
4812 assertion on O_CLOEXEC flag.
4813 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
4814 * hurd/intern-fd.c: Likewise.
4815 * hurd/port2fd.c: Likewise.
4816
bcfe3a54
ST
48172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4818
4819 [BZ #3906]
4820 * bits/in.h (IPV6_PKTINFO): Define new macro.
4821 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
4822
89c9aa49
AZ
48232012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4824
4825 [BZ #13954]
4826 [BZ #13955]
4827 [BZ #13956]
4828 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
4829 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4830 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
4831 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4832 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4833 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4834 * math/libm-test.inc (logb_test) : Additional logb tests.
4835
021db4be
AJ
48362012-05-09 Andreas Schwab <schwab@linux-m68k.org>
4837 Andreas Jaeger <aj@suse.de>
4838
4839 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
4840 * configure: Regenerated.
4841 * config.h.in (LINK_OBSOLETE_RPC): New macro.
4842 * config.make.in (link-obsolete-rpc): New substituted variable.
4843 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
4844 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
4845 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4846 (shared-only-routines): Don't set it under [link-obsolete-rpc],
4847 so that libc.a contains the symbols.
4848 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4849 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
4850 * sunrpc/auth_none.c: Likewise.
4851 * sunrpc/auth_unix.c: Likewise.
4852 * sunrpc/authdes_prot.c: Likewise.
4853 * sunrpc/authuxprot.c: Likewise.
4854 * sunrpc/clnt_gen.c: Likewise.
4855 * sunrpc/clnt_perr.c: Likewise.
4856 * sunrpc/clnt_raw.c: Likewise.
4857 * sunrpc/clnt_simp.c: Likewise.
4858 * sunrpc/clnt_tcp.c: Likewise.
4859 * sunrpc/clnt_udp.c: Likewise.
4860 * sunrpc/clnt_unix.c: Likewise.
4861 * sunrpc/des_crypt.c: Likewise.
4862 * sunrpc/des_soft.c: Likewise.
4863 * sunrpc/get_myaddr.c: Likewise.
4864 * sunrpc/key_call.c: Likewise.
4865 * sunrpc/key_prot.c: Likewise.
4866 * sunrpc/netname.c: Likewise.
4867 * sunrpc/pm_getmaps.c: Likewise.
4868 * sunrpc/pm_getport.c: Likewise.
4869 * sunrpc/pmap_clnt.c: Likewise.
4870 * sunrpc/pmap_prot.c: Likewise.
4871 * sunrpc/pmap_prot2.c: Likewise.
4872 * sunrpc/pmap_rmt.c: Likewise.
4873 * sunrpc/publickey.c: Likewise.
4874 * sunrpc/rpc_cmsg.c: Likewise.
4875 * sunrpc/rpc_common.c: Likewise.
4876 * sunrpc/rpc_dtable.c: Likewise.
4877 * sunrpc/rpc_prot.c: Likewise.
4878 * sunrpc/rpc_thread.c: Likewise.
4879 * sunrpc/rtime.c: Likewise.
4880 * sunrpc/svc.c: Likewise.
4881 * sunrpc/svc_auth.c: Likewise.
4882 * sunrpc/svc_raw.c: Likewise.
4883 * sunrpc/svc_run.c: Likewise.
4884 * sunrpc/svc_tcp.c: Likewise.
4885 * sunrpc/svc_udp.c: Likewise.
4886 * sunrpc/svc_unix.c: Likewise.
4887 * sunrpc/svcauth_des.c: Likewise.
4888 * sunrpc/xcrypt.c: Likewise.
4889 * sunrpc/xdr.c: Likewise.
4890 * sunrpc/xdr_array.c: Likewise.
4891 * sunrpc/xdr_float.c: Likewise.
4892 * sunrpc/xdr_intXX_t.c: Likewise.
4893 * sunrpc/xdr_mem.c: Likewise.
4894 * sunrpc/xdr_rec.c: Likewise.
4895 * sunrpc/xdr_ref.c: Likewise.
4896 * sunrpc/xdr_sizeof.c: Likewise.
4897 * sunrpc/xdr_stdio.c: Likewise.
4898
b5c086a2
RM
48992012-05-10 Roland McGrath <roland@hack.frob.com>
4900
4901 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
4902 change. Update copyright years.
4903
6d74dd09
JM
49042012-05-10 Joseph Myers <joseph@codesourcery.com>
4905
4906 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
4907
28e72501
MK
49082012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
4909 Joseph Myers <joseph@codesourcery.com>
4910 Paul Pluzhnikov <ppluzhnikov@google.com>
4911
4912 [BZ #14012]
4913 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
4914 requiring rpcgen.
4915 [cross-compiling] (extra-libs): Likewise.
4916 [cross-compiling] (extra-libs-others): Likewise.
4917 [cross-compiling] (librpcsvc-routines): Likewise.
4918 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
4919 [cross-compiling] (omit-deps): Likewise.
4920 (sunrpc-CPPFLAGS): New variable.
4921 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
4922 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
4923 (cross-rpcgen-objs): New variable.
4924 (extra-objs): Append $(cross-rpcgen-objs).
4925 ($(cross-rpcgen-objs)): New rule.
4926 ($(objpfx)cross-rpcgen): Likewise.
4927 (rpcgen-cmd): Define to use $(built-program-file). Expand
4928 comment.
4929 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
4930 ($(objpfx)x%.stmp): Likewise.
4931 * sunrpc/proto.h [IS_IN_build] (_): Define.
4932 [IS_IN_build] (_libc_intl_domainname): Likewise.
4933
c8c59454
L
49342012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4935
4936 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
4937 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
4938 and R_X86_64_TPOFF64.
4939
6f27cd16
JM
49402012-05-10 Joseph Myers <joseph@codesourcery.com>
4941
4942 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
4943 sysdeps/unix/sysv/syscalls.list.
4944 (stime): Likewise.
4945 (utime): Likewise.
4946 * sysdeps/unix/sysv/syscalls.list: Remove file.
4947
02467e1c
PE
49482012-05-10 Paul Eggert <eggert@cs.ucla.edu>
4949
4950 [BZ #3440]
4951 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
4952 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
4953 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
4954 (__LC_IDENTIFICATION): Make these macros useful in #if
4955 expressions, as required by C99.
4956
da392631
AS
49572012-05-10 Andreas Schwab <schwab@linux-m68k.org>
4958
4959 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
4960 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
4961 after this.
4962
8115f29b
L
49632012-05-09 H.J. Lu <hongjiu.lu@intel.com>
4964
4965 * stdlib/longlong.h: Updated from GCC.
4966
bdd74070
AJ
49672012-05-09 Andreas Jaeger <aj@suse.de>
4968
edfe0dbe
AJ
4969 * nscd/nscd.c (run_modes): Make named enum, reorder so that
4970 default is first entry.
4971 (run_mode): Set type.
4972 (main): Remove informal message about syslog.
4973 (options): Fix typo.
4974
bcfe3a54
ST
4975 [BZ #14053]
4976 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 4977 to asm.
bcfe3a54
ST
4978 (lrint): Likewise.
4979 (llrintf): Likewise.
4980 (llrint): Likewise.
4981 (rint): Likewise.
4982 (rintf): Likewise.
4983 (nearbyint): Likewise.
4984 (nearbyintf): Likewise.
bdd74070 4985
91d8d69e
AJ
49862012-05-09 Andreas Jaeger <aj@suse.de>
4987 Pedro Alves <palves@redhat.com>
4988
4989 * nscd/nscd.c (run_mode): Use enum.
4990 (main): Cleanup coding style issue.
4991
bb90b80b
AJ
49922012-05-09 Alexandre Oliva <aoliva@redhat.com>
4993 Andreas Jaeger <aj@suse.de>
4994
bcfe3a54
ST
4995 * nscd/nscd.c (go_background): Replaced with...
4996 (run_mode): ... this.
bb90b80b 4997 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
4998 (options): Add -F --foreground.
4999 (main): Implement it.
5000 (parse_opt): Parse it.
bb90b80b 5001
1a4b75a1
AJ
50022012-05-09 Andreas Jaeger <aj@suse.de>
5003
5004 [BZ #14083]
5005 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
5006 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
5007 -Wconversion warning.
5008 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
5009 Likewise.
5010
b1cc2472
JM
50112012-05-09 Joseph Myers <joseph@codesourcery.com>
5012
5013 * conform/data/locale.h-data (NULL): Use macro-constant. Require
5014 == 0.
5015 (LC_ALL): Use macro-int-constant.
5016 (LC_COLLATE): Likewise.
5017 (LC_CTYPE): Likewise.
5018 (LC_MESSAGES): Likewise.
5019 (LC_MONETARY): Likewise.
5020 (LC_NUMERIC): Likewise.
5021 (LC_TIME): Likewise.
5022 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
5023 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5024 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5025 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
5026 Specify type.
5027 [C99-based standards] (float_t): Expect type.
5028 [C99-based standards] (double_t): Expect type.
5029 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
5030 type.
5031 [C99-based standards] (HUGE_VALL): Likewise.
5032 [C99-based standards] (INFINITY): Likewise.
5033 [C99-based standards] (NAN): Likewise.
5034 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
5035 [C99-based standards] (FP_NAN): Likewise.
5036 [C99-based standards] (FP_NORMAL): Likewise.
5037 [C99-based standards] (FP_SUBNORMAL): Likewise.
5038 [C99-based standards] (FP_ZERO): Likewise.
5039 [C99-based standards] (FP_FAST_FMA): Use
5040 optional-macro-int-constant. Specify type. Require == 1.
5041 [C99-based standards] (FP_FAST_FMAF): Likewise.
5042 [C99-based standards] (FP_FAST_FMAL): Likewise.
5043 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
5044 [C99-based standards] (FP_ILOGBNAN): Likewise.
5045 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
5046 Specify type.
5047 [C99-based standards] (MATH_ERREXCEPT): Likewise.
5048 [C99-based standards] (math_errhandling): Specify type.
5049 [ISO99 || ISO11] (signgam): Do not allow.
5050 [non-C99-based standards] (copysignf): Do not allow.
5051 [non-C99-based standards] (exp2f): Likewise.
5052 [non-C99-based standards] (log2f): Likewise.
5053 [non-C99-based standards] (modff): Allow.
5054 [non-C99-based standards] (erff): Do not allow.
5055 [non-C99-based standards] (erfcf): Likewise.
5056 [non-C99-based standards] (gammaf): Likewise.
5057 [non-C99-based standards] (hypotf): Likewise.
5058 [non-C99-based standards] (j0f): Likewise.
5059 [non-C99-based standards] (j1f): Likewise.
5060 [non-C99-based standards] (jnf): Likewise.
5061 [non-C99-based standards] (lgammaf): Likewise.
5062 [non-C99-based standards] (tgammaf): Likewise.
5063 [non-C99-based standards] (y0f): Likewise.
5064 [non-C99-based standards] (y1f): Likewise.
5065 [non-C99-based standards] (ynf): Likewise.
5066 [non-C99-based standards] (isnanf): Likewise.
5067 [non-C99-based standards] (acoshf): Likewise.
5068 [non-C99-based standards] (asinhf): Likewise.
5069 [non-C99-based standards] (atanhf): Likewise.
5070 [non-C99-based standards] (cbrtf): Likewise.
5071 [non-C99-based standards] (expm1f): Likewise.
5072 [non-C99-based standards] (ilogbf): Likewise.
5073 [non-C99-based standards] (log1pf): Likewise.
5074 [non-C99-based standards] (logbf): Likewise.
5075 [non-C99-based standards] (nextafterf): Likewise.
5076 [non-C99-based standards] (remainderf): Likewise.
5077 [non-C99-based standards] (rintf): Likewise.
5078 [non-C99-based standards] (scalbf): Likewise.
5079 [non-C99-based standards] (copysignl): Likewise.
5080 [non-C99-based standards] (exp2l): Likewise.
5081 [non-C99-based standards] (log2l): Likewise.
5082 [non-C99-based standards] (modfl): Allow.
5083 [non-C99-based standards] (erfl): Do not allow.
5084 [non-C99-based standards] (erfcl): Likewise.
5085 [non-C99-based standards] (gammal): Likewise.
5086 [non-C99-based standards] (hypotl): Likewise.
5087 [non-C99-based standards] (j0l): Likewise.
5088 [non-C99-based standards] (j1l): Likewise.
5089 [non-C99-based standards] (jnl): Likewise.
5090 [non-C99-based standards] (lgammal): Likewise.
5091 [non-C99-based standards] (tgammal): Likewise.
5092 [non-C99-based standards] (y0l): Likewise.
5093 [non-C99-based standards] (y1l): Likewise.
5094 [non-C99-based standards] (ynl): Likewise.
5095 [non-C99-based standards] (isnanl): Likewise.
5096 [non-C99-based standards] (acoshl): Likewise.
5097 [non-C99-based standards] (asinhl): Likewise.
5098 [non-C99-based standards] (atanhl): Likewise.
5099 [non-C99-based standards] (cbrtl): Likewise.
5100 [non-C99-based standards] (expm1l): Likewise.
5101 [non-C99-based standards] (ilogbl): Likewise.
5102 [non-C99-based standards] (log1pl): Likewise.
5103 [non-C99-based standards] (logbl): Likewise.
5104 [non-C99-based standards] (nextafterl): Likewise.
5105 [non-C99-based standards] (remainderl): Likewise.
5106 [non-C99-based standards] (rintl): Likewise.
5107 [non-C99-based standards] (scalbl): Likewise.
5108 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5109 [non-C99-based standards] (FP_*): Do not allow.
5110 [C99-based standards] (FP_*): Change to
5111 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5112 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5113 allow.
5114 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
5115 (SIG_ERR): Likewise.
5116 [X/Open-based standards] (SIG_HOLD): Likewise.
5117 (SIG_IGN): Likewise.
5118 (SIGABRT): Use macro-int-constant. Specify type. Require
5119 positive value.
5120 (SIGFPE): Likewise.
5121 (SIGILL): Likewise.
5122 (SIGINT): Likewise.
5123 (SIGSEGV): Likewise.
5124 (SIGTER): Likewise.
5125 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
5126 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
5127 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
5128 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
5129 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
5130 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
5131 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
5132 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
5133 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
5134 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
5135 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
5136 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
5137 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
5138 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
5139 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
5140 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
5141 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
5142 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
5143 [X/Open-based standards] (SIGTRAP): Likewise.
5144 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
5145 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
5146 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
5147 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
5148 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5149 allow.
5150
b9f1922d
IW
51512012-05-08 Ian Wienand <ianw@vmware.com>
5152
5153 [BZ #14080]
5154 * time/tzset.c (__tzset_parse_tz): Update default rules for
5155 daylight time changes in the Energy Policy Act of 2005.
5156
1db86e88
AJ
51572012-05-09 Andreas Jaeger <aj@suse.de>
5158
5159 [BZ #13983]
5160 * elf/ldconfig.c (parse_conf): Change string to make clear that
5161 ldconfig only issued a warning if ld.so.conf does not exist.
5162
dee4a4e3
DM
51632012-05-08 David S. Miller <davem@davemloft.net>
5164
ee0db190
DM
5165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
5166 movxtod instead of popping the value on the stack.
5167
dee4a4e3
DM
5168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5169
6a43ec98
CD
51702012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
5171
5172 * config.h.in: Add HAVE_ARM_PCS_VFP.
5173
05c2c961
RMG
51742012-05-08 Roland Mc Grath <roland@hack.frob.com>
5175
bcfe3a54
ST
5176 [BZ #13979]
5177 * include/features.h: Warn if user requests __FORTIFY_SOURCE
5178 checking but the checks are disabled for any reason.
05c2c961 5179
4b30f61a
L
51802012-05-08 H.J. Lu <hongjiu.lu@intel.com>
5181
5182 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5183 and ELF64_R_TYPE with ELFW(R_TYPE).
5184
eee2bc67
JM
51852012-05-08 Joseph Myers <joseph@codesourcery.com>
5186
7ea5391a
JM
5187 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5188 (ulimit): Likewise.
5189
eee2bc67
JM
5190 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5191 (settimeofday): Likewise.
5192
abb66a67
MF
51932012-05-08 Mike Frysinger <vapier@gentoo.org>
5194
5195 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
5196 a struct th_u2 inside the union, and move tu_block/tu_code into
5197 a new th_u3 union of tu_block/tu_code inside of that. Move
5198 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
5199 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
5200 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5201 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5202 (th_stuff): Change to th_u1.tu_stuff.
5203 (th_data): Define.
5204 (th_msg): Change to th_u1.th_u2.tu_data.
5205
7f18b530
DM
52062012-05-07 David S. Miller <davem@davemloft.net>
5207
05760585
DM
5208 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5209
7f18b530
DM
5210 [BZ #14074]
5211 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5212 (SETUP_PIC_REG): Use it.
5213 (SETUP_PIC_REG_LEAF): Use it.
5214
495fd99f
JM
52152012-05-07 Joseph Myers <joseph@codesourcery.com>
5216
5217 [BZ #13885]
5218 [BZ #13923]
5219 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5220 USE_AS_EXPM1L.
5221 (EXPL_FINITE): Likewise.
5222 (FLDLOG): Likewise.
5223 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5224 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5225 e_expl.S.
5226 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5227 USE_AS_EXPM1L.
5228 (EXPL_FINITE): Likewise.
5229 (FLDLOG): Likewise.
5230 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5231 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5232 e_expl.S.
5233 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
5234 test of -max_value argument for long double.
5235 * sysdeps/i386/fpu/libm-test-ulps: Update.
5236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5237
6693d694
DM
52382012-05-06 David S. Miller <davem@davemloft.net>
5239
5240 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5241 quad soft-float symbols whose references which are compiler
5242 generated.
5243 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5244
6c23e11c
JM
52452012-05-06 Joseph Myers <joseph@codesourcery.com>
5246
d8b82cad
JM
5247 [BZ #13884]
5248 [BZ #13914]
5249 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5250 USE_AS_EXP10L.
5251 (EXPL_FINITE): Likewise.
5252 (FLDLOG): Likewise.
5253 (c0): Likewise.
5254 (c1): Likewise.
5255 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5256 Adjust comments for base varying.
5257 (__expl_finite): Change alias to EXPL_FINITE.
5258 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5259 e_expl.S.
5260 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5261 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5262 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5263 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5264 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5265 USE_AS_EXP10L.
5266 (EXPL_FINITE): Likewise.
5267 (FLDLOG): Likewise.
5268 (c0): Likewise.
5269 (c1): Likewise.
5270 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5271 Adjust comments for base varying.
5272 (__expl_finite): Change alias to EXPL_FINITE.
5273 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
5274 tests for bugs.
5275 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5276
6c23e11c
JM
5277 [BZ #14064]
5278 * math/libm-test.inc (check_float_internal): Correct ulp
5279 calculation for subnormal expected results.
5280
29ba805c
AJ
52812012-05-06 Andreas Jaeger <aj@suse.de>
5282
5283 * Makeconfig (+math-flags): New, set to -frounding-math.
5284 (+cflags): Add +math-flags so that all of glibc gets compiled with
5285 it.
5286
5287 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
5288
7b17aeda
JM
52892012-05-05 Joseph Myers <joseph@codesourcery.com>
5290
5779f134
JM
5291 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
5292 Disable one test.
5293
41498f4d
JM
5294 [BZ #13787]
5295 [BZ #13922]
5296 [BZ #14036]
5297 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
5298 (__ieee754_expl): Allow for and saturate large arguments.
5299 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
5300 (u_threshold): Likewise.
5301 (__exp): Call __ieee754_exp before checking for overflow and
5302 underflow.
5303 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
5304 (u_threshold): Likewise.
5305 (__expf): Call __ieee754_expf before checking for overflow and
5306 underflow.
5307 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
5308 (u_threshold): Likewise.
5309 (__expl): Call __ieee754_expl before checking for overflow and
5310 underflow.
5311 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
5312 (__ieee754_expl): Allow for and saturate large arguments.
5313 * math/libm-test.inc (exp_test): Add another test. Do not allow
5314 missing overflow exception on overflow.
5315 (expm1_test): Do not allow missing overflow exception on overflow.
5316
6698b8bf
JM
5317 * sysdeps/i386/fpu/e_expl.c: Move to ...
5318 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
5319 rather than using inline asm.
5320 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
5321 * sysdeps/x86_64/fpu/e_expl.S: Copy from
5322 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
5323
7b17aeda
JM
5324 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
5325 (nice): Likewise.
5326 (poll): Likewise.
5327 (signal): Likewise.
5328 (time): Likewise.
5329 (times): Likewise.
5330
f7c85819
JM
53312012-05-04 Joseph Myers <joseph@codesourcery.com>
5332
5333 * sysdeps/unix/syscalls.list (adjtime): Add entry from
5334 sysdeps/unix/common/syscalls.list.
5335 (fchmod): Likewise.
5336 (fchown): Likewise.
5337 (ftruncate): Likewise.
5338 (getrusage): Likewise.
5339 (gettimeofday): Likewise.
5340 (setpgid): Likewise.
5341 (setregid): Likewise.
5342 (setreuid): Likewise.
5343 (sigaction): Likewise.
5344 (truncate): Likewise.
5345 (vhangup): Likewise.
5346 * sysdeps/unix/common/syscalls.list: Remove file.
5347 * sysdeps/unix/bsd/Implies: Don't include unix/common.
5348 * sysdeps/unix/sysv/linux/Implies: Likewise.
5349
336270d0
L
53502012-05-04 H.J. Lu <hongjiu.lu@intel.com>
5351
5352 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
5353 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
5354 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
5355 Moved to ...
5356 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5357 Here.
5358 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
5359 to ...
5360 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
5361 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
5362 to ...
5363 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
5364 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
5365 to ...
5366 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
5367 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
5368 to ...
5369 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
5370 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
5371 to ...
5372 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
5373 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
5374 to ...
5375 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
5376 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
5377 to ...
5378 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5379 Here.
5380 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
5381 to ...
5382 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
5383 Here.
5384 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
5385 to ...
5386 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
5387 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
5388 Moved to ...
5389 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
5390 Here.
5391 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
5392 to ...
5393 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
5394
d128e450
JM
53952012-05-04 Joseph Myers <joseph@codesourcery.com>
5396
fa8ee516
JM
5397 * sysdeps/unix/common/bits/dirent.h: Remove file.
5398 * sysdeps/unix/common/bits/fcntl.h: Likewise.
5399
d128e450
JM
5400 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
5401 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
5402 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
5403 * sysdeps/unix/bsd/isatty.c: Likewise.
5404 * sysdeps/unix/bsd/tcdrain.c: Likewise.
5405 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
5406 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
5407
ff8faaf0 54082012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 5409
62881be4 5410 [BZ #13563]
31dc8730
AZ
5411 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
5412 long double comparison inaccuracies.
5413 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5414 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5415
6fef930c
AS
54162012-05-04 Andreas Schwab <schwab@linux-m68k.org>
5417
5418 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
5419 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
5420
8f203e6c
JM
54212012-05-04 Joseph Myers <joseph@codesourcery.com>
5422
5423 [BZ #14049]
5424 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
5425 nonzero digits before rounding a hex value.
5426 * stdlib/tst-strtod.c (tests): Add another test.
5427
5197d9c2
AK
54282012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5429
5430 * sysdeps/s390/fpu/libm-test-ulps: Update.
5431
f0c1dedf
AJ
54322012-05-03 Andreas Jaeger <aj@suse.de>
5433
5434 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
5435 does not get optimized out.
5436 (malloc_opt_barrier): New.
5437
a65ef2ae 54382012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 5439 Roland McGrath <roland@hack.frob.com>
a65ef2ae 5440
2b942cb7 5441 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 5442 intermediate file deletion.
2b942cb7 5443 (generated): Add .symlist files.
a65ef2ae 5444
54b71e02
JM
54452012-05-03 Joseph Myers <joseph@codesourcery.com>
5446
5447 [BZ #13775]
5448 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
5449 Redirect under this condition.
5450 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5451 [__USE_GNU] (__dprintf_chk): Not under this condition.
5452 [__USE_GNU] (__vdprintf_chk): Likewise.
5453 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
5454 under this condition.
5455 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5456 [__USE_XOPEN2K8] (dprintf): Define under this condition.
5457 [__USE_XOPEN2K8] (vdprintf): Likewise.
5458 [__USE_GNU] (__dprintf_chk): Not under this condition.
5459 [__USE_GNU] (__vdprintf_chk): Likewise.
5460 [__USE_GNU] (dprintf): Likewise.
5461 [__USE_GNU] (vdprintf): Likewise.
5462
d3dfcc41
RM
54632012-05-03 Roland McGrath <roland@hack.frob.com>
5464
5465 * elf/Makefile (common-generated): Set this instead of generated for
5466 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
5467 $(all-built-dso)-derived lists.
5468
7ac30cc5
AJ
54692012-05-03 Andreas Jaeger <aj@suse.de>
5470
0c51e550
AJ
5471 * sysdeps/i386/fpu/libm-test-ulps: Update.
5472
7ac30cc5
AJ
5473 * FAQ: Removed.
5474 * FAQ.in: Likewise.
5475 * scripts/gen-FAQ.pl: Likewise.
5476 * manual/install.texi (Installation): Point to online location of
5477 FAQ.
5478 * Makefile (files-for-dist): Remove FAQ.
5479 (FAQ): Remove.
5480
d4c2917f
AM
54812012-05-02 Allan McRae <allan@archlinux.org>
5482
5483 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
5484 (LDFLAGS-reldepmod5.so): Likewise.
5485 (LDFLAGS-reldep6mod1.so): Likewise.
5486 (LDFLAGS-reldep6mod4.so): Likewise.
5487 (LDFLAGS-reldep8mod3.so): Likewise.
5488 (LDFLAGS-unload4mod1.so): Likewise.
5489 (LDFLAGS-unload4mod2.so): Likewise.
5490 (LDFLAGS-tst-initorder): Likewise.
5491 (LDFLAGS-tst-initordera2.so): Likewise.
5492 (LDFLAGS-tst-initordera3.so): Likewise.
5493 (LDFLAGS-tst-initordera4.so): Likewise.
5494 (LDFLAGS-tst-initorderb2.so): Likewise.
5495 (LDFLAGS-noload): Likewise.
5496 (LDFLAGS-next): Likewise.
5497 (LDFLAGS-order2mod1.so): Likewise.
5498 (LDFLAGS-order2mod2.so): Likewise.
5499 (LDFLAGS-tst-initorder2): Likewise.
5500 (LDFLAGS-tst-initorder2a.so): Likewise.
5501 (LDFLAGS-tst-initorder2b.so): Likewise.
5502 (LDFLAGS-tst-initorder2c.so): Likewise.
5503 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
5504
d77f993f
DM
55052012-05-02 David S. Miller <davem@davemloft.net>
5506
5507 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5508
171a70b4
PP
55092012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
5510
5511 [BZ #14055]
5512 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
5513
0be196ad
AJ
55142012-05-02 Andreas Jaeger <aj@suse.de>
5515
5516 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
5517 since we manipulate rounding mode.
5518 (CPPFLAGS-test-idouble.c): Likewise.
5519 (CPPFLAGS-test-ifloat.c): Likewise.
5520 (CFLAGS-test-ldouble.c): Likewise.
5521 (CFLAGS-test-double.c): Likewise.
5522 (CFLAGS-test-float.c): Likewise.
5523 (CFLAGS-test-misc.c): Likewise.
5524 (CFLAGS-test-test-fenv.c): Likewise.
5525
4f9d04aa
AZ
55262012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5527
2b942cb7
RM
5528 [BZ #2550]
5529 [BZ #2570]
5530 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
5531 comparisons to determine direction to adjust input.
4f9d04aa 5532
82a79e7d
RM
55332012-05-01 Roland McGrath <roland@hack.frob.com>
5534
f5a01ca9
RM
5535 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
5536 output to the target.
5537
90fe4186
RM
5538 * scripts/localplt.awk: New file.
5539 * elf/Makefile ($(objpfx)check-localplt): Target removed.
5540 (check-localplt-CFLAGS): Variable removed.
5541 ($(all-built-dso:=.jmprel)): New static pattern rule.
5542 (generated): Add those targets.
5543 (localplt-built-dso): New variable.
5544 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
5545
5546 * elf/check-localplt.c: File removed.
5547
82397ed6
RM
5548 * scripts/check-execstack.awk: New file.
5549 * elf/Makefile ($(objpfx)check-execstack): Target removed.
5550 (check-execstack-CFLAGS): Variable removed.
5551 ($(objpfx)check-execstack.h): Target removed.
5552 ($(objpfx)execstack-default): New target.
5553 (generated): Add that instead of check-execstack.h.
5554 ($(all-built-dso:=.phdr)): New static pattern rule.
5555 (generated): Add those targets.
5556 * elf/check-execstack.c: File removed.
5557
82a79e7d
RM
5558 * scripts/check-textrel.awk: New file.
5559 * elf/Makefile ($(objpfx)check-textrel): Target removed.
5560 (check-textrel-CFLAGS): Variable removed.
5561 (all-built-dso): Use := to define.o
5562 ($(all-built-dso:=.dyn)): New static pattern rule.
5563 (generated): Add those targets.
5564 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
5565 * config.make.in (READELF): New substituted variable.
5566 * elf/check-textrel.c: File removed.
5567
62fde54f 55682012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 5569
615605c9
JM
5570 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5571 allow.
5572 * conform/data/ctype.h-data [C99-based standards] (isblank):
5573 Expect function.
5574 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
5575 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
5576 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5577 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
5578 Specify type. Require positive value.
5579 (EILSEQ): Likewise.
5580 (ERANGE): Likewise.
5581 [ISO || POSIX] (EILSEQ): Do not expect.
5582 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
5583 Specify type. Require positive value.
5584 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
5585 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
5586 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
5587 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
5588 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
5589 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
5590 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
5591 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
5592 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
5593 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
5594 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
5595 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
5596 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
5597 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
5598 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
5599 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
5600 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
5601 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
5602 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
5603 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
5604 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
5605 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
5606 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
5607 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
5608 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
5609 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
5610 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
5611 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
5612 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
5613 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
5614 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
5615 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
5616 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
5617 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
5618 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
5619 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
5620 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
5621 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
5622 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
5623 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
5624 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
5625 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
5626 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
5627 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
5628 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
5629 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
5630 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
5631 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
5632 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
5633 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
5634 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
5635 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
5636 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
5637 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
5638 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
5639 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
5640 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
5641 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
5642 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
5643 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
5644 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
5645 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
5646 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
5647 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
5648 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
5649 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
5650 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
5651 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
5652 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
5653 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
5654 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
5655 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
5656 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
5657 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
5658 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
5659 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
5660 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
5661 Require >= 2.
5662 (FLT_ROUNDS): Expect as macro, not constant.
5663 (FLT_MANT_DIG): Use macro-int-constant.
5664 (DBL_MANT_DIG): Likewise.
5665 (LDBL_MANT_DIG): Likewise.
5666 (FLT_DIG): Likewise.
5667 (DBL_DIG): Likewise.
5668 (LDBL_DIG): Likewise.
5669 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
5670 (DBL_MIN_EXP): Likewise.
5671 (LDBL_MIN_EXP): Likewise.
5672 (FLT_MAX_EXP): Use macro-int-constant.
5673 (DBL_MAX_EXP): Likewise.
5674 (LDBL_MAX_EXP): Likewise.
5675 (FLT_MAX_10_EXP): Likewise.
5676 (DBL_MAX_10_EXP): Likewise.
5677 (LDBL_MAX_10_EXP): Likewise.
5678 (FLT_MAX): Use macro-constant.
5679 (DBL_MAX): Likewise.
5680 (LDBL_MAX): Likewise.
5681 (FLT_EPSILON): Use macro-constant. Give upper bound.
5682 (DBL_EPSILON): Likewise.
5683 (LDBL_EPSILON): Likewise.
5684 (FLT_MIN): Likewise.
5685 (DBL_MIN): Likewise.
5686 (LDBL_MIN): Likewise.
5687 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
5688 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
5689 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
5690 [ISO11] (FLT_HAS_SUBNORM): Likewise.
5691 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
5692 [ISO11] (DBL_DECIMAL_DIG): Likewise.
5693 [ISO11] (FLT_DECIMAL_DIG): Likewise.
5694 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
5695 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
5696 [ISO11] (FLT_TRUE_MIN): Likewise.
5697 [ISO11] (LDBL_TRUE_MIN): Likewise.
5698 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5699 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
5700 (SCHAR_MIN): Use macro-int-constant. Specify type.
5701 (SCHAR_MAX): Likewise.
5702 (UCHAR_MAX): Likewise.
5703 (CHAR_MIN): Likewise.
5704 (CHAR_MAX): Likewise.
5705 (MB_LEN_MAX): Use macro-int-constant.
5706 (SHRT_MIN): Use macro-int-constant. Specify type.
5707 (SHRT_MAX): Likewise.
5708 (USHRT_MAX): Likewise.
5709 (INT_MAX): Likewise.
5710 (INT_MIN): Use macro-int-constant. Specify type. Make upper
5711 bound negative.
5712 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
5713 bound with "U".
5714 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5715 bound with "L".
5716 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
5717 bound negative. Suffix upper bound with "L".
5718 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5719 bound with "UL".
5720 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
5721 Specify type.
5722 [C99-based standards] (LLONG_MAX): Likewise.
5723 [C99-based standards] (ULLONG_MAX): Likewise.
5724 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
5725 == 0.
5726 [ISO11] (max_align_t): Require type.
5727 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5728
c9140a62
JM
5729 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
5730 from $CFLAGS, without defining away __attribute__ calls.
5731 (checknamespace): Use $CFLAGS_namespace.
5732
9af0bf29
JM
5733 * conform/conformtest.pl (@keywords): Only include C99 keywords
5734 for standards based on C99 or C11.
5735
343222a2
JM
5736 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
5737 Disable tests.
5738 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
5739 UNIX98]: Likewise.
5740
661f8cf0
JM
5741 * conform/conformtest.pl: Handle "macro-int-constant" and test for
5742 usability of symbols in #if.
5743
ee74b9cb
JM
5744 * conform/conformtest.pl: If macro or constant types start
5745 "promoted:", expect the symbol to be of the following type
5746 promoted by the integer promotions.
62fde54f 5747
aafc49b3
JM
5748 * conform/conformtest.pl: Parse all "constant" and "macro" lines
5749 in one place. Also handle "macro-constant".
5750
fefdf574
JM
5751 * conform/conformtest.pl: Only accept expected macro values with
5752 "==". Parse all "macro" lines in one place.
5753 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
5754
f2d922fe
JM
5755 * conform/conformtest.pl: Handle braced types on "constant" lines
5756 instead of handling "typed-constant".
5757 * conform/data/signal.h-data: Use "constant" instead of
5758 "typed-constant".
5759
d22956c9
JM
5760 * conform/conformtest.pl: Handle "optional-" at start of lines in
5761 one place rather than duplicating several cases. Handle each
5762 format of "macro" line with initial "optional-".
5763
028e2e38
JM
5764 * conform/conformtest.pl: Only accept expected constant or
5765 optional-constant values with "==". Parse all "constant" lines in
5766 one place. Parse all "optional-constant" lines in one place.
5767 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
5768 * conform/data/fmtmsg.h-data: Likewise.
5769 * conform/data/netinet/in.h-data: Likewise.
5770 * conform/data/tar.h-data: Likewise.
5771 * conform/data/limits.h-data: Use "==" form on "constant" and
5772 "optional-constant" lines.
5773
1b8f2850
JM
5774 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
5775 Use -std=c99 for XOPEN2K.
5776 (@knownproblems): Remove.
5777 (newtoken): Don't check %isknown.
5778
a05a144b
JM
5779 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
5780 Do not expect macro.
5781 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
5782 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
5783 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
5784 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
5785 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
5786 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
5787 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
5788 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
5789 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
5790 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
5791 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
5792 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
5793 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
5794 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
5795 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
5796 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
5797 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
5798 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
5799 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
5800 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
5801 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
5802 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
5803 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
5804 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
5805 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
5806 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
5807 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
5808 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
5809 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
5810 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
5811 [XPG3] (acosh): Likewise.
5812 [XPG3] (asinh): Likewise.
5813 [XPG3] (atanh): Likewise.
5814 [XPG3] (cbrt): Likewise.
5815 [XPG3] (expm1): Likewise.
5816 [XPG3] (ilogb): Likewise.
5817 [XPG3] (log1p): Likewise.
5818 [XPG3] (logb): Likewise.
5819 [XPG3] (nextafter): Likewise.
5820 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
5821 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
5822 [XPG3] (remainder): Likewise.
5823 [XPG3] (rint): Likewise.
5824 [XPG3 || XPG4 || UNIX98] (round): Likewise.
5825 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
5826 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
5827 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
5828 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
5829 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
5830 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
5831 [UNIX98 || XOPEN2K] (scalb): Expect.
5832 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
5833 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
5834 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
5835 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
5836 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
5837 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
5838 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
5839 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
5840 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
5841 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
5842 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
5843 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
5844 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
5845 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
5846 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
5847 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
5848 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
5849 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
5850 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
5851 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
5852 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
5853 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
5854 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
5855 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
5856 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
5857 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
5858 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
5859 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
5860 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
5861 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
5862 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
5863 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
5864 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
5865 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
5866 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
5867 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
5868 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
5869 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
5870 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
5871 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
5872 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
5873 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
5874 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
5875 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
5876 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
5877 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
5878 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
5879 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
5880 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
5881 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
5882 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
5883 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
5884 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
5885 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
5886 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
5887 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
5888 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
5889 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
5890 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
5891 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
5892 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
5893 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
5894 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
5895 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
5896 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
5897 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
5898 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
5899 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
5900 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
5901 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
5902 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
5903 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
5904 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
5905 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
5906 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
5907 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
5908 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
5909 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
5910 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
5911 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
5912 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
5913 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
5914 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
5915 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
5916 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
5917 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
5918 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
5919 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
5920 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
5921 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
5922 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
5923 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
5924 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
5925 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
5926 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
5927 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
5928 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
5929 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
5930 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
5931 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
5932 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
5933 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
5934 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
5935 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
5936 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
5937 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
5938 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
5939 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
5940 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
5941 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
5942 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
5943 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
5944 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
5945 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
5946 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
5947 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
5948 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
5949 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
5950 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
5951 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
5952 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
5953 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
5954 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
5955 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
5956 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
5957 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
5958 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
5959 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
5960 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
5961 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
5962 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
5963 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
5964 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
5965 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
5966 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
5967 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
5968 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
5969
73c5ebe3
JM
5970 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
5971 _XOPEN_SOURCE_EXTENDED for XPG4.
5972
39c33b6c
JM
5973 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
5974
62fde54f
JM
5975 * Makeconfig (localtime): Remove variable.
5976 (inst_localtime-file): Likewise.
5977
0741d64c
AS
59782012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5979
5980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5981 Update.
5982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5983 Update.
5984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5985 Update.
5986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5987 Update.
5988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5989 Update.
5990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
5991 Update.
5992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5993 Update.
5994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
5995 Update.
5996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5997 Update.
5998
7cb029ee
JM
59992012-05-01 Joseph Myers <joseph@codesourcery.com>
6000
6001 [BZ #2550]
6002 [BZ #2570]
6003 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6004 comparisons to determine direction to adjust input.
6005 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6006 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
6007 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6008 Likewise.
6009 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6010 Likewise.
6011 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6012 Likewise.
6013 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6014 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6015 Likewise.
6016 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6017 Likewise.
6018 * math/libm-test.inc (nexttoward_test): Add more tests.
6019
412bd966
AS
60202012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6021
6022 [BZ #14040]
6023 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
6024 in version GLIBC_2.1, not GLIBC_2.0.
6025 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
6026 Likewise.
6027
9568c0c2
JM
60282012-04-30 Joseph Myers <joseph@codesourcery.com>
6029
adfbc8ac
JM
6030 [BZ #13942]
6031 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
6032 (1 - x) * (1 + x).
6033 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6034 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
6035 * math/libm-test.inc (acos_test): Add more tests.
6036 (asin_test): Likewise.
6037 * sysdeps/i386/fpu/libm-test-ulps: Update.
6038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6039
5ba3cc69
JM
6040 [BZ #14034]
6041 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
6042 of square root.
6043 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
6044 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6045 * math/libm-test.inc (acos_test_tonearest): New function.
6046 (acos_test_towardzero): Likewise.
6047 (acos_test_downward): Likewise.
6048 (acos_test_upward): Likewise.
6049 (asin_test_tonearest): Likewise.
6050 (asin_test_towardzero): Likewise.
6051 (asin_test_downward): Likewise.
6052 (asin_test_upward): Likewise.
6053 (main): Call the new functions.
6054 * sysdeps/i386/fpu/libm-test-ulps: Update.
6055 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6056
9568c0c2
JM
6057 [BZ #13884]
6058 [BZ #13924]
6059 * math/e_exp10.c: Include <float.h>.
6060 (__ieee754_exp10): Handle underflow here rather than multiplying
6061 large negative argument by M_LN10.
6062 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
6063 of __ieee754_expf.
6064 * math/e_exp10l.c: Include <float.h>.
6065 (__ieee754_exp10l): Handle underflow here rather than multiplying
6066 large negative argument by M_LN10l.
6067 * math/libm-test.inc (exp10_test): Add another test. Do not allow
6068 spurious overflow exception on underflow.
6069
5ac3ea17
MP
60702012-04-29 Marek Polacek <polacek@redhat.com>
6071
6072 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
6073 (__fortify_function): New macro.
6074 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
6075 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
6076 __extern_always_inline.
6077 * libio/bits/stdio2.h: Likewise.
6078 * libio/bits/stdio.h: Likewise.
6079 * string/string.h: Likewise.
6080 * string/bits/string3.h: Likewise.
6081 * include/stdio.h: Likewise.
6082 * stdlib/bits/stdlib.h: Likewise.
6083 * stdlib/stdlib.h: Likewise.
6084 * rt/bits/mqueue2.h: Likewise.
6085 * rt/mqueue.h: Likewise.
6086 * posix/bits/unistd.h: Likewise.
6087 * posix/unistd.h: Likewise.
6088 * io/bits/poll2.h: Likewise.
6089 * io/bits/fcntl2.h: Likewise.
6090 * io/fcntl.h: Likewise.
6091 * io/sys/poll.h: Likewise.
6092 * misc/bits/syslog.h: Likewise.
6093 * misc/bits/syslog-ldbl.h: Likewise.
6094 * misc/sys/syslog.h: Likewise.
6095 * socket/bits/socket2.h: Likewise.
6096 * socket/sys/socket.h: Likewise.
6097 * debug/tst-chk1.c: Likewise.
6098 * wcsmbs/bits/wchar2.h: Likewise.
6099 * wcsmbs/bits/wchar-ldbl.h: Likewise.
6100 * wcsmbs/wchar.h: Likewise.
6101
ecf0ebfb
AJ
61022012-04-29 Andreas Jaeger <aj@suse.de>
6103
6104 * Makerules (tests): Remove enable-check-abi protection.
6105 (check-abi-warn): Remove.
6106 (check-abi-%): Remove check-abi-warn usage.
6107
6108 * configure.in: Remove check-abi configure option.
6109 * configure: Regenerated.
6110 * config.make.in (enable-check-abi): Remove.
6111
6d5c57fa
AS
61122012-04-28 Andreas Schwab <schwab@linux-m68k.org>
6113
24c5d07e 6114 [BZ #14033]
ded5180a
AS
6115 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
6116 double functions to double *_finite functions.
6117
7e0d315d
AS
6118 [BZ #13941]
6119 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
6120 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
6121 LDBL_MIN_EXP.
6122 * stdio-common/Makefile (tests): Add tst-sprintf3.
6123 * stdio-common/tst-sprintf3.c: New file.
6124
6d5c57fa
AS
6125 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
6126 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
6127
0749ff8b
JM
61282012-04-28 Joseph Myers <joseph@codesourcery.com>
6129
6130 * conform/conformtest.pl: Remove duplicate typed-constant
6131 handling.
6132
8dbd5d7b
DM
61332012-04-28 David S. Miller <davem@davemloft.net>
6134
6135 * Makerules (%.abilist): Add vpath on sysdep_dirs.
6136 (check-abi-%): Remove AWK script prerequisite and explicit
6137 abilist directory.
6138 (check-abi): Rewrite to just diff the symlist with the abilist.
6139 (config-tls, config-abi-config): Delete, no longer used.
6140 (update-abi-%): Remove AWK script and explicit abilist directory.
6141 (update-abi): Rewrite to simply compare and conditionally copy the
6142 symlist and the sysdep abilist file. Remove update-abi-config
6143 checks.
6144 * abilist/ld.abilist: Remove.
6145 * abilist/libBrokenLocale.abilist: Remove.
6146 * abilist/libanl.abilist: Remove.
6147 * abilist/libcrypt.abilist: Remove.
6148 * abilist/libdl.abilist: Remove.
6149 * abilist/librt.abilist: Remove.
6150 * abilist/libthread_db.abilist: Remove.
6151 * abilist/libutil.abilist: Remove.
6152 * scripts/extract-abilist.awk: Remove.
6153 * scripts/merge-abilist.awk: Remove.
6154 * sysdeps/generic/libcidn.abilist: New file.
6155 * sysdeps/generic/libnss_compat.abilist: New file.
6156 * sysdeps/generic/libnss_db.abilist: New file.
6157 * sysdeps/generic/libnss_dns.abilist: New file.
6158 * sysdeps/generic/libnss_files.abilist: New file.
6159 * sysdeps/generic/libnss_hesiod.abilist: New file.
6160 * sysdeps/generic/libnss_nis.abilist: New file.
6161 * sysdeps/generic/libnss_nisplus.abilist: New file.
6162 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
6163 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
6164 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
6165 file.
6166 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
6167 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
6168 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
6169 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
6170 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
6171 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
6172 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
6173 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
6174 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
6175 file.
6176 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
6177 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
6178 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6179 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6180 file.
6181 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6182 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6183 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6184 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6185 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6186 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6187 file.
6188 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6189 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6190 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6191 file.
6192 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6193 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6194 New file.
6195 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6196 New file.
6197 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6198 New file.
6199 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6200 New file.
6201 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6202 New file.
6203 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6204 New file.
6205 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6206 New file.
6207 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6208 New file.
6209 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6210 New file.
6211 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6212 New file.
6213 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6214 New file.
6215 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6216 New file.
6217 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6218 New file.
6219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6220 file.
6221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6222 New file.
6223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6224 New file.
6225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6226 file.
6227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6228 New file.
6229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6230 New file.
6231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6232 file.
6233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6234 New file.
6235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6236 New file.
6237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6238 New file.
6239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6240 New file.
6241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6242 New file.
6243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6244 New file.
6245 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6246 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6247 file.
6248 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6249 New file.
6250 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6251 file.
6252 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6253 file.
6254 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6255 file.
6256 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6257 file.
6258 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6259 file.
6260 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6261 New file.
6262 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6263 file.
6264 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6265 file.
6266 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6267 New file.
6268 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6269 file.
6270 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6271 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
6272 file.
6273 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6274 New file.
6275 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
6276 file.
6277 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
6278 file.
6279 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
6280 file.
6281 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
6282 file.
6283 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
6284 file.
6285 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6286 New file.
6287 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
6288 file.
6289 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
6290 file.
6291 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6292 New file.
6293 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
6294 file.
6295 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6296 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
6297 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
6298 file.
6299 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
6300 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
6301 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
6302 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
6303 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
6304 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
6305 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
6306 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
6307 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
6308 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
6309 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
6310 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
6311 file.
6312 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6313 New file.
6314 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
6315 file.
6316 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
6317 file.
6318 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
6319 file.
6320 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
6321 file.
6322 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
6323 file.
6324 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6325 New file.
6326 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6327 New file.
6328 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
6329 file.
6330 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6331 New file.
6332 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
6333 file.
6334 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
6335 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
6336 file.
6337 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6338 New file.
6339 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
6340 file.
6341 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
6342 file.
6343 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
6344 file.
6345 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
6346 file.
6347 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
6348 file.
6349 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6350 New file.
6351 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6352 New file.
6353 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
6354 file.
6355 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6356 New file.
6357 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
6358 file.
6359
41d73a1b
JM
63602012-04-28 Joseph Myers <joseph@codesourcery.com>
6361
6362 * conform/conformtest.pl: Fix typo in handling typed-constant from
6363 allow-header.
6364
28aeeda4
JM
63652012-04-27 Joseph Myers <joseph@codesourcery.com>
6366
adae8f5e
JM
6367 * README: Cut down references to pre-2.6 Linux kernels and
6368 Linuxthreads. Update lists of configurations in libc and ports
6369 and sort alphabetically. Say "or newer" with Linux kernel version
6370 requirements.
6371
28aeeda4
JM
6372 * config.h.in [IS_IN_build]: Allow compiling without optimization.
6373
a462cb63
RA
63742012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6375
6376 [BZ #887]
6377 * math/libm-test.inc (logb_test_downward): New test to expose
6378 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
6379 rounding mode.
6380
6ad3493e
JM
63812012-04-27 Joseph Myers <joseph@codesourcery.com>
6382
6383 [BZ #14027]
6384 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
6385 to be done.
6386 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
6387 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
6388
2ce4f015
JM
63892012-04-26 Joseph Myers <joseph@codesourcery.com>
6390
5aeb141a
JM
6391 * sysdeps/unix/i386/brk.S: Remove file.
6392 * sysdeps/unix/i386/dl-brk.S: Likewise.
6393 * sysdeps/unix/i386/pipe.S: Likewise.
6394 * sysdeps/unix/i386/sigreturn.S: Likewise.
6395 * sysdeps/unix/i386/syscall.S: Likewise.
6396 * sysdeps/unix/i386/vfork.S: Likewise.
6397 * sysdeps/unix/i386/wait.S: Likewise.
6398
7143acae
JM
6399 * sysdeps/unix/common/tcsendbrk.c: Move to ...
6400 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
6401
2ce4f015
JM
6402 * configure.in (arm*-none*): Do not allow without
6403 --enable-hacker-mode.
6404 (netbsd*): Remove case setting base_os.
6405 (386bsd*): Likewise.
6406 (freebsd*): Likewise.
6407 (bsdi*): Likewise.
6408 (osf*): Likewise.
6409 (sunos*): Likewise.
6410 (ultrix*): Likewise.
6411 (newsos*): Likewise.
6412 (dynix*): Likewise.
6413 (*bsd*): Likewise.
6414 (sysv*): Likewise.
6415 (isc*): Likewise.
6416 (esix*): Likewise.
6417 (sco*): Likewise.
6418 (minix*): Likewise.
6419 (irix4*): Likewise.
6420 (irix6*): Likewise.
6421 (solaris[2-9]*): Likewise.
6422 (none): Likewise.
6423 * configure: Regenerated.
6424
0ac229c8
AZ
64252012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6426
6427 [BZ #11521]
6428 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
6429 overflow or cancellation in calculating denominator.
6430 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
6431 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
6432 down expression to avoid unexpected rounding in newer GCCs.
6433 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
6434
33f244f4
DM
64352012-04-26 David S. Miller <davem@davemloft.net>
6436
6437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
6438 long-double compat symbols.
6439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
6443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
6445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
6446 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
6447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
6448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
6450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
6451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6452
cfa1f3e8
DM
64532012-04-25 David S. Miller <davem@davemloft.net>
6454
6455 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
6456 HWCAP_* values only after the memory barriers have been defined.
6457 (atomic_full_barrier): Define.
6458 (atomic_read_barrier): Define.
6459 (atomic_write_barrier): Define.
6460
6e236b92
SP
64612012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6462
6463 * shlib-versions: Add libgcc_s version information.
6464 * sysdeps/generic/libgcc_s.h: Remove.
6465 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
6466 libgcc_s.h.
6467 * sysdeps/gnu/unwind-resume.c: Likewise.
6468 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
6469
aab39a09
DM
64702012-04-25 David S. Miller <davem@davemloft.net>
6471
6472 * sysdeps/unix/sparc/brk.S: Delete.
6473 * sysdeps/unix/sparc/dl-brk.S: Delete.
6474 * sysdeps/unix/sparc/pipe.S: Delete.
6475 * sysdeps/unix/sparc/sysdep.S: Delete.
6476 * sysdeps/unix/sparc/sysdep.h: Delete.
6477 * sysdeps/unix/sparc/vfork.S: Delete.
6478 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
6479 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
6480 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
6481 ret_ERRVAL, r0, r1, MOVE): Define.
6482 (JUMPTARGET): Remove.
6483 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
6484 sysdeps/unix/sparc/sysdep.h
6485 (ENTRY, END): Remove.
6486 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6487
a3cc4f48
JM
64882012-04-25 Joseph Myers <joseph@codesourcery.com>
6489
2ed8cda2
JM
6490 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
6491 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
6492 -DIS_IN_build.
6493
35d76d59
JM
6494 * timezone/README: Update upstream location and email address for
6495 tzcode and tzdata.
6496 * timezone/zdump.c: Update from tzcode 2012b.
6497 * timezone/zic.c: Likewise.
6498
a3cc4f48
JM
6499 * configure.in (libc_cv_as_needed): Remove test.
6500 * configure: Regenerated.
6501 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
6502 conditional definition.
6503 [$(have-as-needed) != yes] (no-as-needed): Likewise.
6504 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
6505 * config.make.in (have-as-needed): Remove variable.
6506
ceab42c3
SP
65072012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6508 Paul Pluzhnikov <ppluzhnikov@google.com>
6509
6510 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
6511 strings correctly.
6512
3ce2865f
CLT
65132012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
6514
6515 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
6516 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
6517 * sysdeps/sh/strlen.S: Likewise.
6518
f37e0d68
JM
65192012-04-24 Joseph Myers <joseph@codesourcery.com>
6520
ae186e9a
JM
6521 * sysdeps/unix/fork.S: Remove file.
6522 * sysdeps/unix/i386/fork.S: Likewise.
6523 * sysdeps/unix/sparc/fork.S: Likewise.
6524
b96914af
JM
6525 * sysdeps/unix/system.c: Remove file.
6526 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
6527
f37e0d68
JM
6528 * sysdeps/unix/getegid.S: Remove file.
6529 * sysdeps/unix/geteuid.S: Likewise.
6530
87ef29ca
RM
65312012-04-24 Roland McGrath <roland@hack.frob.com>
6532
83bcd236
RM
6533 * scripts/check-localplt.awk: New file.
6534 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
6535 of diff.
6536 * scripts/data/localplt-generic.data: Add a comment.
6537
87ef29ca
RM
6538 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
6539 NODE when __dir_mkfile failed.
6540 * sysdeps/mach/hurd/symlinkat.c: Likewise.
6541 Reported by Ludovic Courtès <ludo@gnu.org>.
6542
e5a6e567
AJ
65432012-04-24 Andreas Jaeger <aj@suse.de>
6544
6545 * Makerules (common-clean): Also remove gen-as-const-headers
6546 files.
6547
c1820385
JM
65482012-04-24 Joseph Myers <joseph@codesourcery.com>
6549
6550 * Makerules (native-compile): Do not change working directory for
6551 build. Use $(OUTPUT_OPTION) in command.
6552 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
6553
94e02fc4
AZ
65542012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6555
6556 [BZ #13886]
6557 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
6558 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
6559 * math/libm-test.inc (floor_test): Add more tests.
6560 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
6561
3a533ca3
JM
65622012-04-24 Joseph Myers <joseph@codesourcery.com>
6563
940ab4b3
JM
6564 * sysdeps/unix/getdents.c: Remove file.
6565 * sysdeps/unix/sysv/getdents.c: Likewise.
6566 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
6567
90e037bd
JM
6568 * sysdeps/unix/syscalls.list (madvise): Add syscall from
6569 sysdeps/unix/mman/syscalls.list.
6570 (mmap): Likewise.
6571 (mprotect): Likewise.
6572 (msync): Likewise.
6573 (munmap): Likewise.
6574 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
6575 * sysdeps/unix/mman/syscalls.list: Remove.
6576 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
6577
3a533ca3
JM
6578 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
6579 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
6580 * configure: Regenerated.
6581 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
6582 $(libgcc_s_suffix).
6583 * config.make.in (libgcc_s_suffix): Remove variable.
6584
1ad743de
JM
65852012-04-23 Joseph Myers <joseph@codesourcery.com>
6586
4ad451e2
JM
6587 * sysdeps/unix/sysv/gethostname.c: Move to ...
6588 * sysdeps/posix/gethostname.c: ... here.
6589
5e37ce39
JM
6590 * sysdeps/unix/execve.S: Remove file.
6591
1ad743de
JM
6592 * sysdeps/unix/_exit.S: Remove file.
6593
4e681b5b
AJ
65942012-04-23 Andreas Jaeger <aj@suse.de>
6595
6596 [BZ #13739]
6597 * manual/Makefile: Remove make dist support, there's no
6598 need for a stand-alone documentation tar ball.
6599 (TEXI2DVI): Define always, it's not in Makeconfig.
6600 (dist): Removed.
6601 (tar-it): Removed.
6602 (edition): Removed.
6603 (glibc-doc-$(edition).tar): Removed
6604 (%.Z): Removed.
6605 (%.gz): Removed.
6606 (%.uu): Removed.
6607 (ETAGS): Remove, it's in Makeconfig.
6608 (move-if-change): Remove, it's in Makeconfig.
6609
c0baea34
PE
66102013-04-23 Paul Eggert <eggert@cs.ucla.edu>
6611
6612 [BZ #13970]
6613 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
6614 (strtod, strtof, strtold, strtol, strtoul, strtoq)
6615 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
6616 (strtod_l, strtof_l, strtold_l): Remove __wur.
6617 It is not necessarily an error to ignore strtol's return value.
6618 One can reliably look at the stored endptr to decide whether
6619 the number had valid syntax.
6620
7c0616fa
AJ
66212012-04-21 Andreas Jaeger <aj@suse.de>
6622
803cb6b7 6623 [BZ #13739]
7c0616fa
AJ
6624 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
6625
b0fe253f
JM
66262012-04-21 Joseph Myers <joseph@codesourcery.com>
6627
6628 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
6629 * sysdeps/unix/sysv/Versions: Remove file.
6630
8280f22d
MT
66312012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
6632
6633 [BZ #13927]
6634 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6635
75ce411f 66362012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
6637
6638 [BZ #7064]
6639 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
6640 version from __vm86.
6641
097d59fa
JM
66422012-04-20 Joseph Myers <joseph@codesourcery.com>
6643
a90f3bcb
JM
6644 * sysdeps/unix/common/lxstat.c: Remove file.
6645 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
6646
edc7ea78
JM
6647 * sysdeps/unix/sysv/Makefile: Remove file.
6648
cb78c221
JM
6649 * sysdeps/unix/sysv/direct.h: Remove file.
6650
efa6a45f
JM
6651 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
6652 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
6653 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
6654 * sysdeps/unix/sysv/bits/signum.h: Likewise.
6655 * sysdeps/unix/sysv/bits/stat.h: Likewise.
6656 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
6657 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
6658
9c9f2d0c
JM
6659 * sysdeps/unix/sysv/setrlimit.c: Remove file.
6660
4541c83b
JM
6661 * sysdeps/unix/xmknod.c: Remove file.
6662 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
6663
f5d153a0
JM
6664 * sysdeps/unix/sysv/settimeofday.c: Remove file.
6665
aa746595
JM
6666 * sysdeps/unix/sysv/i386/time.S: Remove file.
6667
cce5905e
JM
6668 * sysdeps/unix/fxstat.c: Remove file.
6669 * sysdeps/unix/xstat.c: Likewise.
6670 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
6671
37fa3841
JM
6672 * sysdeps/unix/sysv/sigaction.c: Remove file.
6673
ff1962a3
JM
6674 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
6675 (sysdep_headers): Remove variable.
6676 [termio.h not in sysdep_headers] (generated): Likewise.
6677 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
6678 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
6679 * sysdeps/unix/sysv/tcdrain.c: Likewise.
6680 * sysdeps/unix/sysv/tcflow.c: Likewise.
6681 * sysdeps/unix/sysv/tcflush.c: Likewise.
6682 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
6683 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
6684 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6685 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6686 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
6687
e7740d31
JM
6688 * sysdeps/unix/siglist.c: Remove file.
6689
ee06f18b
JM
6690 * sysdeps/unix/getppid.S: Remove file.
6691
097d59fa
JM
6692 * sysdeps/unix/mkdir.c: Remove file.
6693 * sysdeps/unix/rmdir.c: Likewise.
6694
ff3d51ec
AS
66952012-04-19 Andreas Schwab <schwab@linux-m68k.org>
6696
6697 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
6698 ERR_MAX value.
6699 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
6700 errlist-compat value.
6701
50f81fd7
DM
67022012-04-18 David S. Miller <davem@davemloft.net>
6703
6704 * sysdeps/generic/memcopy.h (reg_char): Delete.
6705 * debug/strcat_chk.c: Use char, not reg_char.
6706 * debug/strcpy_chk.c: Likewise.
6707 * debug/strncat_chk.c: Likewise.
6708 * debug/strncpy_chk.c: Likewise.
6709 * string/memchr.c: Likewise.
6710 * string/memrchr.c: Likewise.
6711 * string/rawmemchr.c: Likewise.
6712 * string/strcat.c: Likewise.
6713 * string/strchr.c: Likewise.
6714 * string/strchrnul.c: Likewise.
6715 * string/strcmp.c: Likewise.
6716 * string/strcpy.c: Likewise.
6717 * string/strncat.c: Likewise.
6718 * string/strncmp.c: Likewise.
6719 * string/strncpy.c: Likewise.
6720
8ff41c46
WS
67212012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6722
6723 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
6724 __builtin_memcopy is called when src and dest ranges are known to not
6725 overlap.
6726
6b652f46
WS
67272012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6728
6729 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
6730 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
6731 fwd_align_merge macro call.
6732 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
6733 bwd_align_merge macro call.
6734 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6735
b282631e
WS
67362012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6737
6738 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
6739 bwd_align_merge macros.
6740 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
6741 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
6742 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6743
95aa737c
DM
67442012-04-18 David S. Miller <davem@davemloft.net>
6745
6746 * sysdeps/sparc/sparc64/memcopy.h: Delete.
6747
7a99a614
AJ
67482012-04-18 Andreas Jaeger <aj@suse.de>
6749
6750 [BZ# 6794]
6751 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
6752 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
6753 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6754
6755 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
6756 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
6757 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6758
6759 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
6760 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
6761 Adjust for changed ldbl-128 files.
6762
6763 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
6764 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
6765 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6766
e5270c23
DM
67672012-04-17 David S. Miller <davem@davemloft.net>
6768
6769 * sysdeps/sparc/sparc32/memcopy.h: Delete.
6770
fb5e92c9
AS
67712012-04-17 Andreas Schwab <schwab@linux-m68k.org>
6772
6773 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
6774 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
6775 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
6776 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
6777 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6778 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
6779
76da7265
AZ
67802012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6781
6782 [BZ #6794]
6783 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
6784 * math/libm-test.inc: Add ilogb errno and exception tests.
6785 * math/w_ilogb.c: New file: ilogb wrapper.
6786 * math/w_ilogbf.c: New file: ilogbf wrapper.
6787 * math/w_ilogbl.c: New file: ilogbl wrapper.
6788 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
6789 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
6790 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
6791 exception being thrown with 0.0 as argument.
6792 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
6793 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
6794 exception being thrown with 0.0 as argument.
6795 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
6796 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6797 exception being thrown with 0.0 as argument.
6798 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
6799 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6800 exception being thrown with 0.0 as argument.
6801 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
6802 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 6803 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
6804 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
6805 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
6806 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
6807 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
6808 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
6809 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
6810
0396e69d
PB
68112012-04-17 Petr Baudis <pasky@ucw.cz>
6812
6813 * include/sys/uio.h: Change __vector to __iovec to avoid clash
6814 with altivec.
6815
750b5926
MP
68162012-04-16 Marek Polacek <polacek@redhat.com>
6817
6818 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
6819
751728a1
MP
68202012-04-16 Marek Polacek <polacek@redhat.com>
6821
6822 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
6823 operands of fdivp instruction.
6824
34a27407
L
68252012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6826
6827 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
6828 * elf/tst-auditmod3b.c: Likewise.
6829 * elf/tst-auditmod4b.c: Likewise.
6830 * elf/tst-auditmod5b.c: Likewise.
6831 * elf/tst-auditmod6b.c: Likewise.
6832 * elf/tst-auditmod6c.c: Likewise.
6833 * elf/tst-auditmod7b.c: Likewise.
6834 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
6835 * sysdeps/x86_64/preconfigure.in: Likewise.
6836 * sysdeps/x86_64/preconfigure: Regenerated.
6837
7e73e17d
L
68382012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6839
6840 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
6841 __ILP32__.
6842
c7a6ab72
AB
68432012-04-13 Antoine Balestrat <merkil33@gmail.com>
6844
6845 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6846 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
6847
a9e8e0e0
CL
68482012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
6849
6850 [BZ #13973]
6851 * locale/iso-639.def: Fix gl language name. Spotted by
6852 Yaron Shahrabani.
6853
ec98af7d
RM
68542012-04-12 Roland McGrath <roland@hack.frob.com>
6855
6856 [BZ #2074]
6857 * libio/libio.h (__io_write_fn): Update comment.
6858
247c3ede
PB
68592012-04-12 Petr Baudis <pasky@ucw.cz>
6860
6861 [BZ #2074]
6862 * stdio.texi (Hook Functions): The user provided writer function
6863 is not allowed to return -1.
6864
55939d6d
DM
68652012-04-11 David S. Miller <davem@davemloft.net>
6866
6867 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6868
90020f5a
MF
68692012-04-11 Mike Frysinger <vapier@gentoo.org>
6870
6871 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
6872 Add a leading slash to rtkaio.
6873
288f9098
JM
68742012-04-11 Jim Meyering <meyering@redhat.com>
6875
90020f5a
MF
6876 [BZ #11959]
6877 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
6878 It is not necessarily an error to ignore fwrite's return
6879 value. One can reliably use ferror to test for errors after
6880 the fact.
288f9098 6881
4be2b570
L
68822012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6883
6884 * bits/types.h (__snseconds_t): New type.
6885 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
6886
6887 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
6888 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6889 (__SNSECONDS_T_TYPE): Likewise.
6890 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6891 (__SNSECONDS_T_TYPE): Likewise.
6892 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6893 (__SNSECONDS_T_TYPE): Likewise.
6894
288f9098 68952012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
6896
6897 [BZ #2636]
6898 * manual/time.texi (Processor Time): Return type of times is
6899 elapsed real time since an arbitrary point in the past.
6900 (CPU Time): Move CLK_TCK from here...
6901 (Processor Time): ...to here. Correct description.
6902 * manual/conf.texi (Constants for Sysconf): Correct description of
6903 _SC_CLK_TCK.
6904
d7dd4413
DM
69052012-04-10 David S. Miller <davem@davemloft.net>
6906
6907 [BZ #13967]
6908 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
6909 where the is a gap between DT_REL(A) and DT_JMPREL.
6910
b46068fc
L
69112012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6912
6913 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
6914 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6915 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6916
73d65cc3
SP
69172012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6918
6919 * elf/dl-support.c (_dl_inhibit_cache): New variable.
6920 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
6921 (dl_main): Handle --inhibit-cache.
6922 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
6923 _dl_inhibit_cache.
6924 * elf/dl-load.c (_dl_map_object): Use it.
6925 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
6926
bcc8d661
JM
69272012-04-09 Joseph Myers <joseph@codesourcery.com>
6928
8f9a2fae
JM
6929 [BZ #13872]
6930 * sysdeps/i386/fpu/e_powl.S (p78): New object.
6931 (__ieee754_powl): Saturate large exponents rather than testing for
6932 overflow of y*log2(x).
6933 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6934 * math/libm-test.inc (pow_test): Do not permit spurious overflow
6935 exceptions.
6936
bcc8d661
JM
6937 [BZ #11521]
6938 * math/s_ctan.c: Include <float.h>.
6939 (__ctan): Avoid internal overflow or cancellation in calculating
6940 denominator.
6941 * math/s_ctanf.c: Likewise.
6942 * math/s_ctanl.c: Likewise.
6943 * math/s_ctanh.c: Likewise.
6944 * math/s_ctanhf.c: Likewise.
6945 * math/s_ctanhl.c: Likewise.
6946 * math/libm-test.inc (ctan_test): Add more tests.
6947 (ctanh_test): Likewise.
6948 * sysdeps/i386/fpu/libm-test-ulps: Update.
6949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6950
823fbbb4
AJ
69512012-04-09 Andreas Jaeger <aj@suse.de>
6952
03879793
AJ
6953 [BZ #6894]
6954 * manual/filesys.texi (Directory Entries): Mention that d_namlen
6955 is an optional BSD extension.
6956
823fbbb4
AJ
6957 [BZ #10254]
6958 * manual/stdio.texi (Opening Streams): Document additional fopen
6959 parameters.
6960
8de131cb
RM
69612012-04-09 Roland McGrath <roland@hack.frob.com>
6962
6963 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
6964 %eax without telling the compiler.
6965
c0ed9d7d
CD
69662012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
6967
6968 [BZ # 13963]
6969 * manual/install.texi: Use sourceware.org.
6970
c483f6b4
JM
69712012-04-09 Joseph Myers <joseph@codesourcery.com>
6972
d7dd9453
JM
6973 [BZ #13873]
6974 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
6975 (__ieee754_pow): Generate overflow and underflow using huge*huge
6976 and tiny*tiny rather than just returning constant infinity or zero
6977 for large exponents.
6978 * math/libm-test.inc (pow_test): Require overflow exceptions for
6979 applicable cases of large exponents.
6980
c483f6b4
JM
6981 [BZ #706]
6982 * sysdeps/i386/fpu/e_pow.S (p10): New object.
6983 (__ieee754_pow): Use iterative multiplication algorithm only for
6984 integer exponents with absolute value below 1024. Check for odd
6985 integer exponents when using algorithm for real exponents.
6986 * math/libm-test.inc (pow_test): Add more tests.
6987 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6988
d2de7579
JM
69892012-04-08 Joseph Myers <joseph@codesourcery.com>
6990
6991 [BZ #13705]
6992 * math/libm-test.inc (exp_test): Do not allow overflow exception
6993 on underflow test.
6994
f77f1232
AJ
69952012-04-08 Aurelien Jarno <aurelien@aurel32.net>
6996
6997 [BZ #13705]
6998 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
6999 instead of __kernel_standard_f.
7000
3884932b
MF
70012012-04-08 Mike Frysinger <vapier@gentoo.org>
7002
7003 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
7004 * sysdeps/x86_64/memset_chk.S: Likewise.
7005
54472e9c
AJ
70062012-04-08 Andreas Jaeger <aj@suse.de>
7007
6ab0fbfc
AJ
7008 [BZ #10153]
7009 * manual/startup.texi (Environment Access): Describe return value
7010 for putenv and setenv.
7011
61efba8c
AJ
7012 [BZ #6895]
7013 * manual/filesys.texi (Directory Entries): Add description for
7014 DT_LNK.
7015
95c3f29a
AJ
7016 [BZ #6890]
7017 * manual/filesys.texi (Directory Entries): Clarify that it's file
7018 system not operating system in the description of DT_UNKNOWN.
7019
54472e9c
AJ
7020 [BZ #6578]
7021 * manual/syslog.texi (closelog): Fix reference, it's openlog.
7022
624254b1
SC
70232012-04-08 Stephen Compall <s11@member.fsf.org>
7024
7025 [BZ #6649]
7026 * manual/llio.texi (Opening and Closing Files): Add cross
7027 reference to explain mode argument.
7028
1e4920e0
MF
70292012-04-07 Mike Frysinger <vapier@gentoo.org>
7030
7031 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
7032 * sysdeps/x86_64/memset_chk.S: Likewise.
7033
5ed848f3
DM
70342012-04-07 David S. Miller <davem@davemloft.net>
7035
7036 * elf/elf.h (R_SPARC_WDISP10): Define.
7037 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
7038 R_SPARC_SIZE32.
7039 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7040 R_SPARC_SIZE64 and R_SPARC_H34.
7041
96154cd8
CD
70422012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
7043
7044 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
7045 conditions and remove no longer applicable assertion.
7046
9904dc47
L
70472012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7048
7049 * bits/byteswap.h: Include <features.h>.
7050 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7051 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7052
f8887d0a
L
70532012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7054
7055 * bits/byteswap.h (__bswap_16): Removed.
7056 Include <bits/byteswap-16.h> to get __bswap_16.
7057 * sysdeps/i386/bits/byteswap.h: Likewise.
7058 * sysdeps/s390/bits/byteswap.h: Likewise.
7059 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7060 * bits/byteswap-16.h: New file.
7061 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7062 * sysdeps/s390/bits/byteswap-16.h: Likewise.
7063 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
7064 * string/Makefile (headers): Add bits/byteswap-16.h.
7065
62470f60
PP
70662012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7067
7068 [BZ #13895]
7069 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
7070 extra indirection.
7071 * nss/Makefile (tests-static, tests): Add tst-nss-static.
7072 * nss/tst-nss-static.c: New.
7073
4dad7bab
RM
70742012-04-06 Robert Millan <rmh@gnu.org>
7075
7076 [BZ #6486]
7077 * manual/llio.texi (File Position Primitive): lseek
7078 refers to WHENCE when it really means OFFSET.
7079
e9142a17
AJ
70802012-04-06 Andreas Jaeger <aj@suse.de>
7081
2c040eff
AJ
7082 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
7083 strncmp declarations.
7084
e9142a17
AJ
7085 * abilist/libc.abilist: Add __poll and __ppoll.
7086
ff9f1c5f
DM
70872012-04-05 David S. Miller <davem@davemloft.net>
7088
dcd2ae90
DM
7089 * scripts/check-local-headers.sh: Accept a host triplet in the
7090 path matched by the exclude regexp.
7091
993eb054
DM
7092 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
7093 definition.
7094 * sysdeps/powerpc/powerpc32/dl-machine.h
7095 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
7096 * sysdeps/s390/s390-32/dl-machine.h
7097 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7098 * sysdeps/sparc/sparc32/dl-machine.h
7099 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7100 * sysdeps/sparc/sparc64/dl-machine.h
7101 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7102
ff9f1c5f
DM
7103 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
7104 lazy binding.
48e2e132 7105 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
7106 undefined symbol errors.
7107
48e2e132 7108 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
7109 DT_NEEDED entries.
7110
e80d6f94
MM
71112012-04-05 Michael Matz <matz@suse.de>
7112
7113 [BZ #13592]
7114 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
7115
349fa79f
AJ
71162012-04-05 Andreas Jaeger <aj@suse.de>
7117
7118 [BZ #13908]
7119 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
7120 comment.
7121
f402708f
KK
71222012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7123
7124 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
7125 which ROUND is no valid rounding mode.
7126
2ecccfc9
KK
71272012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7128
7129 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
7130 read again.
7131 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
7132
8a53f50f
KK
71332012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7134
7135 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
7136 an exception using FPU order intentionally.
7137
71382012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7139
7140 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
7141 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
7142 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
7143 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
7144
d653abb7
SJ
71452012-04-05 Simon Josefsson <simon@josefsson.org>
7146
7147 [BZ #12340]
7148 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
7149 EINVAL when BUFLEN is too smal.
7150
c3b1bf7d
TS
71512012-04-05 Thomas Schwinge <thomas@codesourcery.com>
7152
7153 [BZ #13553]
7154 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
7155 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
7156
b1aa60f3
AJ
71572012-04-03 Andreas Jaeger <aj@suse.de>
7158
c3b1bf7d 7159 [BZ #13938]
67f60a26
AJ
7160 * manual/setjmp.texi (System V contexts): Fix sentence.
7161
b1aa60f3
AJ
7162 [BZ #13926]
7163 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
7164 New macro for this case.
7165 [!__GNUC__] (__bswap_64): New inline function for this case.
7166 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7167 * bits/byteswap.h: Likewise.
7168 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
7169 ull, guard with __GLIBC_HAVE_LONG_LONG.
7170
7171 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
7172 __GLIBC_HAVE_LONG_LONG.
7173
7174 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
7175 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
7176
39c59c35
TMQMF
71772012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7178
7179 [BZ #13691]
7180 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7181 inptr and inend, rather than using last_ch.
7182
135ffda8
DM
71832012-04-02 David S. Miller <davem@davemloft.net>
7184
7185 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7186 * stdio-common/printf-parse.h (read_int): Change return type to
7187 'int', return -1 on INT_MAX overflow.
7188 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7189 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
7190 overflows INT_MAX. Check for overflow of in-format-string precision
7191 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
7192 SIZE_MAX not INT_MAX for integer overflow test.
7193 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7194 skip the construct in the format string but do not record anything.
7195 * stdio-common/bug22.c: Adjust to test both width/prevision
7196 INT_MAX overflow as well as total length INT_MAX overflow. Check
7197 explicitly for proper errno values.
7198
228c019e
TS
71992012-04-02 Thomas Schwinge <thomas@codesourcery.com>
7200
302cadd3
TS
7201 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7202 CHAR_MAX.
7203 * string/test-strcmp.c [! WIDE]: Likewise.
7204 * time/tst-mktime2.c: Likewise for INT_MAX.
7205 * string/test-string.h: #include <sys/param.h> for MIN.
7206
228c019e
TS
7207 * csu/init-first.c (__libc_init_first): Call __ctype_init.
7208 * sysdeps/i386/init-first.c (init): Likewise.
7209 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7210 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7211 * sysdeps/sh/init-first.c (init): Likewise.
7212
cfa633f5
UD
72132012-04-01 Ulrich Drepper <drepper@gmail.com>
7214
7215 * po/ru.po: Update from translation team.
d1635ef8 7216 * po/vi.po: Likewise.
cfa633f5 7217
6cd0a5ea
SP
72182012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7219
7220 * resolv/nss_dns/dns-host.c: Merge copyright years.
7221
4b43400f
LD
72222012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7223
7224 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7225 Optimize memcpy with prefetch if
7226 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
7227 src, dst pointers have unequal 16 byte alignments.
7228
48c41d04
SP
72292012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7230
7231 [BZ #13928]
7232 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7233 from a CNAME entry and return the minimum ttl for the query.
7234 (gaih_getanswer_slice): Likewise.
7235
b8dc394d
JL
72362012-03-30 Jeff Law <law@redhat.com>
7237
7238 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7239 due to long keys.
7240 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7241 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7242
2f5a5ed0
JL
7243 * resolv/nss_dns/dns-host.c: Update copyright year.
7244
1d39e359
UD
72452012-03-30 Ulrich Drepper <drepper@gmail.com>
7246
c030f70c 7247 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 7248 requests to save a system call. Fix check that all bytes are sent.
c030f70c 7249
1d39e359
UD
7250 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7251 comments for sendmmsg.
7252
72532012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
7254
7255 [BZ #13691]
7256 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7257 with only 1 character between 0x0041 and 0x01b0.
7258 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7259 * wcsmbs/tst-mbsnrtowcs.c: New file.
7260
20fde227
DM
72612012-03-29 David S. Miller <davem@davemloft.net>
7262
7263 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7264 small copies by hand.
7265
984a4237
JL
72662012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7267
7268 [BZ #13761]
7269 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7270 _nss_compat_initgroups_dyn): Fall back to malloc/free
7271 for large group memberships.
7272
18c9d62b
DM
72732012-03-28 David S. Miller <davem@davemloft.net>
7274
88d85d4f
DM
7275 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
7276 that branches into memcpy.
7277 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7278 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7279 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7280 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7281 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
7282 bits.
7283 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
7284 implementation too.
7285 * sysdeps/sparc/mempcpy.S: New file.
7286
e5aa83e1
DM
7287 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
7288 the IFUNC routine in the libc case.
7289 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7290
88570753
DM
7291 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
7292 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
7293 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
7294 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7295 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
7296 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
7297 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
7298 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
7299
249d7567
DM
7300 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
7301 loop to 256 bytes instead of 64 bytes and fix test signedness.
7302
18c9d62b
DM
7303 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
7304 * sysdeps/sparc/sparc32/Makefile: rather than here...
7305 * sysdeps/sparc/sparc64/Makefile: and here.
7306
05f3d1f6
UD
73072012-03-28 Ulrich Drepper <drepper@gmail.com>
7308
7309 * malloc/mallocbug.c: Avoid warnings about unused variables.
7310
86ae07a8
JL
73112012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7312
7313 [BZ #13760]
7314 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
7315 in the right place. Discard and retry query if response is
7316 larger than input buffer size.
7317
41bf21a1
JM
73182012-03-28 Joseph Myers <joseph@codesourcery.com>
7319
d6270972
JM
7320 [BZ #369]
7321 [BZ #2678]
7322 [BZ #3866]
7323 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
7324 x for large integer exponent.
7325 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7326 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
7327 sign of result as needed afterwards.
7328 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7329 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
7330 result for underflowing pow the same as for overflow.
7331 (__kernel_standard_l): Handle powl overflow and underflow here
7332 rather than calling __kernel_standard.
7333 * math/libm-test.inc (pow_test): Add more tests.
7334
414fca03 7335 [BZ #3868]
41bf21a1
JM
7336 [BZ #13879]
7337 [BZ #13910]
7338 [BZ #13911]
7339 [BZ #13912]
7340 [BZ #13913]
7341 [BZ #13915]
7342 [BZ #13916]
7343 [BZ #13917]
7344 [BZ #13918]
7345 [BZ #13919]
7346 [BZ #13920]
7347 [BZ #13921]
7348 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
7349 * sysdeps/ieee754/k_standard.c: Include <float.h>.
7350 (__kernel_standard_l): New function.
7351 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
7352 __kernel_standard.
7353 * math/w_acosl.c (__acosl): Likewise.
7354 * math/w_asinl.c (__asinl): Likewise.
7355 * math/w_atan2l.c (__atan2l): Likewise.
7356 * math/w_atanhl.c (__atanhl): Likewise.
7357 * math/w_coshl.c (__coshl): Likewise.
7358 * math/w_exp10l.c (__exp10l): Likewise.
7359 * math/w_exp2l.c (__exp2l): Likewise.
7360 * math/w_fmodl.c (__fmodl): Likewise.
7361 * math/w_hypotl.c (__hypotl): Likewise.
7362 * math/w_j0l.c (__j0l, __y0l): Likewise.
7363 * math/w_j1l.c (__j1l, __y1l): Likewise.
7364 * math/w_jnl.c (__jnl, __ynl): Likewise.
7365 * math/w_lgammal.c (__lgammal): Likewise.
7366 * math/w_log10l.c (__log10l): Likewise.
7367 * math/w_log2l.c (__log2l): Likewise.
7368 * math/w_logl.c (__logl): Likewise.
7369 * math/w_powl.c (__powl): Likewise.
7370 * math/w_remainderl.c (__remainderl): Likewise.
7371 * math/w_scalbl.c (sysv_scalbl): Likewise.
7372 * math/w_sinhl.c (__sinhl): Likewise.
7373 * math/w_sqrtl.c (__sqrtl): Likewise.
7374 * math/w_tgammal.c (__tgammal): Likewise.
7375 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
7376 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
7377 * math/libm-test.inc (acos_test): Add more tests.
7378 (acosh_test): Likewise.
7379 (asin_test): Likewise.
7380 (atanh_test): Likewise.
7381 (exp_test): Likewise.
7382 (exp10_test): Likewise.
7383 (exp2_test): Likewise.
7384 (expm1_test): Likewise.
7385 (lgamma_test): Likewise.
7386 (log_test): Likewise.
7387 (log10_test): Likewise.
7388 (log1p_test): Likewise.
7389 (log2_test): Likewise.
7390 (pow_test): Do not allow some spurious overflow exceptions.
7391 (sqrt_test): Add more tests.
7392 (tgamma_test): Likewise.
7393 (y0_test): Likewise.
7394 (y1_test): Likewise.
7395 (yn_test): Likewise.
7396
dd62fda6
AB
73972012-03-27 Anton Blanchard <anton@samba.org>
7398
7399 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
7400 MAP_HUGETLB.
7401 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7402 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7403 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7404
1e3cdfda
AJ
74052012-03-27 David S. Miller <davem@davemloft.net>
7406
b855ab85
DM
7407 * conform/Makefile: Run run-conformtest.sh using $(BASH).
7408
1e3cdfda
AJ
7409 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
7410 have-as-vis3 check.
7411
74122012-03-27 Andreas Jaeger <aj@suse.de>
7413
7414 * sysdeps/x86_64/elf/configure.in: Moved to ...
7415 * sysdeps/x86_64/configure.in: ... here.
7416 * sysdeps/x86_64/elf/start.S: Moved to ...
7417 * sysdeps/x86_64/start.S: ... here.
7418 * sysdeps/x86_64/elf/configure: Delete.
7419
7420 * sysdeps/x86_64/configure.in: Merge contents from
7421 sysdeps/i386/configure.in (without i686 check).
7422
7423 * sysdeps/i386/elf/Versions: Merge into ...
7424 * sysdeps/i386/Versions: ... this.
7425 * sysdeps/i386/elf/Versions: Delete file.
7426 * sysdeps/i386/elf/start.S: Moved to ...
7427 * sysdeps/i386/start.S: ...here.
7428 * sysdeps/i386/elf/configure.in: Merge into...
7429 * sysdeps/i386/configure.in: ...here.
7430 * sysdeps/i386/elf/configure.in: Delete file.
7431 * sysdeps/i386/elf/configure: Delete file.
7432
7433 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
7434 * debug/backtracesyms.c: ... here.
7435 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
7436 * debug/backtracesymsfd.c: ... here.
7437 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
7438 * sysdeps/generic/ifunc-sel.h: ... here.
7439
7440 * sysdeps/unix/i386/start.c: Delete file.
7441 * sysdeps/unix/sparc/start.c: Delete file.
7442 * sysdeps/unix/start.c: Delete file.
7443
7444 * sysdeps/sh/elf/configure.in: Moved to ...
7445 * sysdeps/sh/configure.in: ... here.
7446 * sysdeps/sh/elf/start.S: Moved to ...
7447 * sysdeps/sh/start.S: ... here.
7448 * sysdeps/sh/elf/configure: Delete file.
7449
7450 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
7451 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
7452 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
7453 * sysdeps/powerpc/powerpc64/entry.h: ... here.
7454 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
7455 * sysdeps/powerpc/powerpc64/start.S: here.
7456 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
7457 * sysdeps/powerpc/powerpc64/Makefile: ... this.
7458 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
7459 * sysdeps/powerpc/powerpc64/configure.in: ... this.
7460 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
7461
7462 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
7463 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
7464 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
7465 * sysdeps/powerpc/powerpc32/start.S: ... here.
7466 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
7467 * sysdeps/powerpc/powerpc32/configure.in: ... this.
7468 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
7469
7470 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
7471 * sysdeps/powerpc/ifunc-sel.h: ... here.
7472 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
7473 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
7474
7475 * sysdeps/sparc/elf/configure.in: Moved to ...
7476 * sysdeps/sparc/configure.in: ... here.
7477 * sysdeps/sparc/elf/configure: Delete file.
7478 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
7479 * sysdeps/sparc/sparc32/start.S: ... here.
7480 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
7481 * sysdeps/sparc/sparc64/start.S: ... here.
7482 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
7483 * sysdeps/sparc/sparc32/Makefile: ... this.
7484 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
7485 * sysdeps/sparc/sparc64/Makefile: ... this.
7486
7487 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
7488 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
7489 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
7490 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
7491 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
7492 * sysdeps/s390/s390-32/setjmp.S: ... here.
7493 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
7494 * sysdeps/s390/s390-32/configure.in: ... here.
7495 * sysdeps/s390/s390-32/elf/configure: Delete file.
7496 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
7497 * sysdeps/s390/s390-32/start.S: ... here.
7498
7499 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
7500 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
7501 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
7502 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
7503 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
7504 * sysdeps/s390/s390-64/setjmp.S: ... here.
7505 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
7506 * sysdeps/s390/s390-64/configure.in: ... here
7507 * sysdeps/s390/s390-64/elf/configure: Delete file.
7508 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
7509 * sysdeps/s390/s390-64/start.S: ... here.
7510 * sysdeps/s390/s390-64/elf/configure: Delete.
7511
7512 * configure.in: Remove support for elf directories in sysdeps.
7513
7514 * configure: Regenerated.
7515 * sysdeps/i386/configure: Regenerated.
7516 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7517 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7518 * sysdeps/s390/s390-32/configure: Regenerated.
7519 * sysdeps/s390/s390-64/configure: Regenerated.
7520 * sysdeps/sh/configure: Regenerated.
7521 * sysdeps/sparc/configure: Regenerated.
7522 * sysdeps/x86_64/configure: Regenerated.
7523
a3f61311
AS
75242012-03-26 Andreas Schwab <schwab@linux-m68k.org>
7525
c876e002
AS
7526 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7527
a3f61311
AS
7528 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
7529 denormal result into account.
7530
ac4c54f0
RM
75312012-03-25 Roland McGrath <roland@hack.frob.com>
7532
7533 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
7534 Reported by Allan McRae <allan@archlinux.org>.
7535
6a9b9c02
JL
75362012-03-23 Jeff Law <law@redhat.com>
7537
7538 * nss/getnssent.c (__nss_getent): Fix typo.
7539
4c42a0c1
DM
75402012-03-23 David S. Miller <davem@davemloft.net>
7541
7542 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7543
1532c7ac
L
75442012-03-23 H.J. Lu <hongjiu.lu@intel.com>
7545
7546 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
7547 to pad to uint64_t for each field.
7548 (dl_tls_index): Replace unsigned long with uint64_t.
7549
3ff42526
PP
75502012-03-23 Daniel Jacobowitz <dmj@google.com>
7551 Paul Pluzhnikov <ppluzhnikov@google.com>
7552
7553 [BZ #6528]
7554 * grp/Makefile (otherlibs): Don't set it.
7555 * inet/Makefile (otherlibs): Likewise.
7556 * login/Makefile (otherlibs): Likewise.
7557 * nscd/Makefile (otherlibs): Likewise.
7558 * posix/Makefile (otherlibs): Likewise.
7559 * pwd/Makefile (otherlibs): Likewise.
7560 * rt/Makefile (otherlibs): Likewise.
7561 * sunrpc/Makefile (otherlibs): Likewise.
7562 * nss/Makefile (otherlibs): Likewise.
7563 Add libnss_files to routines and static-only-routines.
7564 ($(objpfx)getent): Remove rule.
7565 * resolv/Makefile: Add libnss_dns and libresolv to routines and
7566 static-only-routines.
7567
7c69cd14
JM
75682012-03-22 Joseph Myers <joseph@codesourcery.com>
7569
7570 [BZ #13892]
7571 * math/s_cexp.c: Include <float.h>.
7572 (__cexp): Handle exp result overflowing not necessarily
7573 overflowing both real and imaginary parts of result.
7574 * math/s_cexpf.c: Likewise.
7575 * math/s_cexpl.c: Likewise.
7576 * math/libm-test.inc (cexp_test): Add more tests.
7577 * sysdeps/i386/fpu/libm-test-ulps: Update.
7578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7579
81b035fe
L
75802012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7581
7582 * include/link.h (ELFW): New macro.
7583 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
7584 Replace ELF64_R_TYPE with ELFW(R_TYPE).
7585
1da7940c
L
75862012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7587
7588 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
7589 with uint64_t.
7590
b749dbb9
L
75912012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7592
7593 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
7594 declaration.
7595 (struct La_x32_retval): Likewise.
7596
2ff87f3f
L
75972012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7598
7599 * sysdeps/x86_64/preconfigure.in: New file.
7600 * sysdeps/x86_64/preconfigure: New generated file.
7601
c0df8e69
JM
76022012-03-22 Joseph Myers <joseph@codesourcery.com>
7603
48e44791
JM
7604 [BZ #13824]
7605 * math/e_exp2l.c: Include <float.h>.
7606 (__ieee754_exp2l): Handle overflow and underflow cases
7607 separately. Only pass fractional part of argument to
7608 __ieee754_expl.
7609 * math/libm-test.inc (exp2_test): Add more tests.
7610
c0df8e69
JM
7611 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
7612 negating x to take absolute value.
7613 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7614 Likewise.
7615 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7616 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7617 Likewise.
7618 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
7619 computing low part if x was negated.
7620 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7621
c8e43ba7
L
76222012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7623
7624 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
7625 la_x32_gnu_pltexit.
7626 (pltexit): Cast int_retval to ptrdiff_t.
7627 * elf/tst-auditmod3b.c: Likewise.
7628 * elf/tst-auditmod4b.c: Likewise.
7629 * elf/tst-auditmod5b.c: Likewise.
7630 * elf/tst-auditmod6b.c: Likewise.
7631 * elf/tst-auditmod6c.c: Likewise.
7632 * elf/tst-auditmod7b.c: Likewise.
7633
7634 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
7635 and x32_gnu_pltexit.
7636
7637 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
7638 __ELF_NATIVE_CLASS.
7639 (La_x32_regs): New macro.
7640 (La_x32_retval): Likewise.
7641 (la_x32_gnu_pltenter): New function prototype.
7642 (la_x32_gnu_pltexit): Likewise.
7643
7998fa78
AS
76442012-03-21 Andreas Schwab <schwab@linux-m68k.org>
7645
dcb33988
AS
7646 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
7647 exponent.
7648
233fc563
AS
7649 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7650
7998fa78
AS
7651 * configure.in (libc_cv_cc_nofma): Check for option to disable
7652 generation of FMA instructions.
7653 * configure: Regenerate.
7654 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
7655 * sysdeps/ieee754/dbl-64/Makefile: New file.
7656 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7657 Remove brandred-fma4.
7658 (CFLAGS-brandred-fma4.c): Remove.
7659 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
7660 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
7661 define.
7662 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
7663 define.
7664
8e95c99a
L
76652012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7666
7667 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7668 LLONG_MAX != LONG_MAX.
7669 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7670 (_fitoa_word): Likewise.
7671 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
7672 LLONG_MAX != LONG_MAX.
7673 * stdio-common/_itowa.h: Include <_itoa.h>.
7674 (_itowa_word): Use _ITOA_WORD_TYPE on value.
7675 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
7676 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
7677 only if not defined.
7678 (_ITOA_WORD_TYPE): Likewise.
7679 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7680 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
7681
6f4db457
DM
76822012-03-21 David S. Miller <davem@davemloft.net>
7683
7684 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7685
7785fe5a
L
76862012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7687
7688 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
7689 of x86_64 when setting libc_cv_slibdir, libdir and
7690 libc_cv_localedir.
7691 * sysdeps/unix/sysv/linux/configure: Regenerated.
7692
4535cd55
JM
76932012-03-21 Joseph Myers <joseph@codesourcery.com>
7694
7695 * manual/lang.texi (Old Varargs): Remove section.
7696 (How Variadic): Update menu.
7697 (va_start): Do not mention varargs.h.
7698
17228132
TS
76992012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7700 Joseph Myers <joseph@codesourcery.com>
7701
7702 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
7703 link test.
7704 * configure: Regenerated.
7705
8149f976
TS
77062012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7707
05f3d1f6
UD
7708 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
7709 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
7710 conformtest.pl
8149f976 7711
1a4ac776
JM
77122012-03-21 Joseph Myers <joseph@codesourcery.com>
7713
be22ce65
JM
7714 * NOTES: Remove.
7715 * Makefile (files-for-dist): Remove NOTES.
7716 (NOTES): Remove rule.
7717 * README: Don't refer to NOTES.
7718 * manual/creature.texi: Don't include macros.texi.
7719 * manual/intro.texi (creature.texi): Remove comment referring to
7720 NOTES.
7721
40b601fb
JM
7722 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
7723 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
7724 * configure: Regenerated.
7725 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
7726 LIBC_TRY_CC_OPTION.
7727 (libc_cv_as_i686): Likewise.
7728 (libc_cv_cc_avx): Likewise.
7729 (libc_cv_cc_sse2avx): Likewise.
7730 (libc_cv_cc_fma4): Likewise.
7731 (libc_cv_cc_novzeroupper): Likewise.
7732 * sysdeps/i386/configure: Regenerated.
7733
1a4ac776
JM
7734 [BZ #13883]
7735 * sysdeps/i386/fpu/s_cexp.S: Remove.
7736 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7737 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7738 * math/libm-test.inc (cexp_test): Add more tests.
7739 * sysdeps/i386/fpu/libm-test-ulps: Update.
7740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7741
a458e7fe
AM
77422012-03-21 Allan McRae <allan@archlinux.org>
7743
7744 * timezone/Makefile: Do not install iso3166.tab and zone.tab
7745
0cb7efc5
JM
77462012-03-21 Joseph Myers <joseph@codesourcery.com>
7747
7748 [BZ #13871]
7749 * math/w_exp2.c: Do not include <float.h>.
7750 (o_threshold, u_threshold): Remove.
7751 (__exp2): Calculate result before checking finiteness and calling
7752 __kernel_standard.
7753 * math/w_exp2f.c: Likewise.
7754 * math/w_exp2l.c: Likewise.
7755 * math/libm-test.inc (exp2_test): Require overflow exception for
7756 1e6 input.
2460d3aa
JM
7757
7758 [BZ #3866]
7759 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
7760 range of signed 64-bit integers before using fistpll. Remove
7761 checks for whether integers fit in mantissa bits.
7762 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
7763 the range of signed 32-bit integers before using fistpl. Remove
7764 checks for whether integers fit in mantissa bits.
7765 * sysdeps/i386/fpu/e_powl.S (p64): New object.
7766 (__ieee754_powl): Test for y outside the range of signed 64-bit
7767 integers before using fistpll. Reduce 64-bit values to 63-bit
7768 ones as needed.
7769 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
7770 divide-by-zero is raised for zero to large negative powers.
7771 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
7772 (__ieee754_powl): Test for y outside the range of signed 64-bit
7773 integers before using fistpll. Reduce 64-bit values to 63-bit
7774 ones as needed.
7775 * math/libm-test.inc (pow_test): Add more tests.
7776
eb96ffb0
L
77772012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7778
7779 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
7780 <stdio-common/_itoa.h>.
7781 * debug/segfault.c: Likewise.
7782 * elf/dl-cache.c: Likewise.
7783 * elf/dl-minimal.c: Likewise.
7784 * elf/dl-misc.c: Likewise.
7785 * elf/dl-sysdep.c: Likewise.
7786 * elf/dl-version.c: Likewise.
7787 * elf/rtld.c: Likewise.
7788 * hurd/hurdsock.c: Likewise.
7789 * hurd/lookup-retry.c: Likewise.
7790 * malloc/malloc.c: Likewise.
7791 * malloc/mtrace.c: Likewise.
7792 * nscd/nscd_getgr_r.c: Likewise.
7793 * nscd/nscd_getpw_r.c: Likewise.
7794 * nscd/nscd_getserv_r.c: Likewise.
7795 * posix/getopt_init.c: Likewise.
7796 * posix/wordexp.c: Likewise.
7797 * stdio-common/_itoa.c: Likewise.
7798 * stdio-common/printf_fphex.c: Likewise.
7799 * stdio-common/vfprintf.c: Likewise.
7800 * string/_strerror.c: Likewise.
7801 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7802 * sysdeps/i386/i686/hp-timing.h: Likewise.
7803 * sysdeps/mach/_strerror.c: Likewise.
7804 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
7805 * sysdeps/mach/hurd/sethostid.c: Likewise.
7806 * sysdeps/mach/hurd/xmknodat.c: Likewise.
7807 * sysdeps/mach/xpg-strerror.c: Likewise.
7808 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7809 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7810 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
7811 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
7812 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7813 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
7814 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7815 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7816 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
7817 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
7818 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
7819 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7820 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
7821 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7822 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7823 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
7824 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
7825 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
7826 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7827 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7828 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
7829
7830 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
7831
7832 * stdio-common/_itoa.h: Moved to ...
7833 * sysdeps/generic/_itoa.h: Here.
7834
7835 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
7836
7837 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
7838 instead of "_itoa.h" and "_itowa.h".
7839 * stdio-common/vfprintf.: Likewise.
7840
d1af992d
L
78412012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7842
7843 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
7844 <bits/wordsize.h>.
7845 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
7846 (__signbit): Likwise.
7847 (llrintf): Likwise.
7848 (llrint): Likwise.
7849
114883e0
L
78502012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7851
7852 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
7853 __WORDSIZE != 64.
7854
c135cc1b
JM
78552012-03-20 Joseph Myers <joseph@codesourcery.com>
7856
7857 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
7858 OVERFLOW_EXCEPTION_OK.
7859 * math/libm-test.inc ("Philosophy"): Update comment about
7860 exception testing.
7861 (OVERFLOW_EXCEPTION): Define.
7862 (OVERFLOW_EXCEPTION_OK): Likewise.
7863 (INVALID_EXCEPTION_OK): Renumber.
7864 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7865 (IGNORE_ZERO_INF_SIGN): Likewise.
7866 (test_exceptions): Handle FE_OVERFLOW.
7867 (exp10_test): Expect overflow exceptions.
7868 (exp2_test): Likewise.
7869 (expm1_test): Likewise.
7870 (nextafter_test): Likewise.
7871 (pow_test): Likewise.
7872 (scalbn_test): Likewise.
7873 (scalbln_test): Likewise.
7874
95443d88
L
78752012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7876
7877 * sysdeps/x86_64/bits/atomic.h
7878 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
7879 64bit integer.
7880 (atomic_exchange_acq): Likewise.
7881 (__arch_exchange_and_add_body): Likewise.
7882 (__arch_add_body): Likewise.
7883 (atomic_add_negative): Likewise.
7884 (atomic_add_zero): Likewise.
7885
490df6c4
L
78862012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7887
c2722551 7888 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
7889 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
7890
5e52b189
L
78912012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7892
7893 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
7894 Check __x86_64__ instead of __WORDSIZE.
7895
a9879d4c
L
78962012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7897
7898 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
7899
5df98260
DM
79002012-03-19 David S. Miller <davem@davemloft.net>
7901
e1497744
DM
7902 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7903
5df98260
DM
7904 * sysdeps/sparc/fpu/fenv_private.h: New file.
7905 * sysdeps/sparc/fpu/math_private.h: Use it.
7906 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
7907 Remove.
7908 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
7909 (libc_feholdexcept_setroundl): Remove.
7910 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
7911 Remove.
7912 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
7913 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
7914
b4c35121
L
79152012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7916
7917 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
7918 int64_t instead of long int.
7919 (INSERT_WORDS64): Likwise.
7920
56965fd7
L
79212012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7922
7923 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
7924 _Unwind_GetCFA return to _Unwind_Ptr first.
7925
83d1aec8
JM
79262012-03-19 Joseph Myers <joseph@codesourcery.com>
7927
1897ad44
JM
7928 [BZ #13629]
7929 * math/s_clog.c: Include <float.h>.
7930 (__clog): Scale large or subnormal inputs.
7931 * math/s_clogf.c: Likewise.
7932 * math/s_clogl.c: Likewise.
7933 * math/s_clog10.c: Include <float.h>.
7934 (M_LOG10_2): Define.
7935 (__clog10): Scale large or subnormal inputs.
7936 * math/s_clog10f.c: Likewise.
7937 * math/s_clog10l.c: Likewise.
7938 * math/libm-test.inc (clog_test): Add more tests.
7939 (clog10_test): Likewise.
7940 * sysdeps/i386/fpu/libm-test-ulps: Update.
7941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7942
7726d6a9
JM
7943 [BZ #11451]
7944 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
7945 x and y.
7946 * math/libm-test.inc (atan2_test): Add another test.
7947
83d1aec8
JM
7948 * Makerules (common-objdir-compile): Remove.
7949 * sysdeps/unix/Makefile (config-generated): Do not add
7950 $(unix-generated) to variable.
7951 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
7952 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
7953 Remove rule.
7954 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
7955 Likewise.
7956 [generic bits/local_lim.h] (before-compile): Do not append to
7957 variable.
7958 [generic bits/local_lim.h] (common-generated): Likewise.
7959 [generic sys/param.h] (before-compile): Do not append to variable.
7960 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
7961 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
7962 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
7963 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
7964 include.
7965 [generic sys/param.h] (sys/param.h-includes): Remove variable.
7966 [generic sys/param.h] (sys/param.h-includes): Remove rule.
7967 [generic sys/param.h] ($(addprefix
7968 $(common-objpfx),$(sys/param.h-includes))): Likewise.
7969 [generic sys/param.h] (common-generated): Do not append to
7970 variable.
7971 [generic sys/param.h] (sysdep_headers): Likewise.
7972 [generic bits/errno.h] (before-compile): Do not append to
7973 variable.
7974 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
7975 rule.
7976 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
7977 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
7978 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
7979 [generic bits/errno.h] (common-generated): Do not append to
7980 variable.
7981 [generic bits/ioctls.h] (before-compile): Do not append to
7982 variable.
7983 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
7984 rule.
7985 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
7986 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
7987 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
7988 rule.
7989 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
7990 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
7991 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
7992 [generic bits/ioctls.h] (common-generated): Do not append to
7993 variable.
7994 [generic sys/syscall.h] (syscall.h): Remove variable.
7995 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
7996 rule.
7997 [generic sys/syscall.h] (before-compile): Do not append to
7998 variable.
7999 [generic sys/syscall.h] (common-generated): Likewise.
8000 * sysdeps/unix/errnos-tmpl.c: Remove file.
8001 * sysdeps/unix/errnos.awk: Likewise.
8002 * sysdeps/unix/ioctls-tmpl.c: Likewise.
8003 * sysdeps/unix/ioctls.awk: Likewise.
8004 * sysdeps/unix/mk-local_lim.c: Likewise.
8005 * sysdeps/unix/snarf-ioctls: Likewise.
8006
4851a949
RH
80072012-03-19 Richard Henderson <rth@twiddle.net>
8008
bd37f2ee
RH
8009 * sysdeps/i386/fpu/fenv_private.h: New file.
8010 * sysdeps/i386/fpu/math_private.h: Use it.
8011 (math_opt_barrier, math_force_eval): Remove.
8012 (libc_feholdexcept_setround_53bit): Remove.
8013 (libc_feupdateenv_53bit): Remove.
8014 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8015 (math_opt_barrier, math_force_eval): Remove.
8016 (libc_feholdexcept): Remove.
8017 (libc_feholdexcept_setround): Remove.
8018 (libc_fetestexcept, libc_fesetenv): Remove.
8019 (libc_feupdateenv_test): Remove.
8020 (libc_feupdateenv, libc_feholdsetround): Remove.
8021 (libc_feresetround): Remove.
8022
d0adc922
RH
8023 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
8024 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8025
0fe0f1f8
RH
8026 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
8027 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
8028 (libc_feupdateenv_testl): New.
8029 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
8030 (libc_feupdateenv_testf): New.
8031 (libc_feupdateenv): Use libc_feupdateenv_test.
8032 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
8033 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
8034
eb92c487
RH
8035 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
8036 (libc_feholdsetroundf, libc_feholdsetroundl): New.
8037 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
8038 (libc_feresetround_noex): New.
8039 (libc_feresetround_noexf): New.
8040 (libc_feresetround_noexl): New.
8041 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
8042 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
8043 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
8044 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
8045 SET_RESTORE_ROUND.
8046 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8047 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
8048 (__cos): Likewise.
8049 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
8050 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8051 SET_RESTORE_ROUND_NOEX.
8052 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
8053 SET_RESTORE_ROUND_NOEXF.
8054 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
8055 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
8056 (libc_feholdsetroundf): New.
8057 (libc_feresetround, libc_feresetroundf): New.
8058
7d2e8012
RH
8059 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
8060 (libc_feholdexcept_setround_53bit): Convert from macro to function.
8061 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
8062
b4dabbb4
RH
8063 * sysdeps/generic/math_private.h: Include <fenv.h>.
8064 (default_libc_feholdexcept): New.
8065 (default_libc_feholdexcept_setround): New.
8066 (default_libc_fesetenv, default_libc_feupdateenv): New.
8067 (libc_feholdexcept): Only define if undefined.
8068 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
8069 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
8070 (libc_feholdexcept_setroundl): Likewise.
8071 (libc_feholdexcept_setround_53bit): Likewise.
8072 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
8073 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
8074 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
8075 (libc_feupdateenv_53bit): Likewise.
8076 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
8077 (libc_feholdexcept): Convert from macro to inline function.
8078 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
8079 (libc_fesetenv, libc_feupdateenv): Likewise.
8080
4851a949
RH
8081 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
8082 not previously defined.
8083 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
8084 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
8085 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
8086 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
8087 * sysdeps/ieee754/flt-32/math_private.h: New file.
8088 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
8089 math_private.h below SET_FLOAT_WORD.
8090 (__isnan, __isinf_ns, __finite): Remove.
8091 (__isnanf, __isinf_nsf, __finitef): Remove.
8092
e79d442e
AS
80932012-03-18 Andreas Schwab <schwab@linux-m68k.org>
8094
8095 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8096
90b80344
DM
80972012-03-17 David S. Miller <davem@davemloft.net>
8098
8099 [BZ #6471]
8100 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
8101 for 2.16.
8102
edc21804
DM
81032012-03-16 David S. Miller <davem@davemloft.net>
8104
77e927af
DM
8105 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
8106 warnings.
8107
374976dd
DM
8108 [BZ #6471]
8109 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
8110 properly.
8111 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
8112 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
8113 sysdep_routines when subdir is sysvipc.
8114 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
8115 __getshmlba helper.
8116
edc21804
DM
8117 * sysdeps/sparc/fpu/libm-test/ulps: Update.
8118
473c3ef3
L
81192012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8120
8121 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
8122 [__LP64__].
8123
eb0f39b6
L
81242012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8125
8126 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
8127 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
8128 (__lround): Renamed to ...
8129 (__llround): This. Replace long int with long long int.
8130 Define lround functions as aliases of llround functions.
8131 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
8132
6b6cd74b
L
81332012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8134
8135 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
8136 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
8137 adresses to uintptr_t. Replace "long int" and "unsigned long
8138 int" with "greg_t" on va_arg.
8139
f1a77b01
L
81402012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8141
8142 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
8143 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
8144
8145 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
8146 Move e_machine check before EI_CLASS check. Handle x32
8147 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
8148 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
8149 SKIP_EM_IA_64 and include
8150 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
8151
8152 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
8153 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
8154 (add_system_dir): New macro.
8155
8156 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
8157 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
8158
11b90b9f
JM
81592012-03-16 Joseph Myers <joseph@codesourcery.com>
8160
c36e1d23
JM
8161 [BZ #2551]
8162 [BZ #2552]
8163 [BZ #2553]
8164 [BZ #2554]
8165 [BZ #2562]
8166 [BZ #2563]
8167 [BZ #2565]
8168 [BZ #2566]
8169 [BZ #2576]
8170 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
8171 (y0): Likewise.
8172 * math/w_j0f.c (j0f): Likewise.
8173 (y0f): Likewise.
8174 * math/w_j0l.c (__j0l): Likewise.
8175 (__y0l): Likewise.
8176 * math/w_j1.c (j1): Likewise.
8177 (y1): Likewise.
8178 * math/w_j1f.c (j1f): Likewise.
8179 (y1f): Likewise.
8180 * math/w_j1l.c (__j1l): Likewise.
8181 (__y1l): Likewise.
8182 * math/w_jn.c (jn): Likewise.
8183 (yn): Likewise.
8184 * math/w_jnf.c (jnf): Likewise.
8185 (ynf): Likewise.
8186 * math/w_jnl.c (__jnl): Likewise.
8187 (__ynl): Likewise.
8188 * math/libm-test.inc (j0_test): Add more tests.
8189 (j1_test): Likewise.
8190 (jn_test): Likewise. Add trailing semicolon to existing test.
8191 (y0_test): Likewise.
8192 (y1_test): Likewise.
8193 * sysdeps/i386/fpu/libm-test-ulps: Update.
8194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8195
11b90b9f
JM
8196 [BZ #13851]
8197 [BZ #13854]
8198 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8199 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8200 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8201 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8202 (__tanl): Set errno for infinite argument.
8203 * sysdeps/i386/fpu/mptan.c: Remove.
8204 * sysdeps/i386/fpu/s_tan.S: Likewise.
8205 * sysdeps/i386/fpu/s_tanl.S: Likewise.
8206 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8207 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8208 * math/libm-test.inc (tan_test): Add more tests and enable more
8209 tests for double and long double.
8210 * sysdeps/i386/fpu/libm-test-ulps: Update.
8211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8212
6a1bd2a1
JK
82132012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8214
8215 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8216 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8217
10a803e0
RM
82182012-03-16 Roland McGrath <roland@hack.frob.com>
8219
8220 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8221 * configure.in: Use it for both main tree and add-ons.
8222 * configure: Regenerated.
8223
f196c7f7
L
82242012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8225
8226 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8227
8848d99d
JM
82282012-03-16 Joseph Myers <joseph@codesourcery.com>
8229
96cbe7f4
JM
8230 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8231 in comment.
8232
8848d99d
JM
8233 [BZ #13851]
8234 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8235 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8236 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8237 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8238 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8239 infinite argument.
8240 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8241 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8242 != 0 for prec == 2.
8243 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8244 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8245 * sysdeps/i386/fpu/s_cosl.S: Likewise.
8246 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8247 * sysdeps/i386/fpu/s_sinl.S: Likewise.
8248 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8249 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8250 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8251 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8252 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8253 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8254 * math/libm-test.inc (cos_test): Add more tests and enable more
8255 tests for long double.
8256 (sin_test): Likewise.
8257 (sincos_test): Likewise.
8258 * sysdeps/i386/fpu/libm-test-ulps: Update.
8259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8260
dd7f4703
DM
82612012-03-16 David S. Miller <davem@davemloft.net>
8262
8263 * sysdeps/sparc/fpu/math_private.h: New file.
8264
006f1daa
DM
82652012-03-15 David S. Miller <davem@davemloft.net>
8266
c0c83bc8
DM
8267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8268 file.
e6a62e18 8269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
8270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8271 file.
e6a62e18
DM
8272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
8273 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
8274 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
8275 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
8276 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
8277 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
8278 sysdep routines.
8279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8280
88cb87d9
DM
8281 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
8282 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
8283
006f1daa 8284 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
8285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
8286 sparc-ifunc.h
006f1daa 8287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
8288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8289 Likewise.
8290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8291 Likewise.
006f1daa
DM
8292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
8293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
8295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8296 Likewise.
006f1daa
DM
8297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
8301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
8302 Likewise.
8303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
8304 Likewise.
006f1daa
DM
8305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
8307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8309 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8310 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8311 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
8312 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
8313 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8314 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8315 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8316 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8317 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8318 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8319 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
8320 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
8321 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
8322 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
8323 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
8324 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
8325 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
8326 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
8327 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
8328 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
8329
11e0098e
AS
83302012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8331
8332 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
8333 scaling.
8334 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8335
e85b09d0
AJ
83362012-03-15 Andreas Jaeger <aj@suse.de>
8337
8338 [BZ #13852]
8339 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
8340 ieee754/flt-32 implementation for sin, cos and sincos.
8341 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
8342 * sysdeps/i386/fpu/s_cosf.S: Likewise.
8343 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
8344 * sysdeps/i386/fpu/s_sinf.S: Likewise.
8345 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
8346 ieee754/flt-32 implementation for tan.
8347
8348 * math/libm-test.inc (cos_test): Enable some large input tests for
8349 float as well
8350 (sin_test): Likewise.
8351 (sincos_test): Likewise.
8352 (tan_test): Add tests for large input.
8353
8354 * sysdeps/i386/fpu/libm-test-ulps: Update.
8355
81c64153
AJ
83562012-03-15 Andreas Jaeger <aj@suse.de>
8357
8358 [BZ #13658]
8359 * math/libm-test.inc (cos_test): Add more test cases.
8360 (sin_test): Likewise.
8361 (sincos_test): Likewise.
8362
7bbfa5c6
AJ
83632012-03-15 Andreas Jaeger <aj@suse.de>
8364
8365 [BZ #13837]
8366 * math/libm-test.inc (cos_test): Add a test case for large input
8367 value.
8368 (sin_test): Likewise.
8369 (sincos_test): Likewise.
8370
83712012-03-15 Andreas Jaeger <aj@suse.de>,
8372 Joseph Myers <joseph@codesourcery.com>
8373
8374 [BZ #13658]
0671f479 8375 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
8376 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
8377 * sysdeps/i386/fpu/branred.c: Likewise.
8378 * sysdeps/i386/fpu/dosincos.c: Likewise.
8379 * sysdeps/i386/fpu/mpa.c: Likewise.
8380 * sysdeps/i386/fpu/s_cos.S: Likewise.
8381 * sysdeps/i386/fpu/s_sin.S: Likewise.
8382 * sysdeps/i386/fpu/s_sincos.S: Likewise.
8383 * sysdeps/i386/fpu/sincos32.c: Likewise.
8384
8385 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
8386 Define.
8387 (libc_feupdateenv_53bit): Define.
8388 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
8389 Define.
8390 (libc_feupdateenv_53bit): Define.
8391
8392 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
8393 53 bit (without extend i386 double precision).
8394
8395 * math/libm-test.inc (sincos_test): Add tests for large input.
8396 (sin): Likewise.
8397 (cos): Likewise.
8398
8399 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8400
9cad04ea
AS
84012012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8402
8403 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8404
f7062b9a
DM
84052012-03-15 David S. Miller <davem@davemloft.net>
8406
8407 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
8408 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
8409 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
8410 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
8411 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
8412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
8413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
8414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
8415 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
8416 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
8417 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
8418 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
8419 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
8420 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
8421 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
8422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
8423 file.
f7062b9a 8424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
8425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
8426 file.
f7062b9a 8427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
8428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
8429 file.
f7062b9a 8430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
8431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
8432 file.
f7062b9a
DM
8433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
8434 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
8435 fmin/fmax sysdep routines.
8436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8437
7bd951ff
DM
84382012-03-14 David S. Miller <davem@davemloft.net>
8439
559398ab
DM
8440 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
8441 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
8442 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
8443 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
8444 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
8445 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
8446 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
8447 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
8448 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
8449 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
8450 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
8451 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
8452 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
8453 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
8454 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
8455 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
8456 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
8457 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
8458 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
8459 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
8460 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
8461 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
8462 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
8463 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
8464 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
8465 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
8466 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
8467 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
8468 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
8469 routines.
8470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
8471 file.
559398ab 8472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
8473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
8474 file.
559398ab 8475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
8476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
8477 file.
559398ab 8478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
8479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
8480 file.
559398ab 8481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
8482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
8483 file.
559398ab 8484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
8485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
8486 file.
8487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
8488 file.
8489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
8490 file.
8491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
8492 file.
8493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
8494 New file.
8495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
8496 file.
8497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
8498 file.
559398ab 8499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
8500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
8501 file.
559398ab 8502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
8503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
8504 file.
559398ab 8505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
8506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
8507 file.
559398ab 8508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
8509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
8510 VIS3 routines.
559398ab
DM
8511
8512 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8513 New file.
8514
5a1c1e32
DM
8515 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8516
eae47a36
DM
8517 * sysdeps/sparc/configure.in: New file.
8518 * sysdeps/sparc/configure: Generate.
8519 * configure.in (libc_cv_sparc_as_vis3): Substitute.
8520 * configure: Regenerate.
8521 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
8522 * config.make.in (have-as-vis3): New.
8523 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
8524 available use -Av9d instead of -Av9a.
8525 * sysdeps/sparc/sparc64/Makefile: Likewise.
8526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
8527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
8528 New file.
8529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
8530 file.
8531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
8532 New file.
8533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
8534 file.
eae47a36
DM
8535 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
8536 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
8537 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
8538 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
8539 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
8540
c0c83bc8
DM
8541 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
8542 fzeros/fnegs to load 0x80000000 into a float register instead of
8543 using the stack.
7bd951ff
DM
8544 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
8545
bd951ccb
JM
85462012-03-14 Joseph Myers <joseph@codesourcery.com>
8547
8548 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8549 bits/syscall.h.
8550 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
8551 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
8552 ($(inst_includedir)/bits/syscall.h): Remove rule.
8553 ($(objpfx)bits/syscall.d): Include instead of
8554 $(objpfx)syscall-list.d.
8555 (generated): Change syscall-list.h and syscall-list.d to
8556 bits/syscall.h and bits/syscall.d.
8557
bb4e6db2
RM
85582012-03-14 Roland McGrath <roland@hack.frob.com>
8559
8560 [BZ #13846]
8561 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
8562
aa4a2ae1
JM
85632012-03-14 Joseph Myers <joseph@codesourcery.com>
8564
e456826d
JM
8565 [BZ #13841]
8566 * math/s_csqrt.c: Include <float.h>.
8567 (__csqrt): Scale large or subnormal inputs.
8568 * math/s_csqrtf.c: Likewise.
8569 * math/s_csqrtl.c: Likewise.
8570 * math/libm-test.inc (csqrt_test): Add more tests.
8571 * sysdeps/i386/fpu/libm-test-ulps: Update.
8572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8573
aa4a2ae1
JM
8574 [BZ #13840]
8575 * math/libm-test.inc (hypot_test): Add more tests.
8576
7c10fd35
DM
85772012-03-13 David S. Miller <davem@davemloft.net>
8578
8579 [BZ #13840]
8580 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
8581 double-precision for the calculation instead of scaling.
8582
f453b98b
JM
85832012-03-13 Joseph Myers <joseph@codesourcery.com>
8584
8585 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
8586 manipulate bits before adding and subtracting TWO52[sx].
8587 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
8588 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8589 Likewise.
8590 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
8591
09a3453f
DM
85922012-03-13 David S. Miller <davem@davemloft.net>
8593
8e59da90
DM
8594 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
8595 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
8596 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
8597 rtld-global-offsets.h
8598 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8599
2a8ab7f2
DM
8600 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
8601 large parameters.
8602
10f62770
DM
8603 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
8604
5f0bdb18
DM
8605 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
8606 'err' in the ifdef scope in which it is actually used.
8607
09a3453f
DM
8608 * nss/nss_db/db-init.c: Include string.h
8609
b4b2eb5e
DM
86102012-03-12 David S. Miller <davem@davemloft.net>
8611
98bb2f1c
DM
8612 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8613 masking out of the most significant byte of random value used.
8614 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8615 Fix coding style in previous change.
8616
b4b2eb5e
DM
8617 * sysdeps/unix/sysv/linux/kernel-features.h
8618 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
8619 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
8620 expression.
8621 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
8622 later.
8623
6e226b09
DM
86242012-03-11 David S. Miller <davem@davemloft.net>
8625
a1bcbd40
DM
8626 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8627 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
8628 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
8629 for 'resultvar' otherwise things get truncated on 64-bit.
8630
cb9d6174
DM
8631 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8632 Fix masking out of the most significant byte of random value used.
8633
6e226b09
DM
8634 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8635
058c132d
AS
86362012-03-10 Andreas Schwab <schwab@linux-m68k.org>
8637
8638 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8639
2d2cd515
DM
86402012-03-09 David S. Miller <davem@davemloft.net>
8641
8642 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
8643 variables with appropriate CPP guards.
8644 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
8645 frame pointer, not the stack pointer. Correct layout comments. Fix test
8646 on resulting framesize and the management of the outregs buffer for pltexit.
8647 Preserve floating point return values across _dl_call_pltexit call.
8648 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
8649 framesize and the management of the outregs buffer for pltexit.
8650 Preserve floating point return values across _dl_call_pltexit
8651 call.
8652 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
8653 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
8654 (print_exit): Fix format string for return register value.
8655
9a07f9d0
JM
86562012-03-10 Joseph Myers <joseph@codesourcery.com>
8657
8658 * sunrpc/Makefile (others): Add rpcgen.
8659 ($(objpfx)rpcgen): Remove special build rule and dependency on
8660 libc.
8661 * sunrpc/rpcgen.c: New file.
8662
547b5e30
PE
86632012-03-09 Paul Eggert <eggert@cs.ucla.edu>
8664
c524201a
PE
8665 [BZ #13673]
8666 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
8667 * stdio-common/bug-vfprintf-nargs.c: Likewise.
8668 * sysdeps/i386/crti.S: Likewise.
8669 * sysdeps/i386/crtn.S: Likewise.
8670 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
8671 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
8672 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
8673 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
8674 * sysdeps/sh/crti.S: Likewise.
8675 * sysdeps/sh/crtn.S: Likewise.
8676 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8677
7b6235f2
PE
8678 [BZ #13673]
8679 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
8680 with URL.
8681 * locale/programs/locfile-kw.gperf: Likewise.
8682 * locale/programs/charmap-kw.h: Regenerated.
8683 * locale/programs/locfile-kw.h: Likewise.
8684
547b5e30
PE
8685 [BZ #13673]
8686 * intl/plural.y: Replace FSF snail mail address with URL.
8687 * intl/plural.c: Regenerated.
8688
5f0a5dae
RH
86892012-03-09 Richard Henderson <rth@twiddle.net>
8690
8691 * include/math_private.h: Remove file.
8692 * math/math_private.h: Move file ...
8693 * sysdeps/generic/math_private.h: ... here.
8694
b8c03620
RH
8695 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
8696 * sysdeps/powerpc/fpu/math_private.h: Likewise.
8697 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8698
4e234f5d 8699 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
8700 and <math_private.h>.
8701 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8702 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8703 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8704 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8705 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8706 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
8707 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8708 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8709 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8710 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8711 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8712 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8713 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8714 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8715 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8716 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8717 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8718 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8719 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8720 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8721 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8722 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8723 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8724 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8725 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8726 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8727 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8728 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8729 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8730 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8731 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8732 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8733 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8734 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8735 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8736 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8737 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8738 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8739 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8740 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8741 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
8742 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8743 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8744 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8745 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8746 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8747 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8748 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8749 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8750 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8751 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8752 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8753 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8754 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8755 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8756 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8757 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8758 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8759 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8760 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
8761 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8762 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8763 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8764 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8765 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8766 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8767 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8768 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8769 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
8770 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
8771 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8772 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8773 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8774 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8775 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
8776 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8777 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
8778 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8779 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
8780 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8781 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8782 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8783 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8784 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8785 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8786 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8787 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
8788 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8789 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8790 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8791 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8792 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8793 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8794 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8795 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8796 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8797 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8798 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8799 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8800 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8801 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8802 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8803 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8804 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8805 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8806 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8807 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8808 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8809 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8810 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8811 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8812 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8813 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8814 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8815 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8816 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8817 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8818 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8819 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8820 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8821 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8822 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8823 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8824 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
8825 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8826 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8827 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8828 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
8829 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8830 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8831 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8832 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8833 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8834 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8835 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8836 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8837 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8838 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8839 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
8840 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8841 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8842 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8843 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8844 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
8845 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
8846 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8847 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8848 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8849 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8850 * sysdeps/ieee754/k_standard.c: Likewise.
8851 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8852 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8853 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8854 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8855 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8856 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8857 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8858 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8859 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8860 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8861 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8862 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8863 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8864 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8865 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8866 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8867 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8868 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8869 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8870 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8871 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8872 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8873 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8874 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8875 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8876 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8877 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8878 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8879 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8880 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8881 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8882 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8883 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8884 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8885 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8886 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8887 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8888 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
8889 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8890 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8891 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8892 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8893 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8894 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8895 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8896 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8897 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8898 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8899 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8900 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8901 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8902 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8903 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8904 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8905 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8906 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8907 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
8908 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8909 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8910 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8911 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8912 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8913 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8914 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8915 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8916 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8917 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8918 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8919 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8920 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8921 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8922 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8923 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8924 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8925 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8926 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8927 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
8928 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8929 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8930 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8931 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8932 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8933 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8934 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8935 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
8936 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8937 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8938 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8939 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8940 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8941 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
8942 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8943 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8944 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8945 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8946 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8947 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
8948 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8949 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8950 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
8951 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8952 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8953 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8954 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8955 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
8956 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8957 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8958 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8959 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
8960 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8961 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8962 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8963 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8964 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8965 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8966 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8967 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8968 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8969 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8970 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8971 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8972 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8973 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8974 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8975 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8976 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8977 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8978 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8979 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8980 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8981 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8982 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8983 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8984 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8985 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8986 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8987 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
8988 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8989 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8990 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8991 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8992 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8993 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8994 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8995 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8996 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8997 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8998 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8999 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9000 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
9001 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9002 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9003 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9004 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9005 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
9006 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
9007 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9008 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9009 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9010 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9011 * sysdeps/ieee754/s_lib_version.c: Likewise.
9012 * sysdeps/ieee754/s_matherr.c: Likewise.
9013 * sysdeps/ieee754/s_signgam.c: Likewise.
9014 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9015 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9016 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9017 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9018 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9019 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9020 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
9021 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
9022 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
9023 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9024 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9025 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9026 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9027 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9028 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
9029 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9030 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9031 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9032 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9033 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9034 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 9035
1991fa03
JM
90362012-03-09 Joseph Myers <joseph@codesourcery.com>
9037
9038 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
9039 * sunrpc/rpc_main.c: Likewise.
9040 * sunrpc/rpc_svcout.c: Likewise.
9041
60d6f5a6
DM
90422012-03-09 David S. Miller <davem@davemloft.net>
9043
9044 * include/math_private.h: New file.
9045
4962050e
JM
90462012-03-09 Joseph Myers <joseph@codesourcery.com>
9047
02a6f887
JM
9048 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
9049 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
9050 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
9051 from <bits/socket_type.h>.
9052 (enum __socket_type): Don't define here.
9053 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
9054 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9055 bits/socket_type.h.
9056
c6e013c1
JM
9057 [BZ #13566]
9058 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
9059 checking __USE_GNU.
9060
4962050e
JM
9061 * Makerules ($(inst_includedir)/%.h): New rule.
9062 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
9063 (install-others): Remove variable setting.
9064 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
9065
38842f45
RH
90662012-03-08 Richard Henderson <rth@twiddle.net>
9067
67bb6da6
RH
9068 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
9069 from macro to inline function; merge with the
9070 !__LIBC_INTERNAL_MATH_INLINES version.
9071 (__ieee754_sqrtf): Likewise.
9072
15194b4b
RH
9073 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
9074 to inline function.
9075 (__rintf, __floor, __floorf): Likewise.
9076
64e21ede
RH
9077 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
9078 macro to inline function.
9079 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
9080
38842f45
RH
9081 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
9082 not <math/math_private.h>.
9083
c64bf5fe
DM
90842012-03-08 David S. Miller <davem@davemloft.net>
9085
9086 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
9087 copyright year.
9088 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9089
82d86f28
TS
90902012-03-08 Thomas Schwinge <thomas@codesourcery.com>
9091
9092 * resolv/gai_misc.c (handle_requests): Fix struct timespec
9093 normalization.
9094 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
9095 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9096
aea5d727
UD
90972012-03-08 Ulrich Drepper <drepper@gmail.com>
9098
9099 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
9100 be defined individually, they must be defined as a block. Define
9101 S for printing a string instead of hidint the different by using a
9102 macro for adding the 'l'.
9103 * stdio-common/tst-fphex-wide.c: Adjust.
9104
70bca0a3
MP
91052012-03-07 Marek Polacek <polacek@redhat.com>
9106
9107 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
9108
65b81130
MP
91092012-03-08 Marek Polacek <polacek@redhat.com>
9110
9111 [BZ #13806]
9112 * stdio-common/Makefile (tests): Add tst-fphex-wide.
9113 * stdio-common/tst-fphex.c: Define a few macros to make the
9114 test reusable. Use them.
9115 * stdio-common/tst-fphex-wide.c: New file.
9116
07037eeb
JM
91172012-03-08 Joseph Myers <joseph@codesourcery.com>
9118
a7a93d50
JM
9119 [BZ #6911]
9120 * manual/macros.texi (gnusystems): New macro.
9121 (nongnusystems): Likewise.
9122 (gnulinuxhurdsystems): Likewise.
9123 (gnuhurdsystems): Likewise..
9124 (gnulinuxsystems): Likewise.
9125 * manual/charset.texi: Use new macros or @theglibc{} to refer to
9126 variants of the GNU system, not "GNU system".
9127 * manual/conf.texi: Likewise.
9128 * manual/errno.texi: Likewise. Update example of errno macro
9129 expansion.
9130 * manual/filesys.texi: Likewise.
9131 (getumask): Document as specific to GNU/Hurd.
9132 * manual/install.texi: Likewise. Reword some references to
9133 GNU/Linux.
9134 * manual/intro.texi: Likewise.
9135 * manual/io.texi: Likewise.
9136 (File Name Portability): Detail which constraints are inapplicable
9137 to all GNU systems and which are only inapplicable to GNU/Hurd.
9138 * manual/job.texi: Likewise.
9139 * manual/llio.texi: Likewise.
9140 (O_NOCTTY): Document as present on GNU/Linux.
9141 * manual/maint.texi: Likewise.
9142 * manual/memory.texi: Likewise.
9143 * manual/pattern.texi: Likewise.
9144 * manual/pipe.texi: Likewise.
9145 * manual/process.texi: Likewise.
9146 * manual/resource.texi: Likewise.
9147 (RUSAGE_CHILDREN): Remove statement about specifying a particular
9148 child on GNU/Hurd.
9149 * manual/setjmp.texi: Likewise.
9150 * manual/signal.texi: Likewise.
9151 * manual/startup.texi: Likewise.
9152 * manual/stdio.texi: Likewise.
9153 * manual/terminal.texi: Likewise.
9154 (ONLCR): Document as POSIX.
9155 (OXTABS): Document availability on GNU/Linux as XTABS.
9156 (ONOEOT): Document availability separately from other bits.
9157 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
9158 * manual/time.texi: Likewise.
9159 * manual/users.texi: Likewise.
9160 * INSTALL: Regenerated.
9161 * sysdeps/gnu/errlist.c: Regenerated.
9162
07037eeb
JM
9163 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
9164 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
9165 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
9166 puts.
9167 * configure: Regenerated.
9168
d1d3431a
JM
91692012-03-07 Joseph Myers <joseph@codesourcery.com>
9170
af6a1e37
JM
9171 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
9172 default includes instead of AC_HEADER_CHECK.
9173 * sysdeps/i386/configure: Regenerated.
9174
d1d3431a
JM
9175 [BZ #10716]
9176 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
9177 * math/s_cacoshf.c (__cacoshf): Likewise.
9178 * math/s_cacoshl.c (__cacoshl): Likewise.
9179 * math/s_casinh.c (__casinh): Set signs of result from argument.
9180 * math/s_casinhf.c (__casinhf): Likewise.
9181 * math/s_casinhl.c (__casinhl): Likewise.
9182 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9183 (casinh_test): Add more tests.
9184 * sysdeps/i386/fpu/libm-test-ulps: Update.
9185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9186
482ff4da
UD
91872012-03-07 Ulrich Drepper <drepper@gmail.com>
9188
872fda05
UD
9189 * po/zh_TW.po: Update from translation team.
9190
a4300c7a
UD
9191 * login/Makefile (distribute): Remove variable.
9192 * catgets/Makefile: Likewise.
9193 * mach/Makefile: Likewise.
9194 * malloc/Makefile: Likewise.
9195 * misc/Makefile: Likewise.
9196 * iconv/Makefile: Likewise.
9197 * nscd/Makefile: Likewise.
9198 * hurd/Makefile: Likewise.
9199 * manual/Makefile: Likewise.
9200 * locale/Makefile: Likewise.
9201 * intl/Makefile: Likewise.
9202 * conform/Makefile: Likewise.
9203 * nss/Makefile: Likewise.
9204 * time/Makefile: Likewise.
9205 * soft-fp/Makefile: Likewise.
9206 * dirent/Makefile: Likewise.
9207 * gmon/Makefile: Likewise.
9208 * po/Makefile: Likewise.
9209 * rt/Makefile: Likewise.
9210 * socket/Makefile: Likewise.
9211 * math/Makefile: Likewise.
9212 * signal/Makefile: Likewise.
9213 * debug/Makefile: Likewise.
9214 * elf/Makefile: Likewise.
9215 * timezone/Makefile: Likewise.
9216 * stdlib/Makefile: Likewise.
9217 * iconvdata/Makefile: Likewise.
9218 * sunrpc/Makefile: Likewise.
9219 * io/Makefile: Likewise.
9220 * argp/Makefile: Likewise.
9221 * inet/Makefile: Likewise.
9222 * hesiod/Makefile: Likewise.
9223 * grp/Makefile: Likewise.
9224 * csu/Makefile: Likewise.
9225 * wctype/Makefile: Likewise.
9226 * crypt/Makefile: Likewise.
9227 * libio/Makefile: Likewise.
9228 * string/Makefile: Likewise.
9229 * nis/Makefile: Likewise.
9230 * resolv/Makefile: Likewise.
9231 * stdio-common/Makefile: Likewise.
9232 * wcsmbs/Makefile: Likewise.
9233 * dlfcn/Makefile: Likewise.
9234 * posix/Makefile: Likewise.
9235
3b7c4e74 9236 [BZ #6959]
482ff4da
UD
9237 * timezone/Makefile: Don't install timezone files, just the programs
9238 and scripts.
9239
f72ed77d
UD
92402012-03-06 Ulrich Drepper <drepper@gmail.com>
9241
a000466f
UD
9242 * nss/databases.def: Add missing gshadow entry.
9243
f72ed77d
UD
9244 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
9245
a53b7a4e
MP
92462012-03-06 Marek Polacek <polacek@redhat.com>
9247
9248 [BZ #13726]
9249 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9250 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9251 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9252 * stdio-common/tst-long-dbl-fphex.c: New file.
9253
e9258400
DM
92542012-03-06 David S. Miller <davem@davemloft.net>
9255
9256 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9257 (set_obp_int): New function.
9258 (get_obp_int): New function.
9259 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
9260 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9261 Avoid unused variable warnings on 'val' and use builtin_expect.
9262 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9263 __builtin_expect.
e9258400
DM
9264 (INLINE_CLONE_SYSCALL): Likewise.
9265
3bd2c723
DM
92662012-03-05 David S. Miller <davem@davemloft.net>
9267
9268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9269
bbb78d03
AS
92702012-03-05 Andreas Schwab <schwab@linux-m68k.org>
9271
884c5db4
AS
9272 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9273
bbb78d03
AS
9274 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
9275 only for |x| >= 40.
9276 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9277
1c9f702a 92782012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
9279
9280 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
9281 Replace gettimeofday with __vdso_gettimeofday.
9282
7be16f82
RM
9283 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9284 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
9285 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
9286
9287 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
9288 time with __vdso_time.
9289
ed58a00f
JM
92902012-03-05 Joseph Myers <joseph@codesourcery.com>
9291
9292 * manual/lang.texi (size_t): Note types to which size_t may be
9293 equivalent with the GNU C Library, but do not describe when
9294 differences between them are significant.
9295
30ee4ced
AJ
92962012-03-05 Andreas Jaeger <aj@suse.de>
9297
9298 * sysdeps/i386/fpu/libm-test-ulps: Update.
9299
b7cd39e8
JM
93002012-03-05 Joseph Myers <joseph@codesourcery.com>
9301
9302 [BZ #3976]
9303 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
9304 (__ieee754_pow): Save and restore rounding mode and use
9305 round-to-nearest for main computations.
9306 * math/libm-test.inc (pow_test_tonearest): New function.
9307 (pow_test_towardzero): Likewise.
9308 (pow_test_downward): Likewise.
9309 (pow_test_upward): Likewise.
9310 (main): Call the new functions.
9311 * sysdeps/i386/fpu/libm-test-ulps: Update.
9312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
9313
9314 [BZ #3976]
9315 * math/libm-test.inc (cosh_test_tonearest): New function.
9316 (cosh_test_towardzero): Likewise.
9317 (cosh_test_downward): Likewise.
9318 (cosh_test_upward): Likewise.
9319 (sinh_test_tonearest): Likewise.
9320 (sinh_test_towardzero): Likewise.
9321 (sinh_test_downward): Likewise.
9322 (sinh_test_upward): Likewise.
9323 (main): Call the new functions.
9324 * sysdeps/i386/fpu/libm-test-ulps: Update.
9325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9326
6c6a98c9
TV
93272012-03-05 Tom de Vries <tom@codesourcery.com>
9328
9329 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
9330 default stack guard is set in last bytes.
9331 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
9332
21bb2d2e 93332012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 9334
21bb2d2e 9335 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 9336
21bb2d2e
AJ
9337 [BZ #13656]
9338 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
9339 possibly allocate from heap instead of stack.
9340 * stdio-common/bug-vfprintf-nargs.c: New file.
9341 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 9342
c6922934
AS
93432012-03-03 Andreas Schwab <schwab@linux-m68k.org>
9344
9345 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9346
bc957d53
MP
93472012-03-03 Marek Polacek <polacek@redhat.com>
9348
9349 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
9350 * math/math_private.h: Likewise.
9351 * stdlib/tst-strtod.c: Likewise.
9352 * sysdeps/i386/i486/bits/atomic.h: Likewise.
9353 * sysdeps/x86_64/bits/atomic.h: Likewise.
9354
6358490d
DM
93552012-03-02 David S. Miller <davem@davemloft.net>
9356
9357 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
9358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
9359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
9360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
9361 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
9362 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
9363 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
9364 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
9365
01ae168d
RM
93662012-03-02 Roland McGrath <roland@hack.frob.com>
9367
d9a17c07
RM
9368 [BZ #13792]
9369 * manual/examples/README: New file, says the example source files
9370 can be used under GPL>=2.
9371 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
9372 line containing just "*/".
9373 * manual/examples/add.c: Add copyright header (GPL>=2).
9374 * manual/examples/argp-ex1.c: Likewise.
9375 * manual/examples/argp-ex2.c: Likewise.
9376 * manual/examples/argp-ex3.c: Likewise.
9377 * manual/examples/argp-ex4.c: Likewise.
9378 * manual/examples/atexit.c: Likewise.
9379 * manual/examples/db.c: Likewise.
9380 * manual/examples/dir.c: Likewise.
9381 * manual/examples/dir2.c: Likewise.
9382 * manual/examples/execinfo.c: Likewise.
9383 * manual/examples/filecli.c: Likewise.
9384 * manual/examples/filesrv.c: Likewise.
9385 * manual/examples/fmtmsgexpl.c: Likewise.
9386 * manual/examples/genpass.c: Likewise.
9387 * manual/examples/inetcli.c: Likewise.
9388 * manual/examples/inetsrv.c: Likewise.
9389 * manual/examples/isockad.c: Likewise.
9390 * manual/examples/longopt.c: Likewise.
9391 * manual/examples/memopen.c: Likewise.
9392 * manual/examples/memstrm.c: Likewise.
9393 * manual/examples/mkfsock.c: Likewise.
9394 * manual/examples/mkisock.c: Likewise.
9395 * manual/examples/mygetpass.c: Likewise.
9396 * manual/examples/pipe.c: Likewise.
9397 * manual/examples/popen.c: Likewise.
9398 * manual/examples/rprintf.c: Likewise.
9399 * manual/examples/search.c: Likewise.
9400 * manual/examples/select.c: Likewise.
9401 * manual/examples/setjmp.c: Likewise.
9402 * manual/examples/sigh1.c: Likewise.
9403 * manual/examples/sigusr.c: Likewise.
9404 * manual/examples/stpcpy.c: Likewise.
9405 * manual/examples/strdupa.c: Likewise.
9406 * manual/examples/strftim.c: Likewise.
9407 * manual/examples/strncat.c: Likewise.
9408 * manual/examples/subopt.c: Likewise.
9409 * manual/examples/swapcontext.c: Likewise.
9410 * manual/examples/termios.c: Likewise.
9411 * manual/examples/testopt.c: Likewise.
9412 * manual/examples/testpass.c: Likewise.
9413 * manual/examples/timeval_subtract.c: Likewise.
9414
01ae168d
RM
9415 [BZ #13792]
9416 * manual/time.texi (Elapsed Time): Move timeval_subtract example
9417 function to ...
9418 * manual/timeval_subtract.c.texi: ... here, new file.
9419
49efa33d
DM
94202012-03-02 David S. Miller <davem@davemloft.net>
9421
9422 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
9423
28afd92d
JM
94242012-03-02 Joseph Myers <joseph@codesourcery.com>
9425
804360ed
JM
9426 [BZ #3976]
9427 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
9428 (__sin): Save and restore rounding mode and use round-to-nearest
9429 for all computations.
9430 (__cos): Save and restore rounding mode and use round-to-nearest
9431 for all computations.
9432 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
9433 <fenv.h>.
9434 (tan): Save and restore rounding mode and use round-to-nearest for
9435 all computations.
9436 * math/libm-test.inc (cos_test_tonearest): New function.
9437 (cos_test_towardzero): Likewise.
9438 (cos_test_downward): Likewise.
9439 (cos_test_upward): Likewise.
9440 (sin_test_tonearest): Likewise.
9441 (sin_test_towardzero): Likewise.
9442 (sin_test_downward): Likewise.
9443 (sin_test_upward): Likewise.
9444 (tan_test_tonearest): Likewise.
9445 (tan_test_towardzero): Likewise.
9446 (tan_test_downward): Likewise.
9447 (tan_test_upward): Likewise.
9448 (main): Call the new functions.
9449 * sysdeps/i386/fpu/libm-test-ulps: Update.
9450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9451
a6d06d7b
JM
9452 [BZ #10135]
9453 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
9454 small n, then large n, before computing and testing k+n.
9455 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9456 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9457 Likewise.
9458 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9459 Likewise.
9460 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
9461 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9462 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9463 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9464 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9465 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9466 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9467 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
9468 * math/libm-test.inc (scalbn_test): Add more tests.
9469 (scalbln_test): Likewise.
9470
07e12bb3
JM
9471 * manual/filesys.texi (mode_t): Describe constraints on size and
9472 signedness, not exact equivalence to a particular type.
9473 (ino_t): Likewise.
9474 (ino64_t): Likewise.
9475 (dev_t): Likewise.
9476 (nlink_t): Likewise.
9477 (blkcnt_t): Likewise.
9478 (blkcnt64_t): Likewise.
9479 * manual/llio.texi (off_t): Likewise.
9480
28afd92d
JM
9481 [BZ #3976]
9482 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
9483 (__ieee754_exp): Save and restore rounding mode and use
9484 round-to-nearest for all computations.
9485 * math/libm-test.inc (exp_test_tonearest): New function.
9486 (exp_test_towardzero): Likewise.
9487 (exp_test_downward): Likewise.
9488 (exp_test_upward): Likewise.
9489 (main): Call the new functions.
9490 * sysdeps/i386/fpu/libm-test-ulps: Update.
9491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9492
b1eeb65d
CD
94932012-03-01 Chris Demetriou <cgd@google.com>
9494
9495 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
9496 have predictable order.
9497
53362a4b
DM
94982012-03-01 David S. Miller <davem@davemloft.net>
9499
3c969083
DM
9500 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
9501
759707de
DM
9502 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
9503 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
9504 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
9505 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
9506
dfdb8ff2
DM
9507 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
9508 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
9509 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
9510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
9511 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
9512 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
9513 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
9514 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
9515 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
9516
ead89f96
DM
9517 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9518
7f66bd07
DM
9519 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
9520 * sysdeps/sparc/fpu/libm-test-ulps: to here.
9521 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
9522
53362a4b
DM
9523 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
9524 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9525 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9526 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9527 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9528 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9529 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9530 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9531 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9532 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9533 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9534 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9535 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9536 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9537 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9538 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9539 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
9540 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
9541 * sysdeps/sparc/elf/configure: Regenerated.
9542
7b1902cb
JM
95432012-03-01 Joseph Myers <joseph@codesourcery.com>
9544
bec039bc
JM
9545 * configure.in (AS, LD): Require binutils 2.20 or later.
9546 * configure: Regenerated.
9547 * manual/install.texi (Tools for Compilation): Give binutils 2.20
9548 as required minimum version.
9549 * INSTALL: Regenerated.
9550
7b1902cb
JM
9551 [BZ #2541]
9552 [BZ #4108]
9553 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
9554 before squaring exponent.
9555 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
9556 bottom long double and 27 bits of top long double before squaring
9557 exponent.
9558 * math/libm-test.inc (erfc_test): Add more tests.
9559 * sysdeps/i386/fpu/libm-test-ulps: Update.
9560 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9562
f775c276
KT
95632012-03-01 Kai Tietz <ktietz@redhat.com>
9564
9565 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
9566 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
9567 containing bit-fields.
9568 * soft-fp/extended.h (_FP_UNION_E): Likewise.
9569 * soft-fp/single.h (_FP_UNION_S): Likewise.
9570 * soft-fp/double.h (_FP_UNION_D): Likewise.
9571
5b8a4d4a
JM
95722012-02-29 Joseph Myers <joseph@codesourcery.com>
9573
0bab47b6
JM
9574 [BZ #13786]
9575 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
9576 not include ../strcmp.S.
9577 [USE_AS_STRNCASECMP_L]: Likewise.
9578 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
9579 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
9580 * sysdeps/i386/i686/multiarch/strncase_l-c.c
9581 (__strncasecmp_l_ia32): Define as alias to
9582 __strncasecmp_l_nonascii.
9583
0fcad3e2
JM
9584 [BZ #5794]
9585 * math/libm-test.inc (expm1_test): Add test for bug 5794.
9586 * sysdeps/i386/fpu/libm-test-ulps: Update.
9587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9588
5b8a4d4a
JM
9589 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
9590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9591
8fdceb2e
JL
95922012-02-29 Jeff Law <law@redhat.com>
9593
9594 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
9595 out of bounds read.
9596
1f393a11
MP
95972012-02-29 Marek Polacek <polacek@redhat.com>
9598
9599 [BZ #13706]
9600 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
9601 * elf/Makefile: Add rules to run tst-unused-dep.out.
9602
8847f037
DM
96032012-02-28 David S. Miller <davem@davemloft.net>
9604
9605 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
9606 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
9607 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
9608 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
9609 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
9610 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
9611
169d7f11
JM
96122012-02-29 Joseph Myers <joseph@codesourcery.com>
9613
9614 * math/libm-test.inc (llround_test): Move one test from
9615 lround_test. Use TEST_f_L in moved test.
9616 (lround_test): Move misplaced test to llround_test. Add testcase
9617 from bug 2561.
9618
39adf059
UD
96192012-02-28 Ulrich Drepper <drepper@gmail.com>
9620
9621 * sysdeps/x86_64/fpu/e_expf.S: New file.
9622 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
9623
71b5d1c5
SB
96242012-02-28 Stanislav Brabec <sbrabec@suse.cz>
9625
9626 [BZ #13637]
9627 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
9628 of remain_len that may cause incomplete multi-byte character and
9629 false match.
9630 * posix/bug-regex33.c: New file.
9631 * posix/Makefile (tests): Add bug-regex33.
9632
1f77f049
JM
96332012-02-28 Joseph Myers <joseph@codesourcery.com>
9634
9635 * manual/macros.texi: New file.
9636 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
9637 * manual/libc.texinfo: Include macros.texi.
9638 * manual/creatute.texi: Likewise.
9639 * manual/install.texi: Likewise.
9640 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
9641 @glibcadj{} in references to the GNU C Library.
9642 * manual/charset.texi: Likewise.
9643 * manual/conf.texi: Likewise.
9644 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
9645 when not using those macros.
9646 * manual/creature.texi: Likewise.
9647 * manual/crypt.texi: Likewise.
9648 * manual/errno.texi: Likewise.
9649 * manual/filesys.texi: Likewise.
9650 * manual/header.texi: Likewise.
9651 * manual/install.texi: Likewise.
9652 * manual/intro.texi: Likewise.
9653 * manual/io.texi: Likewise.
9654 * manual/job.texi: Likewise.
9655 * manual/lang.texi: Likewise.
9656 * manual/libc.texiinfo: Likewise.
9657 * manual/llio.texi: Likewise.
9658 * manual/locale.texi: Likewise.
9659 * manual/maint.texi: Likewise.
9660 * manual/math.texi: Likewise.
9661 * manual/memory.texi: Likewise.
9662 * manual/message.texi: Likewise.
9663 * manual/nss.texi: Likewise.
9664 * manual/pattern.texi: Likewise.
9665 * manual/process.texi: Likewise.
9666 * manual/resource.texi: Likewise.
9667 * manual/search.texi: Likewise.
9668 * manual/setjmp.texi: Likewise.
9669 * manual/signal.texi: Likewise.
9670 * manual/socket.texi: Likewise.
9671 * manual/startup.texi: Likewise.
9672 * manual/stdio.texi: Likewise.
9673 * manual/string.texi: Likewise.
9674 * manual/sysinfo.texi: Likewise.
9675 * manual/syslog.texi: Likewise.
9676 * manual/terminal.texi: Likewise.
9677 * manual/time.texi: Likewise.
9678 * manual/users.texi: Likewise.
9679 * INSTALL: Regenerated.
9680 * NOTES: Regenerated.
d40c5d54 9681 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 9682
450bf206
AS
96832012-02-28 Andreas Schwab <schwab@linux-m68k.org>
9684
9685 * include/dirent.h: Include <dirstream.h> before
9686 <dirent/dirent.h>.
9687
741a235b
DM
96882012-02-28 David S. Miller <davem@davemloft.net>
9689
9690 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
9691 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
9692 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
9693 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
9694
d6b5aa58
DM
96952012-02-27 David S. Miller <davem@davemloft.net>
9696
1aff59a3
DM
9697 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
9698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
9699 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
9700 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
9701
d6b5aa58
DM
9702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
9703 frame pointer instead of stack pointer relative arg slot.
9704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9705 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9706 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9707
433f48bf
CD
97082012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
9709
9710 [BZ #3992]
9711 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
9712
d674b76d
DM
97132012-02-27 David S. Miller <davem@davemloft.net>
9714
9715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
9716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
9719 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9720 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9721 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
9722 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
9723
0e7727f7
JM
97242012-02-27 Joseph Myers <joseph@codesourcery.com>
9725
9726 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
9727 later. Allow versions 5-9.
43be4ca2 9728 * configure: Regenerated.
0e7727f7
JM
9729 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
9730 required minimum version and 4.6 as recommended version. Do not
9731 mention bugs in GCC 2.7 and 2.8.
43be4ca2 9732 * INSTALL: Regenerated.
0e7727f7 9733
a78bc654
DM
97342012-02-27 David S. Miller <davem@davemloft.net>
9735
428d5830
DM
9736 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
9737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
9738 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
9739 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
9740 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
9741 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
9742 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
9743 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
9744
a78bc654
DM
9745 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
9746 manipulate bits before adding and subtracting TWO112[sx].
9747 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9748
4579f81c
RM
97492012-02-27 Roland McGrath <roland@hack.frob.com>
9750
36c8acb4
RM
9751 [BZ #13775]
9752 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
9753 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
9754 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
9755 being in POSIX, because they are in 1003.1-2008.
9756
84ad622b
RM
9757 * rt/tst-aio.c: Include <fcntl.h>.
9758 * rt/tst-aio7.c: Likewise.
9759 * rt/tst-aio64.c: Likewise.
9760
4579f81c
RM
9761 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
9762
abd923db
JM
97632012-02-27 Joseph Myers <joseph@codesourcery.com>
9764
9765 * manual/install.texi (--with-headers): Describe headers as
9766 interface headers, not private headers.
9767 (Specific advice for GNU/Linux systems): Describe use of headers
9768 from "make headers_install", not private headers from older
9769 kernels.
43be4ca2 9770 * INSTALL: Regenerated.
abd923db
JM
9771 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
9772 Change to 2.6.19.
9773 * sysdeps/unix/sysv/linux/configure: Regenerated.
9774
6664049b
JM
9775 * manual/llio.texi (fclean): Remove documentation.
9776
bb8b6697
JM
9777 * manual/Makefile (libc-texi-generated): New variable. Include
9778 version.texi.
9779 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
9780 $(libc-texi-generated), not duplicated list of files.
9781 (version.texi, stamp-version): New rules.
9782 (realclean): Remove $(libc-texi-generated), not individual files
9783 from that list. Do not remove dir-add.texinfo.
9784 * manual/libc.texinfo: Comment out uses of edition numbers and
9785 references to printed manual. Remove last-updated dates.
9786 (EDITION): Comment out.
9787 (ISBN): Likewise.
9788 (VERSION, UPDATED): Remove.
9789 (version.texi): Include.
9790
12e5c3b9
AS
97912012-02-27 Andreas Schwab <schwab@linux-m68k.org>
9792
9793 * sysdeps/posix/spawni.c: Include <signal.h>.
9794 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
9795 * sysdeps/pthread/aio_fsync.c: Likewise.
9796
4efeffc1 97972012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 9798
ba63ba08
UD
9799 * conform/Makefile (tests): Run only when not cross-compiling and
9800 when fast-check is not defined.
9801
d94a4670
UD
9802 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
9803 * conform/data/limits.h-data: Fixes for POSIX2008.
9804 * conform/run-conformtest.sh: Run all tests.
9805 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
9806 headers.
9807 * include/bits/dlfcn.h: Likewise.
9808 * include/langinfo.h: Likewise.
9809 * include/monetary.h: Likewise.
9810 * include/sys/poll.h: Likewise.
9811
9812 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
9813 for __USE_GNU.
9814 * posix/spawn.h: Define __need_sigset_t.
9815 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
9816 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
9817 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
9818 to get sigevent_t only.
9819 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
9820 only for __USE_GNU.
9821 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9822 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9823 process_vm_writev only for __USE_GNU.
9824 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
9825
9826 * conform/Makefile: For now ignore errors from run-conformtest.
9827 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
9828 POSIX to avoid namespace pollution. Don't prepend headers.
9829 * conform/data/aio.h-data: Fixes for POSIX testing.
9830 * conform/data/fcntl.h-data: Likewise.
9831 * conform/data/glob.h-data: Likewise.
9832 * conform/data/grp.h-data: Likewise.
9833 * conform/data/pthread.h-data: Likewise.
9834 * conform/data/pwd.h-data: Likewise.
9835 * conform/data/signal.h-data: Likewise.
9836 * conform/data/spawn.h-data: Likewise.
9837 * conform/data/stdio.h-data: Likewise.
9838 * conform/data/stdlib.h-data: Likewise.
9839 * conform/data/stropts.h-data: Likewise.
9840 * conform/data/sys/mman.h-data: Likewise.
9841 * conform/data/sys/stat.h-data: Likewise.
9842 * conform/data/sys/types.h-data: Likewise.
9843 * conform/data/sys/wait.h-data: Likewise.
9844 * conform/data/time.h-data: Likewise.
9845 * conform/data/unistd.h-data: Likewise.
9846 * conform/data/utime.h-data: Likewise.
9847
9848 * io/sys/stat.h: fchmod was always in POSIX.
9849 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
9850 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
9851 * rt/aio.h: Define __need_timespec before including <time.h>.
9852 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
9853 struct. Add forward declaration of pthread_attr_t and use it in
9854 sigevent.
9855 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9856 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9857 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
9858 always remove CLK_TCK definition.
9859
c20105c3
AS
98602012-02-26 Andreas Schwab <schwab@linux-m68k.org>
9861
9862 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
9863
7a270350
UD
98642012-02-25 Ulrich Drepper <drepper@gmail.com>
9865
31341567
UD
9866 * conform/run-conformtest.sh: New file.
9867 * conform/Makefile: Run run-conformtest for tests.
9868 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
9869 support.
9870
9871 * conform/data/uchar.h-data: New file.
9872 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
9873 * conform/data/arpa/inet.h-data: Likewise.
9874 * conform/data/assert.h-data: Likewise.
9875 * conform/data/complex.h-data: Likewise.
9876 * conform/data/cpio.h-data: Likewise.
9877 * conform/data/ctype.h-data: Likewise.
9878 * conform/data/dirent.h-data: Likewise.
9879 * conform/data/dlfcn.h-data: Likewise.
9880 * conform/data/errno.h-data: Likewise.
9881 * conform/data/fcntl.h-data: Likewise.
9882 * conform/data/float.h-data: Likewise.
9883 * conform/data/fmtmsg.h-data: Likewise.
9884 * conform/data/fnmatch.h-data: Likewise.
9885 * conform/data/ftw.h-data: Likewise.
9886 * conform/data/glob.h-data: Likewise.
9887 * conform/data/grp.h-data: Likewise.
9888 * conform/data/iconv.h-data: Likewise.
9889 * conform/data/inttypes.h-data: Likewise.
9890 * conform/data/langinfo.h-data: Likewise.
9891 * conform/data/libgen.h-data: Likewise.
9892 * conform/data/limits.h-data: Likewise.
9893 * conform/data/locale.h-data: Likewise.
9894 * conform/data/math.h-data: Likewise.
9895 * conform/data/monetary.h-data: Likewise.
9896 * conform/data/mqueue.h-data: Likewise.
9897 * conform/data/ndbm.h-data: Likewise.
9898 * conform/data/net/if.h-data: Likewise.
9899 * conform/data/netdb.h-data: Likewise.
9900 * conform/data/netinet/in.h-data: Likewise.
9901 * conform/data/nl_types.h-data: Likewise.
9902 * conform/data/poll.h-data: Likewise.
9903 * conform/data/pthread.h-data: Likewise.
9904 * conform/data/pwd.h-data: Likewise.
9905 * conform/data/regex.h-data: Likewise.
9906 * conform/data/sched.h-data: Likewise.
9907 * conform/data/search.h-data: Likewise.
9908 * conform/data/semaphore.h-data: Likewise.
9909 * conform/data/setjmp.h-data: Likewise.
9910 * conform/data/signal.h-data: Likewise.
9911 * conform/data/spawn.h-data: Likewise.
9912 * conform/data/stdarg.h-data: Likewise.
9913 * conform/data/stdio.h-data: Likewise.
9914 * conform/data/stdlib.h-data: Likewise.
9915 * conform/data/string.h-data: Likewise.
9916 * conform/data/strings.h-data: Likewise.
9917 * conform/data/stropts.h-data: Likewise.
9918 * conform/data/sys/ipc.h-data: Likewise.
9919 * conform/data/sys/mman.h-data: Likewise.
9920 * conform/data/sys/msg.h-data: Likewise.
9921 * conform/data/sys/resource.h-data: Likewise.
9922 * conform/data/sys/select.h-data: Likewise.
9923 * conform/data/sys/sem.h-data: Likewise.
9924 * conform/data/sys/shm.h-data: Likewise.
9925 * conform/data/sys/socket.h-data: Likewise.
9926 * conform/data/sys/stat.h-data: Likewise.
9927 * conform/data/sys/statvfs.h-data: Likewise.
9928 * conform/data/sys/time.h-data: Likewise.
9929 * conform/data/sys/timeb.h-data: Likewise.
9930 * conform/data/sys/times.h-data: Likewise.
9931 * conform/data/sys/types.h-data: Likewise.
9932 * conform/data/sys/uio.h-data: Likewise.
9933 * conform/data/sys/un.h-data: Likewise.
9934 * conform/data/sys/utsname.h-data: Likewise.
9935 * conform/data/sys/wait.h-data: Likewise.
9936 * conform/data/syslog.h-data: Likewise.
9937 * conform/data/tar.h-data: Likewise.
9938 * conform/data/termios.h-data: Likewise.
9939 * conform/data/utime.h-data: Likewise.
9940 * conform/data/utmpx.h-data: Likewise.
9941 * conform/data/varargs.h-data: Likewise.
9942 * conform/data/wchar.h-data: Likewise.
9943 * conform/data/wctype.h-data: Likewise.
9944 * conform/data/wordexp.h-data: Likewise.
9945
9946 * include/stropts.h: New file.
9947 * include/uchar.h: New file.
9948 * include/aio.h: Changes to allow conformtest.pl to use the headers.
9949 * include/assert.h: Likewise.
9950 * include/ctype.h: Likewise.
9951 * include/dirent.h: Likewise.
9952 * include/dlfcn.h: Likewise.
9953 * include/fcntl.h: Likewise.
9954 * include/fnmatch.h: Likewise.
9955 * include/glob.h: Likewise.
9956 * include/grp.h: Likewise.
9957 * include/libio.h: Likewise.
9958 * include/locale.h: Likewise.
9959 * include/math.h: Likewise.
9960 * include/net/if.h: Likewise.
9961 * include/netdb.h: Likewise.
9962 * include/netinet/in.h: Likewise.
9963 * include/pthread.h: Likewise.
9964 * include/pwd.h: Likewise.
9965 * include/regex.h: Likewise.
9966 * include/sched.h: Likewise.
9967 * include/search.h: Likewise.
9968 * include/setjmp.h: Likewise.
9969 * include/signal.h: Likewise.
9970 * include/stdio.h: Likewise.
9971 * include/stdlib.h: Likewise.
9972 * include/string.h: Likewise.
9973 * include/sys/cdefs.h: Likewise.
9974 * include/sys/mman.h: Likewise.
9975 * include/sys/msg.h: Likewise.
9976 * include/sys/resource.h: Likewise.
9977 * include/sys/select.h: Likewise.
9978 * include/sys/socket.h: Likewise.
9979 * include/sys/stat.h: Likewise.
9980 * include/sys/statvfs.h: Likewise.
9981 * include/sys/time.h: Likewise.
9982 * include/sys/times.h: Likewise.
9983 * include/sys/uio.h: Likewise.
9984 * include/sys/utsname.h: Likewise.
9985 * include/sys/wait.h: Likewise.
9986 * include/termios.h: Likewise.
9987 * include/time.h: Likewise.
9988 * include/ulimit.h: Likewise.
9989 * include/unistd.h: Likewise.
9990 * include/utime.h: Likewise.
9991 * include/wchar.h: Likewise.
9992 * include/wctype.h: Likewise.
9993 * include/wordexp.h: Likewise.
9994
9995 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
9996
7a270350
UD
9997 * time/time.h: TIME_UTC must be a macro.
9998 Make timespec_get available for ISO C11 only as well.
9999
7724defc
UD
100002012-02-24 Ulrich Drepper <drepper@gmail.com>
10001
10002 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
10003 Reported by Peng Haitao <penght@cn.fujitsu.com>.
10004
6b1d1d46
JM
100052012-02-24 Joseph Myers <joseph@codesourcery.com>
10006
10007 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 10008
0f8bbd69
JM
100092012-02-24 Joseph Myers <joseph@codesourcery.com>
10010
10011 * manual/texinfo.tex: Update to version 2012-01-19.16.
10012
66ab80bc
JM
100132012-02-24 Joseph Myers <joseph@codesourcery.com>
10014
10015 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
10016
74981cc5
RM
100172012-02-24 Roland McGrath <roland@hack.frob.com>
10018
ee968201
RM
10019 [BZ #13738]
10020 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
10021 * manual/fdl-1.3.texi: New file.
10022 * manual/fdl-1.1.texi: File removed.
10023
74981cc5
RM
10024 [BZ #13738]
10025 * manual/libc.texinfo (FDL_VERSION): New @set.
10026 Use it for mention of FDL in cover text.
10027 (Documentation License): Use it in @include file name.
10028
7bb764bc
JM
100292012-02-22 Joseph Myers <joseph@codesourcery.com>
10030 Roland McGrath <roland@hack.frob.com>
10031
10032 [BZ #5461]
10033 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
10034 not LONG_LONG_MAX and LONG_LONG_MIN.
10035 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
10036 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
10037 name.
10038 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
10039
6cbeae47
JM
100402012-02-22 Joseph Myers <joseph@codesourcery.com>
10041
10042 [BZ #2547]
10043 [BZ #11365]
10044 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
10045 manipulate bits before adding and subtracting TWO23[sx].
10046 * math/libm-test.inc (nearbyint_test): Add more tests.
10047
fe45ce09
JM
100482012-02-22 Joseph Myers <joseph@codesourcery.com>
10049
10050 [BZ #2548]
10051 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
10052 bits before adding and subtracting TWO23[sx].
10053 * math/libm-test.inc (rint_test): Add more tests.
10054 (rint_test_tonearest): Likewise.
10055 (rint_test_towardzero): Likewise.
10056 (rint_test_downward): Likewise.
10057 (rint_test_upward: Likewise.
10058
ff3b3d82
JM
100592012-02-22 Joseph Myers <joseph@codesourcery.com>
10060
10061 [BZ #10110]
10062 * include/stdc-predef.h: New file. Extracted from features.h.
10063 * include/features.h: Include stdc-predef.h.
10064 * Makefile (headers): Add stdc-predef.h.
10065 * CONFORMANCE (Compiler limitations): Update.
10066
ef0aab35
JM
100672012-02-22 Joseph Myers <joseph@codesourcery.com>
10068
10069 * manual/libc.texinfo (VERSION, UPDATED): Revert.
10070
58639409
DM
100712012-02-21 David S. Miller <davem@davemloft.net>
10072
10073 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
10074 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10075
c0e70b25
DM
100762012-02-20 David S. Miller <davem@davemloft.net>
10077
10078 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
10079 using a normal save/restore sequence, rather than allocating a
10080 dummy stack frame just to store a frame pointer and restore.
10081 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10082
fb06851d
JM
100832012-02-21 Joseph Myers <joseph@codesourcery.com>
10084
10085 * manual/install.texi: Fix stray word in line-wrapped comment.
10086
7a8b71c3
DM
100872012-02-20 David S. Miller <davem@davemloft.net>
10088
d510c123
DM
10089 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
10090 both binutils and gcc support GOTDATA.
10091
0722d7c2
DM
10092 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
10093 "rd %pc" in the PIC register setup sequences.
10094
3d2b3019
DM
10095 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
10096 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10097 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10098 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10099 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10100 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10101 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10102 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10103 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
10104 (SYSCALL_ERROR_HANDLER): Likewise.
10105 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10106 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10107 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
10108 (SYSCALL_ERROR_HANDLER): Likewise.
10109
c80098a9
DM
10110 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
10111 (HAVE_GCC_GOTDATA): New.
10112 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
10113 relocation support in both binutils and gcc.
10114 * sysdeps/sparc/elf/configure: Regenerate.
10115
3a2545a0
DM
10116 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
10117 * sysdeps/sparc/sparc32/elf/configure: Delete.
10118 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
10119 * sysdeps/sparc/sparc64/elf/configure: Delete.
10120 * sysdeps/sparc/elf/configure.in: New file.
10121 * sysdeps/sparc/elf/configure: Generate.
10122
7a8b71c3
DM
10123 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
10124 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
10125 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10126 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
10127 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
10128
f1e86fca
JM
101292012-02-21 Joseph Myers <joseph@codesourcery.com>
10130
10131 * manual/install.texi: Do not mention specific glibc version
10132 numbers.
10133 * manual/libc.texinfo (VERSION, UPDATED): Update.
10134 (@copying): Use @copyright{} and range of years.
10135
0e7dfaef
JM
101362012-02-21 Joseph Myers <joseph@codesourcery.com>
10137
10138 [BZ #13695]
10139 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
10140 [crti.S not in sysdirs] (generated): Do not append.
10141 [crti.S not in sysdirs] (omit-deps): Likewise.
10142 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
10143 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
10144 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
10145 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
10146 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
10147 Likewise.
10148 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
10149 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
10150 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
10151 * csu/defs.awk: Remove file.
10152 * sysdeps/generic/initfini.c: Likewise.
10153 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
10154 variable.
10155 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
10156 Likewise.
10157
599af3ca
JM
101582012-02-20 Joseph Myers <joseph@codesourcery.com>
10159
10160 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
10161 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
10162 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
10163 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
10164 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10165 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
10166 <bits/epoll.h>.
10167 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
10168 (__EPOLL_PACKED): Define to empty if not defined by
10169 <bits/epoll.h>.
10170 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
10171 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10172 bits/epoll.h.
10173
0e499750
JM
101742012-02-20 Joseph Myers <joseph@codesourcery.com>
10175
10176 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
10177 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
10178 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10179 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10180 <bits/timerfd.h>.
10181 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10182 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10183 bits/timerfd.h.
10184
5ad91f6e
JM
101852012-02-20 Joseph Myers <joseph@codesourcery.com>
10186
10187 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10188 in C locale.
10189 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10190 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10191 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10193
06b99b02
AJ
101942012-02-20 Aurelien Jarno <aurelien@aurel32.net>
10195
10196 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10197 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10198
7638c0fd
AS
101992012-02-19 Andreas Schwab <schwab@linux-m68k.org>
10200
10201 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10202 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10203 defined.
10204 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10205 Likewise.
10206 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10207 entry for 2.16.
10208
92221550
AJ
102092012-02-19 Aurelien Jarno <aurelien@aurel32.net>
10210
10211 * math/w_acos.c: Use non-signaling floating-point comparisons.
10212 * math/w_acosf.c: Likewise.
10213 * math/w_acosh.c: Likewise.
10214 * math/w_acoshf.c: Likewise.
10215 * math/w_acoshl.c: Likewise.
10216 * math/w_acosl.c: Likewise.
10217 * math/w_asin.c: Likewise.
10218 * math/w_asinf.c: Likewise.
10219 * math/w_asinl.c: Likewise.
10220 * math/w_atanh.c: Likewise.
10221 * math/w_atanhf.c: Likewise.
10222 * math/w_atanhl.c: Likewise.
10223 * math/w_exp2.c: Likewise.
10224 * math/w_exp2f.c: Likewise.
10225 * math/w_exp2l.c: Likewise.
10226 * math/w_j0.c: Likewise.
10227 * math/w_j0f.c: Likewise.
10228 * math/w_j0l.c: Likewise.
10229 * math/w_j1.c: Likewise.
10230 * math/w_j1f.c: Likewise.
10231 * math/w_j1l.c: Likewise.
10232 * math/w_jn.c: Likewise.
10233 * math/w_jnf.c: Likewise.
10234 * math/w_log.c: Likewise.
10235 * math/w_log10.c: Likewise.
10236 * math/w_log10f.c: Likewise.
10237 * math/w_log10l.c: Likewise.
10238 * math/w_log2.c: Likewise.
10239 * math/w_log2f.c: Likewise.
10240 * math/w_log2l.c: Likewise.
10241 * math/w_logf.c: Likewise.
10242 * math/w_logl.c: Likewise.
10243 * math/w_sqrt.c: Likewise.
10244 * math/w_sqrtf.c: Likewise.
10245 * math/w_sqrtl.c: Likewise.
10246 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10247 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10248 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10249 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10250 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10251
ebaf36eb
JM
102522012-02-19 Joseph Myers <joseph@codesourcery.com>
10253
10254 [BZ #9739]
10255 * manual/string.texi (strnlen): Use correct parameter name in
10256 equivalent expression.
10257
71c254a6
JM
102582012-02-19 Joseph Myers <joseph@codesourcery.com>
10259
10260 [BZ #11174]
10261 * manual/users.texi (seteuid): Consistently use neweuid for
10262 argument name.
10263
16d2c631
JM
102642012-02-19 Joseph Myers <joseph@codesourcery.com>
10265
10266 [BZ #13704]
10267 * manual/nss.texi (Services in the NSS configuration): Correct
10268 list of services in example configuration file.
10269
cd837b09
NB
102702012-02-19 Nick Bowler <nbowler@draconx.ca>
10271
10272 [BZ #11322]
10273 * manual/arith.texi: Remove statements about negative zero
10274 behaving identically to zero.
10275
02c4bbad
JM
102762012-02-18 Joseph Myers <joseph@codesourcery.com>
10277
10278 [BZ #5993]
10279 * manual/install.texi: Do not document upgrading from libc5.
10280
366842e7
JM
102812012-02-18 Joseph Myers <joseph@codesourcery.com>
10282
10283 [BZ #4596]
10284 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
10285
dd54084d
DM
102862012-02-18 David S. Miller <davem@davemloft.net>
10287
10288 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
10289 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
10290 %o7 across the call.
10291 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
10292 instead.
10293 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
10294 SETUP_PIC_REG_LEAF.
10295 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10296 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
10297 * sysdeps/sparc/crtn.S: Likewise.
10298
2bcc53a3
UD
102992012-02-17 Ulrich Drepper <drepper@gmail.com>
10300
10301 * aout/Makefile: Remove.
10302
09c093b5
RK
103032012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
10304
10305 [BZ #13058]
10306 * manual/examples/argp-ex1.c (main): Format definition in GNU
10307 style.
10308 * manual/examples/argp-ex2.c (main): Likewise.
10309 * manual/examples/argp-ex3.c (main): Likewise.
10310 * manual/examples/argp-ex4.c (main): Likewise.
10311 * manual/examples/longopt.c (main): Use new-style prototype
10312 definition.
10313 * manual/examples/strncat.c (main): Specify return type and use
10314 (void) for arguments.
10315 * manual/examples/subopt.c (main): Use char **argv argument.
10316
2ee633a2
JM
103172012-02-17 Joseph Myers <joseph@codesourcery.com>
10318
10319 [BZ #5077]
10320 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
10321 rounding modes.
10322
0520adde
FB
103232012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
10324
10325 [BZ #6907]
10326 * manual/string.texi (strchr): Change when strchrnul is
10327 recommended.
10328
3f4081cd
DGM
103292012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
10330
10331 [BZ #174]
10332 * manual/locale.texi (setlocale): Document LOCPATH.
10333
d1b10e78
JM
103342012-02-17 Joseph Myers <joseph@codesourcery.com>
10335
10336 [BZ #10210]
10337 * manual/process.texi (execle): Move @dots{} before last argument.
10338
79c6869c
PB
103392012-02-17 Paul Bolle <pebolle@tiscali.nl>
10340
10341 [BZ #12047]
10342 * manual/charset.texi (Generic Charset Conversion): Fix typo
10343 (LC_TYPE -> LC_CTYPE).
10344
cc6e48bc
NB
103452012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
10346
10347 [BZ #5805]
10348 * manual/arith.texi (scalbn): Use @var{} on parameter names.
10349 (scalbnf): Likewise.
10350 (scalbnl): Likewise.
10351 (scalbln): Likewise.
10352 (scalblnf): Likewise.
10353 (scalblnl): Likewise.
10354 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
10355 (vwarnx): Likewise.
10356 (verr): Likewise.
10357 (verrx): Likewise.
10358 * manual/filesys.texi (telldir): Use braces around return type.
10359 * manual/llio.texi (mmap): Add space after comma.
10360 (mmap64): Likewise.
10361 * manual/math.texi (jn): Use @var{} on parameter names.
10362 (jnf): Likewise.
10363 (jnl): Likewise.
10364 (yn): Likewise.
10365 (ynf): Likewise.
10366 (ynl): Likewise.
10367 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
10368 line.
10369 * manual/resource.texi (ulimit): Use @dots{} instead of literal
10370 "...".
10371 (sched_get_priority_min): Remove semicolon on @deftypefun line.
10372 (sched_get_priority_max): Likewise.
10373 * manual/signal.texi (sigvec): Add space after comma.
10374 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
10375 names.
10376 (if_indextoname): Likewise.
10377 (if_freenameindex): Likewise.
10378 (sendto): Use ',' instead of '.' in prototype.
10379 * manual/startup.texi (syscall): Use @dots{} instead of literal
10380 "...".
10381 * manual/stdio.texi (__fpending): Separate initial words of
10382 paragraph from @deftypefun line.
10383 * manual/syslog.texi (syslog): Use @dots{} instead of literal
10384 "...".
10385 (vsyslog): Use @var{} on parameter names.
10386 * manual/terminal.texi (stty): Use @var{} on parameter names.
10387 * manual/users.texi (getutmp): Use @var{} on parameter names.
10388 (getutmpx): Likewise.
10389
5b23062f
JM
103902012-02-17 Joseph Myers <joseph@codesourcery.com>
10391
10392 [BZ #6884]
10393 * manual/stdio.texi (fopen): Fix typos in description of
10394 ",ccs=STRING".
10395
8dee4833
AJ
103962012-02-17 Aurelien Jarno <aurelien@aurel32.net>
10397
10398 [BZ #4026]
10399 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
10400 get clock_id definition.
10401
9078ce93
TS
104022012-02-17 Thomas Schwinge <thomas@schwinge.name>
10403
10404 [BZ #4822]
10405 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
10406 (madvise): Cast every argument to void on its own.
10407
3835c55f
JM
104082012-02-17 Joseph Myers <joseph@codesourcery.com>
10409
10410 [BZ #9902]
10411 * manual/startup.texi (Exit Status): Fix typo.
10412
35c47e37
JM
104132012-02-17 Joseph Myers <joseph@codesourcery.com>
10414
10415 [BZ #10140]
10416 * manual/examples/argp-ex1.c: Include <stdlib.h>.
10417 * manual/examples/argp-ex2.c: Likewise.
10418 * manual/examples/argp-ex3.c: Likewise.
10419
e3b69ca7
RH
104202012-02-16 Richard Henderson <rth@redhat.com>
10421
10422 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
10423 * sysdeps/s390/s390-32/initfini.c: Remove.
10424 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
10425 * sysdeps/s390/s390-64/initfini.c: Remove.
10426
df83af67
KK
104272012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10428
10429 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
10430 compiler output for sysdeps/generic/initfini.c.
10431 * sysdeps/sh/elf/initfini.c: Remove file.
10432
f63f3380
DM
104332012-02-16 David S. Miller <davem@davemloft.net>
10434
fb59b3a4
DM
10435 [BZ #11494]
10436 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
10437
f63f3380
DM
10438 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
10439 * sysdeps/sparc/crti.S: New file.
10440 * sysdeps/sparc/crtn.S: New file.
10441 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
10442 * sysdeps/sparc/sparc64/Makefile: Likewise.
10443
df6a4a4a
MF
104442012-02-15 Mike Frysinger <vapier@gentoo.org>
10445
6dd8f3dc 10446 [BZ #3335]
df6a4a4a
MF
10447 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
10448
1cac7236
RM
104492012-02-15 Roland McGrath <roland@hack.frob.com>
10450
d2c736f8
RM
10451 [BZ #4822]
10452 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
10453
1cac7236
RM
10454 * mach/devstream.c (cookie_io_functions_t): Macro removed.
10455 (write, read, close): Likewise.
10456 Patch by Aurelien Jarno <aurelien@aurel32.net>.
10457
8e475601
JM
104582012-02-15 Joseph Myers <joseph@codesourcery.com>
10459
10460 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
10461 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
10462 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
10463 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
10464 <bits/signalfd.h>.
10465 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
10466 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10467 bits/signalfd.h.
10468
ed656b40
MP
104692012-02-14 Marek Polacek <polacek@redhat.com>
10470
10471 * sysdeps/x86_64/crti.S: New file.
10472 * sysdeps/x86_64/crtn.S: New file.
10473 * sysdeps/x86_64/elf/initfini.c: Remove file.
10474
2a979d3a
JM
104752012-02-13 Joseph Myers <joseph@codesourcery.com>
10476
10477 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
10478 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
10479 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
10480 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
10481 <bits/inotify.h>.
10482 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
10483 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10484 bits/inotify.h.
10485
2a418ac3
JM
104862012-02-13 Joseph Myers <joseph@codesourcery.com>
10487
10488 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
10489 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
10490 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
10491 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
10492 <bits/eventfd.h>.
10493 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
10494 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10495 bits/eventfd.h.
10496
fb779be7
TS
104972012-02-10 Thomas Schwinge <thomas@codesourcery.com>
10498
e19e83c5
RM
10499 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
10500 __feraiseexcept instead of feraiseexcept.
7c35ffed 10501
fb779be7
TS
10502 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
10503 nanosleep invocations.
10504 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
10505 strings, and add error checking for a nanosleep invocations.
10506
59ba27a6
PE
105072012-02-09 Paul Eggert <eggert@cs.ucla.edu>
10508
10509 Replace FSF snail mail address with URLs, as per GNU coding standards.
10510 Most of the snail mail addresses were wrong anyway, and omitting
10511 them makes the source code easier to maintain. Almost all of the
10512 changes are to license notices and to locale LC_IDENTIFICATION
10513 addresses, except for this one:
10514 * manual/libc.texinfo: In "Published by", give the FSF's URL,
10515 not its snail mail address.
10516
57b957eb
RH
105172012-02-09 Richard Henderson <rth@twiddle.net>
10518
af850b1c
RH
10519 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
10520 of kernel-features.h.
10521
57b957eb
RH
10522 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
10523
6b73181a
MP
105242012-02-08 Marek Polacek <polacek@redhat.com>
10525
10526 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
10527 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
10528 * sysdeps/gnu/_G_config.h: Likewise.
10529 * sysdeps/generic/_G_config.h: Likewise.
10530
26ecc33a
AS
105312012-02-08 Andreas Schwab <schwab@linux-m68k.org>
10532
6c6dbc63
AS
10533 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
10534 tests.
10535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10536
e216c012
AS
10537 * sysdeps/powerpc/powerpc32/crti.S: New file.
10538 * sysdeps/powerpc/powerpc32/crtn.S: New file.
10539 * sysdeps/powerpc/powerpc64/crti.S: New file.
10540 * sysdeps/powerpc/powerpc64/crtn.S: New file.
10541
26ecc33a
AS
10542 * Makeconfig (have-initfini): Don't set.
10543 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
10544 * configure.in (nopic_initfini): Don't substitute.
10545 * config.h.in (HAVE_INITFINI): Don't #undef.
10546 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
10547 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
10548
3add8e13
JM
105492012-02-08 Joseph Myers <joseph@codesourcery.com>
10550
10551 Support crti.S and crtn.S provided directly by architectures.
10552 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
10553 [crti.S in sysdirs] (omit-deps): Likewise.
10554 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
10555 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
10556 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
10557 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
10558 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
10559 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
10560 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
10561 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
10562 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
10563 compiler output for sysdeps/generic/initfini.c.
10564 * sysdeps/i386/elf/Makefile: Remove file.
10565 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
10566
a22f12b4
MP
105672012-02-07 Marek Polacek <polacek@redhat.com>
10568
10569 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
10570 * sysdeps/gnu/_G_config.h: Likewise.
10571 * sysdeps/mach/hurd/_G_config.h: Likewise.
10572
148cf100
MP
105732012-02-07 Marek Polacek <polacek@redhat.com>
10574
10575 * math/Makefile (tests): Add tst-CMPLX2.
10576 * math/tst-CMPLX2.c: New file.
10577
cfdc0dd7
AS
105782012-02-07 Andreas Schwab <schwab@linux-m68k.org>
10579
84ba42c4
AS
10580 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10581
cfdc0dd7
AS
10582 * math/libm-test.inc (jn_test): Add missing L suffix.
10583
622c86f4
MP
105842012-02-06 Marek Polacek <polacek@redhat.com>
10585
10586 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
10587 * sysdeps/i386/fpu/e_powf.S: Likewise.
10588 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10589 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10590 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10591 * sysdeps/i386/fpu/e_pow.S: Likewise.
10592 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10593 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10594 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10595 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10596 * sysdeps/i386/fpu/e_log2.S: Likewise.
10597 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10598 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10599 * sysdeps/i386/fpu/e_powl.S: Likewise.
10600 * sysdeps/i386/fpu/s_log1p.S: Likewise.
10601 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10602 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10603 * sysdeps/i386/fpu/e_logl.S: Likewise.
10604 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10605 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
10606 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10607 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10608 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10609 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10610 * sysdeps/i386/fpu/e_log.S: Likewise.
10611 * sysdeps/i386/fpu/s_cexp.S: Likewise.
10612 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10613 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
10614 * sysdeps/i386/fpu/e_logf.S: Likewise.
10615 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10616 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10617 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
10618 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10619 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10620 * sysdeps/i386/fpu/e_log10.S: Likewise.
10621 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10622 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10623 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10624 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10625 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10626 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10627 * sysdeps/i386/asm-syntax.h: Likewise.
10628 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10629 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10630 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10631 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
10632 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
10633 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10634 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10635 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10636 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10637 * sysdeps/powerpc/sysdep.h: Likewise.
10638 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
10639 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10640
d4a54ac6
JM
106412012-02-06 Joseph Myers <joseph@codesourcery.com>
10642
10643 [BZ #411]
10644 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
10645
314054ea
JM
106462012-02-06 Joseph Myers <joseph@codesourcery.com>
10647
10648 * sysdeps/i386/sysdep.h: Include <features.h>.
10649 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
10650 version.
10651
d8e0ca50
JM
106522012-02-05 Joseph Myers <joseph@codesourcery.com>
10653
10654 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
10655 Define.
10656 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
10657 LOAD_PIC_REG_STR.
10658
b1da7dd9
JM
106592012-02-03 Joseph Myers <joseph@codesourcery.com>
10660
10661 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
10662 (SETUP_PIC_REG): Use GET_PC_THUNK.
10663 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
10664 macro.
10665
9a1d9254
JM
106662012-02-03 Joseph Myers <joseph@codesourcery.com>
10667
10668 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
10669 for non-PIC compilation.
10670 (SETUP_PIC_REG): Add .p2align directive.
10671 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
10672 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10673 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10674 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10675 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10676 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10677 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10678 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10679 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10680 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10681 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10682 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10683 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10684 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10685 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10686 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10687 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10688 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10689 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10690 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10691 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10692 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10693 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10694 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10695 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10696 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10697 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10698 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10699 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10700 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10701 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10702 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10703 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10704 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10705 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10706 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10707 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10708 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10709 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10710 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10711 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10712
65dc3b75
JM
107132012-02-03 Joseph Myers <joseph@codesourcery.com>
10714
10715 * math/tst-CMPLX.c: Include <stdio.h>.
10716
d55bf177
JM
107172012-01-31 Joseph Myers <joseph@codesourcery.com>
10718
10719 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
10720 float.
10721 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10722 * sysdeps/sparc/bits/mathdef.h: Likewise.
10723
69db4f8f
MP
107242012-01-31 Marek Polacek <polacek@redhat.com>
10725
10726 * libio/libio.h: Don't define _PARAMS.
10727 * locale/programs/config.h: Don't define PARAMS.
10728 * stdlib/strtol_l.c: Likewise.
10729 (__strtol_l): Remove PARAMS from the prototype.
10730
41b81892
UD
107312012-01-31 Ulrich Drepper <drepper@gmail.com>
10732
3b49edc0
UD
10733 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
10734 names. Just use the correct names. Remove unnecessary wrapper
10735 functions.
10736 * malloc/arena.c: Likewise.
10737 * malloc/hooks.c: Likewise.
10738
41b81892
UD
10739 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
10740 ARENA_TEST says not to. Simplify test for creation of a new arena.
10741 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
10742
27a25b6e
UD
107432012-01-30 Ulrich Drepper <drepper@gmail.com>
10744
10745 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
10746 into tail calls.
10747 (update_get_addr): New function.
10748 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
10749 GET_ADDR_MODULE parameter.
10750
c8a89e7d
JM
107512012-01-30 Joseph Myers <joseph@codesourcery.com>
10752
10753 * crypt/cert.c: Remove __STDC__ conditionals.
10754 * crypt/crypt-entry.c: Likewise.
10755 * crypt/crypt_util.c: Likewise.
10756 * libio/filedoalloc.c: Likewise.
10757 * libio/fileops.c: Likewise.
10758 * libio/genops.c: Likewise.
10759 * libio/iofclose.c: Likewise.
10760 * libio/iofdopen.c: Likewise.
10761 * libio/iofopen.c: Likewise.
10762 * libio/iofopen64.c: Likewise.
10763 * libio/iogetdelim.c: Likewise.
10764 * libio/iopopen.c: Likewise.
10765 * libio/obprintf.c: Likewise.
10766 * libio/oldfileops.c: Likewise.
10767 * libio/oldiofclose.c: Likewise.
10768 * libio/oldiofdopen.c: Likewise.
10769 * libio/oldiofopen.c: Likewise.
10770 * libio/oldiopopen.c: Likewise.
10771 * libio/wfiledoalloc.c: Likewise.
10772 * libio/wgenops.c: Likewise.
10773 * locale/programs/xmalloc.c: Likewise.
10774 * misc/syslog.c: Likewise.
10775 * stdio-common/xbug.c: Likewise.
10776 * string/memchr.c: Likewise.
10777 * string/memcmp.c: Likewise.
10778 * string/memrchr.c: Likewise.
10779 * string/rawmemchr.c: Likewise.
10780 * sysdeps/posix/getcwd.c: Likewise.
10781 * time/strftime_l.c: Likewise.
10782
3b100462
JM
107832012-01-30 Joseph Myers <joseph@codesourcery.com>
10784
10785 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
10786 * config.make.in (config-cflags-sse2avx): Define.
10787 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
10788 Fix typo.
10789
607998af
CM
107902012-01-29 Chris Metcalf <cmetcalf@tilera.com>
10791
10792 * scripts/config.guess: Update from upstream config git repository.
10793 * scripts/config.sub: Likewise.
10794
3601428f
CM
107952012-01-28 Chris Metcalf <cmetcalf@tilera.com>
10796
3ac8b282
CM
10797 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
10798 (EM_NUM): Update.
10799 (R_TILEPRO_*, R_TILEGX_*): New macros.
10800
e034841e
CM
10801 * scripts/firstversions.awk: Fix bug in version range handling.
10802
540d7568
CM
10803 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
10804
3601428f
CM
10805 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
10806
463de862
CM
10807 * include/sys/epoll.h: New file.
10808 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
10809 libc_hidden_def.
10810
73139a76
UD
108112012-01-28 Ulrich Drepper <drepper@gmail.com>
10812
96bc5b45
UD
10813 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
10814 Avoid unnecessary __WORDSIZE == 64 test.
10815 (fmaxf): Use VEX format if possible.
10816 (fmax): Likewise.
10817 (fminf): Likewise.
10818 (fmin): Likewise.
10819
56f6f6a2
UD
10820 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
10821 * math/math_private.h: Remove libc_fegetround* and
10822 libc_fesetround*.
10823 * sysdeps/i386/configure.in: Check for -msse2avx.
10824 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
10825 also if SSE2AVX is defined.
10826 Remove libc_fegetround* and libc_fesetround*.
10827 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
10828 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
10829 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
10830 of HAS_YMM_USABLE.
10831 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10832 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10833 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10834 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10835 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10836
73139a76
UD
10837 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
10838
d73f93a4
AZ
108392012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10840
10841 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
10842 size is not set.
10843 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10844
6ee65ed6
UD
108452012-01-27 Ulrich Drepper <drepper@gmail.com>
10846
10847 [BZ #13618]
10848 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
10849 relocation.
10850 * Makeconfig (libm): Define.
10851 * elf/Makefile: Add rules to build and run tst-relsort1.
10852 * elf/tst-relsort1.c: New file.
10853 * elf/tst-relsort1mod1.c: New file.
10854 * elf/tst-relsort1mod2.c: New file.
10855
8db21882
JM
108562012-01-27 Joseph Myers <joseph@codesourcery.com>
10857
10858 * math/s_ldexp.c: Remove __STDC__ conditionals.
10859 * math/s_ldexpf.c: Likewise.
10860 * math/s_ldexpl.c: Likewise.
10861 * math/s_nextafter.c: Likewise.
10862 * math/s_nexttowardf.c: Likewise.
10863 * math/s_significand.c: Likewise.
10864 * math/s_significandf.c: Likewise.
10865 * math/s_significandl.c: Likewise.
10866 * math/w_jnl.c: Likewise.
10867 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10868 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10869 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10870 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10871 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10872 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10873 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
10874 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10875 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10876 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10877 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10878 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10879 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10880 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10881 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10882 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10883 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10884 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10885 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10886 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10887 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10888 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10889 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10890 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10891 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10892 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10893 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10894 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10895 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10896 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10897 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10898 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10899 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10900 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10901 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10902 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10903 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10904 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10905 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10906 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10907 * sysdeps/ieee754/k_standard.c: Likewise.
10908 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10909 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10910 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10911 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10912 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10913 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10914 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10915 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10916 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10917 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10918 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10919 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10920 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10921 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10922 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10923 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10924 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10925 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10926 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10927 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10928 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10929 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10930 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10931 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10932 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10933 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10934 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10935 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10936 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10937 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10938 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10939 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10940 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10941 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10942 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10943 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10944 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10945 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10946 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10947 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10948 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10949 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10950 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10951 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10952 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10953 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10954 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10955 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10956 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10957 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10958 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10959 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10960 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10961 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10962 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10963 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10964 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10965 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10966 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10967 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10968 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10969 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10970 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10971 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10972 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10973 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10974 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10975 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10976 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10977 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10978 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10979 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10980 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10981 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10982 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10983 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10984 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10985 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10986 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10987 * sysdeps/ieee754/s_matherr.c: Likewise.
10988 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10989 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10990 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10991 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10992
965a54a4
JM
109932012-01-26 Joseph Myers <joseph@codesourcery.com>
10994
10995 * crypt/md5.h: Remove __STDC__ conditionals.
10996 * libio/libioP.h: Likewise.
10997 * locale/programs/config.h: Likewise.
10998 * sysdeps/generic/sysdep.h: Likewise.
10999 * sysdeps/i386/asm-syntax.h: Likewise.
11000 * sysdeps/s390/asm-syntax.h: Likewise.
11001 * sysdeps/unix/sysdep.h: Likewise.
11002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11004
7071ad79
JM
110052012-01-26 Joseph Myers <joseph@codesourcery.com>
11006
11007 * libio/libio.h: Remove __STDC__ conditionals.
11008 * malloc/obstack.h: Likewise.
11009 * math/complex.h: Likewise.
11010 * math/math.h: Likewise.
11011 * sysdeps/generic/_G_config.h: Likewise.
11012 * sysdeps/gnu/_G_config.h: Likewise.
11013 * sysdeps/mach/hurd/_G_config.h: Likewise.
11014 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11015 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11016 * sysdeps/sparc/bits/mathdef.h: Likewise.
11017
afc5ed09
UD
110182012-01-26 Ulrich Drepper <drepper@gmail.com>
11019
11020 [BZ #13583]
11021 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 11022 Clean up HAS_* macros.
afc5ed09 11023 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
11024 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
11025 possible.
11026 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
11027 HAS_AVX.
11028 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11029 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11030 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11031 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11032 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 11033
bdb6de1d
JM
110342012-01-25 Joseph Myers <joseph@codesourcery.com>
11035
11036 * elf/tst-unique3.cc (gets): Remove declaration.
11037 * elf/tst-unique3lib.cc (gets): Likewise.
11038 * elf/tst-unique3lib2.cc (gets): Likewise.
11039 * elf/tst-unique4.cc (gets): Likewise.
11040
b15549e6
UD
110412012-01-24 Ulrich Drepper <drepper@gmail.com>
11042
11043 * include/stdio.h: Add C++ protection. Add gets declarations and
11044 definitions.
11045 * debug/tst-chk1.c: Don't declare gets here.
11046 * stdio-common/tst-gets.c: Likewise.
11047
a037381f
JM
110482012-01-24 Joseph Myers <joseph@codesourcery.com>
11049
11050 * posix/glob: Remove directory.
11051
f1d4aa75
JM
110522012-01-24 Joseph Myers <joseph@codesourcery.com>
11053
11054 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
11055
81c0c964
PT
110562012-01-22 Pino Toscano <toscano.pino@tiscali.it>
11057
11058 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
11059 of the non-standard EPFNOSUPPORT.
11060
0ea698ae
ST
110612011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
11062
11063 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
11064 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
11065 ANYWHERE set to 1 only on KERN_NO_SPACE error.
11066
d220b117
UD
110672012-01-21 Ulrich Drepper <drepper@gmail.com>
11068
11069 * wcsmbs/uchar.h: Test __STDC_VERSION__.
11070
3e1aa84e
UD
110712012-01-20 Ulrich Drepper <drepper@gmail.com>
11072
11073 * nscd/aicache.c (addhstaiX): Do not cache negative results of
11074 transient errors.
11075 * nscd/grpcache.c (cache_addgr): Likewise.
11076 * nscd/hstcache.c (cache_addhst): Likewise.
11077 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11078 * nscd/pwdcache.c (cache_addpw): Likewise.
11079 * nscd/servicescache.c (cache_addserv): Likewise.
11080
400aa020
UD
110812012-01-16 Ulrich Drepper <drepper@gmail.com>
11082
d77e7869
UD
11083 * malloc/malloc.c: Various cleanups.
11084 * malloc/hooks.c: Likewise.
11085
400aa020
UD
11086 * stdlib/Makefile (tests): Add bug-fmtmsg1.
11087 * stdlib/bug-fmtmsg1.c: New file.
11088
11089 * stdlib/fmtmsg.c (init): Add missing unlock.
11090 Patch by Peng Haitao <penght@cn.fujitsu.com>.
11091
e0a309cf
MP
110922012-01-12 Marek Polacek <polacek@redhat.com>
11093
11094 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
11095 and _GNU_SOURCE.
11096
929d11c7
WS
110972012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11098
11099 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
11100 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
11101 macro to ensure uniqueness of label name.
11102 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11103 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11104
41d0e869
UD
111052012-01-11 Ulrich Drepper <drepper@gmail.com>
11106
0cc5ed3b
UD
11107 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
11108
41d0e869
UD
11109 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
11110 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11111 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11112 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
11113
a47a831a
UD
111142012-01-10 Ulrich Drepper <drepper@gmail.com>
11115
daa891c0
UD
11116 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
11117
11118 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
11119 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11120 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11121
e58ef0f2
UD
11122 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
11123
a47a831a 11124 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
11125 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11126 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 11127 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
11128
11129 * math/bits/math-finite.h: Add ldexp support.
11130
a0bfc9c7
MP
111312012-01-10 Marek Polacek <polacek@redhat.com>
11132
11133 * locale/programs/localedef.h (show_archive_content): Add noreturn
11134 attribute.
11135
d6e97a1d
UD
111362012-01-09 Ulrich Drepper <drepper@gmail.com>
11137
11138 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
11139
d5835c26
UD
111402012-01-08 Ulrich Drepper <drepper@gmail.com>
11141
e5f484c6
UD
11142 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
11143
d5835c26
UD
11144 * io/Makefile (headers): Add bits/poll2.h.
11145
d1f741e9
WS
111462011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
11147
11148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
11149 typo #include statement.
11150
ec09c1c4
UD
111512012-01-08 Ulrich Drepper <drepper@gmail.com>
11152
11153 * include/sys/cdefs.h: Define __attribute_alloc_size.
11154 * catgets/gencat.c: Add alloc_size attribute and apply consistently
11155 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
11156 * elf/pldd.c: Likewise.
11157 * iconv/iconv_charmap.c: Likewise.
11158 * iconv/iconvconfig.c: Likewise.
11159 * iconv/strtab.c: Likewise.
11160 * locale/programs/locale.c: Likewise.
11161 * locale/programs/localedef.h: Likewise.
11162 * locale/programs/simple-hash.c: Likewise.
11163 * nscd/nscd.h: Likewise.
11164 * nss/makedb.c: Likewise.
11165 * sysdeps/generic/ldconfig.h: Likewise.
11166 * locale/programs/localedef.c: Remove xmalloc prototype.
11167 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
11168
20b38e03
PP
111692012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11170
11171 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
11172 appropriate.
11173
a0da5fe1
UD
111742012-01-08 Ulrich Drepper <drepper@gmail.com>
11175
1d5a644a 11176 * math/Makefile (tests): Add tst-CMPLX.
669704fd 11177 * math/tst-CMPLX.c: New file.
1d5a644a 11178
8784a6db
UD
11179 * math/complex.h (CMPLXL): Fix typo.
11180
d9a216c0
UD
11181 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11182 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11183 GLIBC_2.16.
11184 * debug/tst-chk1.c: Add poll and ppoll tests.
11185 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11186 * include/sys/poll.h: Add hidden proto for ppoll.
11187 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11188 * sysdeps/mach/hurd/ppoll.c: Likewise.
11189 * io/ppoll.c: Likewise.
11190 * debug/poll_chk.c: New file.
11191 * debug/ppoll_chk.c: New file.
11192 * include/bits/poll2.h: New file.
11193 * io/bits/poll2.h: New file.
11194
ac097f5c
UD
11195 [BZ #1350]
11196 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11197
2119dcfa
UD
11198 * configure.in: static is always set to yes. Remove.
11199 * config.make.in: Don't set build-static.
11200 * Makeconfig: Remove use of build-static.
11201 * dlfcn/Makefile: Likewise.
11202 * elf/Makefile: Likewise.
11203 * math/Makefile: Likewise.
11204 * misc/Makefile: Likewise.
11205 * nptl/Makefile: Likewise.
11206 * sysdeps/mach/hurd/Makefile: Likewise.
11207
121766a9
UD
11208 * configure.in: PWD_P is not used anymore.
11209 * config.make.in: Remove PWD_P entry.
11210
51a1d39c 11211 * configure.in: Remove last remnants of RANLIB.
8720d066 11212 No need to check for signed size_t anymore.
215f4bdc
UD
11213 Don't set libc_commonpagesize and libc_relro_required here for Alpha
11214 and IA-64.
3857022a 11215 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
11216 * aclocal.m4: Likewise.
11217
d3ed7225
UD
11218 * wcsmbs/mbrtoc16.c: Implement using towc function.
11219 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11220 * wcsmbs/wcsmbsload.c: Likewise.
11221 * iconv/gconv_simple.c: Likewise.
11222 * iconv/gconv_int.h: Likewise.
11223 * iconv/gconv_builtin.h: Likewise.
11224 * iconv/iconv_prog.c: Remove CHAR16 handling.
11225
11226 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11227
11228 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11229
a0da5fe1
UD
11230 * configure.in: Remove --with-elf and --enable-bounded options.
11231 Dont set base_machine for ia64. More non-ELF conditions removed.
11232 Remove testing and setting of leading underscore information.
11233 * config.make.in (build-bounded): Set to no.
11234 * config.h.in: Remove NO_UNDERSCORES entry.
11235 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
11236 them.
11237 * csu/start.c: Remove !NO_UNDERSCORE code.
11238 * locale/localeinfo.h: Likewise.
11239 * sysdeps/generic/machine-gmon.h: Likewise.
11240 * sysdeps/generic/sysdep.h: Likewise.
11241 * sysdeps/i386/sysdep.h: Likewise.
11242 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11243 * sysdeps/mach/sysdep.h: Likewise.
11244 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11245 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11246 * sysdeps/sh/sysdep.h: Likewise.
11247 * sysdeps/sparc/sparc32/alloca.S: Likewise.
11248 * sysdeps/unix/i386/sysdep.S: Likewise.
11249 * sysdeps/unix/sparc/start.c: Likewise.
11250 * sysdeps/unix/sparc/sysdep.S: Likewise.
11251 * sysdeps/unix/sparc/sysdep.h: Likewise.
11252 * sysdeps/unix/start.c: Likewise.
11253 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11254 * sysdeps/x86_64/sysdep.h: Likewise.
11255
df78418a
UD
112562012-01-07 Ulrich Drepper <drepper@gmail.com>
11257
a784e502
UD
11258 [BZ #13553]
11259 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11260 for non-gcc.
11261 * argp/argp-fmtstream.h: Use const instead __const.
11262 * argp/argp.h: Likewise.
11263 * assert/assert.h: Likewise.
11264 * bits/fenv.h: Likewise.
11265 * bits/sched.h: Likewise.
11266 * bits/sigset.h: Likewise.
11267 * bits/sigthread.h: Likewise.
11268 * catgets/nl_types.h: Likewise.
11269 * conform/data/pthread.h-data: Likewise.
11270 * crypt/crypt-private.h: Likewise.
11271 * crypt/crypt.h: Likewise.
11272 * crypt/crypt_util.c: Likewise.
11273 * ctype/ctype.h: Likewise.
11274 * debug/execinfo.h: Likewise.
11275 * debug/mbsnrtowcs_chk.c: Likewise.
11276 * debug/mbsrtowcs_chk.c: Likewise.
11277 * debug/wcsnrtombs_chk.c: Likewise.
11278 * debug/wcsrtombs_chk.c: Likewise.
11279 * debug/wcstombs_chk.c: Likewise.
11280 * dirent/dirent.h: Likewise.
11281 * dlfcn/dlfcn.h: Likewise.
11282 * elf/neededtest4.c: Likewise.
11283 * grp/grp.h: Likewise.
11284 * gshadow/gshadow.h: Likewise.
11285 * iconv/gconv.h: Likewise.
11286 * iconv/gconv_int.h: Likewise.
11287 * iconv/gconv_simple.c: Likewise.
11288 * iconv/iconv.h: Likewise.
11289 * iconv/loop.c: Likewise.
11290 * iconv/skeleton.c: Likewise.
11291 * include/aio.h: Likewise.
11292 * include/aliases.h: Likewise.
11293 * include/argz.h: Likewise.
11294 * include/arpa/inet.h: Likewise.
11295 * include/assert.h: Likewise.
11296 * include/dirent.h: Likewise.
11297 * include/dlfcn.h: Likewise.
11298 * include/execinfo.h: Likewise.
11299 * include/fcntl.h: Likewise.
11300 * include/fenv.h: Likewise.
11301 * include/glob.h: Likewise.
11302 * include/grp.h: Likewise.
11303 * include/libintl.h: Likewise.
11304 * include/mntent.h: Likewise.
11305 * include/netdb.h: Likewise.
11306 * include/pwd.h: Likewise.
11307 * include/rpc/netdb.h: Likewise.
11308 * include/sched.h: Likewise.
11309 * include/search.h: Likewise.
11310 * include/shadow.h: Likewise.
11311 * include/signal.h: Likewise.
11312 * include/stdio.h: Likewise.
11313 * include/stdlib.h: Likewise.
11314 * include/string.h: Likewise.
11315 * include/sys/socket.h: Likewise.
11316 * include/sys/stat.h: Likewise.
11317 * include/sys/statfs.h: Likewise.
11318 * include/sys/statvfs.h: Likewise.
11319 * include/sys/syslog.h: Likewise.
11320 * include/sys/time.h: Likewise.
11321 * include/sys/uio.h: Likewise.
11322 * include/time.h: Likewise.
11323 * include/unistd.h: Likewise.
11324 * include/utmp.h: Likewise.
11325 * include/wchar.h: Likewise.
11326 * include/wctype.h: Likewise.
11327 * inet/aliases.h: Likewise.
11328 * inet/arpa/inet.h: Likewise.
11329 * inet/netinet/ether.h: Likewise.
11330 * inet/netinet/in.h: Likewise.
11331 * intl/libintl.h: Likewise.
11332 * io/bits/fcntl2.h: Likewise.
11333 * io/fcntl.h: Likewise.
11334 * io/ftw.h: Likewise.
11335 * io/sys/poll.h: Likewise.
11336 * io/sys/stat.h: Likewise.
11337 * io/sys/statfs.h: Likewise.
11338 * io/sys/statvfs.h: Likewise.
11339 * io/utime.h: Likewise.
11340 * libio/bits/stdio.h: Likewise.
11341 * libio/bits/stdio2.h: Likewise.
11342 * libio/libio.h: Likewise.
11343 * libio/libioP.h: Likewise.
11344 * libio/stdio.h: Likewise.
11345 * locale/lc-ctype.c: Likewise.
11346 * locale/locale.h: Likewise.
11347 * login/utmp.h: Likewise.
11348 * malloc/arena.c: Likewise.
11349 * malloc/malloc.c: Likewise.
11350 * malloc/malloc.h: Likewise.
11351 * malloc/mcheck.c: Likewise.
11352 * malloc/mtrace.c: Likewise.
11353 * math/bits/mathcalls.h: Likewise.
11354 * math/fenv.h: Likewise.
11355 * math/math_private.h: Likewise.
11356 * misc/bits/error.h: Likewise.
11357 * misc/bits/syslog.h: Likewise.
11358 * misc/err.h: Likewise.
11359 * misc/error.h: Likewise.
11360 * misc/fstab.h: Likewise.
11361 * misc/mntent.h: Likewise.
11362 * misc/regexp.h: Likewise.
11363 * misc/search.h: Likewise.
11364 * misc/sgtty.h: Likewise.
11365 * misc/sys/mman.h: Likewise.
11366 * misc/sys/syslog.h: Likewise.
11367 * misc/sys/uio.h: Likewise.
11368 * misc/sys/xattr.h: Likewise.
11369 * misc/ttyent.h: Likewise.
11370 * nis/rpcsvc/ypclnt.h: Likewise.
11371 * nss/nss.h: Likewise.
11372 * posix/bits/unistd.h: Likewise.
11373 * posix/fnmatch.h: Likewise.
11374 * posix/glob.h: Likewise.
11375 * posix/sched.h: Likewise.
11376 * posix/spawn.h: Likewise.
11377 * posix/sys/wait.h: Likewise.
11378 * posix/unistd.h: Likewise.
11379 * posix/wordexp.h: Likewise.
11380 * pwd/pwd.h: Likewise.
11381 * resolv/netdb.h: Likewise.
11382 * resource/sys/resource.h: Likewise.
11383 * rt/aio.h: Likewise.
11384 * rt/bits/mqueue2.h: Likewise.
11385 * rt/mqueue.h: Likewise.
11386 * shadow/shadow.h: Likewise.
11387 * signal/signal.h: Likewise.
11388 * socket/send.c: Likewise.
11389 * socket/sendto.c: Likewise.
11390 * socket/sys/socket.h: Likewise.
11391 * stdio-common/printf.h: Likewise.
11392 * stdlib/bits/stdlib.h: Likewise.
11393 * stdlib/fmtmsg.h: Likewise.
11394 * stdlib/monetary.h: Likewise.
11395 * stdlib/stdlib.h: Likewise.
11396 * stdlib/ucontext.h: Likewise.
11397 * streams/stropts.h: Likewise.
11398 * string/argz.h: Likewise.
11399 * string/bits/string2.h: Likewise.
11400 * string/string.h: Likewise.
11401 * string/strings.h: Likewise.
11402 * sunrpc/rpc/auth.h: Likewise.
11403 * sunrpc/rpc/auth_des.h: Likewise.
11404 * sunrpc/rpc/clnt.h: Likewise.
11405 * sunrpc/rpc/netdb.h: Likewise.
11406 * sunrpc/rpc/pmap_clnt.h: Likewise.
11407 * sunrpc/rpc/xdr.h: Likewise.
11408 * sysdeps/generic/inttypes.h: Likewise.
11409 * sysdeps/generic/net/if.h: Likewise.
11410 * sysdeps/generic/sys/swap.h: Likewise.
11411 * sysdeps/gnu/net/if.h: Likewise.
11412 * sysdeps/gnu/utmpx.h: Likewise.
11413 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11414 * sysdeps/i386/i486/bits/string.h: Likewise.
11415 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
11416 * sysdeps/s390/bits/string.h: Likewise.
11417 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
11418 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
11419 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
11420 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11421 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11422 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
11423 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11424 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
11425 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11426 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
11427 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
11428 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11429 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
11430 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11431 * sysdeps/unix/sysv/linux/readv.c: Likewise.
11432 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
11433 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11434 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11435 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11436 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11437 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11438 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
11439 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
11440 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
11441 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
11442 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
11443 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
11444 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11445 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
11446 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
11447 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
11448 * sysvipc/sys/ipc.h: Likewise.
11449 * sysvipc/sys/msg.h: Likewise.
11450 * sysvipc/sys/sem.h: Likewise.
11451 * sysvipc/sys/shm.h: Likewise.
11452 * termios/termios.h: Likewise.
11453 * time/sys/time.h: Likewise.
11454 * time/time.h: Likewise.
11455 * wcsmbs/bits/wchar2.h: Likewise.
11456 * wcsmbs/uchar.h: Likewise.
11457 * wcsmbs/wchar.h: Likewise.
11458 * wctype/wctype.h: Likewise.
11459
0269750c
UD
11460 [BZ #13551]
11461 * Makeconfig: Remove all but ELF support including AIX support.
11462 * Makerules: Likewise.
11463 * config.h.in: Likewise.
11464 * config.make.in: Likewise.
11465 * configure: Likewise.
11466 * configure.in: Likewise.
11467 * csu/Makefile: Likewise.
11468 * csu/version.c: Likewise.
11469 * debug/Makefile: Likewise.
11470 * dlfcn/Makefile: Likewise.
11471 * elf/Makefile: Likewise.
11472 * extra-lib.mk: Likewise.
11473 * iconv/Makefile: Likewise.
11474 * include/libc-symbols.h: Likewise.
11475 * include/shlib-compat.h: Likewise.
11476 * resolv/Makefile: Likewise.
11477 * resolv/res_libc.c: Likewise.
11478 * rt/Makefile: Likewise.
11479 * sysdeps/i386/asm-syntax.h: Likewise.
11480 * sysdeps/i386/sysdep.h: Likewise.
11481 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11482 * sysdeps/mach/sysdep.h: Likewise.
11483 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
11484 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
11485 * sysdeps/s390/asm-syntax.h: Likewise.
11486 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11487 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11488 * sysdeps/sh/sysdep.h: Likewise.
11489 * sysdeps/unix/sparc/sysdep.h: Likewise.
11490 * sysdeps/wordsize-32/divdi3.c: Likewise.
11491 * sysdeps/x86_64/sysdep.h: Likewise.
11492
00bbd29b
UD
11493 * argp/Versions: Remove _argp_unlock_xxx.
11494
11495 [BZ #13559]
11496 * abilist/ld.abilist: Update. Adjust for removal of tls option.
11497 * abilist/libBrokenLocale.abilist: Likewise.
11498 * abilist/libanl.abilist: Likewise.
11499 * abilist/libc.abilist: Likewise.
11500 * abilist/libcrypt.abilist: Likewise.
11501 * abilist/libdl.abilist: Likewise.
11502 * abilist/libm.abilist: Likewise.
11503 * abilist/libnsl.abilist: Likewise.
11504 * abilist/libpthread.abilist: Likewise.
11505 * abilist/libresolv.abilist: Likewise.
11506 * abilist/librt.abilist: Likewise.
11507 * abilist/libthread_db.abilist: Likewise.
11508 * abilist/libutil.abilist: Likewise.
11509 * abilist/libnss_db.abilist: New file.
11510
11511 * scripts/abilist.awk: Add support for indirect functions.
11512
a2693a0e
UD
11513 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
11514
3f05895f
UD
11515 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
11516
ecb6fb48
UD
11517 * shlib-versions: Remove entries for ports architectures.
11518
664f8cb9
UD
11519 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
11520 files in ports.
11521 * elf/stackguard-macros.h: Remove support for IA-64.
11522 * elf/tst-auditmod1.c: Likewise.
11523 * sysdeps/generic/ldsodefs.h: Likewise.
11524
7ae81d88
UD
11525 * sysdeps/unix/sysv/linux/configure.in: Ports should define
11526 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
11527 configure files.
11528
bdeba135
UD
11529 [BZ #13552]
11530 * configure.in: Remove --enable-omitfp support.
11531 * FAQ.in: Adjust.
11532 * config.make.in: Likewise.
11533 * Makeconfig: Likewise.
11534 * manual/install.texi: Likewise.
11535
d75a0a62
UD
11536 In case anyone cares, the IA-64 architecture could move to ports.
11537 * sysdeps/ia64/*: Removed.
11538 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 11539 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 11540
dcc9756b
UD
11541 [BZ #13555]
11542 * configure.in: Remove entries for unsupported architectures.
11543
d3761ebc 11544 [BZ #13533]
9954432e
UD
11545 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
11546 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
11547 routines.
11548 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
11549 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
11550 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
11551 fall back to using wcrtomb.
11552 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
11553 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
11554 renaming.
11555 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
11556 * wcsmbs/tst-c16c32-1.c: New file.
11557
11558 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
11559 local variable.
11560
c3a87236
UD
11561 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
11562
28926a1b
UD
11563 * elf/tst-unique3.cc: Add explicit declaration of gets.
11564 * elf/tst-unique3lib.cc: Likewise.
11565 * elf/tst-unique3lib2.cc: Likewise.
11566 * elf/tst-unique4.cc: Likewise.
11567
df78418a
UD
11568 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
11569
8ecd6b2a
JM
115702012-01-06 Joseph Myers <joseph@codesourcery.com>
11571
11572 [BZ #13566]
11573 * assert/assert.h (static_assert): Don't define for C++.
11574 * libio/stdio.h (gets): Do declare for C++ <= C++11.
11575 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
11576
9f115170
UD
115772012-01-03 Ulrich Drepper <drepper@gmail.com>
11578
5e0d0300
UD
11579 * iconv/loop.c (single loop): Fix assertion in storing of
11580 remaining bytes.
11581
9f115170
UD
11582 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
11583
81fb02b0
UD
115842012-01-01 Ulrich Drepper <drepper@gmail.com>
11585
11586 * posix/getconf.c: Update copyright year.
11587 * nss/getent.c: Likewise.
a316c1f6 11588 * nss/makedb.c: Likewise.
81fb02b0
UD
11589 * iconv/iconvconfig.c: Likewise.
11590 * iconv/iconv_prog.c: Likewise.
11591 * elf/ldconfig.c: Likewise.
a316c1f6
UD
11592 * elf/pldd.c: Likewise.
11593 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
11594 * catgets/gencat.c: Likewise.
11595 * csu/version.c: Likewise.
11596 * elf/ldd.bash.in: Likewise.
11597 * elf/sprof.c (print_version): Likewise.
11598 * locale/programs/locale.c: Likewise.
11599 * locale/programs/localedef.c: Likewise.
a316c1f6 11600 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
11601 * nscd/nscd.c (print_version): Likewise.
11602 * debug/xtrace.sh: Likewise.
11603 * malloc/memusage.sh: Likewise.
11604 * malloc/mtrace.pl: Likewise.
11605 * debug/catchsegv.sh: Likewise.
11606
2ba92745
JJ
116072011-12-30 Jakub Jelinek <jakub@redhat.com>
11608
11609 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
11610 pure attribute.
11611
dadebdae
UD
116122011-12-24 Ulrich Drepper <drepper@gmail.com>
11613
d3761ebc 11614 [BZ #13533]
db6af3eb
UD
11615 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
11616 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
11617 transformations.
11618 * iconv/gconv_int.h: Likewise.
11619 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
11620 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
11621 from libc for GLIBC_2.16.
11622 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
11623 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
11624 * wcsmbs/uchar.h: Really define mbstate_t.
11625 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
11626 * wcsmbs/c16rtomb.c: New file.
11627 * wcsmbs/mbrtoc16.c: New file.
11628 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
11629 for C/POSIX locale.
11630 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
11631 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
11632
dadebdae
UD
11633 * wcsmbs/wchar.h: Add missing __restrict.
11634
67371b56
UD
116352011-12-23 Ulrich Drepper <drepper@gmail.com>
11636
74033a25
UD
11637 [BZ #13532]
11638 * time/Makefile (routines): Add timespec_get.
11639 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
11640 * time/time.h: Define TIME_UTC and declare timespec_get. Define
11641 timespec for ISO C11.
11642 * time/timespec_get.c: New file.
11643 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
11644 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
11645
380d7e87
UD
11646 [BZ #13531]
11647 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
11648 * stdlib/stdlib.h: Declare aligned_alloc.
11649 * Versions.def: Add GLIBC_2.16 for libc.
11650 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
11651
4e9e7a35
UD
11652 [BZ 13527]
11653 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
11654 ISO C11.
11655
380d7e87 11656 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
11657 code.
11658
03a71829
UD
11659 [BZ #13528]
11660 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
11661
839e283e
UD
11662 [BZ #13529]
11663 * assert/assert.h (static_assert): Define.
11664
ce5294e2 11665 * version.h: Update for 2.16 development version.
90fa7312 11666
8d44e150 11667 [BZ #13526]
d7809905
UD
11668 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
11669 _ISOC11_SOURCE.
11670
c0da14cd
UD
11671 * version.h (RELEASE): Bump for 2.15 release.
11672 * include/features.h (__GLIBC_MINOR__): Bump to 15.
11673
530a3249
MP
11674 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
11675 Patch by Marek Polacek <mpolacek@redhat.com>.
11676
67371b56
UD
11677 * bits/byteswap.h: Protect long long constants with __extension__.
11678 * sysdeps/i386/bits/byteswap.h: Likewise.
11679 * sysdeps/ia64/bits/byteswap.h: Likewise.
11680 * sysdeps/s390/bits/byteswap.h: Likewise.
11681 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11682
15db4de1
LD
116832011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11684
11685 [BZ #13540]
bbe315ea
LD
11686 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
11687 destination buffer.
15db4de1
LD
11688 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11689
2b2596b1
MP
116902011-12-23 Marek Polacek <polacek@redhat.com>
11691
11692 * elf/dl-addr.c (determine_info): Add inline keyword.
11693 * elf/tst-auditmod4b.c (check_avx): Likewise.
11694 * elf/tst-auditmod6b.c (check_avx): Likewise.
11695 * elf/tst-auditmod6c.c (check_avx): Likewise.
11696 * elf/tst-auditmod7b.c (check_avx): Likewise.
11697
70c6c246
UD
116982011-12-23 Ulrich Drepper <drepper@gmail.com>
11699
11700 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
11701 !__SSE_MATH__.
11702
c044cf14
LD
117032011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11704
15db4de1 11705 [BZ #13540]
c044cf14
LD
11706 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
11707 processing for last bytes.
11708
6b13d9d9
BH
117092011-08-06 Bruno Haible <bruno@clisp.org>
11710
d455f537
BH
11711 [BZ #13061]
11712 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
11713 U+0385, not to U+1FEE.
11714
6b13d9d9
BH
11715 [BZ #13062]
11716 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
11717 entry for U+00A5 U+0301.
11718
db910efd
UD
117192011-12-22 Ulrich Drepper <drepper@gmail.com>
11720
27deeafc
UD
11721 [BZ #13166]
11722 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
11723 buffer for the output is too small.
11724
aed9d171
UD
11725 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
11726 optimization.
11727
db910efd
UD
11728 [BZ #13185]
11729 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
11730 SSE flags if possible.
11731
2bd779ae
LD
117322011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11733
e7f9dac3 11734 [BZ #13540]
2bd779ae
LD
11735 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
11736 processing for last bytes.
11737
154bfc16
JM
117382011-12-22 Joseph Myers <joseph@codesourcery.com>
11739
11740 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
11741 (syscall-list-default-options, syscall-list-default-condition)
11742 (syscall-list-includes): Define.
11743 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
11744 list of ABIs and options and #if conditions for each ABI. Do not
11745 handle common syscalls between ABIs specially.
11746 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
11747 Remove.
11748 (syscall-list-variants, syscall-list-32bit-options)
11749 (syscall-list-32bit-condition, syscall-list-64bit-options)
11750 (syscall-list-64bit-condition): Define.
11751 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
11752 (syscall-list-variants, syscall-list-32bit-options)
11753 (syscall-list-32bit-condition, syscall-list-64bit-options)
11754 (syscall-list-64bit-condition): Define.
11755 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
11756 Remove.
11757 (syscall-list-variants, syscall-list-32bit-options)
11758 (syscall-list-32bit-condition, syscall-list-64bit-options)
11759 (syscall-list-64bit-condition): Define.
11760 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
11761 Remove.
11762 (syscall-list-variants, syscall-list-32bit-options)
11763 (syscall-list-32bit-condition, syscall-list-64bit-options)
11764 (syscall-list-64bit-condition): Define.
11765
21eaf3a5
UD
117662011-12-22 Ulrich Drepper <drepper@gmail.com>
11767
16c6f992
UD
11768 * locale/iso-639.def: Add brx entry.
11769
41043168
UD
11770 [BZ #13328]
11771 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
11772 Proposed by Mariusz_Cukr <marcukr@op.pl>.
11773
21eaf3a5
UD
11774 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
11775 __feraiseexcept_renamed.
11776
e3a851a2
UD
117772011-12-21 Ulrich Drepper <drepper@gmail.com>
11778
4920765e
UD
11779 [BZ #13538]
11780 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
11781 EPOLLET with unsigned values.
11782 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11783 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11784
e3a851a2
UD
11785 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
11786 to large cancellation.
11787 * math/s_cacoshf.c: Likewise.
11788 * math/s_cacoshl.c: Likewise.
11789
b27e24b8
RK
117902011-11-18 Richard B. Kreckel <kreckel@ginac.de>
11791
11792 [BZ #13305]
aebefeee 11793 [BZ #12786]
b27e24b8
RK
11794 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
11795 * math/s_cacoshf.c: Likewise.
11796 * math/s_cacoshl.c: Likewise.
11797
ee190f67
UD
117982011-12-21 Ulrich Drepper <drepper@gmail.com>
11799
11800 [BZ #13439]
11801 * iconv/gconv.h: Define __GCONV_SWAP.
11802 * iconvdata/unicode.c: The swap bit must be stored in __flags.
11803 * iconvdata/utf-16.c: Likewise.
11804 * iconvdata/utf-32.c: Likewise.
11805
707f25df
AS
118062011-12-21 Andreas Schwab <schwab@linux-m68k.org>
11807
11808 [BZ #13524]
11809 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
11810 numerator after shifting it by one limb.
11811
d2daaa1e
RÁE
118122011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
11813
11814 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
11815 under [__USE_EXTERN_INLINES].
11816
a4647e72
UD
118172011-12-17 Ulrich Drepper <drepper@gmail.com>
11818
11819 [BZ #13446]
11820 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
11821
f0b264f1
AZ
118222011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11823
11824 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
11825 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
11826 optimized code.
11827 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
11828 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
11829 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
11830 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
11831 for strncasecmp/strncasecmp_l compilation.
11832 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
11833 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
11834
8ef4f244
MP
118352011-12-08 Marek Polacek <mpolacek@redhat.com>
11836
11837 [BZ #13484]
11838 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
11839 of __asm__.
11840
97ac2654
UD
118412011-12-17 Ulrich Drepper <drepper@gmail.com>
11842
11843 [BZ #13506]
11844 * time/tzfile.c (__tzfile_read): Check values from file header.
11845
91d2a845
WS
118462011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11847
11848 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
11849 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
11850 * powerpc/powerpc32/dl-start.S: Likewise.
11851 * powerpc/powerpc32/elf/start.S: Likewise.
11852 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11853 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
11854 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
11855 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
11856 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11857 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
11858 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
11859 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11860 * powerpc/powerpc32/fpu/s_round.S: Likewise.
11861 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11862 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11863 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11864 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11865 * powerpc/powerpc32/memset.S: Likewise.
11866 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11867 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11868 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11869 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11870 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11871 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11872 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11873 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11874 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
11875 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
11876 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
11877 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11878 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11879
a1267ba1
AZ
118802011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11881
11882 * math/libm-test.inc: Added more nearbyint tests.
11883 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
11884 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
11885 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
11886 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
11887
ad8ac1bd
RL
118882011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
11889
11890 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
11891 FD_CLOEXEC.
11892
1d3e4b61
UD
118932011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11894
11895 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
11896 Add wcscpy-ssse3 wcscpy-c.
11897 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
11898 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
11899 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
11900 * sysdeps/x86_64/wcschr.S: New file.
11901 * sysdeps/x86_64/wcsrchr.S: New file.
11902 * string/test-strcmp.c: Remove checking of wcscmp function for
11903 wrong alignments.
11904 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
11905 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
11906 wcsrchr-sse2 wcsrchr-c.
11907 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
11908 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
11909 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
11910 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
11911 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
11912 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
11913 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
11914 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
11915 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
11916 * wcsmbc/wcschr.c (WCSCHR): New macro.
11917
5b330a2d
UD
119182011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11919
11920 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
11921 * wcsmbs/test-wcsrchr.c: New file.
11922 * string/test-strrchr.c: Add wcsrchr support.
11923 (WIDE): New macro.
11924 * wcsmbs/test-wcscpy.c: New file.
11925 * string/test-strcpy.c: Add wcscpy support.
11926 (WIDE): New macro.
26428b7c 11927
f039c043
UD
119282011-12-10 Ulrich Drepper <drepper@gmail.com>
11929
11930 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
11931 the inner loop.
11932
850fb039
AS
119332011-12-06 Andreas Schwab <schwab@linux-m68k.org>
11934
11935 [BZ #13472]
11936 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
11937
4efbd5cb
UD
119382011-12-04 Ulrich Drepper <drepper@gmail.com>
11939
52ff5dd0 11940 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 11941 Minor optimizations.
52ff5dd0 11942
4efbd5cb
UD
11943 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
11944 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
11945 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11946
8a426e12
UD
119472011-12-03 Ulrich Drepper <drepper@gmail.com>
11948
aff2453d
UD
11949 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
11950 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
11951 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
11952 for gcc to avoid warnings.
11953 * inet/Makefile (tests): Add tst-checks.
11954 * inet/tst-checks.c: New file.
11955
11956 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
11957 warning.
11958
11959 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
11960 __wmemcmp_sse2.
11961
11962 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
11963 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
11964
8a426e12
UD
11965 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
11966
9bea3473
UD
119672011-12-02 Ulrich Drepper <drepper@gmail.com>
11968
3a965496
UD
11969 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
11970 problem.
11971
9bea3473
UD
11972 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
11973
f101631b
UD
119742011-11-29 Joseph Myers <joseph@codesourcery.com>
11975
11976 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
11977 conditional on GCC version.
11978 (__arch_compare_and_exchange_val_8_acq)
11979 (__arch_compare_and_exchange_val_16_acq)
11980 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
11981 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
11982 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
11983
a98275aa
UD
119842011-12-02 Joseph Myers <joseph@codesourcery.com>
11985
11986 * sysdeps/sh/backtrace.c: New file.
11987
d4cc29a2
AS
119882011-12-02 Andreas Schwab <schwab@redhat.com>
11989
11990 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
11991 parenthesis.
11992
6257af2d
AS
119932011-12-01 Andreas Schwab <schwab@redhat.com>
11994
11995 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
11996 falling back to utime.
11997
b5f44c1a
AS
119982011-11-30 Andreas Schwab <schwab@redhat.com>
11999
12000 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
12001 expectations for float.
12002
f3a6cc0a
AS
120032011-11-29 Andreas Schwab <schwab@redhat.com>
12004
12005 * locale/weight.h (findidx): Add parameter len.
12006 * locale/weightwc.h (findidx): Likewise.
12007 * posix/fnmatch_loop.c (FCT): Adjust caller.
12008 * posix/regcomp.c (build_equiv_class): Likewise.
12009 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
12010 * posix/regexec.c (check_node_accept_bytes): Likewise.
12011 * string/strcoll_l.c (STRCOLL): Likewise.
12012 * string/strxfrm_l.c (STRXFRM): Likewise.
12013
9d65ea3a
UD
120142011-11-17 Ulrich Drepper <drepper@gmail.com>
12015
12016 * Makefile.in: Remove CVSOPT handling.
12017 * configure.in: Remove use of AC_REVISION.
12018 * iconvdata/Makefile (distribute): No need to filter out CVS.
12019 * scripts/list-sources.sh: Remove CVS, subversion and monotone
12020 handling.
12021
5583a086
AS
120222011-11-16 Andreas Schwab <schwab@redhat.com>
12023
12024 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
12025 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
12026 [USE_AS_STRNCASECMP_L]: Likewise.
12027 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
12028 NO_TLS_DIRECT_SEG_REFS.
12029 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
12030 Fix argument offsets for non-PIC.
12031 [USE_AS_STRNCASECMP_L]: Likewise.
12032 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
12033 NO_TLS_DIRECT_SEG_REFS.
12034
d62a8200
UD
120352011-11-15 Ulrich Drepper <drepper@gmail.com>
12036
9d65ea3a 12037 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
12038 O_CLOEXEC.
12039 * locale/loadlocale.c (_nl_load_locale): Likewise.
12040
09f93bd3
AS
120412011-11-15 Andreas Schwab <schwab@redhat.com>
12042
446514f9
AS
12043 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
12044 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
12045 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
12046 (SYSCALL_GETTIME): Set errno on error.
12047
09f93bd3
AS
12048 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
12049 count references to noai6ai_cached.
12050
312be3f9
UD
120512011-11-15 Ulrich Drepper <drepper@gmail.com>
12052
12053 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
12054
12055 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
12056 FD_CLOEXEC for /proc/self/maps.
12057
12058 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
12059 FD_CLOEXEC for /proc/meminfo.
12060
12061 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
12062 gai.conf.
12063
12064 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
12065 FD_CLOEXEC for given file.
12066
12067 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
12068
12069 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
12070 FD_CLOEXEC for /etc/hosts.
12071 (_gethtent): Likewise.
12072
12073 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
12074
12075 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
12076 cancellation and set FD_CLOEXEC for /etc/netgroup.
12077
12078 * nss/nss_files/files-key.c (search): Don't allow cancellation when
12079 reading /etc/publickey.
12080
12081 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
12082 allow cancellation when reading /etc/group.
12083
12084 * nss/nss_files/files-alias.c (internal_setent): Don't allow
12085 cancellation.
12086 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
12087
12088 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
12089 when using data file.
12090
12091 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
12092
12093 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
12094 (write_nis_obj): Use "c" and "e" in fopen.
12095
12096 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
12097
12098 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
12099
12100 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
12101
12102 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
12103
12104 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
12105 locale.alias.
12106
12107 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
12108
12109 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
12110
12111 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
12112
12113 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
12114 file parsing and set FD_CLOEXEC.
12115
82af0fa8
UD
121162011-11-14 Ulrich Drepper <drepper@gmail.com>
12117
12118 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
12119
a5fb313c
AS
121202011-11-14 Andreas Schwab <schwab@redhat.com>
12121
12122 * malloc/arena.c (arena_get2): Don't call reused_arena when
12123 _int_new_arena failed.
12124
6abf3465
UD
121252011-11-14 Ulrich Drepper <drepper@gmail.com>
12126
12127 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
12128 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
12129 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
12130 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12131 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12132 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
12133 to compile strcasecmp and strncasecmp.
12134 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
12135 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
12136
12137 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
12138
76e3966e
UD
121392011-11-13 Ulrich Drepper <drepper@gmail.com>
12140
12141 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
12142 locale-defines.sym to gen-as-const-headers.
12143 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
12144 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
12145 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
12146 to compile strcasecmp and strncasecmp.
12147 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
12148 strcasecmp_l and strncasecmp_l.
12149 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
12150 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
12151 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
12152 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
12153 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
12154 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
12155 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
12156 * sysdeps/i386/i686/multiarch/strncase.S: New file.
12157 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
12158 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
12159 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
12160
ab26144e
UD
121612011-11-12 Ulrich Drepper <drepper@gmail.com>
12162
7edb22ef
UD
12163 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
12164 result of SYSDEP_GETTIME_CPU to retval.
12165 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
12166 parameter list to macro. Remove trailing semicolon. Adjust users.
12167
9694fc44
UD
12168 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
12169 variable.
12170
8ad89ef8
UD
12171 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
12172 mantissa words.
12173 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12174
0c822ef9
UD
12175 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
12176 from unused variable.
12177
874e0564
UD
12178 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12179 DWARF definitions.
12180 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12181 for assembling.
12182
3a2edc79
UD
12183 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12184 over namespaces.
12185
f3c2577f
UD
12186 * sunrpc/rpc_prot.c (rejected): Fix case value.
12187
294ce126
UD
12188 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12189 unsigned long long int to avoid warnings in shift.
12190
5e2b63c6
UD
12191 * posix/regex_internal.c (re_string_reconstruct): Actually use result
12192 of use of trans.
12193 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12194 variable tmp.
12195
e7f4b08e
UD
12196 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12197 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12198 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12199
ab26144e
UD
12200 * nis/nis_table.c (nis_list): Use variable of correct type for
12201 result of __follow_path call.
12202
8a6d5255
AZ
122032011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12204
12205 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12206 of math functions ceil, trunc, floor, round, and sqrt, when
12207 avaliable on the platform.
12208 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12209 name clash.
12210 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12211 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12212 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12213
aaddc98c
MP
122142011-10-30 Marek Polacek <mpolacek@redhat.com>
12215
12216 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12217 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12218
95b7042b
RM
122192011-11-11 Roland McGrath <roland@hack.frob.com>
12220
12221 * include/unistd.h: Fix __readlink return type.
12222 Reported by Chris Metcalf <cmetcalf@tilera.com>.
12223
57769839
UD
122242011-11-11 Ulrich Drepper <drepper@gmail.com>
12225
12226 * stdlib/ucontext.h: Undo last change for makecontext.
12227
edc5984d
AS
122282011-11-11 Andreas Schwab <schwab@redhat.com>
12229
98591e58
AS
12230 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12231
edc5984d
AS
12232 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12233 * setjmp/setjmp.h: Mark functions as non-leaf.
12234 * setjmp/bits/setjmp2.h: Likewise.
12235 * stdlib/ucontext.h: Likewise.
12236
77cdc054
AS
122372011-11-10 Andreas Schwab <schwab@redhat.com>
12238
12239 * malloc/arena.c (_int_new_arena): Don't increment narenas.
12240 (reused_arena): Don't check arena limit.
12241 (arena_get2): Atomically check arena limit.
12242
fe72eebd
UD
122432011-11-08 Ulrich Drepper <drepper@gmail.com>
12244
5f078c32
UD
12245 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12246 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12247
fe72eebd
UD
12248 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12249 instructions.
12250
ae1bc2fa
AS
122512011-11-07 Andreas Schwab <schwab@redhat.com>
12252
7583a88d
AS
12253 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12254 handler when locking.
12255
ae1bc2fa
AS
12256 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12257 Fix size of allocated buffer.
12258
10fb0bfa
AS
122592011-11-04 Andreas Schwab <schwab@redhat.com>
12260
998832a4
AS
12261 [BZ #10103]
12262 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12263 declarations for long double functions.
12264 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12265
10fb0bfa
AS
12266 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12267
3d7ba52b
AS
122682011-11-03 Andreas Schwab <schwab@redhat.com>
12269
a9ae54a1
AS
12270 * nscd/nscd.c (main): Don't start AVC thread until credentials are
12271 installed.
12272
3d7ba52b
AS
12273 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
12274 is disabled.
12275
bc8db248
ST
122762011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12277
12278 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
12279
45b96dd6
AS
122802011-11-01 Andreas Schwab <schwab@linux-m68k.org>
12281
647776f6
AS
12282 * include/alloca.h (stackinfo_alloca_round): Define.
12283 (extend_alloca): Use it.
12284 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
12285 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
12286 here.
12287
d91a8b93
AS
12288 * scripts/check-local-headers.sh: Ignore libaudit.h.
12289
45b96dd6
AS
12290 * nscd/Makefile (extra-objs): Make recursively expanded.
12291
432d41ce
UD
122922011-11-01 Ulrich Drepper <drepper@gmail.com>
12293
34372fc6
UD
12294 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
12295 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12296
fadb59f8
UD
12297 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
12298 * posix/tst-rfc3484-2.c: Likewise.
12299 * posix/tst-rfc3484-3.c: Likewise.
12300
78239589
UD
12301 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12302 process_vm_writev.
12303 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
12304 process_vm_writev.
12305 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
12306 process_vm_writev from libc using GLIBC_2.15 version.
12307
432d41ce
UD
12308 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
12309
02f9c6cf
PP
123102011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12311
12312 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
12313 stack usage.
12314
3a2c0242
UD
123152011-10-31 Ulrich Drepper <drepper@gmail.com>
12316
f4ec4833
UD
12317 [BZ #13367]
12318 * nss/getent.c (initgroups_keys): Show error message in case no group
12319 names are given.
12320
3a2c0242
UD
12321 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
12322 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
12323 __bump_nl_timestamp.
12324 * nscd/connections (nscd_init): When host database is served open
12325 netlink socket and request notification about configuration changes.
12326 (main_loop_poll): Track netlink file descriptor and bump timestamp
12327 in case data becomes available.
12328 (main_loop_epoll): Likewise.
12329 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
12330 (database_pers_head): Add extra_data fileds.
12331 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
12332 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
12333 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
12334 Adjust caller.
12335 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
12336 in6ai data, call __free_in6ai.
12337 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
12338 Add -DHAVE_NETLINK.
12339 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
12340 interface information. Reuse previous data if netlink timestamp
12341 is not changed.
12342 (__bump_nl_timestamp): New function.
12343 (__free_in6ai): New function.
12344
636064eb
UD
123452011-10-30 Ulrich Drepper <drepper@gmail.com>
12346
12347 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
12348 close_not_cancel_no_status here.
12349 (__check_pf): Reorganize code a bit to not call close twice if OOM.
12350
9beb2334
UD
123512011-10-29 Ulrich Drepper <drepper@gmail.com>
12352
6ef76f3b
UD
12353 [BZ #13276]
12354 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
12355 return value.
12356
0ffc4f3e 12357 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
12358 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
12359 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
12360
cb95113e
UD
123612011-07-03 Andreas Jaeger <aj@suse.de>
12362
12363 [BZ #10709]
12364 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
12365 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
12366 * math/libm-test.inc (sin_test): Add test case.
12367
a1b560ff
UD
123682011-10-29 Ulrich Drepper <drepper@gmail.com>
12369
c9aaface
UD
12370 [BZ #13337]
12371 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
12372 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12373
d272e7f1
UD
12374 * elf/chroot_canon.c (chroot_canon): Cleanups.
12375
1bc33071
UD
12376 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
12377
1760874d
TJ
12378 [BZ #13335]
12379 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
12380 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12381
51d91b18
UD
12382 * string/test-strchr.c: Make usable for strchrnul testing.
12383 * string/test-strchrnul.c: New file.
12384 * string/Makefile (strop-tests): Add strchrnul.
12385
a1b560ff 12386 * po/it.po: Update from translation team.
b611fb81 12387 * po/es.po: Likewise.
a1b560ff 12388
a5b81e1f
UD
123892011-10-28 Ulrich Drepper <drepper@gmail.com>
12390
fd52bc6d
UD
12391 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
12392 the three constants needed as parameters. Drop the others.
12393 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
12394 __m128i_strloadu_tolower.
52e4b9eb
UD
12395 Create and initialize variable zero and use it in all the places
12396 where _mm_setzero_si128 was used.
fd52bc6d 12397
a5b81e1f
UD
12398 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
12399 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
12400 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
12401 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
12402 anymore.
12403 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
12404 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
12405 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
12406 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
12407 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
12408 __mpranred, __mptan.
12409 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
12410 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
12411 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
12412 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
12413 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
12414 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
12415 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
12416 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
12417 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
12418
b4343346
AS
124192011-10-28 Andreas Schwab <schwab@redhat.com>
12420
0c92d8a8
AS
12421 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
12422 redefine if SHARED.
12423 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
12424
b4343346
AS
12425 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
12426 wide char related routines to wcsmbs subdir.
12427
3871f58f
AS
124282011-10-27 Andreas Schwab <schwab@redhat.com>
12429
12430 [BZ #13344]
12431 * misc/sys/cdefs.h (__THROWNL): Define.
12432 * posix/unistd.h: Use __THREADNL instead of __THREAD
12433 for memory synchronization functions.
12434
94d44d9f
RM
124352011-10-26 Roland McGrath <roland@hack.frob.com>
12436
21b64b15 12437 [BZ #13349]
94d44d9f
RM
12438 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
12439 doesn't exist.
12440 * manual/stdio.texi (Obstack Streams): Node removed.
12441
f6ce9294
AS
124422011-10-26 Andreas Schwab <schwab@redhat.com>
12443
80479147
AS
12444 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
12445 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12446 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12447
f6ce9294
AS
12448 * math/math_private.h (math_force_eval): Allow non-addressable
12449 arguments.
12450 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
12451
618280a1
UD
124522011-10-25 Ulrich Drepper <drepper@gmail.com>
12453
e0016b11
UD
12454 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
12455 file is not needed.
12456
12457 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
12458 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12459 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12460 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12461 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12462 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12463 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12464 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
12465 Add AVX variants.
12466 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
12467 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
12468 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
12469 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
12470 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
12471 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
12472 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
12473 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
12474 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
12475 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
12476 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
12477 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
12478 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
12479 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
12480 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
12481 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
12482 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
12483 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
12484 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
12485
12486 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
12487 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
12488
618280a1
UD
12489 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
12490 place. Use VEX encoding when compiling for AVX.
12491
37822576
AS
124922011-10-25 Andreas Schwab <schwab@redhat.com>
12493
1f1e1947
AS
12494 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
12495 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12496
37822576
AS
12497 * string/test-strchr.c (do_test): Don't generate NUL bytes.
12498
31ea014d
UD
124992011-10-25 Ulrich Drepper <drepper@gmail.com>
12500
d7826aa1 12501 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 12502 useless if() expression.
d7826aa1
UD
12503 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12504 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12505 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12506 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12507 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12508 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12509 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12510 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12511 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12512 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12513 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12514 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12515 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12516 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12517 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12518 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12519 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12520 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12521 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12522
31ea014d
UD
12523 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
12524
16437fec
AS
125252011-10-25 Andreas Schwab <schwab@redhat.com>
12526
12527 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
12528 condition.
12529 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12530
31d3cc00
UD
125312011-10-25 Ulrich Drepper <drepper@gmail.com>
12532
12533 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
12534 .text section. Avoid duplicate constants.
12535 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12536 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12537 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12538 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12539 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12540 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12541 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12542 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12543 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12544 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
12545 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12546 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12547 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12548 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12549 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12550 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12551 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12552 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12553 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12554 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12555 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12556 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12557 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12558 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
12559 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
12560 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
12561 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
12562 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
12563 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
12564 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
12565 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
12566 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
12567 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12568 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
12569 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
12570 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
12571 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
12572 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
12573 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
12574 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
12575 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
12576 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
12577 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
12578 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
12579 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
12580
58985aa9
UD
125812011-10-24 Ulrich Drepper <drepper@gmail.com>
12582
202c9deb
UD
12583 * sysdeps/x86_64/dla.h: Move to ...
12584 * sysdeps/x86_64/fpu/dla.h: ...here.
12585 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
12586 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 12587
af968f62
UD
12588 * config.make.in: Add have-mfma4 entry.
12589 * configure.in: Substitute libc_cv_cc_fma4.
12590 * math/Makefile (dbl-only-routines): Add sincostab.
12591 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
12592 Use __sincostab not sincos.
12593 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
12594 name is a macro.
12595 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12596 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12597 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12598 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
12599 using __copysign.
12600 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
12601 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
12602 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
12603 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
12604 and __inv.
12605 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
12606 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
12607 __copysign.
12608 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
12609 define aliases when function name is a macro.
12610 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
12611 sysdeps/ieee754/dbl-64/sincos.tbl.
12612 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
12613 fma4-enabled routines.
12614 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
12615 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
12616 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
12617 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
12618 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
12619 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
12620 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
12621 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
12622 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
12623 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
12624 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
12625 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
12626 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
12627 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
12628 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
12629 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
12630 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
12631 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
12632 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
12633 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
12634 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
12635 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
12636 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
12637 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
12638 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
12639 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
12640 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
12641 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
12642 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
12643 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
12644
58985aa9
UD
12645 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
12646 rename.
12647 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12648 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12649 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12650 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12651 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12652 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12653 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12654 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12655
a201fbcf
AS
126562011-10-24 Andreas Schwab <schwab@redhat.com>
12657
12658 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
12659
fc2ee42a
LD
126602011-10-23 Ulrich Drepper <drepper@gmail.com>
12661
bb3129bd
UD
12662 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
12663
0275fff8
UD
12664 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
12665 prediction.
12666 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
12667
2fa2ae85
UD
12668 * string/strnlen.c: Don't define STRNLEN, reverse logic.
12669 Remove unused variable magic_bits.
12670 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
12671
fc2ee42a
LD
12672 * string/strnlen.c: Define and use STRNLEN macro.
12673 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
12674 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
12675 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
12676 * wcsmbs/wcslen.c: Define and use WCSLEN.
12677 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
12678 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
12679 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
12680 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
12681 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
12682 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
12683 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12684
ce7dd29f
LD
126852011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12686
12687 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12688 strnlen-sse2-no-bsf.
12689 Rename strlen-no-bsf to strlen-sse2-no-bsf.
12690 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
12691 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
12692 Add strnlen support.
12693 (USE_AS_STRNLEN): New macro.
12694 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
12695 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
12696 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
12697 * sysdeps/x86_64/wcslen.S: New file.
12698
979c70a3
MZ
126992011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
12700
12701 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12702 XMM-moves are used for copying on small sizes.
12703
2d09f82f
LD
127042011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12705
12706 * wcsmbs/Makefile (strop-tests): Add wcschr.
12707 * wcsmbs/test-wcschr.c: New file.
12708 * string/test-strchr.c: Update.
12709 Add wcschr support.
12710 (WIDE): New macro.
12711
619fccca
LD
127122011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12713
2d09f82f 12714 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
12715 * wcsmbs/test-wcslen.c: New file.
12716 * string/test-strlen.c: Update.
12717 Add wcslen support.
12718 (WIDE): New macro.
12719
09f699ea
UD
127202011-10-23 Ulrich Drepper <drepper@gmail.com>
12721
12722 * po/it.po: Update from translation team.
12723
95584d3b
LD
127242011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12725
12726 * sysdeps/x86_64/wcscmp.S: Update.
12727 Fix wrong comparison semantics.
12728 wcscmp shall use signed comparison not unsigned.
12729 Don't use substraction to avoid overflow bug.
12730 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12731 * wcsmbc/wcscmp.c: Likewise.
12732 * string/test-strcmp.c: Likewise.
12733 Add new tests to check cases with negative values.
12734
c8b3296b
UD
127352011-10-23 Ulrich Drepper <drepper@gmail.com>
12736
12737 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
12738 * sysdeps/x86_64/dla.h: ...here. New file.
12739 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
12740 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12741 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12742 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12743 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12744 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12745 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12746 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12747 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12748
246ad57a
AS
127492011-10-23 Andreas Schwab <schwab@linux-m68k.org>
12750
12751 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
12752 __ynl_finite aliases.
12753
a1a87169
UD
127542011-10-22 Ulrich Drepper <drepper@gmail.com>
12755
0d355eb7
UD
12756 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12757
a1a87169
UD
12758 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
12759 define DLA_FMA.
12760 [DLA_FMA] (EMULV): Use DLA_FMA.
12761 [DLA_FMA] (MUL12): Use EMULV.
12762 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
12763 that are not needed.
12764 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12765 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12766 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12767 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12768 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12769 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12770 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12771
ee2aafe0
AS
127722011-10-22 Andreas Schwab <schwab@linux-m68k.org>
12773
12774 * math/s_nan.c: Undef __nan.
12775 * math/s_nanf.c: Undef __nanf.
12776 * math/s_nanl.c: Undef __nanl.
12777 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
12778 "math_private.h".
12779
bc62c2fb
UD
127802011-10-22 Ulrich Drepper <drepper@gmail.com>
12781
77425c63
UD
12782 * math/s_catan.c: Add branch predictions.
12783 * math/s_catanf.c: Likewise.
12784 * math/s_catanh.c: Likewise.
12785 * math/s_catanhf.c: Likewise.
12786 * math/s_catanhl.c: Likewise.
12787 * math/s_catanl.c: Likewise.
12788 * math/s_cexp.c: Likewise.
12789 * math/s_cexpf.c: Likewise.
12790 * math/s_cexpl.c: Likewise.
12791 * math/s_clog.c: Likewise.
12792 * math/s_clog10.c: Likewise.
12793 * math/s_clog10f.c: Likewise.
12794 * math/s_clog10l.c: Likewise.
12795 * math/s_clogf.c: Likewise.
12796 * math/s_clogl.c: Likewise.
12797 * math/s_csqrt.c: Likewise.
12798 * math/s_csqrtf.c: Likewise.
12799 * math/s_csqrtl.c: Likewise.
12800 * math/s_ctanf.c: Likewise.
12801 * math/s_ctanh.c: Likewise.
12802 * math/s_ctanhf.c: Likewise.
12803 * math/s_ctanhl.c: Likewise.
12804 * math/s_ctanl.c: Likewise.
12805
bc62c2fb
UD
12806 * math/math_private.h: Define __nan, __nanf, __nanl.
12807 * math/s_cacosh.c: Include <math_private.h>.
12808 * math/s_cacoshl.c: Likewise.
12809 * math/s_casinh.c: Likewise.
12810 * math/s_casinhf.c: Likewise.
12811 * math/s_casinhl.c: Likewise.
12812 * math/s_ccos.c: Rely entire on ccosh.
12813 * math/s_ccosf.c: Rely entire on ccoshf.
12814 * math/s_ccosl.c: Rely entirely on ccoshl.
12815 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
12816 Remove tests for FE_INVALID.
12817 * math/s_ccoshf.c: Likewise.
12818 * math/s_ccoshl.c: Likewise.
12819 * math/s_csin.c: Likewise.
12820 * math/s_csinf.c: Likewise.
12821 * math/s_csinh.c Likewise.
12822 * math/s_csinhf.c: Likewise.
12823 * math/s_csinhl.c: Likewise.
12824 * math/s_csinl.c: Likewise.
12825 * math/s_ctan.c: Likewise.
12826 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
12827 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
12828 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
12829
8ec250a4
UD
128302011-10-21 Ulrich Drepper <drepper@gmail.com>
12831
c196fed8
UD
12832 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
12833 compilation problems.
12834
8ec250a4
UD
12835 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
12836 __builtin_expect.
12837
8d4f46c6
UD
128382011-10-20 Ulrich Drepper <drepper@gmail.com>
12839
ed72b654
UD
12840 * sysdeps/i386/configure.in: Test for -mfma4 option.
12841 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
12842 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
12843 COMMON_CPUID_INDEX_80000001.
12844 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
12845 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
12846 use it if FMA3 is not supported.
12847 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12848
8d4f46c6
UD
12849 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
12850 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12851
d45c60c2
AS
128522011-10-20 Andreas Schwab <schwab@redhat.com>
12853
12854 [BZ #12892]
12855 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
12856 it would create a cycle with a link time dependency.
12857
d9a4d2ab
UD
128582011-10-19 Ulrich Drepper <drepper@gmail.com>
12859
855d1560
UD
12860 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
12861 instruction.
12862 * string/Makefile (strop-tests): Add rawmemchr.
12863 * string/test-rawmemchr.c: New file.
12864
d9a4d2ab
UD
12865 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
12866 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
12867 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
12868 when compiling str{,n}casecmp and when AVX is available. Hook up
12869 new optimized code in initializers.
12870
8f3b1ffe
AS
128712011-10-19 Andreas Schwab <schwab@redhat.com>
12872
12873 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
12874 __feraiseexcept instead of feraiseexcept.
12875
d38f1dba
UD
128762011-10-18 Ulrich Drepper <drepper@gmail.com>
12877
d9a8d0ab
UD
12878 * math/math_private.h: Define defaults for libc_fetestexcept and
12879 libc_feupdateenv.
12880 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
12881 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12882 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12883 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12884 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12885 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12886 libc_fetestexcept and libc_feupdateenv.
12887
4855e3dd
UD
12888 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
12889 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
12890 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
12891 * sysdeps/x86_64/fpu/math_private.h: Define special version of
12892 libc_feholdexcept_setround.
12893
581d30e3
UD
12894 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
12895 Add s_nearbyint-c and s_nearbyintf-c.
12896 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
12897 nearbyintf inlines.
12898 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
12899 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
12900 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
12901 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
12902
d38f1dba
UD
12903 * math/math_private.h: Define defaults for libc_fegetround,
12904 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
12905 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
12906 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
12907 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
12908 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
12909 standard functions.
12910 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12911 Remove comments and hacks for old compiler versions.
12912 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12913 libc_fegetround, libc_fesetround, libc_feholdexcept, and
12914 libc_feholdexceptl.
12915
caa6c9d8
AS
129162011-10-18 Andreas Schwab <schwab@redhat.com>
12917
12918 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
12919 (__feraiseexcept_renamed): Add __NTH.
12920 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
12921 namespace violations.
12922
97c066e6
UD
129232011-10-17 Ulrich Drepper <drepper@gmail.com>
12924
99ce7b04
UD
12925 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
12926
1004d182
UD
12927 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
12928
228a984d
UD
12929 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
12930 recently added interfaces.
12931 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
12932
c8553a6a
UD
12933 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
12934 about macro parameter expansion.
12935
ed22dcf6
UD
12936 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
12937 __NO_MATH_INLINES is defined. Cleanups.
12938
12939 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
12940 and __floorf is target has SSE4.1.
12941 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
12942 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
12943 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
12944 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
12945
b171c137
UD
12946 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
12947 name.
12948 (floorf): Likewise.
12949
97c066e6
UD
12950 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
12951
629f62ef
AS
129522011-10-17 Andreas Schwab <schwab@redhat.com>
12953
49a43d80
AS
12954 * misc/sys/cdefs.h: Fix last change.
12955
629f62ef
AS
12956 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
12957 database lookup.
12958
e453f6cd
UD
129592011-10-16 Ulrich Drepper <drepper@gmail.com>
12960
aa78043a
UD
12961 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
12962
ad0f5cad
UD
12963 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
12964 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12965 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12966 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12967 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12968 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12969 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12970 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12971 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12972 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
12973 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
12974 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
12975 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
12976 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
12977 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
12978 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
12979 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
12980 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
12981 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
12982 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
12983 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
12984 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
12985
12986 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
12987 ceil, ceilf, floor, floorf.
12988
12989 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
12990 Perform IRELATIVE relocations last.
12991
e453f6cd
UD
12992 * elf/do-rel.h: Add another parameter nrelative, replacing the
12993 local variable with the same name. Change name of the function
12994 to end in Rel or Rela (uppercase).
12995 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
12996 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
12997 elf_dynamic_do_##reloc function.
12998
fd5bdc09
UD
129992011-10-15 Ulrich Drepper <drepper@gmail.com>
13000
79b195b5
UD
13001 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
13002 is sufficient, at least on modern CPUs.
13003
d4a28569
UD
13004 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
13005
b61099b5
UD
13006 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
13007 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
13008
bcf01e6d
UD
13009 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
13010 __expl_finite.
13011 * math/bits/math-finite.h: Add entries for exp.
13012 * math/e_expl.c: Add __*_finite alias.
13013 * sysdeps/i386/fpu/e_exp.S: Likewise.
13014 * sysdeps/i386/fpu/e_expf.S: Likewise.
13015 * sysdeps/i386/fpu/e_expl.c: Likewise.
13016 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13017 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13018 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13019 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13020 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
13021 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13022 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13023
ba1a0d59
UD
13024 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
13025 is sufficient, at least on modern CPUs.
13026
fd5bdc09
UD
13027 * ctype/ctype-info.c (__ctype_init): Define.
13028 * include/ctype.h (__ctype_init): Declare.
13029 (__ctype_b_loc): The variable is always initialized.
13030 (__ctype_toupper_loc): Likewise.
13031 (__ctype_tolower_loc): Likewise.
13032 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
13033 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
13034
7872cfb0
AS
130352011-10-15 Andreas Schwab <schwab@linux-m68k.org>
13036
b468825a
AS
13037 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
13038
7872cfb0
AS
13039 * configure.in: Also look in $cxxmachine/include for C++ system
13040 headers.
13041
be13f7bf
LD
130422011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13043
13044 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
13045 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
13046 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
13047 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
13048 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
13049 (USE_AS_WMEMCMP): New macro.
13050 Fixing indents.
13051 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
13052 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
13053 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
13054 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
13055 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13056 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
13057 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
13058 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
13059 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
13060 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
13061 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
13062 (USE_AS_WMEMCMP): New macro.
13063 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
13064 * sysdeps/string/test-memcmp.c: Update.
13065 Fix simple_wmemcmp.
13066 Add new tests.
13067 * wcsmbs/wmemcmp.c: Update.
13068 (WMEMCMP): New macro.
13069 Fix overflow bug.
13070
556a2007
AJ
130712011-10-12 Andreas Jaeger <aj@suse.de>
13072
13073 [BZ #13268]
13074 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
13075
538faaa7
UD
130762011-10-15 Ulrich Drepper <drepper@gmail.com>
13077
ab6737ff
UD
13078 * libio/iofwide.c (do_length): Avoid warning.
13079
538faaa7
UD
13080 * ctype/ctype.h (__isctype_f): Add missing __THROW.
13081
396a21b1
UD
130822011-10-14 Ulrich Drepper <drepper@gmail.com>
13083
cdf2901f
UD
13084 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
13085
38ad40ce
UD
13086 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
13087 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
13088 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
13089 * sysdeps/i386/i686/fpu/e_log.S: New file.
13090 * sysdeps/i386/i686/fpu/e_logf.S: New file.
13091 * sysdeps/i386/i686/fpu/e_logl.S: New file.
13092
396a21b1
UD
13093 * ctype/ctype.h: Add support for inlined isXXX functions when
13094 compiling C++ code.
13095
6b1f68c9
AS
130962011-10-14 Andreas Schwab <schwab@redhat.com>
13097
349290c0
AS
13098 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13099
6b1f68c9
AS
13100 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
13101
f2282d42
RM
131022011-10-13 Roland McGrath <roland@hack.frob.com>
13103
13104 [BZ #13291]
13105 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
13106
5298ffa8
AS
131072011-10-13 Andreas Schwab <schwab@redhat.com>
13108
714fad23
AS
13109 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
13110 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
13111 feraiseexcept.
13112
81dcc7fb
AS
13113 * sysdeps/x86_64/memrchr.S: Check for zero size.
13114
5298ffa8
AS
13115 * string/stratcliff.c: Add memrchr tests.
13116
951fbcec
LD
131172011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13118
13119 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13120 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
13121 rawmemchr-sse2 rawmemchr-sse2-bsf.
13122 * sysdeps/i386/i686/multiarch/memchr.S: New file.
13123 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
13124 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
13125 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
13126 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
13127 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
13128 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
13129 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
13130 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
13131 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
13132 * string/memrchr.c (MEMRCHR): New macro.
13133
0ac5ae23
UD
131342011-10-12 Ulrich Drepper <drepper@gmail.com>
13135
13136 Add integration with gcc's -ffinite-math-only and optimize wrapper
13137 functions in libm.
13138 * Versions.def: Define GLIBC_2.15 version for libm.
13139 * math/Makefile (headers): Add bits/math-finite.h.
13140 * math/bits/math-finite.h: New file.
13141 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
13142 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
13143 * math/e_acoshl.c: Add __*_finite alias.
13144 * math/e_acosl.c: Likewise.
13145 * math/e_asinl.c: Likewise.
13146 * math/e_atan2l.c: Likewise.
13147 * math/e_atanhl.c: Likewise.
13148 * math/e_coshl.c: Likewise.
13149 * math/e_exp10.c: Likewise.
13150 * math/e_exp10f.c: Likewise.
13151 * math/e_exp10l.c: Likewise.
13152 * math/e_exp2l.c: Likewise.
13153 * math/e_fmodl.c: Likewise.
13154 * math/e_gammal_r.c: Likewise.
13155 * math/e_hypotl.c: Likewise.
13156 * math/e_j0l.c: Likewise.
13157 * math/e_j1l.c: Likewise.
13158 * math/e_jnl.c: Likewise.
13159 * math/e_lgammal_r.c: Likewise.
13160 * math/e_log10l.c: Likewise.
13161 * math/e_log2l.c: Likewise.
13162 * math/e_logl.c: Likewise.
13163 * math/e_powl.c: Likewise.
13164 * math/e_sinhl.c: Likewise.
13165 * math/e_sqrtl.c: Likewise.
13166 * math/e_scalb.c: Completely rewritten and optimized.
13167 * math/e_scalbf.c: Likewise.
13168 * math/e_scalbl.c: Likewise.
13169 * math/w_acos.c: Likewise.
13170 * math/w_acosf.c: Likewise.
13171 * math/w_acosl.c: Likewise.
13172 * math/w_acosh.c: Likewise.
13173 * math/w_acoshf.c: Likewise.
13174 * math/w_acoshl.c: Likewise.
13175 * math/w_asin.c: Likewise.
13176 * math/w_asinf.c: Likewise.
13177 * math/w_asinl.c: Likewise.
13178 * math/w_atan2.c: Likewise.
13179 * math/w_atan2f.c: Likewise.
13180 * math/w_atan2l.c: Likewise.
13181 * math/w_atanh.c: Likewise.
13182 * math/w_atanhf.c: Likewise.
13183 * math/w_atanhl.c: Likewise.
13184 * math/w_exp10.c: Likewise.
13185 * math/w_exp10f.c: Likewise.
13186 * math/w_exp10l.c: Likewise.
13187 * math/w_fmod.c: Likewise.
13188 * math/w_fmodf.c: Likewise.
13189 * math/w_fmodl.c: Likewise.
13190 * math/w_j0.c: Likewise.
13191 * math/w_j0f.c: Likewise.
13192 * math/w_j0l.c: Likewise.
13193 * math/w_j1.c: Likewise.
13194 * math/w_j1f.c: Likewise.
13195 * math/w_j1l.c: Likewise.
13196 * math/w_jn.c: Likewise.
13197 * math/w_jnf.c: Likewise.
13198 * math/w_log.c: Likewise.
13199 * math/w_logf.c: Likewise.
13200 * math/w_logl.c: Likewise.
13201 * math/w_log10.c: Likewise.
13202 * math/w_log10f.c: Likewise.
13203 * math/w_log10l.c: Likewise.
13204 * math/w_log2.c: Likewise.
13205 * math/w_log2f.c: Likewise.
13206 * math/w_log2l.c: Likewise.
13207 * math/w_pow.c: Likewise.
13208 * math/w_powf.c: Likewise.
13209 * math/w_powl.c: Likewise.
13210 * math/w_remainder.c: Likewise.
13211 * math/w_remainderf.c: Likewise.
13212 * math/w_remainderl.c: Likewise.
13213 * math/w_scalb.c: Likewise.
13214 * math/w_scalbf.c: Likewise.
13215 * math/w_scalbl.c: Likewise.
13216 * math/w_sqrt.c: Likewise.
13217 * math/w_sqrtf.c: Likewise.
13218 * math/w_sqrtl.c: Likewise.
13219 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13220 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
13221 used.
13222 * math/math_private.h: Declare __kernel_standard_f.
13223 * math/w_cosh.c: Remove cruft and optimize a bit.
13224 * math/w_coshf.c: Likewise.
13225 * math/w_coshl.c: Likewise.
13226 * math/w_exp2.c: Likewise.
13227 * math/w_exp2f.c: Likewise.
13228 * math/w_exp2l.c: Likewise.
13229 * math/w_hypot.c: Likewise.
13230 * math/w_hypotf.c: Likewise.
13231 * math/w_hypotl.c: Likewise.
13232 * math/w_lgamma.c: Likewise.
13233 * math/w_lgamma_r.c: Likewise.
13234 * math/w_lgammaf.c: Likewise.
13235 * math/w_lgammaf_r.c: Likewise.
13236 * math/w_lgammal.c: Likewise.
13237 * math/w_lgammal_r.c: Likewise.
13238 * math/w_sinh.c: Likewise.
13239 * math/w_sinhf.c: Likewise.
13240 * math/w_sinhl.c: Likewise.
13241 * math/w_tgamma.c: Likewise.
13242 * math/w_tgammaf.c: Likewise.
13243 * math/w_tgammal.c: Likewise.
13244 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13245 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13246 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13247 Minor optimizations. Pretty printing. Remove cruft.
13248 * sysdeps/i386/fpu/e_acosf.S: Likewise.
13249 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13250 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13251 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13252 * sysdeps/i386/fpu/e_acosl.c: Likewise.
13253 * sysdeps/i386/fpu/e_asin.S: Likewise.
13254 * sysdeps/i386/fpu/e_asinf.S: Likewise.
13255 * sysdeps/i386/fpu/e_atan2.S: Likewise.
13256 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13257 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13258 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13259 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13260 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13261 * sysdeps/i386/fpu/e_exp10.S: Likewise.
13262 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13263 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13264 * sysdeps/i386/fpu/e_exp2.S: Likewise.
13265 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13266 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13267 * sysdeps/i386/fpu/e_fmod.S: Likewise.
13268 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13269 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13270 * sysdeps/i386/fpu/e_hypot.S: Likewise.
13271 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
13272 * sysdeps/i386/fpu/e_log.S: Likewise.
13273 * sysdeps/i386/fpu/e_log10.S: Likewise.
13274 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13275 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13276 * sysdeps/i386/fpu/e_log2.S: Likewise.
13277 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13278 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13279 * sysdeps/i386/fpu/e_logf.S: Likewise.
13280 * sysdeps/i386/fpu/e_logl.S: Likewise.
13281 * sysdeps/i386/fpu/e_pow.S: Likewise.
13282 * sysdeps/i386/fpu/e_powf.S: Likewise.
13283 * sysdeps/i386/fpu/e_powl.S: Likewise.
13284 * sysdeps/i386/fpu/e_remainder.S: Likewise.
13285 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
13286 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
13287 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13288 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13289 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13290 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
13291 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
13292 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
13293 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13294 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13295 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13296 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13297 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13298 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13299 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13300 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13301 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13302 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13303 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13304 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13305 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13306 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13307 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13308 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13309 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13310 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13311 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13312 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13313 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13314 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13315 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13316 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13317 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13318 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13319 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13320 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13321 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13322 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13323 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13324 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13325 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13326 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13327 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13328 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13329 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13330 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13331 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13332 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13333 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13334 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13335 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13336 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13337 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13338 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13339 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13340 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13341 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13342 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13343 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13344 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13345 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13346 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13347 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13348 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13349 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13350 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13351 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13352 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13353 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13354 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13355 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13356 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13357 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13358 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13359 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13360 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13361 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13362 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13363 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13364 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13365 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13366 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13367 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13368 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13369 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13370 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13371 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13372 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13373 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13374 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13375 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13376 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13377 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13378 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13379 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13380 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13381 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13382 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13383 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13384 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13385 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13386 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13387 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13388 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13389 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13390 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13391 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13392 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13393 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
13394 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
13395 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
13396 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
13397 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13398 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13399 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13400 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13401 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
13402 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13403 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
13404 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
13405 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
13406 (__isnanf): Likewise.
13407 (__isinf_ns): Likewise.
13408 (__isinf_nsf): Likewise.
13409 (__finite): Likewise.
13410 (__finitef): Likewise.
13411 (__ieee754_sqrt): Define as macro.
13412 (__ieee754_sqrtf): Define as macro.
13413 (__ieee754_sqrtl): Define as macro.
13414 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
13415 inlined copy.
13416 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
13417 __FINITE_MATH_ONLY__ consistent.
13418 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
13419
12cc2fcd
AS
134202011-10-10 Andreas Schwab <schwab@linux-m68k.org>
13421
a843a204
AS
13422 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
13423 of rawmemchr.
13424
12cc2fcd
AS
13425 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
13426
c853acd5
UD
134272011-10-09 Ulrich Drepper <drepper@gmail.com>
13428
13429 * po/ja.po: Update from translation team.
13430
c658d255
RM
134312011-10-08 Roland McGrath <roland@hack.frob.com>
13432
110946e4
RM
13433 * locale/programs/locarchive.c (prepare_address_space): New function.
13434 (create_archive, enlarge_archive, open_archive): Use it.
13435
50604220
RM
13436 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
13437 inside [SHARED], where it is used.
13438
c658d255
RM
13439 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
13440
13441 * nss/getent.c (netgroup_keys): Remove unused variable.
13442 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13443
6a621eb7
UD
134442011-10-08 Ulrich Drepper <drepper@gmail.com>
13445
7edb55ce
UD
13446 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
13447 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
13448 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
13449 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
13450 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
13451 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
13452 * math/Makefile (libm-calls): Add s_isinf_ns.
13453 * math/divtc3.c: Use __isinf_nsl instead of isinf.
13454 * math/multc3.c: Likewise.
13455 * math/s_casin.c: Likewise.
13456 * math/s_casinf.c: Likewise.
13457 * math/s_casinl.c: Likewise.
13458 * math/s_ccos.c: Likewise.
13459 * math/s_ccosf.c: Likewise.
13460 * math/s_ccosl.c: Likewise.
13461 * math/s_ctan.c: Likewise.
13462 * math/s_ctanf.c: Likewise.
13463 * math/s_ctanh.c: Likewise.
13464 * math/s_ctanhf.c: Likewise.
13465 * math/s_ctanhl.c: Likewise.
13466 * math/s_ctanl.c: Likewise.
13467 * math/w_fmod.c: Likewise.
13468 * math/w_fmodf.c: Likewise.
13469 * math/w_fmodl.c: Likewise.
13470 * math/w_remainder.c: Likewise.
13471 * math/w_remainderf.c: Likewise.
13472 * math/w_remainderl.c: Likewise.
13473 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
13474 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
13475 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
13476 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
13477 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
13478 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
13479 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
13480 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
13481
187da0ae
UD
13482 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
13483 of the number.
13484 * stdio-common/printf_fphex.c: Likewise.
13485 * stdio-common/printf_size.c: Likewise.
13486
9277c064
UD
13487 * math/e_exp10.c: Include math_private.h using <...> not "...".
13488 * math/e_exp10f.c: Likewise.
13489 * math/e_exp10l.c: Likewise.
13490 * math/e_exp2l.c: Likewise.
13491 * math/e_j0l.c: Likewise.
13492 * math/e_j1l.c: Likewise.
13493 * math/e_jnl.c: Likewise.
13494 * math/e_lgammal_r.c: Likewise.
13495 * math/e_rem_pio2l.c: Likewise.
13496 * math/e_scalb.c: Likewise.
13497 * math/e_scalbf.c: Likewise.
13498 * math/e_scalbl.c: Likewise.
13499 * math/k_cosl.c: Likewise.
13500 * math/k_sinl.c: Likewise.
13501 * math/k_tanl.c: Likewise.
13502 * math/s_cacoshf.c: Likewise.
13503 * math/s_catan.c: Likewise.
13504 * math/s_catanf.c: Likewise.
13505 * math/s_catanh.c: Likewise.
13506 * math/s_catanhf.c: Likewise.
13507 * math/s_catanhl.c: Likewise.
13508 * math/s_catanl.c: Likewise.
13509 * math/s_ccosh.c: Likewise.
13510 * math/s_ccoshf.c: Likewise.
13511 * math/s_ccoshl.c: Likewise.
13512 * math/s_cexp.c: Likewise.
13513 * math/s_cexpf.c: Likewise.
13514 * math/s_cexpl.c: Likewise.
13515 * math/s_clog.c: Likewise.
13516 * math/s_clog10.c: Likewise.
13517 * math/s_clog10f.c: Likewise.
13518 * math/s_clog10l.c: Likewise.
13519 * math/s_clogf.c: Likewise.
13520 * math/s_clogl.c: Likewise.
13521 * math/s_csin.c: Likewise.
13522 * math/s_csinf.c: Likewise.
13523 * math/s_csinh.c: Likewise.
13524 * math/s_csinhf.c: Likewise.
13525 * math/s_csinhl.c: Likewise.
13526 * math/s_csinl.c: Likewise.
13527 * math/s_csqrt.c: Likewise.
13528 * math/s_csqrtf.c: Likewise.
13529 * math/s_csqrtl.c: Likewise.
13530 * math/s_ctan.c: Likewise.
13531 * math/s_ctanf.c: Likewise.
13532 * math/s_ctanh.c: Likewise.
13533 * math/s_ctanhf.c: Likewise.
13534 * math/s_ctanhl.c: Likewise.
13535 * math/s_ctanl.c: Likewise.
13536 * math/s_ldexp.c: Likewise.
13537 * math/s_ldexpf.c: Likewise.
13538 * math/s_ldexpl.c: Likewise.
13539 * math/s_significand.c: Likewise.
13540 * math/s_significandf.c: Likewise.
13541 * math/s_significandl.c: Likewise.
13542 * math/w_acos.c: Likewise.
13543 * math/w_acosf.c: Likewise.
13544 * math/w_acosh.c: Likewise.
13545 * math/w_acoshf.c: Likewise.
13546 * math/w_acoshl.c: Likewise.
13547 * math/w_acosl.c: Likewise.
13548 * math/w_asin.c: Likewise.
13549 * math/w_asinf.c: Likewise.
13550 * math/w_asinl.c: Likewise.
13551 * math/w_atan2.c: Likewise.
13552 * math/w_atan2f.c: Likewise.
13553 * math/w_atan2l.c: Likewise.
13554 * math/w_atanh.c: Likewise.
13555 * math/w_atanhf.c: Likewise.
13556 * math/w_atanhl.c: Likewise.
13557 * math/w_cosh.c: Likewise.
13558 * math/w_coshf.c: Likewise.
13559 * math/w_coshl.c: Likewise.
13560 * math/w_dremf.c: Likewise.
13561 * math/w_exp10.c: Likewise.
13562 * math/w_exp10f.c: Likewise.
13563 * math/w_exp10l.c: Likewise.
13564 * math/w_exp2.c: Likewise.
13565 * math/w_exp2f.c: Likewise.
13566 * math/w_fmod.c: Likewise.
13567 * math/w_fmodf.c: Likewise.
13568 * math/w_fmodl.c: Likewise.
13569 * math/w_hypot.c: Likewise.
13570 * math/w_hypotf.c: Likewise.
13571 * math/w_hypotl.c: Likewise.
13572 * math/w_j0.c: Likewise.
13573 * math/w_j0f.c: Likewise.
13574 * math/w_j0l.c: Likewise.
13575 * math/w_j1.c: Likewise.
13576 * math/w_j1f.c: Likewise.
13577 * math/w_j1l.c: Likewise.
13578 * math/w_jn.c: Likewise.
13579 * math/w_jnf.c: Likewise.
13580 * math/w_jnl.c: Likewise.
13581 * math/w_lgamma.c: Likewise.
13582 * math/w_lgamma_r.c: Likewise.
13583 * math/w_lgammaf.c: Likewise.
13584 * math/w_lgammaf_r.c: Likewise.
13585 * math/w_lgammal.c: Likewise.
13586 * math/w_lgammal_r.c: Likewise.
13587 * math/w_log.c: Likewise.
13588 * math/w_log10.c: Likewise.
13589 * math/w_log10f.c: Likewise.
13590 * math/w_log10l.c: Likewise.
13591 * math/w_log2.c: Likewise.
13592 * math/w_log2f.c: Likewise.
13593 * math/w_log2l.c: Likewise.
13594 * math/w_logf.c: Likewise.
13595 * math/w_logl.c: Likewise.
13596 * math/w_pow.c: Likewise.
13597 * math/w_powf.c: Likewise.
13598 * math/w_powl.c: Likewise.
13599 * math/w_remainder.c: Likewise.
13600 * math/w_remainderf.c: Likewise.
13601 * math/w_remainderl.c: Likewise.
13602 * math/w_scalb.c: Likewise.
13603 * math/w_scalbf.c: Likewise.
13604 * math/w_scalbl.c: Likewise.
13605 * math/w_sinh.c: Likewise.
13606 * math/w_sinhf.c: Likewise.
13607 * math/w_sinhl.c: Likewise.
13608 * math/w_sqrt.c: Likewise.
13609 * math/w_sqrtf.c: Likewise.
13610 * math/w_sqrtl.c: Likewise.
13611 * math/w_tgamma.c: Likewise.
13612 * math/w_tgammaf.c: Likewise.
13613 * math/w_tgammal.c: Likewise.
13614
6a621eb7
UD
13615 * po/ja.po: Update from translation team.
13616
bf582445
AJ
136172011-09-29 Andreas Jaeger <aj@suse.de>
13618
f9efbf3a
AJ
13619 [BZ #13179]
13620 * sunrpc/netname.c (netname2host): Fix logic.
13621
bf582445
AJ
13622 [BZ #6779]
13623 [BZ #6783]
13624 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
13625 correctly.
13626 * math/w_remainder.c (__remainder): Likewise.
13627 * math/w_remainderf.c (__remainderf): Likewise.
13628 * math/libm-test.inc (remainder_test): Add test cases.
13629
48693bea
AK
136302011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13631
13632 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
13633 sdiv_qrnnd.
13634
42622229
LD
136352011-10-07 Ulrich Drepper <drepper@gmail.com>
13636
13637 * string/test-memcmp.c: Avoid unncessary #defines.
13638 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13639
093ecf92
LD
136402011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13641
13642 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
13643 Use new sse2 version for core i3 - i7 as it's faster
13644 than sse42 version.
13645 (bit_Prefer_PMINUB_for_stringop): New.
13646 * sysdeps/x86_64/rawmemchr.S: Update.
13647 Replace with faster SSE2 version.
13648 * sysdeps/x86_64/memrchr.S: New file.
13649 * sysdeps/x86_64/memchr.S: Update.
13650 Replace with faster SSE2 version.
13651
fde56e5c
MP
136522011-09-12 Marek Polacek <mpolacek@redhat.com>
13653
13654 * elf/dl-load.c (lose): Add cast to avoid warning.
13655
21fd49a9
UD
136562011-10-07 Ulrich Drepper <drepper@gmail.com>
13657
5a06e643
UD
13658 * po/ca.po: Update from translation team.
13659
684ae515
UD
13660 * inet/getnetgrent_r.c: Hook up nscd.
13661 * nscd/Makefile (routines): Add nscd_netgroup.
13662 (nscd-modules): Add netgroupcache.
13663 (CFLAGS-netgroupcache.c): Define.
13664 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
13665 (cache_search): Add const to second parameter.
13666 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
13667 INNETGR.
13668 (dbs): Add netgrdb entry.
13669 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
13670 (verify_persistent_db): Handle netgrdb.
13671 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
13672 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
13673 GETFDNETGR.
13674 (netgroup_response_header): Define.
13675 (innetgroup_response_header): Define.
13676 (datahead): Add netgroup_response_header and innetgroup_response_header
13677 elements.
13678 * nscd/nscd.conf: Add entries for netgroup cache.
13679 * nscd/nscd.h (dbtype): Add netgrdb.
13680 (_PATH_NSCD_NETGROUP_DB): Define.
13681 (netgroup_iov_disabled): Declare.
13682 (xmalloc, xcalloc, xrealloc): Move declarations here.
13683 (cache_search): Adjust prototype.
13684 Add netgroup-related prototypes.
13685 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
13686 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
13687 (__nscd_innetgr): Declare.
13688 * nscd/selinux.c (perms): Use access_vector_t as element type and
13689 add netgroup-related initializers.
13690 * nscd/netgroupcache.c: New file.
13691 * nscd/nscd_netgroup.c: New file.
13692 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
13693 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
13694 For four parameters use innetgr.
13695 * nss/nss_files/files-init.c: Add definition and callback for netgr.
13696 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
13697 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
13698 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
13699
21fd49a9
UD
13700 * nscd/connections.c (register_traced_file): Don't register file
13701 for disabled databases.
13702
054c0457
UD
137032011-10-06 Ulrich Drepper <drepper@gmail.com>
13704
32b63198
UD
13705 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
13706
054c0457
UD
13707 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
13708 from tree and freeing node.
13709
64031225
JO
137102011-09-25 Jiri Olsa <jolsa@redhat.com>
13711
13712 * nss/nsswitch.c (__nss_database_lookup): Handle
13713 nss_parse_service_list out of memory case.
13714
0490345c
JO
137152011-09-15 Jiri Olsa <jolsa@redhat.com>
13716
13717 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
13718 out of memory case.
13719
3a62d00d
AS
137202011-10-04 Andreas Schwab <schwab@redhat.com>
13721
13722 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
13723 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
13724 pass it down.
13725 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
13726 elf_machine_rela, elf_machine_lazy_rel.
13727 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
13728 (ELF_DYNAMIC_DO_REL): Likewise.
13729 (ELF_DYNAMIC_DO_RELA): Likewise.
13730 (ELF_DYNAMIC_RELOCATE): Likewise.
13731 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
13732 to ELF_DYNAMIC_DO_REL.
13733 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
13734 (dl_main): In trace mode always set __RTLD_NOIFUNC.
13735 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
13736 elf_machine_rela.
13737 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
13738 skip_ifunc, don't call ifunc function if non-zero.
13739 (elf_machine_rela): Likewise.
13740 (elf_machine_lazy_rel): Likewise.
13741 (elf_machine_lazy_rela): Likewise.
13742 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13743 (elf_machine_lazy_rel): Likewise.
13744 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13745 Likewise.
13746 (elf_machine_lazy_rel): Likewise.
13747 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13748 Likewise.
13749 (elf_machine_lazy_rel): Likewise.
13750 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
13751 (elf_machine_lazy_rel): Likewise.
13752 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
13753 (elf_machine_lazy_rel): Likewise.
13754 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13755 (elf_machine_lazy_rel): Likewise.
13756 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
13757 (elf_machine_lazy_rel): Likewise.
13758 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
13759 (elf_machine_lazy_rel): Likewise.
13760 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13761 (elf_machine_lazy_rel): Likewise.
13762
68577918
UD
137632011-09-28 Ulrich Drepper <drepper@gmail.com>
13764
13765 * nss/nss_files/files-init.c (_nss_files_init): Use static
13766 initialization for all the *_traced_file variables.
13767
68822d74
AS
137682011-09-28 Andreas Schwab <schwab@redhat.com>
13769
13770 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13771
2056100b
RM
137722011-09-27 Roland McGrath <roland@hack.frob.com>
13773
13774 [BZ #13226]
13775 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
13776
32c76b63
AS
137772011-09-27 Andreas Schwab <schwab@redhat.com>
13778
13779 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13780 Reread the line before reparsing it.
13781
bf972c9d
AS
137822011-09-26 Andreas Schwab <schwab@redhat.com>
13783
13784 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
13785
e057a1b5
JM
137862011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
13787 Maxim Kuvyrkov <maxim@codesourcery.com>
13788 Joseph Myers <joseph@codesourcery.com>
13789
13790 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
13791 if needed for __stack_chk_guard.
13792
bc7e1c36
RM
137932011-09-19 Roland McGrath <roland@hack.frob.com>
13794
ecb1482f
RM
13795 * sysdeps/posix/spawni.c (script_execute): Always define it.
13796 It will be optimized away if unused.
13797 (maybe_script_execute): New function.
13798 (__spawni): Call it.
13799
bc7e1c36
RM
13800 * Makerules: Don't include tls.make.
13801 (config-tls): Always set to thread.
13802 * tls.make.c: File removed.
13803
1c3b002b
MF
138042011-09-19 Mike Frysinger <vapier@gentoo.org>
13805
13806 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
13807 * config.make.in (CPPFLAGS-config): New substituted variable.
13808
2840865d
UD
138092011-09-15 Ulrich Drepper <drepper@gmail.com>
13810
88738eb6
UD
13811 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
13812
cbf645a6 13813 [BZ #13192]
2840865d
UD
13814 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
13815 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
13816
b402e91a
RM
138172011-09-15 Roland McGrath <roland@hack.frob.com>
13818
13819 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
13820 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
13821 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13822 (CALL_FAIL): Likewise.
13823 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
13824 (CALL_FAIL): Macro removed.
13825 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
13826
4c1a1f71
UD
138272011-09-15 Ulrich Drepper <drepper@gmail.com>
13828
13829 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
13830 for __FINITE_MATH_ONLY__ == 1.
13831
edc121be
AS
138322011-09-15 Andreas Schwab <schwab@redhat.com>
13833
13834 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
13835 __ieee754_sqrt instead of sqrt.
13836 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
13837 __ieee754_sqrtf instead of sqrtf.
13838 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
13839 __floorf instead of floorf.
13840 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
13841 __floorf, __truncf instead of floorf, truncf.
13842
cd205654
UD
138432011-09-14 Ulrich Drepper <drepper@gmail.com>
13844
ee4d0315
UD
13845 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
13846
cd205654
UD
13847 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
13848 __extern_always_inline.
13849 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
13850 32-bit.
13851
48b67d71
AS
138522011-09-14 Andreas Schwab <schwab@redhat.com>
13853
13854 * elf/rtld.c (dl_main): Also relocate in dependency order when
13855 doing symbol dependency testing.
13856
1ae12c75
AS
138572011-09-13 Andreas Schwab <schwab@linux-m68k.org>
13858
13859 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13860 Always define `refsym'.
13861
995a80df
AS
138622011-09-13 Andreas Schwab <schwab@redhat.com>
13863
e529793b
AS
13864 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
13865 (__FD_ELT): Renamed from __FDELT.
13866 * misc/bits/select2.h (__FD_ELT): Likewise.
13867 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
13868 __FD_MASK instead of __FDELT, __FDMASK.
13869 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13870 Likewise.
13871 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13872 Likewise.
13873
52d4fef8
AS
13874 * elf/Makefile (gen-ldd): Fix pattern.
13875
995a80df
AS
13876 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
13877 (init_tls): Likewise.
13878
8682f8b0
UD
138792011-09-12 Ulrich Drepper <drepper@gmail.com>
13880
13881 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
13882
de82006d
AS
138832011-09-12 Andreas Schwab <schwab@redhat.com>
13884
a7c8e6a1
AS
13885 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
13886 `struct cmsghdr *' instead of `void *'.
13887 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
13888 Likewise.
13889
0f31fe77
AS
138902011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13891
13892 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
13893 if non-absolute.
13894 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
13895 ldd_rewrite_script.
0f31fe77 13896
32b4c839
UD
138972011-09-11 Ulrich Drepper <drepper@gmail.com>
13898
83cd1420
UD
13899 * configure.in: Remove --with-tls option.
13900 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
13901 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
13902 out in case it is missing.
13903 * sysdeps/ia64/elf/configure.in: Likewise.
13904 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
13905 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
13906 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
13907 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
13908 * sysdeps/sh/elf/configure.in: Likewise.
13909 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
13910 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13911 * sysdeps/x86_64/elf/configure.in: Likewise.
13912 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
13913 * sysdeps/mach/hurd/tls.h: Likewise.
13914
633f745d
UD
13915 [BZ #13067]
13916 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
13917
f318beb8
UD
13918 [BZ #13090]
13919 * configure.in: Fix use of AC_INIT.
13920
32b4c839
UD
13921 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
13922
3ce1f295
UD
139232011-09-10 Ulrich Drepper <drepper@gmail.com>
13924
bb016596
UD
13925 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
13926 __set_errno.
8e58439c
UD
13927 * malloc/hooks.c: Likewise.
13928
aebae053 13929 [BZ #11929]
02d46fc4
UD
13930 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
13931 variables statically.
13932 (narenas): Initialize.
13933 (list_lock): Initialize.
bb016596
UD
13934 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
13935 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
13936 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
13937 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
13938 Add initializers to main_arena and mp_.
13939 (malloc_state): Remove pagesize member. Change all users to use
13940 GLRO(dl_pagesize).
13941
13942 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
13943 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
13944 is always initialized.
13945
22a89187
UD
13946 * malloc/malloc.c: Removed unused configurations and dead code.
13947 * malloc/arena.c: Likewise.
13948 * malloc/hooks.c: Likewise.
02d46fc4 13949 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 13950
d063d164
UD
13951 * include/tls.h: Removed. USE___THREAD must always be defined.
13952 * bits/libc-tsd.h: Don't handle !USE___THREAD.
13953 * elf/dl-libc.c: Likewise.
13954 * elf/dl-tsd.c: Likewise.
13955 * include/errno.h: Likewise.
13956 * include/netdb.h: Likewise.
13957 * include/resolv.h: Likewise.
13958 * inet/herrno-loc.c: Likewise.
13959 * inet/herrno.c: Likewise.
13960 * malloc/arena.c: Likewise.
13961 * malloc/hooks.c: Likewise.
13962 * malloc/malloc.c: Likewise.
13963 * resolv/res-state.c: Likewise.
13964 * resolv/res_libc.c: Likewise.
13965 * sysdeps/i386/dl-machine.h: Likewise.
13966 * sysdeps/ia64/dl-machine.h: Likewise.
13967 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13968 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13969 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13970 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13971 * sysdeps/sh/dl-machine.h: Likewise.
13972 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13973 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13974 * sysdeps/unix/i386/sysdep.S: Likewise.
13975 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13976 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13977 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13978 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13979 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13980 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13981 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13982 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13983 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13984 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13985 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13986 * sysdeps/x86_64/dl-machine.h: Likewise.
13987 * tls.make.c: Likewise.
13988
3ce1f295
UD
13989 * configure.in: Remove --with-__thread option. Make tests for
13990 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
13991 tls_model attribute fail if no support is available. Remove
13992 USE_IN_LIBIO.
13993 * Makeconfig: Adjust for dropped configure option. All features are
13994 now mandatory.
13995 * Makerules: Likewise.
13996 * Versions.def: Likewise.
13997 * argp/argp-fmtstream.c: Likewise.
13998 * argp/argp-fmtstream.h: Likewise.
13999 * argp/argp-help.c: Likewise.
14000 * assert/assert.c: Likewise.
14001 * config.h.in: Likewise.
14002 * config.make.in: Likewise.
14003 * configure: Likewise.
14004 * configure.in: Likewise.
14005 * csu/Versions: Likewise.
14006 * csu/init.c: Likewise.
14007 * elf/tst-audit2.c: Likewise.
14008 * elf/tst-tls10.c: Likewise.
14009 * elf/tst-tls10.h: Likewise.
14010 * elf/tst-tls11.c: Likewise.
14011 * elf/tst-tls12.c: Likewise.
14012 * elf/tst-tls14.c: Likewise.
14013 * elf/tst-tlsmod11.c: Likewise.
14014 * elf/tst-tlsmod12.c: Likewise.
14015 * elf/tst-tlsmod13.c: Likewise.
14016 * elf/tst-tlsmod13a.c: Likewise.
14017 * elf/tst-tlsmod14a.c: Likewise.
14018 * elf/tst-tlsmod15b.c: Likewise.
14019 * elf/tst-tlsmod16a.c: Likewise.
14020 * elf/tst-tlsmod16b.c: Likewise.
14021 * elf/tst-tlsmod7.c: Likewise.
14022 * elf/tst-tlsmod8.c: Likewise.
14023 * elf/tst-tlsmod9.c: Likewise.
14024 * gmon/gmon.c: Likewise.
14025 * grp/fgetgrent_r.c: Likewise.
14026 * grp/putgrent.c: Likewise.
14027 * hurd/fopenport.c: Likewise.
14028 * include/libc-symbols.h: Likewise.
14029 * include/tls.h: Likewise.
14030 * intl/gettextP.h: Likewise.
14031 * intl/loadinfo.h: Likewise.
14032 * locale/global-locale.c: Likewise.
14033 * locale/localeinfo.h: Likewise.
14034 * mach/devstream.c: Likewise.
14035 * malloc/arena.c: Likewise.
14036 * malloc/set-freeres.c: Likewise.
14037 * misc/err.c: Likewise.
14038 * misc/getttyent.c: Likewise.
14039 * misc/mntent_r.c: Likewise.
14040 * posix/getopt.c: Likewise.
14041 * posix/wordexp.c: Likewise.
14042 * pwd/fgetpwent_r.c: Likewise.
14043 * resolv/Versions: Likewise.
14044 * resolv/res_hconf.c: Likewise.
14045 * shadow/fgetspent_r.c: Likewise.
14046 * shadow/putspent.c: Likewise.
14047 * stdio-common/printf_fphex.c: Likewise.
14048 * stdio-common/tmpfile.c: Likewise.
14049 * stdlib/abort.c: Likewise.
14050 * stdlib/fmtmsg.c: Likewise.
14051 * sunrpc/auth_unix.c: Likewise.
14052 * sunrpc/clnt_perr.c: Likewise.
14053 * sunrpc/clnt_tcp.c: Likewise.
14054 * sunrpc/clnt_udp.c: Likewise.
14055 * sunrpc/clnt_unix.c: Likewise.
14056 * sunrpc/openchild.c: Likewise.
14057 * sunrpc/svc_simple.c: Likewise.
14058 * sunrpc/svc_tcp.c: Likewise.
14059 * sunrpc/svc_udp.c: Likewise.
14060 * sunrpc/svc_unix.c: Likewise.
14061 * sunrpc/xdr.c: Likewise.
14062 * sunrpc/xdr_array.c: Likewise.
14063 * sunrpc/xdr_rec.c: Likewise.
14064 * sunrpc/xdr_ref.c: Likewise.
14065 * sunrpc/xdr_stdio.c: Likewise.
14066
1248c1c4
PB
140672011-09-09 Ulrich Drepper <drepper@gmail.com>
14068
14069 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14070
140712011-07-03 Andreas Jaeger <aj@suse.de>
14072
14073 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
14074 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
14075 regenerate with gen-libm-tests.pl.
14076
140772010-05-12 Petr Baudis <pasky@suse.cz>
14078
14079 [BZ #11589]
14080 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
14081 around j0() zero points by switching to j1().
14082 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14083 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14084 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14085 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14086
f22e1074
UD
140872011-09-09 Ulrich Drepper <drepper@gmail.com>
14088
f19009c1
UD
14089 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
14090 instead of 0.
14091 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
14092 instead of 0. .
14093 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14094 Patch in part by Pavel Roskin <proski@gnu.org>.
14095
3f8cc204
UD
14096 [BZ #13138]
14097 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
14098 realloc.
14099 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
14100 Free memory block if necessary.
14101
f22e1074
UD
14102 [BZ #12847]
14103 * libio/genops.c (INTDEF): For string streams the _lock pointer can
14104 be NULL. Don't lock in this case.
14105
0a2349f9
RM
141062011-09-09 Roland McGrath <roland@hack.frob.com>
14107
14108 * elf/elf.h (ELFOSABI_GNU): New macro.
14109 (ELFOSABI_LINUX): Define to that.
14110
f3cdd467
DZ
141112011-07-29 Denis Zaitceff <zaitceff@gmail.com>
14112
14113 * string/strncat.c (strncat): Undef the symbol in case it has been
14114 defined in bits/string.h.
14115
74718d13
UD
141162011-09-09 Ulrich Drepper <drepper@gmail.com>
14117
633e9e0f
UD
14118 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
14119
0a2349f9 14120 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
14121 link map.
14122
f9924780
AJ
141232011-08-17 Andreas Jaeger <aj@suse.de>
14124
14125 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
14126
7f5517aa
PP
141272011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14128 Ian Lance Taylor <iant@google.com>
14129
14130 * math/libm-test.inc (lround_test): New testcase.
14131 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
14132
762011fe
UD
141332011-09-08 Ulrich Drepper <drepper@gmail.com>
14134
92963737
UD
14135 * Makefile: Remove support for automatic cvs check-ins.
14136 * Makerules: Likewise.
14137 * config.make.in: Likewise.
14138 * configure.in: Likewise.
14139 * intl/Makefile: Likewise.
14140 * locale/Makefile: Likewise.
14141 * po/Makefile: Likewise.
14142 * posix/Makefile: Likewise.
14143 * sysdeps/gnu/Makefile: Likewise.
14144 * sysdeps/mach/hurd/Makefile: Likewise.
14145 * sysdeps/sparc/sparc32/Makefile: Likewise.
14146
b0727fd8
JS
14147 [BZ #13118]
14148 * posix/Makefile (bug-regex32-ENV): Define.
14149 Patch by John Stanley <jpsinthemix@verizon.net>.
14150
a0f33f99
UD
14151 * misc/Makefile (headers): Add bits/select2.h.
14152 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
14153 * misc/bits/select2.h: New file.
14154 * include/bits/select2.h: New file.
14155 * debug/Makefile (routines): Add fdelt_chk.
14156 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
14157 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
14158 FD_ISSET.
14159 * debug/fdelt_chk.c: New file.
14160
762011fe
UD
14161 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
14162 * wcsmbs/test-wmemcmp.c: Likewise.
14163 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 14164 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
14165
141662011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14167
14168 * string/Makefile (strop-tests): Add memcmp.
14169 * string/test-wmemcmp.c: New file.
14170 * string/test-memcmp.c: Add wmemcmp support.
14171
7f513ec8
RM
141722011-09-08 Roland McGrath <roland@hack.frob.com>
14173
0442afb4
RM
14174 [BZ #13153]
14175 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
14176 2011-07-19 change.
14177
7f513ec8
RM
14178 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14179 garbage value in a __mach_port_mod_refs call in the cases of the
14180 task-self and thread-self ports.
14181
a12b2239
ST
141822011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14183
14184 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14185
610f9ab4
AS
141862011-09-08 Andreas Schwab <schwab@redhat.com>
14187
7f513ec8 14188 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 14189
48882a1a
LD
141902011-09-07 Ulrich Drepper <drepper@gmail.com>
14191
b49865be
UD
14192 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14193
fdc86bc9
UD
14194 * elf/dl-libc.c (dlerror_run): Pass back error code from
14195 dl_catch_error.
14196
c966526a
UD
14197 [BZ #13123]
14198 * elf/dl-load.c (lose): Free l_origin if it is valid.
14199
48882a1a
LD
14200 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14201 names.
14202 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14203 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14204 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14205 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14206 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14207 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14208
77a2a8b4
AZ
142092011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14210
14211 * sysdeps/powerpc/fpu/e_hypot.c: New file.
14212 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14213 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14214 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14215 * sysdeps/powerpc/fpu/k_cosf.c: New file.
14216 * sysdeps/powerpc/fpu/k_sinf.c: New file.
14217 * sysdeps/powerpc/fpu/s_cosf.c: New file.
14218 * sysdeps/powerpc/fpu/s_sinf.c: New file.
14219 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14220 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14221
24f579d8
AM
142222011-08-15 Alan Modra <amodra@gmail.com>
14223
14224 [BZ #13092]
14225 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14226 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14227 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
14228 ppc_mcount to static-only-routines.
14229 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14230 __mcount_internal.
14231 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14232 __mcount_internal with usual JUMPTARGET. Remove useless nop.
14233
3d4837df
UD
142342011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
14235
14236 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14237 for finite and infinity parameters.
14238
22700377
WS
142392011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14240
14241 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14242 and add nop instructions for throughput optimization.
14243 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14244
5025581e
WS
142452011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
14246
14247 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14248 aligned copy for power7 with vector-scalar instructions.
14249 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14250
08a300c9
L
142512011-07-24 H.J. Lu <hongjiu.lu@intel.com>
14252
14253 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14254 AVX check.
14255
59178ef9
AS
142562011-09-07 Andreas Schwab <schwab@redhat.com>
14257
14258 [BZ #13144]
14259 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14260 last change.
14261
e38ba7ab
UD
142622011-09-07 Ulrich Drepper <drepper@gmail.com>
14263
14264 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14265 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14266 syscall wrapper around clock_gettime in __vdso_clock_gettime.
14267 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14268 clock_gettime.
14269
d53a73ac
UD
142702011-09-06 Ulrich Drepper <drepper@gmail.com>
14271
fc8bffcc
UD
14272 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
14273 Forgot to demangle the pointer.
14274
ceaa0c5d
UD
14275 * sysdeps/i386/sysdep.h: Define atom_text_section.
14276 * sysdeps/x86_64/sysdep.h: Likewise.
14277 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
14278 section with atom_text_section.
14279 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14280 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14281 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14282 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14283 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
14284
a77d3c17
UD
14285 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
14286 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
14287 already be defined. Change to take two parameters and don't assign
14288 result to variable. Adjust all users.
14289 Define INTERNAL_GETTIME if not already defined.
14290 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
14291 call.
14292 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
14293 HAVE_CLOCK_GETTIME_VSYSCALL.
14294 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
14295
d53a73ac
UD
14296 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
14297 gettimeofday vsyscall, just use time.
14298
a8f84144
AS
142992011-09-06 Andreas Schwab <schwab@redhat.com>
14300
14301 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
14302 <errno.h>.
14303
ef606249
UD
143042011-09-06 Ulrich Drepper <drepper@gmail.com>
14305
14306 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
14307 syscall on x86-64.
14308 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
14309 syscall.
14310 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14311 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
14312 syscall if possible.
14313
6585cb60
UD
143142011-09-05 Ulrich Drepper <drepper@gmail.com>
14315
14316 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
14317 e_ident. Don't pass to find_mapsXX.
14318 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
14319
a5f524e4
LD
143202011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14321
14322 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14323 strchr-sse2-no-bsf strrchr-sse2-no-bsf
14324 * sysdeps/x86_64/multiarch/strchr.S: Update.
14325 Check bit_slow_BSF bit.
14326 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14327 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
14328 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
14329
554881ef
UD
143302011-09-05 Ulrich Drepper <drepper@gmail.com>
14331
d96de963
UD
14332 [BZ #13134]
14333 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
14334 before glibc 2.15.
14335 (tryshell): Define.
14336 (__spawni): Change last parameter to be flag. Test
14337 SPAWN_XFLAGS_USE_PATH flag to use path or not.
14338 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
14339 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
14340 * posix/spawni.c: Likewise.
14341 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
14342 * posix/spawnp.c: Likewise. Change normal version to use
14343 SPAWN_XFLAGS_USE_PATH.
14344 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
14345 SPAWN_XFLAGS_TRY_SHELL.
14346
d48e5868
UD
14347 [BZ #13150]
14348 * posix/glob.h: Remove gcc 1.x support.
14349
554881ef
UD
14350 [BZ #13068]
14351 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
14352
693fb948
LD
143532011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14354
14355 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14356 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
14357 strrchr-sse2-bsf
14358 * sysdeps/i386/i686/multiarch/strchr.S: New file.
14359 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
14360 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
14361 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
14362 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
14363 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
14364
1b48c537
UD
143652011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14366
49d42c37
UD
14367 * sysdeps/x86_64/wcscmp.S: New file.
14368
1b48c537
UD
14369 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
14370 wcscmp-c wcscmp-sse2
14371 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
14372 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
14373 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
14374 * wcsmbs/wcscmp.c: Allow renaming.
14375
15c95c5d
DM
143762011-09-05 David S. Miller <davem@davemloft.net>
14377
14378 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
14379 stack slot, rather than the struct return pointer slot.
14380 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
14381 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
14382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
14383 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
14384
2f0ad8f3
UD
143852011-09-05 Ulrich Drepper <drepper@gmail.com>
14386
d88ae418
UD
14387 * po/ja.po: Update from translation team.
14388
2f0ad8f3
UD
14389 [BZ #13144]
14390 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
14391 kernel in 64-bit binaries.
14392
5f4318d1
DM
143932011-09-01 David S. Miller <davem@davemloft.net>
14394
14395 * elf/elf.h (HWCAP_SPARC_*): Move to..
14396 * sysdeps/sparc/sysdep.h: this new file and add new values.
14397 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
14398 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
14399 _DL_HWCAP_COUNT to 24.
14400 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14401 entries.
14402 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
14403 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
14404 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
14405 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
14406 instead of magic constants.
14407 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14408
3ba57516
DM
144092011-08-31 David S. Miller <davem@davemloft.net>
14410
14411 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
14412 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
14413 Reimplement to do errno handling inline.
14414 (SYSCALL_ERROR_HANDLER): New macro.
14415 (__SYSCALL_STRING): Do not do errno handling in asm.
14416 (__CLONE_SYSCALL_STRING): Delete.
14417 (__INTERNAL_SYSCALL_STRING): Delete.
14418 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
14419 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
14420 (PSEUDO): Reimplement to do errno handling inline.
14421 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
14422 (SYSCALL_ERROR_HANDLER): New macro.
14423 (__SYSCALL_STRING): Do not do errno handling in asm.
14424 (__CLONE_SYSCALL_STRING): Delete.
14425 (__INTERNAL_SYSCALL_STRING): Delete.
14426 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
14427 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
14428 i386.
14429 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
14430 (inline_syscall*): Add 'err' argument.
14431 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
14432 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
14433 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
14434 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
14435
14436 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
14437 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14438
2bc17433
AS
144392011-08-30 Andreas Schwab <schwab@redhat.com>
14440
14441 * elf/rtld.c (dl_main): Relocate objects in dependency order.
14442
fbeb5f4d
JO
144432011-08-29 Jiri Olsa <jolsa@redhat.com>
14444
14445 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
14446 directive.
14447
ad69cc26
DM
144482011-08-24 David S. Miller <davem@davemloft.net>
14449
14450 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
14451
39dd69df
AS
144522011-08-24 Andreas Schwab <schwab@redhat.com>
14453
14454 * elf/Makefile: Add rules to build and run unload8 test.
14455 * elf/unload8.c: New file.
14456 * elf/unload8mod1.c: New file.
14457 * elf/unload8mod1x.c: New file.
14458 * elf/unload8mod2.c: New file.
14459 * elf/unload8mod3.c: New file.
14460
14461 * elf/dl-close.c (_dl_close_worker): Reset private search list if
14462 it wasn't used.
14463
2c0b250a
DM
144642011-08-23 David S. Miller <davem@davemloft.net>
14465
14466 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
14467 subtract stack bias.
14468 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
14469 %sp not %fp in calculations.
14470 (_JMPBUF_UNWINDS_ADJ): Likewise.
14471
22044b48
DM
14472 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
14473 (aio_suspend): Call it to force an exception region around the
14474 AIO_MISC_WAIT() invocation.
14475
2cae4995
AS
144762011-08-23 Andreas Schwab <schwab@redhat.com>
14477
14478 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
14479 backslash.
14480
873a772e
AJ
144812011-07-04 Aurelien Jarno <aurelien@aurel32.net>
14482
14483 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
14484 protection macro.
14485 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
14486 and <dl-machine.h>.
14487 (Elf64_FuncDesc): Remove.
14488
25ad0df1
DM
144892011-08-22 David S. Miller <davem@davemloft.net>
14490
14491 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
14492 sigaltstack check, add missing cfi directives.
14493 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
14494 missing cfi directives, and sigaltstack handling.
14495
e888bcbe
AS
144962011-08-16 Andreas Schwab <schwab@redhat.com>
14497
14498 [BZ #11724]
14499 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
14500 object is seen twice.
14501 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14502
14503 * elf/Makefile (distribute): Add tst-initorder2.c.
14504 (tests): Add tst-initorder2.
14505 (modules-names): Add tst-initorder2a tst-initorder2b
14506 tst-initorder2c tst-initorder2d. Add rules to build them.
14507 ($(objpfx)tst-initorder2.out): New rule.
14508 * elf/tst-initorder2.c: New file.
14509 * elf/tst-initorder2.exp: New file.
14510
87162f46
AS
145112011-08-22 Andreas Schwab <schwab@redhat.com>
14512
70538b7f
AS
14513 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
14514
f55ffe58
AS
14515 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
14516 dependencies back to end of function.
14517
87162f46
AS
14518 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14519 $(elfobjdir)/ld.so.
14520
91b392a4
UD
145212011-08-21 Ulrich Drepper <drepper@gmail.com>
14522
14523 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
14524 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
14525 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
14526 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
14527 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
14528 of __vdso_gettimeofday.
14529 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
14530 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
14531 attribute_hidden.
14532 (_libc_vdso_platform_setup): Remove initialization of
14533 __vdso_gettimeofday and __vdso_time.
14534
5c43483f
UD
145352011-08-20 Ulrich Drepper <drepper@gmail.com>
14536
775a77e7
UD
14537 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
14538 and fgetc_unlocked.
14539 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
14540 getc_unlocked.
89f447ed 14541
49c74ba9
UD
14542 * elf/dl-open.c (add_to_global): Report additions to the global scope
14543 for LD_DEBUG=scopes.
14544 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 14545 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 14546
5c43483f
UD
14547 [BZ #13114]
14548 * stdio-common/Makefile (tests): Add bug24.
14549 * stdio-common/bug24.c: New file.
14550
a101b025
AJ
145512011-08-19 Andreas Jaeger <aj@suse.de>
14552
14553 [BZ #13114]
14554 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
14555 non-existant file when using close-on-exec mode.
14556
c88f1766
UD
145572011-08-20 Ulrich Drepper <drepper@gmail.com>
14558
0276a718
UD
14559 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
14560 the very first instruction.
14561
c88f1766
UD
14562 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
14563 the CFI state in the end.
14564 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
14565 inclusion of dl-trampoline.h.
14566 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
14567
51ccffa0
AS
145682011-08-19 Andreas Schwab <schwab@redhat.com>
14569
94d7165f
AS
14570 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
14571 expectations for long double.
14572
51ccffa0
AS
14573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
14574 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
14575
fd708658 145762011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
14577
14578 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
14579 artificual limit depends upon the system page size.
14580
44f0a71e
UD
145812011-08-17 Ulrich Drepper <drepper@gmail.com>
14582
14583 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
14584 * resolv/Makefile: Define CFLAGS-libresolv.
14585
8de79a24
AS
145862011-08-17 Andreas Schwab <schwab@redhat.com>
14587
14588 * nss/makedb.c (compute_tables): Make variables used in nested
14589 function static.
14590
27724598
UD
145912011-08-17 Ulrich Drepper <drepper@gmail.com>
14592
c5305d88
UD
14593 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
14594 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
14595 if buffer was too small.
14596
27724598
UD
14597 * elf/pldd.c (main): Attach to all threads in the process.
14598 Rewrite /proc handling to use *at functions.
14599
076fe015
UD
146002011-08-16 Ulrich Drepper <drepper@gmail.com>
14601
174baab3
UD
14602 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
14603 specifies first scope to show.
14604 (dl_open_worker): Update callers. Move printing scope of new
14605 object to before the relocation.
44f0a71e 14606 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
14607 * sysdeps/generic/ldsodefs.h: Update declaration.
14608
076fe015
UD
14609 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
14610 string for the scope number.
14611
a60df2c3
UD
146122011-08-14 Ulrich Drepper <drepper@gmail.com>
14613
14614 * nscd/servicescache.c (cache_addserv): Make sure written is always
14615 initialized.
14616
5e4287d1
RM
146172011-08-14 Roland McGrath <roland@hack.frob.com>
14618
85ae0589
RM
14619 * sysdeps/i386/i486/bits/atomic.h
14620 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
14621 statement expression, so as to suppress "set but not used" warning.
14622 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
14623
69f63097
RM
14624 * string/strncat.c (STRNCAT): Use prototype definition.
14625
675456ef
RM
14626 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
14627 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
14628 -Iprograms here.
14629 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
14630 (localedef-modules): Add localedef.
14631 (locale-modules): Add locale.
14632
5e4287d1
RM
14633 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
14634 * elf/rtld.c (dl_main): Invert order of assignment in last change,
14635 to avoid a warning.
14636
9c96ff23
DM
146372011-08-14 David S. Miller <davem@davemloft.net>
14638
14639 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
14640 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
14641
f9ddf089
UD
146422011-08-13 Ulrich Drepper <drepper@gmail.com>
14643
44f0a71e 14644 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
14645 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
14646 * elf/rtld.c (dl_main): Set l_name of vDSO.
14647 Call _dl_show_scope when DL_DEBUG_SCOPES.
14648 (process_dl_debug): Recognize scopes flag and also set it for all.
14649 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
14650 Declare _dl_show_scope.
14651
1dc27704
UD
14652 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
14653 (do_dlopen): Pass caller_dlopen to dl_open.
14654 (__libc_dlopen_mode): Initialize caller_dlopen.
14655
f9ddf089
UD
14656 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
14657 of libc. Make tolower call locale-independent. Optimize a bit by
14658 using isdigit instead of isalnum.
14659 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
14660
9ac533d3
UD
146612011-08-12 Ulrich Drepper <drepper@gmail.com>
14662
14663 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
14664 was a dependency or dynamically loaded.
14665
89edf2e9
UD
146662011-08-11 Ulrich Drepper <drepper@gmail.com>
14667
8e999d29
UD
14668 * intl/l10nflist.c: Allow architecture-specific pop function.
14669 * sysdeps/x86_64/l10nflist.c: New file.
14670
89edf2e9
UD
14671 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
14672 classification.
14673
14d96785
AS
146742011-08-10 Andreas Schwab <schwab@redhat.com>
14675
14676 * include/dirent.h: Add libc_hidden_proto for scandirat and
14677 scandirat64. Don't declare __scandirat64.
14678 * dirent/scandirat.c: Add libc_hidden_def.
14679 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
14680 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
14681
6761ac04
DM
146822011-08-10 David S. Miller <davem@davemloft.net>
14683
14684 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
14685 enum.
14686 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14687 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14688 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14689
c55fbd1e
UD
146902011-08-09 Ulrich Drepper <drepper@gmail.com>
14691
14692 * Versions.def [libc]: Add GLIBC_2.15.
14693 * dirent/Makefile (routines): Add scandirat and scandirat64.
14694 * dirent/Versions [libc]: Export scandirat and scandirat64 for
14695 GLIBC_2.15.
14696 * dirent/dirent.h: Declare scandirat and scandirat64.
14697 * dirent/scandirat.c: New file.
14698 * dirent/scandirat64.c: New file.
14699 * sysdeps/wordsize-64/scandirat.c: New file.
14700 * sysdeps/wordsize-64/scandirat64.c: New file.
14701 * dirent/opendir.c: Define opendirat.
14702 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
14703 using scandirat.
14704 * dirent/scandir64.c: Adjust for scandir.c change.
14705 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
14706 __scandirat64, and __scandir_cancel_handler.
14707 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
14708 additional parameter and use openat instead of open (outside of ld.so).
14709 Add new __opendir as wrapper around __opendirat.
14710 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
14711 here without requiring old scandirat implementation.
14712
879165f2
UD
147132011-08-08 Ulrich Drepper <drepper@gmail.com>
14714
14715 * dirent/scandir.c (cancel_handler): Renamed to
14716 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
14717 defined. Adjust users.
14718 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
14719 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14720
cb7e923b
UD
147212011-08-04 Ulrich Drepper <drepper@gmail.com>
14722
16292edd
UD
14723 * string/test-string.h (IMPL): Use __STRING to expand name and then
14724 stringify it.
14725
cb7e923b
UD
14726 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
14727 of cleanups.
14728
cff82933
LD
147292011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14730
14731 * string/Makefile: Update.
14732 (strop-tests): Append strncat.
14733 * string/test-wcscmp.c: New file.
14734 New comprehensive test for wcscmp.
14735 * string/test-strcmp.c: Update.
14736 (WIDE): New define.
14737
9be9bfcc
AS
147382011-07-22 Andreas Schwab <schwab@redhat.com>
14739
14740 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
14741 line.
14742
2e96f1c7
AS
147432011-07-26 Andreas Schwab <schwab@redhat.com>
14744
14745 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14746 encoding to ACE if AI_IDN.
14747
85188888
JJ
147482011-08-01 Jakub Jelinek <jakub@redhat.com>
14749
14750 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
14751 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
14752
5fa16e9b
LD
147532011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14754
14755 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
14756 Fix overflow bug in strncat.
14757 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
14758
14759 * string/test-strncat.c: Update.
14760 Add new tests for checking overflow bugs.
14761
147622011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14763
14764 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14765 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
14766 * sysdeps/i386/i686/multiarch/strcat.S: New file.
14767 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
14768 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
14769 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
14770 * sysdeps/i386/i686/multiarch/strncat.S: New file.
14771 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
14772 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
14773
14774 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
14775 (USE_AS_STRCAT): Define.
14776 Add strcat and strncat support.
14777 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14778
8c1a459f
AS
147792011-07-25 Andreas Schwab <schwab@redhat.com>
14780
14781 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
14782 __n bigger than INT_MAX+1.
14783 (__strncmp_g): Likewise.
14784
bba33c28
UD
147852011-07-23 Ulrich Drepper <drepper@gmail.com>
14786
798be72d
UD
14787 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
14788 * libio/stido.h: Likewise.
14789
8accd4dc
UD
14790 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
14791 (AF_NFC): Define.
14792 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
14793 (AF_NFC): Define.
14794
cbff0d96
UD
14795 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
14796 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14797 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14798 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14799 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14800
9191c04a
UD
14801 [BZ #13021]
14802 * scripts/test-installation.pl: Don't expect libnss_test1 to be
14803 installed.
14804
bba33c28
UD
14805 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
14806 typo.
14807 (_dl_x86_64_save_sse): Likewise.
14808
90f139dd
UD
148092011-07-22 Ulrich Drepper <drepper@gmail.com>
14810
1aae088a
UD
14811 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
14812 OSXSAVE.
14813 (_dl_x86_64_save_sse): Likewise.
14814
8e2045f5
UD
14815 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
14816
90f139dd
UD
14817 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
14818
1d002f25
AS
148192011-07-21 Andreas Schwab <schwab@redhat.com>
14820
14821 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
14822 change.
14823 (_dl_x86_64_save_sse): Use correct AVX check.
14824
21137f89
UD
148252011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14826
14827 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
14828 bug in strncpy/strncat.
14829 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
14830
a65c0b7a
UD
148312011-07-21 Ulrich Drepper <drepper@gmail.com>
14832
14833 * string/tester.c (test_strcat): Add tests for different alignments
14834 of source and destination.
14835 (test_strncat): Likewise.
14836
6986b98a
UD
148372011-07-20 Ulrich Drepper <drepper@gmail.com>
14838
90bb2039
UD
14839 [BZ #12852]
14840 * posix/glob.c (glob): Check passed in values before using them in
14841 expressions to avoid some overflows.
14842 (glob_in_dir): Likewise.
14843
5644ef54
UD
14844 [BZ #13007]
14845 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
14846 check for AVX enablement so that we don't crash with old kernels and
14847 new hardware.
14848 * elf/tst-audit4.c: Add same checks here.
14849 * elf/tst-audit6.c: Likewise.
14850
14851 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 14852
bfc9dc9b
AS
148532011-07-09 Andreas Schwab <schwab@linux-m68k.org>
14854
14855 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
14856
702e64bb
UD
148572011-07-20 Ulrich Drepper <drepper@gmail.com>
14858
14859 * po/cs.po: Update from translation team.
14860 * po/bg.po: Likewise.
14861
295e904f
MP
148622011-07-12 Marek Polacek <mpolacek@redhat.com>
14863
14864 * misc/sys/cdefs.h: Add support for const attribute.
14865 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
14866 to gnu_dev_{major,minor,makedev} functions.
14867
3ff94596
MP
148682011-07-20 Marek Polacek <mpolacek@redhat.com>
14869
14870 * intl/dcigettext.c (get_output_charset): Add missing bracket.
14871
28b59fca
AS
148722011-07-20 Andreas Schwab <schwab@redhat.com>
14873
14874 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
14875 strlen results.
14876
19df733e
AK
148772011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14878
14879 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14880 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
14881 register in order to avoid conflicts with the soft frame pointer
14882 being held in r11 when necessary.
14883 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14884 (INTERNAL_VSYSCALL_NCS): Likewise.
14885
c8835729
MP
148862011-07-14 Marek Polacek <mpolacek@redhat.com>
14887
14888 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
14889 * elf/dl-fini.c (_dl_fini): Adjust caller.
14890 * elf/dl-close.c (_dl_close_worker): Likewise.
14891 * sysdeps/generic/ldsodefs.h: Adjust declaration.
14892
b902330c
MP
148932011-07-15 Marek Polacek <mpolacek@redhat.com>
14894
8991e135
MP
14895 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
14896 "aux_cache->nlibs < 0".
14897
b902330c
MP
14898 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
14899 in the reload-count case.
14900
99710781
LD
149012011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14902
14903 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14904 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
14905 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
14906 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
14907 * sysdeps/x86_64/multiarch/strcat.S: New file.
14908 * sysdeps/x86_64/multiarch/strncat.S: New file.
14909 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
14910 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
14911 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
14912 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
14913 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
14914 (USE_AS_STRCAT): Define.
14915 Add strcat and strncat support.
14916 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14917 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14918 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
14919 * string/strncat.c: Update.
14920 (USE_AS_STRNCAT): Define.
14921 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14922 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
14923 and i7.
14924 * sysdeps/x86_64/multiarch/init-arch.h
14925 (bit_Prefer_PMINUB_for_stringop): New.
14926 (index_Prefer_PMINUB_for_stringop): Likewise.
14927 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
14928 bit_Prefer_PMINUB_for_stringop.
14929
7dc6bd90
UD
149302011-07-19 Ulrich Drepper <drepper@gmail.com>
14931
14932 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
14933 buffer64.
14934 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
14935 of casting of buffer.
14936 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
14937 buffer32 and buffer64.
14938 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
14939 writes instead of casting of buffer.
14940 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
14941 buffer32.
14942 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
14943 casting of buffer.
14944
e0e72284
AS
149452011-07-19 Andreas Schwab <schwab@redhat.com>
14946
14947 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
14948
feb1eb0b
UD
149492011-07-19 Ulrich Drepper <drepper@gmail.com>
14950
14951 * nscd/nscd.c (termination_handler): Don't do anything for a database
14952 if it has not yet been initialized.
14953
298711ff
UD
149542011-07-18 Ulrich Drepper <drepper@gmail.com>
14955
14956 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14957
149582011-07-15 Marek Polacek <mpolacek@redhat.com>
14959
14960 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14961
f9d68389
UD
149622011-07-18 Ulrich Drepper <drepper@gmail.com>
14963
14964 * po/nl.po: Update from translation team.
14965 * po/sv.po: Likewise.
14966
db290cf5
RM
149672011-07-16 Roland McGrath <roland@hack.frob.com>
14968
14969 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
14970 now disallowed by GCC.
5c550700 14971
fd5e21c7
RM
14972 * configure.in (use-default-link): Default to yes if a test -shared
14973 link meets our qualifications.
14974 * configure: Regenerated.
14975
5c550700
RM
14976 * config.make.in (output-format): New variable.
14977 * configure.in: Check for ld --print-output-format support.
14978 * configure: Regenerated.
14979 * Makerules ($(common-objpfx)format.lds)
14980 [$(output-format) != unknown]: Just use $(output-format),
14981 instead of the linker-script munging.
14982
9fa2c032
RM
149832011-07-14 Roland McGrath <roland@hack.frob.com>
14984
a6928d51
RM
14985 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
14986 of $(common-objpfx)shlib.lds.
14987 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
14988
661607b3
RM
14989 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
14990 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
14991
9fa2c032
RM
14992 * configure.in (-z relro check): Adjust test code to add a large
14993 writable data section after it.
14994 * configure: Regenerated.
14995
defe9061
RM
149962011-07-11 Roland McGrath <roland@hack.frob.com>
14997
14998 * configure.in (-z relro check): Fix test code to make the variable
14999 truly const.
15000 * configure: Regenerated.
15001
319b9ad4
UD
150022011-07-11 Ulrich Drepper <drepper@gmail.com>
15003
15004 * nscd/nscd.h (struct traced_file): Define.
15005 (struct database_dyn): Remove inotify_descr, reset_res, and filename
15006 elements. Add traced_files.
15007 (inotify_fd): Declare.
15008 (register_traced_file): Declare.
15009 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
15010 (inotify_fd): Export.
15011 (resolv_conf_descr): Remove.
15012 (nscd_init): Move inotify descriptor creation to main.
15013 Don't register files for notification here.
15014 (register_traced_file): New function.
15015 (invalidate_cache): Don't use reset_res to determine whether to call
15016 res_init, go through the list of registered files.
15017 (main_loop_poll): The inotify descriptors are now stored in the
15018 structures for the traced files.
15019 (main_loop_epoll): Likewise
15020 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
15021 to __nss_disable_nscd.
15022 * nscd/cache.c (prune_cache): There is no single inotify descriptor
15023 for a database anymore. Check the records for all the registered
15024 files instead.
15025 * nss/Makefile (libnss_files-routines): Add files-init.
15026 (libnss_db-routines): Add db-init.
15027 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
15028 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
15029 * nss/nss_db/db-init.c: New file.
15030 * nss/nss_files/files-init.c: New file.
15031 * nss/nsswitch.c (nss_load_library): New function. Broken out of
15032 __nss_lookup_function.
15033 (__nss_lookup_function): Call nss_load_library.
15034 (nss_load_all_libraries): New function.
15035 (__nss_disable_nscd): Take parameter with callback function for files
15036 to register. Set is_nscd. Load all the DSOs for the NSS modules
15037 used for the cached services.
15038 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
15039 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
15040 options for features to all the files in nscd.
15041
15042 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
15043
23bee3e8
RM
150442011-07-10 Roland McGrath <roland@hack.frob.com>
15045
15046 * csu/elf-init.c (__libc_csu_init): Comment typo.
15047
46a5b7f0
UD
150482011-07-09 Ulrich Drepper <drepper@gmail.com>
15049
15050 * po/pl.po: Update from translation team.
15051 * po/ja.po: Likewise.
15052 * po/ru.po: Likewise.
15053 * po/ko.po: Likewise.
15054 * po/fr.po: Likewise.
15055
d30cf5bb
RM
150562011-07-09 Roland McGrath <roland@hack.frob.com>
15057
113ddea4
RM
15058 * configure.in (.ctors/.dtors header and trailer check):
15059 Use an empirical test on a built program.
15060 * configure: Regenerated.
15061
574920b4
RM
15062 * configure.in (-z relro check): Use an empirical test on a built DSO.
15063 Detect, but do not require, on ia64.
15064 * configure: Regenerated.
15065
d30cf5bb
RM
15066 * configure.in (READELF): Find it with AC_CHECK_TOOL.
15067 Update tests that use readelf to use $READELF instead.
15068 * configure: Regenerated.
15069
8538fdb3
UD
150702011-07-08 Ulrich Drepper <drepper@gmail.com>
15071
15072 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
15073 if the result is not used.
15074
04d08991
AJ
150752011-07-05 Andreas Jaeger <aj@suse.de>
15076
15077 [BZ#9696]
15078 * stdlib/tst-strtod.c: Add testcase.
15079
de283087
AD
150802011-07-07 Ulrich Drepper <drepper@gmail.com>
15081
4e5f31c8 15082 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 15083 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
15084 The latter has a higher limit. Take additional parameter to pass to
15085 the new function.
15086 (__pathconf): Pass file to __statfs_link_max.
15087 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
15088 __statfs_link_max.
15089 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
15090 __statfs_link_max.
15091
de283087
AD
15092 [BZ #12868]
15093 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
15094 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15095 Handle Lustre.
15096 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
15097 (__statfs_filesize_max): Likewise.
15098 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
15099
c75fa153
AJ
151002011-07-05 Andreas Jaeger <aj@suse.de>
15101
15102 * resolv/res_comp.c (dn_skipname): Remove unused variable.
15103
1a544854
UD
151042011-07-06 Marek Polacek <mpolacek@redhat.com>
15105
15106 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
15107 `status' variable.
15108 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
15109 Likewise.
15110
6f0eec67
UD
151112011-07-04 H.J. Lu <hongjiu.lu@intel.com>
15112
15113 * Makefile (strop-tests): Add strncat.
15114 * string/test-strncat.c: New file.
15115
aae30307
UD
151162011-06-30 Marek Polacek <mpolacek@redhat.com>
15117
15118 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
15119
c0cfb5eb
UD
151202011-06-21 Andreas Jaeger <aj@suse.de>
15121
15122 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
15123 Copy rule from iconvdata/Makefile.
15124
01636b21
UD
151252011-07-06 Ulrich Drepper <drepper@gmail.com>
15126
15127 [BZ #12922]
15128 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
15129 but no long options are defined, just return 'W'.
15130
9895c8bc
UD
151312011-06-22 Marek Polacek <mpolacek@redhat.com>
15132
15133 [BZ #9696]
15134 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
15135
5d4cf042
UD
151362011-07-06 Ulrich Drepper <drepper@gmail.com>
15137
15138 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
15139 netgroups to read.
960e5535 15140 (innetgr): Likewise.
5d4cf042 15141
751eb97e
RM
151422011-07-05 Roland McGrath <roland@hack.frob.com>
15143
15144 * config.make.in (install_root): Default to $(DESTDIR).
15145
f15f1e45
UD
151462011-07-05 Ulrich Drepper <drepper@gmail.com>
15147
15148 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
15149
4e34ac6a
RM
151502011-07-02 Roland McGrath <roland@hack.frob.com>
15151
5e9b6af4
RM
15152 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
15153
84f9ea0f
RM
15154 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
15155 containing directory rather than embedding absolute directory names.
15156
ea5ee9f7
RM
15157 * scripts/check-local-headers.sh: Rewritten using awk.
15158 Match by word, not by line. Print error messages for matches.
15159 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
15160
1b74661a
RM
15161 * Makerules [shlib-lds-flags empty]:
15162 ($(common-objpfx)libc_pic.opts): New target.
15163 ($(common-objpfx)libc_pic.os.clean): New target.
15164 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
15165
15166 * config.make.in (OBJCOPY): New variable.
15167 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
15168 * configure: Regenerated.
15169
f781ef40
RM
15170 * config.make.in (use-default-link): New variable.
15171 * configure.in (use_default_link): Grok --with-default-link to set it.
15172 * configure: Regenerated.
15173 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
15174 (shlib-lds, shlib-lds-flags): Define to empty.
15175
2d4fa81e
RM
15176 * Makerules (shlib-lds): New variable.
15177 (shlib-lds-flags): New variable.
15178 (build-shlib, build-moduile, build-module-asneeded): Use it.
15179 ($(common-objpfx)libc.so): Use $(shlib-lds).
15180 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15181 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15182
31fffa6b
RM
15183 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15184 DT_FLAGS/DT_FLAGS_1 with zero flags.
15185
4e34ac6a
RM
15186 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15187 linker script munging.
15188
fcfc776b
UD
151892011-07-02 Ulrich Drepper <drepper@gmail.com>
15190
15191 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15192 as 128-bit value.
15193 * crypt/sha512.c (sha512_process_block): Perform total addition using
15194 128-bit if possible.
15195 (__sha512_finish_ctx): Likewise.
15196 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15197 as 64-bit value.
15198 * crypt/sha256.c (SWAP64): Define.
15199 (sha256_process_block): Perform total addition using 64-bit if
15200 possible.
15201 (__sha256_finish_ctx): Likewise.
15202
99231d9a
UD
152032011-07-01 Ulrich Drepper <drepper@gmail.com>
15204
15205 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
15206 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15207 * nscd/hstcache.c (cache_addhst): Likewise.
15208 * nscd/grpcache.c (cache_addgr): Likewise.
15209 * nscd/aicache.c (addhstaiX): Likewise
15210 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15211
445b4a53
TK
152122011-07-01 Thorsten Kukuk <kukuk@suse.de>
15213
15214 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15215 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15216 * nscd/hstcache.c (cache_addhst): Likewise.
15217 * nscd/grpcache.c (cache_addgr): Likewise.
15218 * nscd/aicache.c (addhstaiX): Likewise
15219
6d4d8e8e
AS
152202011-07-01 Andreas Schwab <schwab@redhat.com>
15221
15222 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15223 domain only when needed.
15224
89f654c5
AS
152252011-06-30 Andreas Schwab <schwab@redhat.com>
15226
15227 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15228 is always restored.
15229
cf3b23ff
UD
152302011-06-29 Ulrich Drepper <drepper@gmail.com>
15231
15232 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15233 are re-adding the entry.
15234 * nscd/servicescache.c (cache_addserv): Likewise.
15235
751626f9
AJ
152362011-06-30 Aurelien Jarno <aurelien@aurel32.net>
15237
15238 * sysdeps/generic/dl-irel.h: fix protection against multiple
15239 inclusions.
15240 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15241
9113ea1f
UD
152422011-06-28 Ulrich Drepper <drepper@gmail.com>
15243
5c0b8d90
UD
15244 [BZ #12935]
15245 * malloc/memusage.sh: Fix quoting in message.
15246 * debug/xtrace.sh: Likewise.
15247
9113ea1f
UD
15248 * configure.in: Remove support for --experimental-malloc option, make
15249 it the default.
15250 * config.make.in: Likewise.
15251 * malloc/Makefile: Likewise.
15252
a4172181
AS
152532011-06-27 Andreas Schwab <schwab@redhat.com>
15254
15255 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15256 two-byte characters.
15257
78a7eee7
RM
152582011-06-27 Roland McGrath <roland@hack.frob.com>
15259
62bede13
RM
15260 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15261 AC_CACHE_CHECK invocation.
15262 * configure: Regenerated.
15263
78a7eee7
RM
15264 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15265
5ce33a62
UD
152662011-06-27 Ulrich Drepper <drepper@gmail.com>
15267
034807a9
UD
15268 [BZ #12350]
15269 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
15270 bit from old_res_options.
15271
4902da17
UD
15272 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
15273
5ce33a62
UD
15274 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
15275 value type for setfct.
15276
c2344f56
L
152772011-06-23 H.J. Lu <hongjiu.lu@intel.com>
15278
15279 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15280 __gettimeofday instead of gettimeofday.
15281
68468076
UD
152822011-06-26 Ulrich Drepper <drepper@gmail.com>
15283
15284 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
15285
acb0d739
L
152862011-06-24 H.J. Lu <hongjiu.lu@intel.com>
15287
15288 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
15289
15290 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
15291 info.
15292
8912479f
L
152932011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15294
15295 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15296 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15297 strcpy-sse2-unaligned strncpy-sse2-unaligned
15298 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
15299 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
15300 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
15301 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
15302 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
15303 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
15304 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
15305 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
15306 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
15307 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
15308 (STRCPY): Support SSE2 and SSSE3 versions.
15309
d5495a11
UD
153102011-06-24 Ulrich Drepper <drepper@gmail.com>
15311
15312 [BZ #12874]
15313 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
15314 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
15315 kernels which artificially limit size of requests.
15316
0b1cbaae
L
153172011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15318
15319 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15320 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15321 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
15322 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
15323 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
15324 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
15325 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
15326 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
15327 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
15328 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
15329 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
15330 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
15331 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
15332 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
15333 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
15334 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15335 Enable unaligned load optimization for Intel Core i3, i5 and i7
15336 processors.
15337 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
15338 Define.
15339 (index_Fast_Unaligned_Load): Define.
15340 (HAS_FAST_UNALIGNED_LOAD): Define.
15341
07f494a0
MP
153422011-06-23 Marek Polacek <mpolacek@redhat.com>
15343
15344 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
15345
fa3fc0fe
UD
153462011-06-22 Ulrich Drepper <drepper@gmail.com>
15347
15348 [BZ #12907]
15349 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
15350 until it is clear that the information is realy needed.
15351 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
15352
e12df166
AS
153532011-06-22 Andreas Schwab <schwab@redhat.com>
15354
15355 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
15356
852eb34d
UD
153572011-06-22 Ulrich Drepper <drepper@gmail.com>
15358
84e2a551
UD
15359 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15360 /sys/devices/system/cpu/online if it is usable.
15361
852eb34d
UD
15362 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
15363 reading the information from the /proc filesystem to once a second.
15364
6e502e19
UD
153652011-06-21 Andreas Jaeger <aj@suse.de>
15366
15367 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
15368 NULL after inclusion of kernel headers.
15369
75d39ff2
UD
153702011-06-21 Ulrich Drepper <drepper@gmail.com>
15371
51f9aa6a
UD
15372 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
15373 calls to internal_setent.
15374
c0244a9d
UD
15375 [BZ #12885]
15376 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
15377 addresses using gethostbyname4_r ignore IPv4 addresses.
15378
c5e3c2ae
UD
15379 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
15380 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
15381
75d39ff2
UD
15382 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
15383
42675c6f
DM
153842011-06-20 David S. Miller <davem@davemloft.net>
15385
15386 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
15387 inclusions.
15388 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
15389
15390 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
15391 (elf_irel): Use it.
15392 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
15393 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
15394 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
15395 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
15396 * sysdeps/x86_64/dl-irel.h: Likewise.
15397
15398 * elf/dl-runtime.c: Use elf_ifunc_invoke.
15399 * elf/dl-sym.c: Likewise.
15400
57912a71
UD
154012011-06-15 Ulrich Drepper <drepper@gmail.com>
15402
15403 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
15404 need to dereference resplen2.
15405
ee22793d
AS
154062011-06-14 Andreas Schwab <schwab@redhat.com>
15407
15408 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
15409
a9e836b0
UD
154102011-06-15 Ulrich Drepper <drepper@gmail.com>
15411
77fb9117
UD
15412 * Makeconfig: Define vardbdir and inst_vardbdir.
15413 * nss/Makefile: Add rules to install db-Makefile.
15414
40c1b22c
UD
15415 * nss/nss_db/db-XXX.c: Cleanup.
15416
9f2da732
UD
15417 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
15418 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
15419 GLIBC_PRIVATE.
15420 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
15421 * nss/makedb.c: Implement -g option to specify that value strings
15422 are generated and should not be added to table iterated over for
15423 get*ent calls.
15424 * nss/nss_db/db-initgroups.c: New file.
15425
82e9a1f7
UD
15426 * nss/getent.c: Add support for initgroups lookups through getgrouplist
15427 interface.
15428
c41af17e
UD
15429 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
15430 (internal_getgrouplist): Adjust to name change.
15431 Update use_initgroups_entry if this is not the first call.
15432 * nss/databases.def: Add initgroups entry.
15433
a9e836b0
UD
15434 * nss/makedb.c (compute_tables): Check result of multiple hash table
15435 sizes to minimize maximum chain length.
15436
2666d441
UD
154372011-06-14 Ulrich Drepper <drepper@gmail.com>
15438
15439 * Versions.def: Add entry for libnss_db.
15440 * shlib-versions: Likewise.
15441 * nss/Makefile: Add rules to build libnss_db.
15442 * nss/Versions: Add libnss_db information. Organize libnss_files
15443 entries better.
15444 * nss/db-Makefile: Add gshadow support. Change rules for the new
15445 makedb progra. Some minor improvements to generate smaller files.
15446 * nss/nss_db/nss_db.h: Move NSS database header data structures to
15447 here from...
15448 * nss/makedb.c: ...here.
15449 Improve database format to be smaller and require less memory at
15450 runtime.
15451 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
15452 db anymore.
15453 * nss/nss_db/db-netgrp.c: Likewise.
15454 * nss/nss_db/db-open.c: Likewise.
15455 * nss/nss_files/flies-XXX.x: Adjust comments.
15456 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
15457 * nss/nss_files/files-grp.c: Likewise.
15458 * nss/nss_files/files-hosts.c: Likewise.
15459 * nss/nss_files/files-network.c: Likewise.
15460 * nss/nss_files/files-proto.c: Likewise.
15461 * nss/nss_files/files-pwd.c: Likewise.
15462 * nss/nss_files/files-rpc.c: Likewise.
15463 * nss/nss_files/files-service.c: Likewise.
15464 * nss/nss_files/files-sgrp.c: Likewise.
15465 * nss/nss_files/files-spwd.c: Likewise.
15466 * nss/nss_db/db-alias.c: Removed.
15467 * nss/nss_db/dummy-db.h: Removed.
15468
9ee76b5a
UD
154692011-06-02 Ulrich Drepper <drepper@gmail.com>
15470
15471 * nss/makedb.c: Rewritten to not use database library.
15472 * nss/Makefile: Update to build new makedb program.
15473
c71ca1f8
AJ
154742011-06-14 Andreas Jaeger <aj@suse.de>
15475
15476 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
15477 memset declaration.
15478
3154bfb8
UD
154792011-06-10 Andreas Schwab <schwab@redhat.com>
15480
15481 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
15482 tmpbuf.
15483
b350afab
RM
154842011-06-10 Roland McGrath <roland@hack.frob.com>
15485
decd4e50
RM
15486 * Makerules (shlib.lds): Fail if the linker script comes out empty.
15487 * elf/Makefile ($(objpfx)ld.so): Likewise.
15488
5615eaf2
RM
15489 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
15490 Don't list ld.so twice in dependencies.
15491
15492 * posix/bug-regex31.c: Include <stdlib.h>.
15493
15494 * nscd/hstcache.c (cache_addhst): Remove unused variable.
15495
15496 * nis/nss_compat/compat-spwd.c
15497 (getspent_next_nss_netgr): Remove unused variable.
15498 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
15499
15500 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
15501 nonmembers" output to use the right array.
15502
15503 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
15504
15505 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
15506
15507 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
15508 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
15509 * catgets/gencat.c (read_input_file): Likewise.
15510 * locale/programs/locarchive.c (enlarge_archive): Likewise.
15511
15512 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
15513 variable definition inside #if's controlling its use.
15514
15515 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
15516
15517 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
15518
15519 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
15520
15521 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
15522 unreachable code.
15523
15524 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
15525
b68e08db
RM
15526 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
15527 * configure: Regenerated.
15528
b350afab
RM
15529 * Makerules: Revert last change.
15530 * elf/Makefile: Likewise.
15531
28368601
RM
155322011-06-09 Roland McGrath <roland@hack.frob.com>
15533
15534 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
15535 * elf/Makefile ($(objpfx)librtld.os): Likewise.
15536 (reloc-link): Likewise.
15537
11988f8f
UD
155382011-06-09 Ulrich Drepper <drepper@gmail.com>
15539
15540 * elf/Makefile: Add rules to build pldd.
15541 * elf/pldd.c: New file.
15542 * elf/pldd-xx.c: New file.
15543
e80fab37
UD
155442011-06-07 Ulrich Drepper <drepper@gmail.com>
15545
15546 * version.h: Update for 2.15 development version.
15547
9b849836
DM
155482011-06-07 David S. Miller <davem@davemloft.net>
15549
15550 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
15551 ifuncs.
15552 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
15553 elf_machine_lazy_rel): Likewise.
15554 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15555 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
15556 elf_machine_lazy_rel): Likewise.
15557 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
15558 dl_hwcap via passed in argument.
15559 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
15560 Likewise.
15561
5a31b283
AK
155622011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15563
15564 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
15565
069e52f8
RM
155662011-06-06 Roland McGrath <roland@hack.frob.com>
15567
15568 [BZ #12849]
15569 * manual/fdl-1.1.texi: New file, verbatim from:
15570 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
15571 * manual/lgpl-2.1.texi: New file, verbatim from:
15572 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
15573 * manual/Makefile (licenses): New variable, list those new file names.
15574 (texis): Use it.
15575 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
15576
15577 * manual/fdl.texi: File removed.
15578 * manual/lesser.texi: File removed.
15579 * manual/libc.texinfo (Copying, Documentation License):
15580 Use new @include file names, put @appendix directive before @include.
15581
f16846a5
JJ
155822011-06-04 Jakub Jelinek <jakub@redhat.com>
15583
15584 [BZ #12841]
15585 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
15586 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
15587 (mq_open): Add __NTH.
15588
3d29045b
L
155892011-06-02 H.J. Lu <hongjiu.lu@intel.com>
15590
15591 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15592 Assume Intel Core i3/i5/i7 processor if AVX is available.
15593
8c297311
UD
155942011-05-31 Ulrich Drepper <drepper@gmail.com>
15595
15596 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15597 typo.
15598
c8fc0c91
UD
155992011-05-31 Andreas Schwab <schwab@redhat.com>
15600
15601 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
15602 memory. Use alloca_account. Fix memory leak when retrying.
15603
5b27a807
UD
156042011-05-31 Ulrich Drepper <drepper@gmail.com>
15605
356f8bc6
UD
15606 * version.h (RELEASE): Bump for 2.14 release.
15607 * include/features.h (__GLIBC_MINOR__): Bump to 14.
15608
5b27a807
UD
15609 * config.make.in (RANLIB): Remove entry.
15610
01f16ab0
UD
156112011-05-30 Ulrich Drepper <drepper@gmail.com>
15612
41fce8bd
UD
15613 * po/Makefile (po-sed-cmd): Add ksh to extensions.
15614 (libc.pot): Work around missing support for .ksh extension in xgettext.
15615
4769ae77
UD
15616 [BZ #12684]
15617 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
15618 if both request failed.
15619 (send_dg): In case of server errors clear resplen or *resplen2.
15620
6b1e7d19
UD
15621 [BZ #12454]
15622 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
15623 when there are multiple maps.
15624 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
15625 (_dl_fini): Remove test here.
15626
01f16ab0
UD
15627 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
15628
b1ebd700
UD
156292011-05-29 Ulrich Drepper <drepper@gmail.com>
15630
7ae22829
UD
15631 [BZ #12350]
15632 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
15633 bit from old_res_options.
15634 (gaih_inet): Likewise.
15635
553149f6 15636 [BZ #11099]
18a84741 15637 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
15638 as signed.
15639
652ffab1
UD
15640 * resolv/res_init.c (res_setoptions): Make the code more compact.
15641
16985fd0
UD
15642 [BZ #11558]
15643 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
15644 set RES_USEVC.
15645
0464f746
UD
15646 [BZ #11634]
15647 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
15648
7d17596c
UD
15649 * malloc/malloc.h: Mark malloc hook variables as deprecated.
15650
cf6bbbd7
UD
15651 [BZ #11781]
15652 * malloc/malloc.h: Declare malloc hook variables as volatile.
15653
13f1ab36
UD
15654 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
15655 in last patch.
15656
b1ebd700
UD
15657 [BZ #11799]
15658 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 15659 raise in the comment.
80e2212d
UD
15660 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15661 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15662 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 15663
ce67228d
UD
156642011-05-28 Ulrich Drepper <drepper@gmail.com>
15665
8887a920
UD
15666 [BZ #12811]
15667 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
15668 grow the buffers more if it already has to be sufficient.
15669 (build_wcs_upper_buffer): Likewise.
15670 * posix/regexec.c (check_matching): Likewise.
15671 (clean_state_log_if_needed): Likewise.
15672 (extend_buffers): Don't enlarge buffers beyond size of the input
15673 buffer.
15674 Patches mostly by Emil Wojak <emil@wojak.eu>.
15675 * posix/bug-regex32.c: New file.
15676 * posix/Makefile (tests): Add bug-regex32.
15677
4f031072
UD
15678 * locale/findlocale.c (_nl_find_locale): Return right away if
15679 _nl_explode_name failed.
15680 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
15681
d0478f0c
UD
15682 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
15683
de81b246
UD
15684 * debug/xtrace.sh: Unify messages.
15685 * malloc/memusage.sh: Likewise.
15686
c738465a
UD
15687 [BZ #12813]
15688 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
15689 time symbol from vDSO. Substitute with vsyscall if not available.
15690 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
15691 __vdso_time.
15692
f1f929d7
UD
15693 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
15694 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
15695 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
15696 Add sendmmsg and internal_sendmmsg.
15697 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
15698 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
15699 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
15700
ce67228d
UD
15701 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
15702 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
15703 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
15704
e57420c6
UD
157052011-05-27 Ulrich Drepper <drepper@gmail.com>
15706
a8509ca5
UD
15707 [BZ #12813]
15708 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
15709 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
15710 available.
15711 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
15712 __vdso_getcpu.
15713
e57420c6
UD
15714 [BZ #12814]
15715 * iconvdata/Makefile (tests): Add bug-iconv9.
15716 * iconvdata/bug-iconv9.c: New file.
15717
4d07db15
AS
157182011-05-27 Andreas Schwab <schwab@redhat.com>
15719
15720 [BZ #12814]
15721 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
15722
ea486f69
JJ
157232011-05-25 Jakub Jelinek <jakub@redhat.com>
15724
15725 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15726 (struct user_regs_struct): Change intcs field back to cs.
15727
6f038433
UD
157282011-05-25 Ulrich Drepper <drepper@gmail.com>
15729
15730 * po/ja.po: Update from translation team.
15731
67f86a25
UD
157322011-05-23 Ulrich Drepper <drepper@gmail.com>
15733
15734 [BZ #12795]
15735 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
15736 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
15737
def7fbd6
AS
157382011-05-20 Andreas Schwab <schwab@redhat.com>
15739
15740 * stdlib/longlong.h: Update from GCC.
15741
f50ef8f1
AS
157422011-05-23 Andreas Schwab <schwab@redhat.com>
15743
15744 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
15745 parameter name.
15746 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
15747 Add parameter name.
15748 (__sysconf): Pass it down.
15749
de7ce8f1
UD
157502011-05-22 Ulrich Drepper <drepper@gmail.com>
15751
f2962a71
UD
15752 [BZ #12671]
15753 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
15754 some situations.
15755 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15756 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
15757 add in in __libc_use_alloca calls. Adjust callers.
15758 (glob): Use malloc in some situations.
15759
de7ce8f1
UD
15760 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
15761 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
15762 pltexit.
15763
aec84f53
UD
157642011-05-21 Ulrich Drepper <drepper@gmail.com>
15765
05bb4a68
UD
15766 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
15767 and CLOCK_BOOTTIME_ALARM.
15768
7ea72f99
UD
15769 [BZ #12782]
15770 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
15771 is returned.
15772
7e4afad5
UD
15773 * string/_strerror.c (__strerror_r): Print negative errors as signed
15774 numbers.
15775
8e211fec
UD
15776 [BZ #12777]
15777 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
15778 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
15779 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
15780
f7d82dc9
UD
15781 * configure.in: Fix typo in redirection and correct removal of test
15782 files in two cases.
15783
cc9e536d
UD
15784 [BZ #12788]
15785 * locale/setlocale.c (new_composite_name): Fix test to check for
15786 identical name of all categories.
15787
aec84f53
UD
15788 [BZ #12792]
15789 * libio/filedoalloc.c (local_isatty): New function.
15790 (_IO_file_doallocate): Use local_isatty.
15791 * stdio-common/perror.c (perror): In case a new stream is used
15792 forward the stream error.
15793 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
15794 error flag.
15795
78e64fdc
RT
157962011-05-20 Ulrich Drepper <drepper@gmail.com>
15797
34a9094f
UD
15798 [BZ #11869]
15799 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
15800 alloca.
15801 * include/alloca.h (extend_alloca_account): Define.
15802
78e64fdc
RT
15803 [BZ #11857]
15804 * posix/regex.h: Fix comments with documentation of user-accessible
15805 fields after compilation and describe correct free'ing of pattern
15806 after re_compile_pattern.
15807 Patch by Reuben Thomas <rrt@sc3d.org>.
15808
457bddfc
RA
158092011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
15810
15811 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
15812 and -mno-altivec to prevent the compiler from using Altivec and/or
15813 VSX instructions when the corresponding registers are not available.
15814
a4527b51
AS
158152011-05-19 Andreas Schwab <schwab@redhat.com>
15816
15817 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
15818
ed690b2f
UD
158192011-05-19 Ulrich Drepper <drepper@gmail.com>
15820
15821 * libio/freopen.c (freopen): Use __dup2, not dup2.
15822 * libio/freopen64.c (freopen64): Likewise.
15823
8db73634
L
158242011-05-17 H.J. Lu <hongjiu.lu@intel.com>
15825
15826 [BZ #12775]
15827 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
15828 * math/Makefile (tests): Add test-powl.
15829 (CFLAGS-test-powl.c): Define.
15830 * math/test-powl.c: New file.
15831
0a197a9d
L
158322011-05-16 H.J. Lu <hongjiu.lu@intel.com>
15833
15834 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
15835
ee30c380
UD
158362011-05-17 Ulrich Drepper <drepper@gmail.com>
15837
15838 [BZ #11837]
15839 * iconvdata/gb18030.c: Update to GB18020-2005.
15840
6ce75379
UD
158412011-05-16 Ulrich Drepper <drepper@gmail.com>
15842
a4b89fd8
AR
15843 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
15844 RE_SYNTAX_POSIX_AWK): Update to match recent development.
15845 Patch by Aharon Robbins <arnold@skeeve.com>.
15846
ea389b12
UD
15847 [BZ #11892]
15848 * stdlib/putenv.c (putenv): Don't always create copy of the variable
15849 on the stack.
15850
68a3f91f
UD
15851 [BZ #11895]
15852 * misc/pselect.c (__pselect): Handle timeout value errors hidden
15853 through underflows.
15854
15cc7dd1
UD
15855 [BZ #12766]
15856 * misc/error.c (error_at_line): Ensure file_name and old_file_name
15857 point to strings before performing equality test for error_one_per_line
15858 mode.
15859
f3799213
UD
15860 [BZ #11697]
15861 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
15862
d79a9c94
UD
15863 [BZ #11820]
15864 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15865 (struct user_fpregs_struct): Avoid __uint*_t types.
15866
56e5eb46
UD
15867 [BZ #6420]
15868 * malloc/mtrace.c (tr_where): Add additional parameter to point to
15869 symbol info. Use it instead of calling _dl_addr locally.
15870 (lock_and_info): New function.
15871 (tr_freehook): Call lock_and_info and pass symbol info as additional
15872 parameter to tr_where.
15873 (tr_mallochook): Likewise.
15874 (tr_reallochook): Likewise.
15875 (tr_memalignhook): Likewise.
15876
6ce75379
UD
15877 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
15878 used and couldn't be at all thread-safe.
15879
f8a3b5bf
UD
158802011-05-15 Ulrich Drepper <drepper@gmail.com>
15881
94b7cc37
UD
15882 * libio/freopen.c (freopen): Don't close old file descriptor
15883 before the new one is opened. Instead dup the new file descriptor
15884 to the old one after the new stream is created.
15885 * libio/freopen64.c (freopen64): Likewise.
15886 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
15887 * libio/fileops.c (_IO_new_file_close_it): Handle new
15888 _IO_FLAGS2_NOCLOSE flag.
15889 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
15890 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
15891 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
15892 _IO_FLAGS2_NOCLOSE flag.
15893 * include/unistd.h: Add hidden_proto for dup3.
15894 Define __have_dup3.
15895 * io/dup3.c: Define hidden symbol.
15896 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
15897
bd25564e
UD
15898 [BZ #7101]
15899 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
15900 when an incomplete long option is used.
15901 * posix/tst-getopt_long1.c: New file.
15902 * posix/Makefile (tests): Add tst-getopt_long1.
15903
c84cfef4
UD
15904 [BZ #10138]
15905 * scripts/config.guess: Update from autoconf-2.68.
15906 * scripts/config.sub: Likewise.
15907
3b85df27
UD
15908 [BZ #10157]
15909 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
15910 tests into ...
15911 (has_cpuclock): ...this. New function.
15912 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
15913 macro here based on has_cpuclock code.
15914
15a856b1
UD
15915 [BZ #10149]
15916 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15917 First byte (not low byte) is now always NUL.
15918 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
15919
05f399e6
UD
15920 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15921 Use non-cancelable interfaces.
15922
10a52685 15923 [BZ #9809]
94ecc67d
UD
15924 * locale/iso-639.def: Add entry for Sorani.
15925
f8a3b5bf
UD
15926 [BZ #11901]
15927 * include/stdlib.h: Move include protection to the right place.
15928 Define abort_msg_s. Declare __abort_msg with it.
15929 * stdlib/abort.c (__abort_msg): Adjust type.
15930 * assert/assert.c (__assert_fail_base): New function. Majority
15931 of code from __assert_fail. Allocate memory for __abort_msg with
15932 mmap.
15933 (__assert_fail): Now call __assert_fail_base.
15934 * assert/assert-perr.c: Remove bulk of implementation. Use
15935 __assert_fail_base.
15936 * include/assert.hL Declare __assert_fail_base.
15937 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
15938 mmap.
15939 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
15940
1af4e298
UD
159412011-05-14 Ulrich Drepper <drepper@gmail.com>
15942
f8a3b5bf 15943 [BZ #11952]
d26dfc60
MG
15944 [BZ #12453]
15945 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
15946 until all modules are registered in the DTV.
15947 * elf/Makefile: Add rules to build and run tst-tls19.
15948 * elf/tst-tls19.c: New file.
15949 * elf/tst-tls19mod1.c: New file.
15950 * elf/tst-tls19mod2.c: New file.
15951 * elf/tst-tls19mod3.c: New file.
15952 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
15953
2fc54d6f
UD
15954 [BZ #12083]
15955 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
15956 correctly.
15957
98d76b46
UD
15958 [BZ #12601]
15959 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
15960 two-byte sequence errors.
15961 * iconvdata/Makefile (tests): Add bug-iconv8.
15962 * iconvdata/bug-iconv8.c: New file.
15963
da3c19ef
UD
15964 [BZ #12626]
15965 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
15966 buf2 definition.
15967
ca408c15
UD
15968 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
15969
d6f67f7d
UD
15970 [BZ #12432]
15971 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
15972 (dummy_getcfa): New function.
15973 (init): Get _Unwind_GetCFA address, use dummy if not found.
15974 (backtrace_helper): In recursion check, also check whether CFA changes.
15975 (__backtrace): Completely initialize arg.
15976
1af4e298 15977 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
15978 storing incomplete byte sequence in state object. Avoid testing for
15979 guaranteed too small input if we know there is enough data available.
1af4e298 15980
da62f81b
AS
159812011-05-11 Andreas Schwab <schwab@redhat.com>
15982
15983 * Makeconfig (+link-pie): Indent.
15984 * Rules (binaries-pie): Define if $(have-fpie) and
15985 $(build-shared).
15986 (binaries-shared): Also filter out $(binaries-pie).
15987 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
15988 * nscd/Makefile (others-pie): Add nscd.
15989 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
15990 ($(objpfx)nscd): Remove command override.
15991 * login/Makefile (others-pie): Add pt_chown.
15992 ($(objpfx)pt_chown): Remove command override.
15993 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
15994 remove command overrides.
15995
fcabc0f8
UD
159962011-05-13 Ulrich Drepper <drepper@gmail.com>
15997
20030ae6
UD
15998 * libio/tst_putwc.c: Fix error messages.
15999
fcabc0f8
UD
16000 [BZ #12724]
16001 * libio/fileops.c (_IO_new_file_close_it): Always flush when
16002 currently writing and seek to current position when not.
16003 * libio/Makefile (tests): Add bug-fclose1.
16004 * libio/bug-fclose1.c: New file.
16005
320a5dc0
PB
160062011-05-12 Ulrich Drepper <drepper@gmail.com>
16007
16008 [BZ #12511]
16009 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
16010 don't set DF_1_NODELETE here.
16011 (do_lookup_x): When entering new entry test for copy relocation
16012 and if necessary set DF_1_NODELETE flag.
16013 * elf/tst-unique4.cc: New file.
16014 * elf/tst-unique4.h: New file.
16015 * elf/tst-unique4lib.cc: New file.
16016 * elf/Makefile: Add rules to build and run tst-unique4.
16017 Patch by Piotr Bury <pbury@goahead.com>.
16018
22836f52
UD
160192011-05-11 Ulrich Drepper <drepper@gmail.com>
16020
f574184a
UD
16021 [BZ #12052]
16022 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
16023
e1fb097f
UD
16024 [BZ #12625]
16025 * misc/mntent_r.c (addmntent): Flush the stream after the output
16026
22836f52
UD
16027 [BZ #12393]
16028 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
16029 (is_trusted_path_normalize): Skip initial colon. Append slash
16030 to empty buffer. Duplicate is_trusted_path code but allow
16031 constructed patch to be prefix.
16032 (is_dst): Allow $ORIGIN followed by /.
16033 (_dl_dst_substitute): Correct clearing of check_for_trusted.
16034 Correct testing of result of is_trusted_path_normalize
16035 (decompose_rpath): Fix warning.
16036
7b3b0b2a
UD
160372011-05-10 Ulrich Drepper <drepper@gmail.com>
16038
16039 [BZ #11257]
16040 * grp/initgroups.c (internal_getgrouplist): When we found the service
16041 list through the initgroups entry in nsswitch.conf do not always
16042 continue on a successful lookup. Don't always use the
eac80ce2 16043 __nss_group_database value if it is set.
7b3b0b2a
UD
16044 * nss/nsswitch.conf (initgroups): Change action for successful db
16045 lookup to continue for compatibility.
16046
2a81eaa5
UD
160472011-05-09 Ulrich Drepper <drepper@gmail.com>
16048
be97a69e
UD
16049 [BZ #11532]
16050 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
16051 and CP774 modules.
16052 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
16053 and CP774 modules.
16054 * iconvdata/tst-tables.sh: Likewise.
16055 * iconvdata/cp770.c: New file.
16056 * iconvdata/cp771.c: New file.
16057 * iconvdata/cp772.c: New file.
16058 * iconvdata/cp773.c: New file.
16059 * iconvdata/cp774.c: New file.
16060 * iconvdata/testdata/CP770: New file.
16061 * iconvdata/testdata/CP770..UTF8: New file.
16062 * iconvdata/testdata/CP771: New file.
16063 * iconvdata/testdata/CP771..UTF8: New file.
16064 * iconvdata/testdata/CP772: New file.
16065 * iconvdata/testdata/CP772..UTF8: New file.
16066 * iconvdata/testdata/CP773: New file.
16067 * iconvdata/testdata/CP773..UTF8: New file.
16068 * iconvdata/testdata/CP774: New file.
16069 * iconvdata/testdata/CP774..UTF8: New file.
16070
16071 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
16072 END CHARMAP line.
16073 * iconvdata/gen-8bit-gap.sh: Likewise.
16074 * iconvdata/gen-8bit.sh: Likewise.
16075
c1e9e399
UD
16076 * locale/iso-639.def: Add ary entry.
16077
24c55fb3 16078 [BZ #11258]
96b4b1b0
UD
16079 * locale/C-translit.h.in: Add U20A1 transliteration.
16080
bdc2f971
KB
16081 [BZ #12178]
16082 * locale/iso-639.def: Add wae entry.
16083 Patch by Kevin Bortis <bortis@translate-wae.ch>.
16084
2952b117
UD
16085 [BZ #12545]
16086 * locale/programs/localedef.c (construct_output_path): Use ssize_t
16087 for n.
16088
2a81eaa5
UD
16089 [BZ #12711]
16090 * locale/C-translit.h.in: Add entry for U20B9.
16091 Patch by pravin.d.s@gmail.com.
16092
28377d1b
UD
160932011-05-08 Ulrich Drepper <drepper@gmail.com>
16094
7fb90fb8
UD
16095 [BZ #12713]
16096 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
16097 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
16098 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
16099 in rtld. Use *stat64.
7fb90fb8 16100 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 16101 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 16102 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
16103 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
16104 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
16105 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
16106 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
16107 __fstatat64 macros.
7fb90fb8
UD
16108 * include/dirent.h: Add libc_hidden_proto for rewinddir.
16109 * dirent/rewinddir.c: Add libc_hidden_def.
16110 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 16111 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 16112
28377d1b
UD
16113 * include/dirent.h (__alloc_dir): Add flags parameter.
16114 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
16115 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
16116 __alloc_dir.
16117 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
16118 from fdopendir if O_CLOEXEC is already set.
16119
66bdbaa4
AM
161202011-03-15 Alan Modra <amodra@gmail.com>
16121
16122 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
16123 l_tls_firstbyte_offset non-zero. Save padding offset in
16124 l_tls_firstbyte_offset for later use.
16125 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
16126 freeing static tls block.
16127
95721191
JN
161282011-03-05 Jonathan Nieder <jrnieder@gmail.com>
16129
16130 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
16131 where #ifdef was intended. The intent is to prevent ARG_MAX from
16132 being defined by the kernel headers.
16133
f87dfb1f
UD
161342011-05-07 Ulrich Drepper <drepper@gmail.com>
16135
16136 [BZ #12734]
16137 * resolv/resolv.h: Define RES_NOTLDQUERY.
16138 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
16139 no-tld-query and set RES_NOTLDQUERY.
16140 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
16141 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
16142 modern BIND to search name as TLD unless forbidden.
16143
47c3cd7a
UD
161442011-05-07 Petr Baudis <pasky@suse.cz>
16145 Ulrich Drepper <drepper@gmail.com>
16146
16147 [BZ #12393]
16148 * elf/dl-load.c (fillin_rpath): Move trusted path check...
16149 (is_trusted_path): ...to here.
c1e9ea35 16150 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 16151 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 16152 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 16153
8a35c912
PP
161542011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16155
16156 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
16157 __BEGIN/__END_DECLS.
16158
acd41f47
UD
161592011-05-06 Ulrich Drepper <drepper@gmail.com>
16160
16161 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
16162 NSS_STATUS_NOTFOUND if no record was found.
16163
597df647
AS
161642011-05-05 Andreas Schwab <schwab@redhat.com>
16165
16166 * sunrpc/Makefile (headers): Add rpc/netdb.h.
16167 (headers-not-in-tirpc): Remove rpc/netdb.h
16168 * resolv/netdb.h: Revert last change.
16169
b9af1301
PP
161702011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16171
16172 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
16173 circular dependency between libgcc.a and libc.a.
16174
4e34d5f5
AS
161752011-05-05 Andreas Schwab <schwab@redhat.com>
16176
16177 * resolv/netdb.h: Don't include <rpc/netdb.h>.
16178 * nis/Makefile: Don't install rpcsvc/*.
16179 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16180 instead of <rpc/types.h>.
16181 (MAXHOSTNAMELEN): Define.
16182
00ee369c
AS
161832011-05-03 Andreas Schwab <schwab@redhat.com>
16184
16185 * elf/ldconfig.c (add_dir): Don't crash on empty path.
16186
0b592a30
MB
161872011-04-28 Maciej Babinski <mbabinski@google.com>
16188
16189 [BZ #12714]
16190 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16191 gethostbyname4_r when IPv6 results are possible.
16192
6e04cbbe
UD
161932011-05-02 Ulrich Drepper <drepper@gmail.com>
16194
16195 [BZ #12723]
16196 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16197 _PC_PIPE_BUF handling.
16198
e4ecafe0
BH
161992011-04-30 Bruno Haible <bruno@clisp.org>
16200
16201 [BZ #12717]
16202 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16203 * resolv/netdb.h (getnameinfo): Change type of flags parameter
16204 to 'int'.
16205 * inet/getnameinfo.c (getnameinfo): Likewise.
16206
125ee683
UD
162072011-04-29 Ulrich Drepper <drepper@gmail.com>
16208
16209 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16210 to groups setting in database lookup.
16211 * nss/nsswitch.conf: Add initgroups entry.
16212
b722481a
EB
162132011-04-22 Ulrich Drepper <drepper@gmail.com>
16214
16215 [BZ #12685]
16216 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16217 mode string.
16218 Patch by Eric Blake <eblake@redhat.com>.
16219
4df46dbd
L
162202011-04-20 H.J. Lu <hongjiu.lu@intel.com>
16221
16222 * sunrpc/Makefile (need-export-routines): Add svc_run.
16223 (routines): Remove svc_run.
16224 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16225 * sunrpc/clnt_perr.c (clnt_perrno): Export.
16226 * sunrpc/svc_run.c (svc_run): Likewise.
16227 * sunrpc/svc_udp.c (svcudp_create): Likewise.
16228
e84142d2
UD
162292011-04-21 Ulrich Drepper <drepper@gmail.com>
16230
16231 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16232 problem in reallocation in last patch.
16233
877175d8
UD
162342011-04-20 Ulrich Drepper <drepper@gmail.com>
16235
16236 * sunrpc/Makefile: Move inclusion of Rules.
16237
ab8eed78
UD
162382011-04-19 Ulrich Drepper <drepper@gmail.com>
16239
16240 * nss/nss_files/files-initgroups.c: New file.
16241 * nss/Makefile (libnss_files-routines): Add files-initgroups.
16242 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16243 _nss_files_initgroups_dyn.
16244
e3d8f584
RS
162452011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
16246
16247 * elf/elf.h (R_ARM_IRELATIVE): Define.
16248
af190f45
UD
162492011-04-19 Ulrich Drepper <drepper@gmail.com>
16250
16251 * po/ru.po: Update from translation team.
16252
53cf59ef
UD
162532011-04-17 Ulrich Drepper <drepper@gmail.com>
16254
16255 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16256 dependencies.
16257
4c559bcd
MF
162582011-02-06 Mike Frysinger <vapier@gentoo.org>
16259
16260 [BZ #12653]
16261 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16262 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16263 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16264 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16265 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16266
4420675c
AS
162672011-03-28 Andreas Schwab <schwab@linux-m68k.org>
16268
16269 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16270 differing bytes.
16271 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16272 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16273 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16274
75ea32ab
UD
162752011-04-17 Ulrich Drepper <drepper@gmail.com>
16276
16277 [BZ #12420]
16278 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
16279 storing it.
16280 * stdlib/bug-getcontext.c: New file.
16281 * stdlib/Makefile: Add rules to build and run bug-getcontext.
16282
27390476
AK
162832011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16284
16285 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
16286 instructions into .machine "z9-109".
16287 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16288 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16289
10442705
AK
162902011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16291
16292 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
16293 between environment variables and auxiliary vector.
16294
7b57bfe5
UD
162952011-04-16 Ulrich Drepper <drepper@gmail.com>
16296
16297 * Makefile: Add rules to build linkobj/libc.so.
16298 * include/libc-symbols.h: Define libc_hidden_nolink.
16299 * include/rpc/auth.h: Mark functions which are to be hidden.
16300 * include/rpc/auth_des.h: Likewise.
16301 * include/rpc/auth_unix.h: Likewise.
16302 * include/rpc/clnt.h: Likewise.
16303 * include/rpc/des_crypt.h: Likewise.
16304 * include/rpc/key_prot.h: Likewise.
16305 * include/rpc/pmap_clnt.h: Likewise.
16306 * include/rpc/pmap_prot.h: Likewise.
16307 * include/rpc/pmap_rmt.h: Likewise.
16308 * include/rpc/rpc_msg.h: Likewise.
16309 * include/rpc/svc.h: Likewise.
16310 * include/rpc/svc_auth.h: Likewise.
16311 * include/rpc/xdr.h: Likewise.
16312 * nis/Makefile: Link all DSOs against linkobj/libc.so.
16313 * nss/Makefile: Likewise.
16314 * sunrpc/Makefile: Don't install headers. Build library with normal
16315 entry points. Don't build rpcinfo. Link RPC tests appropriately.
16316 * sunrpc/auth_des.c: Hide exported symbols by default, export some
16317 for the compat linking library. Remove use of INTDEF/INTUSE.
16318 * sunrpc/auth_none.c: Likewise.
16319 * sunrpc/auth_unix.c: Likewise.
16320 * sunrpc/authdes_prot.c: Likewise.
16321 * sunrpc/authuxprot.c: Likewise.
16322 * sunrpc/clnt_gen.c: Likewise.
16323 * sunrpc/clnt_perr.c: Likewise.
16324 * sunrpc/clnt_raw.c: Likewise.
16325 * sunrpc/clnt_simp.c: Likewise.
16326 * sunrpc/clnt_tcp.c: Likewise.
16327 * sunrpc/clnt_udp.c: Likewise.
16328 * sunrpc/clnt_unix.c: Likewise.
16329 * sunrpc/des_crypt.c: Likewise.
16330 * sunrpc/des_soft.c: Likewise.
16331 * sunrpc/get_myaddr.c: Likewise.
16332 * sunrpc/key_call.c: Likewise.
16333 * sunrpc/key_prot.c: Likewise.
16334 * sunrpc/netname.c: Likewise.
16335 * sunrpc/pm_getmaps.c: Likewise.
16336 * sunrpc/pm_getport.c: Likewise.
16337 * sunrpc/pmap_clnt.c: Likewise.
16338 * sunrpc/pmap_prot.c: Likewise.
16339 * sunrpc/pmap_prot2.c: Likewise.
16340 * sunrpc/pmap_rmt.c: Likewise.
16341 * sunrpc/publickey.c: Likewise.
16342 * sunrpc/rpc_cmsg.c: Likewise.
16343 * sunrpc/rpc_common.c: Likewise.
16344 * sunrpc/rpc_dtable.c: Likewise.
16345 * sunrpc/rpc_prot.c: Likewise.
16346 * sunrpc/rpc_thread.c: Likewise.
16347 * sunrpc/rtime.c: Likewise.
16348 * sunrpc/svc.c: Likewise.
16349 * sunrpc/svc_auth.c: Likewise.
16350 * sunrpc/svc_authux.c: Likewise.
16351 * sunrpc/svc_raw.c: Likewise.
16352 * sunrpc/svc_run.c: Likewise.
16353 * sunrpc/svc_simple.c: Likewise.
16354 * sunrpc/svc_tcp.c: Likewise.
16355 * sunrpc/svc_udp.c: Likewise.
16356 * sunrpc/svc_unix.c: Likewise.
16357 * sunrpc/svcauth_des.c: Likewise.
16358 * sunrpc/xcrypt.c: Likewise.
16359 * sunrpc/xdr.c: Likewise.
16360 * sunrpc/xdr_array.c: Likewise.
16361 * sunrpc/xdr_float.c: Likewise.
16362 * sunrpc/xdr_intXX_t.c: Likewise.
16363 * sunrpc/xdr_mem.c: Likewise.
16364 * sunrpc/xdr_rec.c: Likewise.
16365 * sunrpc/xdr_ref.c: Likewise.
16366 * sunrpc/xdr_sizeof.c: Likewise.
16367 * sunrpc/xdr_stdio.c: Likewise.
16368
e6c61494
UD
163692011-04-10 Ulrich Drepper <drepper@gmail.com>
16370
16371 [BZ #12650]
16372 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
16373 * sysdeps/ia64/dl-tls.h: Likewise.
16374 * sysdeps/powerpc/dl-tls.h: Likewise.
16375 * sysdeps/s390/dl-tls.h: Likewise.
16376 * sysdeps/sh/dl-tls.h: Likewise.
16377 * sysdeps/sparc/dl-tls.h: Likewise.
16378 * sysdeps/x86_64/dl-tls.h: Likewise.
16379 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
16380
34fe483e
AS
163812011-03-14 Andreas Schwab <schwab@redhat.com>
16382
16383 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
16384 rpath element also skip the following colon.
16385 (expand_dynamic_string_token): Add is_path parameter and pass
16386 down to DL_DST_REQUIRED and _dl_dst_substitute.
16387 (decompose_rpath): Call expand_dynamic_string_token with
16388 non-zero is_path. Ignore empty rpaths.
16389 (_dl_map_object_from_fd): Call expand_dynamic_string_token
16390 with zero is_path.
16391
f12a32e6
AS
163922011-04-08 Andreas Schwab <schwab@linux-m68k.org>
16393
16394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16395 Make cancelable.
16396
38a7d692
UD
163972011-04-09 Ulrich Drepper <drepper@gmail.com>
16398
16399 [BZ #12655]
16400 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
16401 Patch by Filipe David Manana <fdmanana@apache.org>.
16402
e451d22b
AS
164032011-04-07 Andreas Schwab <schwab@redhat.com>
16404
16405 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
16406 Maintain aligned stack.
16407 (CHECK_RSP): Remove unused macro.
16408
dedc7c7b
UD
164092011-04-03 Ulrich Drepper <drepper@gmail.com>
16410
16411 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
16412 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
16413
94521213
UD
164142011-04-02 Ulrich Drepper <drepper@gmail.com>
16415
16416 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
16417
8cb700c0 16418 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 16419
0354e355
L
164202011-03-26 H.J. Lu <hongjiu.lu@intel.com>
16421
16422 [BZ #12518]
16423 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
16424 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
16425 * sysdeps/x86_64/memmove.c: New file.
16426 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
16427 (memcpy): Renamed to ...
16428 (__new_memcpy): This.
16429 (memcpy): Provide GLIBC_2_14 memcpy.
16430 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
16431 (memcpy): Provide GLIBC_2_2_5 memcpy.
16432
8593482f
UD
164332011-04-01 Ulrich Drepper <drepper@gmail.com>
16434
16435 [BZ #12631]
16436 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
16437
81a5726b
AS
164382011-03-30 Andreas Schwab <schwab@redhat.com>
16439
16440 * misc/syncfs.c: New file.
16441 * misc/Makefile (routines): Add syncfs.
16442 * posix/unistd.h: Declare syncfs.
16443 * sysdeps/unix/syscalls.list: Add syncfs.
16444
00e5419f
AS
164452011-04-01 Andreas Schwab <schwab@redhat.com>
16446
16447 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
16448 open_by_handle_at.
16449 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16450 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16451 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16452 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16453 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16454 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
16455 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16456
748876bf
UD
164572011-04-01 Ulrich Drepper <drepper@gmail.com>
16458
658e451d
UD
16459 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
16460 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16461 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
16462 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16463 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16464 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16465 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16466
748876bf
UD
16467 * io/Makefile: Compile fallocate.c, fallocate64.c, and
16468 sync_file_range.c with -fexceptions.
16469 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
16470 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
16471 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16472 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16473 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16474 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16475 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
16476 sync_file_range as cancellation point
16477 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
16478 now a wrapper around __call_sync_file_range with cancellation handling.
16479 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
16480 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
16481 function name to __call_sync_file_range.
16482 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
16483 Add call_sync_file_range.
748876bf 16484
6e63d5e1
AS
164852011-04-01 Andreas Schwab <schwab@redhat.com>
16486
16487 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 16488 bits/timex.h.
6e63d5e1 16489
46998f74
UD
164902011-04-01 Ulrich Drepper <drepper@gmail.com>
16491
4c1423ed
UD
16492 * iconv/iconv.h: Fix typo in comment.
16493 * io/fcntl.h: Likewise.
16494 * libio/stdio.h: Likewise.
16495 * posix/spawn.h: Likewise.
16496 * posix/unistd.h: Likewise.
16497 * stdlib/stdlib.h: Likewise.
16498 * time/time.h: Likewise.
16499 * wcsmbs/wchar.h: Likewise.
16500
158648c0
UD
16501 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
16502 open_by_handle): Add.
16503 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
16504 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
16505 Augment a few comments.
16506 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16507 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16508 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16509 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16510 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16511 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
16512 open_by_handle.
16513
46998f74
UD
16514 * io/fcntl.h (AT_EMPTY_PATH): Define.
16515
83fe108b
UD
165162011-03-30 Ulrich Drepper <drepper@gmail.com>
16517
16518 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
16519 * sysdeps/unix/sysv/linux/bits/time.h: New file.
16520 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
16521 to...
16522 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
16523 * Versions.def: Add GLIBC_2.14.
16524 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
16525 Export.
83fe108b 16526
bb242059
UD
165272011-03-22 Ulrich Drepper <drepper@gmail.com>
16528
16529 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
16530 round counter.
16531 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16532
c97a1282
L
165332011-03-20 H.J. Lu <hongjiu.lu@intel.com>
16534
16535 [BZ #12597]
16536 * string/test-strncmp.c (do_page_test): New function.
16537 (check2): Likewise.
16538 (test_main): Call check2.
16539 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
16540
2a115601
UD
165412011-03-20 Ulrich Drepper <drepper@gmail.com>
16542
16543 [BZ #12587]
16544 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
16545 Handle cache information in CPU leaf 4.
16546 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16547
8126d904
UD
165482011-03-18 Ulrich Drepper <drepper@gmail.com>
16549
042c49c6 16550 [BZ #12583]
8126d904
UD
16551 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
16552 character representation.
16553 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
16554
ccfe366e
RA
165552011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
16556
16557 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
16558 END(__isnan) to END(__isnanf) to match function entry point/label
16559 EALIGN(__isnanf,...).
16560
c6e13027
JJ
165612011-03-10 Jakub Jelinek <jakub@redhat.com>
16562
16563 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
16564
33f85a3f
UD
165652011-03-10 Ulrich Drepper <drepper@gmail.com>
16566
028478fa
UD
16567 [BZ #12510]
16568 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
16569 copy from the symbol referenced in the relocation to initialize the
16570 used variable.
16571 Patch by Piotr Bury <pbury@goahead.com>.
16572 * elf/Makefile: Add rules to build and tst-unique3.
16573 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
16574 * elf/tst-unique3.cc: New file.
16575 * elf/tst-unique3.h: New file.
16576 * elf/tst-unique3lib.cc: New file.
16577 * elf/tst-unique3lib2.cc: New file.
16578
33f85a3f
UD
16579 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
16580
03592fc7
MF
165812011-03-10 Mike Frysinger <vapier@gentoo.org>
16582
16583 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
16584 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
16585 to _start.
03592fc7 16586
6a5ee102
UD
165872011-03-06 Ulrich Drepper <drepper@gmail.com>
16588
16589 * elf/dl-load.c (_dl_map_object): If we are looking for the first
16590 to-be-loaded object along a path to loader is ld.so.
16591
7e4ba49c
HJ
165922011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16593 Ulrich Drepper <drepper@gmail.com>
16594
16595 * sysdeps/x86_64/memset.S: After aligning destination, code
16596 branches to different locations depending on the value of
16597 misalignment, when multiarch is enabled. Fix this.
16598
165992011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16600
16601 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
16602 Set _x86_64_preferred_memory_instruction for AMD processsors.
16603 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16604 Set bit_Prefer_SSE_for_memop for AMD processors.
16605
13a804de
UD
166062011-03-04 Ulrich Drepper <drepper@gmail.com>
16607
16608 * libio/fmemopen.c (fmemopen): Optimize a bit.
16609
9d25c392
AS
166102011-03-03 Andreas Schwab <schwab@redhat.com>
16611
16612 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
16613
a5543c6a
RM
166142011-03-03 Roland McGrath <roland@redhat.com>
16615
16616 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
16617
012d35f7
DM
166182011-02-28 Aurelien Jarno <aurelien@aurel32.net>
16619
7e4ba49c 16620 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
16621 __bzero_ultra1 instead of __memset_ultra1.
16622
4bff6e01
AS
166232011-02-23 Andreas Schwab <schwab@redhat.com>
16624 Ulrich Drepper <drepper@gmail.com>
16625
16626 [BZ #12509]
16627 * include/link.h (struct link_map): Add l_orig_initfini.
16628 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
16629 returning unsuccessfully.
16630 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
16631 close of a file loaded at startup, restore the original l_initfini
16632 list.
16633 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
16634 list, store the pointer.
16635 * elf/Makefile ($(objpfx)noload-mem): New rule.
16636 (noload-ENV): Define.
16637 (tests): Add $(objpfx)noload-mem.
16638 * elf/noload.c: Include <memcheck.h>.
16639 (main): Call mtrace. Close all opened handles.
16640
f2092faf
AS
166412011-02-17 Andreas Schwab <schwab@redhat.com>
16642
16643 [BZ #12454]
16644 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
16645 dependencies are missing.
16646
6c8a2e88
ST
166472011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16648
f2092faf 16649 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
16650 Hurd needs munmap.
16651 * sysdeps/mach/hurd/ifreq.h: New file.
16652
84a42118
PB
166532011-01-27 Petr Baudis <pasky@suse.cz>
16654 Ulrich Drepper <drepper@gmail.com>
16655
071f805e 16656 [BZ 12445]#
84a42118
PB
16657 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
16658 to extend_alloca().
16659 * stdio-common/bug23.c: New file.
16660 * stdio-common/Makefile (tests): Add bug23.
16661
e23fe25b
AS
166622010-09-28 Andreas Schwab <schwab@redhat.com>
16663 Ulrich Drepper <drepper@gmail.com>
16664
16665 [BZ #12489]
16666 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
16667 before performing relro protection. At old place add assertion
16668 to make sure nothing changed.
16669
d3f02e10
NS
166702011-02-17 Nathan Sidwell <nathan@codesourcery.com>
16671 Glauber de Oliveira Costa <glommer@gmail.com>
16672
16673 * elf/elf.h: Add new ARM TLS relocs.
16674
d55fd7a5
RA
166752011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
16676
16677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16678 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
16679 cast from r3.
16680 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
16681 'tests' variable.
16682 * sysdeps/wordsize-64/tst-writev.c: New file.
16683
2206397e
RA
166842011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
16685
16686 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
16687 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
16688 insns in _dl_start to prevent a TOC reference before relocs are
16689 resolved.
16690
e9433893
UD
166912011-02-15 Ulrich Drepper <drepper@gmail.com>
16692
16693 [BZ #12469]
16694 * Makeconfig: Remove RANLIB definition.
16695 * Makerules: Don't use RANLIB.
16696 * aclocal.m4: Remove ranlib test.
16697 * configure.in: No need to check for ranlib.
16698 * elf/rtld-Rules: Don't use RANLIB.
16699
f75286c6
ST
167002011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16701
8e31c82d
ST
16702 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
16703 protection macro.
16704 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
16705 inclusion protection macro.
16706
f75286c6
ST
16707 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
16708 SIGRTMIN and SIGRTMAX and print information in that case only when
16709 SIGRTMIN is defined.
16710
c1d0e639
JJ
167112011-02-11 Jakub Jelinek <jakub@redhat.com>
16712
16713 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
16714 arginfo fn returning -1.
16715
16716 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
16717 and thousands string is zero terminated.
16718
edf9294e
AS
167192011-02-03 Andreas Schwab <schwab@redhat.com>
16720
16721 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
16722 sysdeps/unix/sysv/linux/bits/socket.h.
16723
2b7e92df
ST
167242011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16725
edf9294e
AS
16726 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
16727 (__CPU_COUNT): Remove old macros.
16728 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
16729 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
16730 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
16731 (__sched_cpualloc, __sched_cpufree): Add declarations.
16732
a4c7ea7b
UD
167332011-02-05 Ulrich Drepper <drepper@gmail.com>
16734
16735 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
16736 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
16737 * nscd/aicache.c (addhstaiX): Return timeout of added value.
16738 (readdhstai): Return value of addhstaiX call.
16739 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
16740 (addgrbyX): Return value returned by cache_addgr.
16741 (readdgrbyname): Return value returned by addgrbyX.
16742 (readdgrbygid): Likewise.
16743 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
16744 (addpwbyX): Return value returned by cache_addpw.
16745 (readdpwbyname): Return value returned by addhstbyX.
16746 (readdpwbyuid): Likewise.
16747 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
16748 (addservbyX): Return value returned by cache_addserv.
16749 (readdservbyname): Return value returned by addservbyX:
16750 (readdservbyport): Likewise.
16751 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
16752 (addhstbyX): Return value returned by cache_addhst.
16753 (readdhstbyname): Return value returned by addhstbyX.
16754 (readdhstbyaddr): Likewise.
16755 (readdhstbynamev6): Likewise.
16756 (readdhstbyaddrv6): Likewise.
16757 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
16758 (readdinitgroups): Return value returned by addinitgroupsX.
16759 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
16760 (prune_cache): Keep track of timeout value of re-added entries.
16761 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
16762 * nscd/nscd.h: Adjust prototypes of readd* functions.
16763
a0bf67cc
RM
167642011-02-04 Roland McGrath <roland@redhat.com>
16765
16766 * nis/nis_server.c (nis_servstate): Use the right name for 0.
16767 (nis_stats): Likewise.
16768 * nis/nis_modify.c (nis_modify): Likewise.
16769 * nis/nis_remove.c (nis_remove): Likewise.
16770 * nis/nis_add.c (nis_add): Likewise.
16771
16772 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
16773
16774 * posix/fnmatch_loop.c: Add some consts.
16775
16776 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
16777
435b95eb
L
167782011-02-02 H.J. Lu <hongjiu.lu@intel.com>
16779
16780 [BZ #12460]
16781 * config.make.in (config-cflags-novzeroupper): Define.
16782 * configure.in: Substitute libc_cv_cc_novzeroupper.
16783 * elf/Makefile (AVX-CFLAGS): Define.
16784 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
16785 (CFLAGS-tst-auditmod4a.c): Likewise.
16786 (CFLAGS-tst-auditmod4b.c): Likewise.
16787 (CFLAGS-tst-auditmod6b.c): Likewise.
16788 (CFLAGS-tst-auditmod6c.c): Likewise.
16789 (CFLAGS-tst-auditmod7b.c): Likewise.
16790 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
16791
8517b15e
UD
167922011-02-02 Ulrich Drepper <drepper@gmail.com>
16793
16794 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
16795 function to the callback.
16796 Patch partly by Jiri Olsa <jolsa@redhat.com>.
16797
10a656fe
AS
167982011-02-02 Andreas Schwab <schwab@redhat.com>
16799
16800 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
16801 of errno.
16802
968dad0a
UD
168032011-01-19 Ulrich Drepper <drepper@gmail.com>
16804
9f94d2ea 16805 [BZ #11724]
968dad0a
UD
16806 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
16807 of constructors.
16808 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
16809 of destructors.
16810 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
16811
16812 [BZ #11724]
16813 * elf/Makefile: Add rules to build and run new test.
16814 * elf/tst-initorder.c: New file.
16815 * elf/tst-initorder.exp: New file.
16816 * elf/tst-initordera1.c: New file.
16817 * elf/tst-initordera2.c: New file.
16818 * elf/tst-initordera3.c: New file.
16819 * elf/tst-initordera4.c: New file.
16820 * elf/tst-initorderb1.c: New file.
16821 * elf/tst-initorderb2.c: New file.
16822 * elf/tst-order-a1.c: New file.
16823 * elf/tst-order-a2.c: New file.
16824 * elf/tst-order-a3.c: New file.
16825 * elf/tst-order-a4.c: New file.
16826 * elf/tst-order-b1.c: New file.
16827 * elf/tst-order-b2.c: New file.
16828 * elf/tst-order-main.c: New file.
16829 New test case by George Gensure <werkt0@gmail.com>.
16830
86e92359
UD
168312010-10-01 Andreas Schwab <schwab@redhat.com>
16832
16833 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16834 decoding ACE if AI_CANONIDN.
16835
5d5732b0
UD
168362011-01-18 Ulrich Drepper <drepper@gmail.com>
16837
16838 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
16839
a77e8cbc
UD
168402011-01-17 Ulrich Drepper <drepper@gmail.com>
16841
6392473f
UD
16842 * version.h (RELEASE): Bump for 2.13 release.
16843 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
16844
620a0529
UD
16845 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
16846
18ba70a5
UD
16847 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
16848 MADV_NOHUGEPAGE.
32465c3e
UD
16849 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
16850 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16851 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16852 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16853 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16854 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16855
c0dafcf1
UD
16856 * posix/getconf.c: Update copyright year.
16857 * catgets/gencat.c: Likewise.
16858 * csu/version.c: Likewise.
16859 * debug/catchsegv.sh: Likewise.
16860 * debug/xtrace.sh: Likewise.
16861 * elf/ldconfig.c: Likewise.
16862 * elf/ldd.bash.in: Likewise.
16863 * elf/sprof.c (print_version): Likewise.
16864 * iconv/iconv_prog.c: Likewise.
16865 * iconv/iconvconfig.c: Likewise.
16866 * locale/programs/locale.c: Likewise.
16867 * locale/programs/localedef.c: Likewise.
16868 * malloc/memusage.sh: Likewise.
16869 * malloc/mtrace.pl: Likewise.
16870 * nscd/nscd.c (print_version): Likewise.
16871 * nss/getent.c: Likewise.
16872
a77e8cbc
UD
16873 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
16874 PF_CAIF, and PF_ALG.
16875 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16876
77e8bddf
AS
168772011-01-16 Andreas Schwab <schwab@linux-m68k.org>
16878
1f20b93a
AS
16879 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
16880 (modules-names): Use them.
16881 (ifunc-test-modules, ifunc-pie-tests): Define.
16882 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
16883 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
16884 (test-extras): Likewise.
16885 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
16886 $(compile-command.c).
16887 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
16888 (all-built-dso): Define.
16889 (check-textrel.out, check-execstack.out): Depend on it.
16890
77e8bddf
AS
16891 * configure.in: Don't override --enable-multi-arch.
16892
bc425b33
UD
168932011-01-15 Ulrich Drepper <drepper@gmail.com>
16894
16895 [BZ #6812]
16896 * nscd/hstcache.c (tryagain): Define.
16897 (cache_addhst): Return tryagain not notfound for temporary errors.
16898 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
16899 failed.
16900
794c3ad3
UD
169012011-01-14 Ulrich Drepper <drepper@gmail.com>
16902
70181fdd
UD
16903 [BZ #10563]
16904 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
16905 to make the syscall.
16906 * sysdeps/unix/sysv/linux/setgroups.c: New file.
16907
794c3ad3
UD
16908 [BZ #12378]
16909 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
16910 and fall back to matching as normal character if the string ends before
16911 the matching ']' is found. This is what POSIX requires.
16912 * posix/testfnm.c: Adjust test result.
16913 * posix/globtest.sh: Adjust test result. Add new test.
16914 * posix/tst-fnmatch.input: Likewise.
16915 * posix/tst-fnmatch2.c: Add new test.
16916
68dc9497
AS
169172010-12-28 Andreas Schwab <schwab@linux-m68k.org>
16918
16919 * elf/Makefile (check-execstack): Revert last change. Depend on
16920 check-execstack.h.
16921 (check-execstack.h): New target.
16922 (generated): Add check-execstack.h.
16923 * elf/check-execstack.c: Include "check-execstack.h".
16924 (main): Revert last change.
16925 (handle_file): Return zero if GNU_STACK is absent and
16926 DEFAULT_STACK_PERMS doesn't include PF_X.
16927
451f001b
UD
169282011-01-13 Ulrich Drepper <drepper@gmail.com>
16929
cfa28e56
UD
16930 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
16931 in child fails because the descriptor is already closed.
8cf8ce17
UD
16932 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
16933 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
16934 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 16935
1086d70d
UD
16936 [BZ #12397]
16937 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
16938 syscall.
16939
451f001b
UD
16940 [BZ #10484]
16941 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
16942 temporary buffer used to handle multi lookups locally.
a85b5cb4 16943 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 16944
08769175
UD
169452011-01-12 Ulrich Drepper <drepper@gmail.com>
16946
16947 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
16948 loader is ld.so.
16949
5e49c52e
UD
169502011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
16951
16952 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
16953 alignment for SSE2.
16954
60522a5f
UD
169552011-01-12 Ulrich Drepper <drepper@gmail.com>
16956
16957 [BZ #12394]
16958 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
16959 characters. When rounding increased number of integer digits recompute
16960 number of groups.
16961 * stdio-common/tst-grouping.c: New file.
16962 * stdio-common/Makefile: Add rules to build and run tst-grouping.
16963
f257bbd7
UD
169642011-01-09 Ulrich Drepper <drepper@gmail.com>
16965
16966 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
16967 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
16968
16969 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
16970 void.
16971 * bits/select.h: Likewise.
16972
fa9c15cb
UD
169732011-01-08 Ulrich Drepper <drepper@gmail.com>
16974
16975 * po/ja.po: Update from translation team.
16976
16c2895f
DM
169772011-01-04 David S. Miller <davem@sunset.davemloft.net>
16978
16979 [BZ #11155]
16980 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
16981 implementation just like for lxstat, fxstatat, et al.
16982
2543fef2
JM
169832010-12-27 Jim Meyering <meyering@redhat.com>
16984
16985 [BZ #12348]
16986 * posix/regexec.c (build_trtable): Return failure indication upon
16987 calloc failure. Otherwise, re_search_internal could infloop on OOM.
16988
98727dbe
UD
169892010-12-25 Ulrich Drepper <drepper@gmail.com>
16990
5bd6dc5c
UD
16991 [BZ #12201]
16992 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
16993 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
16994 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
16995 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
16996
97983464
UD
16997 [BZ #12207]
16998 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
16999
98727dbe
UD
17000 [BZ #12204]
17001 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
17002 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
17003
4a531bb0
L
170042010-12-15 H.J. Lu <hongjiu.lu@intel.com>
17005
17006 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
17007 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
17008 script has SORT_BY_INIT_PRIORITY.
17009 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
17010 NO_CTORS_DTORS_SECTIONS is defined.
17011 * elf/soinit.c: Likewise.
17012 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
17013 NO_CTORS_DTORS_SECTIONS is defined.
17014 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
17015 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
17016 * sysdeps/sh/init-first.c: Likewise.
17017 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
17018
07eb4b71
UD
170192010-12-24 Ulrich Drepper <drepper@gmail.com>
17020
17021 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
17022 always use the slow path.
17023
30950a5f
RA
170242010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
17025
17026 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
17027 similar rule which adds the sysdep directories to the header search in
17028 order to pick up the correct platform stackinfo.h.
17029 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
17030 perform test if it is, otherwise return successfully without testing.
17031 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
17032 DEFAULT_STACK_PERMS define in stackinfo.h.
17033 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
17034 defined in stackinfo.h.
17035 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
17036 DEFAULT_STACK_PERMS defined in stackinfo.h.
17037 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
17038 * sysdeps/ia64/stackinfo.h: Likewise.
17039 * sysdeps/s390/stackinfo.h: Likewise.
17040 * sysdeps/sh/stackinfo.h: Likewise.
17041 * sysdeps/sparc/stackinfo.h: Likewise.
17042 * sysdeps/x86_64/stackinfo.h: Likewise.
17043 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
17044 PF_X for powerpc64. Retain PF_X for powerpc32.
17045
db753e2c
UD
170462010-12-19 Ulrich Drepper <drepper@gmail.com>
17047
14b697f7
UD
17048 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
17049 accurately.
db753e2c
UD
17050 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
17051 GETDENTS_64BIT_ALIGNED.
17052
28300719
UD
170532010-12-14 Ulrich Drepper <dreper@gmail.com>
17054
14b697f7 17055 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 17056
4f197237
AS
170572010-12-10 Andreas Schwab <schwab@redhat.com>
17058
dbb0472f
AS
17059 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
17060 _GNU_SOURCE.
17061
4f197237
AS
17062 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
17063 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
17064 Remove __restrict.
17065 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
17066 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
17067
fb88ac72
UD
170682010-12-09 Ulrich Drepper <drepper@gmail.com>
17069
17070 [BZ #11655]
17071 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
17072 are initialized.
17073
42acbb92
JJ
170742010-12-09 Jakub Jelinek <jakub@redhat.com>
17075
17076 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
17077
c038d98d
UD
170782010-12-03 Ulrich Drepper <drepper@gmail.com>
17079
17080 * po/it.po: Update from translation team.
17081
3a4a2499
L
170822010-12-01 H.J. Lu <hongjiu.lu@intel.com>
17083
17084 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
17085 unused codes.
17086
1e24cf6e
UD
170872010-11-30 Ulrich Drepper <drepper@gmail.com>
17088
17089 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
17090
a7690819
AS
170912010-11-24 Andreas Schwab <schwab@redhat.com>
17092
17093 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
17094 specially.
17095 (gaih_getanswer_slice): Likewise.
17096
3bf8d1b1
JJ
170972010-10-20 Jakub Jelinek <jakub@redhat.com>
17098
17099 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
17100
6db52fbb
PB
171012010-05-31 Petr Baudis <pasky@suse.cz>
17102
17103 [BZ #11149]
17104 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
17105 silently even in the chroot mode.
17106
eaca7569
UD
171072010-11-22 Ulrich Drepper <drepper@gmail.com>
17108
17109 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
17110 last patch a bit. Pretty printing
17111
3056dcdb
UD
171122010-05-31 Petr Baudis <pasky@suse.cz>
17113
17114 [BZ #10085]
17115 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
17116 initialization of skip_initgroups_dyn.
17117
cf7c9078
UD
171182010-11-19 Ulrich Drepper <drepper@gmail.com>
17119
17120 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
17121 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17122
a1fb5e3e
UD
171232010-11-16 Ulrich Drepper <drepper@gmail.com>
17124
17125 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
17126
3540d66b
AS
171272010-11-11 Andreas Schwab <schwab@redhat.com>
17128
17129 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
17130 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
17131 (tst-fnmatch-ENV): Set MALLOC_TRACE.
17132 ($(objpfx)tst-fnmatch-mem): New rule.
17133 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
17134 * posix/tst-fnmatch.c (main): Call mtrace.
17135
13b69574
L
171362010-11-11 H.J. Lu <hongjiu.lu@intel.com>
17137
17138 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17139 Support Intel processor model 6 and model 0x2c.
17140
da93d214
LM
171412010-11-10 Luis Machado <luisgpm@br.ibm.com>
17142
17143 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
17144 signed comparison.
17145
8ca52c6e
L
171462010-11-09 H.J. Lu <hongjiu.lu@intel.com>
17147
17148 [BZ #12205]
17149 * string/test-strncasecmp.c (check_result): New function.
17150 (do_one_test): Use it.
17151 (check1): New function.
17152 (test_main): Use it.
17153 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
17154 Support strcasecmp and strncasecmp.
17155
69da074d
UD
171562010-11-08 Ulrich Drepper <drepper@gmail.com>
17157
17158 [BZ #12194]
17159 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
17160 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17161
ff02d528
L
171622010-11-07 H.J. Lu <hongjiu.lu@intel.com>
17163
17164 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
17165 IFUNC support.
17166 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17167 memset-x86-64.
17168 * sysdeps/x86_64/multiarch/bzero.S: New file.
17169 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
17170 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
17171 * sysdeps/x86_64/multiarch/memset.S: New file.
17172 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
17173 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17174 Set bit_Prefer_SSE_for_memop for Intel processors.
17175 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
17176 Define.
17177 (index_Prefer_SSE_for_memop): Define.
17178 (HAS_PREFER_SSE_FOR_MEMOP): Define.
17179
344d0b54
LM
171802010-11-04 Luis Machado <luisgpm@br.ibm.com>
17181
17182 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17183 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17184
c0dde15b
UD
171852010-11-03 H.J. Lu <hongjiu.lu@intel.com>
17186
17187 [BZ #12191]
17188 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17189 (__x86_64_raw_data_cache_size_half): Likewise.
17190 (__x86_64_raw_shared_cache_size): Likewise.
17191 (__x86_64_raw_shared_cache_size_half): Likewise.
17192
17193 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17194 (__x86_64_raw_data_cache_size_half): Likewise.
17195 (__x86_64_raw_shared_cache_size): Likewise.
17196 (__x86_64_raw_shared_cache_size_half): Likewise.
17197 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17198 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17199 and __x86_64_raw_shared_cache_size_half. Round
17200 __x86_64_data_cache_size_half, __x86_64_data_cache_size
17201 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17202 to multiple of 256 bytes.
17203
0e516e0e
MS
172042010-11-03 Ulrich Drepper <drepper@gmail.com>
17205
17206 [BZ #12167]
17207 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17208 of inacessible symlinks. Verify result of symlink before returning it.
17209 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17210 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17211
0e012e87
ER
172122010-10-28 Erich Ritz <erichritz@gmail.com>
17213
17214 * math/math.h (isinf): Fix typo in comment.
17215
de0ff7bc
UD
172162010-11-01 Ulrich Drepper <drepper@gmail.com>
17217
17218 * po/da.po: Update from translation team.
17219
fa41c84d
UD
172202010-10-26 Ulrich Drepper <drepper@gmail.com>
17221
17222 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17223 is added to the list.
17224
f0967738
AK
172252010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17226 Ulrich Drepper <drepper@gmail.com>
17227
17228 * elf/dl-object.c (_dl_new_object): Don't append the new object to
17229 the global list here. Move code to...
17230 (_dl_add_to_namespace_list): ...here. New function.
17231 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17232 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17233 * elf/dl-load.c (lose): Don't remove the element from the list.
17234 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17235 (_dl_map_object): Likewise.
17236
172372010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
17238
17239 [BZ #12159]
17240 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17241 into all bytes of SSE register.
17242 Patch by Richard Li <richardpku@gmail.com>.
17243
f0967738 172442010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
17245
17246 [BZ #12140]
17247 * malloc/malloc.c (_int_free): Fill correct number of bytes when
17248 perturbing.
17249
d0b9e94f
MB
172502010-10-20 Michael B. Brutman <brutman@us.ibm.com>
17251
17252 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17253 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17254 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17255 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17257 submachine.
17258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17259
8e9f92e9
AS
172602010-10-22 Andreas Schwab <schwab@redhat.com>
17261
17262 * include/dlfcn.h (__RTLD_SECURE): Define.
17263 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
17264 mode & __RTLD_SECURE instead.
17265 (open_path): Rename preloaded parameter to secure.
17266 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17267 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17268 * elf/dl-deps.c (openaux): Likewise.
17269 * elf/rtld.c (struct map_args): Remove is_preloaded.
17270 (map_doit): Don't use it.
17271 (dl_main): Likewise.
17272 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
17273 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
17274
bc96fbda
AS
172752010-09-09 Andreas Schwab <schwab@redhat.com>
17276
17277 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
17278 (sysd-rules-targets): Remove duplicates.
17279 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
17280 rtld-%.$o dependency.
17281
22cd1c9b
AS
172822010-10-18 Andreas Schwab <schwab@redhat.com>
17283
17284 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
17285 _dl_map_object do it.
17286
18edac48
UD
172872010-10-19 Ulrich Drepper <drepper@gmail.com>
17288
17289 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
17290 fast fma builtins, define the macros in the C99 standard.
17291 (FP_FAST_FMAF): Likewise.
17292 (FP_FAST_FMAL): Likewise.
17293 * sysdeps/x86_64/bits/mathdef.h: Likewise.
17294
17295 * bits/mathdef.h: Update copyright year.
17296 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17297
d2050124
MM
172982010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
17299
17300 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
17301 builtins, define the macros in the C99 standard.
17302 (FP_FAST_FMAF): Likewise.
17303 (FP_FAST_FMAL): Likewise.
17304 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
17305 multiply/add.
17306 (FP_FAST_FMAF): Likewise.
17307
475facd1
JJ
173082010-10-15 Jakub Jelinek <jakub@redhat.com>
17309
17310 [BZ #3268]
17311 * math/libm-test.inc (fma_test): Some new testcases.
17312 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
17313 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
17314 y and infinite z. Do multiplication by C already in long double.
17315 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
17316 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
17317 y and infinite z. Do bitwise or of inexact bit into u.d.
17318 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
17319 * sysdeps/i386/fpu/s_fmaf.S: Removed.
17320 * sysdeps/i386/fpu/s_fma.S: Removed.
17321 * sysdeps/i386/fpu/s_fmal.S: Removed.
17322
7c08a05c
JJ
173232010-10-16 Jakub Jelinek <jakub@redhat.com>
17324
17325 [BZ #3268]
17326 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
17327 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
17328 computation is not scheduled after fetestexcept. Fix value
17329 of minimum denormal long double.
17330
f3f7372d
JJ
173312010-10-14 Jakub Jelinek <jakub@redhat.com>
17332
17333 [BZ #3268]
17334 * math/libm-test.inc (fma_test): Add some more tests.
17335 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
17336 correctly.
17337
14d43591
AS
173382010-10-15 Andreas Schwab <schwab@redhat.com>
17339
17340 * scripts/data/localplt-s390-linux-gnu.data: New file.
17341 * scripts/data/localplt-s390x-linux-gnu.data: New file.
17342
5e908464
JJ
173432010-10-13 Jakub Jelinek <jakub@redhat.com>
17344
17345 [BZ #3268]
17346 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
17347 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
17348 instead of dbl-64.
17349 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
17350 inlines.
17351 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
17352 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
17353 if one of x and y is very large and the other is subnormal.
17354 * sysdeps/s390/fpu/s_fmaf.c: New file.
17355 * sysdeps/s390/fpu/s_fma.c: New file.
17356 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
17357 * sysdeps/powerpc/fpu/s_fma.S: New file.
17358 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
17359 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
17360 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
17361
173622010-10-12 Jakub Jelinek <jakub@redhat.com>
17363
17364 [BZ #3268]
17365 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
17366 fma tests.
17367 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
17368 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
17369 * sysdeps/i386/i686/multiarch/s_fma.c: Include
17370 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
17371 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
17372 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
17373 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
17374
b833d51f
UD
173752010-10-12 Ulrich Drepper <drepper@redhat.com>
17376
17377 [BZ #12078]
17378 * posix/regcomp.c (parse_branch): One more memory leak plugged.
17379 * posix/bug-regex31.input: Add test case.
17380
1751705d
UD
173812010-10-11 Ulrich Drepper <drepper@gmail.com>
17382
e9b9cbf5
UD
17383 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
17384 * posix/bug-regex31.input: New file.
17385
17386 [BZ #12078]
17387 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
17388 (parse_sub_exp): Fix last change, use postorder.
17389
ef06edbe
UD
17390 * posix/bug-regex31.c: New file.
17391 * posix/Makefile: Add rules to build and run bug-regex31.
17392
a129c80d
UD
17393 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
17394
17395 [BZ #12078]
17396 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
17397
b76b818e
UD
17398 [BZ #12108]
17399 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
17400 to have entries in sys_siglist.
17401
1751705d
UD
17402 [BZ #12093]
17403 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
17404 be NULL.
17405
9ff8d36f
JJ
174062010-10-07 Jakub Jelinek <jakub@redhat.com>
17407
17408 [BZ #3268]
17409 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
17410 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
17411 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
17412 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
17413 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17414 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
17415 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
17416 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
17417 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
17418 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
17419 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
17420 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
17421 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17422 * math/ftestexcept.c (fetestexcept): Likewise.
17423 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
17424 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
17425 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17426 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
17427 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
17428 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
17429 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17430
af325969
UD
174312010-10-11 Ulrich Drepper <drepper@gmail.com>
17432
c579b202 17433 [BZ #12107]
af325969
UD
17434 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
17435 newline.
17436
67a67b95
UD
174372010-10-06 Ulrich Drepper <drepper@gmail.com>
17438
17439 * string/bug-strstr1.c: New file.
17440 * string/Makefile: Add rules to build and run bug-strstr1.
17441
5fb308bc
EB
174422010-10-05 Eric Blake <eblake@redhat.com>
17443
17444 [BZ #12092]
17445 * string/str-two-way.h (two_way_long_needle): Always clear memory
17446 when skipping input due to the shift table.
17447
45db99c7
UD
174482010-10-03 Ulrich Drepper <drepper@gmail.com>
17449
3b111893
UD
17450 [BZ #12005]
17451 * malloc/mcheck.c: Handle large requests.
17452
45db99c7
UD
17453 [BZ #12077]
17454 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
17455 for strncmp and strncasecmp.
17456 * string/stratcliff.c: Add tests for strcmp and strncmp.
17457 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
17458
cf7a1eb8
NI
174592010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17460
17461 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
17462 __set_fpscr.
17463
6484ba5e
AJ
174642010-09-30 Andreas Jaeger <aj@suse.de>
17465
17466 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
17467 (CGROUP_SUPER_MAGIC): Define.
17468 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17469 Handle btrfs and cgroup file systems.
17470 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17471 Likewise.
17472
91c42559
LM
174732010-09-27 Luis Machado <luisgpm@br.ibm.com>
17474
17475 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
17476 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
17477
87a97932
AK
174782010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17479
17480 [BZ #12067]
17481 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
17482 trying to locate the ELF header.
17483
c21cc9bc
AS
174842010-09-27 Andreas Schwab <schwab@redhat.com>
17485
17486 [BZ #11611]
17487 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
17488 Mask out sign-bit copies when constructing f_fsid.
17489
315970f6
PB
174902010-09-24 Petr Baudis <pasky@suse.cz>
17491
17492 * debug/stack_chk_fail_local.c: Add missing licence exception.
17493 * debug/warning-nop.c: Likewise.
17494
1ac7a2c7
JM
174952010-09-15 Joseph Myers <joseph@codesourcery.com>
17496
17497 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
17498 implementing getdents64 using getdents syscall, set d_type if
17499 __ASSUME_GETDENTS32_D_TYPE.
17500
56801c50
AS
175012010-09-16 Andreas Schwab <schwab@redhat.com>
17502
17503 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
17504 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
17505
dda51327
UD
175062010-09-21 Ulrich Drepper <drepper@redhat.com>
17507
17508 [BZ #12037]
17509 * posix/unistd.h: Undo change of feature selection for ftruncate from
17510 2010-01-11.
17511
8ffcee4a
UD
175122010-09-20 Ulrich Drepper <drepper@redhat.com>
17513
a545ecd9 17514 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
17515 detection.
17516
e24f0a8b
AS
175172010-09-20 Andreas Schwab <schwab@redhat.com>
17518
17519 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
17520 fanotify_mark.
17521 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17522
7291c56f
AS
175232010-09-14 Andreas Schwab <schwab@redhat.com>
17524
17525 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
17526 variables after CHECK_SP call.
17527 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
17528
bc5fb037
AS
175292010-09-13 Andreas Schwab <schwab@redhat.com>
17530 Ulrich Drepper <drepper@redhat.com>
17531
17532 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
17533 re-relocationg ld.so.
17534 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
17535 _dl_init_paths call.
17536 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
17537 here anymore.
17538
e66e7419
UD
175392010-09-14 Ulrich Drepper <drepper@redhat.com>
17540
17541 * resolv/res_init.c (__res_vinit): Count the default server we added.
17542
c044aa75
CLT
175432010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
17544 Ulrich Drepper <drepper@redhat.com>
17545
17546 [BZ #11968]
17547 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17548 (____longjmp_chk): Use %ebx for saving value across system call.
17549 Add unwind info.
17550
32cf4069
AS
175512010-09-06 Andreas Schwab <schwab@redhat.com>
17552
17553 * manual/Makefile: Don't mix pattern rules with normal rules.
17554
817328ee
AS
175552010-09-05 Andreas Schwab <schwab@linux-m68k.org>
17556
17557 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
17558 operation.
17559 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17560 * libio/iofopncook.c (_IO_cookie_init): Likewise.
17561 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17562 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17563 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17564 Likewise.
17565
29fddf61
UD
175662010-09-04 Ulrich Drepper <drepper@redhat.com>
17567
17568 [BZ #11979]
17569 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
17570 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
17571
0959ffc9
UD
175722010-09-02 Ulrich Drepper <drepper@redhat.com>
17573
17574 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
17575 * sysdeps/x86_64/addmul_1.S: Likewise.
17576 * sysdeps/x86_64/lshift.S: Likewise.
17577 * sysdeps/x86_64/mul_1.S: Likewise.
17578 * sysdeps/x86_64/rshift.S: Likewise.
17579 * sysdeps/x86_64/sub_n.S: Likewise.
17580 * sysdeps/x86_64/submul_1.S: Likewise.
17581
ece29840
ST
175822010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
17583
0959ffc9
UD
17584 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
17585 Define __sched_param instead of SCHED_* and sched_param when
ece29840 17586 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 17587 * bits/sched.h [__need_schedparam]
ece29840 17588 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
17589 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
17590 (__defined_schedparam): Define to 1.
ece29840
ST
17591 (__sched_param): New structure, identical to sched_param.
17592 (__need_schedparam): Undefine.
17593
e53a31fe
MF
175942010-08-31 Mike Frysinger <vapier@gentoo.org>
17595
fdc0c10d
MF
17596 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
17597 (epoll_create1): Declare.
17598
e53a31fe
MF
17599 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
17600
a726d796
AS
176012010-08-31 Andreas Schwab <schwab@redhat.com>
17602
17603 [BZ #7066]
17604 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
17605 shifting retval into place.
17606
2f3e3dc7
UD
176072010-09-01 Ulrich Drepper <drepper@redhat.com>
17608
f2933da9
UD
17609 * nis/rpcsvc/nis.h: Update copyright notice.
17610 * nis/rpcsvc/nis.x: Likewise.
17611 * nis/rpcsvc/nis_callback.h: Likewise.
17612 * nis/rpcsvc/nis_callback.x: Likewise.
17613 * nis/rpcsvc/nis_object.x: Likewise.
17614 * nis/rpcsvc/nis_tags.h: Likewise.
17615 * nis/rpcsvc/yp.h: Likewise.
17616 * nis/rpcsvc/yp.x: Likewise.
17617 * nis/rpcsvc/ypupd.h: Likewise.
17618 * nis/yp_xdr.c: Likewise.
17619 * nis/ypupdate_xdr.c: Likewise.
17620
2f3e3dc7
UD
17621 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
17622 mainly the body of pmap_getport. Add parameters to specify timeouts.
17623 (pmap_getport): Use __libc_rpc_getport.
17624 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
17625 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
17626 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
17627
f3dcc2f9
AS
176282010-08-31 Andreas Schwab <schwab@linux-m68k.org>
17629
17630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
17631 fanotify_mark.
17632
6d34eb5b
RM
176332010-08-27 Roland McGrath <roland@redhat.com>
17634
17635 * sysdeps/i386/i686/multiarch/Makefile
17636 (CFLAGS-varshift.c): New variable.
17637
9ea3de11
UD
176382010-08-27 Ulrich Drepper <drepper@redhat.com>
17639
c96d23fc
UD
17640 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
17641 * sysdeps/i386/i686/multiarch/varshift.c: New file.
17642
9ea3de11
UD
17643 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
17644
17645 * sysdeps/x86_64/strlen.S: Minimal code improvement.
17646
623aac7f
L
176472010-08-26 H.J. Lu <hongjiu.lu@intel.com>
17648
17649 * sysdeps/x86_64/strlen.S: Unroll the loop.
17650 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17651 strlen-sse2 strlen-sse2-bsf.
17652 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
17653 __strlen_no_bsf if bit_Slow_BSF is set.
17654 (__strlen_sse42): Removed.
17655 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
17656 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
17657
8b2b7715
RM
176582010-08-25 Roland McGrath <roland@redhat.com>
17659
17660 * sysdeps/x86_64/multiarch/varshift.S: File removed.
17661 * sysdeps/x86_64/multiarch/varshift.c: New file.
17662 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
17663 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
17664 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
17665 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17666
e73015f2
L
176672010-08-25 H.J. Lu <hongjiu.lu@intel.com>
17668
17669 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17670 strlen-sse2 strlen-sse2-bsf.
17671 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
17672 __strlen_sse2_bsf if bit_Slow_BSF is unset.
17673 (__strlen_sse2): Removed.
17674 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
17675 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
17676 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17677 bit_Slow_BSF for Atom.
17678 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
17679 (index_Slow_BSF): Define.
17680 (HAS_SLOW_BSF): Define.
17681
df24a73e
UD
176822010-08-25 Ulrich Drepper <drepper@redhat.com>
17683
17684 [BZ #10851]
17685 * resolv/res_init.c (__res_vinit): When no server address at all
17686 is given default to loopback.
17687
f2ac4868
RM
176882010-08-24 Roland McGrath <roland@redhat.com>
17689
09055553
RM
17690 * configure.in: Remove config-name.h generation.
17691 * configure: Regenerated.
17692 * config-name.in: File removed.
17693 * scripts/config-uname.sh: New file.
17694 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
17695 ($(objdir)config-name.h): New target.
17696
f2ac4868
RM
17697 * sunrpc/rpc_parse.h: Avoid nested comment.
17698
73f27d5e
RH
176992010-08-24 Richard Henderson <rth@redhat.com>
17700 Ulrich Drepper <drepper@redhat.com>
17701 H.J. Lu <hongjiu.lu@intel.com>
17702
17703 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
17704 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
17705 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
17706 Replace _mm_srli_si128 with __m128i_shift_right. Replace
17707 _mm_alignr_epi8 with _mm_loadu_si128.
17708 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
17709 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
17710 (__m128i_shift_right): Removed.
17711 * sysdeps/i386/i686/multiarch/varshift.h: New file.
17712 * sysdeps/i386/i686/multiarch/varshift.S: New file.
17713 * sysdeps/x86_64/multiarch/varshift.h: New file.
17714 * sysdeps/x86_64/multiarch/varshift.S: New file.
17715
84b9230c
MF
177162010-08-21 Mike Frysinger <vapier@gentoo.org>
17717
17718 * configure.in: Move assembler checks to before sysdep dir checking.
17719
9bbd0ddc
PB
177202010-08-20 Petr Baudis <pasky@suse.cz>
17721
17722 * LICENSES: Sync the sunrpc license.
17723
9da4bb31
UD
177242010-08-19 Ulrich Drepper <drepper@redhat.com>
17725
a7ab6ec8
UD
17726 * sunrpc/auth_des.c: Update copyright notice once again.
17727 * sunrpc/auth_none.c: Likewise.
17728 * sunrpc/auth_unix.c: Likewise.
17729 * sunrpc/authdes_prot.c: Likewise.
17730 * sunrpc/authuxprot.c: Likewise.
17731 * sunrpc/bindrsvprt.c: Likewise.
17732 * sunrpc/clnt_gen.c: Likewise.
17733 * sunrpc/clnt_perr.c: Likewise.
17734 * sunrpc/clnt_raw.c: Likewise.
17735 * sunrpc/clnt_simp.c: Likewise.
17736 * sunrpc/clnt_tcp.c: Likewise.
17737 * sunrpc/clnt_udp.c: Likewise.
17738 * sunrpc/clnt_unix.c: Likewise.
17739 * sunrpc/des_crypt.c: Likewise.
17740 * sunrpc/des_soft.c: Likewise.
17741 * sunrpc/get_myaddr.c: Likewise.
17742 * sunrpc/getrpcport.c: Likewise.
17743 * sunrpc/key_call.c: Likewise.
17744 * sunrpc/key_prot.c: Likewise.
17745 * sunrpc/openchild.c: Likewise.
17746 * sunrpc/pm_getmaps.c: Likewise.
17747 * sunrpc/pm_getport.c: Likewise.
17748 * sunrpc/pmap_clnt.c: Likewise.
17749 * sunrpc/pmap_prot.c: Likewise.
17750 * sunrpc/pmap_prot2.c: Likewise.
17751 * sunrpc/pmap_rmt.c: Likewise.
17752 * sunrpc/rpc/auth.h: Likewise.
17753 * sunrpc/rpc/auth_unix.h: Likewise.
17754 * sunrpc/rpc/clnt.h: Likewise.
17755 * sunrpc/rpc/des_crypt.h: Likewise.
17756 * sunrpc/rpc/key_prot.h: Likewise.
17757 * sunrpc/rpc/netdb.h: Likewise.
17758 * sunrpc/rpc/pmap_clnt.h: Likewise.
17759 * sunrpc/rpc/pmap_prot.h: Likewise.
17760 * sunrpc/rpc/pmap_rmt.h: Likewise.
17761 * sunrpc/rpc/rpc.h: Likewise.
17762 * sunrpc/rpc/rpc_des.h: Likewise.
17763 * sunrpc/rpc/rpc_msg.h: Likewise.
17764 * sunrpc/rpc/svc.h: Likewise.
17765 * sunrpc/rpc/svc_auth.h: Likewise.
17766 * sunrpc/rpc/types.h: Likewise.
17767 * sunrpc/rpc/xdr.h: Likewise.
17768 * sunrpc/rpc_clntout.c: Likewise.
17769 * sunrpc/rpc_cmsg.c: Likewise.
17770 * sunrpc/rpc_common.c: Likewise.
17771 * sunrpc/rpc_cout.c: Likewise.
17772 * sunrpc/rpc_dtable.c: Likewise.
17773 * sunrpc/rpc_hout.c: Likewise.
17774 * sunrpc/rpc_main.c: Likewise.
17775 * sunrpc/rpc_parse.c: Likewise.
17776 * sunrpc/rpc_parse.h: Likewise.
17777 * sunrpc/rpc_prot.c: Likewise.
17778 * sunrpc/rpc_sample.c: Likewise.
17779 * sunrpc/rpc_scan.c: Likewise.
17780 * sunrpc/rpc_scan.h: Likewise.
17781 * sunrpc/rpc_svcout.c: Likewise.
17782 * sunrpc/rpc_tblout.c: Likewise.
17783 * sunrpc/rpc_util.c: Likewise.
17784 * sunrpc/rpc_util.h: Likewise.
17785 * sunrpc/rpcinfo.c: Likewise.
17786 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
17787 * sunrpc/rpcsvc/key_prot.x: Likewise.
17788 * sunrpc/rpcsvc/klm_prot.x: Likewise.
17789 * sunrpc/rpcsvc/mount.x: Likewise.
17790 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
17791 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
17792 * sunrpc/rpcsvc/rex.x: Likewise.
17793 * sunrpc/rpcsvc/rstat.x: Likewise.
17794 * sunrpc/rpcsvc/rusers.x: Likewise.
17795 * sunrpc/rpcsvc/sm_inter.x: Likewise.
17796 * sunrpc/rpcsvc/spray.x: Likewise.
17797 * sunrpc/rpcsvc/yppasswd.x: Likewise.
17798 * sunrpc/rtime.c: Likewise.
17799 * sunrpc/svc.c: Likewise.
17800 * sunrpc/svc_auth.c: Likewise.
17801 * sunrpc/svc_authux.c: Likewise.
17802 * sunrpc/svc_raw.c: Likewise.
17803 * sunrpc/svc_run.c: Likewise.
17804 * sunrpc/svc_simple.c: Likewise.
17805 * sunrpc/svc_tcp.c: Likewise.
17806 * sunrpc/svc_udp.c: Likewise.
17807 * sunrpc/svc_unix.c: Likewise.
17808 * sunrpc/svcauth_des.c: Likewise.
17809 * sunrpc/xcrypt.c: Likewise.
17810 * sunrpc/xdr.c: Likewise.
17811 * sunrpc/xdr_array.c: Likewise.
17812 * sunrpc/xdr_float.c: Likewise.
17813 * sunrpc/xdr_mem.c: Likewise.
17814 * sunrpc/xdr_rec.c: Likewise.
17815 * sunrpc/xdr_ref.c: Likewise.
17816 * sunrpc/xdr_sizeof.c: Likewise.
17817 * sunrpc/xdr_stdio.c: Likewise.
17818
9da4bb31
UD
17819 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
17820 handling.
17821
bdaa77bc
AS
178222010-08-19 Andreas Schwab <schwab@redhat.com>
17823
17824 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
17825
fe2f79db
LM
178262010-08-19 Luis Machado <luisgpm@br.ibm.com>
17827
17828 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
17829 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
17830 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
17831 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
17832 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
17833 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
17834 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
17835 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
17836 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
17837 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
17838 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
17839 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
17840 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
17841 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
17842
b9b42ee0
AB
178432010-07-26 Anton Blanchard <anton@samba.org>
17844
17845 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
17846 * malloc/arena.c (heap_trim): Likewise.
17847
1c06ba31
UD
178482010-08-16 Ulrich Drepper <drepper@redhat.com>
17849
17850 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
17851 here. Not...
17852 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
17853 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
17854
f8392f40
L
178552010-08-12 H.J. Lu <hongjiu.lu@intel.com>
17856
17857 * sysdeps/i386/elf/Makefile: New file.
17858
3162f12e
AS
178592010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17860
17861 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
17862 from fanotify_init.
17863 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
17864 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17865
28c90b2c
UD
178662010-08-15 Ulrich Drepper <drepper@redhat.com>
17867
17868 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
17869 of strncasecmp_l.
1feccb6c 17870 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 17871
ca6bb004
UD
178722010-08-14 Ulrich Drepper <drepper@redhat.com>
17873
e9f82e0d
UD
17874 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17875 strncase_l-nonascii.
17876 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17877 Add strncase_l-ssse3.
17878 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
17879 * sysdeps/x86_64/strcmp.S: Likewise.
17880 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
17881 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
17882 * sysdeps/x86_64/strncase.S: New file.
17883 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
17884 * sysdeps/x86_64/strncase_l.S: New file.
17885 * string/Makefile (strop-tests): Add strncasecmp.
17886 * string/test-strncasecmp.c: New file.
17887
17888 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
17889 warning.
17890
ca6bb004
UD
17891 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
17892 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
17893
052fa7b3
AS
178942010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17895
17896 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
17897
962dba78
UD
178982010-08-12 Ulrich Drepper <drepper@redhat.com>
17899
17900 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
17901 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
17902 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
17903
bebff237
AM
179042010-05-01 Alan Modra <amodra@gmail.com>
17905
17906 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
17907 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
17908 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
17909 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
17910 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
17911 tidying. Don't tail-call __sigjmp_save for static lib.
17912 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
17913 save location.
17914 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
17915 (CALL_MCOUNT): Add eh info, and nop after bl.
17916 (TAIL_CALL_SYSCALL_ERROR): New macro.
17917 (PSEUDO_RET): Use it.
17918 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17919 Correct save location of integer regs and cr.
17920 (_dl_profile_resolve): Correct cr save location. Delete nops
17921 after bl when SHARED. Reduce cfi size a little by better
17922 placement of cfi directives.
17923 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
17924 make a stack frame. Instead use parm save area as a temp.
17925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
17926 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
17927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17928 Don't make a stack frame for parent, use parm save area.
17929 Increase child stack frame to 112 bytes. Don't save unused reg,
17930 and adjust reg usage. Set up cfi on error recovery and
17931 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
17932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17933 (__makecontext): Add dummy nop after jump to exit.
17934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
17935 Use correct parm save area and cr save, reduce stack frame.
17936 Correct cfi for possible PSEUDO_RET frame setup.
17937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
17938 Branch to local label emitted by PSEUDO_RET rather than
17939 __syscall_error.
17940
02637374
AS
179412010-08-12 Andreas Schwab <schwab@redhat.com>
17942
17943 [BZ #11904]
17944 * locale/programs/locale.c (print_assignment): New function.
17945 (show_locale_vars): Use it.
17946
c3e2f19b
UD
179472010-08-11 Ulrich Drepper <drepper@redhat.com>
17948
3cdaa6ad
UD
17949 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
17950 field.
17951 (struct statfs64): Likewise.
17952 (_STATFS_F_FLAGS): Define.
17953 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
17954 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17955 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
17956 (ST_VALID): Define locally.
17957 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
17958 __statvfs_getflags, use the provided value.
17959 * sysdeps/unix/sysv/linux/kernel-features.h: Define
17960 __ASSUME_STATFS_F_FLAGS.
17961
754f7da3
UD
17962 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
17963
10b3bedc
UD
17964 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
17965 Add sys/fanotify.h.
17966 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
17967 fanotify_mask for GLIBC_2.13.
17968 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
17969 fanotify_init and fanotify_mark.
17970 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17971 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
17972
c08fb0d7
UD
17973 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
17974 Add prlimit.
17975 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
17976 prlimit64 for GLIBC_2.13.
17977 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
17978 prlimit64.
17979 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
17980 syscall.
17981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
17982 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17983 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
17984 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
17985 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
17986 add prlimit alias.
17987 * sysdeps/unix/sysv/linux/prlimit.c: New file.
17988
15bac72b
UD
17989 [BZ #11903]
17990 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
17991 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
17992
c3e2f19b
UD
17993 * nss/Makefile: Add rules to build and run tst-nss-test1.
17994 * shlib-versions: Add entry for libnss_test1.
17995 * nss/nss_test1.c: New file.
17996 * nss/tst-nss-test1.c: New file.
17997
17998 * nss/nsswitch.c (__nss_database_custom): Define new variable.
17999 (__nss_configure_lookup): Set appropriate entry in
18000 __nss_configure_lookup to true.
18001 * nss/nsswitch.h: Define enum with indeces of databases in
18002 databases and __nss_database_custom arrays. Declare
18003 __nss_database_custom.
18004 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
18005 to avoid using nscd when custom rules are installed.
18006 * nss/getXXbyYY_r.c: Likewise.
18007 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18008
18009 * nss/nss_files/files-parse.c: Whitespace fixes.
18010
f15ce4d8
UD
180112010-08-09 Ulrich Drepper <drepper@redhat.com>
18012
18013 [BZ #11883]
18014 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
18015 * posix/fnmatch_loop.c: Likewise.
18016
d22e4cc9
AK
180172010-07-17 Andi Kleen <ak@linux.intel.com>
18018
18019 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
18020 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
18021 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
18022 * Versions.def [GLIBC_2.13]: Add.
18023
805bc17d
UD
180242010-08-06 Ulrich Drepper <drepper@redhat.com>
18025
18026 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18027 Also fail if tpwd after pwuid call is NULL.
18028
5a42321d
ST
180292010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
18030
18031 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
18032 when converting to ms.
18033
fd3ebeda
ST
180342010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18035
18036 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
18037 EOPNOTSUPP errors with ENOTTY.
18038 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
18039 EOPNOTSUPP errors with ENOTTY.
18040
73507d3a
UD
180412010-07-31 Ulrich Drepper <drepper@redhat.com>
18042
18043 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18044 Add strcasecmp_l-ssse3.
18045 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
18046 strcasecmp.
18047 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
18048 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
18049 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
18050
fe36dd02
UD
180512010-07-30 Ulrich Drepper <drepper@redhat.com>
18052
66f6765a
UD
18053 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
18054
42e08a54
UD
18055 * string/Makefile (strop-tests): Add strcasecmp.
18056 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18057 strcasecmp_l-nonascii.
18058 (gen-as-const-headers): Add locale-defines.sym.
18059 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
18060 * sysdeps/x86_64/strcasecmp.S: New file.
18061 * sysdeps/x86_64/strcasecmp_l.S: New file.
18062 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
18063 * sysdeps/x86_64/locale-defines.sym: New file.
18064 * string/test-strcasecmp.c: New file.
18065
fe36dd02
UD
18066 * string/test-strcasestr.c: Test both ends of the range of characters.
18067 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
18068
48cbc0d6
RM
180692010-07-29 Roland McGrath <roland@redhat.com>
18070
76e6d6bc 18071 [BZ #11856]
48cbc0d6
RM
18072 * manual/locale.texi (Yes-or-No Questions): Fix example code.
18073
880113d9
UD
180742010-07-27 Ulrich Drepper <drepper@redhat.com>
18075
18076 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
18077 for ld.so.
18078
deb9cabb
AS
180792010-07-27 Andreas Schwab <schwab@redhat.com>
18080
18081 * manual/memory.texi (Malloc Tunable Parameters): Document
18082 M_PERTURB.
18083
1c7570ff
RM
180842010-07-26 Roland McGrath <roland@redhat.com>
18085
18086 [BZ #11840]
18087 * configure.in (-fgnu89-inline check): Set and substitute
18088 gnu89_inline, not libc_cv_gnu89_inline.
18089 * configure: Regenerated.
18090 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
18091
24fb0f88
UD
180922010-07-26 Ulrich Drepper <drepper@redhat.com>
18093
18094 * string/test-strnlen.c: New file.
18095 * string/Makefile (strop-tests): Add strnlen.
18096 * string/tester.c (test_strnlen): Add a few more test cases.
18097 * string/tst-strlen.c: Better error reporting.
18098
18099 * sysdeps/x86_64/strnlen.S: New file.
18100
8e96b93a
UD
181012010-07-24 Ulrich Drepper <drepper@redhat.com>
18102
18103 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
18104 lower-latency instructions.
18105
dbc676d4
UD
181062010-07-23 Ulrich Drepper <drepper@redhat.com>
18107
18108 * string/test-strcasestr.c: New file.
18109 * string/test-strstr.c: New file.
18110 * string/Makefile (strop-tests): Add strstr and strcasestr.
18111 * string/str-two-way.h: Don't undefine MAX.
18112 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
18113
f6a31e0e
AS
181142010-07-21 Andreas Schwab <schwab@redhat.com>
18115
18116 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18117 strcasestr-nonascii.
18118 (CFLAGS-strcasestr-nonascii.c): Define.
18119 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
18120 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
18121 Remove unused attribute.
18122
5dbc3b6c
RM
181232010-07-20 Roland McGrath <roland@redhat.com>
18124
18125 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
18126 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
18127 ld.so.cache was broken. With it, there is no way to disable dsocaps
18128 like LD_HWCAP_MASK can disable hwcaps.
18129
23d101d8
EPM
181302010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18131
18132 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
18133
cc9f2e47
UD
181342010-07-16 Ulrich Drepper <drepper@redhat.com>
18135
18136 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
18137 call in strcasestr.
18138 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
18139 __strcasestr_sse42_nonascii.
18140 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
18141 strcasestr-nonascii.c.
18142 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
18143
77c1b069
LM
181442010-06-15 Luis Machado <luisgpm@br.ibm.com>
18145
18146 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
18147 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
18148 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
18149 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
18150
440566c3
UD
181512010-07-09 Ulrich Drepper <drepper@redhat.com>
18152
18153 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
18154 fcntl.
18155
5be9d05d
AS
181562010-07-06 Andreas Schwab <schwab@redhat.com>
18157
c30b7ee2 18158 [BZ #11577]
5be9d05d
AS
18159 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
18160 dl_signal_cerror.
18161
8a492a67
UD
181622010-07-06 Ulrich Drepper <drepper@redhat.com>
18163
18164 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
18165 _PC_PIPE_BUF using F_GETPIPE_SZ.
18166
713df3d5
RM
181672010-07-05 Roland McGrath <roland@redhat.com>
18168
18169 * manual/arith.texi (Rounding Functions): Fix rint description
18170 implicit in round description.
18171
702e8f14
UD
181722010-07-02 Ulrich Drepper <drepper@redhat.com>
18173
18174 * elf/Makefile: Fix linking for a few tests to make recent linker
18175 happy.
18176
52ed8be9
AS
181772010-06-30 Andreas Schwab <schwab@redhat.com>
18178
18179 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18180 $(common-objpfx)libc_nonshared.a.
18181
f47c9a11
LM
181822010-06-21 Luis Machado <luisgpm@br.ibm.com>
18183
18184 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18185 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18186 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18187 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18188 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18189 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18190 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18191 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18206 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18207 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18208 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18209 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18210 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18211 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18212 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18213 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18214 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18215 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18216 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18217 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18232
6fb8cbcb
L
182332010-06-25 H.J. Lu <hongjiu.lu@intel.com>
18234
18235 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18236 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
18237 * string/memmove.c (memmove): Renamed to ...
18238 (MEMMOVE): ...this. Default to memmove.
18239 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18240 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18241 (END_CHK): Define.
18242 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18243 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18244 mempcpy-ssse3-back memmove-ssse3-back.
18245 * sysdeps/x86_64/multiarch/bcopy.S: New file .
18246 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18247 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18248 * sysdeps/x86_64/multiarch/memcpy.S: New file.
18249 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18250 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18251 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18252 * sysdeps/x86_64/multiarch/memmove.c: New file.
18253 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18254 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18255 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18256 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18257 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18258 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18259 Define.
18260 (index_Fast_Copy_Backward): Define.
18261 (HAS_ARCH_FEATURE): Define.
18262 (HAS_FAST_REP_STRING): Define.
18263 (HAS_FAST_COPY_BACKWARD): Define.
18264
4e733bac 182652010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
18266
18267 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18268 Restore proper fallback handling.
18269
63c4ed22
UD
182702010-06-19 Ulrich Drepper <drepper@redhat.com>
18271
ac2b484c
UD
18272 [BZ #11701]
18273 * posix/group_member.c (__group_member): Correct checking loop.
18274
63c4ed22
UD
18275 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
18276 OOM in getpwuid_r correctly. Return error number when the caller
18277 should return, otherwise -1.
18278 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
18279 call returning > 0 value.
18280 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
18281
765ade4b
AS
182822010-06-07 Andreas Schwab <schwab@redhat.com>
18283
18284 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
18285 libc_nonshared.a from targets in modules-names.
18286
80da2e09
KS
182872010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
18288
18289 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
18290 requires it.
18291
158db122
LM
182922010-06-10 Luis Machado <luisgpm@br.ibm.com>
18293
18294 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
18295 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
18296 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
18297 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
18298
caa78cf8
AS
182992010-06-02 Andreas Schwab <schwab@redhat.com>
18300
18301 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
18302
b2ef2c01
UD
183032010-06-14 Ulrich Drepper <drepper@redhat.com>
18304
18305 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
18306 and F_GETPIPE_SZ.
18307 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18308 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18309 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18310 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18311 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18312 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
18313
fbd643b6
RM
183142010-06-14 Roland McGrath <roland@redhat.com>
18315
18316 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
18317
f32f2869
JJ
183182010-06-07 Jakub Jelinek <jakub@redhat.com>
18319
18320 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
18321 __REDIRECT followed by __THROW.
18322 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
18323 * posix/getopt.h (getopt): Likewise.
18324
2a50c078
EPM
183252010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18326
18327 * hurd/lookup-at.c (__file_name_lookup_at): Accept
18328 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
18329 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
18330 in AT_FLAGS.
18331 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
18332 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
18333
eb5ad2eb
LM
183342010-05-28 Luis Machado <luisgpm@br.ibm.com>
18335
18336 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
18337
3c88fe1e
L
183382010-05-26 H.J. Lu <hongjiu.lu@intel.com>
18339
18340 [BZ #11640]
18341 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18342 Properly check family and model.
18343
d2f73151
TY
183442010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
18345
18346 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
18347
ebd2e13d
LM
183482010-05-24 Luis Machado <luisgpm@br.ibm.com>
18349
18350 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
18351
b32b8b45
UD
183522010-05-21 Ulrich Drepper <drepper@redhat.com>
18353
18354 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
18355 symbol reference.
18356
9acbe24d
AS
183572010-05-19 Andreas Schwab <schwab@redhat.com>
18358
18359 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
18360 symbol reference.
18361
f0ccf6ea
AS
183622010-05-21 Andreas Schwab <schwab@redhat.com>
18363
3d04ff3a
AS
18364 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
18365 and internal_recvmmsg.
18366 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
18367 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
18368 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
18369 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
18370
f0ccf6ea
AS
18371 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
18372 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18373 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18374
5b08ac57
AS
183752010-05-20 Andreas Schwab <schwab@redhat.com>
18376
18377 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
18378
4828935d
LM
183792010-05-17 Luis Machado <luisgpm@br.ibm.com>
18380
18381 POWER7 optimizations.
18382 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
18383 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
18384
373d545e
UD
183852010-05-19 Ulrich Drepper <drepper@redhat.com>
18386
18387 * version.h: Update for 2.13 development version.
18388
21a2b1ae
AS
183892010-05-12 Andrew Stubbs <ams@codesourcery.com>
18390
18391 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
18392 exceptions. Return 0.
18393
3f7dcb2b
RM
183942010-05-07 Roland McGrath <roland@redhat.com>
18395
18396 * elf/ldconfig.c (main): Add a const.
18397
5f24d53a 183982010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 18399
a160f8d8
UD
18400 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
18401 (args_options): Add no-idn option.
18402 (ahosts_keys_int): Add idn_flags to ai_flags.
18403 (parse_option): Handle 'i' option to clear idn_flags.
18404
5f24d53a
UD
18405 * malloc/malloc.c (_int_free): Possible race in the most recently
18406 added check. Only act on the data if no current modification
18407 happened.
265bb1ce
UD
18408
18409See ChangeLog.17 for earlier changes.