]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Use tabs instead of spaces
[thirdparty/glibc.git] / ChangeLog
CommitLineData
51a9ba86
MK
12012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
2
2fdd4f78
AJ
3 * include/atomic.h (atomic_exchange_and_add): Split into ...
4 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
5 New atomic macros.
51a9ba86 6
ba6cba9e
MT
72012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
8
9 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10
42443a47
JL
112012-08-13 Jeff Law <law@redhat.com>
12
13 * manual/stdio.texi (snprintf): Clarify handling of the trailing
14 null byte in the output string.
15
121dce05
JM
162012-08-10 Joseph Myers <joseph@codesourcery.com>
17
18 * sysdeps/unix/sysv/linux/kernel-features.h
19 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
21 (__ASSUME_ARG_MAX_STACK_BASED): Define.
22 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
23 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
24 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
25 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
26
bf51f568
JL
272012-08-09 Jeff Law <law@redhat.com>
28
29 [BZ #13939]
30 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31 When avoid_arena is set, don't retry in the that arena. Pick the
32 next one, whatever it might be.
33 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
34 (arena_lock): Pass in new parameter to arena_get2.
35 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
36 arena_get2.
37 (__libc_malloc): Unify retrying after main arena failure with
38 __libc_memalign version.
39 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
40
f85fa270
L
412012-08-09 H.J. Lu <hongjiu.lu@intel.com>
42
43 [BZ #14166]
44 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
45 to __redirect_strstr.
46 (__strstr_sse42): Use typeof __redirect_strstr.
47 (__strstr_ia32): Likewise.
48 (__libc_strstr): New prototype.
49 (strstr): Renamed to ...
50 (__libc_strstr): This.
51 (strstr): New strong alias of __libc_strstr.
52 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
53 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
54 __redirect_time.
55 Include <time.h>.
56 (__libc_time): New prototype.
57 (time_ifunc): Replace time with __libc_time.
58 (time): New strong alias and hidden definition of __libc_time.
59 (__GI_time): Remove strong alias.
60 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
61 Include <stddef.h>.
62 (memmove): Redefined to __redirect_memmove.
63 (__memmove_sse2): Use typeof __redirect_memmove.
64 (__memmove_ssse3): Likewise.
65 (__memmove_ssse3_back): Likewise.
66 (__libc_memmove): New prototype.
67 (memmove): Renamed to ...
68 (__libc_memmove): This.
69 (memmove): New strong alias of __libc_memmove.
70
33b4a91e
MS
712012-08-08 Mark Salter <msalter@redhat.com>
72
73 * elf/elf.h
74 (R_MN10300_TLS_GD): Define.
75 (R_MN10300_TLS_LD): Likewise.
76 (R_MN10300_TLS_LDO): Likewise.
77 (R_MN10300_TLS_GOTIE): Likewise.
78 (R_MN10300_TLS_IE): Likewise.
79 (R_MN10300_TLS_LE): Likewise.
80 (R_MN10300_TLS_DTPMOD): Likewise.
81 (R_MN10300_TLS_DTPOFF): Likewise.
82 (R_MN10300_TLS_TPOFF): Likewise.
83 (R_MN10300_SYM_DIFF): Likewise.
84 (R_MN10300_ALIGN): Likewise.
85 (R_MN10300_NUM): Update.
86
b36137f1
JM
872012-08-08 Joseph Myers <joseph@codesourcery.com>
88
89 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
90 Remove.
91
cdd915fd
RM
922012-08-08 Roland McGrath <roland@hack.frob.com>
93
a2433aac
RM
94 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
95
cdd915fd
RM
96 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
97 sysdeps/unix -> sysdeps/posix move.
98 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
99
bf9b740a
AM
1002012-08-07 Allan McRae <allan@archlinux.org>
101
102 [BZ #14303]
103 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
104 (SUNOS_CPP): Likewise.
105 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
106 not found.
107 (open_input): Call CPP using execvp.
108
93df14ee
JM
1092012-08-07 Joseph Myers <joseph@codesourcery.com>
110
111 * sysdeps/unix/sysv/linux/kernel-features.h
112 (__ASSUME_PROT_GROWSUPDOWN): Remove.
113 (__ASSUME_NO_CLONE_DETACHED): Likewise.
114 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
115 (__ASSUME_WAITID_SYSCALL): Likewise.
116 * sysdeps/unix/sysv/linux/dl-execstack.c
117 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
118 code unconditional.
119 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
120 conditional code.
121 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
122 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
123 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
124 code.
125 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
126 unconditional.
127 [__ASSUME_WAITID_SYSCALL]: Likewise.
128 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
129
d34689de
RM
1302012-08-07 Roland McGrath <roland@hack.frob.com>
131
a281decc
RM
132 * sysdeps/unix/closedir.c: Renamed to ...
133 * sysdeps/posix/closedir.c: ... here.
134 * sysdeps/unix/dirfd.c: Renamed to ...
135 * sysdeps/posix/dirfd.c: ... here.
136 * sysdeps/unix/dirstream.h: Renamed to ...
137 * sysdeps/posix/dirstream.h: ... here.
138 * sysdeps/unix/fdopendir.c: Renamed to ...
139 * sysdeps/posix/fdopendir.c: ... here.
140 * sysdeps/unix/opendir.c: Renamed to ...
141 * sysdeps/posix/opendir.c: ... here.
142 * sysdeps/unix/readdir.c: Renamed to ...
143 * sysdeps/posix/readdir.c: ... here.
144 * sysdeps/unix/readdir_r.c: Renamed to ...
145 * sysdeps/posix/readdir_r.c: ... here.
146 * sysdeps/unix/rewinddir.c: Renamed to ...
147 * sysdeps/posix/rewinddir.c: ... here.
148 * sysdeps/unix/seekdir.c: Renamed to ...
149 * sysdeps/posix/seekdir.c: ... here.
150 * sysdeps/unix/telldir.c: Renamed to ...
151 * sysdeps/posix/telldir.c: ... here.
152 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
153 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
154 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
155 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
156
22895b47
RM
157 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
158 * bits/fcntl.h: ... here.
159
707a53b6
RM
160 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
161 not 0.
162 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
163 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
164 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
165 (struct flock): Move l_start, l_len to the beginning.
166 Use __pid_t for l_pid.
167 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
168 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
169 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
170 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
171 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
172 [__USE_LARGEFILE64] (struct flock64): New type.
173 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
174
f0bd3e25
RM
175 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
176 * bits/dirent.h: ... here.
177
d34689de
RM
178 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
179 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
180
6dad2c06
JM
1812012-08-07 Joseph Myers <joseph@codesourcery.com>
182
183 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
184 Change from 2.6.0 to 2.6.16.
185 * sysdeps/unix/sysv/linux/configure: Regenerated.
186 * sysdeps/unix/sysv/linux/kernel-features.h
187 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
188 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
189 version.
190 (__ASSUME_UTIMES): Likewise.
191 (__ASSUME_CLONE_STOPPED): Remove.
192 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
193 architectures, not kernel version.
194 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
195 (__ASSUME_NO_CLONE_DETACHED): Likewise.
196 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
197 (__ASSUME_WAITID_SYSCALL): Likewise.
198 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
199 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
200 * README: State 2.6.16 as minimum Linux kernel version. Do not
201 refer to older versions.
202
03af9520
RM
2032012-08-06 Roland McGrath <roland@hack.frob.com>
204
8e49df1d
RM
205 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
206 Define alphasort64 as an alias.
207 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
208 Define versionsort64 as an alias.
209 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
210 Define scandir64 as an alias.
211 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
212 Define scandirat64 as an alias.
213 * dirent/alphasort64.c (alphasort64):
214 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
215 * dirent/versionsort64.c: Likewise.
216 * dirent/scandir64.c: Likewise.
217 * dirent/scandirat64.c: Likewise.
218 * sysdeps/wordsize-64/alphasort.c: File removed.
219 * sysdeps/wordsize-64/alphasort64.c: File removed.
220 * sysdeps/wordsize-64/scandir.c: File removed.
221 * sysdeps/wordsize-64/scandir64.c: File removed.
222 * sysdeps/wordsize-64/scandirat.c: File removed.
223 * sysdeps/wordsize-64/scandirat64.c: File removed.
224 * sysdeps/wordsize-64/versionsort.c: File removed.
225 * sysdeps/wordsize-64/versionsort64.c: File removed.
226 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
227 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
228 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
229 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
230 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
231 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
232 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
233 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
234
235 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
236 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
237 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
238 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
239 [defined __arch64__ || defined __sparcv9]
240 (__INO_T_MATCHES_INO64_T): New macro.
241 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
242 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
243 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
244 * sysdeps/unix/sysv/linux/bits/dirent.h
245 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
246 (_DIRENT_MATCHES_DIRENT64): New macro.
247
03af9520
RM
248 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
249 Define lockf64 as an alias.
250 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
251 Define fseeko64 as an alias.
252 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
253 Define ftello64 as an alias.
254 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
255 Define _IO_fgetpos64 and fgetpos64 as aliases.
256 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
257 Define _IO_fsetpos64 and fsetpos64 as aliases.
258 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
259 Conditionalize body on this.
260 * libio/fseeko64.c: Likewise.
261 * libio/ftello64.c: Likewise.
262 * libio/iofgetpos64.c: Likewise.
263 * libio/iofsetpos64.c: Likewise.
264 * sysdeps/wordsize-64/lockf.c: File removed.
265 * sysdeps/wordsize-64/lockf64.c: File removed.
266 * sysdeps/wordsize-64/fseeko.c: File removed.
267 * sysdeps/wordsize-64/fseeko64.c: File removed.
268 * sysdeps/wordsize-64/ftello.c: File removed.
269 * sysdeps/wordsize-64/ftello64.c: File removed.
270 * sysdeps/wordsize-64/iofgetpos.c: File removed.
271 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
272 * sysdeps/wordsize-64/iofsetpos.c: File removed.
273 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
274 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
275 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
276 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
277 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
278 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
279 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
280 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
281 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
282 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
283 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
284
285 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
286 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
287 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
288 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
289 [defined __arch64__ || defined __sparcv9]
290 (__OFF_T_MATCHES_OFF64_T): New macro.
291 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
292 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
293 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
294 (__OFF_T_MATCHES_OFF64_T): New macro.
295
c5757acd
L
2962012-08-06 H.J. Lu <hongjiu.lu@intel.com>
297
298 * stdlib/secure-getenv.c (__secure_getenv): Replace
299 GLIBC_2_16 with GLIBC_2_17.
300
3a31811e
L
3012012-08-06 H.J. Lu <hongjiu.lu@intel.com>
302
303 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
304 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
305
faa2bccb
DM
3062012-08-03 David S. Miller <davem@davemloft.net>
307
308 * sysdeps/sparc/fpu/libm-test-ulps: Update.
309
85fe1997
JM
3102012-08-03 Joseph Myers <joseph@codesourcery.com>
311
312 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
313 Remove.
314 (__ASSUME_CORRECT_SI_PID): Likewise.
315 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
316 (__ASSUME_TMPFS_NAME): Likewise.
317 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
318 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
319 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
320 (HAVE_AUX_SECURE): Make definition unconditional.
321 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
322 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
323
4f75b7a0
RM
3242012-08-03 Roland McGrath <roland@hack.frob.com>
325
326 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
327 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
328 * sysdeps/mach/hurd/eloop-threshold.h: New file.
329 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
330 __eloop_threshold instead of SYMLOOP_MAX.
331
332 * sysdeps/generic/eloop-threshold.h: New file.
333 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
334 of MAXSYMLINKS.
335 * elf/chroot_canon.c (chroot_canon): Likewise.
336
7aab07e4
JM
3372012-08-03 Joseph Myers <joseph@codesourcery.com>
338
339 [BZ #13717]
340 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
341 Change to 2.6.0 everywhere.
342 * sysdeps/unix/sysv/linux/configure: Regenerated.
343 * sysdeps/unix/sysv/linux/kernel-features.h
344 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
345 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
346 kernel versions.
347 (__ASSUME_POSIX_TIMERS): Define unconditionally.
348 (__ASSUME_FUTEX_REQUEUE): Remove.
349 (__ASSUME_STATFS64): Define unconditionally.
350 (__ASSUME_AT_SECURE): Likewise.
351 (__ASSUME_CORRECT_SI_PID): Likewise.
352 (__ASSUME_TGKILL): Define without depending on kernel version for
353 i386.
354 (__ASSUME_UTIMES): Likewise.
355 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
356 kernel version.
357 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
358 (__ASSUME_TMPFS_NAME): Likewise.
359 * README: Update reference to Linux kernel versions.
360
b67e9372
MP
3612012-08-02 Marek Polacek <polacek@redhat.com>
362
363 [BZ#14150]
364 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
365 libc_cv_asm_type_prefix with %.
366 * configure: Regenerated.
d2441631
RM
367 * include/libc-symbols.h: Remove comment about
368 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
369 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
370 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
371 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
372 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
373 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
374 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
375 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
376 * elf/tst-unique2mod1.c: Likewise.
377 * elf/tst-unique1mod2.c: Likewise.
378 * elf/tst-unique1mod1.c: Likewise.
379 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
380 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
381 Replace ASM_TYPE_DIRECTIVE with .type.
382 * sysdeps/s390/s390-64/sysdep.h: Likewise.
383 * sysdeps/i386/sysdep.h: Likewise.
384 * sysdeps/x86_64/sysdep.h: Likewise.
385 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
387 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 388 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
389 * sysdeps/powerpc/powerpc32/sysdep.h:
390 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
391 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
392 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
393 * sysdeps/i386/fpu/e_powf.S: Likewise.
394 * sysdeps/i386/fpu/e_expl.S: Likewise.
395 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
396 * sysdeps/i386/fpu/e_acosh.S: Likewise.
397 * sysdeps/i386/fpu/e_pow.S: Likewise.
398 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
399 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
400 * sysdeps/i386/fpu/s_expm1.S: Likewise.
401 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
402 * sysdeps/i386/fpu/e_log2.S: Likewise.
403 * sysdeps/i386/fpu/e_log2l.S: Likewise.
404 * sysdeps/i386/fpu/e_scalb.S: Likewise.
405 * sysdeps/i386/fpu/e_powl.S: Likewise.
406 * sysdeps/i386/fpu/e_log10f.S: Likewise.
407 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
408 * sysdeps/i386/fpu/e_logl.S: Likewise.
409 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
410 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
411 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
412 * sysdeps/i386/fpu/e_log2f.S: Likewise.
413 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
414 * sysdeps/i386/fpu/e_log.S: Likewise.
415 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
416 * sysdeps/i386/fpu/e_logf.S: Likewise.
417 * sysdeps/i386/fpu/e_log10l.S: Likewise.
418 * sysdeps/i386/fpu/e_atanh.S: Likewise.
419 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
420 * sysdeps/i386/fpu/e_log10.S: Likewise.
421 * sysdeps/i386/fpu/s_frexp.S: Likewise.
422 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
423 * sysdeps/i386/fpu/s_asinh.S: Likewise.
424 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
425 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
426 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
427 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
428 * sysdeps/i386/i686/strtok.S: Likewise.
429 * sysdeps/i386/i386-mcount.S: Likewise.
430 * sysdeps/i386/strtok.S: Likewise.
431 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
432 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
433 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
434 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
435 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
436 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
437 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
438 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
439 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
440 * sysdeps/x86_64/_mcount.S: Likewise.
441 * sysdeps/x86_64/strtok.S: Likewise.
442 * sysdeps/sh/_mcount.S: Likewise.
443
2747bf9a
RM
4442012-08-01 Roland McGrath <roland@hack.frob.com>
445
446 * libio/iofopen.c: Include <fcntl.h>.
447 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
448 (_IO_fopen64, fopen64): Define as aliases.
449 * libio/iofopen64.c: Include <fcntl.h>.
450 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
451 Conditionalize body on this.
452 * sysdeps/wordsize-64/iofopen.c: File removed.
453 * sysdeps/wordsize-64/iofopen64.c: File removed.
454
3fb791b8
MP
4552012-08-01 Marek Polacek <polacek@redhat.com>
456
457 * libc/Makeconfig: Use elf in place of binfmt-subdir.
458 Use dlfcn directly instead of a variable.
459 (binfmt-subdir): Do not define.
460 (dlfcn): Likewise.
461
a9f1039f
JM
4622012-08-01 Joseph Myers <joseph@codesourcery.com>
463
23bddc06
JM
464 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
465 Remove all definitions.
466 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
467 <kernel-features.h>.
468 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
469 (miss_F_GETOWN_EX): Remove all definitions.
470 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
471 macro definition.
472 [!__ASSUME_FCNTL64]: Remove conditional code.
473 [__ASSUME_FCNTL64]: Make code unconditional.
474 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
475 <kernel-features.h>.
476 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
477 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
478 (lockf64) [__NR_fcntl64]: Make code unconditional.
479 (lockf64) [__ASSUME_FCNTL64]: Likewise.
480
a9f1039f
JM
481 * sysdeps/unix/sysv/linux/kernel-features.h
482 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
483 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
484 Make code unconditional.
485 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
486 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
488 [__NR_vfork]: Make code unconditional.
489 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
490 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
492 [__NR_vfork]: Make code unconditional.
493 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
494 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
495
09c0ee5f
RM
4962012-08-01 Roland McGrath <roland@hack.frob.com>
497
48aec5b9
RM
498 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
499 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
500
cd97c966
RM
501 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
502 Define mkstemp64 as an alias.
3f55550c
RM
503 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
504 Define mkstemps64 as an alias.
cd97c966
RM
505 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
506 Define mkostemp64 as an alias.
b8625cfc
RM
507 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
508 Define mkostemps64 as an alias.
cd97c966
RM
509 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
510 Conditionalize body on this.
511 * misc/mkostemp64.c: Likewise.
b8625cfc 512 * misc/mkostemps64.c: Likewise.
3f55550c 513 * misc/mkstemps64.c: Likewise.
cd97c966
RM
514 * sysdeps/wordsize-64/mkstemp64.c: File removed.
515 * sysdeps/wordsize-64/mkostemp64.c: File removed.
516 * sysdeps/wordsize-64/mkostemp.c: File removed.
517 * sysdeps/wordsize-64/mkstemp.c: File removed.
518 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
519 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
520 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
521 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
522
09c0ee5f
RM
523 [BZ #14138]
524 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
525 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
526 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
527 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
528
529 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
530 compat_symbol macros from <shlib-compat.h> rather than the underlying
531 default_symbol_version and symbol_version macros, so that DEFAULT
532 lines in shlib-versions are respected.
533 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
534
7e66ee51
FW
5352012-08-01 Florian Weimer <fweimer@redhat.com>
536
537 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
538 Declare with warn_unused_result.
539 (setgid, setregid, setegid, setresgid): Likewise.
540 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
541 Likewise.
542 * WUR-REPORT: Remove set*id functions.
543
d2a54255
PT
5442012-07-31 Pino Toscano <toscano.pino@tiscali.it>
545
546 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
547
7ecdb005
RM
5482012-07-31 Roland McGrath <roland@hack.frob.com>
549
789bd351
RM
550 * include/sys/socket.h (__libc_accept, __libc_accept4):
551 Add attribute_hidden.
552 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
553
40ce302d
RM
554 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
555 use of PTR_MANGLE.
556 * inet/getnetgrent_r.c (setup): Likewise.
557
7ecdb005
RM
558 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
559
e2eabb2c
DM
5602012-07-31 David S. Miller <davem@davemloft.net>
561
562 * sysdeps/sparc/fpu/libm-test-ulps: Update.
563
d0419dbf
JM
5642012-07-31 Joseph Myers <joseph@codesourcery.com>
565
566 [BZ #13629]
567 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
568 value between 1.0 and 2.0 and smaller part has absolute value less
569 than 1.0.
570 * math/s_clog10.c (__clog10): Likewise.
571 * math/s_clog10f.c (__clog10f): Likewise.
572 * math/s_clog10l.c (__clog10l): Likewise.
573 * math/s_clogf.c (__clogf): Likewise.
574 * math/s_clogl.c (__clogl): Likewise.
575 * math/libm-test.inc (clog_test): Add more tests.
576 (clog10_test): Likewise.
577 * sysdeps/i386/fpu/libm-test-ulps: Update.
578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
579
2bc13872
FW
5802012-07-31 Florian Weimer <fweimer@redhat.com>
581
582 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
583 Exit with zero in case no suitable GID is found, and write a
584 message to standard error.
585
bea9b193
RM
5862012-07-30 Roland McGrath <roland@hack.frob.com>
587
588 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
589 rather than to 1.
590 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
591 (MAXPATHLEN): Removed.
592 (NOGROUP, NODEV): New macros.
593 (setbit, clrbit, isset, isclr): New macros.
594 (howmany, roundup, powerof2): New macros.
595 (DEV_BSIZE): New macro.
596
597 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
598 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
599
600 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
601 definition on [!__NO_LONG_DOUBLE_MATH].
602
603 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
604 PTR_MANGLE and PTR_DEMANGLE.
605
606 * socket/accept4.c (accept4): Rename to __libc_accept4.
607 Define accept4 as a weak alias.
608
609 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
610 on [_DIRENT_HAVE_D_TYPE].
611 * io/ftw.c (ftw_dir): Likewise.
612
613 * io/xmknod.c (__xmknod): Don't check PATH for being null.
614
615 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
616
617 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
618 Use the BSD numbers rather than the arbitrary ones we had.
619 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
620 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
621 (SIGXCPU, SIGXFSZ): New macros.
622 (_NSIG): Now 32.
623
624 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
625 initializer on [_LIBC_REENTRANT].
626
627 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
628 definitions inside [_POSIX_MAPPED_FILES].
629
630 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
631
632 * dirent/opendir.c: Include <fcntl.h>.
633
634 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
635 (__libc_getspecific): Likewise.
636 (__libc_key_create): Likewise.
637
638 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
639 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
640 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
641 (tmpfile64): Define as alias.
642 * sysdeps/wordsize-64/tmpfile.c: File removed.
643 * sysdeps/wordsize-64/tmpfile64.c: File removed.
644 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
645 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
646
647 * stdio-common/vfscanf.c: Include <stdbool.h>.
648 * nss/makedb.c: Likewise.
649 * stdio-common/_i18n_number.h: Likewise.
650 * argp/argp-help.c: Likewise.
651 * posix/wordexp.c: Likewise.
652 * sysdeps/posix/spawni.c: Likewise.
653 * nss/nss_files/files-initgroups.c: Likewise.
654 * stdio-common/reg-modifier.c: Include <stdlib.h>.
655 * nss/nss_files/files-initgroups.c: Likewise.
656 * nss/nss_db/db-netgrp.c: Likewise.
657 * nss/nss_db/db-initgroups.c: Likewise.
658 * io/fchmodat.c: Include <sys/stat.h>.
659
660 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
661 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
662
663 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
664 [HAVE_MMAP].
665
666 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
667 Add multiple inclusion protection.
668
e5abc686
DM
6692012-07-27 David S. Miller <davem@davemloft.net>
670
671 * sysdeps/sparc/fpu/libm-test-ulps: Update.
672
815e6fa3
GB
6732012-07-27 Gary Benson <gbenson@redhat.com>
674
675 [BZ #14298]
676 * elf/rtld.c: Include <stap-probe.h>.
677 (dl_main): Added static probes "init_start" and "init_complete".
678 * elf/dl-load.c: Include <stap-probe.h>.
679 (lose): Take new parameter "nsid".
680 Added static probe "map_failed".
681 (_dl_map_object_from_fd): Pass namespace id to lose.
682 Added static probe "map_start".
683 (open_verify): Pass namespace id to lose.
684 * elf/dl-open.c: Include <stap-probe.h>.
685 (dl_open_worker) Added static probes "map_complete", "reloc_start"
686 and "reloc_complete".
687 * elf/dl-close.c: Include <stap-probe.h>.
688 (_dl_close_worker): Added static probes "unmap_start" and
689 "unmap_complete".
690 * elf/rtld-debugger-interface.txt: New file documenting the above.
691
9f98c16c
RM
6922012-07-26 Roland McGrath <roland@hack.frob.com>
693
694 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
695 rather than a string variable.
696 * sunrpc/rpc_main.c (h_output): Likewise.
697 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
698
f3c22df3
PT
6992012-07-26 Pino Toscano <toscano.pino@tiscali.it>
700
701 * inet/check_native.c: New file.
702
3129cfc6
JM
7032012-07-26 Joseph Myers <joseph@codesourcery.com>
704
da865e95
JM
705 [BZ #13629]
706 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
707 if larger part has absolute value 1.0.
708 * math/s_clog10.c (__clog10): Likewise.
709 * math/s_clog10f.c (__clog10f): Likewise.
710 * math/s_clog10l.c (__clog10l): Likewise.
711 * math/s_clogf.c (__clogf): Likewise.
712 * math/s_clogl.c (__clogl): Likewise.
713 * math/libm-test.inc (clog_test): Add more tests.
714 (clog10_test): Likewise.
715 * sysdeps/i386/fpu/libm-test-ulps: Update.
716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
717
3129cfc6
JM
718 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
719 (pltexit): Likewise.
720 (La_regs): Likewise.
721 (La_retval): Likewise.
722 (int_retval): Likewise.
723 Update #error for removed macros to refer only to definitions in
724 tst-audit.h.
725 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
726 macro.
727 (pltexit): Likewise.
728 (La_regs): Likewise.
729 (La_retval): Likewise.
730 (int_retval): Likewise.
731 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
732 macro.
733 (pltexit): Likewise.
734 (La_regs): Likewise.
735 (La_retval): Likewise.
736 (int_retval): Likewise.
737 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
738 macro.
739 (pltexit): Likewise.
740 (La_regs): Likewise.
741 (La_retval): Likewise.
742 (int_retval): Likewise.
743 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
744 macro.
745 (pltexit): Likewise.
746 (La_regs): Likewise.
747 (La_retval): Likewise.
748 (int_retval): Likewise.
749 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
750 macro.
751 (pltexit): Likewise.
752 (La_regs): Likewise.
753 (La_retval): Likewise.
754 (int_retval): Likewise.
755 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
756 macro.
757 (pltexit): Likewise.
758 (La_regs): Likewise.
759 (La_retval): Likewise.
760 (int_retval): Likewise.
761 * sysdeps/generic/tst-audit.h: Update comment to refer only to
762 macro definitions in tst-audit.h.
763 * sysdeps/i386/tst-audit.h: New file.
764 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
765 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
766 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
767 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
768 * sysdeps/sh/tst-audit.h: Likewise.
769 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
770 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
771 * sysdeps/x86_64/tst-audit.h: Likewise.
772
bfc07087
AJ
7732012-07-26 Andreas Jaeger <aj@suse.de>
774
b1b2aaf8
AJ
775 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
776 ptrace.
777
778 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
779 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
780 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
781 PTRACE_O_MASK.
782 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
783 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
784 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
785
bfc07087
AJ
786 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
787 value.
788
789 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
790 _sigsys.
791 (si_call_addr, si_syscall, si_arch): Define new macro.
792 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
793 _sigsys.
794 (si_call_addr, si_syscall, si_arch): Define new marcro.
795 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
796 _sigsys.
797 (si_call_addr, si_syscall, si_arch): Define new macro.
798 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
799 _sigsys.
800 (si_call_addr, si_syscall, si_arch): Define new macro.
801
89b4b02f
JM
8022012-07-25 Joseph Myers <joseph@codesourcery.com>
803
804 [BZ #13717]
805 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
806 Change to 2.4.21 where previously 2.4.1.
807 * sysdeps/unix/sysv/linux/configure: Regenerated.
808 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
809 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
810 Linux kernel version.
811 (__ASSUME_STD_AUXV): Remove.
812 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
813 kernel version.
814 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
815 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
816 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
817 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
818 (__ASSUME_NETLINK_SUPPORT): Likewise.
819 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
820 (__no_netlink_support): Remove conditional definition.
821 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
822 Remove.
823 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
824 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
825 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
826 (if_nameindex_ioctl): Remove.
827 (if_nameindex_netlink): Do not handle __no_netlink_support.
828 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
829 code.
830 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
831 Remove conditional code.
832 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
833 code.
834 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
835 unconditional.
836 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
837 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
838 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
839 Remove.
840 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
841 [!__ASSUME_STD_AUXV]: Remove conditional code.
842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
843 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
844 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
846 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
847 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
848 code.
849 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
851 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
852 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
853 conditional code.
854 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
856 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
857 code.
858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
859 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
860 conditional code.
861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
862 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
863 code unconditional.
864 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
865 conditional code.
866 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
867 unconditional.
868 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
869 conditional code.
870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
871 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
872 unconditional.
873 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
874 conditional code.
875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
876 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
877 code unconditional.
878 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
879 conditional code.
880 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
881 unconditional.
882 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
883 conditional code.
884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
885 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
886 code unconditional.
887 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
888 conditional code.
889 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
890 unconditional.
891 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
892 conditional code.
893
842a39cd
AS
8942012-07-25 Andreas Schwab <schwab@linux-m68k.org>
895
896 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
897 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
898 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
899 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
900 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
901 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
902 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
903 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
904 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
905 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
906 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
907 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
908 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
909 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
910 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
911 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
912 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
913 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
914 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
915 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
916 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
917 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
918 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
919
84b3fd84
FW
9202012-07-25 Florian Weimer <fweimer@redhat.com>
921
922 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
923 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
924 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
925 Introduce __libc_secure_getenv.
0c7936d5
FW
926 * stdlib/Versions (2.17): Add secure_getenv
927 (GLIBC_PRIVATE): Add __libc_secure_getenv.
928 * stdlib/secure-getenv.c: Rename __secure_getenv to
929 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
930 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
931 * stdlib/tst-secure-getenv.c: New.
932 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
933 * manual/startup.texi (Environment Access): Document
934 secure_getenv.
84b3fd84
FW
935 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
936 __libc_secure_getenv.
937 * inet/ruserpass.c (ruserpass): Likewise.
938 * malloc/mtrace.c (mtrace): Likewise.
939 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 940 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
941 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
942 * sysdeps/posix/tempname.c: Likewise. Evaluate
943 HAVE_SECURE_GETENV.
944 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 945 __secure_getenv to __libc_secure_getenv.
84b3fd84 946 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
948 Likewise.
949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
950 Likewise.
951 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
952 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
953 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
954 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
955 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
956 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
957 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 958
56e49b71
JM
9592012-07-25 Joseph Myers <joseph@codesourcery.com>
960
961 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
962 (struct La_i86_retval): Likewise.
963 (struct La_x86_64_regs): Likewise.
964 (struct La_x86_64_retval): Likewise.
965 (struct La_x32_regs): Likewise.
966 (struct La_x32_retval): Likewise.
967 (struct La_ppc32_regs): Likewise.
968 (struct La_ppc32_retval): Likewise.
969 (struct La_ppc64_regs): Likewise.
970 (struct La_ppc64_retval): Likewise.
971 (struct La_sh_regs): Likewise.
972 (struct La_sh_retval): Likewise.
973 (struct La_s390_32_regs): Likewise.
974 (struct La_s390_32_retval): Likewise.
975 (struct La_s390_64_regs): Likewise.
976 (struct La_s390_64_retval): Likewise.
977 (struct La_sparc32_regs): Likewise.
978 (struct La_sparc32_retval): Likewise.
979 (struct La_sparc64_regs): Likewise.
980 (struct La_sparc64_retval): Likewise.
981 (struct audit_ifaces): Remove architecture-specific pltenter and
982 pltexit members.
983 * sysdeps/i386/ldsodefs.h: New file.
984 * sysdeps/powerpc/ldsodefs.h: Likewise.
985 * sysdeps/s390/ldsodefs.h: Likewise.
986 * sysdeps/sh/ldsodefs.h: Likewise.
987 * sysdeps/sparc/ldsodefs.h: Likewise.
988 * sysdeps/x86_64/ldsodefs.h: Likewise.
989
354691b7
MP
9902012-07-25 Marek Polacek <polacek@redhat.com>
991
992 [BZ #6808]
993 * math/libm-test.inc (yn_test): Add another test.
994 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
995 to ERANGE when the result is +-Inf.
996 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
997 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
998 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
999 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
1000
bf9e2071
JM
10012012-07-24 Joseph Myers <joseph@codesourcery.com>
1002
1003 * conform/data/time.h-data (NULL): Use macro-constant. Require
1004 equal to 0.
1005 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
1006 clock_t.
1007 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
1008
57633811
TS
10092012-07-23 Thomas Schwinge <thomas@codesourcery.com>
1010
1011 * configure.in <sysdeps resolving>: Correct printing
1012 Implies_before.
1013 * configure: Regenerate.
1014
c23c33b0
TS
10152012-07-22 Thomas Schwinge <thomas@codesourcery.com>
1016
1017 * math/w_ilogb.c: Include <limits.h>.
1018 * math/w_ilogbl.c: Likewise.
1019
b5982523
JM
10202012-07-20 Joseph Myers <joseph@codesourcery.com>
1021
1022 * manual/lang.texi (__va_copy): Document primarily as ISO C99
1023 va_copy. Document allowing for unavailable va_copy only as
1024 pre-C99 compatibility.
1025 * manual/string.texi (Copying and Concatenation): Use va_copy
1026 instead of __va_copy in concat example.
1027
ac4ea442
PT
10282012-07-20 Pino Toscano <toscano.pino@tiscali.it>
1029
1030 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1031 (__sendto): Use create_address_port. Initialize APORT and deallocate
1032 it if not null.
1033
f98eafbd
PT
1034 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1035 with O_NOLINK passed to __file_name_lookup.
1036
898c7aab
PT
1037 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1038 with O_NOLINK passed to __file_name_lookup.
1039
0ced335a
PT
1040 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1041 negative N or less than NGIDS.
1042
b3404dbd
PT
1043 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1044 type to string_t. Set ERANGE as errno and return it if NAME is not big
1045 enough. Use memcpy instead of strncpy.
1046
0f48659e
JM
10472012-07-20 Joseph Myers <joseph@codesourcery.com>
1048
1049 * elf/Makefile (check-data): Remove.
1050 (localplt.data): New vpath directive.
1051 ($(objpfx)check-localplt.out): Use localplt.data from vpath
1052 instead of $(check-data).
1053 * scripts/data/localplt-generic.data: Move to ...
1054 * sysdeps/generic/localplt.data: ... here.
1055 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1056 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1057 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1059 ... here.
1060 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1062 ... here.
1063 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1064 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1065 ... here.
1066 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1067 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1068 ... here.
1069 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1070 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1071 ... here.
1072 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1073 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1074 ... here.
1075
d37cbdaa
AZ
10762012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1077
1078 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1079 PPC32 and PPC64 files.
1080 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1081 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1082
46f85fc2
AK
10832012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1084
1085 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1086 __makecontext_ret to ...
1087 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1088 ... here and call exit if uc_link is NULL. New file.
1089 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1090 __makecontext_ret.S.
1091 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1092 __makecontext_ret to ...
1093 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1094 ... here and call exit if uc_link is NULL. New file.
1095 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1096 __makecontext_ret.S.
1097
08f43f9b
AK
10982012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1099
1100 * elf/elf.h (R_390_IRELATIVE): New definition.
1101 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1102 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
1103 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1104 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1105 (elf_machine_lazy_rel): Likewise.
1106 * sysdeps/s390/dl-irel.h: New file.
1107 * sysdeps/s390/s390-64/memcpy.S: New asm code.
1108 * sysdeps/s390/s390-64/memset.S: New asm code.
1109 * sysdeps/s390/s390-64/memcmp.S: New asm code.
1110 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
1111 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
1112 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
1113 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
1114 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
1115 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
1116 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
1117 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
1118 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
1119 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
1120 * sysdeps/s390/s390-32/memcpy.S: New asm code.
1121 * sysdeps/s390/s390-32/memset.S: New asm code.
1122 * sysdeps/s390/s390-32/memcmp.S: New asm code.
1123
3b05db33
MP
11242012-07-17 Marek Polacek <polacek@redhat.com>
1125
1126 [BZ #14349]
1127 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
1128 * sysdeps/s390/s390-64/configure.in: Likewise.
1129 * sysdeps/sparc/configure.in: Likewise.
1130 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
1131 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
1132 * sysdeps/i386/configure.in: Likewise.
1133 * sysdeps/x86_64/configure.in: Likewise.
1134 * sysdeps/sh/configure.in: Likewise.
1135 * sysdeps/s390/s390-32/configure: Regenerated.
1136 * sysdeps/s390/s390-64/configure: Likewise.
1137 * sysdeps/x86_64/configure: Likewise.
1138 * sysdeps/sh/configure: Likewise.
1139 * sysdeps/powerpc/powerpc64/configure: Likewise.
1140 * sysdeps/powerpc/powerpc32/configure: Likewise.
1141 * sysdeps/sparc/configure: Likwise.
1142 * sysdeps/i386/configure: Likewise.
1143
a66877c6
MP
1144 * elf/dl-open.c: Comment fixes.
1145
cfc82fd8
JM
11462012-07-17 Joseph Myers <joseph@codesourcery.com>
1147
bd29910a
JM
1148 * Makefile [CXX] (check-data): Remove.
1149 [CXX] (c++-types.data): New vpath directive.
1150 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
1151 vpath. Do not allow for C++ type data being missing.
1152 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
1153 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
1154 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
1155 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
1156 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
1157 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
1158 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
1159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1160 ... here.
1161 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
1162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1163 ... here.
1164 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
1165 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
1166 ... here.
1167 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
1168 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
1169 ... here.
1170 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
1171 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
1172 ... here.
1173 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
1174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
1175 ... here.
1176 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
1177 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
1178 ... here.
1179 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
1180 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
1181
cfc82fd8
JM
1182 * elf/tls-macros.h (TLS_LE): Move architecture-specific
1183 definitions to architecture-specific files.
1184 (TLS_IE): Likewise.
1185 (TLS_LD): Likewise.
1186 (TLS_GD): Likewise.
1187 * sysdeps/i386/tls-macros.h: New file.
1188 * sysdeps/powerpc/tls-macros.h: Likewise.
1189 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1190 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1191 * sysdeps/sh/tls-macros.h: Likewise.
1192 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
1193 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
1194 * sysdeps/x86_64/tls-macros.h: Likewise.
1195
f7db3170
TS
11962012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1197
07cbfc23
TS
1198 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
1199 zero value for regular exit case.
1200
f7db3170
TS
1201 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1202 (__start_context): Preserve zero value for regular exit case.
1203
dc97c227
TS
12042012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1205 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1206
1207 * manual/setjmp.texi (setcontext): Clarify normal process
1208 termination when uc_link is the null pointer.
1209 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
1210 exit call.
1211
d0cd7d02
AS
12122012-07-16 Andreas Schwab <schwab@linux-m68k.org>
1213
1214 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
1215 preprocessor. Test for each exception mask separately.
1216
dd318934
AJ
12172012-07-16 Andreas Jaeger <aj@suse.de>
1218
1219 * po/ru.po: Update from translation team.
1220
8048311a
JM
12212012-07-15 Joseph Myers <joseph@codesourcery.com>
1222
1223 * conform/data/string.h-data (NULL): Use macro-constant. Require
1224 equal to 0.
1225 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1226 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1227 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
1228 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
1229 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1230
b637d46e
AJ
12312012-07-13 Andreas Jaeger <aj@suse.de>
1232
1233 * po/fr.po: Update from translation team.
1234
541428fe
MP
12352012-07-12 Marek Polacek <polacek@redhat.com>
1236
1237 [BZ #14173]
1238 * math/libm-test.inc (yn_test): Add test for BZ #14173.
1239 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
1240 loop condition.
1241
ec332e94
JM
12422012-07-12 Joseph Myers <joseph@codesourcery.com>
1243
1244 [BZ #13717]
1245 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1246 Change to 2.4.1 where previously 2.4.0.
1247 * sysdeps/unix/sysv/linux/configure: Regenerated.
1248 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
1249 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
1250 version.
1251 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
1252 (__ASSUME_AT_CLKTCK): Remove.
1253 (__ASSUME_AT_PAGESIZE): Likewise.
1254 (__ASSUME_AT_XID): Likewise.
1255 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
1256 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
1257 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
1258 unconditionally.
1259 (HAVE_AUX_PAGESIZE): Likewise.
1260 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
1261 [__ASSUME_AT_CLKTCK]: Make code unconditional.
1262 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
1263
7b6e99be
JB
12642012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
1265
1266 [BZ #14307]
1267 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
1268 the temporary buffer used to invoke __gethostbyname2_r,
1269 __gethostbyaddr_r and gethostbyname4_r to make room for struct
1270 host_data / struct gaih_addrtuple.
1271 * resolv/nss_dns/dns-host.c (global scope): Move definition of
1272 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
1273 header file nss/nsswitch.h.
1274 * nss/nsswitch.h (global scope): Add definition of implementation
1275 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
1276 resolv/nss_dns/dns-host.c).
1277
608404eb
AJ
12782012-07-11 Andreas Jaeger <aj@suse.de>
1279
1280 * po/fr.po: Update from translation team.
1281
71220aca
AJ
1282 * po/sv.po: Update from translation team
1283 * po/fr.po: Another update from translation team.
1284
28cfe843
AZ
12852012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1286
1287 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
1288 for subnormals or multiply small sinh result by itself.
1289 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1290 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1291
6b90f981
DM
12922012-07-11 David S. Miller <davem@davemloft.net>
1293
1294 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1295
c6825772
AS
12962012-07-10 Andreas Schwab <schwab@linux-m68k.org>
1297
1298 [BZ #14347]
1299 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
1300 (INTERNAL_MARK): Shift it here.
1301
7b8e0d49
MP
13022012-07-10 Marek Polacek <polacek@redhat.com>
1303
1304 [BZ #14151]
1305 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
1306 libc_cv_asm_global_directive with .globl.
1307 * configure: Regenerated.
1308 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
1309 with .globl.
1310 * sysdeps/i386/configure: Regenerated.
1311 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
1312 with .globl.
1313 * sysdeps/x86_64/configure: Regenerated.
1314 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
1315 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
1316 * elf/tst-unique2mod2.c: Likewise.
1317 * elf/tst-unique2mod1.c: Likewise.
1318 * elf/tst-unique1mod2.c: Likewise.
1319 * elf/tst-unique1mod1.c: Likewise.
1320 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1321 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1322 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1323 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1324 * sysdeps/mach/sysdep.h: Likewise.
1325 * sysdeps/i386/sysdep.h: Likewise.
1326 * sysdeps/i386/i386-mcount.S: Likewise.
1327 * sysdeps/x86_64/_mcount.S: Likewise.
1328 * sysdeps/x86_64/sysdep.h: Likewise.
1329 * sysdeps/sh/_mcount.S: Likewise.
1330 * sysdeps/sh/sysdep.h: Likewise.
1331 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
1332 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
1333 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
1334 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1335 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
1336 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
1337 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
1338 * locale/localeinfo.h: Likewise.
1339 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
1340 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
1341
6c55cda3
RM
13422012-07-09 Roland McGrath <roland@hack.frob.com>
1343
1344 [BZ #14336]
1345 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
1346 system".
1347 * manual/message.texi (The Uniforum approach): Likewise.
1348 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
1349 (glibc iconv Implementation): Likewise.
1350
638a572e
JM
13512012-07-09 Joseph Myers <joseph@codesourcery.com>
1352
1353 [BZ #14337]
1354 * math/s_clog.c (__clog): Avoid scaling a value down where that
1355 could result in underflow.
1356 * math/s_clog10.c (__clog10): Likewise.
1357 * math/s_clog10f.c (__clog10f): Likewise.
1358 * math/s_clog10l.c (__clog10l): Likewise.
1359 * math/s_clogf.c (__clogf): Likewise.
1360 * math/s_clogl.c (__clogl): Likewise.
1361 * math/libm-test.inc (clog_test): Add more tests.
1362 (clog10_test): Likewise.
1363 * sysdeps/i386/fpu/libm-test-ulps: Update.
1364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1365
261f4859
AS
13662012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1367
0abaf3e4
AS
1368 [BZ #14283]
1369 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
1370 by 7 not 8 to examine high bit of fractional part.
1371
261f4859
AS
1372 [BZ #14042]
1373 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
1374 for call to __mcount_internal.
1375 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
1376 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
1377 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
1378
f17ac40d
JM
13792012-07-06 Joseph Myers <joseph@codesourcery.com>
1380
9ad63c23
JM
1381 [BZ #14154]
1382 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
1383 approximation for values within 0x1p-13f of an odd multiple of
1384 pi/4.
1385 * math/libm-test.inc (tan_test): Do not allow spurious underflow
1386 exception. Add more tests.
1387 * sysdeps/i386/fpu/libm-test-ulps: Update.
1388
f17ac40d
JM
1389 [BZ #6778]
1390 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
1391 inputs and return -1 for them. Do not check for +Inf in case not
1392 reachable for +Inf.
1393 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1394 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
1395 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1396 and return -1 for them. Do not check for +Inf in case not
1397 reachable for +Inf.
1398 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
1399 define.
1400 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1401 and return -1 for them. Do not check for +Inf in case not
1402 reachable for +Inf.
1403 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
1404 spurious underflow.
1405 * sysdeps/i386/fpu/libm-test-ulps: Update.
1406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1407
fb21f89b
MF
14082012-07-06 Mike Frysinger <vapier@gentoo.org>
1409
1410 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
1411
cdfe2c5e
JM
14122012-07-05 Joseph Myers <joseph@codesourcery.com>
1413
1414 [BZ #14157]
1415 [BZ #14331]
1416 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
1417 could result in spurious underflow. Scale down values above
1418 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
1419 * math/s_csqrtf.c (__csqrtf): Likewise.
1420 * math/s_csqrtl.c (__csqrtl): Likewise.
1421 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
1422 spurious underflow.
1423 * sysdeps/i386/fpu/libm-test-ulps: Update.
1424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1425
70d35b67
AS
14262012-07-04 Andreas Schwab <schwab@linux-m68k.org>
1427
704bc459
AS
1428 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
1429 xopen-msg.sed.
1430 * catgets/xopen-msg.awk: New file.
1431 * catgets/xopen-msg.sed: Removed.
1432
70d35b67
AS
1433 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
1434 po2text.sed.
1435 * intl/po2test.awk: New file.
1436 * intl/po2test.sed: Removed.
1437
ca61cf32
JM
14382012-07-04 Joseph Myers <joseph@codesourcery.com>
1439
1440 [BZ #14328]
1441 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
1442 or multiply small sinh result by itself.
1443 * math/s_ctanf.c (__ctanf): Likewise.
1444 * math/s_ctanh.c (__ctanh): Likewise.
1445 * math/s_ctanhf.c (__ctanhf): Likewise.
1446 * math/s_ctanhl.c (__ctanhl): Likewise.
1447 * math/s_ctanl.c (__ctanl): Likewise.
1448 * math/libm-test.inc (ctan_test_tonearest): New function.
1449 (ctan_test_towardzero): Likewise.
1450 (ctan_test_downward): Likewise.
1451 (ctan_test_upward): Likewise.
1452 (ctanh_test_tonearest): Likewise.
1453 (ctanh_test_towardzero): Likewise.
1454 (ctanh_test_downward): Likewise.
1455 (ctanh_test_upward): Likewise.
1456 (main): Call these new functions.
1457 * sysdeps/i386/fpu/libm-test-ulps: Update.
1458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1459
ca48a46a
MF
14602012-07-03 Mike Frysinger <vapier@gentoo.org>
1461
1462 * .gitignore: Delete /ports entry.
1463
9d63d37d
AJ
14642012-07-03 Andreas Jaeger <aj@suse.de>
1465
1466 * po/bg.po: Update from translation team.
1467 * po/cs.po: Likewise.
1468 * po/de.po: Likewise.
1469 * po/hr.po: Likewise.
1470 * po/nl.pl: Likewise.
1471 * po/pl.po: Likewise.
1472 * po/vi.po: Likewise.
1473
370ca3d2
JM
14742012-07-03 Joseph Myers <joseph@codesourcery.com>
1475
95f5a9a8
JM
1476 * Makeconfig [!+link] (+link-before-libc): New variable.
1477 [!+link] (+link-after-libc): Likewise.
1478 [!+link] (+link-tests): Likewise.
1479 [!+link] (+link): Define in terms of $(+link-before-libc) and
1480 $(+link-after-libc).
1481 [!+link-static] (+link-static-before-libc): New variable.
1482 [!+link-static] (+link-static-after-libc): Likewise.
1483 [!+link-static] (+link-static-tests): Likewise.
1484 [!+link-static] (+link-static): Define in terms of
1485 $(+link-static-before-libc) and $(+link-static-after-libc).
1486 [build-shared] (link-libc-before-gnulib): New variable.
1487 [build-shared] (link-libc-tests): Likewise.
1488 [build-shared] (link-libc): Define in terms of
1489 $(link-libc-before-gnulib).
1490 [!build-shared] (link-libc-tests): New variable.
1491 (link-libc-static-tests): New variable.
1492 [!gnulib] (gnulib-arch): New variable.
1493 [!gnulib] (gnulib-tests): Likewise.
1494 [!gnulib] (static-gnulib-arch): Likewise.
1495 [!gnulib] (static-gnulib-tests): Likewise.
1496 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
1497 Define with "=" instead of ":=".
1498 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
1499 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
1500 * Rules (binaries-all-notests): New variable.
1501 (binaries-all-tests): Likewise.
1502 (binaries-static-notests): Likewise.
1503 (binaries-static-tests): Likewise.
1504 (binaries-all): Define using $(binaries-all-notests) and
1505 $(binaries-all-tests).
1506 (binaries-static): Define using $(binaries-static-notests) and
1507 $(binaries-static-tests).
1508 (binaries-shared-tests): New variable.
1509 (binaries-shared-notests): Likewise.
1510 (binaries-shared): Remove variable.
1511 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
1512 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
1513 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
1514 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
1515 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
1516 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
1517 * elf/Makefile (sln-modules): New variable.
1518 (extra-objs): Add $(sln-modules:=.o).
1519 (ldconfig-modules): Add static-stubs.
1520 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
1521 * elf/static-stubs.c: New file.
1522
7a845b2c
JM
1523 [BZ #14283]
1524 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
1525 by 7 not 8 to examine high bit of fractional part. Use volatile
1526 variables when splitting into final array of floats if
1527 __FLT_EVAL_METHOD__ != 0.
1528 * math/libm-test.inc (cos_test): Add another test.
1529 (sin_test): Likewise.
1530 * sysdeps/i386/fpu/libm-test-ulps: Update.
1531
e2283f38
JM
1532 [BZ #14273]
1533 * math/libm-test.inc (cosh_test): Add more tests.
1534
370ca3d2
JM
1535 * version.h (RELEASE): Set to "development".
1536 (VERSION): Set to "2.16.90".
1537
ee9247c3
CD
15382012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
1539
1540 * NEWS: Update copyright. Remove last-updated date.
1541 Mention math library bug fixes and timezone data changes.
1542 * README: Mention GNU/Hurd, x32, and HPPA support status.
1543
4648c381
TS
15442012-06-28 Thomas Schwinge <thomas@codesourcery.com>
1545
1546 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
1547
aac78a43
AJ
15482012-06-27 Andreas Jaeger <aj@suse.de>
1549
1550 * manual/contrib.texi (Contributors): Add Samuel Thibault.
1551
ed3dbfad
AJ
15522012-06-25 Andreas Jaeger <aj@suse.de>
1553
1554 * sysdeps/s390/fpu/libm-test-ulps: Update.
1555
4d0ee855
AS
15562012-06-23 Andreas Schwab <schwab@linux-m68k.org>
1557 Thomas Schwinge <thomas@codesourcery.com>
1558
1559 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
1560 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
1561 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
1562 fanotify_mark.
1563
af1bce34
TS
15642012-06-23 Thomas Schwinge <thomas@codesourcery.com>
1565
a9fa33ba
TS
1566 * sysdeps/mach/start.c: Remove file.
1567 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
1568 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
1569 * sysdeps/sh/init-first.c: Likewise.
1570
58f902b8
TS
1571 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
1572 registers for frame unwinding purposes, add CFI directives.
1573 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1574 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
1575 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1576 Likewise.
1577
1518f58b
TS
1578 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
1579 __fortify_fail returning.
1580 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1581
db9b5059
TS
1582 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
1583 sysdeps/sh/____longjmp_chk.S.
1584 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
1585 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
1586 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
1587 (gen-as-const-headers): Append sigaltstack-offsets.sym.
1588
967705fe
TS
1589 * sysdeps/sh/abort-instr.h: New file.
1590 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
1591 process in case exit returns.
1592
a9def8c4
TS
1593 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
1594 initialize the GOT register before use.
1595
2a649725
TS
1596 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
1597 calculation of ARGC > 4.
1598
af1bce34
TS
1599 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
1600 meaningful names to some local labels.
1601
d230f50a
KK
16022012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1603 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1604
1605 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
1606 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
1607 (__arch_compare_and_exchange_val_16_acq): Likewise.
1608 (__arch_compare_and_exchange_val_32_acq): Likewise.
1609 (atomic_exchange_and_add): Fix gUSA sequence.
1610 (atomic_add): Likewise.
1611 (atomic_add_negative): Likewise.
1612 (atomic_add_zero): Likewise.
1613 (atomic_bit_test_set): Likewise.
1614
0479b305
AS
16152012-06-22 Andreas Schwab <schwab@redhat.com>
1616
1617 [BZ #13579]
1618 * include/link.h (struct link_map): Add l_free_initfini.
1619 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
1620 l_initfini.
1621 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
1622 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
1623 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
1624 set.
1625
0e3933b9
CD
16262012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
1627
1628 * configure.in: Use AC_LANG_SOURCE.
1629 * configure: Regenerate.
1630
4248b1b1
RM
16312012-06-22 Roland McGrath <roland@hack.frob.com>
1632
1633 * configure.in (libc_cv_localstatedir): New substituted variable.
1634 * configure: Regenerated.
1635 * config.make.in (localstatedir): New variable, substituted from
1636 libc_cv_localstatedir.
1637 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
1638 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
1639 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
1640 * sysdeps/gnu/configure: Regenerated.
1641
006dd861
JL
16422012-06-21 Jeff Law <law@redhat.com>
1643
1644 [BZ #14277]
1645 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
1646 free. Simplify list management for _LIBC case.
1647
79662d42
JM
16482012-06-21 Joseph Myers <joseph@codesourcery.com>
1649
b7abb4bf
JM
1650 [BZ #14273]
1651 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1652 Clear sign bit of 64-bit integer value before comparing against
1653 overflow value.
1654
79662d42
JM
1655 * sysdeps/mach/configure: Regenerated.
1656
1f150908
L
16572012-06-21 H.J. Lu <hongjiu.lu@intel.com>
1658
1659 [BZ #14278]
1660 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
1661
28363bbf
JL
16622012-06-21 Jeff Law <law@redhat.com>
1663
1664 [BZ #13882]
1665 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
1666 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 1667 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
1668 * elf/dl-open.c (dl_open_worker): Likewise.
1669
09615db4
CD
16702012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
1671
1672 * scripts/list-sources.sh: Scan PORTS for translations.
1673 * po/libc.pot: Regenerated.
1674
2174c6dd
AJ
16752012-06-21 Andreas Jaeger <aj@suse.de>
1676
1677 [BZ #12194]
1678 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
1679 warning.
1680 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
1681 * bits/byteswap-16.h (__bswap_16): Likewise.
1682 * bits/byteswap.h (__bswap_constant_16): Likewise.
1683
3ee947b1
L
16842012-06-18 H.J. Lu <hongjiu.lu@intel.com>
1685
1686 [BZ #14117]
a2f34833
L
1687 * sysdeps/i386/fpu_control.h: Removed.
1688 * sysdeps/x86_64/fpu_control.h: Moved to ...
1689 * sysdeps/x86/fpu_control.h: Here.
1690
3ee947b1
L
1691 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
1692 (_FPU_SETCW): Likewise.
1693
ed1825f8
L
16942012-06-15 H.J. Lu <hongjiu.lu@intel.com>
1695
25f1282a
L
1696 [BZ #14117]
1697 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
1698 * sysdeps/x86/fpu/bits/mathinline.h: This.
1699 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
1700
ed1825f8
L
1701 [BZ #14050]
1702 [BZ #14117]
1703 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
1704 functions if __x86_64__ is defined.
1705
36d54b74
CLT
17062012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
1707
1708 * string/endian.h: Add !__ASSEMBLER__ condition for including
1709 conversion interfaces.
1710
10285c21
JM
17112012-06-15 Joseph Myers <joseph@codesourcery.com>
1712
1713 [BZ #14241]
1714 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
1715 of ABS(x) in calculating zero to negative powers other than odd
1716 integers.
1717 * math/libm-test.inc (pow_test): Add more tests.
1718
06c5abbd
AJ
17192012-06-15 Andreas Jaeger <aj@suse.de>
1720
1721 * manual/contrib.texi (Contributors): Update entry of Liubov
1722 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
1723 Machado Filho.
1724
a3aeac40
CH
17252012-06-15 Cyril Hrubis <metan@ucw.cz>
1726
1727 * string/string.h: Add __wur to GNU version of strerror_r.
1728
49bdf4c1
L
17292012-06-14 H.J. Lu <hongjiu.lu@intel.com>
1730
1731 [BZ #14229]
1732 * string/Makefile (tests): Add tst-strtok_r.
1733 * string/tst-strtok_r.c: New file.
1734 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
1735 RAX_LP/RDX_LP on SAVE_PTR.
1736
834f9b8d
RM
17372012-06-14 Roland McGrath <roland@hack.frob.com>
1738
1739 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
1740
75fa1921
JM
17412012-06-14 Joseph Myers <joseph@codesourcery.com>
1742
1743 * libm_test.inc (csqrt_test): Allow more spurious underflow
1744 exceptions.
1745 (j0_test): Likewise.
1746 (j1_test): Likewise.
1747 (y0_test): Likewise.
1748 (y1_test): Likewise.
1749
771766df
CD
17502012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
1751
1752 * po/Makefile (libc.pot): Use UTF-8 charset.
1753
ceb9e56b
PP
17542012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
1755
1756 [BZ #14210]
1757 Suppress sign-conversion warning from FD_SET.
1758 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
1759 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
1760 not unsigned long int.
1761 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
1762
ddb28975
L
17632012-06-12 H.J. Lu <hongjiu.lu@intel.com>
1764
1765 [BZ #14050]
1766 [BZ #14117]
1767 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
1768 __extern_always_inline instead of __extern_inline.
1769 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
1770 (__signbit): Likewise.
1771 (__signbitl): Support C++ namespace.
1772 (lrintf): New inline function.
1773 (lrint): Likewise.
1774 (llrintf): Likewise.
1775 (llrint): Likewise.
1776 (fmaxf): Likewise.
1777 (fmax): Likewise.
1778 (fminf): Likewise.
1779 (fmin): Likewise.
1780 (rint): Likewise.
1781 (rintf): Likewise.
1782 (ceil): Likewise.
1783 (ceilf): Likewise.
1784 (floor): Likewise.
1785 (floorf): Likewise.
1786 (nearbyint): Likewise.
1787 (nearbyintf): Likewise.
1788
d7b4fb26
TS
17892012-06-12 Thomas Schwinge <thomas@codesourcery.com>
1790
1791 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
1792 non-default versions.
1793
eb55f5c2
RM
17942012-06-11 Roland McGrath <roland@hack.frob.com>
1795
1796 [BZ #14218]
1797 * manual/argp.texi (Argp): Reword argp_parse description slightly.
1798
366af02c
TS
17992012-06-09 Thomas Schwinge <thomas@codesourcery.com>
1800
99ff6e5c
TS
1801 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
1802 (FE_UPWARD, FE_DOWNWARD): Don't define.
1803 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
1804 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1805
366af02c
TS
1806 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
1807 reading it.
1808 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1809 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1810
793ea851
KK
18112012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1812
1813 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1814 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
1815 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
1816 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
1817
a728a38f
L
18182012-06-06 H.J. Lu <hongjiu.lu@intel.com>
1819
1820 [BZ #14117]
c08010c7
L
1821 * sysdeps/i386/fpu/bits/fenv.h: Removed.
1822 * sysdeps/i386/fpu/Implies: New file.
1823 * sysdeps/x86_64/fpu/Implies: Likewise.
1824 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
1825 * sysdeps/x86/fpu/bits/fenv.h: This.
1826
a728a38f
L
1827 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
1828 __SSE_MATH__.
1829
6e230d11
SP
18302012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1831
1832 [BZ #14134]
1833 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
1834 character 0xffff that matches the last element of the
1835 conversion table.
1836
1b671feb
AZ
18372012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1838
1839 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
1840 fmodl commit.
1841
6043738b
AZ
18422012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1843
1844 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
1845 values higher than 25.6283.
1846
34ae0b32
AZ
18472012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1848
1849 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
1850 subnormal exponent extraction and add some __builtin_expect.
1851 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
1852 Fix for subnormal mantissa calculation.
1853
1214ec8f
MF
18542012-06-04 Mike Frysinger <vapier@gentoo.org>
1855
1856 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
1857 cpu2 is -1 and errno is not ENOSYS.
1858
f3d1f93c
L
18592012-06-04 H.J. Lu <hongjiu.lu@intel.com>
1860
1861 [BZ #14117]
0e4a3cd7
L
1862 * sysdeps/i386/i486/bits/string.h: Renamed to ...
1863 * sysdeps/x86/bits/string.h: This.
1864 * sysdeps/x86_64/bits/string.h: Removed.
1865
6704c645
L
1866 * sysdeps/i386/i486/bits/string.h: Define inline functions only
1867 if not compiling for x86-64, but compiling for >= i486.
1868
48495318
L
1869 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
1870 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
1871
14adcbfc
L
1872 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
1873 New macro from Linux kernel 3.4.0.
1874 (FP_XSTATE_MAGIC2): Likewise.
1875 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1876 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
1877 (struct _fpx_sw_bytes): New struct.
1878 (struct _xsave_hdr): Likewise.
1879 (struct _ymmh_state): Likewise.
1880 (struct _xstate): Likewise.
1881
68e408ab
L
1882 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
1883 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
1884 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
1885 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
1886 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
1887 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
1888
f3d1f93c
L
1889 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
1890 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
1891 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
1892 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
1893 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
1894 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
1895
d9dc34cd
TMQMF
18962012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1897
1898 [BZ #13743]
1899 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
1900 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
1901 (sysdep_headers): Include sys/platform/ppc.h.
1902 * sysdeps/powerpc/test-gettimebase.c: Test for
1903 __ppc_get_timebase() to catch future ISA opcode/insn changes.
1904 * manual/Makefile (appendices): Include platform.texi.
1905 * manual/contrib.texi (Contributors): Update @node pointers.
1906 * manual/maint.texi (Maintenance): Likewise.
1907 (Platform): New node.
1908 * manual/platform.texi: New file. Document the new features.
1909
4af3879c
SP
19102012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1911 Jakub Jelinek <jakub@redhat.com>
1912
1913 [BZ #14188]
1914 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
1915 where __builtin_expect is unavailable.
1916
2fd6ff13
DM
19172012-06-03 David S. Miller <davem@davemloft.net>
1918
1919 * stdlib/longlong.h: Updated from GCC.
1920
173f7220
AS
19212012-06-02 Andreas Schwab <schwab@linux-m68k.org>
1922
1923 [BZ #14042]
1924 * sysdeps/powerpc/powerpc32/mcount.c: New file.
1925 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
1926 __mcount_internal.
1927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1928 (GLIBC_2.16): Likewise.
1929
f34a1c6f
L
19302012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1931
1932 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
1933
88a4576f
JM
19342012-06-01 Joseph Myers <joseph@codesourcery.com>
1935
ea32bcdd
JM
1936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1937 (default-abi): New variable.
1938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
1939 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
1940 variable.
1941 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
1942 Likewise.
1943 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
1944 Likewise.
1945 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
1946 Likewise.
1947
88a4576f
JM
1948 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
1949 definition. Document in comment.
1950
402fe938
DM
19512012-06-01 David S. Miller <davem@davemloft.net>
1952
1953 * stdlib/longlong.h: Updated from GCC.
1954
3553723f
L
19552012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1956
1957 [BZ #14117]
3bd872c4
L
1958 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
1959 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
1960 sys/debugreg.h sys/io.h here.
1961 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
1962 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
1963 sys/io.h.
1964 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
1965 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
1966 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
1967 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
1968 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
1969 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
1970
3553723f
L
1971 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
1972 Define only if __x86_64__ is defined.
1973
4842e4fe
JM
19742012-06-01 Joseph Myers <joseph@codesourcery.com>
1975
c5bfe3d5
JM
1976 [BZ #14048]
1977 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
1978 Use int64_t for variable i.
1979 * math/libm-test.inc (fmod_test): Add more tests.
1980
4842e4fe
JM
1981 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
1982 z computation is not scheduled after fetestexcept.
1983 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
1984 Use math_force_eval instead of asm to ensure calculation scheduled
1985 before exception test.
1986 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
1987 Ensure a1 + u.d computation is not scheduled after fetestexcept.
1988
efb73488
AJ
19892012-06-01 Aurelien Jarno <aurelien@aurel32.net>
1990
1991 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
1992 computation is not scheduled after fetestexcept.
1993
29bcce7c
L
19942012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1995
1996 [BZ #14117]
1997 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
1998 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
1999
73a68f94
AZ
20002012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2001
2002 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
2003 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2004
67b6df78
L
20052012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2006
edf2933a 2007 [BZ #14117]
ebc64a18
L
2008 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
2009 <bits/wordsize.h>.
2010 (__WCHAR_MIN): Support __WORDSIZE == 64.
2011 (__WCHAR_MAX): Likewise.
2012
edf2933a
L
2013 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
2014 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2015
57c6cf40
L
2016 [BZ #14183]
2017 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2018 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2019
67b6df78 2020 [BZ #14117]
8eb6281e
L
2021 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2022 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2023
aac639f4
L
2024 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2025 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2026
67b6df78
L
2027 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2028 Defined to 1 if __x86_64__ isn't defined.
2029 (_STAT_VER_LINUX_OLD): New.
2030 (st_atime): Remove duplicate.
2031 (st_mtime): Likewise.
2032 (st_ctime): Likewise.
2033
1c2cfe81
DM
20342012-05-31 David S. Miller <davem@davemloft.net>
2035
2036 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2037 entries.
2038
5be8418c
AS
20392012-06-01 Andreas Schwab <schwab@linux-m68k.org>
2040
e7725326
AS
2041 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2042 gen-libm-test.pl.
2043
5be8418c
AS
2044 [BZ #14132]
2045 * elf/dl-reloc.c: Include <_itoa.h>.
2046 (_dl_reloc_bad_type): Remove use of INTUSE.
2047 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2048 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2049 * stdio-common/psiginfo.c (psiginfo): Likewise.
2050 * stdio-common/psignal.c (psignal): Likewise.
2051 * string/strsignal.c (strsignal): Likewise.
2052 * include/signal.h (_sys_siglist): Declare hidden proto.
2053 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
2054 INTVARDEF with libc_hidden_data_def.
2055 * stdio-common/itoa-udigits.c: Likewise.
2056 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2057 (_itoa_lower_digits_internal): Remove declaration.
2058 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2059 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2060 (_sys_sigabbrev_internal): Remove aliases.
2061 (_sys_siglist): Define hidden alias.
2062
507352f1
MT
20632012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
2064
2065 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2066 bits/sysctl.h.
2067
42bbb1c3
L
20682012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2069
2070 [BZ #14117]
6bd784b6
L
2071 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2072 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2073
8bca20f0
L
2074 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2075 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2076 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2077 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2078 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2079 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2080
f9e890a9
L
2081 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2082 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2083 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2084
471101a1
L
2085 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2086 with __addr.
2087 (insw): Likewise.
2088 (insl): Likewise.
2089 (outsb): Likewise.
2090 (outsw): Likewise.
2091 (outsl): Likewise.
2092
6451c862
L
2093 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2094 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2095 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2096
a254b8c9
L
2097 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2098 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2099 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2100 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2101 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2102 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2103
b8dfdd92
L
2104 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2105 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2106
578cd270
L
2107 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
2108 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
2109
de662f5f
L
2110 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
2111 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
2112 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
2113
25653439
L
2114 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
2115 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
2116 to ...
2117 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
2118
6bad24a0
L
2119 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
2120 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
2121 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
2122
42bbb1c3
L
2123 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
2124 for x86-64.
2125 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2126
2d10d547
JM
21272012-05-31 Joseph Myers <joseph@codesourcery.com>
2128
2129 * math/math.h (M_El): Use two more decimal places.
2130 (M_LOG2El): Likewise.
2131 (M_LOG10El): Likewise.
2132 (M_LN2l): Likewise.
2133 (M_LN10l): Likewise.
2134 (M_PIl): Likewise.
2135 (M_PI_2l): Likewise.
2136 (M_PI_4l): Likewise.
2137 (M_1_PIl): Likewise.
2138 (M_2_PIl): Likewise.
2139 (M_2_SQRTPIl): Likewise.
2140 (M_SQRT2l): Likewise.
2141 (M_SQRT1_2l): Likewise.
2142
f230c29b
DM
21432012-05-31 David S. Miller <davem@davemloft.net>
2144
2145 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
2146 values between float registers.
2147 * sysdeps/sparc/sparc64/memset.S: Likewise.
2148 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2149
fed806c3
MF
21502012-05-31 Mike Frysinger <vapier@gentoo.org>
2151
2152 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
2153 -D_FORTIFY_SOURCE=1.
2154 (CPPFLAGS-tst-longjmp_chk.c): Define.
2155 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
2156 (CPPFLAGS-tst-longjmp_chk2.c): Define.
2157 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
2158 CFLAGS-tst-wchar-h.c.
2159
30917259
MP
21602012-05-31 Marek Polacek <polacek@redhat.com>
2161
2162 [BZ #14132]
2163 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
2164 __endmntent_internal): Remove declaration.
2165 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
2166 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
2167 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
2168
1c58d5dc
DM
21692012-05-30 David S. Miller <davem@davemloft.net>
2170
2171 * sysdeps/sparc/sparc32/soft-fp/q_util.c
2172 (___Q_simulate_exceptions): Use real FP ops rather than writing
2173 into the %fsr.
2174 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
2175 Likewise.
2176
7dc00e0d
L
21772012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2178
2179 [BZ #14117]
0bd53985
L
2180 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
2181 * sysdeps/x86/bits/xtitypes.h: This.
2182
3a257e66
L
2183 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
2184 * sysdeps/x86/bits/wordsize.h: This.
2185
62f62904
L
2186 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
2187 * sysdeps/x86/bits/huge_vall.h: This.
2188
404fe9d9
L
2189 * sysdeps/i386/bits/select.h: Removed.
2190 * sysdeps/x86_64/bits/select.h: Renamed to ...
2191 * sysdeps/x86/bits/select.h: This.
2192
d48d0446
L
2193 * sysdeps/i386/bits/setjmp.h: Removed.
2194 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
2195 * sysdeps/x86/bits/setjmp.h: This.
2196
7dc00e0d
L
2197 * sysdeps/i386/bits/mathdef.h: Removed.
2198 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
2199 * sysdeps/x86/bits/mathdef.h: This.
2200
03277f8f
AS
22012012-05-30 Andreas Schwab <schwab@linux-m68k.org>
2202
2203 [BZ #14132]
2204 * include/sys/socket.h (__connect_internal)
2205 (__libc_sa_len_internal): Remove declaration.
2206 (__connect, __libc_sa_len): Declare hidden_proto.
2207 (SA_LEN): Remove use of INTUSE.
2208 * socket/connect.c: Add libc_hidden_def.
2209 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
2210 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
2211 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
2212 alias.
2213 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2214 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2215 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
2216 of adding _internal alias.
2217
13764867
L
22182012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2219
2220 [BZ #14117]
6bd97696
L
2221 * sysdeps/i386/bits/link.h: Removed.
2222 * sysdeps/i386/bits/linkmap.h: Likewise.
2223 * sysdeps/x86_64/bits/link.h: Renamed to ...
2224 * sysdeps/x86/bits/link.h: This.
2225 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
2226 * sysdeps/x86/bits/linkmap.h: This.
2227
f726f0bb
L
2228 * sysdeps/i386/bits/endian.h: Removed.
2229 * sysdeps/x86_64/bits/endian.h: Renamed to ...
2230 * sysdeps/x86/bits/endian.h: This.
2231
13764867
L
2232 * sysdeps/i386/bits/byteswap.h: Removed.
2233 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2234 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
2235 * sysdeps/x86/bits/byteswap.h: This.
2236 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
2237 * sysdeps/x86/bits/byteswap-16.h: This.
2238 * sysdeps/i386/Implies: Add x86.
2239 * sysdeps/x86_64/Implies: Likewise.
2240
ae251b0b
DM
22412012-05-30 David S. Miller <davem@davemloft.net>
2242
2243 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
2244 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
2245 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2246 (FP_TRAPPING_EXCEPTIONS): Define.
2247 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2248 (FP_TRAPPING_EXCEPTIONS): Define.
2249 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
2250 subnormals only when inexact has been signalled or underflow
2251 exceptions are enabled.
2252 (_FP_PACK_CANONICAL): Likewise.
2253
d5c90867
L
22542012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2255
2256 [BZ #14183]
2257 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
2258 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
2259
63f1549e
RH
22602012-05-30 Richard Henderson <rth@twiddle.net>
2261
8d8f2279
RH
2262 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
2263 with #ifndef NOT_IN_libc.
2264
63f1549e
RH
2265 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
2266 marked to avoid plt entry.
2267
0ab0291b
L
22682012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2269
2270 [BZ #14112]
2271 * Makeconfig (default-abi): New macro.
2272 (abi-includes): Likewise.
2273 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
2274 $(abi-$(default-abi)-lib-soname) for soname if defined.
2275 ($(common-objpfx)gnu/lib-names.stmp): Generate from
2276 abi-variants.
2277 * Makefile (installed-stubs): Likewise.
2278 * include/stubs-biarch.h: Removed.
2279 * scripts/lib-names.awk: Only handle one library at a time.
2280 * scripts/soversions.awk: Remove WORDSIZE support.
2281 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
2282 entries.
2283 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
2284 Removed.
2285 (syscall-list-default-condition): Likewise.
2286 (syscall-list-default-condition): Likewise.
2287 (syscall-list-includes): Likewise.
2288 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
2289 syscall-list-* with abi-*. Handle undefined abi-variants.
2290 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
2291 * sysdeps/unix/sysv/linux/i386/Implies: New file.
2292 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
2293 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
2294 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
2295 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
2296 Removed.
2297 (syscall-list-32-options): Likewise.
2298 (syscall-list-32-condition): Likewise.
2299 (syscall-list-64-options): Likewise.
2300 (syscall-list-64-condition): Likewise.
2301 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
2302 macro.
2303 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
2304 Renamed to ...
2305 (abi-*): This.
2306 (abi-64-ld-soname): New macro.
2307 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
2308 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
2309 Renamed to ...
2310 (abi-*): This.
2311 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
2312 * sysdeps/x86_64/x32/shlib-versions: Likewise.
2313
4da0431d
JM
23142012-05-30 Joseph Myers <joseph@codesourcery.com>
2315
3a85279c
JM
2316 * sysdeps/unix/sysv/linux/kernel-features.h
2317 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
2318 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
2319 include <kernel-features.h>.
2320 [!__NR_ftruncate64]: Remove conditional code.
2321 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2322 [__NR_ftruncate64]: Make code unconditional.
2323 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2324 * sysdeps/unix/sysv/linux/truncate64.c: Do not
2325 include <kernel-features.h>.
2326 [!__NR_ftruncate64]: Remove conditional code.
2327 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2328 [__NR_ftruncate64]: Make code unconditional.
2329 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
2331 include <kernel-features.h>.
2332 [!__NR_ftruncate64]: Remove conditional code.
2333 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2334 [__NR_ftruncate64]: Make code unconditional.
2335 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2337 include <kernel-features.h>.
2338 [!__NR_ftruncate64]: Remove conditional code.
2339 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2340 [__NR_ftruncate64]: Make code unconditional.
2341 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2342
4da0431d
JM
2343 * configure.in (libc_cv_fpie): Weaken to a compile test using
2344 LIBC_TRY_CC_OPTION.
2345 * configure: Regenerated.
2346
11ef492c
AK
23472012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2348
2349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
2350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
2351 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
2352 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2353 Refreshed.
2354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
2355 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
2356 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
2357 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
2358 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
2359 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2360 Refreshed.
2361
d66ef399
DM
23622012-05-27 David S. Miller <davem@davemloft.net>
2363
2364 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
2365 (___Q_zero): New.
2366 (__Q_simulate_exceptions): Return void. Change to simulate
2367 exceptions by writing into the %fsr.
2368 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
2369 (__Qp_handle_exceptions): Likewise.
2370 (numbers): Delete.
2371 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
2372 __Qp_handle_exceptions.
2373 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
2374 __Qp_handle_exceptions.
2375 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2376 as unused and give dummy FP_RND_NEAREST initializer.
2377 (FP_INHIBIT_RESULTS): Define.
2378 (___Q_simulate_exceptions): Update declaration.
2379 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
2380 formatting.
2381 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2382 as unused and give dummy FP_RND_NEAREST initializer.
2383 (__Qp_handle_exceptions): Update declaration.
2384 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
2385 formatting.
2386
04fb54b5
TS
23872012-05-27 Thomas Schwinge <thomas@codesourcery.com>
2388
2389 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
2390 the temporary FPU control word.
2391 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2392 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
2393 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2394 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2395 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2396 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2397 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2398 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2399 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2400 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2401 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2402
3f99608f
KK
24032012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2404
2405 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
2406 fields.
2407
65a4de4e
CLT
24082012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
2409
2410 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
2411 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
2412 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
2413 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
2414 Likewise.
2415 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
2416 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
2417 Likewise.
2418
15749d40
UD
24192012-05-27 Ulrich Drepper <drepper@gmail.com>
2420
2421 * po/h.po: Update from translation team.
2422
25dbcb27
AS
24232012-05-26 Andreas Schwab <schwab@linux-m68k.org>
2424
3d3f8e55
AS
2425 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
2426
25dbcb27
AS
2427 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
2428 handling of denormals.
2429 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2430 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2431 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2432 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2433 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2434 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
2435 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
2436 Likewise.
2437
7ad47a80 24382012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
2439
2440 [BZ #14152]
2441 * math/libm-test.inc (fma_test): Don't always expect underflow
2442 exception.
2443
9c6ea9fa
SP
24442012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2445
2446 [BZ #12416]
2447 * elf/tst-execstack.c: Include stackinfo.h.
2448 (do_test): Adjust test case to ensure that pthread_getattr_np
2449 behaviour remains the same after marking stack executable.
2450
a8239222
JM
24512012-05-25 Joseph Myers <joseph@codesourcery.com>
2452
2453 * sysdeps/unix/sysv/linux/kernel-features.h
2454 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
2455 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
2456 kernel-features.h.
2457 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2458 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2459 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
2460 kernel-features.h.
2461 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2462 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2463
918b5606
L
24642012-05-25 H.J. Lu <hongjiu.lu@intel.com>
2465
2466 * configure.in: Define the default includes to being none.
2467 * configure: Regenerated.
2468
3a097cc7
RM
24692012-05-25 Roland McGrath <roland@hack.frob.com>
2470
8422c9a5
RM
2471 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
2472 * sysdeps/x86_64/setjmp.S: Likewise.
2473 * sysdeps/i386/bsd-setjmp.S: Likewise.
2474 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2475 * sysdeps/i386/setjmp.S: Likewise.
2476 * sysdeps/i386/__longjmp.S: Likewise.
2477 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2478 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
2479
3a097cc7
RM
2480 * include/stap-probe.h: New file.
2481 * configure.in: Handle --enable-systemtap.
2482 * configure: Regenerated.
2483 * config.h.in (USE_STAP_PROBE): New #undef.
2484 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
2485 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
2486 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2487
21708942
JM
24882012-05-25 Joseph Myers <joseph@codesourcery.com>
2489
2490 [BZ #13717]
2491 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2492 to 2.4.0 where earlier.
2493 * sysdeps/unix/sysv/linux/configure: Regenerated.
2494 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2495 <kernel-features.h>.
2496 [__ASSUME_32BITUIDS]: Make code unconditional.
2497 [!__ASSUME_32BITUIDS]: Remove conditional code.
2498 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
2499 <kernel-features.h>.
2500 [__ASSUME_32BITUIDS]: Make code unconditional.
2501 [!__ASSUME_32BITUIDS]: Remove conditional code.
2502 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
2503 [__ASSUME_32BITUIDS]: Make code unconditional.
2504 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
2505 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
2506 <kernel-features.h>.
2507 [__ASSUME_32BITUIDS]: Make code unconditional.
2508 [!__ASSUME_32BITUIDS]: Remove conditional code.
2509 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
2510 <kernel-features.h>.
2511 [__ASSUME_32BITUIDS]: Make code unconditional.
2512 [!__ASSUME_32BITUIDS]: Remove conditional code.
2513 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
2514 <kernel-features.h>.
2515 [__ASSUME_32BITUIDS]: Make code unconditional.
2516 [!__ASSUME_32BITUIDS]: Remove conditional code.
2517 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
2518 <kernel-features.h>.
2519 [__ASSUME_32BITUIDS]: Make code unconditional.
2520 [!__ASSUME_32BITUIDS]: Remove conditional code.
2521 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2522 <kernel-features.h>.
2523 [__ASSUME_32BITUIDS]: Make code unconditional.
2524 [!__ASSUME_32BITUIDS]: Remove conditional code.
2525 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2526 <kernel-features.h>.
2527 [__ASSUME_32BITUIDS]: Make code unconditional.
2528 [!__ASSUME_32BITUIDS]: Remove conditional code.
2529 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
2530 <kernel-features.h>.
2531 [__ASSUME_32BITUIDS]: Make code unconditional.
2532 [!__ASSUME_32BITUIDS]: Remove conditional code.
2533 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2534 <kernel-features.h>.
2535 [__ASSUME_32BITUIDS]: Make code unconditional.
2536 [!__ASSUME_32BITUIDS]: Remove conditional code.
2537 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2538 <kernel-features.h>.
2539 [__ASSUME_32BITUIDS]: Make code unconditional.
2540 [!__ASSUME_32BITUIDS]: Remove conditional code.
2541 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
2542 <kernel-features.h>.
2543 [__ASSUME_32BITUIDS]: Make code unconditional.
2544 [!__ASSUME_32BITUIDS]: Remove conditional code.
2545 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
2546 <kernel-features.h>.
2547 [__NR_setresgid] (__setresgid): Do not declare.
2548 [__ASSUME_32BITUIDS]: Make code unconditional.
2549 [!__ASSUME_32BITUIDS]: Remove conditional code.
2550 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
2551 <kernel-features.h>.
2552 [__NR_setresuid] (__setresuid): Do not declare.
2553 [__ASSUME_32BITUIDS]: Make code unconditional.
2554 [!__ASSUME_32BITUIDS]: Remove conditional code.
2555 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
2556 <kernel-features.h>.
2557 [__ASSUME_32BITUIDS]: Make code unconditional.
2558 [!__ASSUME_32BITUIDS]: Remove conditional code.
2559 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
2560 <kernel-features.h>.
2561 [__ASSUME_32BITUIDS]: Make code unconditional.
2562 [!__ASSUME_32BITUIDS]: Remove conditional code.
2563 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
2564 <kernel-features.h>.
2565 [__ASSUME_32BITUIDS]: Make code unconditional.
2566 [!__ASSUME_32BITUIDS]: Remove conditional code.
2567 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
2568 <kernel-features.h>.
2569 [__ASSUME_32BITUIDS]: Make code unconditional.
2570 [!__ASSUME_32BITUIDS]: Remove conditional code.
2571 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
2572 <kernel-features.h>.
2573 [__ASSUME_32BITUIDS]: Make code unconditional.
2574 [!__ASSUME_32BITUIDS]: Remove conditional code.
2575 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
2576 <kernel-features.h>.
2577 [__ASSUME_32BITUIDS]: Make code unconditional.
2578 [!__ASSUME_32BITUIDS]: Remove conditional code.
2579 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
2580 <kernel-features.h>.
2581 [__ASSUME_32BITUIDS]: Make code unconditional.
2582 [!__ASSUME_32BITUIDS]: Remove conditional code.
2583 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
2584 <kernel-features.h>.
2585 [__ASSUME_32BITUIDS]: Make code unconditional.
2586 [!__ASSUME_32BITUIDS]: Remove conditional code.
2587 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
2588 <kernel-features.h>.
2589 [__ASSUME_32BITUIDS]: Make code unconditional.
2590 [!__ASSUME_32BITUIDS]: Remove conditional code.
2591 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2592 <kernel-features.h>.
2593 [__ASSUME_32BITUIDS]: Make code unconditional.
2594 [!__ASSUME_32BITUIDS]: Remove conditional code.
2595 * sysdeps/unix/sysv/linux/kernel-features.h
2596 (__ASSUME_SETRESUID_SYSCALL): Remove.
2597 (__ASSUME_SETRESGID_SYSCALL): Likewise.
2598 (__ASSUME_32BITUIDS): Likewise.
2599 (__ASSUME_LDT_WORKS): Likewise.
2600 (__ASSUME_O_DIRECTORY): Likewise.
2601 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
2602 architecture but not kernel version.
2603 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2604 (__ASSUME_MMAP2_SYSCALL): Likewise.
2605 (__ASSUME_STAT64_SYSCALL): Likewise.
2606 (__ASSUME_IPC64): Likewise.
2607 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
2608 <kernel-features.h>.
2609 [__ASSUME_32BITUIDS]: Make code unconditional.
2610 [!__ASSUME_32BITUIDS]: Remove conditional code.
2611 * sysdeps/unix/sysv/linux/opendir.c: Do not include
2612 <kernel-features.h>.
2613 [__ASSUME_O_DIRECTORY]: Make code unconditional.
2614 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
2615 132096]: Remove conditional code.
2616 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
2617 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2618 <kernel-features.h>.
2619 [__ASSUME_32BITUIDS]: Make code unconditional.
2620 [!__ASSUME_32BITUIDS]: Remove conditional code.
2621 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2622 <kernel-features.h>.
2623 [__ASSUME_32BITUIDS]: Make code unconditional.
2624 [!__ASSUME_32BITUIDS]: Remove conditional code.
2625 * sysdeps/unix/sysv/linux/setegid.c: Do not include
2626 <kernel-features.h>.
2627 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
2628 unconditional.
2629 (__setresgid): Do not declare.
2630 [__ASSUME_32BITUIDS]: Make code unconditional.
2631 [!__ASSUME_32BITUIDS]: Remove conditional code.
2632 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
2633 <kernel-features.h>.
2634 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
2635 unconditional.
2636 (__setresuid): Do not declare.
2637 [__ASSUME_32BITUIDS]: Make code unconditional.
2638 [!__ASSUME_32BITUIDS]: Remove conditional code.
2639 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2640 <kernel-features.h>.
2641 [__ASSUME_32BITUIDS]: Make code unconditional.
2642 [!__ASSUME_32BITUIDS]: Remove conditional code.
2643 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
2644 <kernel-features.h>.
2645 [__ASSUME_32BITUIDS]: Make code unconditional.
2646 [!__ASSUME_32BITUIDS]: Remove conditional code.
2647
a386f1cc
RH
26482012-05-25 Richard Henderson <rth@twiddle.net>
2649
2650 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
2651 dl_hwcap to ifunc resolver.
2652 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
2653 elf_ifunc_invoke.
2654 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
2655 dl_hwcap to ifunc resolver.
2656 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
2657
b6550497
JM
26582012-05-24 Joseph Myers <joseph@codesourcery.com>
2659
2660 [BZ #14153]
2661 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
2662 for |x| <= 2**-26, not 2**-57.
2663 * math/libm-test.inc (acos_test): Do not allow spurious underflow
2664 exception.
2665
b0bc23a1
JL
26662012-05-24 Jeff Law <law@redhat.com>
2667
2668 * stdio-common/Makefile (tests): Add bug25.
2669 * stdio-common/bug25.c: New test.
2670
347c92e9
L
26712012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2672
2673 [BZ #13576]
2674 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
2675 multiple of MALLOC_ALIGNMENT in size.
2676 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
2677
6bcc8b3f
JM
26782012-05-24 Joseph Myers <joseph@codesourcery.com>
2679
2680 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
2681 Require >= 256.
2682 (FILENAME_MAX): Use macro-int-constant.
2683 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
2684 (_IOFBF): Use macro-int-constant.
2685 (_IOLBF): Likewise.
2686 (_IONBF): Likewise.
2687 (SEEK_CUR): Likewise.
2688 (SEEK_END): Likewise.
2689 (SEEK_SET): Likewise.
2690 (TMP_MAX): Likewise.
2691 (EOF): Use macro-int-constant. Require < 0.
2692 (NULL): Use macro-constant. Require == 0.
2693 (stdin): Require type to be FILE *.
2694 (stdout): Likewise.
2695 (stderr): Likewise.
2696 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
2697 macro-int-constant.
2698 (EXIT_SUCCESS): Likewise.
2699 (NULL): Use macro-constant. Require == 0.
2700 (RAND_MAX): Use macro-int-constant.
2701 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
2702 [C99-based standards] (strtof): Require function.
2703 [C99-based standards] (strtold): Likewise.
2704 [C99-based standards] (strtoll): Likewise.
2705 [C99-based standards] (strtoull): Likewise.
2706 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2707 [ISO || ISO99 || ISO11] (limits.h): Likewise.
2708 [ISO || ISO99 || ISO11] (math.h): Likewise.
2709 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
2710 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2711 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2712
d18ea0c5
AS
27132012-05-24 Andreas Schwab <schwab@linux-m68k.org>
2714
2715 [BZ #14132]
56d25bb8
AS
2716 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
2717 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
2718 * intl/dgettext.c (DCGETTEXT): Likewise.
2719 * intl/gettext.c (DCGETTEXT): Likewise.
2720 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
2721 * posix/regex_internal.h (gettext): Likewise.
2722 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
2723 Remove declaration.
2724 * include/argz.h (__argz_count_internal)
2725 (__argz_stringify_internal): Remove declaration.
2726 (__argz_count, __argz_stringify): Declare hidden proto.
2727 * intl/dcgettext.c: Remove use of INTDEF.
2728 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
2729 * string/argz-stringify.c: Likewise.
2730 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2731 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2732 Declare hidden proto.
d18ea0c5
AS
2733 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2734 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2735 Declare hidden proto.
2736 * include/stdio.h (__asprintf_internal): Don't declare.
2737 (__asprintf): Don't define as macro. Declare hidden proto.
2738 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
2739 (__fsetlocking): Declare hidden proto.
2740 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
2741 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
2742 hidden proto.
2743 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
2744 (_IO_setlinebuf): Remove use of INTUSE.
2745 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
2746 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
2747 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
2748 Remove declaration.
2749 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
2750 (_IO_do_flush): Remove use of INTUSE.
2751 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
2752 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
2753 (_IO_adjust_column, _IO_least_wmarker)
2754 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
2755 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
2756 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
2757 (_IO_default_doallocate, _IO_wdefault_doallocate)
2758 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
2759 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
2760 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
2761 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
2762 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
2763 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
2764 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
2765 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
2766 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
2767 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
2768 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
2769 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
2770 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
2771 proto.
2772 (_IO_flush_all_internal, _IO_adjust_column_internal)
2773 (_IO_default_uflow_internal, _IO_default_finish_internal)
2774 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
2775 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
2776 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
2777 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
2778 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
2779 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
2780 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
2781 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
2782 (_IO_file_close_internal, _IO_file_close_it_internal)
2783 (_IO_file_underflow_internal, _IO_file_overflow_internal)
2784 (_IO_file_init_internal, _IO_file_attach_internal)
2785 (_IO_file_fopen_internal, _IO_file_read_internal)
2786 (_IO_file_sync_internal, _IO_file_seek_internal)
2787 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
2788 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
2789 (_IO_str_underflow_internal, _IO_str_overflow_internal)
2790 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
2791 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
2792 (_IO_list_all_internal, _IO_link_in_internal)
2793 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
2794 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
2795 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
2796 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
2797 (_IO_do_write_internal, _IO_padn_internal)
2798 (_IO_getline_info_internal, _IO_getline_internal)
2799 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
2800 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
2801 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
2802 (_IO_vfscanf_internal, _IO_vfprintf_internal)
2803 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
2804 (_IO_init_internal, _IO_un_link_internal): Don't declare.
2805 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
2806 with libc_hidden_ver, remove use of INTUSE.
2807 * libio/genops.c: Likewise.
2808 * libio/freopen.c: Likewise.
2809 * libio/freopen64.c: Likewise.
2810 * libio/iofclose.c: Likewise.
2811 * libio/iofdopen.c: Likewise.
2812 * libio/iofflush.c: Likewise.
2813 * libio/iofflush_u.c: Likewise.
2814 * libio/iofgets.c: Likewise.
2815 * libio/iofgets_u.c: Likewise.
2816 * libio/iofopen.c: Likewise.
2817 * libio/iofopncook.c: Likewise.
2818 * libio/iofread.c: Likewise.
2819 * libio/iofread_u.c: Likewise.
2820 * libio/ioftell.c: Likewise.
2821 * libio/iofwrite.c: Likewise.
2822 * libio/iogetline.c: Likewise.
2823 * libio/iogets.c: Likewise.
2824 * libio/iogetwline.c: Likewise.
2825 * libio/iopadn.c: Likewise.
2826 * libio/iopopen.c: Likewise.
2827 * libio/ioseekoff.c: Likewise.
2828 * libio/ioseekpos.c: Likewise.
2829 * libio/iosetbuffer.c: Likewise.
2830 * libio/iosetvbuf.c: Likewise.
2831 * libio/ioungetc.c: Likewise.
2832 * libio/ioungetwc.c: Likewise.
2833 * libio/iovdprintf.c: Likewise.
2834 * libio/iovsprintf.c: Likewise.
2835 * libio/iovsscanf.c: Likewise.
2836 * libio/memstream.c: Likewise.
2837 * libio/obprintf.c: Likewise.
2838 * libio/oldfileops.c: Likewise.
2839 * libio/oldiofclose.c: Likewise.
2840 * libio/oldiofdopen.c: Likewise.
2841 * libio/oldiofopen.c: Likewise.
2842 * libio/oldiopopen.c: Likewise.
2843 * libio/oldstdfiles.c: Likewise.
2844 * libio/putc.c: Likewise.
2845 * libio/setbuf.c: Likewise.
2846 * libio/setlinebuf.c: Likewise.
2847 * libio/stdfiles.c: Likewise.
2848 * libio/strops.c: Likewise.
2849 * libio/vasprintf.c: Likewise.
2850 * libio/vscanf.c: Likewise.
2851 * libio/vsnprintf.c: Likewise.
2852 * libio/vswprintf.c: Likewise.
2853 * libio/wfiledoalloc.c: Likewise.
2854 * libio/wfileops.c: Likewise.
2855 * libio/wgenops.c: Likewise.
2856 * libio/wmemstream.c: Likewise.
2857 * libio/wstrops.c: Likewise.
2858 * libio/__fpurge.c: Likewise.
2859 * libio/__fsetlocking.c: Likewise.
2860 * assert/assert.c: Likewise.
2861 * debug/fgets_chk.c: Likewise.
2862 * debug/fgets_u_chk.c: Likewise.
2863 * debug/fread_chk.c: Likewise.
2864 * debug/fread_u_chk.c: Likewise.
2865 * debug/gets_chk.c: Likewise.
2866 * debug/obprintf_chk.c: Likewise.
2867 * debug/vasprintf_chk.c: Likewise.
2868 * debug/vdprintf_chk.c: Likewise.
2869 * debug/vsnprintf_chk.c: Likewise.
2870 * debug/vsprintf_chk.c: Likewise.
2871 * malloc/mtrace.c: Likewise.
2872 * misc/error.c: Likewise.
2873 * misc/syslog.c: Likewise.
2874 * stdio-common/asprintf.c: Likewise.
2875 * stdio-common/fxprintf.c: Likewise.
2876 * stdio-common/getw.c: Likewise.
2877 * stdio-common/isoc99_fscanf.c: Likewise.
2878 * stdio-common/isoc99_scanf.c: Likewise.
2879 * stdio-common/isoc99_vfscanf.c: Likewise.
2880 * stdio-common/isoc99_vscanf.c: Likewise.
2881 * stdio-common/isoc99_vsscanf.c: Likewise.
2882 * stdio-common/printf-prs.c: Likewise.
2883 * stdio-common/printf_fp.c: Likewise.
2884 * stdio-common/printf_fphex.c: Likewise.
2885 * stdio-common/printf_size.c: Likewise.
2886 * stdio-common/putw.c: Likewise.
2887 * stdio-common/scanf.c: Likewise.
2888 * stdio-common/sprintf.c: Likewise.
2889 * stdio-common/tmpfile.c: Likewise.
2890 * stdio-common/vfprintf.c: Likewise.
2891 * stdio-common/vfscanf.c: Likewise.
2892 * stdlib/strfmon_l.c: Likewise.
2893 * sunrpc/openchild.c: Likewise.
2894 * sunrpc/xdr_stdio.c: Likewise.
2895 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
2896 * sysdeps/mach/hurd/tmpfile.c: Likewise.
2897
d6c33fda
RM
28982012-05-24 Roland McGrath <roland@hack.frob.com>
2899
c1487492
RM
2900 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2901
2902 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
2903 in the third column, to generate for the shared library an IFUNC
2904 that uses _dl_vdso_vsym.
2905 * Makerules (COMPILE.c, compile-stdin.c): New variables.
2906 * Makeconfig (object-suffixes-noshared): New variable.
2907
2908 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
2909 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
2910 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
2911 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
2912
d6c33fda
RM
2913 [BZ #14132]
2914 * include/sys/time.h (__gettimeofday): Remove macro.
2915 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
2916 * time/gettimeofday.c (__gettimeofday): Remove #undef.
2917 Remove INTDEF.
2918 (__gettimeofday): Add libc_hidden_def.
2919 (gettimeofday): Add libc_hidden_weak.
2920 * sysdeps/mach/gettimeofday.c: Likewise.
2921 * sysdeps/posix/gettimeofday.c: Likewise.
2922 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2923 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2924 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
2925 (__gettimeofday_internal): Remove strong_alias.
2926 (__gettimeofday): Add libc_hidden_def.
2927 (gettimeofday): Add libc_hidden_weak.
2928 * sysdeps/unix/syscalls.list (gettimeofday):
2929 Remove __gettimeofday_internal alias.
2930
b5a2bbe6
L
29312012-05-24 Daniel Jacobowitz <drow@false.org>
2932 H.J. Lu <hongjiu.lu@intel.com>
2933
2934 [BZ #12495]
2935 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
2936 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
2937 (largebin_index_32_big): New.
2938 (largebin_index): Use it for 16-byte alignment.
2939 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
2940 correction with front_misalign.
2941
cfba4fda
L
29422012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2943
7f907421
L
2944 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
2945 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2946 Likewise.
2947 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
2948 Likewise.
2949 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2950 Likewise.
2951 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
2952 Likewise.
2953 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
2954 Likewise.
2955 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
2956 Likewise.
2957 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
2958 Likewise.
2959 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2960 Likewise.
2961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
2962 Likewise.
2963 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
2964 Likewise.
2965 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2966 Likewise.
2967 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
2968 Likewise.
2969
cfba4fda
L
2970 * scripts/data/c++-types-x32-linux-gnu.data: New file.
2971 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
2972
80bad0cc
JM
29732012-05-24 Joseph Myers <joseph@codesourcery.com>
2974
7a25eb06
JM
2975 [BZ #10846]
2976 [BZ #14036]
2977 * math/libm-test.inc (exp_test): Add test from bug 14036.
2978 (pow_test): Add test from bug 10846.
2979
795405f9
JM
2980 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
2981 and other flags.
2982 (special_function): Do not include flags in test name.
2983 (parse_args): Likewise.
2984 * sysdeps/i386/fpu/libm-test-ulps: Update.
2985 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2986 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2987 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2989
80bad0cc
JM
2990 * math/gen-libm-test.pl (%beautify): Add entries for underflow
2991 exceptions.
2992 * math/libm-test.inc ("Philosophy"): Update comment about
2993 exception testing.
2994 (UNDERFLOW_EXCEPTION): New macro.
2995 (UNDERFLOW_EXCEPTION_OK): Likewise.
2996 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2997 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2998 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2999 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3000 (INVALID_EXCEPTION_OK): Update value.
3001 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3002 (OVERFLOW_EXCEPTION_OK): Likewise.
3003 (IGNORE_ZERO_INF_SIGN): Likewise.
3004 (test_exceptions): Handle underflow exceptions.
3005 (acos_test): Update for underflow exception expectations.
3006 (cexp_test): Likewise.
3007 (clog_test): Likewise.
3008 (clog10_test): Likewise.
3009 (csqrt_test): Likewise.
3010 (ctan_test): Likewise.
3011 (ctanh_test): Likewise.
3012 (exp_test): Likewise.
3013 (exp10_test): Likewise.
3014 (exp2_test): Likewise.
3015 (expm1_test): Likewise.
3016 (fma_test): Likewise.
3017 (j0_test): Likewise.
3018 (jn_test): Likewise.
3019 (nexttoward_test): Likewise.
3020 (pow_test): Likewise.
3021 (scalbn_test): Likewise.
3022 (scalbln_test): Likewise.
3023 (tan_test): Likewise.
3024 (y1_test): Likewise.
3025 * sysdeps/i386/fpu/libm-test-ulps: Update.
3026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3027
9e0e3d0b
DM
30282012-05-23 David S. Miller <davem@davemloft.net>
3029
3030 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3031 (__libc_sigaction): Remove unused local variables.
3032
ccd0a08f
L
30332012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3034
3035 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3036
62bdf9a6
PE
30372012-05-23 Paul Eggert <eggert@cs.ucla.edu>
3038
f8591f80
PE
3039 mktime: avoid signed integer overflow
3040 * time/mktime.c (__mktime_internal): Do not mishandle the case
3041 where diff == INT_MIN.
3042
94c7d826
PE
3043 mktime: simplify computation of average
3044 * time/mktime.c (ranged_convert): Use new time_t_avg function
3045 instead of rolling our own (probably-slower) code.
3046
ce73d683
PE
3047 mktime: do not assume signed right shift propagates sign bit
3048 * time/mktime.c (isdst_differ): New static function.
3049 (__mktime_internal): No need to normalize tm_isdst now.
3050 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3051 tm_isdst values.
3052
72a22e59
PE
3053 mktime: merge another wrapv change from gnulib
3054 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3055 from some compilers.
3056
68605433
PE
3057 mktime: remove incorrect attempt at unusual arithmetics
3058 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3059 The code didn't really work on such machines anyway.
3060 (TYPE_MINIMUM): Assume two's complement.
3061 (twos_complement_arithmetic): Verify that long_int and time_t
3062 are two's complement (or unsigned, in the latter case).
3063
03cf7fe3
PE
3064 mktime: check signed shifts on long_int and time_t, too
3065 * time/mktime.c (SHR): Check that shifts work as desired
3066 on the types long_int and time_t too, as SHR is used on
3067 such types.
3068
f04dfbc2
PE
3069 mktime: do not assume 'long' is wide enough
3070 * time/mktime.c (verify): Move decl up.
3071 (long_int): New type.
3072 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3073 to remove assumption in the code that 'long' is wide enough to
3074 store year values. This assumption is not true on x32 and on
3075 some non-glibc platforms.
3076
62bdf9a6
PE
3077 mktime: merge wrapv change from gnulib
3078 * time/mktime.c (WRAPV): New macro.
3079 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3080 (guess_time_tm, __mktime_internal): Do not assume that signed
3081 integer overflow wraps around; modern compilers generate code
3082 where this assumption is no longer valid.
3083
5e292e4f
L
30842012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3085
3086 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3087 Replace "jmp L(pseudo_end)" with "ret".
3088 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3089 Likewise.
3090
8caf8c87
AJ
30912012-05-23 Andreas Jaeger <aj@suse.de>
3092
3093 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3094 * sysdeps/unix/sysv/linux/poll.c: Remove file.
3095
1a09dc56
AJ
30962012-05-23 Andreas Jaeger <aj@suse.de>
3097 Maximilian Attems <max@stro.at>
3098
3099 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3100 New macros.
3101
1c87aba0
L
31022012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3103
3104 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3105 code so that pseudo_end is just ret and the stack pointer is
3106 correct also for static library in error case.
3107
40e45bd5
JM
31082012-05-23 Joseph Myers <joseph@codesourcery.com>
3109
c2670533
JM
3110 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
3111 move to syscalls.list.
3112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3116
40e45bd5
JM
3117 * manual/install.texi (Running make install): Do not mention Linux
3118 kernel version for which pt_chown is not needed.
3119 (Linux): Do not mention problems with nscd with 2.0 kernels.
3120 * INSTALL: Regenerated.
3121
be08eda5
AJ
31222012-05-23 Andreas Jaeger <aj@suse.de>
3123
3124 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3125 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
3126 macro.
3127 * sysdeps/unix/sysv/linux/s390/bits/mman.h
3128 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3129 * sysdeps/unix/sysv/linux/sh/bits/mman.h
3130 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3131 * sysdeps/unix/sysv/linux/i386/bits/mman.h
3132 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3133 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
3134 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3135 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
3136 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3137 * sysdeps/unix/sysv/linux/bits/in.h
3138 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
3139
a6a056bb
RM
31402012-05-22 Roland McGrath <roland@hack.frob.com>
3141
3142 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
3143 (PREPARE_VERSION): Just use assert instead, it will be elided
3144 under [NDEBUG] anyway.
3145
c9009328
L
31462012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3147
3148 * sysdeps/unix/sysv/linux/Makefile: Include
3149 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 3150 (sysdep_routines): Remove sysctl.
c9009328
L
3151 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
3152 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
3153 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
3154 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
3155 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
3156
73338355
AJ
31572012-05-22 Andreas Jaeger <aj@suse.de>
3158
3159 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
3160 that pseudo_end is just ret and the stack pointer is correct also
3161 for static library in error case.
3162
d44638b0
PP
31632012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3164
3165 [BZ #14122]
3166 * nss/nsswitch.c (defconfig_entries): New variable.
3167 (__nss_database_lookup): Don't leak defconfig entries.
3168 (nss_parse_service_list): Don't leak on error paths.
3169 (free_database_entries): New function.
3170 (free_defconfig): New function.
3171 (free_mem): Move common code to free_database_entries.
3172
31a39bd8
L
31732012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3174
da0331a8
L
3175 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
3176 Add arch_prctl.
3177 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
3178
31a39bd8
L
3179 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3180 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
3181 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
3182 New macro.
3183 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3184 (INTERNAL_SYSCALL_TYPES): Likewise.
3185 (LOAD_ARGS_TYPES_[1-6]): Likewise.
3186 (LOAD_REGS_TYPES_[1-6]): Likewise.
3187 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
3188 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
3189
45470df3
AZ
31902012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3191
3192 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
3193 copysignl for GLIBC_2_0.
3194 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
3195 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
3196 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
3197 logbl for GLIBC_2_0.
3198 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3199 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3200
98a61bcb
L
32012012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3202
a4f6e481
L
3203 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
3204 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3205
f63d5db6
L
3206 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3207 Use "neg %eax".
3208
98a61bcb
L
3209 * time/mktime.c: Update copyright years.
3210
95770f14
PE
32112012-05-22 Paul Eggert <eggert@cs.ucla.edu>
3212
6226efbd
PE
3213 mktime: merge comment-quoting-style change from gnulib
3214 * time/mktime.c: Quote 'like this' in comments.
3215 The GNU coding standards suggest that we no longer quote `like this',
3216 as "`" and "'" are typically rendered asymmetrically nowadays.
3217 The typical gnulib style is to quote 'like this' when quoting
3218 code, and "like this" when quoting English.
3219
b99e4f78
PE
3220 * time/mktime.c (compile-command): Add "-I.".
3221
643e01e6
PE
3222 mktime: merge mktime-internal.h change from gnulib
3223 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
3224
2554247d
PE
3225 mktime: merge time_r change from gnulib
3226 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
3227
826dd0ab
PE
3228 mktime: merge DEBUG change from gnulib
3229 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
3230 case system <time.h> has a #define.
3231
bd83aabe
PE
3232 mktime: merge <sys/types.h> change from gnulib
3233 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
3234 since <time.t> is now guaranteed to define time_t.
3235
95770f14
PE
3236 mktime: merge HAVE_CONFIG_H change from gnulib
3237 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
3238
5e1a27a9
L
32392012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3240
0e44a77e
L
3241 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3242 Use "neg %eax".
3243
5e1a27a9
L
3244 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
3245 __rlim_t cast.
3246 (struct rusage): Use anonymous union to pad each field to
3247 __syscall_slong_t.
3248
46259bec
DM
32492012-05-21 David S. Miller <davem@davemloft.net>
3250
3251 * Makefules (o-iterator): Remove .s cases.
3252 (compile-command.s): Delete.
3253 (COMPILE.s): Delete.
3254 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
3255
59f0c22e
JM
32562012-05-21 Joseph Myers <joseph@codesourcery.com>
3257
3258 * configure.in (libc_cv_predef_stack_protector): Only consider
3259 "foobar" and "__stack_chk_fail" lines in libc_undefs.
3260 * configure: Regenerated.
3261
20c07380
L
32622012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3263
bbb3154b
L
3264 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3265 New macro. Use R*LP on int and pointer.
3266 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
3267 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
3268 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
3269 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
3270
20c07380
L
3271 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
3272 [__WORDSIZE_TIME64_COMPAT32] instead of
3273 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
3274 (struct utmp): Likewise.
3275 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
3276 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
3277 Renamed to ...
3278 (__WORDSIZE_TIME64_COMPAT32): This.
3279 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3280 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3281 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
3282 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
3283 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
3284 (__WORDSIZE_TIME64_COMPAT32): New macro.
3285
d8d1017e
AJ
32862012-05-21 Andreas Jaeger <aj@suse.de>
3287
3288 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
3289 only if [SHARED]. Add prototype for __wcschr_ia32.
3290
6c7fb145
RM
32912012-05-21 Roland McGrath <roland@hack.frob.com>
3292
3293 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
3294 of %rbp unmolested in the jmp_buf while mangling the low bits.
3295 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
3296 unmolested high bits of %rbp while demangling the low bits.
3297 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3298
66274218
AJ
32992012-05-21 Andreas Jaeger <aj@suse.de>
3300
07c58f8f
AJ
3301 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
3302 * sunrpc/svc_simple.c: Use it for registerrpc.
3303 * sunrpc/xcrypt.c: Use it for passwd2des.
3304
66274218
AJ
3305 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
3306
61f65140
L
33072012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3308
3309 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
3310 Don't define if [__SYSCALL_WORDSIZE != 32].
3311 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
3312 New macro.
3313
5fefb436
AJ
33142012-05-21 Bruno Haible <bruno@clisp.org>
3315 Andreas Jaeger <aj@suse.de>
3316
3317 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
3318 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
3319 inptr and inend for must_buffer_ch.
3320 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
3321 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
3322 * stdio-common/Makefile (tests): Remove bug15.
3323 (bug15-ENV): Remove macro.
3324 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
3325 anymore.
3326
d8e272ab
AJ
33272012-05-19 Andreas Jaeger <aj@suse.de>
3328 Roland McGrath <roland@hack.frob.com>
3329
3330 * manual/contrib.texi: Completely rewritten. It contains now an
3331 alphabetical list of contributors and their contributions.
3332
4a56a162
RH
33332012-05-21 Richard Henderson <rth@twiddle.net>
3334
3335 * misc/getauxval.c (__getauxval): Use unsigned long int.
3336 * misc/sys/auxv.h: Include <sys/cdefs.h>.
3337 (getauxval): Use unsigned long int.
3338
d024d23c
L
33392012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3340
3341 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3342
cbc00a03
RM
33432012-05-21 Roland McGrath <roland@hack.frob.com>
3344
3345 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
3346 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
3347 __alignof__ (long double).
3348
478143fa
AZ
33492012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3350
3351 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3352
c7683a6d
RH
33532012-05-20 Richard Henderson <rth@twiddle.net>
3354
3355 * misc/getauxval.c: New file.
3356 * misc/sys/auxv.h: New file.
3357 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
3358 (routines): Add getauxval.
3359 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
3360 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
3361 * elf/dl-sysdep.c (_dl_auxv): Remove.
3362 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
3363 * elf/dl-support.c (_dl_auxv): New variable.
3364 (_dl_aux_init): Initialize it.
3365 * manual/startup.texi (Auxiliary Vector): New node.
3366 * sysdeps/generic/bits/hwcap.h: New file.
3367 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
3368 * sysdeps/powerpc/sysdep.h: ... here. Include it.
3369 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
3370 * sysdeps/sparc/sysdep.h: ... here. Include it.
3371 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
3372 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
3373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3374 Update.
c7683a6d
RH
3375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
3376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
3377 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
3378 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
3379 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3380 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3381 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
3382 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
3383
a6f1845d
AZ
33842012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3385
3386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3387
cbcbe830
DM
33882012-05-19 David S. Miller <davem@davemloft.net>
3389
3390 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3391
e0b16cc2
JM
33922012-05-19 Joseph Myers <joseph@codesourcery.com>
3393
3394 [BZ #14123]
3395 * math/s_ccosh.c: Include <float.h>
3396 (__ccosh): Avoid internal overflow calculating sinh and cosh
3397 values before multiplying by sin and cos values.
3398 * math/s_ccoshf.c: Likewise.
3399 * math/s_ccoshl.c: Likewise.
3400 * math/s_csin.c: Likewise.
3401 * math/s_csinf.c: Likewise.
3402 * math/s_csinl.c: Likewise.
3403 * math/s_csinh.c: Likewise.
3404 * math/s_csinhf.c: Likewise.
3405 * math/s_csinhl.c: Likewise.
3406 * math/libm-test.inc (ccos_test): Add more tests.
3407 (ccosh_test): Likewise.
3408 (csin_test): Likewise.
3409 (csinh_test): Likewise.
3410 * sysdeps/i386/fpu/libm-test-ulps: Update.
3411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3412
6ad13e08
L
34132012-05-19 H.J. Lu <hongjiu.lu@intel.com>
3414
f66f0ce8
L
3415 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
3416 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3417
6ad13e08
L
3418 * sysdeps/x86_64/x32/_itoa.h: Add comment.
3419
b1d072a7
JM
34202012-05-19 Joseph Myers <joseph@codesourcery.com>
3421
3422 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
3423 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
3424 * sysdeps/powerpc/soft-fp/Versions: Likewise.
3425 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
3426 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
3427 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
3428 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
3429 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
3430 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
3431 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
3432 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
3433 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
3434 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
3435 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
3436 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
3437 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
3438 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
3439 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
3440 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
3441 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
3442 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
3443 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
3444 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
3445 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
3446 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
3447 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
3448 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
3449 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
3450 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
3451 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
3452 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
3453
9eae47cb
AJ
34542012-05-18 Andreas Jaeger <aj@suse.de>
3455
3456 * csu/.gitignore: Delete.
3457
bb07f69f
L
34582012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3459
3460 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
3461 (timex): Use __syscall_slong_t.
3462
e6bdb741
AJ
34632012-05-18 Andreas Jaeger <aj@suse.de>
3464 Carlos O'Donell <carlos_odonell@mentor.com>
3465
3466 * manual/install.texi (Configuring and compiling): Update
3467 description about files modified in the source directory.
d6c33fda 3468 * INSTALL: Regenerated.
e6bdb741 3469
1b74487e
L
34702012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3471
3472 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
3473 value. Use "or" to set return value to -1.
3474 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
3475 negate return value.
3476
a88b64b9
TMQMF
34772012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3478
3479 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
3480 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
3481 failure if the compiler has Graphite support disabled.
3482 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
3483 Likewise.
3484 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
3485 CFLAGS-memmove.c): Likewise.
3486 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
3487 Likewise.
3488
3707636e
L
34892012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3490
610b8622
L
3491 * sysdeps/x86_64/x32/_itoa.h: New file.
3492
7cd195df
L
3493 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
3494 getdents system call only if kernel and user dirents have the
3495 same d_ino and d_off.
3496
94b07d20
L
3497 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3498 LLONG_MAX != LONG_MAX.
3499 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3500 (_fitoa_word): Likewise.
3501
18298070
L
3502 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
3503 years.
3504 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
3505 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
3506 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
3507
553c7ea4
L
3508 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
3509 include <bits/wordsize.h>. Check __x86_64__ instead of
3510 __WORDSIZE.
3511 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
3512 if __x86_64__ is defined. Use anonymous union on fpstate.
3513
3707636e
L
3514 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
3515 anonymous union.
3516
b53ef01a
AS
35172012-05-18 Andreas Schwab <schwab@linux-m68k.org>
3518
37fb1dc0
AS
3519 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3520 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
3521 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
3522 Refer to _rtld_local_ro instead of _rtld_global_ro.
3523 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
3524 Likewise.
3525 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
3526 Likewise.
3527 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
3528 Likewise.
3529 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
3530 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
3531 of _rtld_global, and rtld_progname instead of _dl_argv[0].
3532
b53ef01a
AS
3533 * sysdeps/powerpc/powerpc32/dl-machine.c
3534 (__elf_machine_runtime_setup) [PROF]: Don't reference
3535 _dl_prof_resolve.
3536
7a185db2
AJ
35372012-05-18 Andreas Jaeger <aj@suse.de>
3538
3539 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
3540 function only available for GCCs before 3.4 since GCC 3.4
3541 introduced a builtin.
3542 (lrint): Likewise.
3543 (llrintf): Likewise.
3544 (llrint): Likewise.
3545 (fmaxf): Likewise.
3546 (fmax): Likewise.
3547 (fminf): Likewise.
3548 (fmin): Likewise.
3549 (rint): Likewise.
3550 (rintf): Likewise.
3551 (nearbyint): Likewise.
3552 (nearbyintf): Likewise.
3553 (ceil): Likewise.
3554 (ceilf): Likewise.
3555 (floor): Likewise.
3556 (floorf): Likewise.
3557
3e5aef87
L
35582012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3559
428bd707
L
3560 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
3561 on both fields and cast pointer to __syscall_ulong_t.
3562
3e5aef87
L
3563 * bits/types.h (__fsword_t): New type.
3564 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
3565 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
3566 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3567 (__FSWORD_T_TYPE): Likewise.
3568 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3569 (__FSWORD_T_TYPE): Likewise.
3570 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3571 (__FSWORD_T_TYPE): Likewise.
3572 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
3573 (__FSWORD_T_TYPE): Likewise.
3574 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
3575 __SWORD_TYPE with __fsword_t.
3576 (statfs64): Likewise.
3577
1ba7c3dc
DM
35782012-05-17 David S. Miller <davem@davemloft.net>
3579
3580 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
3581
59910343
AJ
35822012-05-17 Andreas Jaeger <aj@suse.de>
3583
3584 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
3585 warning.
3586
2e4c1e9e
L
35872012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3588
3589 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
3590
de7f5ce7
AJ
35912012-05-17 Andreas Jaeger <aj@suse.de>
3592
3593 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
3594 when it is used.
3595
286abc3d
CM
35962012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3597
3598 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
3599
477cc68e
L
36002012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3601
3602 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
3603 * sysdeps/x86_64/tst-mallocalign1.c: New file.
3604
1a0994f5
CD
36052012-05-17 Andreas Jaeger <aj@suse.de>
3606 Carlos O'Donell <carlos_odonell@mentor.com>
3607
3608 [BZ #14059]
3609 * sysdeps/x86_64/multiarch/init-arch.h
3610 (bit_YMM_Usable): Rename to...
3611 (bit_AVX_Usable): ... this.
3612 (bit_FMA4_Usable): New macro.
3613 (bit_XMM_state): New macro.
3614 (bit_YMM_state): New macro.
3615 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
3616 [__ASSEMBLER__] (index_AVX_Usable): ... this.
3617 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
3618 (CPUID_OSXSAVE): New macro.
3619 (CPUID_AVX): New macro.
3620 (CPUID_FMA4): New macro.
3621 (index_YMM_Usable): Rename to...
3622 (index_AVX_Usable): ... this.
3623 (HAS_AVX): Use HAS_ARCH_FEATURE.
3624 (HAS_FMA4): Likewise.
3625 (HAS_YMM_USABLE): Remove.
3626 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3627 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
3628 are present.
3629 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
3630 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
3631 * sysdeps/x86_64/multiarch/Makefile: Likewise.
3632 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
3633 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
3634
0af797de
CM
36352012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3636
3637 * math/libm-test.c: Support platforms without multiple rounding modes.
3638 * math/bug-nextafter.c: Support platforms without FP exceptions.
3639 * math/bug-nexttoward.c: Likewise.
3640 * math/test-fenv.c: Likewise.
3641 * math/test-misc.c: Likewise.
3642 * stdlib/bug-getcontext.c: Likewise.
3643
e39745ff
AJ
36442012-05-17 Andreas Jaeger <aj@suse.de>
3645
3646 * manual/examples/search.c (critter_cmp): Change signature to
3647 avoid warnings.
3648 * manual/string.texi (Collation Functions): Likewise.
3649
48970aba
L
36502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3651
3652 * bits/types.h: Fold copyright years.
3653 * bits/typesizes.h: Likewise.
3654 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
3655 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
3656 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
3657 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
3658 * time/time.h: Likewise.
3659
bedee953
PP
36602012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3661
3662 [BZ #208]
3663 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
3664 in instead of returning them. Return void.
3665 (__libc_mallinfo): Accumulate over all arenas.
3666 (__malloc_stats): Adjust for change in int_mallinfo interface.
3667
61653dfb
RM
36682012-05-16 Roland McGrath <roland@hack.frob.com>
3669
30b99d79
RM
3670 [BZ #10375]
3671 * configure.in (NM): Add AC_CHECK_TOOL for it.
3672 (libc_extra_cflags): New substituted variable.
3673 Check for -fstack-protector being used implicitly.
3674 * configure: Regenerated.
3675 * config.make.in (config-extra-cflags): New variable,
3676 gets @libc_extra_cflags@.
3677 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
3678
61653dfb
RM
3679 [BZ #10375]
3680 * configure.in: Check for _FORTIFY_SOURCE being predefined.
3681 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
3682 * configure: Regenerated.
3683 * config.make.in (CPPUNDEFS): New substituted variable.
3684 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
3685 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
3686 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
3687
661768bb
L
36882012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3689
3690 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
3691 (mq_attr): Use __syscall_slong_t.
3692
d4261567
L
36932012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3694
3695 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
3696 Check __x86_64__ instead of __WORDSIZE.
3697 (_STAT_VER_LINUX): Likewise.
3698 (stat): Check __x86_64__ instead of __WORDSIZE. Use
3699 __syscall_ulong_t and __syscall_slong_t.
3700 (stat64): Likewise.
3701
cf3ff365
L
37022012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3703
3704 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
3705
76cf3e4d
L
37062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3707
3708 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
3709
a637753a
L
37102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3711
3712 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
3713 __syscall_ulong_t.
3714
d5e05119
L
3715 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
3716 include <bits/wordsize.h>. Check __x86_64__ instead of
3717 __WORDSIZE.
3718 (greg_t): Use "__extension__ long long int" if __x86_64__ is
3719 defined.
3720 (mcontext_t): Replace "unsigned long" with "unsigned long long".
3721
f62ee380
L
3722 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
3723 include <bits/wordsize.h>. Check __x86_64__ instead of
3724 __WORDSIZE.
3725 (user_regs_struct): Use "__extension__ unsigned long long"
3726 instead of "unsigned long" if __x86_64__ is defined.
3727 (user): Likewise. Pad after pointer field if __ILP32__ is
3728 defined.
3729
4e124ced
JM
37302012-05-16 Joseph Myers <joseph@codesourcery.com>
3731
6a3951a0
JM
3732 * configure.in (makeinfo): Require version 4.5 or later. Allow
3733 versions 5 to 9.
3734 * configure: Regenerated.
3735 * manual/install.texi (texinfo): Increase version requirement to
3736 4.5 or later.
3737 * INSTALL: Regenerated.
3738
4e124ced
JM
3739 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
3740
953ca31a
L
37412012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3742
3743 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
3744
617aca05
L
3745 * sysdeps/x86_64/x32/ffs.c: New file.
3746
5762f7ae
L
3747 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
3748 __syscall_ulong_t.
3749 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
3750 defined. Use __syscall_ulong_t.
3751 (shminfo): Use __syscall_ulong_t.
3752 (shm_info): Likewise.
3753
a26b6856
L
3754 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
3755 __syscall_ulong_t.
3756
cb2b9ef7
L
3757 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
3758 <bits/wordsize.h>.
3759 (msgqnum_t): Use __syscall_ulong_t.
3760 (msglen_t): Likewise.
3761 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
3762 __syscall_ulong_t.
3763
34683bb0
L
3764 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
3765 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3766
84a68786
L
3767 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
3768
48baa5f1
L
3769 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
3770 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
3771
180be88b
L
3772 * sysvipc/sys/msg.h (msgbuf): Replace long int with
3773 __syscall_slong_t.
3774
5e90c8ad
L
3775 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
3776 include <bits/wordsize.h>. Check __x86_64__ instead of
3777 __WORDSIZE.
3778
23dfb58b
L
3779 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
3780 "unsigned long long int" if __x86_64__ is defined.
3781 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
3782
ce5d54b0
L
3783 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
3784 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3785 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
3786
13dc9eac
L
3787 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
3788 <stdint.h>.
3789 (GET_PC): Cast to uintptr_t first.
3790 (GET_FRAME): Likewise.
3791 (GET_STACK): Likewise.
3792
a7895d15
L
3793 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
3794 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
3795 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
3796 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
3797 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
3798 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
3799 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
3800 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
3801 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
3802 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
3803 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
3804 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
3805 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3806 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
3807 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
3808 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
3809 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
3810 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
3811 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
3812 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
3813 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
3814 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
3815 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
3816 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
3817 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
3818 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
3819 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
3820 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
3821 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
3822
656416c9
AS
38232012-05-16 Andreas Schwab <schwab@linux-m68k.org>
3824
5bd66283
AS
3825 * Makerules (+depfiles): Also collect depfiles from .oS in
3826 $(extra-objs).
3827 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
3828 .oS, $(libnldbl-routines)).
3829
656416c9
AS
3830 * Makerules (native-compile-mkdep-flags): Define.
3831 * sunrpc/Makefile (extra-objs): Add $(addprefix
3832 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
3833 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
3834 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
3835 calling $(make-target-directory).
3836
a46f2169
L
38372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3838
3839 * bits/types.h (__snseconds_t): Removed.
3840 * time/time.h (struct timespec): Replace __snseconds_t with
3841 __syscall_slong_t.
3842 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
3843 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
3844 Likewise.
3845 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3846 (__SNSECONDS_T_TYPE): Likewise.
3847 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3848 (__SNSECONDS_T_TYPE): Likewise.
3849 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3850 (__SNSECONDS_T_TYPE): Likewise.
3851
6af6528b
L
38522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3853
3854 * sysdeps/mach/hurd/bits/typesizes.h
3855 (__SYSCALL_SLONG_TYPE): New macro.
3856 (__SYSCALL_ULONG_TYPE): Likewise.
3857
de986b56
L
38582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3859
3860 * bits/types.h (__syscall_slong_t): New type.
3861 (__syscall_ulong_t): Likewise.
3862
3863 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
3864 (__SYSCALL_ULONG_TYPE): Likewise.
3865 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3866 (__SYSCALL_SLONG_TYPE): Likewise.
3867 (__SYSCALL_ULONG_TYPE): Likewise.
3868 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3869 (__SYSCALL_SLONG_TYPE): Likewise.
3870 (__SYSCALL_ULONG_TYPE): Likewise.
3871 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3872 (__SYSCALL_SLONG_TYPE): Likewise.
3873 (__SYSCALL_ULONG_TYPE): Likewise.
3874
85736dc7
L
38752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3876
3877 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
3878 Add sigaltstack-offsets.sym.
3879 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
3880 <sigaltstack-offsets.h>.
3881 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
3882 longjmp_msg pointer.
3883 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
3884 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
3885 signal stack.
3886 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
3887
cc03b296
JM
38882012-05-15 Joseph Myers <joseph@codesourcery.com>
3889
a9538892
JM
3890 * elf/stackguard-macros.h: Remove file.
3891 * sysdeps/generic/stackguard-macros.h: New file.
3892 * sysdeps/i386/stackguard-macros.h: Likewise.
3893 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3894 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3895 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3896 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3897 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3898 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3899 * sysdeps/x86_64/stackguard-macros.h: Likewise.
3900 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
3901 <elf/stackguard-macros.h>.
3902
cc03b296
JM
3903 [BZ #14109]
3904 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
3905 __aligned__ in attribute.
3906 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
3907 (gregset_t): Likewise.
3908
93171016
L
39092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3910
3911 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
3912 * sysdeps/x86_64/64/Implies-after: Here. New file.
3913 * sysdeps/x86_64/x32/Implies-after: New file.
3914
d86813a0
L
39152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3916
3917 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
3918 and access return value for _dl_profile_fixup. Use R10_LP to
3919 load frame size.
3920
2953ec75
L
39212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3922
3923 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
3924
3b550e9e
L
39252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3926
3927 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
3928 * sysdeps/x86_64/x32/sysdep.h: New file.
3929
eda41706
L
39302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3931
3932 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
3933 * sysdeps/x86_64/setjmp.S: Likewise.
3934
9ea01d93
AZ
39352012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3936
3937 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
3938 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
3939 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
3940 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
3941 remove unused global constant.
3942
02a91938
CM
39432012-05-15 Chris Metcalf <cmetcalf@tilera.com>
3944
3945 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
3946 include of <not-cancel.h>.
3947
6540185f
RM
39482012-05-15 Roland McGrath <roland@hack.frob.com>
3949
3950 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
3951
509072a0
AJ
39522012-05-15 Jeff Law <law@redhat.com>
3953 Andreas Jaeger <aj@suse.de>
3954
3955 [BZ #13594]
3956 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
3957 out from...
3958 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
3959 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
3960 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
3961 code changing __hst_map_handle.map.
3962
ba75122d
RM
39632012-05-15 Roland McGrath <roland@hack.frob.com>
3964
3965 * configure.in (sysnames): Look for Implies-before and Implies-after
3966 files.
3967 * configure: Regenerated.
3968
890d8bd8
L
39692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3970
3971 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
3972 8-byte data alignment with LP_SIZE alignment.
3973
f6ee6623
L
39742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3975
3976 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
3977 into R10_LP.
3978
ea2626f6
L
39792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3980
3981 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
3982
085f715e
L
39832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3984
3985 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
3986 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
3987 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
3988 Likewise.
3989 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3990
be8498fc
L
39912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3992
3993 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
3994 (stackinfo_sub_sp): Likewise.
3995
70bc83b9
L
39962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3997
3998 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
3999 RAX_LP.
4000
9bc0b730
L
40012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4002
4003 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
4004 into R*_LP.
4005
6d2850e7
L
40062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4007
4008 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
4009 sizes into R*_LP.
4010
3cb84561
L
40112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4012
4013 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4014
54e2ed81
L
40152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4016
4017 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4018 into R11_LP and load __x86_64_shared_cache_size_half into
4019 R8_LP.
4020
8a17f349
L
40212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4022
4023 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4024 R8_LP.
4025
777b1eea
AZ
40262012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4027
4028 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4029 logb for POWER7.
4030 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4031 logbf for POWER7.
4032 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4033 logbl for POWER7.
4034 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4035 powerpc32/power7/fpu/s_logb.c via #include.
4036 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4037 powerpc32/power7/fpu/s_logbf.c via #include.
4038 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4039 powerpc32/power7/fpu/s_logbl.c via #include.
4040
d20d4ac2
JM
40412012-05-15 Joseph Myers <joseph@codesourcery.com>
4042
4043 * README.libm: Remove file.
4044
6cdef1ab
L
40452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4046
4047 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4048 count for x32. Use R*_LP and omit operand-size suffix.
4049
0b254d8f
L
40502012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4051
4052 * shlib-versions: Move x86_64-.*-linux.* entries to ...
4053 * sysdeps/x86_64/64/shlib-versions: Here. New file.
4054 * sysdeps/x86_64/x32/shlib-versions: New file.
4055
ceb809dc
RM
40562012-05-14 Roland McGrath <roland@hack.frob.com>
4057
4058 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4059 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4060 Use _dl_fatal_printf instead.
4061
37f1abd4
JM
40622012-05-14 Joseph Myers <joseph@codesourcery.com>
4063
4064 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4065 set if not set by the user. Do not allow for being unset.
4066 * sysdeps/unix/sysv/linux/configure: Regenerated.
4067
11de3a33
L
40682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4069
4070 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4071 the `q' suffix from lea and replace .quad with ASM_ADDR.
4072
e02f153a
L
40732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4074
4075 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4076 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
4077 instead of $17.
4078 (PTR_DEMANGLE): Likewise.
4079
520ae0fd
L
40802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4081
4082 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4083 (LP_OP): Likewise.
4084 (ASM_ADDR): Likewise.
4085 (RAX_LP): Likewise.
4086 (RBP_LP): Likewise.
4087 (RBX_LP): Likewise.
4088 (RCX_LP): Likewise.
4089 (RDI_LP): Likewise.
4090 (RSI_LP): Likewise.
4091 (RSP_LP): Likewise.
4092 (R8_LP): Likewise.
4093 (R9_LP): Likewise.
4094 (R10_LP): Likewise.
4095 (R10_LP): Likewise.
4096 (R11_LP): Likewise.
4097 (R12_LP): Likewise.
4098 (R13_LP): Likewise.
4099 (R14_LP): Likewise.
4100 (R15_LP): Likewise.
4101
b985be81
L
41022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4103
4104 * sysdeps/x86_64/x32/dl-machine.h: New file.
4105
6a4888ff
AJ
41062012-05-14 Andreas Jaeger <aj@suse.de>
4107
4108 * manual/Makefile (subdir): Remove export of subdir.
4109 (all): Remove target.
4110 (.PHONY): Remove all from list.
4111 (mkinstalldirs): Remove.
4112 (.PHONY): Remove installdirs from list.
4113 ($(inst_infodir)/libc.info): Use make-target-directory.
4114 (installdirs): Remove.
4115 (subdir_%): Remove.
4116 (glibc-targets): Remove.
4117 (lib): Remove.
4118 (stubs): Remove.
4119 ($(objpfx)stubs ../po/manual.pot): Remove.
4120 ($(objpfx)stamp%): Remove.
4121 (make-target-directory): Remove.
4122 (subdir_install): Remove.
4123 (routines): Remove.
4124 (aux): Remove.
4125 (sources): Remove.
4126 (objects): Remove.
4127 (headers): Remove.
4128
4129 [BZ #13750]
4130 * manual/.gitignore: Remove, it's not needed anymore.
4131 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
4132 all files in it.
4133 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
4134 directory.
4135 (texis): Renamed to $(objpfx)texis.
4136 (texis-path): New, contains path to generated files.
4137 (chapters.%): Use texis-path for complete path, add extra argument
4138 libc-texinfo.sh.
4139 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
4140 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
4141 (summary,texi, stamp-summary): Use complete path of
4142 files. Generate files in build dir.
4143 (dir-add.texi): Build in build dir.
4144 (libm-err.texi,stamp-libm-err): Likewise.
4145 (version.texi, stamp-version): Likewise.
4146 (.%c.texi): Likewise.
4147 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
4148 (mostlyclean): Remove target.
4149 (realclean): Remove target.
4150 (generated): Add new variable with contents from mostlyclean and
4151 realclean, remove entries duplicated in common-mostlyclean, add
4152 stamp-libm-err and stamp-version.
4153 (generated-dirs): Add libc directory.
4154 ($(inst_infodir)/libc.info): Install files from build dir.
4155
4156 * manual/install.texi (Configuring and compiling): Adjust since
4157 the info files are not part of the tar ball anymore.
4158
7ac77294
AJ
41592012-05-14 Andreas Jaeger <aj@suse.de>
4160
4161 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
4162 variable.
4163
ffb7875d
JM
41642012-05-14 Joseph Myers <joseph@codesourcery.com>
4165
4166 [BZ #13717]
4167 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4168 to 2.2.0 where earlier.
4169 * sysdeps/unix/sysv/linux/configure: Regenerated.
4170 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
4171 Remove conditional code.
4172 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
4173 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
4174 Remove conditional code.
4175 [!__NR_lchown]: Likewise.
4176 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4177 [__NR_lchown]: Likewise.
4178 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
4179 comment referencing __ASSUME_LCHOWN_SYSCALL.
4180 * sysdeps/unix/sysv/linux/i386/sigaction.c
4181 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4182 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4183 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
4184 Remove conditional code.
4185 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
4186 (__protocol_available): Remove #if 0 code.
4187 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
4188 conditional code.
4189 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
4190 * sysdeps/unix/sysv/linux/kernel-features.h
4191 (__ASSUME_GETCWD_SYSCALL): Don't define.
4192 (__ASSUME_REALTIME_SIGNALS): Likewise.
4193 (__ASSUME_PREAD_SYSCALL): Likewise.
4194 (__ASSUME_PWRITE_SYSCALL): Likewise.
4195 (__ASSUME_POLL_SYSCALL): Likewise.
4196 (__ASSUME_LCHOWN_SYSCALL): Likewise.
4197 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
4198 non-SPARC.
4199 (__ASSUME_SIOCGIFNAME): Don't define.
4200 (__ASSUME_MSG_NOSIGNAL): Likewise.
4201 (__ASSUME_SENDFILE): Define unconditionally.
4202 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
4203 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
4204 conditional code.
4205 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
4206 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
4207 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4208 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4209 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
4210 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4211 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
4213 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4214 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4216 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4217 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
4219 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4220 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4222 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4223 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
4225 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4226 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4228 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4229 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
4231 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4232 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4234 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4235 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4236 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
4237 Remove conditional code.
4238 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4239 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4240 Remove conditional code.
4241 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4242 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
4243 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
4244 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4245 Remove conditional code.
4246 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4247 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
4248 Remove conditional code.
4249 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4250 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
4251 Remove conditional code.
4252 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4253 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4254 Remove conditional code.
4255 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4256 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4257 Remove conditional code.
4258 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4259 * sysdeps/unix/sysv/linux/sh/pwrite64.c
4260 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4261 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4262 * sysdeps/unix/sysv/linux/sigaction.c
4263 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4264 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4265 * sysdeps/unix/sysv/linux/sigpending.c
4266 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4267 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4268 * sysdeps/unix/sysv/linux/sigprocmask.c
4269 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4270 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4271 * sysdeps/unix/sysv/linux/sigsuspend.c
4272 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4273 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4274 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4275 (__libc_missing_rt_sigs): Remove.
4276 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
4277 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
4278 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
4279 Remove conditional code.
4280 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
4281 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
4282 return 1.
4283 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
4284 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
4285 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
4286 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
4287
1bfb7291
AJ
42882012-05-14 Andreas Jaeger <aj@suse.de>
4289
caae5a81
AJ
4290 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
4291 it's not used in glibc.
4292 (__coshm1): Likewise.
4293 (__acosh1p): Likewise.
4294 (__sgn): Likewise.
4295
1bfb7291
AJ
4296 * manual/string.texi (Copying and Concatenation): Add missing
4297 variable in concat example.
4298 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4299
c044d724
L
43002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4301
144c5467 4302 [BZ #14103]
c044d724
L
4303 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
4304 __builtin_clzl with __builtin_clzll.
4305
2523c62b
L
43062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4307
4308 [BZ #14104]
4309 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
4310 libc_freeres_ptr.
4311
d7bb4c42
LD
43122012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4313
4314 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
4315 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
4316 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
4317 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
4318
9dc4e1fb
MF
43192012-05-14 Mike Frysinger <vapier@gentoo.org>
4320
4321 * NEWS: Update ia64 info.
4322
c7df0112
AS
43232012-05-12 Andreas Schwab <schwab@linux-m68k.org>
4324
4325 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
4326 used as bcopy.
4327
dc70356c
TS
43282012-05-12 Thomas Schwinge <thomas@codesourcery.com>
4329
4330 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
4331 * sysdeps/unix/syscalls.list (dup3): Likewise.
4332 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
4333 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
4334
9fb1a21f
L
43352012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4336
4337 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
4338 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
4339
4822a2a5
L
43402012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4341
4342 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
4343 thread pointer.
4344 (TLS_IE): Use mov/add instead of movq/addq to load thread
4345 pointer.
4346 (TLS_GD_PREFIX): New.
4347 (TLS_GD): Use it.
4348
842b81d6
DM
43492012-05-11 David S. Miller <davem@davemloft.net>
4350
4351 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
4352 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
4353 (_FPU_SETCW): Likewise.
4354
1cf463cd
L
43552012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4356
4357 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
4358 is 32-byte aligned.
4359
60cc4a18
AS
43602012-05-11 Andreas Schwab <schwab@linux-m68k.org>
4361
4362 [BZ #11837]
4363 * iconvdata/gb18030.c: Update tables.
4364 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
4365 characters specially.
4366 (BODY for TO_LOOP): Add encoding of missing ranges.
4367
febb44a4
TS
43682012-05-11 Thomas Schwinge <thomas@codesourcery.com>
4369
4370 [BZ #13673]
4371 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
4372 * sysdeps/mach/hurd/dup3.c: Likewise.
4373 * sysdeps/mach/hurd/readlinkat.c: Likewise.
4374 * sysdeps/powerpc/memmove.c:: Likewise.
4375
0a10fb9e
L
43762012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4377
4378 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
4379 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
4380
df8a552f
L
43812012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4382
4383 * elf/elf.h (R_X86_64_RELATIVE64): New.
4384 (R_X86_64_NUM): Updated.
4385 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4386 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
4387 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
4388 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
4389 tst-quad1pie tst-quad2pie
4390 (modules-names): Add tst-quadmod1 tst-quadmod2.
4391 ($(objpfx)tst-quad1): New dependency.
4392 ($(objpfx)tst-quad2): Likewise.
4393 ($(objpfx)tst-quad1pie): Likewise.
4394 ($(objpfx)tst-quad2pie): Likewise.
4395 * sysdeps/x86_64/tst-quad1.c: New file.
4396 * sysdeps/x86_64/tst-quad1pie.c: New file.
4397 * sysdeps/x86_64/tst-quad2.c: Likewise.
4398 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
4399 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
4400 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
4401 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
4402 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
4403
f34d6f84
ST
44042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4405
f42d41d1
ST
4406 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
4407 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
4408 * streams/stropts.h (t_scalar_t): Define type.
4409
3c3571fc
ST
4410 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
4411 (_PATH_PRESERVE): Set to "/var/lib".
4412 (_PATH_RWHODIR): Set to "/var/spool/rwho".
4413
61f06bd3
ST
4414 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
4415 instead of int.
4416
918d4d71
ST
4417 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
4418 if __dir_mkfile succeeded.
4419
f34d6f84
ST
4420 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
4421 checking for _hurd_dtablesize. Unlock it right after having
4422 finished _hurd_dtable allocation.
4423
10589b4a
TS
44242012-05-10 Thomas Schwinge <thomas@schwinge.name>
4425
674cdbc7
TS
4426 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
4427 * sysdeps/mach/hurd/configure: Regenerated.
4428 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
4429 special-casing to...
4430 * sysdeps/gnu/configure.in: ... this new file.
4431 * sysdeps/unix/sysv/linux/configure: Regenerated.
4432 * sysdeps/gnu/configure: New generated file.
4433
8e41b99f
TS
4434 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
4435 for Linux: use nsec instead of usec, as well as:
4436 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
4437 members of type struct timespec.
4438 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
4439 New macros.
4440 (struct stat64): Likewise.
4441 (_STATBUF_ST_NSEC): New macro.
4442 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
4443
10589b4a
TS
4444 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4445 __strtoul_internal rather than strtoul.
4446
63643c85
PT
44472012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4448
4449 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
4450 and reject them.
4451
3faebe6a
ST
44522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4453
4454 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
4455 which preserves existing values.
4456 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
4457
c6474b07
PT
44582012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4459
4460 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
4461 TIMEOUT values. Return EINVAL for NFDS values either negative or
4462 greater than FD_SETSIZE.
4463
1043890b
ST
44642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4465
4466 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
4467 allocated, call __vm_protect to finish enabling the existing space, and
4468 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
4469 allocate the remainder.
4470
37ed8b9b
PT
44712012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4472
4473 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
4474 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
4475
db653660
ST
44762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4477
37ed8b9b
PT
4478 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
4479 sysdeps/mach/hurd/readlink.c.
b29d4053 4480
db653660
ST
4481 * posix/tst-sysconf.c (posix_options): Only use
4482 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
4483 _POSIX_SYNCHRONIZED_IO when they are defined
4484 * sysdeps/mach/hurd/bits/posix_opt.h:
4485 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
4486 (_XOPEN_REALTIME): Undefine macro.
4487 (_XOPEN_REALTIME_THREADS): Undefine macro.
4488 (_XOPEN_SHM): Undefine macro.
4489 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
4490 macro to -1.
4491 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
4492 macro to -1.
4493 (_POSIX_ASYNC_IO): Undefine macro.
4494 (_POSIX_PRIORITIZED_IO): Undefine macro.
4495 (_POSIX_SPIN_LOCKS): Define macro to -1.
4496
ee16e894
ST
4497 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
4498 SA_NODEFER, SA_RESETHAND.
4499 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
4500 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
4501 F_DUPFD_CLOEXEC.
4502
6103ae3b
TS
45032012-05-10 Thomas Schwinge <thomas@schwinge.name>
4504
4505 * elf/Makefile (pldd-modules): Define unconditionally.
4506
80b4e5f3
TS
45072012-05-10 Thomas Schwinge <thomas@schwinge.name>
4508
4509 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
4510
edadcbd6
ST
45112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4512
4513 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
4514 Return ENOENT when name is empty.
4515 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
4516
80694780
TS
45172012-05-10 Thomas Schwinge <thomas@schwinge.name>
4518
1792c087
TS
4519 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
4520
80694780
TS
4521 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
4522
6b645f0d
ST
45232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4524
80694780
TS
4525 Fix mlock in all cases except non-readable pages.
4526 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
4527 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 4528
6b645f0d
ST
4529 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
4530 (__mkdir): When path is `/', just fail with EEXIST.
4531 * sysdeps/mach/hurd/mkdirat.c: Likewise.
4532
e468f8a3
TS
45332012-05-10 Thomas Schwinge <thomas@schwinge.name>
4534
4535 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
4536 <sys/uio.h> (for writev).
4537 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
4538 and <sys/param.h> (for MIN).
4539
a4186cff
PT
45402012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4541
4542 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
4543 REQUESTED_TIME. Properly set the remaining time and return EINTR
4544 if interrupted.
4545
510bbf14
TS
45462012-05-10 Thomas Schwinge <thomas@schwinge.name>
4547
4548 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
4549 Depend on against $(link-rpcuserlibs).
4550
5d5722e8
ST
45512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4552
a4186cff
PT
4553 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
4554 (__libc_stack_end): Do not use attribute_relro.
4555 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
4556 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 4557 to libthread-provided value.
a4186cff
PT
4558 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
4559 attribute_relro.
5d5722e8 4560
37233df9
TS
45612012-05-10 Thomas Schwinge <thomas@schwinge.name>
4562
be971a2b
TS
4563 [BZ #3748]
4564 * bits/libc-lock.h (__libc_once_get): New macro.
4565 * sysdeps/mach/bits/libc-lock.h: Likewise.
4566 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
4567 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
4568 instead of using implementation details.
4569
37233df9
TS
4570 * libio/fileops.c: Unconditionally include <kernel-features.h>.
4571 * libio/freopen.c: Likewise.
4572 * libio/freopen64.c: Likewise.
4573 * misc/syslog.c: Likewise.
4574 * nscd/connections.c: Likewise.
4575 * nscd/netgroupcache.c: Likewise.
4576 * sysdeps/posix/getcwd.c: Likewise.
4577
38de94a5
RM
45782012-05-10 Roland McGrath <roland@hack.frob.com>
4579
4580 * math/w_ilogbf.c: Add #include <limits.h>.
4581
67530489
ST
45822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4583
a4186cff 4584 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
4585 path instead of returning without unlocking.
4586
67530489
ST
4587 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
4588 immediate-write ioctls.
4589 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
4590
5aa3a74a
TS
45912012-05-10 Thomas Schwinge <thomas@schwinge.name>
4592
18bad2ae
TS
4593 * sysdeps/mach/hurd/i386/init-first.c (init): Use
4594 __builtin_frame_address instead of making assumptions about the
4595 location of the return address relative to DATA. Force early load of
4596 the return address.
4597 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
4598 __builtin_frame_address.
4599
5aa3a74a
TS
4600 dup3 for GNU Hurd.
4601 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
4602 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
4603 implement dup3 and do some further code clean-ups.
4604 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
4605 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
4606
ecd0de9a
ST
46072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4608
cd9fa985
ST
4609 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
4610
a4186cff
PT
4611 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
4612 HURD_CRITICAL_END around holding _hurd_dtable_lock.
4613 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
4614 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
4615 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
4616 d->port.lock.
802ca5a5 4617
a4186cff
PT
4618 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
4619 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
4620 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 4621
bcf55240
TS
46222012-05-10 Thomas Schwinge <thomas@schwinge.name>
4623
6960eb42
TS
4624 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
4625 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
4626 definitions.
4627
eb43375f
TS
4628 accept4 for GNU Hurd.
4629 * include/sys/socket.h (__libc_accept4): New prototype.
4630 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
4631 to implement __libc_accept4.
4632 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
4633 __libc_accept4.
4634 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
4635
bcf55240
TS
4636 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
4637 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
4638 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
4639 signal-defines.sym.
4640
6178c55b
ST
46412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4642
a4186cff 4643 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 4644
6f080c2f
TS
46452012-05-10 Thomas Schwinge <thomas@schwinge.name>
4646
4647 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
4648 assertion on O_CLOEXEC flag.
4649 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
4650 * hurd/intern-fd.c: Likewise.
4651 * hurd/port2fd.c: Likewise.
4652
bcfe3a54
ST
46532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4654
4655 [BZ #3906]
4656 * bits/in.h (IPV6_PKTINFO): Define new macro.
4657 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
4658
89c9aa49
AZ
46592012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4660
4661 [BZ #13954]
4662 [BZ #13955]
4663 [BZ #13956]
4664 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
4665 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4666 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
4667 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4668 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4669 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4670 * math/libm-test.inc (logb_test) : Additional logb tests.
4671
021db4be
AJ
46722012-05-09 Andreas Schwab <schwab@linux-m68k.org>
4673 Andreas Jaeger <aj@suse.de>
4674
4675 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
4676 * configure: Regenerated.
4677 * config.h.in (LINK_OBSOLETE_RPC): New macro.
4678 * config.make.in (link-obsolete-rpc): New substituted variable.
4679 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
4680 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
4681 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4682 (shared-only-routines): Don't set it under [link-obsolete-rpc],
4683 so that libc.a contains the symbols.
4684 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4685 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
4686 * sunrpc/auth_none.c: Likewise.
4687 * sunrpc/auth_unix.c: Likewise.
4688 * sunrpc/authdes_prot.c: Likewise.
4689 * sunrpc/authuxprot.c: Likewise.
4690 * sunrpc/clnt_gen.c: Likewise.
4691 * sunrpc/clnt_perr.c: Likewise.
4692 * sunrpc/clnt_raw.c: Likewise.
4693 * sunrpc/clnt_simp.c: Likewise.
4694 * sunrpc/clnt_tcp.c: Likewise.
4695 * sunrpc/clnt_udp.c: Likewise.
4696 * sunrpc/clnt_unix.c: Likewise.
4697 * sunrpc/des_crypt.c: Likewise.
4698 * sunrpc/des_soft.c: Likewise.
4699 * sunrpc/get_myaddr.c: Likewise.
4700 * sunrpc/key_call.c: Likewise.
4701 * sunrpc/key_prot.c: Likewise.
4702 * sunrpc/netname.c: Likewise.
4703 * sunrpc/pm_getmaps.c: Likewise.
4704 * sunrpc/pm_getport.c: Likewise.
4705 * sunrpc/pmap_clnt.c: Likewise.
4706 * sunrpc/pmap_prot.c: Likewise.
4707 * sunrpc/pmap_prot2.c: Likewise.
4708 * sunrpc/pmap_rmt.c: Likewise.
4709 * sunrpc/publickey.c: Likewise.
4710 * sunrpc/rpc_cmsg.c: Likewise.
4711 * sunrpc/rpc_common.c: Likewise.
4712 * sunrpc/rpc_dtable.c: Likewise.
4713 * sunrpc/rpc_prot.c: Likewise.
4714 * sunrpc/rpc_thread.c: Likewise.
4715 * sunrpc/rtime.c: Likewise.
4716 * sunrpc/svc.c: Likewise.
4717 * sunrpc/svc_auth.c: Likewise.
4718 * sunrpc/svc_raw.c: Likewise.
4719 * sunrpc/svc_run.c: Likewise.
4720 * sunrpc/svc_tcp.c: Likewise.
4721 * sunrpc/svc_udp.c: Likewise.
4722 * sunrpc/svc_unix.c: Likewise.
4723 * sunrpc/svcauth_des.c: Likewise.
4724 * sunrpc/xcrypt.c: Likewise.
4725 * sunrpc/xdr.c: Likewise.
4726 * sunrpc/xdr_array.c: Likewise.
4727 * sunrpc/xdr_float.c: Likewise.
4728 * sunrpc/xdr_intXX_t.c: Likewise.
4729 * sunrpc/xdr_mem.c: Likewise.
4730 * sunrpc/xdr_rec.c: Likewise.
4731 * sunrpc/xdr_ref.c: Likewise.
4732 * sunrpc/xdr_sizeof.c: Likewise.
4733 * sunrpc/xdr_stdio.c: Likewise.
4734
b5c086a2
RM
47352012-05-10 Roland McGrath <roland@hack.frob.com>
4736
4737 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
4738 change. Update copyright years.
4739
6d74dd09
JM
47402012-05-10 Joseph Myers <joseph@codesourcery.com>
4741
4742 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
4743
28e72501
MK
47442012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
4745 Joseph Myers <joseph@codesourcery.com>
4746 Paul Pluzhnikov <ppluzhnikov@google.com>
4747
4748 [BZ #14012]
4749 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
4750 requiring rpcgen.
4751 [cross-compiling] (extra-libs): Likewise.
4752 [cross-compiling] (extra-libs-others): Likewise.
4753 [cross-compiling] (librpcsvc-routines): Likewise.
4754 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
4755 [cross-compiling] (omit-deps): Likewise.
4756 (sunrpc-CPPFLAGS): New variable.
4757 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
4758 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
4759 (cross-rpcgen-objs): New variable.
4760 (extra-objs): Append $(cross-rpcgen-objs).
4761 ($(cross-rpcgen-objs)): New rule.
4762 ($(objpfx)cross-rpcgen): Likewise.
4763 (rpcgen-cmd): Define to use $(built-program-file). Expand
4764 comment.
4765 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
4766 ($(objpfx)x%.stmp): Likewise.
4767 * sunrpc/proto.h [IS_IN_build] (_): Define.
4768 [IS_IN_build] (_libc_intl_domainname): Likewise.
4769
c8c59454
L
47702012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4771
4772 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
4773 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
4774 and R_X86_64_TPOFF64.
4775
6f27cd16
JM
47762012-05-10 Joseph Myers <joseph@codesourcery.com>
4777
4778 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
4779 sysdeps/unix/sysv/syscalls.list.
4780 (stime): Likewise.
4781 (utime): Likewise.
4782 * sysdeps/unix/sysv/syscalls.list: Remove file.
4783
02467e1c
PE
47842012-05-10 Paul Eggert <eggert@cs.ucla.edu>
4785
4786 [BZ #3440]
4787 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
4788 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
4789 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
4790 (__LC_IDENTIFICATION): Make these macros useful in #if
4791 expressions, as required by C99.
4792
da392631
AS
47932012-05-10 Andreas Schwab <schwab@linux-m68k.org>
4794
4795 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
4796 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
4797 after this.
4798
8115f29b
L
47992012-05-09 H.J. Lu <hongjiu.lu@intel.com>
4800
4801 * stdlib/longlong.h: Updated from GCC.
4802
bdd74070
AJ
48032012-05-09 Andreas Jaeger <aj@suse.de>
4804
edfe0dbe
AJ
4805 * nscd/nscd.c (run_modes): Make named enum, reorder so that
4806 default is first entry.
4807 (run_mode): Set type.
4808 (main): Remove informal message about syslog.
4809 (options): Fix typo.
4810
bcfe3a54
ST
4811 [BZ #14053]
4812 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 4813 to asm.
bcfe3a54
ST
4814 (lrint): Likewise.
4815 (llrintf): Likewise.
4816 (llrint): Likewise.
4817 (rint): Likewise.
4818 (rintf): Likewise.
4819 (nearbyint): Likewise.
4820 (nearbyintf): Likewise.
bdd74070 4821
91d8d69e
AJ
48222012-05-09 Andreas Jaeger <aj@suse.de>
4823 Pedro Alves <palves@redhat.com>
4824
4825 * nscd/nscd.c (run_mode): Use enum.
4826 (main): Cleanup coding style issue.
4827
bb90b80b
AJ
48282012-05-09 Alexandre Oliva <aoliva@redhat.com>
4829 Andreas Jaeger <aj@suse.de>
4830
bcfe3a54
ST
4831 * nscd/nscd.c (go_background): Replaced with...
4832 (run_mode): ... this.
bb90b80b 4833 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
4834 (options): Add -F --foreground.
4835 (main): Implement it.
4836 (parse_opt): Parse it.
bb90b80b 4837
1a4b75a1
AJ
48382012-05-09 Andreas Jaeger <aj@suse.de>
4839
4840 [BZ #14083]
4841 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
4842 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
4843 -Wconversion warning.
4844 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
4845 Likewise.
4846
b1cc2472
JM
48472012-05-09 Joseph Myers <joseph@codesourcery.com>
4848
4849 * conform/data/locale.h-data (NULL): Use macro-constant. Require
4850 == 0.
4851 (LC_ALL): Use macro-int-constant.
4852 (LC_COLLATE): Likewise.
4853 (LC_CTYPE): Likewise.
4854 (LC_MESSAGES): Likewise.
4855 (LC_MONETARY): Likewise.
4856 (LC_NUMERIC): Likewise.
4857 (LC_TIME): Likewise.
4858 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
4859 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4860 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4861 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
4862 Specify type.
4863 [C99-based standards] (float_t): Expect type.
4864 [C99-based standards] (double_t): Expect type.
4865 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
4866 type.
4867 [C99-based standards] (HUGE_VALL): Likewise.
4868 [C99-based standards] (INFINITY): Likewise.
4869 [C99-based standards] (NAN): Likewise.
4870 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
4871 [C99-based standards] (FP_NAN): Likewise.
4872 [C99-based standards] (FP_NORMAL): Likewise.
4873 [C99-based standards] (FP_SUBNORMAL): Likewise.
4874 [C99-based standards] (FP_ZERO): Likewise.
4875 [C99-based standards] (FP_FAST_FMA): Use
4876 optional-macro-int-constant. Specify type. Require == 1.
4877 [C99-based standards] (FP_FAST_FMAF): Likewise.
4878 [C99-based standards] (FP_FAST_FMAL): Likewise.
4879 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
4880 [C99-based standards] (FP_ILOGBNAN): Likewise.
4881 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
4882 Specify type.
4883 [C99-based standards] (MATH_ERREXCEPT): Likewise.
4884 [C99-based standards] (math_errhandling): Specify type.
4885 [ISO99 || ISO11] (signgam): Do not allow.
4886 [non-C99-based standards] (copysignf): Do not allow.
4887 [non-C99-based standards] (exp2f): Likewise.
4888 [non-C99-based standards] (log2f): Likewise.
4889 [non-C99-based standards] (modff): Allow.
4890 [non-C99-based standards] (erff): Do not allow.
4891 [non-C99-based standards] (erfcf): Likewise.
4892 [non-C99-based standards] (gammaf): Likewise.
4893 [non-C99-based standards] (hypotf): Likewise.
4894 [non-C99-based standards] (j0f): Likewise.
4895 [non-C99-based standards] (j1f): Likewise.
4896 [non-C99-based standards] (jnf): Likewise.
4897 [non-C99-based standards] (lgammaf): Likewise.
4898 [non-C99-based standards] (tgammaf): Likewise.
4899 [non-C99-based standards] (y0f): Likewise.
4900 [non-C99-based standards] (y1f): Likewise.
4901 [non-C99-based standards] (ynf): Likewise.
4902 [non-C99-based standards] (isnanf): Likewise.
4903 [non-C99-based standards] (acoshf): Likewise.
4904 [non-C99-based standards] (asinhf): Likewise.
4905 [non-C99-based standards] (atanhf): Likewise.
4906 [non-C99-based standards] (cbrtf): Likewise.
4907 [non-C99-based standards] (expm1f): Likewise.
4908 [non-C99-based standards] (ilogbf): Likewise.
4909 [non-C99-based standards] (log1pf): Likewise.
4910 [non-C99-based standards] (logbf): Likewise.
4911 [non-C99-based standards] (nextafterf): Likewise.
4912 [non-C99-based standards] (remainderf): Likewise.
4913 [non-C99-based standards] (rintf): Likewise.
4914 [non-C99-based standards] (scalbf): Likewise.
4915 [non-C99-based standards] (copysignl): Likewise.
4916 [non-C99-based standards] (exp2l): Likewise.
4917 [non-C99-based standards] (log2l): Likewise.
4918 [non-C99-based standards] (modfl): Allow.
4919 [non-C99-based standards] (erfl): Do not allow.
4920 [non-C99-based standards] (erfcl): Likewise.
4921 [non-C99-based standards] (gammal): Likewise.
4922 [non-C99-based standards] (hypotl): Likewise.
4923 [non-C99-based standards] (j0l): Likewise.
4924 [non-C99-based standards] (j1l): Likewise.
4925 [non-C99-based standards] (jnl): Likewise.
4926 [non-C99-based standards] (lgammal): Likewise.
4927 [non-C99-based standards] (tgammal): Likewise.
4928 [non-C99-based standards] (y0l): Likewise.
4929 [non-C99-based standards] (y1l): Likewise.
4930 [non-C99-based standards] (ynl): Likewise.
4931 [non-C99-based standards] (isnanl): Likewise.
4932 [non-C99-based standards] (acoshl): Likewise.
4933 [non-C99-based standards] (asinhl): Likewise.
4934 [non-C99-based standards] (atanhl): Likewise.
4935 [non-C99-based standards] (cbrtl): Likewise.
4936 [non-C99-based standards] (expm1l): Likewise.
4937 [non-C99-based standards] (ilogbl): Likewise.
4938 [non-C99-based standards] (log1pl): Likewise.
4939 [non-C99-based standards] (logbl): Likewise.
4940 [non-C99-based standards] (nextafterl): Likewise.
4941 [non-C99-based standards] (remainderl): Likewise.
4942 [non-C99-based standards] (rintl): Likewise.
4943 [non-C99-based standards] (scalbl): Likewise.
4944 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4945 [non-C99-based standards] (FP_*): Do not allow.
4946 [C99-based standards] (FP_*): Change to
4947 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4948 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4949 allow.
4950 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
4951 (SIG_ERR): Likewise.
4952 [X/Open-based standards] (SIG_HOLD): Likewise.
4953 (SIG_IGN): Likewise.
4954 (SIGABRT): Use macro-int-constant. Specify type. Require
4955 positive value.
4956 (SIGFPE): Likewise.
4957 (SIGILL): Likewise.
4958 (SIGINT): Likewise.
4959 (SIGSEGV): Likewise.
4960 (SIGTER): Likewise.
4961 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
4962 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
4963 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
4964 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
4965 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
4966 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
4967 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
4968 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
4969 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
4970 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
4971 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
4972 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
4973 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
4974 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
4975 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
4976 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
4977 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
4978 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
4979 [X/Open-based standards] (SIGTRAP): Likewise.
4980 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
4981 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
4982 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
4983 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
4984 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4985 allow.
4986
b9f1922d
IW
49872012-05-08 Ian Wienand <ianw@vmware.com>
4988
4989 [BZ #14080]
4990 * time/tzset.c (__tzset_parse_tz): Update default rules for
4991 daylight time changes in the Energy Policy Act of 2005.
4992
1db86e88
AJ
49932012-05-09 Andreas Jaeger <aj@suse.de>
4994
4995 [BZ #13983]
4996 * elf/ldconfig.c (parse_conf): Change string to make clear that
4997 ldconfig only issued a warning if ld.so.conf does not exist.
4998
dee4a4e3
DM
49992012-05-08 David S. Miller <davem@davemloft.net>
5000
ee0db190
DM
5001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
5002 movxtod instead of popping the value on the stack.
5003
dee4a4e3
DM
5004 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5005
6a43ec98
CD
50062012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
5007
5008 * config.h.in: Add HAVE_ARM_PCS_VFP.
5009
05c2c961
RMG
50102012-05-08 Roland Mc Grath <roland@hack.frob.com>
5011
bcfe3a54
ST
5012 [BZ #13979]
5013 * include/features.h: Warn if user requests __FORTIFY_SOURCE
5014 checking but the checks are disabled for any reason.
05c2c961 5015
4b30f61a
L
50162012-05-08 H.J. Lu <hongjiu.lu@intel.com>
5017
5018 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5019 and ELF64_R_TYPE with ELFW(R_TYPE).
5020
eee2bc67
JM
50212012-05-08 Joseph Myers <joseph@codesourcery.com>
5022
7ea5391a
JM
5023 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5024 (ulimit): Likewise.
5025
eee2bc67
JM
5026 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5027 (settimeofday): Likewise.
5028
abb66a67
MF
50292012-05-08 Mike Frysinger <vapier@gentoo.org>
5030
5031 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
5032 a struct th_u2 inside the union, and move tu_block/tu_code into
5033 a new th_u3 union of tu_block/tu_code inside of that. Move
5034 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
5035 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
5036 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5037 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5038 (th_stuff): Change to th_u1.tu_stuff.
5039 (th_data): Define.
5040 (th_msg): Change to th_u1.th_u2.tu_data.
5041
7f18b530
DM
50422012-05-07 David S. Miller <davem@davemloft.net>
5043
05760585
DM
5044 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5045
7f18b530
DM
5046 [BZ #14074]
5047 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5048 (SETUP_PIC_REG): Use it.
5049 (SETUP_PIC_REG_LEAF): Use it.
5050
495fd99f
JM
50512012-05-07 Joseph Myers <joseph@codesourcery.com>
5052
5053 [BZ #13885]
5054 [BZ #13923]
5055 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5056 USE_AS_EXPM1L.
5057 (EXPL_FINITE): Likewise.
5058 (FLDLOG): Likewise.
5059 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5060 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5061 e_expl.S.
5062 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5063 USE_AS_EXPM1L.
5064 (EXPL_FINITE): Likewise.
5065 (FLDLOG): Likewise.
5066 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5067 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5068 e_expl.S.
5069 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
5070 test of -max_value argument for long double.
5071 * sysdeps/i386/fpu/libm-test-ulps: Update.
5072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5073
6693d694
DM
50742012-05-06 David S. Miller <davem@davemloft.net>
5075
5076 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5077 quad soft-float symbols whose references which are compiler
5078 generated.
5079 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5080
6c23e11c
JM
50812012-05-06 Joseph Myers <joseph@codesourcery.com>
5082
d8b82cad
JM
5083 [BZ #13884]
5084 [BZ #13914]
5085 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5086 USE_AS_EXP10L.
5087 (EXPL_FINITE): Likewise.
5088 (FLDLOG): Likewise.
5089 (c0): Likewise.
5090 (c1): Likewise.
5091 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5092 Adjust comments for base varying.
5093 (__expl_finite): Change alias to EXPL_FINITE.
5094 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5095 e_expl.S.
5096 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5097 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5098 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5099 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5100 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5101 USE_AS_EXP10L.
5102 (EXPL_FINITE): Likewise.
5103 (FLDLOG): Likewise.
5104 (c0): Likewise.
5105 (c1): Likewise.
5106 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5107 Adjust comments for base varying.
5108 (__expl_finite): Change alias to EXPL_FINITE.
5109 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
5110 tests for bugs.
5111 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5112
6c23e11c
JM
5113 [BZ #14064]
5114 * math/libm-test.inc (check_float_internal): Correct ulp
5115 calculation for subnormal expected results.
5116
29ba805c
AJ
51172012-05-06 Andreas Jaeger <aj@suse.de>
5118
5119 * Makeconfig (+math-flags): New, set to -frounding-math.
5120 (+cflags): Add +math-flags so that all of glibc gets compiled with
5121 it.
5122
5123 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
5124
7b17aeda
JM
51252012-05-05 Joseph Myers <joseph@codesourcery.com>
5126
5779f134
JM
5127 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
5128 Disable one test.
5129
41498f4d
JM
5130 [BZ #13787]
5131 [BZ #13922]
5132 [BZ #14036]
5133 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
5134 (__ieee754_expl): Allow for and saturate large arguments.
5135 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
5136 (u_threshold): Likewise.
5137 (__exp): Call __ieee754_exp before checking for overflow and
5138 underflow.
5139 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
5140 (u_threshold): Likewise.
5141 (__expf): Call __ieee754_expf before checking for overflow and
5142 underflow.
5143 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
5144 (u_threshold): Likewise.
5145 (__expl): Call __ieee754_expl before checking for overflow and
5146 underflow.
5147 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
5148 (__ieee754_expl): Allow for and saturate large arguments.
5149 * math/libm-test.inc (exp_test): Add another test. Do not allow
5150 missing overflow exception on overflow.
5151 (expm1_test): Do not allow missing overflow exception on overflow.
5152
6698b8bf
JM
5153 * sysdeps/i386/fpu/e_expl.c: Move to ...
5154 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
5155 rather than using inline asm.
5156 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
5157 * sysdeps/x86_64/fpu/e_expl.S: Copy from
5158 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
5159
7b17aeda
JM
5160 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
5161 (nice): Likewise.
5162 (poll): Likewise.
5163 (signal): Likewise.
5164 (time): Likewise.
5165 (times): Likewise.
5166
f7c85819
JM
51672012-05-04 Joseph Myers <joseph@codesourcery.com>
5168
5169 * sysdeps/unix/syscalls.list (adjtime): Add entry from
5170 sysdeps/unix/common/syscalls.list.
5171 (fchmod): Likewise.
5172 (fchown): Likewise.
5173 (ftruncate): Likewise.
5174 (getrusage): Likewise.
5175 (gettimeofday): Likewise.
5176 (setpgid): Likewise.
5177 (setregid): Likewise.
5178 (setreuid): Likewise.
5179 (sigaction): Likewise.
5180 (truncate): Likewise.
5181 (vhangup): Likewise.
5182 * sysdeps/unix/common/syscalls.list: Remove file.
5183 * sysdeps/unix/bsd/Implies: Don't include unix/common.
5184 * sysdeps/unix/sysv/linux/Implies: Likewise.
5185
336270d0
L
51862012-05-04 H.J. Lu <hongjiu.lu@intel.com>
5187
5188 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
5189 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
5190 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
5191 Moved to ...
5192 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5193 Here.
5194 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
5195 to ...
5196 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
5197 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
5198 to ...
5199 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
5200 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
5201 to ...
5202 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
5203 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
5204 to ...
5205 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
5206 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
5207 to ...
5208 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
5209 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
5210 to ...
5211 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
5212 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
5213 to ...
5214 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5215 Here.
5216 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
5217 to ...
5218 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
5219 Here.
5220 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
5221 to ...
5222 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
5223 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
5224 Moved to ...
5225 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
5226 Here.
5227 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
5228 to ...
5229 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
5230
d128e450
JM
52312012-05-04 Joseph Myers <joseph@codesourcery.com>
5232
fa8ee516
JM
5233 * sysdeps/unix/common/bits/dirent.h: Remove file.
5234 * sysdeps/unix/common/bits/fcntl.h: Likewise.
5235
d128e450
JM
5236 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
5237 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
5238 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
5239 * sysdeps/unix/bsd/isatty.c: Likewise.
5240 * sysdeps/unix/bsd/tcdrain.c: Likewise.
5241 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
5242 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
5243
ff8faaf0 52442012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 5245
62881be4 5246 [BZ #13563]
31dc8730
AZ
5247 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
5248 long double comparison inaccuracies.
5249 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5251
6fef930c
AS
52522012-05-04 Andreas Schwab <schwab@linux-m68k.org>
5253
5254 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
5255 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
5256
8f203e6c
JM
52572012-05-04 Joseph Myers <joseph@codesourcery.com>
5258
5259 [BZ #14049]
5260 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
5261 nonzero digits before rounding a hex value.
5262 * stdlib/tst-strtod.c (tests): Add another test.
5263
5197d9c2
AK
52642012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5265
5266 * sysdeps/s390/fpu/libm-test-ulps: Update.
5267
f0c1dedf
AJ
52682012-05-03 Andreas Jaeger <aj@suse.de>
5269
5270 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
5271 does not get optimized out.
5272 (malloc_opt_barrier): New.
5273
a65ef2ae 52742012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 5275 Roland McGrath <roland@hack.frob.com>
a65ef2ae 5276
2b942cb7 5277 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 5278 intermediate file deletion.
2b942cb7 5279 (generated): Add .symlist files.
a65ef2ae 5280
54b71e02
JM
52812012-05-03 Joseph Myers <joseph@codesourcery.com>
5282
5283 [BZ #13775]
5284 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
5285 Redirect under this condition.
5286 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5287 [__USE_GNU] (__dprintf_chk): Not under this condition.
5288 [__USE_GNU] (__vdprintf_chk): Likewise.
5289 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
5290 under this condition.
5291 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5292 [__USE_XOPEN2K8] (dprintf): Define under this condition.
5293 [__USE_XOPEN2K8] (vdprintf): Likewise.
5294 [__USE_GNU] (__dprintf_chk): Not under this condition.
5295 [__USE_GNU] (__vdprintf_chk): Likewise.
5296 [__USE_GNU] (dprintf): Likewise.
5297 [__USE_GNU] (vdprintf): Likewise.
5298
d3dfcc41
RM
52992012-05-03 Roland McGrath <roland@hack.frob.com>
5300
5301 * elf/Makefile (common-generated): Set this instead of generated for
5302 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
5303 $(all-built-dso)-derived lists.
5304
7ac30cc5
AJ
53052012-05-03 Andreas Jaeger <aj@suse.de>
5306
0c51e550
AJ
5307 * sysdeps/i386/fpu/libm-test-ulps: Update.
5308
7ac30cc5
AJ
5309 * FAQ: Removed.
5310 * FAQ.in: Likewise.
5311 * scripts/gen-FAQ.pl: Likewise.
5312 * manual/install.texi (Installation): Point to online location of
5313 FAQ.
5314 * Makefile (files-for-dist): Remove FAQ.
5315 (FAQ): Remove.
5316
d4c2917f
AM
53172012-05-02 Allan McRae <allan@archlinux.org>
5318
5319 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
5320 (LDFLAGS-reldepmod5.so): Likewise.
5321 (LDFLAGS-reldep6mod1.so): Likewise.
5322 (LDFLAGS-reldep6mod4.so): Likewise.
5323 (LDFLAGS-reldep8mod3.so): Likewise.
5324 (LDFLAGS-unload4mod1.so): Likewise.
5325 (LDFLAGS-unload4mod2.so): Likewise.
5326 (LDFLAGS-tst-initorder): Likewise.
5327 (LDFLAGS-tst-initordera2.so): Likewise.
5328 (LDFLAGS-tst-initordera3.so): Likewise.
5329 (LDFLAGS-tst-initordera4.so): Likewise.
5330 (LDFLAGS-tst-initorderb2.so): Likewise.
5331 (LDFLAGS-noload): Likewise.
5332 (LDFLAGS-next): Likewise.
5333 (LDFLAGS-order2mod1.so): Likewise.
5334 (LDFLAGS-order2mod2.so): Likewise.
5335 (LDFLAGS-tst-initorder2): Likewise.
5336 (LDFLAGS-tst-initorder2a.so): Likewise.
5337 (LDFLAGS-tst-initorder2b.so): Likewise.
5338 (LDFLAGS-tst-initorder2c.so): Likewise.
5339 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
5340
d77f993f
DM
53412012-05-02 David S. Miller <davem@davemloft.net>
5342
5343 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5344
171a70b4
PP
53452012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
5346
5347 [BZ #14055]
5348 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
5349
0be196ad
AJ
53502012-05-02 Andreas Jaeger <aj@suse.de>
5351
5352 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
5353 since we manipulate rounding mode.
5354 (CPPFLAGS-test-idouble.c): Likewise.
5355 (CPPFLAGS-test-ifloat.c): Likewise.
5356 (CFLAGS-test-ldouble.c): Likewise.
5357 (CFLAGS-test-double.c): Likewise.
5358 (CFLAGS-test-float.c): Likewise.
5359 (CFLAGS-test-misc.c): Likewise.
5360 (CFLAGS-test-test-fenv.c): Likewise.
5361
4f9d04aa
AZ
53622012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5363
2b942cb7
RM
5364 [BZ #2550]
5365 [BZ #2570]
5366 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
5367 comparisons to determine direction to adjust input.
4f9d04aa 5368
82a79e7d
RM
53692012-05-01 Roland McGrath <roland@hack.frob.com>
5370
f5a01ca9
RM
5371 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
5372 output to the target.
5373
90fe4186
RM
5374 * scripts/localplt.awk: New file.
5375 * elf/Makefile ($(objpfx)check-localplt): Target removed.
5376 (check-localplt-CFLAGS): Variable removed.
5377 ($(all-built-dso:=.jmprel)): New static pattern rule.
5378 (generated): Add those targets.
5379 (localplt-built-dso): New variable.
5380 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
5381
5382 * elf/check-localplt.c: File removed.
5383
82397ed6
RM
5384 * scripts/check-execstack.awk: New file.
5385 * elf/Makefile ($(objpfx)check-execstack): Target removed.
5386 (check-execstack-CFLAGS): Variable removed.
5387 ($(objpfx)check-execstack.h): Target removed.
5388 ($(objpfx)execstack-default): New target.
5389 (generated): Add that instead of check-execstack.h.
5390 ($(all-built-dso:=.phdr)): New static pattern rule.
5391 (generated): Add those targets.
5392 * elf/check-execstack.c: File removed.
5393
82a79e7d
RM
5394 * scripts/check-textrel.awk: New file.
5395 * elf/Makefile ($(objpfx)check-textrel): Target removed.
5396 (check-textrel-CFLAGS): Variable removed.
5397 (all-built-dso): Use := to define.o
5398 ($(all-built-dso:=.dyn)): New static pattern rule.
5399 (generated): Add those targets.
5400 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
5401 * config.make.in (READELF): New substituted variable.
5402 * elf/check-textrel.c: File removed.
5403
62fde54f 54042012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 5405
615605c9
JM
5406 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5407 allow.
5408 * conform/data/ctype.h-data [C99-based standards] (isblank):
5409 Expect function.
5410 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
5411 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
5412 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5413 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
5414 Specify type. Require positive value.
5415 (EILSEQ): Likewise.
5416 (ERANGE): Likewise.
5417 [ISO || POSIX] (EILSEQ): Do not expect.
5418 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
5419 Specify type. Require positive value.
5420 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
5421 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
5422 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
5423 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
5424 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
5425 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
5426 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
5427 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
5428 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
5429 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
5430 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
5431 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
5432 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
5433 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
5434 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
5435 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
5436 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
5437 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
5438 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
5439 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
5440 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
5441 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
5442 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
5443 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
5444 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
5445 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
5446 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
5447 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
5448 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
5449 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
5450 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
5451 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
5452 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
5453 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
5454 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
5455 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
5456 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
5457 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
5458 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
5459 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
5460 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
5461 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
5462 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
5463 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
5464 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
5465 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
5466 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
5467 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
5468 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
5469 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
5470 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
5471 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
5472 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
5473 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
5474 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
5475 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
5476 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
5477 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
5478 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
5479 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
5480 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
5481 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
5482 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
5483 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
5484 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
5485 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
5486 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
5487 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
5488 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
5489 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
5490 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
5491 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
5492 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
5493 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
5494 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
5495 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
5496 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
5497 Require >= 2.
5498 (FLT_ROUNDS): Expect as macro, not constant.
5499 (FLT_MANT_DIG): Use macro-int-constant.
5500 (DBL_MANT_DIG): Likewise.
5501 (LDBL_MANT_DIG): Likewise.
5502 (FLT_DIG): Likewise.
5503 (DBL_DIG): Likewise.
5504 (LDBL_DIG): Likewise.
5505 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
5506 (DBL_MIN_EXP): Likewise.
5507 (LDBL_MIN_EXP): Likewise.
5508 (FLT_MAX_EXP): Use macro-int-constant.
5509 (DBL_MAX_EXP): Likewise.
5510 (LDBL_MAX_EXP): Likewise.
5511 (FLT_MAX_10_EXP): Likewise.
5512 (DBL_MAX_10_EXP): Likewise.
5513 (LDBL_MAX_10_EXP): Likewise.
5514 (FLT_MAX): Use macro-constant.
5515 (DBL_MAX): Likewise.
5516 (LDBL_MAX): Likewise.
5517 (FLT_EPSILON): Use macro-constant. Give upper bound.
5518 (DBL_EPSILON): Likewise.
5519 (LDBL_EPSILON): Likewise.
5520 (FLT_MIN): Likewise.
5521 (DBL_MIN): Likewise.
5522 (LDBL_MIN): Likewise.
5523 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
5524 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
5525 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
5526 [ISO11] (FLT_HAS_SUBNORM): Likewise.
5527 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
5528 [ISO11] (DBL_DECIMAL_DIG): Likewise.
5529 [ISO11] (FLT_DECIMAL_DIG): Likewise.
5530 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
5531 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
5532 [ISO11] (FLT_TRUE_MIN): Likewise.
5533 [ISO11] (LDBL_TRUE_MIN): Likewise.
5534 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5535 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
5536 (SCHAR_MIN): Use macro-int-constant. Specify type.
5537 (SCHAR_MAX): Likewise.
5538 (UCHAR_MAX): Likewise.
5539 (CHAR_MIN): Likewise.
5540 (CHAR_MAX): Likewise.
5541 (MB_LEN_MAX): Use macro-int-constant.
5542 (SHRT_MIN): Use macro-int-constant. Specify type.
5543 (SHRT_MAX): Likewise.
5544 (USHRT_MAX): Likewise.
5545 (INT_MAX): Likewise.
5546 (INT_MIN): Use macro-int-constant. Specify type. Make upper
5547 bound negative.
5548 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
5549 bound with "U".
5550 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5551 bound with "L".
5552 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
5553 bound negative. Suffix upper bound with "L".
5554 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5555 bound with "UL".
5556 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
5557 Specify type.
5558 [C99-based standards] (LLONG_MAX): Likewise.
5559 [C99-based standards] (ULLONG_MAX): Likewise.
5560 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
5561 == 0.
5562 [ISO11] (max_align_t): Require type.
5563 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5564
c9140a62
JM
5565 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
5566 from $CFLAGS, without defining away __attribute__ calls.
5567 (checknamespace): Use $CFLAGS_namespace.
5568
9af0bf29
JM
5569 * conform/conformtest.pl (@keywords): Only include C99 keywords
5570 for standards based on C99 or C11.
5571
343222a2
JM
5572 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
5573 Disable tests.
5574 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
5575 UNIX98]: Likewise.
5576
661f8cf0
JM
5577 * conform/conformtest.pl: Handle "macro-int-constant" and test for
5578 usability of symbols in #if.
5579
ee74b9cb
JM
5580 * conform/conformtest.pl: If macro or constant types start
5581 "promoted:", expect the symbol to be of the following type
5582 promoted by the integer promotions.
62fde54f 5583
aafc49b3
JM
5584 * conform/conformtest.pl: Parse all "constant" and "macro" lines
5585 in one place. Also handle "macro-constant".
5586
fefdf574
JM
5587 * conform/conformtest.pl: Only accept expected macro values with
5588 "==". Parse all "macro" lines in one place.
5589 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
5590
f2d922fe
JM
5591 * conform/conformtest.pl: Handle braced types on "constant" lines
5592 instead of handling "typed-constant".
5593 * conform/data/signal.h-data: Use "constant" instead of
5594 "typed-constant".
5595
d22956c9
JM
5596 * conform/conformtest.pl: Handle "optional-" at start of lines in
5597 one place rather than duplicating several cases. Handle each
5598 format of "macro" line with initial "optional-".
5599
028e2e38
JM
5600 * conform/conformtest.pl: Only accept expected constant or
5601 optional-constant values with "==". Parse all "constant" lines in
5602 one place. Parse all "optional-constant" lines in one place.
5603 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
5604 * conform/data/fmtmsg.h-data: Likewise.
5605 * conform/data/netinet/in.h-data: Likewise.
5606 * conform/data/tar.h-data: Likewise.
5607 * conform/data/limits.h-data: Use "==" form on "constant" and
5608 "optional-constant" lines.
5609
1b8f2850
JM
5610 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
5611 Use -std=c99 for XOPEN2K.
5612 (@knownproblems): Remove.
5613 (newtoken): Don't check %isknown.
5614
a05a144b
JM
5615 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
5616 Do not expect macro.
5617 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
5618 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
5619 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
5620 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
5621 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
5622 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
5623 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
5624 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
5625 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
5626 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
5627 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
5628 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
5629 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
5630 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
5631 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
5632 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
5633 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
5634 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
5635 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
5636 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
5637 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
5638 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
5639 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
5640 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
5641 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
5642 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
5643 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
5644 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
5645 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
5646 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
5647 [XPG3] (acosh): Likewise.
5648 [XPG3] (asinh): Likewise.
5649 [XPG3] (atanh): Likewise.
5650 [XPG3] (cbrt): Likewise.
5651 [XPG3] (expm1): Likewise.
5652 [XPG3] (ilogb): Likewise.
5653 [XPG3] (log1p): Likewise.
5654 [XPG3] (logb): Likewise.
5655 [XPG3] (nextafter): Likewise.
5656 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
5657 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
5658 [XPG3] (remainder): Likewise.
5659 [XPG3] (rint): Likewise.
5660 [XPG3 || XPG4 || UNIX98] (round): Likewise.
5661 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
5662 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
5663 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
5664 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
5665 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
5666 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
5667 [UNIX98 || XOPEN2K] (scalb): Expect.
5668 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
5669 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
5670 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
5671 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
5672 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
5673 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
5674 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
5675 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
5676 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
5677 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
5678 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
5679 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
5680 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
5681 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
5682 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
5683 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
5684 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
5685 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
5686 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
5687 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
5688 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
5689 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
5690 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
5691 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
5692 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
5693 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
5694 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
5695 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
5696 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
5697 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
5698 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
5699 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
5700 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
5701 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
5702 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
5703 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
5704 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
5705 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
5706 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
5707 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
5708 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
5709 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
5710 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
5711 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
5712 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
5713 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
5714 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
5715 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
5716 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
5717 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
5718 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
5719 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
5720 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
5721 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
5722 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
5723 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
5724 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
5725 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
5726 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
5727 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
5728 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
5729 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
5730 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
5731 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
5732 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
5733 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
5734 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
5735 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
5736 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
5737 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
5738 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
5739 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
5740 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
5741 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
5742 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
5743 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
5744 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
5745 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
5746 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
5747 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
5748 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
5749 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
5750 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
5751 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
5752 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
5753 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
5754 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
5755 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
5756 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
5757 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
5758 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
5759 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
5760 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
5761 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
5762 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
5763 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
5764 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
5765 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
5766 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
5767 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
5768 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
5769 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
5770 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
5771 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
5772 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
5773 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
5774 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
5775 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
5776 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
5777 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
5778 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
5779 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
5780 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
5781 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
5782 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
5783 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
5784 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
5785 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
5786 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
5787 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
5788 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
5789 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
5790 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
5791 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
5792 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
5793 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
5794 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
5795 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
5796 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
5797 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
5798 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
5799 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
5800 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
5801 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
5802 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
5803 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
5804 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
5805
73c5ebe3
JM
5806 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
5807 _XOPEN_SOURCE_EXTENDED for XPG4.
5808
39c33b6c
JM
5809 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
5810
62fde54f
JM
5811 * Makeconfig (localtime): Remove variable.
5812 (inst_localtime-file): Likewise.
5813
0741d64c
AS
58142012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5815
5816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5817 Update.
5818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5819 Update.
5820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5821 Update.
5822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5823 Update.
5824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5825 Update.
5826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
5827 Update.
5828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5829 Update.
5830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
5831 Update.
5832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5833 Update.
5834
7cb029ee
JM
58352012-05-01 Joseph Myers <joseph@codesourcery.com>
5836
5837 [BZ #2550]
5838 [BZ #2570]
5839 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
5840 comparisons to determine direction to adjust input.
5841 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5842 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
5843 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5844 Likewise.
5845 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5846 Likewise.
5847 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5848 Likewise.
5849 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5850 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5851 Likewise.
5852 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5853 Likewise.
5854 * math/libm-test.inc (nexttoward_test): Add more tests.
5855
412bd966
AS
58562012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5857
5858 [BZ #14040]
5859 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
5860 in version GLIBC_2.1, not GLIBC_2.0.
5861 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
5862 Likewise.
5863
9568c0c2
JM
58642012-04-30 Joseph Myers <joseph@codesourcery.com>
5865
adfbc8ac
JM
5866 [BZ #13942]
5867 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
5868 (1 - x) * (1 + x).
5869 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5870 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
5871 * math/libm-test.inc (acos_test): Add more tests.
5872 (asin_test): Likewise.
5873 * sysdeps/i386/fpu/libm-test-ulps: Update.
5874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5875
5ba3cc69
JM
5876 [BZ #14034]
5877 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
5878 of square root.
5879 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
5880 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5881 * math/libm-test.inc (acos_test_tonearest): New function.
5882 (acos_test_towardzero): Likewise.
5883 (acos_test_downward): Likewise.
5884 (acos_test_upward): Likewise.
5885 (asin_test_tonearest): Likewise.
5886 (asin_test_towardzero): Likewise.
5887 (asin_test_downward): Likewise.
5888 (asin_test_upward): Likewise.
5889 (main): Call the new functions.
5890 * sysdeps/i386/fpu/libm-test-ulps: Update.
5891 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5892
9568c0c2
JM
5893 [BZ #13884]
5894 [BZ #13924]
5895 * math/e_exp10.c: Include <float.h>.
5896 (__ieee754_exp10): Handle underflow here rather than multiplying
5897 large negative argument by M_LN10.
5898 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
5899 of __ieee754_expf.
5900 * math/e_exp10l.c: Include <float.h>.
5901 (__ieee754_exp10l): Handle underflow here rather than multiplying
5902 large negative argument by M_LN10l.
5903 * math/libm-test.inc (exp10_test): Add another test. Do not allow
5904 spurious overflow exception on underflow.
5905
5ac3ea17
MP
59062012-04-29 Marek Polacek <polacek@redhat.com>
5907
5908 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
5909 (__fortify_function): New macro.
5910 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
5911 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
5912 __extern_always_inline.
5913 * libio/bits/stdio2.h: Likewise.
5914 * libio/bits/stdio.h: Likewise.
5915 * string/string.h: Likewise.
5916 * string/bits/string3.h: Likewise.
5917 * include/stdio.h: Likewise.
5918 * stdlib/bits/stdlib.h: Likewise.
5919 * stdlib/stdlib.h: Likewise.
5920 * rt/bits/mqueue2.h: Likewise.
5921 * rt/mqueue.h: Likewise.
5922 * posix/bits/unistd.h: Likewise.
5923 * posix/unistd.h: Likewise.
5924 * io/bits/poll2.h: Likewise.
5925 * io/bits/fcntl2.h: Likewise.
5926 * io/fcntl.h: Likewise.
5927 * io/sys/poll.h: Likewise.
5928 * misc/bits/syslog.h: Likewise.
5929 * misc/bits/syslog-ldbl.h: Likewise.
5930 * misc/sys/syslog.h: Likewise.
5931 * socket/bits/socket2.h: Likewise.
5932 * socket/sys/socket.h: Likewise.
5933 * debug/tst-chk1.c: Likewise.
5934 * wcsmbs/bits/wchar2.h: Likewise.
5935 * wcsmbs/bits/wchar-ldbl.h: Likewise.
5936 * wcsmbs/wchar.h: Likewise.
5937
ecf0ebfb
AJ
59382012-04-29 Andreas Jaeger <aj@suse.de>
5939
5940 * Makerules (tests): Remove enable-check-abi protection.
5941 (check-abi-warn): Remove.
5942 (check-abi-%): Remove check-abi-warn usage.
5943
5944 * configure.in: Remove check-abi configure option.
5945 * configure: Regenerated.
5946 * config.make.in (enable-check-abi): Remove.
5947
6d5c57fa
AS
59482012-04-28 Andreas Schwab <schwab@linux-m68k.org>
5949
24c5d07e 5950 [BZ #14033]
ded5180a
AS
5951 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
5952 double functions to double *_finite functions.
5953
7e0d315d
AS
5954 [BZ #13941]
5955 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
5956 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
5957 LDBL_MIN_EXP.
5958 * stdio-common/Makefile (tests): Add tst-sprintf3.
5959 * stdio-common/tst-sprintf3.c: New file.
5960
6d5c57fa
AS
5961 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
5962 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
5963
0749ff8b
JM
59642012-04-28 Joseph Myers <joseph@codesourcery.com>
5965
5966 * conform/conformtest.pl: Remove duplicate typed-constant
5967 handling.
5968
8dbd5d7b
DM
59692012-04-28 David S. Miller <davem@davemloft.net>
5970
5971 * Makerules (%.abilist): Add vpath on sysdep_dirs.
5972 (check-abi-%): Remove AWK script prerequisite and explicit
5973 abilist directory.
5974 (check-abi): Rewrite to just diff the symlist with the abilist.
5975 (config-tls, config-abi-config): Delete, no longer used.
5976 (update-abi-%): Remove AWK script and explicit abilist directory.
5977 (update-abi): Rewrite to simply compare and conditionally copy the
5978 symlist and the sysdep abilist file. Remove update-abi-config
5979 checks.
5980 * abilist/ld.abilist: Remove.
5981 * abilist/libBrokenLocale.abilist: Remove.
5982 * abilist/libanl.abilist: Remove.
5983 * abilist/libcrypt.abilist: Remove.
5984 * abilist/libdl.abilist: Remove.
5985 * abilist/librt.abilist: Remove.
5986 * abilist/libthread_db.abilist: Remove.
5987 * abilist/libutil.abilist: Remove.
5988 * scripts/extract-abilist.awk: Remove.
5989 * scripts/merge-abilist.awk: Remove.
5990 * sysdeps/generic/libcidn.abilist: New file.
5991 * sysdeps/generic/libnss_compat.abilist: New file.
5992 * sysdeps/generic/libnss_db.abilist: New file.
5993 * sysdeps/generic/libnss_dns.abilist: New file.
5994 * sysdeps/generic/libnss_files.abilist: New file.
5995 * sysdeps/generic/libnss_hesiod.abilist: New file.
5996 * sysdeps/generic/libnss_nis.abilist: New file.
5997 * sysdeps/generic/libnss_nisplus.abilist: New file.
5998 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
5999 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
6000 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
6001 file.
6002 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
6003 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
6004 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
6005 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
6006 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
6007 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
6008 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
6009 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
6010 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
6011 file.
6012 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
6013 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
6014 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6015 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6016 file.
6017 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6018 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6019 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6020 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6021 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6022 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6023 file.
6024 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6025 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6026 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6027 file.
6028 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6029 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6030 New file.
6031 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6032 New file.
6033 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6034 New file.
6035 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6036 New file.
6037 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6038 New file.
6039 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6040 New file.
6041 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6042 New file.
6043 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6044 New file.
6045 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6046 New file.
6047 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6048 New file.
6049 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6050 New file.
6051 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6052 New file.
6053 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6054 New file.
6055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6056 file.
6057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6058 New file.
6059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6060 New file.
6061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6062 file.
6063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6064 New file.
6065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6066 New file.
6067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6068 file.
6069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6070 New file.
6071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6072 New file.
6073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6074 New file.
6075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6076 New file.
6077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6078 New file.
6079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6080 New file.
6081 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6082 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6083 file.
6084 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6085 New file.
6086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6087 file.
6088 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6089 file.
6090 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6091 file.
6092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6093 file.
6094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6095 file.
6096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6097 New file.
6098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6099 file.
6100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6101 file.
6102 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6103 New file.
6104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6105 file.
6106 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6107 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
6108 file.
6109 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6110 New file.
6111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
6112 file.
6113 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
6114 file.
6115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
6116 file.
6117 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
6118 file.
6119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
6120 file.
6121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6122 New file.
6123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
6124 file.
6125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
6126 file.
6127 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6128 New file.
6129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
6130 file.
6131 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6132 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
6133 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
6134 file.
6135 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
6136 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
6137 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
6138 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
6139 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
6140 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
6141 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
6142 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
6143 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
6144 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
6145 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
6146 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
6147 file.
6148 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6149 New file.
6150 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
6151 file.
6152 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
6153 file.
6154 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
6155 file.
6156 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
6157 file.
6158 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
6159 file.
6160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6161 New file.
6162 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6163 New file.
6164 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
6165 file.
6166 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6167 New file.
6168 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
6169 file.
6170 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
6171 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
6172 file.
6173 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6174 New file.
6175 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
6176 file.
6177 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
6178 file.
6179 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
6180 file.
6181 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
6182 file.
6183 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
6184 file.
6185 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6186 New file.
6187 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6188 New file.
6189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
6190 file.
6191 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6192 New file.
6193 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
6194 file.
6195
41d73a1b
JM
61962012-04-28 Joseph Myers <joseph@codesourcery.com>
6197
6198 * conform/conformtest.pl: Fix typo in handling typed-constant from
6199 allow-header.
6200
28aeeda4
JM
62012012-04-27 Joseph Myers <joseph@codesourcery.com>
6202
adae8f5e
JM
6203 * README: Cut down references to pre-2.6 Linux kernels and
6204 Linuxthreads. Update lists of configurations in libc and ports
6205 and sort alphabetically. Say "or newer" with Linux kernel version
6206 requirements.
6207
28aeeda4
JM
6208 * config.h.in [IS_IN_build]: Allow compiling without optimization.
6209
a462cb63
RA
62102012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6211
6212 [BZ #887]
6213 * math/libm-test.inc (logb_test_downward): New test to expose
6214 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
6215 rounding mode.
6216
6ad3493e
JM
62172012-04-27 Joseph Myers <joseph@codesourcery.com>
6218
6219 [BZ #14027]
6220 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
6221 to be done.
6222 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
6223 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
6224
2ce4f015
JM
62252012-04-26 Joseph Myers <joseph@codesourcery.com>
6226
5aeb141a
JM
6227 * sysdeps/unix/i386/brk.S: Remove file.
6228 * sysdeps/unix/i386/dl-brk.S: Likewise.
6229 * sysdeps/unix/i386/pipe.S: Likewise.
6230 * sysdeps/unix/i386/sigreturn.S: Likewise.
6231 * sysdeps/unix/i386/syscall.S: Likewise.
6232 * sysdeps/unix/i386/vfork.S: Likewise.
6233 * sysdeps/unix/i386/wait.S: Likewise.
6234
7143acae
JM
6235 * sysdeps/unix/common/tcsendbrk.c: Move to ...
6236 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
6237
2ce4f015
JM
6238 * configure.in (arm*-none*): Do not allow without
6239 --enable-hacker-mode.
6240 (netbsd*): Remove case setting base_os.
6241 (386bsd*): Likewise.
6242 (freebsd*): Likewise.
6243 (bsdi*): Likewise.
6244 (osf*): Likewise.
6245 (sunos*): Likewise.
6246 (ultrix*): Likewise.
6247 (newsos*): Likewise.
6248 (dynix*): Likewise.
6249 (*bsd*): Likewise.
6250 (sysv*): Likewise.
6251 (isc*): Likewise.
6252 (esix*): Likewise.
6253 (sco*): Likewise.
6254 (minix*): Likewise.
6255 (irix4*): Likewise.
6256 (irix6*): Likewise.
6257 (solaris[2-9]*): Likewise.
6258 (none): Likewise.
6259 * configure: Regenerated.
6260
0ac229c8
AZ
62612012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6262
6263 [BZ #11521]
6264 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
6265 overflow or cancellation in calculating denominator.
6266 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
6267 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
6268 down expression to avoid unexpected rounding in newer GCCs.
6269 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
6270
33f244f4
DM
62712012-04-26 David S. Miller <davem@davemloft.net>
6272
6273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
6274 long-double compat symbols.
6275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
6279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
6281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
6282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
6283 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
6284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
6286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
6287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6288
cfa1f3e8
DM
62892012-04-25 David S. Miller <davem@davemloft.net>
6290
6291 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
6292 HWCAP_* values only after the memory barriers have been defined.
6293 (atomic_full_barrier): Define.
6294 (atomic_read_barrier): Define.
6295 (atomic_write_barrier): Define.
6296
6e236b92
SP
62972012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6298
6299 * shlib-versions: Add libgcc_s version information.
6300 * sysdeps/generic/libgcc_s.h: Remove.
6301 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
6302 libgcc_s.h.
6303 * sysdeps/gnu/unwind-resume.c: Likewise.
6304 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
6305
aab39a09
DM
63062012-04-25 David S. Miller <davem@davemloft.net>
6307
6308 * sysdeps/unix/sparc/brk.S: Delete.
6309 * sysdeps/unix/sparc/dl-brk.S: Delete.
6310 * sysdeps/unix/sparc/pipe.S: Delete.
6311 * sysdeps/unix/sparc/sysdep.S: Delete.
6312 * sysdeps/unix/sparc/sysdep.h: Delete.
6313 * sysdeps/unix/sparc/vfork.S: Delete.
6314 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
6315 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
6316 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
6317 ret_ERRVAL, r0, r1, MOVE): Define.
6318 (JUMPTARGET): Remove.
6319 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
6320 sysdeps/unix/sparc/sysdep.h
6321 (ENTRY, END): Remove.
6322 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6323
a3cc4f48
JM
63242012-04-25 Joseph Myers <joseph@codesourcery.com>
6325
2ed8cda2
JM
6326 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
6327 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
6328 -DIS_IN_build.
6329
35d76d59
JM
6330 * timezone/README: Update upstream location and email address for
6331 tzcode and tzdata.
6332 * timezone/zdump.c: Update from tzcode 2012b.
6333 * timezone/zic.c: Likewise.
6334
a3cc4f48
JM
6335 * configure.in (libc_cv_as_needed): Remove test.
6336 * configure: Regenerated.
6337 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
6338 conditional definition.
6339 [$(have-as-needed) != yes] (no-as-needed): Likewise.
6340 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
6341 * config.make.in (have-as-needed): Remove variable.
6342
ceab42c3
SP
63432012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6344 Paul Pluzhnikov <ppluzhnikov@google.com>
6345
6346 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
6347 strings correctly.
6348
3ce2865f
CLT
63492012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
6350
6351 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
6352 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
6353 * sysdeps/sh/strlen.S: Likewise.
6354
f37e0d68
JM
63552012-04-24 Joseph Myers <joseph@codesourcery.com>
6356
ae186e9a
JM
6357 * sysdeps/unix/fork.S: Remove file.
6358 * sysdeps/unix/i386/fork.S: Likewise.
6359 * sysdeps/unix/sparc/fork.S: Likewise.
6360
b96914af
JM
6361 * sysdeps/unix/system.c: Remove file.
6362 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
6363
f37e0d68
JM
6364 * sysdeps/unix/getegid.S: Remove file.
6365 * sysdeps/unix/geteuid.S: Likewise.
6366
87ef29ca
RM
63672012-04-24 Roland McGrath <roland@hack.frob.com>
6368
83bcd236
RM
6369 * scripts/check-localplt.awk: New file.
6370 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
6371 of diff.
6372 * scripts/data/localplt-generic.data: Add a comment.
6373
87ef29ca
RM
6374 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
6375 NODE when __dir_mkfile failed.
6376 * sysdeps/mach/hurd/symlinkat.c: Likewise.
6377 Reported by Ludovic Courtès <ludo@gnu.org>.
6378
e5a6e567
AJ
63792012-04-24 Andreas Jaeger <aj@suse.de>
6380
6381 * Makerules (common-clean): Also remove gen-as-const-headers
6382 files.
6383
c1820385
JM
63842012-04-24 Joseph Myers <joseph@codesourcery.com>
6385
6386 * Makerules (native-compile): Do not change working directory for
6387 build. Use $(OUTPUT_OPTION) in command.
6388 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
6389
94e02fc4
AZ
63902012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6391
6392 [BZ #13886]
6393 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
6394 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
6395 * math/libm-test.inc (floor_test): Add more tests.
6396 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
6397
3a533ca3
JM
63982012-04-24 Joseph Myers <joseph@codesourcery.com>
6399
940ab4b3
JM
6400 * sysdeps/unix/getdents.c: Remove file.
6401 * sysdeps/unix/sysv/getdents.c: Likewise.
6402 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
6403
90e037bd
JM
6404 * sysdeps/unix/syscalls.list (madvise): Add syscall from
6405 sysdeps/unix/mman/syscalls.list.
6406 (mmap): Likewise.
6407 (mprotect): Likewise.
6408 (msync): Likewise.
6409 (munmap): Likewise.
6410 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
6411 * sysdeps/unix/mman/syscalls.list: Remove.
6412 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
6413
3a533ca3
JM
6414 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
6415 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
6416 * configure: Regenerated.
6417 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
6418 $(libgcc_s_suffix).
6419 * config.make.in (libgcc_s_suffix): Remove variable.
6420
1ad743de
JM
64212012-04-23 Joseph Myers <joseph@codesourcery.com>
6422
4ad451e2
JM
6423 * sysdeps/unix/sysv/gethostname.c: Move to ...
6424 * sysdeps/posix/gethostname.c: ... here.
6425
5e37ce39
JM
6426 * sysdeps/unix/execve.S: Remove file.
6427
1ad743de
JM
6428 * sysdeps/unix/_exit.S: Remove file.
6429
4e681b5b
AJ
64302012-04-23 Andreas Jaeger <aj@suse.de>
6431
6432 [BZ #13739]
6433 * manual/Makefile: Remove make dist support, there's no
6434 need for a stand-alone documentation tar ball.
6435 (TEXI2DVI): Define always, it's not in Makeconfig.
6436 (dist): Removed.
6437 (tar-it): Removed.
6438 (edition): Removed.
6439 (glibc-doc-$(edition).tar): Removed
6440 (%.Z): Removed.
6441 (%.gz): Removed.
6442 (%.uu): Removed.
6443 (ETAGS): Remove, it's in Makeconfig.
6444 (move-if-change): Remove, it's in Makeconfig.
6445
c0baea34
PE
64462013-04-23 Paul Eggert <eggert@cs.ucla.edu>
6447
6448 [BZ #13970]
6449 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
6450 (strtod, strtof, strtold, strtol, strtoul, strtoq)
6451 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
6452 (strtod_l, strtof_l, strtold_l): Remove __wur.
6453 It is not necessarily an error to ignore strtol's return value.
6454 One can reliably look at the stored endptr to decide whether
6455 the number had valid syntax.
6456
7c0616fa
AJ
64572012-04-21 Andreas Jaeger <aj@suse.de>
6458
803cb6b7 6459 [BZ #13739]
7c0616fa
AJ
6460 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
6461
b0fe253f
JM
64622012-04-21 Joseph Myers <joseph@codesourcery.com>
6463
6464 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
6465 * sysdeps/unix/sysv/Versions: Remove file.
6466
8280f22d
MT
64672012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
6468
6469 [BZ #13927]
6470 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6471
75ce411f 64722012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
6473
6474 [BZ #7064]
6475 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
6476 version from __vm86.
6477
097d59fa
JM
64782012-04-20 Joseph Myers <joseph@codesourcery.com>
6479
a90f3bcb
JM
6480 * sysdeps/unix/common/lxstat.c: Remove file.
6481 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
6482
edc7ea78
JM
6483 * sysdeps/unix/sysv/Makefile: Remove file.
6484
cb78c221
JM
6485 * sysdeps/unix/sysv/direct.h: Remove file.
6486
efa6a45f
JM
6487 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
6488 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
6489 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
6490 * sysdeps/unix/sysv/bits/signum.h: Likewise.
6491 * sysdeps/unix/sysv/bits/stat.h: Likewise.
6492 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
6493 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
6494
9c9f2d0c
JM
6495 * sysdeps/unix/sysv/setrlimit.c: Remove file.
6496
4541c83b
JM
6497 * sysdeps/unix/xmknod.c: Remove file.
6498 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
6499
f5d153a0
JM
6500 * sysdeps/unix/sysv/settimeofday.c: Remove file.
6501
aa746595
JM
6502 * sysdeps/unix/sysv/i386/time.S: Remove file.
6503
cce5905e
JM
6504 * sysdeps/unix/fxstat.c: Remove file.
6505 * sysdeps/unix/xstat.c: Likewise.
6506 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
6507
37fa3841
JM
6508 * sysdeps/unix/sysv/sigaction.c: Remove file.
6509
ff1962a3
JM
6510 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
6511 (sysdep_headers): Remove variable.
6512 [termio.h not in sysdep_headers] (generated): Likewise.
6513 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
6514 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
6515 * sysdeps/unix/sysv/tcdrain.c: Likewise.
6516 * sysdeps/unix/sysv/tcflow.c: Likewise.
6517 * sysdeps/unix/sysv/tcflush.c: Likewise.
6518 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
6519 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
6520 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6521 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6522 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
6523
e7740d31
JM
6524 * sysdeps/unix/siglist.c: Remove file.
6525
ee06f18b
JM
6526 * sysdeps/unix/getppid.S: Remove file.
6527
097d59fa
JM
6528 * sysdeps/unix/mkdir.c: Remove file.
6529 * sysdeps/unix/rmdir.c: Likewise.
6530
ff3d51ec
AS
65312012-04-19 Andreas Schwab <schwab@linux-m68k.org>
6532
6533 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
6534 ERR_MAX value.
6535 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
6536 errlist-compat value.
6537
50f81fd7
DM
65382012-04-18 David S. Miller <davem@davemloft.net>
6539
6540 * sysdeps/generic/memcopy.h (reg_char): Delete.
6541 * debug/strcat_chk.c: Use char, not reg_char.
6542 * debug/strcpy_chk.c: Likewise.
6543 * debug/strncat_chk.c: Likewise.
6544 * debug/strncpy_chk.c: Likewise.
6545 * string/memchr.c: Likewise.
6546 * string/memrchr.c: Likewise.
6547 * string/rawmemchr.c: Likewise.
6548 * string/strcat.c: Likewise.
6549 * string/strchr.c: Likewise.
6550 * string/strchrnul.c: Likewise.
6551 * string/strcmp.c: Likewise.
6552 * string/strcpy.c: Likewise.
6553 * string/strncat.c: Likewise.
6554 * string/strncmp.c: Likewise.
6555 * string/strncpy.c: Likewise.
6556
8ff41c46
WS
65572012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6558
6559 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
6560 __builtin_memcopy is called when src and dest ranges are known to not
6561 overlap.
6562
6b652f46
WS
65632012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6564
6565 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
6566 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
6567 fwd_align_merge macro call.
6568 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
6569 bwd_align_merge macro call.
6570 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6571
b282631e
WS
65722012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6573
6574 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
6575 bwd_align_merge macros.
6576 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
6577 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
6578 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6579
95aa737c
DM
65802012-04-18 David S. Miller <davem@davemloft.net>
6581
6582 * sysdeps/sparc/sparc64/memcopy.h: Delete.
6583
7a99a614
AJ
65842012-04-18 Andreas Jaeger <aj@suse.de>
6585
6586 [BZ# 6794]
6587 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
6588 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
6589 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6590
6591 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
6592 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
6593 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6594
6595 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
6596 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
6597 Adjust for changed ldbl-128 files.
6598
6599 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
6600 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
6601 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6602
e5270c23
DM
66032012-04-17 David S. Miller <davem@davemloft.net>
6604
6605 * sysdeps/sparc/sparc32/memcopy.h: Delete.
6606
fb5e92c9
AS
66072012-04-17 Andreas Schwab <schwab@linux-m68k.org>
6608
6609 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
6610 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
6611 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
6612 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
6613 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6614 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
6615
76da7265
AZ
66162012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6617
6618 [BZ #6794]
6619 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
6620 * math/libm-test.inc: Add ilogb errno and exception tests.
6621 * math/w_ilogb.c: New file: ilogb wrapper.
6622 * math/w_ilogbf.c: New file: ilogbf wrapper.
6623 * math/w_ilogbl.c: New file: ilogbl wrapper.
6624 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
6625 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
6626 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
6627 exception being thrown with 0.0 as argument.
6628 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
6629 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
6630 exception being thrown with 0.0 as argument.
6631 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
6632 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6633 exception being thrown with 0.0 as argument.
6634 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
6635 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6636 exception being thrown with 0.0 as argument.
6637 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
6638 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 6639 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
6640 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
6641 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
6642 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
6643 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
6644 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
6645 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
6646
0396e69d
PB
66472012-04-17 Petr Baudis <pasky@ucw.cz>
6648
6649 * include/sys/uio.h: Change __vector to __iovec to avoid clash
6650 with altivec.
6651
750b5926
MP
66522012-04-16 Marek Polacek <polacek@redhat.com>
6653
6654 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
6655
751728a1
MP
66562012-04-16 Marek Polacek <polacek@redhat.com>
6657
6658 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
6659 operands of fdivp instruction.
6660
34a27407
L
66612012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6662
6663 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
6664 * elf/tst-auditmod3b.c: Likewise.
6665 * elf/tst-auditmod4b.c: Likewise.
6666 * elf/tst-auditmod5b.c: Likewise.
6667 * elf/tst-auditmod6b.c: Likewise.
6668 * elf/tst-auditmod6c.c: Likewise.
6669 * elf/tst-auditmod7b.c: Likewise.
6670 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
6671 * sysdeps/x86_64/preconfigure.in: Likewise.
6672 * sysdeps/x86_64/preconfigure: Regenerated.
6673
7e73e17d
L
66742012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6675
6676 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
6677 __ILP32__.
6678
c7a6ab72
AB
66792012-04-13 Antoine Balestrat <merkil33@gmail.com>
6680
6681 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6682 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
6683
a9e8e0e0
CL
66842012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
6685
6686 [BZ #13973]
6687 * locale/iso-639.def: Fix gl language name. Spotted by
6688 Yaron Shahrabani.
6689
ec98af7d
RM
66902012-04-12 Roland McGrath <roland@hack.frob.com>
6691
6692 [BZ #2074]
6693 * libio/libio.h (__io_write_fn): Update comment.
6694
247c3ede
PB
66952012-04-12 Petr Baudis <pasky@ucw.cz>
6696
6697 [BZ #2074]
6698 * stdio.texi (Hook Functions): The user provided writer function
6699 is not allowed to return -1.
6700
55939d6d
DM
67012012-04-11 David S. Miller <davem@davemloft.net>
6702
6703 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6704
90020f5a
MF
67052012-04-11 Mike Frysinger <vapier@gentoo.org>
6706
6707 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
6708 Add a leading slash to rtkaio.
6709
288f9098
JM
67102012-04-11 Jim Meyering <meyering@redhat.com>
6711
90020f5a
MF
6712 [BZ #11959]
6713 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
6714 It is not necessarily an error to ignore fwrite's return
6715 value. One can reliably use ferror to test for errors after
6716 the fact.
288f9098 6717
4be2b570
L
67182012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6719
6720 * bits/types.h (__snseconds_t): New type.
6721 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
6722
6723 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
6724 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6725 (__SNSECONDS_T_TYPE): Likewise.
6726 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6727 (__SNSECONDS_T_TYPE): Likewise.
6728 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6729 (__SNSECONDS_T_TYPE): Likewise.
6730
288f9098 67312012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
6732
6733 [BZ #2636]
6734 * manual/time.texi (Processor Time): Return type of times is
6735 elapsed real time since an arbitrary point in the past.
6736 (CPU Time): Move CLK_TCK from here...
6737 (Processor Time): ...to here. Correct description.
6738 * manual/conf.texi (Constants for Sysconf): Correct description of
6739 _SC_CLK_TCK.
6740
d7dd4413
DM
67412012-04-10 David S. Miller <davem@davemloft.net>
6742
6743 [BZ #13967]
6744 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
6745 where the is a gap between DT_REL(A) and DT_JMPREL.
6746
b46068fc
L
67472012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6748
6749 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
6750 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6751 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6752
73d65cc3
SP
67532012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6754
6755 * elf/dl-support.c (_dl_inhibit_cache): New variable.
6756 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
6757 (dl_main): Handle --inhibit-cache.
6758 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
6759 _dl_inhibit_cache.
6760 * elf/dl-load.c (_dl_map_object): Use it.
6761 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
6762
bcc8d661
JM
67632012-04-09 Joseph Myers <joseph@codesourcery.com>
6764
8f9a2fae
JM
6765 [BZ #13872]
6766 * sysdeps/i386/fpu/e_powl.S (p78): New object.
6767 (__ieee754_powl): Saturate large exponents rather than testing for
6768 overflow of y*log2(x).
6769 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6770 * math/libm-test.inc (pow_test): Do not permit spurious overflow
6771 exceptions.
6772
bcc8d661
JM
6773 [BZ #11521]
6774 * math/s_ctan.c: Include <float.h>.
6775 (__ctan): Avoid internal overflow or cancellation in calculating
6776 denominator.
6777 * math/s_ctanf.c: Likewise.
6778 * math/s_ctanl.c: Likewise.
6779 * math/s_ctanh.c: Likewise.
6780 * math/s_ctanhf.c: Likewise.
6781 * math/s_ctanhl.c: Likewise.
6782 * math/libm-test.inc (ctan_test): Add more tests.
6783 (ctanh_test): Likewise.
6784 * sysdeps/i386/fpu/libm-test-ulps: Update.
6785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6786
823fbbb4
AJ
67872012-04-09 Andreas Jaeger <aj@suse.de>
6788
03879793
AJ
6789 [BZ #6894]
6790 * manual/filesys.texi (Directory Entries): Mention that d_namlen
6791 is an optional BSD extension.
6792
823fbbb4
AJ
6793 [BZ #10254]
6794 * manual/stdio.texi (Opening Streams): Document additional fopen
6795 parameters.
6796
8de131cb
RM
67972012-04-09 Roland McGrath <roland@hack.frob.com>
6798
6799 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
6800 %eax without telling the compiler.
6801
c0ed9d7d
CD
68022012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
6803
6804 [BZ # 13963]
6805 * manual/install.texi: Use sourceware.org.
6806
c483f6b4
JM
68072012-04-09 Joseph Myers <joseph@codesourcery.com>
6808
d7dd9453
JM
6809 [BZ #13873]
6810 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
6811 (__ieee754_pow): Generate overflow and underflow using huge*huge
6812 and tiny*tiny rather than just returning constant infinity or zero
6813 for large exponents.
6814 * math/libm-test.inc (pow_test): Require overflow exceptions for
6815 applicable cases of large exponents.
6816
c483f6b4
JM
6817 [BZ #706]
6818 * sysdeps/i386/fpu/e_pow.S (p10): New object.
6819 (__ieee754_pow): Use iterative multiplication algorithm only for
6820 integer exponents with absolute value below 1024. Check for odd
6821 integer exponents when using algorithm for real exponents.
6822 * math/libm-test.inc (pow_test): Add more tests.
6823 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6824
d2de7579
JM
68252012-04-08 Joseph Myers <joseph@codesourcery.com>
6826
6827 [BZ #13705]
6828 * math/libm-test.inc (exp_test): Do not allow overflow exception
6829 on underflow test.
6830
f77f1232
AJ
68312012-04-08 Aurelien Jarno <aurelien@aurel32.net>
6832
6833 [BZ #13705]
6834 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
6835 instead of __kernel_standard_f.
6836
3884932b
MF
68372012-04-08 Mike Frysinger <vapier@gentoo.org>
6838
6839 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
6840 * sysdeps/x86_64/memset_chk.S: Likewise.
6841
54472e9c
AJ
68422012-04-08 Andreas Jaeger <aj@suse.de>
6843
6ab0fbfc
AJ
6844 [BZ #10153]
6845 * manual/startup.texi (Environment Access): Describe return value
6846 for putenv and setenv.
6847
61efba8c
AJ
6848 [BZ #6895]
6849 * manual/filesys.texi (Directory Entries): Add description for
6850 DT_LNK.
6851
95c3f29a
AJ
6852 [BZ #6890]
6853 * manual/filesys.texi (Directory Entries): Clarify that it's file
6854 system not operating system in the description of DT_UNKNOWN.
6855
54472e9c
AJ
6856 [BZ #6578]
6857 * manual/syslog.texi (closelog): Fix reference, it's openlog.
6858
624254b1
SC
68592012-04-08 Stephen Compall <s11@member.fsf.org>
6860
6861 [BZ #6649]
6862 * manual/llio.texi (Opening and Closing Files): Add cross
6863 reference to explain mode argument.
6864
1e4920e0
MF
68652012-04-07 Mike Frysinger <vapier@gentoo.org>
6866
6867 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
6868 * sysdeps/x86_64/memset_chk.S: Likewise.
6869
5ed848f3
DM
68702012-04-07 David S. Miller <davem@davemloft.net>
6871
6872 * elf/elf.h (R_SPARC_WDISP10): Define.
6873 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
6874 R_SPARC_SIZE32.
6875 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
6876 R_SPARC_SIZE64 and R_SPARC_H34.
6877
96154cd8
CD
68782012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
6879
6880 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
6881 conditions and remove no longer applicable assertion.
6882
9904dc47
L
68832012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6884
6885 * bits/byteswap.h: Include <features.h>.
6886 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6887 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6888
f8887d0a
L
68892012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6890
6891 * bits/byteswap.h (__bswap_16): Removed.
6892 Include <bits/byteswap-16.h> to get __bswap_16.
6893 * sysdeps/i386/bits/byteswap.h: Likewise.
6894 * sysdeps/s390/bits/byteswap.h: Likewise.
6895 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6896 * bits/byteswap-16.h: New file.
6897 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6898 * sysdeps/s390/bits/byteswap-16.h: Likewise.
6899 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
6900 * string/Makefile (headers): Add bits/byteswap-16.h.
6901
62470f60
PP
69022012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6903
6904 [BZ #13895]
6905 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
6906 extra indirection.
6907 * nss/Makefile (tests-static, tests): Add tst-nss-static.
6908 * nss/tst-nss-static.c: New.
6909
4dad7bab
RM
69102012-04-06 Robert Millan <rmh@gnu.org>
6911
6912 [BZ #6486]
6913 * manual/llio.texi (File Position Primitive): lseek
6914 refers to WHENCE when it really means OFFSET.
6915
e9142a17
AJ
69162012-04-06 Andreas Jaeger <aj@suse.de>
6917
2c040eff
AJ
6918 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
6919 strncmp declarations.
6920
e9142a17
AJ
6921 * abilist/libc.abilist: Add __poll and __ppoll.
6922
ff9f1c5f
DM
69232012-04-05 David S. Miller <davem@davemloft.net>
6924
dcd2ae90
DM
6925 * scripts/check-local-headers.sh: Accept a host triplet in the
6926 path matched by the exclude regexp.
6927
993eb054
DM
6928 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
6929 definition.
6930 * sysdeps/powerpc/powerpc32/dl-machine.h
6931 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
6932 * sysdeps/s390/s390-32/dl-machine.h
6933 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6934 * sysdeps/sparc/sparc32/dl-machine.h
6935 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6936 * sysdeps/sparc/sparc64/dl-machine.h
6937 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6938
ff9f1c5f
DM
6939 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
6940 lazy binding.
48e2e132 6941 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
6942 undefined symbol errors.
6943
48e2e132 6944 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
6945 DT_NEEDED entries.
6946
e80d6f94
MM
69472012-04-05 Michael Matz <matz@suse.de>
6948
6949 [BZ #13592]
6950 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
6951
349fa79f
AJ
69522012-04-05 Andreas Jaeger <aj@suse.de>
6953
6954 [BZ #13908]
6955 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
6956 comment.
6957
f402708f
KK
69582012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6959
6960 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
6961 which ROUND is no valid rounding mode.
6962
2ecccfc9
KK
69632012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6964
6965 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
6966 read again.
6967 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
6968
8a53f50f
KK
69692012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6970
6971 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
6972 an exception using FPU order intentionally.
6973
69742012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6975
6976 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
6977 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
6978 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
6979 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
6980
d653abb7
SJ
69812012-04-05 Simon Josefsson <simon@josefsson.org>
6982
6983 [BZ #12340]
6984 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
6985 EINVAL when BUFLEN is too smal.
6986
c3b1bf7d
TS
69872012-04-05 Thomas Schwinge <thomas@codesourcery.com>
6988
6989 [BZ #13553]
6990 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
6991 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
6992
b1aa60f3
AJ
69932012-04-03 Andreas Jaeger <aj@suse.de>
6994
c3b1bf7d 6995 [BZ #13938]
67f60a26
AJ
6996 * manual/setjmp.texi (System V contexts): Fix sentence.
6997
b1aa60f3
AJ
6998 [BZ #13926]
6999 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
7000 New macro for this case.
7001 [!__GNUC__] (__bswap_64): New inline function for this case.
7002 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7003 * bits/byteswap.h: Likewise.
7004 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
7005 ull, guard with __GLIBC_HAVE_LONG_LONG.
7006
7007 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
7008 __GLIBC_HAVE_LONG_LONG.
7009
7010 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
7011 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
7012
39c59c35
TMQMF
70132012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7014
7015 [BZ #13691]
7016 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7017 inptr and inend, rather than using last_ch.
7018
135ffda8
DM
70192012-04-02 David S. Miller <davem@davemloft.net>
7020
7021 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7022 * stdio-common/printf-parse.h (read_int): Change return type to
7023 'int', return -1 on INT_MAX overflow.
7024 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7025 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
7026 overflows INT_MAX. Check for overflow of in-format-string precision
7027 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
7028 SIZE_MAX not INT_MAX for integer overflow test.
7029 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7030 skip the construct in the format string but do not record anything.
7031 * stdio-common/bug22.c: Adjust to test both width/prevision
7032 INT_MAX overflow as well as total length INT_MAX overflow. Check
7033 explicitly for proper errno values.
7034
228c019e
TS
70352012-04-02 Thomas Schwinge <thomas@codesourcery.com>
7036
302cadd3
TS
7037 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7038 CHAR_MAX.
7039 * string/test-strcmp.c [! WIDE]: Likewise.
7040 * time/tst-mktime2.c: Likewise for INT_MAX.
7041 * string/test-string.h: #include <sys/param.h> for MIN.
7042
228c019e
TS
7043 * csu/init-first.c (__libc_init_first): Call __ctype_init.
7044 * sysdeps/i386/init-first.c (init): Likewise.
7045 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7046 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7047 * sysdeps/sh/init-first.c (init): Likewise.
7048
cfa633f5
UD
70492012-04-01 Ulrich Drepper <drepper@gmail.com>
7050
7051 * po/ru.po: Update from translation team.
d1635ef8 7052 * po/vi.po: Likewise.
cfa633f5 7053
6cd0a5ea
SP
70542012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7055
7056 * resolv/nss_dns/dns-host.c: Merge copyright years.
7057
4b43400f
LD
70582012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7059
7060 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7061 Optimize memcpy with prefetch if
7062 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
7063 src, dst pointers have unequal 16 byte alignments.
7064
48c41d04
SP
70652012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7066
7067 [BZ #13928]
7068 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7069 from a CNAME entry and return the minimum ttl for the query.
7070 (gaih_getanswer_slice): Likewise.
7071
b8dc394d
JL
70722012-03-30 Jeff Law <law@redhat.com>
7073
7074 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7075 due to long keys.
7076 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7077 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7078
2f5a5ed0
JL
7079 * resolv/nss_dns/dns-host.c: Update copyright year.
7080
1d39e359
UD
70812012-03-30 Ulrich Drepper <drepper@gmail.com>
7082
c030f70c 7083 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 7084 requests to save a system call. Fix check that all bytes are sent.
c030f70c 7085
1d39e359
UD
7086 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7087 comments for sendmmsg.
7088
70892012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
7090
7091 [BZ #13691]
7092 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7093 with only 1 character between 0x0041 and 0x01b0.
7094 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7095 * wcsmbs/tst-mbsnrtowcs.c: New file.
7096
20fde227
DM
70972012-03-29 David S. Miller <davem@davemloft.net>
7098
7099 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7100 small copies by hand.
7101
984a4237
JL
71022012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7103
7104 [BZ #13761]
7105 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7106 _nss_compat_initgroups_dyn): Fall back to malloc/free
7107 for large group memberships.
7108
18c9d62b
DM
71092012-03-28 David S. Miller <davem@davemloft.net>
7110
88d85d4f
DM
7111 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
7112 that branches into memcpy.
7113 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7114 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7115 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7116 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7117 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
7118 bits.
7119 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
7120 implementation too.
7121 * sysdeps/sparc/mempcpy.S: New file.
7122
e5aa83e1
DM
7123 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
7124 the IFUNC routine in the libc case.
7125 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7126
88570753
DM
7127 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
7128 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
7129 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
7130 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7131 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
7132 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
7133 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
7134 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
7135
249d7567
DM
7136 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
7137 loop to 256 bytes instead of 64 bytes and fix test signedness.
7138
18c9d62b
DM
7139 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
7140 * sysdeps/sparc/sparc32/Makefile: rather than here...
7141 * sysdeps/sparc/sparc64/Makefile: and here.
7142
05f3d1f6
UD
71432012-03-28 Ulrich Drepper <drepper@gmail.com>
7144
7145 * malloc/mallocbug.c: Avoid warnings about unused variables.
7146
86ae07a8
JL
71472012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7148
7149 [BZ #13760]
7150 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
7151 in the right place. Discard and retry query if response is
7152 larger than input buffer size.
7153
41bf21a1
JM
71542012-03-28 Joseph Myers <joseph@codesourcery.com>
7155
d6270972
JM
7156 [BZ #369]
7157 [BZ #2678]
7158 [BZ #3866]
7159 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
7160 x for large integer exponent.
7161 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7162 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
7163 sign of result as needed afterwards.
7164 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7165 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
7166 result for underflowing pow the same as for overflow.
7167 (__kernel_standard_l): Handle powl overflow and underflow here
7168 rather than calling __kernel_standard.
7169 * math/libm-test.inc (pow_test): Add more tests.
7170
414fca03 7171 [BZ #3868]
41bf21a1
JM
7172 [BZ #13879]
7173 [BZ #13910]
7174 [BZ #13911]
7175 [BZ #13912]
7176 [BZ #13913]
7177 [BZ #13915]
7178 [BZ #13916]
7179 [BZ #13917]
7180 [BZ #13918]
7181 [BZ #13919]
7182 [BZ #13920]
7183 [BZ #13921]
7184 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
7185 * sysdeps/ieee754/k_standard.c: Include <float.h>.
7186 (__kernel_standard_l): New function.
7187 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
7188 __kernel_standard.
7189 * math/w_acosl.c (__acosl): Likewise.
7190 * math/w_asinl.c (__asinl): Likewise.
7191 * math/w_atan2l.c (__atan2l): Likewise.
7192 * math/w_atanhl.c (__atanhl): Likewise.
7193 * math/w_coshl.c (__coshl): Likewise.
7194 * math/w_exp10l.c (__exp10l): Likewise.
7195 * math/w_exp2l.c (__exp2l): Likewise.
7196 * math/w_fmodl.c (__fmodl): Likewise.
7197 * math/w_hypotl.c (__hypotl): Likewise.
7198 * math/w_j0l.c (__j0l, __y0l): Likewise.
7199 * math/w_j1l.c (__j1l, __y1l): Likewise.
7200 * math/w_jnl.c (__jnl, __ynl): Likewise.
7201 * math/w_lgammal.c (__lgammal): Likewise.
7202 * math/w_log10l.c (__log10l): Likewise.
7203 * math/w_log2l.c (__log2l): Likewise.
7204 * math/w_logl.c (__logl): Likewise.
7205 * math/w_powl.c (__powl): Likewise.
7206 * math/w_remainderl.c (__remainderl): Likewise.
7207 * math/w_scalbl.c (sysv_scalbl): Likewise.
7208 * math/w_sinhl.c (__sinhl): Likewise.
7209 * math/w_sqrtl.c (__sqrtl): Likewise.
7210 * math/w_tgammal.c (__tgammal): Likewise.
7211 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
7212 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
7213 * math/libm-test.inc (acos_test): Add more tests.
7214 (acosh_test): Likewise.
7215 (asin_test): Likewise.
7216 (atanh_test): Likewise.
7217 (exp_test): Likewise.
7218 (exp10_test): Likewise.
7219 (exp2_test): Likewise.
7220 (expm1_test): Likewise.
7221 (lgamma_test): Likewise.
7222 (log_test): Likewise.
7223 (log10_test): Likewise.
7224 (log1p_test): Likewise.
7225 (log2_test): Likewise.
7226 (pow_test): Do not allow some spurious overflow exceptions.
7227 (sqrt_test): Add more tests.
7228 (tgamma_test): Likewise.
7229 (y0_test): Likewise.
7230 (y1_test): Likewise.
7231 (yn_test): Likewise.
7232
dd62fda6
AB
72332012-03-27 Anton Blanchard <anton@samba.org>
7234
7235 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
7236 MAP_HUGETLB.
7237 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7238 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7239 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7240
1e3cdfda
AJ
72412012-03-27 David S. Miller <davem@davemloft.net>
7242
b855ab85
DM
7243 * conform/Makefile: Run run-conformtest.sh using $(BASH).
7244
1e3cdfda
AJ
7245 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
7246 have-as-vis3 check.
7247
72482012-03-27 Andreas Jaeger <aj@suse.de>
7249
7250 * sysdeps/x86_64/elf/configure.in: Moved to ...
7251 * sysdeps/x86_64/configure.in: ... here.
7252 * sysdeps/x86_64/elf/start.S: Moved to ...
7253 * sysdeps/x86_64/start.S: ... here.
7254 * sysdeps/x86_64/elf/configure: Delete.
7255
7256 * sysdeps/x86_64/configure.in: Merge contents from
7257 sysdeps/i386/configure.in (without i686 check).
7258
7259 * sysdeps/i386/elf/Versions: Merge into ...
7260 * sysdeps/i386/Versions: ... this.
7261 * sysdeps/i386/elf/Versions: Delete file.
7262 * sysdeps/i386/elf/start.S: Moved to ...
7263 * sysdeps/i386/start.S: ...here.
7264 * sysdeps/i386/elf/configure.in: Merge into...
7265 * sysdeps/i386/configure.in: ...here.
7266 * sysdeps/i386/elf/configure.in: Delete file.
7267 * sysdeps/i386/elf/configure: Delete file.
7268
7269 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
7270 * debug/backtracesyms.c: ... here.
7271 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
7272 * debug/backtracesymsfd.c: ... here.
7273 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
7274 * sysdeps/generic/ifunc-sel.h: ... here.
7275
7276 * sysdeps/unix/i386/start.c: Delete file.
7277 * sysdeps/unix/sparc/start.c: Delete file.
7278 * sysdeps/unix/start.c: Delete file.
7279
7280 * sysdeps/sh/elf/configure.in: Moved to ...
7281 * sysdeps/sh/configure.in: ... here.
7282 * sysdeps/sh/elf/start.S: Moved to ...
7283 * sysdeps/sh/start.S: ... here.
7284 * sysdeps/sh/elf/configure: Delete file.
7285
7286 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
7287 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
7288 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
7289 * sysdeps/powerpc/powerpc64/entry.h: ... here.
7290 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
7291 * sysdeps/powerpc/powerpc64/start.S: here.
7292 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
7293 * sysdeps/powerpc/powerpc64/Makefile: ... this.
7294 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
7295 * sysdeps/powerpc/powerpc64/configure.in: ... this.
7296 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
7297
7298 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
7299 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
7300 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
7301 * sysdeps/powerpc/powerpc32/start.S: ... here.
7302 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
7303 * sysdeps/powerpc/powerpc32/configure.in: ... this.
7304 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
7305
7306 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
7307 * sysdeps/powerpc/ifunc-sel.h: ... here.
7308 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
7309 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
7310
7311 * sysdeps/sparc/elf/configure.in: Moved to ...
7312 * sysdeps/sparc/configure.in: ... here.
7313 * sysdeps/sparc/elf/configure: Delete file.
7314 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
7315 * sysdeps/sparc/sparc32/start.S: ... here.
7316 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
7317 * sysdeps/sparc/sparc64/start.S: ... here.
7318 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
7319 * sysdeps/sparc/sparc32/Makefile: ... this.
7320 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
7321 * sysdeps/sparc/sparc64/Makefile: ... this.
7322
7323 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
7324 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
7325 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
7326 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
7327 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
7328 * sysdeps/s390/s390-32/setjmp.S: ... here.
7329 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
7330 * sysdeps/s390/s390-32/configure.in: ... here.
7331 * sysdeps/s390/s390-32/elf/configure: Delete file.
7332 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
7333 * sysdeps/s390/s390-32/start.S: ... here.
7334
7335 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
7336 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
7337 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
7338 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
7339 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
7340 * sysdeps/s390/s390-64/setjmp.S: ... here.
7341 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
7342 * sysdeps/s390/s390-64/configure.in: ... here
7343 * sysdeps/s390/s390-64/elf/configure: Delete file.
7344 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
7345 * sysdeps/s390/s390-64/start.S: ... here.
7346 * sysdeps/s390/s390-64/elf/configure: Delete.
7347
7348 * configure.in: Remove support for elf directories in sysdeps.
7349
7350 * configure: Regenerated.
7351 * sysdeps/i386/configure: Regenerated.
7352 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7353 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7354 * sysdeps/s390/s390-32/configure: Regenerated.
7355 * sysdeps/s390/s390-64/configure: Regenerated.
7356 * sysdeps/sh/configure: Regenerated.
7357 * sysdeps/sparc/configure: Regenerated.
7358 * sysdeps/x86_64/configure: Regenerated.
7359
a3f61311
AS
73602012-03-26 Andreas Schwab <schwab@linux-m68k.org>
7361
c876e002
AS
7362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7363
a3f61311
AS
7364 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
7365 denormal result into account.
7366
ac4c54f0
RM
73672012-03-25 Roland McGrath <roland@hack.frob.com>
7368
7369 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
7370 Reported by Allan McRae <allan@archlinux.org>.
7371
6a9b9c02
JL
73722012-03-23 Jeff Law <law@redhat.com>
7373
7374 * nss/getnssent.c (__nss_getent): Fix typo.
7375
4c42a0c1
DM
73762012-03-23 David S. Miller <davem@davemloft.net>
7377
7378 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7379
1532c7ac
L
73802012-03-23 H.J. Lu <hongjiu.lu@intel.com>
7381
7382 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
7383 to pad to uint64_t for each field.
7384 (dl_tls_index): Replace unsigned long with uint64_t.
7385
3ff42526
PP
73862012-03-23 Daniel Jacobowitz <dmj@google.com>
7387 Paul Pluzhnikov <ppluzhnikov@google.com>
7388
7389 [BZ #6528]
7390 * grp/Makefile (otherlibs): Don't set it.
7391 * inet/Makefile (otherlibs): Likewise.
7392 * login/Makefile (otherlibs): Likewise.
7393 * nscd/Makefile (otherlibs): Likewise.
7394 * posix/Makefile (otherlibs): Likewise.
7395 * pwd/Makefile (otherlibs): Likewise.
7396 * rt/Makefile (otherlibs): Likewise.
7397 * sunrpc/Makefile (otherlibs): Likewise.
7398 * nss/Makefile (otherlibs): Likewise.
7399 Add libnss_files to routines and static-only-routines.
7400 ($(objpfx)getent): Remove rule.
7401 * resolv/Makefile: Add libnss_dns and libresolv to routines and
7402 static-only-routines.
7403
7c69cd14
JM
74042012-03-22 Joseph Myers <joseph@codesourcery.com>
7405
7406 [BZ #13892]
7407 * math/s_cexp.c: Include <float.h>.
7408 (__cexp): Handle exp result overflowing not necessarily
7409 overflowing both real and imaginary parts of result.
7410 * math/s_cexpf.c: Likewise.
7411 * math/s_cexpl.c: Likewise.
7412 * math/libm-test.inc (cexp_test): Add more tests.
7413 * sysdeps/i386/fpu/libm-test-ulps: Update.
7414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7415
81b035fe
L
74162012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7417
7418 * include/link.h (ELFW): New macro.
7419 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
7420 Replace ELF64_R_TYPE with ELFW(R_TYPE).
7421
1da7940c
L
74222012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7423
7424 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
7425 with uint64_t.
7426
b749dbb9
L
74272012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7428
7429 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
7430 declaration.
7431 (struct La_x32_retval): Likewise.
7432
2ff87f3f
L
74332012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7434
7435 * sysdeps/x86_64/preconfigure.in: New file.
7436 * sysdeps/x86_64/preconfigure: New generated file.
7437
c0df8e69
JM
74382012-03-22 Joseph Myers <joseph@codesourcery.com>
7439
48e44791
JM
7440 [BZ #13824]
7441 * math/e_exp2l.c: Include <float.h>.
7442 (__ieee754_exp2l): Handle overflow and underflow cases
7443 separately. Only pass fractional part of argument to
7444 __ieee754_expl.
7445 * math/libm-test.inc (exp2_test): Add more tests.
7446
c0df8e69
JM
7447 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
7448 negating x to take absolute value.
7449 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7450 Likewise.
7451 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7452 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7453 Likewise.
7454 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
7455 computing low part if x was negated.
7456 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7457
c8e43ba7
L
74582012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7459
7460 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
7461 la_x32_gnu_pltexit.
7462 (pltexit): Cast int_retval to ptrdiff_t.
7463 * elf/tst-auditmod3b.c: Likewise.
7464 * elf/tst-auditmod4b.c: Likewise.
7465 * elf/tst-auditmod5b.c: Likewise.
7466 * elf/tst-auditmod6b.c: Likewise.
7467 * elf/tst-auditmod6c.c: Likewise.
7468 * elf/tst-auditmod7b.c: Likewise.
7469
7470 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
7471 and x32_gnu_pltexit.
7472
7473 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
7474 __ELF_NATIVE_CLASS.
7475 (La_x32_regs): New macro.
7476 (La_x32_retval): Likewise.
7477 (la_x32_gnu_pltenter): New function prototype.
7478 (la_x32_gnu_pltexit): Likewise.
7479
7998fa78
AS
74802012-03-21 Andreas Schwab <schwab@linux-m68k.org>
7481
dcb33988
AS
7482 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
7483 exponent.
7484
233fc563
AS
7485 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7486
7998fa78
AS
7487 * configure.in (libc_cv_cc_nofma): Check for option to disable
7488 generation of FMA instructions.
7489 * configure: Regenerate.
7490 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
7491 * sysdeps/ieee754/dbl-64/Makefile: New file.
7492 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7493 Remove brandred-fma4.
7494 (CFLAGS-brandred-fma4.c): Remove.
7495 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
7496 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
7497 define.
7498 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
7499 define.
7500
8e95c99a
L
75012012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7502
7503 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7504 LLONG_MAX != LONG_MAX.
7505 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7506 (_fitoa_word): Likewise.
7507 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
7508 LLONG_MAX != LONG_MAX.
7509 * stdio-common/_itowa.h: Include <_itoa.h>.
7510 (_itowa_word): Use _ITOA_WORD_TYPE on value.
7511 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
7512 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
7513 only if not defined.
7514 (_ITOA_WORD_TYPE): Likewise.
7515 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7516 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
7517
6f4db457
DM
75182012-03-21 David S. Miller <davem@davemloft.net>
7519
7520 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7521
7785fe5a
L
75222012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7523
7524 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
7525 of x86_64 when setting libc_cv_slibdir, libdir and
7526 libc_cv_localedir.
7527 * sysdeps/unix/sysv/linux/configure: Regenerated.
7528
4535cd55
JM
75292012-03-21 Joseph Myers <joseph@codesourcery.com>
7530
7531 * manual/lang.texi (Old Varargs): Remove section.
7532 (How Variadic): Update menu.
7533 (va_start): Do not mention varargs.h.
7534
17228132
TS
75352012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7536 Joseph Myers <joseph@codesourcery.com>
7537
7538 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
7539 link test.
7540 * configure: Regenerated.
7541
8149f976
TS
75422012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7543
05f3d1f6
UD
7544 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
7545 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
7546 conformtest.pl
8149f976 7547
1a4ac776
JM
75482012-03-21 Joseph Myers <joseph@codesourcery.com>
7549
be22ce65
JM
7550 * NOTES: Remove.
7551 * Makefile (files-for-dist): Remove NOTES.
7552 (NOTES): Remove rule.
7553 * README: Don't refer to NOTES.
7554 * manual/creature.texi: Don't include macros.texi.
7555 * manual/intro.texi (creature.texi): Remove comment referring to
7556 NOTES.
7557
40b601fb
JM
7558 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
7559 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
7560 * configure: Regenerated.
7561 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
7562 LIBC_TRY_CC_OPTION.
7563 (libc_cv_as_i686): Likewise.
7564 (libc_cv_cc_avx): Likewise.
7565 (libc_cv_cc_sse2avx): Likewise.
7566 (libc_cv_cc_fma4): Likewise.
7567 (libc_cv_cc_novzeroupper): Likewise.
7568 * sysdeps/i386/configure: Regenerated.
7569
1a4ac776
JM
7570 [BZ #13883]
7571 * sysdeps/i386/fpu/s_cexp.S: Remove.
7572 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7573 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7574 * math/libm-test.inc (cexp_test): Add more tests.
7575 * sysdeps/i386/fpu/libm-test-ulps: Update.
7576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7577
a458e7fe
AM
75782012-03-21 Allan McRae <allan@archlinux.org>
7579
7580 * timezone/Makefile: Do not install iso3166.tab and zone.tab
7581
0cb7efc5
JM
75822012-03-21 Joseph Myers <joseph@codesourcery.com>
7583
7584 [BZ #13871]
7585 * math/w_exp2.c: Do not include <float.h>.
7586 (o_threshold, u_threshold): Remove.
7587 (__exp2): Calculate result before checking finiteness and calling
7588 __kernel_standard.
7589 * math/w_exp2f.c: Likewise.
7590 * math/w_exp2l.c: Likewise.
7591 * math/libm-test.inc (exp2_test): Require overflow exception for
7592 1e6 input.
2460d3aa
JM
7593
7594 [BZ #3866]
7595 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
7596 range of signed 64-bit integers before using fistpll. Remove
7597 checks for whether integers fit in mantissa bits.
7598 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
7599 the range of signed 32-bit integers before using fistpl. Remove
7600 checks for whether integers fit in mantissa bits.
7601 * sysdeps/i386/fpu/e_powl.S (p64): New object.
7602 (__ieee754_powl): Test for y outside the range of signed 64-bit
7603 integers before using fistpll. Reduce 64-bit values to 63-bit
7604 ones as needed.
7605 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
7606 divide-by-zero is raised for zero to large negative powers.
7607 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
7608 (__ieee754_powl): Test for y outside the range of signed 64-bit
7609 integers before using fistpll. Reduce 64-bit values to 63-bit
7610 ones as needed.
7611 * math/libm-test.inc (pow_test): Add more tests.
7612
eb96ffb0
L
76132012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7614
7615 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
7616 <stdio-common/_itoa.h>.
7617 * debug/segfault.c: Likewise.
7618 * elf/dl-cache.c: Likewise.
7619 * elf/dl-minimal.c: Likewise.
7620 * elf/dl-misc.c: Likewise.
7621 * elf/dl-sysdep.c: Likewise.
7622 * elf/dl-version.c: Likewise.
7623 * elf/rtld.c: Likewise.
7624 * hurd/hurdsock.c: Likewise.
7625 * hurd/lookup-retry.c: Likewise.
7626 * malloc/malloc.c: Likewise.
7627 * malloc/mtrace.c: Likewise.
7628 * nscd/nscd_getgr_r.c: Likewise.
7629 * nscd/nscd_getpw_r.c: Likewise.
7630 * nscd/nscd_getserv_r.c: Likewise.
7631 * posix/getopt_init.c: Likewise.
7632 * posix/wordexp.c: Likewise.
7633 * stdio-common/_itoa.c: Likewise.
7634 * stdio-common/printf_fphex.c: Likewise.
7635 * stdio-common/vfprintf.c: Likewise.
7636 * string/_strerror.c: Likewise.
7637 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7638 * sysdeps/i386/i686/hp-timing.h: Likewise.
7639 * sysdeps/mach/_strerror.c: Likewise.
7640 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
7641 * sysdeps/mach/hurd/sethostid.c: Likewise.
7642 * sysdeps/mach/hurd/xmknodat.c: Likewise.
7643 * sysdeps/mach/xpg-strerror.c: Likewise.
7644 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7645 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7646 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
7647 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
7648 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7649 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
7650 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7651 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7652 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
7653 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
7654 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
7655 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7656 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
7657 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7658 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7659 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
7660 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
7661 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
7662 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7663 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7664 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
7665
7666 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
7667
7668 * stdio-common/_itoa.h: Moved to ...
7669 * sysdeps/generic/_itoa.h: Here.
7670
7671 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
7672
7673 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
7674 instead of "_itoa.h" and "_itowa.h".
7675 * stdio-common/vfprintf.: Likewise.
7676
d1af992d
L
76772012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7678
7679 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
7680 <bits/wordsize.h>.
7681 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
7682 (__signbit): Likwise.
7683 (llrintf): Likwise.
7684 (llrint): Likwise.
7685
114883e0
L
76862012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7687
7688 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
7689 __WORDSIZE != 64.
7690
c135cc1b
JM
76912012-03-20 Joseph Myers <joseph@codesourcery.com>
7692
7693 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
7694 OVERFLOW_EXCEPTION_OK.
7695 * math/libm-test.inc ("Philosophy"): Update comment about
7696 exception testing.
7697 (OVERFLOW_EXCEPTION): Define.
7698 (OVERFLOW_EXCEPTION_OK): Likewise.
7699 (INVALID_EXCEPTION_OK): Renumber.
7700 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7701 (IGNORE_ZERO_INF_SIGN): Likewise.
7702 (test_exceptions): Handle FE_OVERFLOW.
7703 (exp10_test): Expect overflow exceptions.
7704 (exp2_test): Likewise.
7705 (expm1_test): Likewise.
7706 (nextafter_test): Likewise.
7707 (pow_test): Likewise.
7708 (scalbn_test): Likewise.
7709 (scalbln_test): Likewise.
7710
95443d88
L
77112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7712
7713 * sysdeps/x86_64/bits/atomic.h
7714 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
7715 64bit integer.
7716 (atomic_exchange_acq): Likewise.
7717 (__arch_exchange_and_add_body): Likewise.
7718 (__arch_add_body): Likewise.
7719 (atomic_add_negative): Likewise.
7720 (atomic_add_zero): Likewise.
7721
490df6c4
L
77222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7723
c2722551 7724 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
7725 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
7726
5e52b189
L
77272012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7728
7729 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
7730 Check __x86_64__ instead of __WORDSIZE.
7731
a9879d4c
L
77322012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7733
7734 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
7735
5df98260
DM
77362012-03-19 David S. Miller <davem@davemloft.net>
7737
e1497744
DM
7738 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7739
5df98260
DM
7740 * sysdeps/sparc/fpu/fenv_private.h: New file.
7741 * sysdeps/sparc/fpu/math_private.h: Use it.
7742 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
7743 Remove.
7744 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
7745 (libc_feholdexcept_setroundl): Remove.
7746 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
7747 Remove.
7748 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
7749 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
7750
b4c35121
L
77512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7752
7753 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
7754 int64_t instead of long int.
7755 (INSERT_WORDS64): Likwise.
7756
56965fd7
L
77572012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7758
7759 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
7760 _Unwind_GetCFA return to _Unwind_Ptr first.
7761
83d1aec8
JM
77622012-03-19 Joseph Myers <joseph@codesourcery.com>
7763
1897ad44
JM
7764 [BZ #13629]
7765 * math/s_clog.c: Include <float.h>.
7766 (__clog): Scale large or subnormal inputs.
7767 * math/s_clogf.c: Likewise.
7768 * math/s_clogl.c: Likewise.
7769 * math/s_clog10.c: Include <float.h>.
7770 (M_LOG10_2): Define.
7771 (__clog10): Scale large or subnormal inputs.
7772 * math/s_clog10f.c: Likewise.
7773 * math/s_clog10l.c: Likewise.
7774 * math/libm-test.inc (clog_test): Add more tests.
7775 (clog10_test): Likewise.
7776 * sysdeps/i386/fpu/libm-test-ulps: Update.
7777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7778
7726d6a9
JM
7779 [BZ #11451]
7780 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
7781 x and y.
7782 * math/libm-test.inc (atan2_test): Add another test.
7783
83d1aec8
JM
7784 * Makerules (common-objdir-compile): Remove.
7785 * sysdeps/unix/Makefile (config-generated): Do not add
7786 $(unix-generated) to variable.
7787 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
7788 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
7789 Remove rule.
7790 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
7791 Likewise.
7792 [generic bits/local_lim.h] (before-compile): Do not append to
7793 variable.
7794 [generic bits/local_lim.h] (common-generated): Likewise.
7795 [generic sys/param.h] (before-compile): Do not append to variable.
7796 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
7797 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
7798 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
7799 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
7800 include.
7801 [generic sys/param.h] (sys/param.h-includes): Remove variable.
7802 [generic sys/param.h] (sys/param.h-includes): Remove rule.
7803 [generic sys/param.h] ($(addprefix
7804 $(common-objpfx),$(sys/param.h-includes))): Likewise.
7805 [generic sys/param.h] (common-generated): Do not append to
7806 variable.
7807 [generic sys/param.h] (sysdep_headers): Likewise.
7808 [generic bits/errno.h] (before-compile): Do not append to
7809 variable.
7810 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
7811 rule.
7812 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
7813 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
7814 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
7815 [generic bits/errno.h] (common-generated): Do not append to
7816 variable.
7817 [generic bits/ioctls.h] (before-compile): Do not append to
7818 variable.
7819 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
7820 rule.
7821 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
7822 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
7823 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
7824 rule.
7825 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
7826 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
7827 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
7828 [generic bits/ioctls.h] (common-generated): Do not append to
7829 variable.
7830 [generic sys/syscall.h] (syscall.h): Remove variable.
7831 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
7832 rule.
7833 [generic sys/syscall.h] (before-compile): Do not append to
7834 variable.
7835 [generic sys/syscall.h] (common-generated): Likewise.
7836 * sysdeps/unix/errnos-tmpl.c: Remove file.
7837 * sysdeps/unix/errnos.awk: Likewise.
7838 * sysdeps/unix/ioctls-tmpl.c: Likewise.
7839 * sysdeps/unix/ioctls.awk: Likewise.
7840 * sysdeps/unix/mk-local_lim.c: Likewise.
7841 * sysdeps/unix/snarf-ioctls: Likewise.
7842
4851a949
RH
78432012-03-19 Richard Henderson <rth@twiddle.net>
7844
bd37f2ee
RH
7845 * sysdeps/i386/fpu/fenv_private.h: New file.
7846 * sysdeps/i386/fpu/math_private.h: Use it.
7847 (math_opt_barrier, math_force_eval): Remove.
7848 (libc_feholdexcept_setround_53bit): Remove.
7849 (libc_feupdateenv_53bit): Remove.
7850 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7851 (math_opt_barrier, math_force_eval): Remove.
7852 (libc_feholdexcept): Remove.
7853 (libc_feholdexcept_setround): Remove.
7854 (libc_fetestexcept, libc_fesetenv): Remove.
7855 (libc_feupdateenv_test): Remove.
7856 (libc_feupdateenv, libc_feholdsetround): Remove.
7857 (libc_feresetround): Remove.
7858
d0adc922
RH
7859 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
7860 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7861
0fe0f1f8
RH
7862 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
7863 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
7864 (libc_feupdateenv_testl): New.
7865 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
7866 (libc_feupdateenv_testf): New.
7867 (libc_feupdateenv): Use libc_feupdateenv_test.
7868 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
7869 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
7870
eb92c487
RH
7871 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
7872 (libc_feholdsetroundf, libc_feholdsetroundl): New.
7873 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
7874 (libc_feresetround_noex): New.
7875 (libc_feresetround_noexf): New.
7876 (libc_feresetround_noexl): New.
7877 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
7878 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
7879 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
7880 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
7881 SET_RESTORE_ROUND.
7882 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7883 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
7884 (__cos): Likewise.
7885 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
7886 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
7887 SET_RESTORE_ROUND_NOEX.
7888 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
7889 SET_RESTORE_ROUND_NOEXF.
7890 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
7891 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
7892 (libc_feholdsetroundf): New.
7893 (libc_feresetround, libc_feresetroundf): New.
7894
7d2e8012
RH
7895 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
7896 (libc_feholdexcept_setround_53bit): Convert from macro to function.
7897 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
7898
b4dabbb4
RH
7899 * sysdeps/generic/math_private.h: Include <fenv.h>.
7900 (default_libc_feholdexcept): New.
7901 (default_libc_feholdexcept_setround): New.
7902 (default_libc_fesetenv, default_libc_feupdateenv): New.
7903 (libc_feholdexcept): Only define if undefined.
7904 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
7905 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
7906 (libc_feholdexcept_setroundl): Likewise.
7907 (libc_feholdexcept_setround_53bit): Likewise.
7908 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
7909 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
7910 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
7911 (libc_feupdateenv_53bit): Likewise.
7912 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
7913 (libc_feholdexcept): Convert from macro to inline function.
7914 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
7915 (libc_fesetenv, libc_feupdateenv): Likewise.
7916
4851a949
RH
7917 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
7918 not previously defined.
7919 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
7920 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
7921 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
7922 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
7923 * sysdeps/ieee754/flt-32/math_private.h: New file.
7924 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
7925 math_private.h below SET_FLOAT_WORD.
7926 (__isnan, __isinf_ns, __finite): Remove.
7927 (__isnanf, __isinf_nsf, __finitef): Remove.
7928
e79d442e
AS
79292012-03-18 Andreas Schwab <schwab@linux-m68k.org>
7930
7931 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7932
90b80344
DM
79332012-03-17 David S. Miller <davem@davemloft.net>
7934
7935 [BZ #6471]
7936 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
7937 for 2.16.
7938
edc21804
DM
79392012-03-16 David S. Miller <davem@davemloft.net>
7940
77e927af
DM
7941 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
7942 warnings.
7943
374976dd
DM
7944 [BZ #6471]
7945 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
7946 properly.
7947 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
7948 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
7949 sysdep_routines when subdir is sysvipc.
7950 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
7951 __getshmlba helper.
7952
edc21804
DM
7953 * sysdeps/sparc/fpu/libm-test/ulps: Update.
7954
473c3ef3
L
79552012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7956
7957 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
7958 [__LP64__].
7959
eb0f39b6
L
79602012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7961
7962 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
7963 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
7964 (__lround): Renamed to ...
7965 (__llround): This. Replace long int with long long int.
7966 Define lround functions as aliases of llround functions.
7967 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
7968
6b6cd74b
L
79692012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7970
7971 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
7972 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
7973 adresses to uintptr_t. Replace "long int" and "unsigned long
7974 int" with "greg_t" on va_arg.
7975
f1a77b01
L
79762012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7977
7978 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
7979 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
7980
7981 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
7982 Move e_machine check before EI_CLASS check. Handle x32
7983 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
7984 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
7985 SKIP_EM_IA_64 and include
7986 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
7987
7988 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
7989 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
7990 (add_system_dir): New macro.
7991
7992 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
7993 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
7994
11b90b9f
JM
79952012-03-16 Joseph Myers <joseph@codesourcery.com>
7996
c36e1d23
JM
7997 [BZ #2551]
7998 [BZ #2552]
7999 [BZ #2553]
8000 [BZ #2554]
8001 [BZ #2562]
8002 [BZ #2563]
8003 [BZ #2565]
8004 [BZ #2566]
8005 [BZ #2576]
8006 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
8007 (y0): Likewise.
8008 * math/w_j0f.c (j0f): Likewise.
8009 (y0f): Likewise.
8010 * math/w_j0l.c (__j0l): Likewise.
8011 (__y0l): Likewise.
8012 * math/w_j1.c (j1): Likewise.
8013 (y1): Likewise.
8014 * math/w_j1f.c (j1f): Likewise.
8015 (y1f): Likewise.
8016 * math/w_j1l.c (__j1l): Likewise.
8017 (__y1l): Likewise.
8018 * math/w_jn.c (jn): Likewise.
8019 (yn): Likewise.
8020 * math/w_jnf.c (jnf): Likewise.
8021 (ynf): Likewise.
8022 * math/w_jnl.c (__jnl): Likewise.
8023 (__ynl): Likewise.
8024 * math/libm-test.inc (j0_test): Add more tests.
8025 (j1_test): Likewise.
8026 (jn_test): Likewise. Add trailing semicolon to existing test.
8027 (y0_test): Likewise.
8028 (y1_test): Likewise.
8029 * sysdeps/i386/fpu/libm-test-ulps: Update.
8030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8031
11b90b9f
JM
8032 [BZ #13851]
8033 [BZ #13854]
8034 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8035 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8036 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8037 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8038 (__tanl): Set errno for infinite argument.
8039 * sysdeps/i386/fpu/mptan.c: Remove.
8040 * sysdeps/i386/fpu/s_tan.S: Likewise.
8041 * sysdeps/i386/fpu/s_tanl.S: Likewise.
8042 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8043 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8044 * math/libm-test.inc (tan_test): Add more tests and enable more
8045 tests for double and long double.
8046 * sysdeps/i386/fpu/libm-test-ulps: Update.
8047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8048
6a1bd2a1
JK
80492012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8050
8051 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8052 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8053
10a803e0
RM
80542012-03-16 Roland McGrath <roland@hack.frob.com>
8055
8056 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8057 * configure.in: Use it for both main tree and add-ons.
8058 * configure: Regenerated.
8059
f196c7f7
L
80602012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8061
8062 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8063
8848d99d
JM
80642012-03-16 Joseph Myers <joseph@codesourcery.com>
8065
96cbe7f4
JM
8066 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8067 in comment.
8068
8848d99d
JM
8069 [BZ #13851]
8070 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8071 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8072 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8073 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8074 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8075 infinite argument.
8076 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8077 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8078 != 0 for prec == 2.
8079 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8080 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8081 * sysdeps/i386/fpu/s_cosl.S: Likewise.
8082 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8083 * sysdeps/i386/fpu/s_sinl.S: Likewise.
8084 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8085 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8086 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8087 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8088 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8089 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8090 * math/libm-test.inc (cos_test): Add more tests and enable more
8091 tests for long double.
8092 (sin_test): Likewise.
8093 (sincos_test): Likewise.
8094 * sysdeps/i386/fpu/libm-test-ulps: Update.
8095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8096
dd7f4703
DM
80972012-03-16 David S. Miller <davem@davemloft.net>
8098
8099 * sysdeps/sparc/fpu/math_private.h: New file.
8100
006f1daa
DM
81012012-03-15 David S. Miller <davem@davemloft.net>
8102
c0c83bc8
DM
8103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8104 file.
e6a62e18 8105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
8106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8107 file.
e6a62e18
DM
8108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
8109 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
8110 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
8111 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
8112 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
8113 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
8114 sysdep routines.
8115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8116
88cb87d9
DM
8117 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
8118 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
8119
006f1daa 8120 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
8121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
8122 sparc-ifunc.h
006f1daa 8123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
8124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8125 Likewise.
8126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8127 Likewise.
006f1daa
DM
8128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
8129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
8131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8132 Likewise.
006f1daa
DM
8133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
8137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
8138 Likewise.
8139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
8140 Likewise.
006f1daa
DM
8141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
8143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8145 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8146 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8147 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
8148 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
8149 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8150 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8151 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8152 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8153 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8154 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8155 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
8156 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
8157 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
8158 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
8159 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
8160 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
8161 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
8162 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
8163 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
8164 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
8165
11e0098e
AS
81662012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8167
8168 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
8169 scaling.
8170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8171
e85b09d0
AJ
81722012-03-15 Andreas Jaeger <aj@suse.de>
8173
8174 [BZ #13852]
8175 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
8176 ieee754/flt-32 implementation for sin, cos and sincos.
8177 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
8178 * sysdeps/i386/fpu/s_cosf.S: Likewise.
8179 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
8180 * sysdeps/i386/fpu/s_sinf.S: Likewise.
8181 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
8182 ieee754/flt-32 implementation for tan.
8183
8184 * math/libm-test.inc (cos_test): Enable some large input tests for
8185 float as well
8186 (sin_test): Likewise.
8187 (sincos_test): Likewise.
8188 (tan_test): Add tests for large input.
8189
8190 * sysdeps/i386/fpu/libm-test-ulps: Update.
8191
81c64153
AJ
81922012-03-15 Andreas Jaeger <aj@suse.de>
8193
8194 [BZ #13658]
8195 * math/libm-test.inc (cos_test): Add more test cases.
8196 (sin_test): Likewise.
8197 (sincos_test): Likewise.
8198
7bbfa5c6
AJ
81992012-03-15 Andreas Jaeger <aj@suse.de>
8200
8201 [BZ #13837]
8202 * math/libm-test.inc (cos_test): Add a test case for large input
8203 value.
8204 (sin_test): Likewise.
8205 (sincos_test): Likewise.
8206
82072012-03-15 Andreas Jaeger <aj@suse.de>,
8208 Joseph Myers <joseph@codesourcery.com>
8209
8210 [BZ #13658]
0671f479 8211 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
8212 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
8213 * sysdeps/i386/fpu/branred.c: Likewise.
8214 * sysdeps/i386/fpu/dosincos.c: Likewise.
8215 * sysdeps/i386/fpu/mpa.c: Likewise.
8216 * sysdeps/i386/fpu/s_cos.S: Likewise.
8217 * sysdeps/i386/fpu/s_sin.S: Likewise.
8218 * sysdeps/i386/fpu/s_sincos.S: Likewise.
8219 * sysdeps/i386/fpu/sincos32.c: Likewise.
8220
8221 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
8222 Define.
8223 (libc_feupdateenv_53bit): Define.
8224 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
8225 Define.
8226 (libc_feupdateenv_53bit): Define.
8227
8228 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
8229 53 bit (without extend i386 double precision).
8230
8231 * math/libm-test.inc (sincos_test): Add tests for large input.
8232 (sin): Likewise.
8233 (cos): Likewise.
8234
8235 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8236
9cad04ea
AS
82372012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8238
8239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8240
f7062b9a
DM
82412012-03-15 David S. Miller <davem@davemloft.net>
8242
8243 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
8244 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
8245 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
8246 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
8247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
8248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
8249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
8250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
8251 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
8252 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
8253 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
8254 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
8255 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
8256 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
8257 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
8258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
8259 file.
f7062b9a 8260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
8261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
8262 file.
f7062b9a 8263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
8264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
8265 file.
f7062b9a 8266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
8267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
8268 file.
f7062b9a
DM
8269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
8270 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
8271 fmin/fmax sysdep routines.
8272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8273
7bd951ff
DM
82742012-03-14 David S. Miller <davem@davemloft.net>
8275
559398ab
DM
8276 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
8277 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
8278 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
8279 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
8280 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
8281 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
8282 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
8283 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
8284 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
8285 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
8286 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
8287 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
8288 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
8289 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
8290 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
8291 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
8292 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
8293 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
8294 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
8295 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
8296 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
8297 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
8298 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
8299 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
8300 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
8301 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
8302 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
8303 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
8304 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
8305 routines.
8306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
8307 file.
559398ab 8308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
8309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
8310 file.
559398ab 8311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
8312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
8313 file.
559398ab 8314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
8315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
8316 file.
559398ab 8317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
8318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
8319 file.
559398ab 8320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
8321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
8322 file.
8323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
8324 file.
8325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
8326 file.
8327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
8328 file.
8329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
8330 New file.
8331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
8332 file.
8333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
8334 file.
559398ab 8335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
8336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
8337 file.
559398ab 8338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
8339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
8340 file.
559398ab 8341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
8342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
8343 file.
559398ab 8344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
8345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
8346 VIS3 routines.
559398ab
DM
8347
8348 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8349 New file.
8350
5a1c1e32
DM
8351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8352
eae47a36
DM
8353 * sysdeps/sparc/configure.in: New file.
8354 * sysdeps/sparc/configure: Generate.
8355 * configure.in (libc_cv_sparc_as_vis3): Substitute.
8356 * configure: Regenerate.
8357 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
8358 * config.make.in (have-as-vis3): New.
8359 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
8360 available use -Av9d instead of -Av9a.
8361 * sysdeps/sparc/sparc64/Makefile: Likewise.
8362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
8363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
8364 New file.
8365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
8366 file.
8367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
8368 New file.
8369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
8370 file.
eae47a36
DM
8371 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
8372 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
8373 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
8374 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
8375 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
8376
c0c83bc8
DM
8377 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
8378 fzeros/fnegs to load 0x80000000 into a float register instead of
8379 using the stack.
7bd951ff
DM
8380 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
8381
bd951ccb
JM
83822012-03-14 Joseph Myers <joseph@codesourcery.com>
8383
8384 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8385 bits/syscall.h.
8386 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
8387 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
8388 ($(inst_includedir)/bits/syscall.h): Remove rule.
8389 ($(objpfx)bits/syscall.d): Include instead of
8390 $(objpfx)syscall-list.d.
8391 (generated): Change syscall-list.h and syscall-list.d to
8392 bits/syscall.h and bits/syscall.d.
8393
bb4e6db2
RM
83942012-03-14 Roland McGrath <roland@hack.frob.com>
8395
8396 [BZ #13846]
8397 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
8398
aa4a2ae1
JM
83992012-03-14 Joseph Myers <joseph@codesourcery.com>
8400
e456826d
JM
8401 [BZ #13841]
8402 * math/s_csqrt.c: Include <float.h>.
8403 (__csqrt): Scale large or subnormal inputs.
8404 * math/s_csqrtf.c: Likewise.
8405 * math/s_csqrtl.c: Likewise.
8406 * math/libm-test.inc (csqrt_test): Add more tests.
8407 * sysdeps/i386/fpu/libm-test-ulps: Update.
8408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8409
aa4a2ae1
JM
8410 [BZ #13840]
8411 * math/libm-test.inc (hypot_test): Add more tests.
8412
7c10fd35
DM
84132012-03-13 David S. Miller <davem@davemloft.net>
8414
8415 [BZ #13840]
8416 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
8417 double-precision for the calculation instead of scaling.
8418
f453b98b
JM
84192012-03-13 Joseph Myers <joseph@codesourcery.com>
8420
8421 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
8422 manipulate bits before adding and subtracting TWO52[sx].
8423 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
8424 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8425 Likewise.
8426 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
8427
09a3453f
DM
84282012-03-13 David S. Miller <davem@davemloft.net>
8429
8e59da90
DM
8430 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
8431 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
8432 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
8433 rtld-global-offsets.h
8434 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8435
2a8ab7f2
DM
8436 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
8437 large parameters.
8438
10f62770
DM
8439 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
8440
5f0bdb18
DM
8441 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
8442 'err' in the ifdef scope in which it is actually used.
8443
09a3453f
DM
8444 * nss/nss_db/db-init.c: Include string.h
8445
b4b2eb5e
DM
84462012-03-12 David S. Miller <davem@davemloft.net>
8447
98bb2f1c
DM
8448 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8449 masking out of the most significant byte of random value used.
8450 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8451 Fix coding style in previous change.
8452
b4b2eb5e
DM
8453 * sysdeps/unix/sysv/linux/kernel-features.h
8454 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
8455 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
8456 expression.
8457 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
8458 later.
8459
6e226b09
DM
84602012-03-11 David S. Miller <davem@davemloft.net>
8461
a1bcbd40
DM
8462 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8463 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
8464 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
8465 for 'resultvar' otherwise things get truncated on 64-bit.
8466
cb9d6174
DM
8467 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8468 Fix masking out of the most significant byte of random value used.
8469
6e226b09
DM
8470 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8471
058c132d
AS
84722012-03-10 Andreas Schwab <schwab@linux-m68k.org>
8473
8474 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8475
2d2cd515
DM
84762012-03-09 David S. Miller <davem@davemloft.net>
8477
8478 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
8479 variables with appropriate CPP guards.
8480 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
8481 frame pointer, not the stack pointer. Correct layout comments. Fix test
8482 on resulting framesize and the management of the outregs buffer for pltexit.
8483 Preserve floating point return values across _dl_call_pltexit call.
8484 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
8485 framesize and the management of the outregs buffer for pltexit.
8486 Preserve floating point return values across _dl_call_pltexit
8487 call.
8488 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
8489 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
8490 (print_exit): Fix format string for return register value.
8491
9a07f9d0
JM
84922012-03-10 Joseph Myers <joseph@codesourcery.com>
8493
8494 * sunrpc/Makefile (others): Add rpcgen.
8495 ($(objpfx)rpcgen): Remove special build rule and dependency on
8496 libc.
8497 * sunrpc/rpcgen.c: New file.
8498
547b5e30
PE
84992012-03-09 Paul Eggert <eggert@cs.ucla.edu>
8500
c524201a
PE
8501 [BZ #13673]
8502 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
8503 * stdio-common/bug-vfprintf-nargs.c: Likewise.
8504 * sysdeps/i386/crti.S: Likewise.
8505 * sysdeps/i386/crtn.S: Likewise.
8506 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
8507 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
8508 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
8509 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
8510 * sysdeps/sh/crti.S: Likewise.
8511 * sysdeps/sh/crtn.S: Likewise.
8512 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8513
7b6235f2
PE
8514 [BZ #13673]
8515 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
8516 with URL.
8517 * locale/programs/locfile-kw.gperf: Likewise.
8518 * locale/programs/charmap-kw.h: Regenerated.
8519 * locale/programs/locfile-kw.h: Likewise.
8520
547b5e30
PE
8521 [BZ #13673]
8522 * intl/plural.y: Replace FSF snail mail address with URL.
8523 * intl/plural.c: Regenerated.
8524
5f0a5dae
RH
85252012-03-09 Richard Henderson <rth@twiddle.net>
8526
8527 * include/math_private.h: Remove file.
8528 * math/math_private.h: Move file ...
8529 * sysdeps/generic/math_private.h: ... here.
8530
b8c03620
RH
8531 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
8532 * sysdeps/powerpc/fpu/math_private.h: Likewise.
8533 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8534
4e234f5d 8535 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
8536 and <math_private.h>.
8537 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8538 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8539 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8540 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8541 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8542 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
8543 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8544 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8545 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8546 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8547 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8548 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8549 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8550 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8551 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8552 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8553 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8554 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8555 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8556 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8557 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8558 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8559 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8560 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8561 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8562 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8563 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8564 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8565 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8566 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8567 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8568 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8569 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8570 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8571 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8572 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8573 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8574 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8575 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8576 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8577 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
8578 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8579 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8580 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8581 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8582 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8583 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8584 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8585 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8586 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8587 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8588 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8589 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8590 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8591 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8592 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8593 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8594 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8595 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8596 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
8597 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8598 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8599 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8600 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8601 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8602 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8603 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8604 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8605 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
8606 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
8607 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8608 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8609 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8610 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8611 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
8612 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8613 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
8614 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8615 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
8616 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8617 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8618 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8619 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8620 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8621 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8622 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8623 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
8624 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8625 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8626 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8627 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8628 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8629 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8630 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8631 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8632 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8633 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8634 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8635 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8636 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8637 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8638 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8639 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8640 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8641 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8642 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8643 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8644 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8645 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8646 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8647 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8648 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8649 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8650 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8651 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8652 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8653 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8654 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8655 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8656 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8657 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8658 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8659 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8660 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
8661 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8662 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8663 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8664 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
8665 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8666 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8667 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8668 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8669 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8670 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8671 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8672 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8673 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8674 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8675 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
8676 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8677 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8678 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8679 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8680 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
8681 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
8682 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8683 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8684 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8685 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8686 * sysdeps/ieee754/k_standard.c: Likewise.
8687 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8688 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8689 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8690 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8691 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8692 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8693 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8694 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8695 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8696 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8697 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8698 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8699 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8700 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8701 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8702 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8703 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8704 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8705 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8706 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8707 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8708 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8709 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8710 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8711 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8712 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8713 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8714 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8715 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8716 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8717 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8718 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8719 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8720 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8721 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8722 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8723 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8724 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
8725 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8726 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8727 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8728 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8729 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8730 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8731 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8732 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8733 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8734 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8735 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8736 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8737 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8738 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8739 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8740 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8741 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8742 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8743 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
8744 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8745 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8746 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8747 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8748 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8749 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8750 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8751 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8752 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8753 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8754 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8755 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8756 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8757 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8758 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8759 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8760 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8761 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8762 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8763 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
8764 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8765 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8766 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8767 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8768 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8769 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8770 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8771 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
8772 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8773 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8774 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8775 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8776 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8777 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
8778 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8779 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8780 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8781 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8782 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8783 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
8784 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8785 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8786 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
8787 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8788 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8789 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8790 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8791 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
8792 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8793 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8794 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8795 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
8796 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8797 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8798 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8799 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8800 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8801 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8802 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8803 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8804 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8805 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8806 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8807 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8808 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8809 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8810 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8811 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8812 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8813 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8814 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8815 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8816 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8817 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8818 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8819 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8820 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8821 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8822 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8823 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
8824 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8825 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8826 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8827 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8828 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8829 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8830 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8831 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8832 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8833 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8834 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8835 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8836 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
8837 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8838 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8839 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8840 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8841 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
8842 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
8843 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8844 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8845 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8846 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8847 * sysdeps/ieee754/s_lib_version.c: Likewise.
8848 * sysdeps/ieee754/s_matherr.c: Likewise.
8849 * sysdeps/ieee754/s_signgam.c: Likewise.
8850 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8851 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8852 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8853 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8854 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8855 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8856 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
8857 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
8858 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
8859 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8860 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8861 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8862 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8863 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8864 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
8865 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8866 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8867 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8868 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8869 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8870 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 8871
1991fa03
JM
88722012-03-09 Joseph Myers <joseph@codesourcery.com>
8873
8874 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
8875 * sunrpc/rpc_main.c: Likewise.
8876 * sunrpc/rpc_svcout.c: Likewise.
8877
60d6f5a6
DM
88782012-03-09 David S. Miller <davem@davemloft.net>
8879
8880 * include/math_private.h: New file.
8881
4962050e
JM
88822012-03-09 Joseph Myers <joseph@codesourcery.com>
8883
02a6f887
JM
8884 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
8885 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
8886 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
8887 from <bits/socket_type.h>.
8888 (enum __socket_type): Don't define here.
8889 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
8890 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8891 bits/socket_type.h.
8892
c6e013c1
JM
8893 [BZ #13566]
8894 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
8895 checking __USE_GNU.
8896
4962050e
JM
8897 * Makerules ($(inst_includedir)/%.h): New rule.
8898 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
8899 (install-others): Remove variable setting.
8900 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
8901
38842f45
RH
89022012-03-08 Richard Henderson <rth@twiddle.net>
8903
67bb6da6
RH
8904 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
8905 from macro to inline function; merge with the
8906 !__LIBC_INTERNAL_MATH_INLINES version.
8907 (__ieee754_sqrtf): Likewise.
8908
15194b4b
RH
8909 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
8910 to inline function.
8911 (__rintf, __floor, __floorf): Likewise.
8912
64e21ede
RH
8913 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
8914 macro to inline function.
8915 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
8916
38842f45
RH
8917 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
8918 not <math/math_private.h>.
8919
c64bf5fe
DM
89202012-03-08 David S. Miller <davem@davemloft.net>
8921
8922 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
8923 copyright year.
8924 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8925
82d86f28
TS
89262012-03-08 Thomas Schwinge <thomas@codesourcery.com>
8927
8928 * resolv/gai_misc.c (handle_requests): Fix struct timespec
8929 normalization.
8930 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
8931 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8932
aea5d727
UD
89332012-03-08 Ulrich Drepper <drepper@gmail.com>
8934
8935 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
8936 be defined individually, they must be defined as a block. Define
8937 S for printing a string instead of hidint the different by using a
8938 macro for adding the 'l'.
8939 * stdio-common/tst-fphex-wide.c: Adjust.
8940
70bca0a3
MP
89412012-03-07 Marek Polacek <polacek@redhat.com>
8942
8943 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
8944
65b81130
MP
89452012-03-08 Marek Polacek <polacek@redhat.com>
8946
8947 [BZ #13806]
8948 * stdio-common/Makefile (tests): Add tst-fphex-wide.
8949 * stdio-common/tst-fphex.c: Define a few macros to make the
8950 test reusable. Use them.
8951 * stdio-common/tst-fphex-wide.c: New file.
8952
07037eeb
JM
89532012-03-08 Joseph Myers <joseph@codesourcery.com>
8954
a7a93d50
JM
8955 [BZ #6911]
8956 * manual/macros.texi (gnusystems): New macro.
8957 (nongnusystems): Likewise.
8958 (gnulinuxhurdsystems): Likewise.
8959 (gnuhurdsystems): Likewise..
8960 (gnulinuxsystems): Likewise.
8961 * manual/charset.texi: Use new macros or @theglibc{} to refer to
8962 variants of the GNU system, not "GNU system".
8963 * manual/conf.texi: Likewise.
8964 * manual/errno.texi: Likewise. Update example of errno macro
8965 expansion.
8966 * manual/filesys.texi: Likewise.
8967 (getumask): Document as specific to GNU/Hurd.
8968 * manual/install.texi: Likewise. Reword some references to
8969 GNU/Linux.
8970 * manual/intro.texi: Likewise.
8971 * manual/io.texi: Likewise.
8972 (File Name Portability): Detail which constraints are inapplicable
8973 to all GNU systems and which are only inapplicable to GNU/Hurd.
8974 * manual/job.texi: Likewise.
8975 * manual/llio.texi: Likewise.
8976 (O_NOCTTY): Document as present on GNU/Linux.
8977 * manual/maint.texi: Likewise.
8978 * manual/memory.texi: Likewise.
8979 * manual/pattern.texi: Likewise.
8980 * manual/pipe.texi: Likewise.
8981 * manual/process.texi: Likewise.
8982 * manual/resource.texi: Likewise.
8983 (RUSAGE_CHILDREN): Remove statement about specifying a particular
8984 child on GNU/Hurd.
8985 * manual/setjmp.texi: Likewise.
8986 * manual/signal.texi: Likewise.
8987 * manual/startup.texi: Likewise.
8988 * manual/stdio.texi: Likewise.
8989 * manual/terminal.texi: Likewise.
8990 (ONLCR): Document as POSIX.
8991 (OXTABS): Document availability on GNU/Linux as XTABS.
8992 (ONOEOT): Document availability separately from other bits.
8993 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
8994 * manual/time.texi: Likewise.
8995 * manual/users.texi: Likewise.
8996 * INSTALL: Regenerated.
8997 * sysdeps/gnu/errlist.c: Regenerated.
8998
07037eeb
JM
8999 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
9000 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
9001 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
9002 puts.
9003 * configure: Regenerated.
9004
d1d3431a
JM
90052012-03-07 Joseph Myers <joseph@codesourcery.com>
9006
af6a1e37
JM
9007 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
9008 default includes instead of AC_HEADER_CHECK.
9009 * sysdeps/i386/configure: Regenerated.
9010
d1d3431a
JM
9011 [BZ #10716]
9012 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
9013 * math/s_cacoshf.c (__cacoshf): Likewise.
9014 * math/s_cacoshl.c (__cacoshl): Likewise.
9015 * math/s_casinh.c (__casinh): Set signs of result from argument.
9016 * math/s_casinhf.c (__casinhf): Likewise.
9017 * math/s_casinhl.c (__casinhl): Likewise.
9018 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9019 (casinh_test): Add more tests.
9020 * sysdeps/i386/fpu/libm-test-ulps: Update.
9021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9022
482ff4da
UD
90232012-03-07 Ulrich Drepper <drepper@gmail.com>
9024
872fda05
UD
9025 * po/zh_TW.po: Update from translation team.
9026
a4300c7a
UD
9027 * login/Makefile (distribute): Remove variable.
9028 * catgets/Makefile: Likewise.
9029 * mach/Makefile: Likewise.
9030 * malloc/Makefile: Likewise.
9031 * misc/Makefile: Likewise.
9032 * iconv/Makefile: Likewise.
9033 * nscd/Makefile: Likewise.
9034 * hurd/Makefile: Likewise.
9035 * manual/Makefile: Likewise.
9036 * locale/Makefile: Likewise.
9037 * intl/Makefile: Likewise.
9038 * conform/Makefile: Likewise.
9039 * nss/Makefile: Likewise.
9040 * time/Makefile: Likewise.
9041 * soft-fp/Makefile: Likewise.
9042 * dirent/Makefile: Likewise.
9043 * gmon/Makefile: Likewise.
9044 * po/Makefile: Likewise.
9045 * rt/Makefile: Likewise.
9046 * socket/Makefile: Likewise.
9047 * math/Makefile: Likewise.
9048 * signal/Makefile: Likewise.
9049 * debug/Makefile: Likewise.
9050 * elf/Makefile: Likewise.
9051 * timezone/Makefile: Likewise.
9052 * stdlib/Makefile: Likewise.
9053 * iconvdata/Makefile: Likewise.
9054 * sunrpc/Makefile: Likewise.
9055 * io/Makefile: Likewise.
9056 * argp/Makefile: Likewise.
9057 * inet/Makefile: Likewise.
9058 * hesiod/Makefile: Likewise.
9059 * grp/Makefile: Likewise.
9060 * csu/Makefile: Likewise.
9061 * wctype/Makefile: Likewise.
9062 * crypt/Makefile: Likewise.
9063 * libio/Makefile: Likewise.
9064 * string/Makefile: Likewise.
9065 * nis/Makefile: Likewise.
9066 * resolv/Makefile: Likewise.
9067 * stdio-common/Makefile: Likewise.
9068 * wcsmbs/Makefile: Likewise.
9069 * dlfcn/Makefile: Likewise.
9070 * posix/Makefile: Likewise.
9071
3b7c4e74 9072 [BZ #6959]
482ff4da
UD
9073 * timezone/Makefile: Don't install timezone files, just the programs
9074 and scripts.
9075
f72ed77d
UD
90762012-03-06 Ulrich Drepper <drepper@gmail.com>
9077
a000466f
UD
9078 * nss/databases.def: Add missing gshadow entry.
9079
f72ed77d
UD
9080 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
9081
a53b7a4e
MP
90822012-03-06 Marek Polacek <polacek@redhat.com>
9083
9084 [BZ #13726]
9085 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9086 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9087 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9088 * stdio-common/tst-long-dbl-fphex.c: New file.
9089
e9258400
DM
90902012-03-06 David S. Miller <davem@davemloft.net>
9091
9092 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9093 (set_obp_int): New function.
9094 (get_obp_int): New function.
9095 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
9096 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9097 Avoid unused variable warnings on 'val' and use builtin_expect.
9098 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9099 __builtin_expect.
e9258400
DM
9100 (INLINE_CLONE_SYSCALL): Likewise.
9101
3bd2c723
DM
91022012-03-05 David S. Miller <davem@davemloft.net>
9103
9104 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9105
bbb78d03
AS
91062012-03-05 Andreas Schwab <schwab@linux-m68k.org>
9107
884c5db4
AS
9108 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9109
bbb78d03
AS
9110 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
9111 only for |x| >= 40.
9112 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9113
1c9f702a 91142012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
9115
9116 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
9117 Replace gettimeofday with __vdso_gettimeofday.
9118
7be16f82
RM
9119 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9120 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
9121 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
9122
9123 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
9124 time with __vdso_time.
9125
ed58a00f
JM
91262012-03-05 Joseph Myers <joseph@codesourcery.com>
9127
9128 * manual/lang.texi (size_t): Note types to which size_t may be
9129 equivalent with the GNU C Library, but do not describe when
9130 differences between them are significant.
9131
30ee4ced
AJ
91322012-03-05 Andreas Jaeger <aj@suse.de>
9133
9134 * sysdeps/i386/fpu/libm-test-ulps: Update.
9135
b7cd39e8
JM
91362012-03-05 Joseph Myers <joseph@codesourcery.com>
9137
9138 [BZ #3976]
9139 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
9140 (__ieee754_pow): Save and restore rounding mode and use
9141 round-to-nearest for main computations.
9142 * math/libm-test.inc (pow_test_tonearest): New function.
9143 (pow_test_towardzero): Likewise.
9144 (pow_test_downward): Likewise.
9145 (pow_test_upward): Likewise.
9146 (main): Call the new functions.
9147 * sysdeps/i386/fpu/libm-test-ulps: Update.
9148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
9149
9150 [BZ #3976]
9151 * math/libm-test.inc (cosh_test_tonearest): New function.
9152 (cosh_test_towardzero): Likewise.
9153 (cosh_test_downward): Likewise.
9154 (cosh_test_upward): Likewise.
9155 (sinh_test_tonearest): Likewise.
9156 (sinh_test_towardzero): Likewise.
9157 (sinh_test_downward): Likewise.
9158 (sinh_test_upward): Likewise.
9159 (main): Call the new functions.
9160 * sysdeps/i386/fpu/libm-test-ulps: Update.
9161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9162
6c6a98c9
TV
91632012-03-05 Tom de Vries <tom@codesourcery.com>
9164
9165 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
9166 default stack guard is set in last bytes.
9167 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
9168
21bb2d2e 91692012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 9170
21bb2d2e 9171 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 9172
21bb2d2e
AJ
9173 [BZ #13656]
9174 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
9175 possibly allocate from heap instead of stack.
9176 * stdio-common/bug-vfprintf-nargs.c: New file.
9177 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 9178
c6922934
AS
91792012-03-03 Andreas Schwab <schwab@linux-m68k.org>
9180
9181 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9182
bc957d53
MP
91832012-03-03 Marek Polacek <polacek@redhat.com>
9184
9185 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
9186 * math/math_private.h: Likewise.
9187 * stdlib/tst-strtod.c: Likewise.
9188 * sysdeps/i386/i486/bits/atomic.h: Likewise.
9189 * sysdeps/x86_64/bits/atomic.h: Likewise.
9190
6358490d
DM
91912012-03-02 David S. Miller <davem@davemloft.net>
9192
9193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
9194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
9195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
9196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
9197 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
9198 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
9199 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
9200 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
9201
01ae168d
RM
92022012-03-02 Roland McGrath <roland@hack.frob.com>
9203
d9a17c07
RM
9204 [BZ #13792]
9205 * manual/examples/README: New file, says the example source files
9206 can be used under GPL>=2.
9207 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
9208 line containing just "*/".
9209 * manual/examples/add.c: Add copyright header (GPL>=2).
9210 * manual/examples/argp-ex1.c: Likewise.
9211 * manual/examples/argp-ex2.c: Likewise.
9212 * manual/examples/argp-ex3.c: Likewise.
9213 * manual/examples/argp-ex4.c: Likewise.
9214 * manual/examples/atexit.c: Likewise.
9215 * manual/examples/db.c: Likewise.
9216 * manual/examples/dir.c: Likewise.
9217 * manual/examples/dir2.c: Likewise.
9218 * manual/examples/execinfo.c: Likewise.
9219 * manual/examples/filecli.c: Likewise.
9220 * manual/examples/filesrv.c: Likewise.
9221 * manual/examples/fmtmsgexpl.c: Likewise.
9222 * manual/examples/genpass.c: Likewise.
9223 * manual/examples/inetcli.c: Likewise.
9224 * manual/examples/inetsrv.c: Likewise.
9225 * manual/examples/isockad.c: Likewise.
9226 * manual/examples/longopt.c: Likewise.
9227 * manual/examples/memopen.c: Likewise.
9228 * manual/examples/memstrm.c: Likewise.
9229 * manual/examples/mkfsock.c: Likewise.
9230 * manual/examples/mkisock.c: Likewise.
9231 * manual/examples/mygetpass.c: Likewise.
9232 * manual/examples/pipe.c: Likewise.
9233 * manual/examples/popen.c: Likewise.
9234 * manual/examples/rprintf.c: Likewise.
9235 * manual/examples/search.c: Likewise.
9236 * manual/examples/select.c: Likewise.
9237 * manual/examples/setjmp.c: Likewise.
9238 * manual/examples/sigh1.c: Likewise.
9239 * manual/examples/sigusr.c: Likewise.
9240 * manual/examples/stpcpy.c: Likewise.
9241 * manual/examples/strdupa.c: Likewise.
9242 * manual/examples/strftim.c: Likewise.
9243 * manual/examples/strncat.c: Likewise.
9244 * manual/examples/subopt.c: Likewise.
9245 * manual/examples/swapcontext.c: Likewise.
9246 * manual/examples/termios.c: Likewise.
9247 * manual/examples/testopt.c: Likewise.
9248 * manual/examples/testpass.c: Likewise.
9249 * manual/examples/timeval_subtract.c: Likewise.
9250
01ae168d
RM
9251 [BZ #13792]
9252 * manual/time.texi (Elapsed Time): Move timeval_subtract example
9253 function to ...
9254 * manual/timeval_subtract.c.texi: ... here, new file.
9255
49efa33d
DM
92562012-03-02 David S. Miller <davem@davemloft.net>
9257
9258 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
9259
28afd92d
JM
92602012-03-02 Joseph Myers <joseph@codesourcery.com>
9261
804360ed
JM
9262 [BZ #3976]
9263 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
9264 (__sin): Save and restore rounding mode and use round-to-nearest
9265 for all computations.
9266 (__cos): Save and restore rounding mode and use round-to-nearest
9267 for all computations.
9268 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
9269 <fenv.h>.
9270 (tan): Save and restore rounding mode and use round-to-nearest for
9271 all computations.
9272 * math/libm-test.inc (cos_test_tonearest): New function.
9273 (cos_test_towardzero): Likewise.
9274 (cos_test_downward): Likewise.
9275 (cos_test_upward): Likewise.
9276 (sin_test_tonearest): Likewise.
9277 (sin_test_towardzero): Likewise.
9278 (sin_test_downward): Likewise.
9279 (sin_test_upward): Likewise.
9280 (tan_test_tonearest): Likewise.
9281 (tan_test_towardzero): Likewise.
9282 (tan_test_downward): Likewise.
9283 (tan_test_upward): Likewise.
9284 (main): Call the new functions.
9285 * sysdeps/i386/fpu/libm-test-ulps: Update.
9286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9287
a6d06d7b
JM
9288 [BZ #10135]
9289 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
9290 small n, then large n, before computing and testing k+n.
9291 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9292 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9293 Likewise.
9294 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9295 Likewise.
9296 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
9297 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9298 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9299 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9300 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9301 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9302 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9303 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
9304 * math/libm-test.inc (scalbn_test): Add more tests.
9305 (scalbln_test): Likewise.
9306
07e12bb3
JM
9307 * manual/filesys.texi (mode_t): Describe constraints on size and
9308 signedness, not exact equivalence to a particular type.
9309 (ino_t): Likewise.
9310 (ino64_t): Likewise.
9311 (dev_t): Likewise.
9312 (nlink_t): Likewise.
9313 (blkcnt_t): Likewise.
9314 (blkcnt64_t): Likewise.
9315 * manual/llio.texi (off_t): Likewise.
9316
28afd92d
JM
9317 [BZ #3976]
9318 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
9319 (__ieee754_exp): Save and restore rounding mode and use
9320 round-to-nearest for all computations.
9321 * math/libm-test.inc (exp_test_tonearest): New function.
9322 (exp_test_towardzero): Likewise.
9323 (exp_test_downward): Likewise.
9324 (exp_test_upward): Likewise.
9325 (main): Call the new functions.
9326 * sysdeps/i386/fpu/libm-test-ulps: Update.
9327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9328
b1eeb65d
CD
93292012-03-01 Chris Demetriou <cgd@google.com>
9330
9331 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
9332 have predictable order.
9333
53362a4b
DM
93342012-03-01 David S. Miller <davem@davemloft.net>
9335
3c969083
DM
9336 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
9337
759707de
DM
9338 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
9339 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
9340 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
9341 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
9342
dfdb8ff2
DM
9343 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
9344 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
9345 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
9346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
9347 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
9348 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
9349 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
9350 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
9351 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
9352
ead89f96
DM
9353 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9354
7f66bd07
DM
9355 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
9356 * sysdeps/sparc/fpu/libm-test-ulps: to here.
9357 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
9358
53362a4b
DM
9359 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
9360 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9361 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9362 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9363 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9364 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9365 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9366 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9367 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9368 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9369 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9370 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9371 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9372 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9373 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9374 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9375 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
9376 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
9377 * sysdeps/sparc/elf/configure: Regenerated.
9378
7b1902cb
JM
93792012-03-01 Joseph Myers <joseph@codesourcery.com>
9380
bec039bc
JM
9381 * configure.in (AS, LD): Require binutils 2.20 or later.
9382 * configure: Regenerated.
9383 * manual/install.texi (Tools for Compilation): Give binutils 2.20
9384 as required minimum version.
9385 * INSTALL: Regenerated.
9386
7b1902cb
JM
9387 [BZ #2541]
9388 [BZ #4108]
9389 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
9390 before squaring exponent.
9391 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
9392 bottom long double and 27 bits of top long double before squaring
9393 exponent.
9394 * math/libm-test.inc (erfc_test): Add more tests.
9395 * sysdeps/i386/fpu/libm-test-ulps: Update.
9396 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9398
f775c276
KT
93992012-03-01 Kai Tietz <ktietz@redhat.com>
9400
9401 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
9402 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
9403 containing bit-fields.
9404 * soft-fp/extended.h (_FP_UNION_E): Likewise.
9405 * soft-fp/single.h (_FP_UNION_S): Likewise.
9406 * soft-fp/double.h (_FP_UNION_D): Likewise.
9407
5b8a4d4a
JM
94082012-02-29 Joseph Myers <joseph@codesourcery.com>
9409
0bab47b6
JM
9410 [BZ #13786]
9411 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
9412 not include ../strcmp.S.
9413 [USE_AS_STRNCASECMP_L]: Likewise.
9414 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
9415 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
9416 * sysdeps/i386/i686/multiarch/strncase_l-c.c
9417 (__strncasecmp_l_ia32): Define as alias to
9418 __strncasecmp_l_nonascii.
9419
0fcad3e2
JM
9420 [BZ #5794]
9421 * math/libm-test.inc (expm1_test): Add test for bug 5794.
9422 * sysdeps/i386/fpu/libm-test-ulps: Update.
9423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9424
5b8a4d4a
JM
9425 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
9426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9427
8fdceb2e
JL
94282012-02-29 Jeff Law <law@redhat.com>
9429
9430 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
9431 out of bounds read.
9432
1f393a11
MP
94332012-02-29 Marek Polacek <polacek@redhat.com>
9434
9435 [BZ #13706]
9436 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
9437 * elf/Makefile: Add rules to run tst-unused-dep.out.
9438
8847f037
DM
94392012-02-28 David S. Miller <davem@davemloft.net>
9440
9441 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
9442 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
9443 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
9444 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
9445 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
9446 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
9447
169d7f11
JM
94482012-02-29 Joseph Myers <joseph@codesourcery.com>
9449
9450 * math/libm-test.inc (llround_test): Move one test from
9451 lround_test. Use TEST_f_L in moved test.
9452 (lround_test): Move misplaced test to llround_test. Add testcase
9453 from bug 2561.
9454
39adf059
UD
94552012-02-28 Ulrich Drepper <drepper@gmail.com>
9456
9457 * sysdeps/x86_64/fpu/e_expf.S: New file.
9458 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
9459
71b5d1c5
SB
94602012-02-28 Stanislav Brabec <sbrabec@suse.cz>
9461
9462 [BZ #13637]
9463 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
9464 of remain_len that may cause incomplete multi-byte character and
9465 false match.
9466 * posix/bug-regex33.c: New file.
9467 * posix/Makefile (tests): Add bug-regex33.
9468
1f77f049
JM
94692012-02-28 Joseph Myers <joseph@codesourcery.com>
9470
9471 * manual/macros.texi: New file.
9472 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
9473 * manual/libc.texinfo: Include macros.texi.
9474 * manual/creatute.texi: Likewise.
9475 * manual/install.texi: Likewise.
9476 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
9477 @glibcadj{} in references to the GNU C Library.
9478 * manual/charset.texi: Likewise.
9479 * manual/conf.texi: Likewise.
9480 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
9481 when not using those macros.
9482 * manual/creature.texi: Likewise.
9483 * manual/crypt.texi: Likewise.
9484 * manual/errno.texi: Likewise.
9485 * manual/filesys.texi: Likewise.
9486 * manual/header.texi: Likewise.
9487 * manual/install.texi: Likewise.
9488 * manual/intro.texi: Likewise.
9489 * manual/io.texi: Likewise.
9490 * manual/job.texi: Likewise.
9491 * manual/lang.texi: Likewise.
9492 * manual/libc.texiinfo: Likewise.
9493 * manual/llio.texi: Likewise.
9494 * manual/locale.texi: Likewise.
9495 * manual/maint.texi: Likewise.
9496 * manual/math.texi: Likewise.
9497 * manual/memory.texi: Likewise.
9498 * manual/message.texi: Likewise.
9499 * manual/nss.texi: Likewise.
9500 * manual/pattern.texi: Likewise.
9501 * manual/process.texi: Likewise.
9502 * manual/resource.texi: Likewise.
9503 * manual/search.texi: Likewise.
9504 * manual/setjmp.texi: Likewise.
9505 * manual/signal.texi: Likewise.
9506 * manual/socket.texi: Likewise.
9507 * manual/startup.texi: Likewise.
9508 * manual/stdio.texi: Likewise.
9509 * manual/string.texi: Likewise.
9510 * manual/sysinfo.texi: Likewise.
9511 * manual/syslog.texi: Likewise.
9512 * manual/terminal.texi: Likewise.
9513 * manual/time.texi: Likewise.
9514 * manual/users.texi: Likewise.
9515 * INSTALL: Regenerated.
9516 * NOTES: Regenerated.
d40c5d54 9517 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 9518
450bf206
AS
95192012-02-28 Andreas Schwab <schwab@linux-m68k.org>
9520
9521 * include/dirent.h: Include <dirstream.h> before
9522 <dirent/dirent.h>.
9523
741a235b
DM
95242012-02-28 David S. Miller <davem@davemloft.net>
9525
9526 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
9527 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
9528 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
9529 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
9530
d6b5aa58
DM
95312012-02-27 David S. Miller <davem@davemloft.net>
9532
1aff59a3
DM
9533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
9534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
9535 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
9536 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
9537
d6b5aa58
DM
9538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
9539 frame pointer instead of stack pointer relative arg slot.
9540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9541 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9542 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9543
433f48bf
CD
95442012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
9545
9546 [BZ #3992]
9547 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
9548
d674b76d
DM
95492012-02-27 David S. Miller <davem@davemloft.net>
9550
9551 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
9552 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9554 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
9555 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9556 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9557 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
9558 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
9559
0e7727f7
JM
95602012-02-27 Joseph Myers <joseph@codesourcery.com>
9561
9562 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
9563 later. Allow versions 5-9.
43be4ca2 9564 * configure: Regenerated.
0e7727f7
JM
9565 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
9566 required minimum version and 4.6 as recommended version. Do not
9567 mention bugs in GCC 2.7 and 2.8.
43be4ca2 9568 * INSTALL: Regenerated.
0e7727f7 9569
a78bc654
DM
95702012-02-27 David S. Miller <davem@davemloft.net>
9571
428d5830
DM
9572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
9573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
9574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
9575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
9576 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
9577 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
9578 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
9579 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
9580
a78bc654
DM
9581 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
9582 manipulate bits before adding and subtracting TWO112[sx].
9583 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9584
4579f81c
RM
95852012-02-27 Roland McGrath <roland@hack.frob.com>
9586
36c8acb4
RM
9587 [BZ #13775]
9588 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
9589 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
9590 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
9591 being in POSIX, because they are in 1003.1-2008.
9592
84ad622b
RM
9593 * rt/tst-aio.c: Include <fcntl.h>.
9594 * rt/tst-aio7.c: Likewise.
9595 * rt/tst-aio64.c: Likewise.
9596
4579f81c
RM
9597 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
9598
abd923db
JM
95992012-02-27 Joseph Myers <joseph@codesourcery.com>
9600
9601 * manual/install.texi (--with-headers): Describe headers as
9602 interface headers, not private headers.
9603 (Specific advice for GNU/Linux systems): Describe use of headers
9604 from "make headers_install", not private headers from older
9605 kernels.
43be4ca2 9606 * INSTALL: Regenerated.
abd923db
JM
9607 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
9608 Change to 2.6.19.
9609 * sysdeps/unix/sysv/linux/configure: Regenerated.
9610
6664049b
JM
9611 * manual/llio.texi (fclean): Remove documentation.
9612
bb8b6697
JM
9613 * manual/Makefile (libc-texi-generated): New variable. Include
9614 version.texi.
9615 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
9616 $(libc-texi-generated), not duplicated list of files.
9617 (version.texi, stamp-version): New rules.
9618 (realclean): Remove $(libc-texi-generated), not individual files
9619 from that list. Do not remove dir-add.texinfo.
9620 * manual/libc.texinfo: Comment out uses of edition numbers and
9621 references to printed manual. Remove last-updated dates.
9622 (EDITION): Comment out.
9623 (ISBN): Likewise.
9624 (VERSION, UPDATED): Remove.
9625 (version.texi): Include.
9626
12e5c3b9
AS
96272012-02-27 Andreas Schwab <schwab@linux-m68k.org>
9628
9629 * sysdeps/posix/spawni.c: Include <signal.h>.
9630 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
9631 * sysdeps/pthread/aio_fsync.c: Likewise.
9632
4efeffc1 96332012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 9634
ba63ba08
UD
9635 * conform/Makefile (tests): Run only when not cross-compiling and
9636 when fast-check is not defined.
9637
d94a4670
UD
9638 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
9639 * conform/data/limits.h-data: Fixes for POSIX2008.
9640 * conform/run-conformtest.sh: Run all tests.
9641 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
9642 headers.
9643 * include/bits/dlfcn.h: Likewise.
9644 * include/langinfo.h: Likewise.
9645 * include/monetary.h: Likewise.
9646 * include/sys/poll.h: Likewise.
9647
9648 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
9649 for __USE_GNU.
9650 * posix/spawn.h: Define __need_sigset_t.
9651 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
9652 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
9653 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
9654 to get sigevent_t only.
9655 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
9656 only for __USE_GNU.
9657 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9658 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9659 process_vm_writev only for __USE_GNU.
9660 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
9661
9662 * conform/Makefile: For now ignore errors from run-conformtest.
9663 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
9664 POSIX to avoid namespace pollution. Don't prepend headers.
9665 * conform/data/aio.h-data: Fixes for POSIX testing.
9666 * conform/data/fcntl.h-data: Likewise.
9667 * conform/data/glob.h-data: Likewise.
9668 * conform/data/grp.h-data: Likewise.
9669 * conform/data/pthread.h-data: Likewise.
9670 * conform/data/pwd.h-data: Likewise.
9671 * conform/data/signal.h-data: Likewise.
9672 * conform/data/spawn.h-data: Likewise.
9673 * conform/data/stdio.h-data: Likewise.
9674 * conform/data/stdlib.h-data: Likewise.
9675 * conform/data/stropts.h-data: Likewise.
9676 * conform/data/sys/mman.h-data: Likewise.
9677 * conform/data/sys/stat.h-data: Likewise.
9678 * conform/data/sys/types.h-data: Likewise.
9679 * conform/data/sys/wait.h-data: Likewise.
9680 * conform/data/time.h-data: Likewise.
9681 * conform/data/unistd.h-data: Likewise.
9682 * conform/data/utime.h-data: Likewise.
9683
9684 * io/sys/stat.h: fchmod was always in POSIX.
9685 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
9686 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
9687 * rt/aio.h: Define __need_timespec before including <time.h>.
9688 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
9689 struct. Add forward declaration of pthread_attr_t and use it in
9690 sigevent.
9691 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9692 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9693 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
9694 always remove CLK_TCK definition.
9695
c20105c3
AS
96962012-02-26 Andreas Schwab <schwab@linux-m68k.org>
9697
9698 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
9699
7a270350
UD
97002012-02-25 Ulrich Drepper <drepper@gmail.com>
9701
31341567
UD
9702 * conform/run-conformtest.sh: New file.
9703 * conform/Makefile: Run run-conformtest for tests.
9704 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
9705 support.
9706
9707 * conform/data/uchar.h-data: New file.
9708 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
9709 * conform/data/arpa/inet.h-data: Likewise.
9710 * conform/data/assert.h-data: Likewise.
9711 * conform/data/complex.h-data: Likewise.
9712 * conform/data/cpio.h-data: Likewise.
9713 * conform/data/ctype.h-data: Likewise.
9714 * conform/data/dirent.h-data: Likewise.
9715 * conform/data/dlfcn.h-data: Likewise.
9716 * conform/data/errno.h-data: Likewise.
9717 * conform/data/fcntl.h-data: Likewise.
9718 * conform/data/float.h-data: Likewise.
9719 * conform/data/fmtmsg.h-data: Likewise.
9720 * conform/data/fnmatch.h-data: Likewise.
9721 * conform/data/ftw.h-data: Likewise.
9722 * conform/data/glob.h-data: Likewise.
9723 * conform/data/grp.h-data: Likewise.
9724 * conform/data/iconv.h-data: Likewise.
9725 * conform/data/inttypes.h-data: Likewise.
9726 * conform/data/langinfo.h-data: Likewise.
9727 * conform/data/libgen.h-data: Likewise.
9728 * conform/data/limits.h-data: Likewise.
9729 * conform/data/locale.h-data: Likewise.
9730 * conform/data/math.h-data: Likewise.
9731 * conform/data/monetary.h-data: Likewise.
9732 * conform/data/mqueue.h-data: Likewise.
9733 * conform/data/ndbm.h-data: Likewise.
9734 * conform/data/net/if.h-data: Likewise.
9735 * conform/data/netdb.h-data: Likewise.
9736 * conform/data/netinet/in.h-data: Likewise.
9737 * conform/data/nl_types.h-data: Likewise.
9738 * conform/data/poll.h-data: Likewise.
9739 * conform/data/pthread.h-data: Likewise.
9740 * conform/data/pwd.h-data: Likewise.
9741 * conform/data/regex.h-data: Likewise.
9742 * conform/data/sched.h-data: Likewise.
9743 * conform/data/search.h-data: Likewise.
9744 * conform/data/semaphore.h-data: Likewise.
9745 * conform/data/setjmp.h-data: Likewise.
9746 * conform/data/signal.h-data: Likewise.
9747 * conform/data/spawn.h-data: Likewise.
9748 * conform/data/stdarg.h-data: Likewise.
9749 * conform/data/stdio.h-data: Likewise.
9750 * conform/data/stdlib.h-data: Likewise.
9751 * conform/data/string.h-data: Likewise.
9752 * conform/data/strings.h-data: Likewise.
9753 * conform/data/stropts.h-data: Likewise.
9754 * conform/data/sys/ipc.h-data: Likewise.
9755 * conform/data/sys/mman.h-data: Likewise.
9756 * conform/data/sys/msg.h-data: Likewise.
9757 * conform/data/sys/resource.h-data: Likewise.
9758 * conform/data/sys/select.h-data: Likewise.
9759 * conform/data/sys/sem.h-data: Likewise.
9760 * conform/data/sys/shm.h-data: Likewise.
9761 * conform/data/sys/socket.h-data: Likewise.
9762 * conform/data/sys/stat.h-data: Likewise.
9763 * conform/data/sys/statvfs.h-data: Likewise.
9764 * conform/data/sys/time.h-data: Likewise.
9765 * conform/data/sys/timeb.h-data: Likewise.
9766 * conform/data/sys/times.h-data: Likewise.
9767 * conform/data/sys/types.h-data: Likewise.
9768 * conform/data/sys/uio.h-data: Likewise.
9769 * conform/data/sys/un.h-data: Likewise.
9770 * conform/data/sys/utsname.h-data: Likewise.
9771 * conform/data/sys/wait.h-data: Likewise.
9772 * conform/data/syslog.h-data: Likewise.
9773 * conform/data/tar.h-data: Likewise.
9774 * conform/data/termios.h-data: Likewise.
9775 * conform/data/utime.h-data: Likewise.
9776 * conform/data/utmpx.h-data: Likewise.
9777 * conform/data/varargs.h-data: Likewise.
9778 * conform/data/wchar.h-data: Likewise.
9779 * conform/data/wctype.h-data: Likewise.
9780 * conform/data/wordexp.h-data: Likewise.
9781
9782 * include/stropts.h: New file.
9783 * include/uchar.h: New file.
9784 * include/aio.h: Changes to allow conformtest.pl to use the headers.
9785 * include/assert.h: Likewise.
9786 * include/ctype.h: Likewise.
9787 * include/dirent.h: Likewise.
9788 * include/dlfcn.h: Likewise.
9789 * include/fcntl.h: Likewise.
9790 * include/fnmatch.h: Likewise.
9791 * include/glob.h: Likewise.
9792 * include/grp.h: Likewise.
9793 * include/libio.h: Likewise.
9794 * include/locale.h: Likewise.
9795 * include/math.h: Likewise.
9796 * include/net/if.h: Likewise.
9797 * include/netdb.h: Likewise.
9798 * include/netinet/in.h: Likewise.
9799 * include/pthread.h: Likewise.
9800 * include/pwd.h: Likewise.
9801 * include/regex.h: Likewise.
9802 * include/sched.h: Likewise.
9803 * include/search.h: Likewise.
9804 * include/setjmp.h: Likewise.
9805 * include/signal.h: Likewise.
9806 * include/stdio.h: Likewise.
9807 * include/stdlib.h: Likewise.
9808 * include/string.h: Likewise.
9809 * include/sys/cdefs.h: Likewise.
9810 * include/sys/mman.h: Likewise.
9811 * include/sys/msg.h: Likewise.
9812 * include/sys/resource.h: Likewise.
9813 * include/sys/select.h: Likewise.
9814 * include/sys/socket.h: Likewise.
9815 * include/sys/stat.h: Likewise.
9816 * include/sys/statvfs.h: Likewise.
9817 * include/sys/time.h: Likewise.
9818 * include/sys/times.h: Likewise.
9819 * include/sys/uio.h: Likewise.
9820 * include/sys/utsname.h: Likewise.
9821 * include/sys/wait.h: Likewise.
9822 * include/termios.h: Likewise.
9823 * include/time.h: Likewise.
9824 * include/ulimit.h: Likewise.
9825 * include/unistd.h: Likewise.
9826 * include/utime.h: Likewise.
9827 * include/wchar.h: Likewise.
9828 * include/wctype.h: Likewise.
9829 * include/wordexp.h: Likewise.
9830
9831 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
9832
7a270350
UD
9833 * time/time.h: TIME_UTC must be a macro.
9834 Make timespec_get available for ISO C11 only as well.
9835
7724defc
UD
98362012-02-24 Ulrich Drepper <drepper@gmail.com>
9837
9838 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
9839 Reported by Peng Haitao <penght@cn.fujitsu.com>.
9840
6b1d1d46
JM
98412012-02-24 Joseph Myers <joseph@codesourcery.com>
9842
9843 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 9844
0f8bbd69
JM
98452012-02-24 Joseph Myers <joseph@codesourcery.com>
9846
9847 * manual/texinfo.tex: Update to version 2012-01-19.16.
9848
66ab80bc
JM
98492012-02-24 Joseph Myers <joseph@codesourcery.com>
9850
9851 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
9852
74981cc5
RM
98532012-02-24 Roland McGrath <roland@hack.frob.com>
9854
ee968201
RM
9855 [BZ #13738]
9856 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
9857 * manual/fdl-1.3.texi: New file.
9858 * manual/fdl-1.1.texi: File removed.
9859
74981cc5
RM
9860 [BZ #13738]
9861 * manual/libc.texinfo (FDL_VERSION): New @set.
9862 Use it for mention of FDL in cover text.
9863 (Documentation License): Use it in @include file name.
9864
7bb764bc
JM
98652012-02-22 Joseph Myers <joseph@codesourcery.com>
9866 Roland McGrath <roland@hack.frob.com>
9867
9868 [BZ #5461]
9869 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
9870 not LONG_LONG_MAX and LONG_LONG_MIN.
9871 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
9872 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
9873 name.
9874 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
9875
6cbeae47
JM
98762012-02-22 Joseph Myers <joseph@codesourcery.com>
9877
9878 [BZ #2547]
9879 [BZ #11365]
9880 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
9881 manipulate bits before adding and subtracting TWO23[sx].
9882 * math/libm-test.inc (nearbyint_test): Add more tests.
9883
fe45ce09
JM
98842012-02-22 Joseph Myers <joseph@codesourcery.com>
9885
9886 [BZ #2548]
9887 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
9888 bits before adding and subtracting TWO23[sx].
9889 * math/libm-test.inc (rint_test): Add more tests.
9890 (rint_test_tonearest): Likewise.
9891 (rint_test_towardzero): Likewise.
9892 (rint_test_downward): Likewise.
9893 (rint_test_upward: Likewise.
9894
ff3b3d82
JM
98952012-02-22 Joseph Myers <joseph@codesourcery.com>
9896
9897 [BZ #10110]
9898 * include/stdc-predef.h: New file. Extracted from features.h.
9899 * include/features.h: Include stdc-predef.h.
9900 * Makefile (headers): Add stdc-predef.h.
9901 * CONFORMANCE (Compiler limitations): Update.
9902
ef0aab35
JM
99032012-02-22 Joseph Myers <joseph@codesourcery.com>
9904
9905 * manual/libc.texinfo (VERSION, UPDATED): Revert.
9906
58639409
DM
99072012-02-21 David S. Miller <davem@davemloft.net>
9908
9909 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
9910 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9911
c0e70b25
DM
99122012-02-20 David S. Miller <davem@davemloft.net>
9913
9914 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
9915 using a normal save/restore sequence, rather than allocating a
9916 dummy stack frame just to store a frame pointer and restore.
9917 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9918
fb06851d
JM
99192012-02-21 Joseph Myers <joseph@codesourcery.com>
9920
9921 * manual/install.texi: Fix stray word in line-wrapped comment.
9922
7a8b71c3
DM
99232012-02-20 David S. Miller <davem@davemloft.net>
9924
d510c123
DM
9925 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
9926 both binutils and gcc support GOTDATA.
9927
0722d7c2
DM
9928 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
9929 "rd %pc" in the PIC register setup sequences.
9930
3d2b3019
DM
9931 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
9932 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9933 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9934 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9935 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9936 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9937 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9938 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9939 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
9940 (SYSCALL_ERROR_HANDLER): Likewise.
9941 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9942 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9943 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
9944 (SYSCALL_ERROR_HANDLER): Likewise.
9945
c80098a9
DM
9946 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
9947 (HAVE_GCC_GOTDATA): New.
9948 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
9949 relocation support in both binutils and gcc.
9950 * sysdeps/sparc/elf/configure: Regenerate.
9951
3a2545a0
DM
9952 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
9953 * sysdeps/sparc/sparc32/elf/configure: Delete.
9954 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
9955 * sysdeps/sparc/sparc64/elf/configure: Delete.
9956 * sysdeps/sparc/elf/configure.in: New file.
9957 * sysdeps/sparc/elf/configure: Generate.
9958
7a8b71c3
DM
9959 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
9960 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
9961 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9962 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
9963 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
9964
f1e86fca
JM
99652012-02-21 Joseph Myers <joseph@codesourcery.com>
9966
9967 * manual/install.texi: Do not mention specific glibc version
9968 numbers.
9969 * manual/libc.texinfo (VERSION, UPDATED): Update.
9970 (@copying): Use @copyright{} and range of years.
9971
0e7dfaef
JM
99722012-02-21 Joseph Myers <joseph@codesourcery.com>
9973
9974 [BZ #13695]
9975 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
9976 [crti.S not in sysdirs] (generated): Do not append.
9977 [crti.S not in sysdirs] (omit-deps): Likewise.
9978 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
9979 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
9980 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
9981 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
9982 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
9983 Likewise.
9984 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
9985 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
9986 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
9987 * csu/defs.awk: Remove file.
9988 * sysdeps/generic/initfini.c: Likewise.
9989 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
9990 variable.
9991 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
9992 Likewise.
9993
599af3ca
JM
99942012-02-20 Joseph Myers <joseph@codesourcery.com>
9995
9996 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
9997 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
9998 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
9999 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
10000 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10001 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
10002 <bits/epoll.h>.
10003 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
10004 (__EPOLL_PACKED): Define to empty if not defined by
10005 <bits/epoll.h>.
10006 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
10007 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10008 bits/epoll.h.
10009
0e499750
JM
100102012-02-20 Joseph Myers <joseph@codesourcery.com>
10011
10012 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
10013 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
10014 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10015 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10016 <bits/timerfd.h>.
10017 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10018 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10019 bits/timerfd.h.
10020
5ad91f6e
JM
100212012-02-20 Joseph Myers <joseph@codesourcery.com>
10022
10023 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10024 in C locale.
10025 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10026 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10027 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10029
06b99b02
AJ
100302012-02-20 Aurelien Jarno <aurelien@aurel32.net>
10031
10032 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10033 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10034
7638c0fd
AS
100352012-02-19 Andreas Schwab <schwab@linux-m68k.org>
10036
10037 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10038 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10039 defined.
10040 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10041 Likewise.
10042 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10043 entry for 2.16.
10044
92221550
AJ
100452012-02-19 Aurelien Jarno <aurelien@aurel32.net>
10046
10047 * math/w_acos.c: Use non-signaling floating-point comparisons.
10048 * math/w_acosf.c: Likewise.
10049 * math/w_acosh.c: Likewise.
10050 * math/w_acoshf.c: Likewise.
10051 * math/w_acoshl.c: Likewise.
10052 * math/w_acosl.c: Likewise.
10053 * math/w_asin.c: Likewise.
10054 * math/w_asinf.c: Likewise.
10055 * math/w_asinl.c: Likewise.
10056 * math/w_atanh.c: Likewise.
10057 * math/w_atanhf.c: Likewise.
10058 * math/w_atanhl.c: Likewise.
10059 * math/w_exp2.c: Likewise.
10060 * math/w_exp2f.c: Likewise.
10061 * math/w_exp2l.c: Likewise.
10062 * math/w_j0.c: Likewise.
10063 * math/w_j0f.c: Likewise.
10064 * math/w_j0l.c: Likewise.
10065 * math/w_j1.c: Likewise.
10066 * math/w_j1f.c: Likewise.
10067 * math/w_j1l.c: Likewise.
10068 * math/w_jn.c: Likewise.
10069 * math/w_jnf.c: Likewise.
10070 * math/w_log.c: Likewise.
10071 * math/w_log10.c: Likewise.
10072 * math/w_log10f.c: Likewise.
10073 * math/w_log10l.c: Likewise.
10074 * math/w_log2.c: Likewise.
10075 * math/w_log2f.c: Likewise.
10076 * math/w_log2l.c: Likewise.
10077 * math/w_logf.c: Likewise.
10078 * math/w_logl.c: Likewise.
10079 * math/w_sqrt.c: Likewise.
10080 * math/w_sqrtf.c: Likewise.
10081 * math/w_sqrtl.c: Likewise.
10082 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10083 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10084 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10085 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10086 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10087
ebaf36eb
JM
100882012-02-19 Joseph Myers <joseph@codesourcery.com>
10089
10090 [BZ #9739]
10091 * manual/string.texi (strnlen): Use correct parameter name in
10092 equivalent expression.
10093
71c254a6
JM
100942012-02-19 Joseph Myers <joseph@codesourcery.com>
10095
10096 [BZ #11174]
10097 * manual/users.texi (seteuid): Consistently use neweuid for
10098 argument name.
10099
16d2c631
JM
101002012-02-19 Joseph Myers <joseph@codesourcery.com>
10101
10102 [BZ #13704]
10103 * manual/nss.texi (Services in the NSS configuration): Correct
10104 list of services in example configuration file.
10105
cd837b09
NB
101062012-02-19 Nick Bowler <nbowler@draconx.ca>
10107
10108 [BZ #11322]
10109 * manual/arith.texi: Remove statements about negative zero
10110 behaving identically to zero.
10111
02c4bbad
JM
101122012-02-18 Joseph Myers <joseph@codesourcery.com>
10113
10114 [BZ #5993]
10115 * manual/install.texi: Do not document upgrading from libc5.
10116
366842e7
JM
101172012-02-18 Joseph Myers <joseph@codesourcery.com>
10118
10119 [BZ #4596]
10120 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
10121
dd54084d
DM
101222012-02-18 David S. Miller <davem@davemloft.net>
10123
10124 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
10125 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
10126 %o7 across the call.
10127 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
10128 instead.
10129 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
10130 SETUP_PIC_REG_LEAF.
10131 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10132 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
10133 * sysdeps/sparc/crtn.S: Likewise.
10134
2bcc53a3
UD
101352012-02-17 Ulrich Drepper <drepper@gmail.com>
10136
10137 * aout/Makefile: Remove.
10138
09c093b5
RK
101392012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
10140
10141 [BZ #13058]
10142 * manual/examples/argp-ex1.c (main): Format definition in GNU
10143 style.
10144 * manual/examples/argp-ex2.c (main): Likewise.
10145 * manual/examples/argp-ex3.c (main): Likewise.
10146 * manual/examples/argp-ex4.c (main): Likewise.
10147 * manual/examples/longopt.c (main): Use new-style prototype
10148 definition.
10149 * manual/examples/strncat.c (main): Specify return type and use
10150 (void) for arguments.
10151 * manual/examples/subopt.c (main): Use char **argv argument.
10152
2ee633a2
JM
101532012-02-17 Joseph Myers <joseph@codesourcery.com>
10154
10155 [BZ #5077]
10156 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
10157 rounding modes.
10158
0520adde
FB
101592012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
10160
10161 [BZ #6907]
10162 * manual/string.texi (strchr): Change when strchrnul is
10163 recommended.
10164
3f4081cd
DGM
101652012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
10166
10167 [BZ #174]
10168 * manual/locale.texi (setlocale): Document LOCPATH.
10169
d1b10e78
JM
101702012-02-17 Joseph Myers <joseph@codesourcery.com>
10171
10172 [BZ #10210]
10173 * manual/process.texi (execle): Move @dots{} before last argument.
10174
79c6869c
PB
101752012-02-17 Paul Bolle <pebolle@tiscali.nl>
10176
10177 [BZ #12047]
10178 * manual/charset.texi (Generic Charset Conversion): Fix typo
10179 (LC_TYPE -> LC_CTYPE).
10180
cc6e48bc
NB
101812012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
10182
10183 [BZ #5805]
10184 * manual/arith.texi (scalbn): Use @var{} on parameter names.
10185 (scalbnf): Likewise.
10186 (scalbnl): Likewise.
10187 (scalbln): Likewise.
10188 (scalblnf): Likewise.
10189 (scalblnl): Likewise.
10190 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
10191 (vwarnx): Likewise.
10192 (verr): Likewise.
10193 (verrx): Likewise.
10194 * manual/filesys.texi (telldir): Use braces around return type.
10195 * manual/llio.texi (mmap): Add space after comma.
10196 (mmap64): Likewise.
10197 * manual/math.texi (jn): Use @var{} on parameter names.
10198 (jnf): Likewise.
10199 (jnl): Likewise.
10200 (yn): Likewise.
10201 (ynf): Likewise.
10202 (ynl): Likewise.
10203 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
10204 line.
10205 * manual/resource.texi (ulimit): Use @dots{} instead of literal
10206 "...".
10207 (sched_get_priority_min): Remove semicolon on @deftypefun line.
10208 (sched_get_priority_max): Likewise.
10209 * manual/signal.texi (sigvec): Add space after comma.
10210 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
10211 names.
10212 (if_indextoname): Likewise.
10213 (if_freenameindex): Likewise.
10214 (sendto): Use ',' instead of '.' in prototype.
10215 * manual/startup.texi (syscall): Use @dots{} instead of literal
10216 "...".
10217 * manual/stdio.texi (__fpending): Separate initial words of
10218 paragraph from @deftypefun line.
10219 * manual/syslog.texi (syslog): Use @dots{} instead of literal
10220 "...".
10221 (vsyslog): Use @var{} on parameter names.
10222 * manual/terminal.texi (stty): Use @var{} on parameter names.
10223 * manual/users.texi (getutmp): Use @var{} on parameter names.
10224 (getutmpx): Likewise.
10225
5b23062f
JM
102262012-02-17 Joseph Myers <joseph@codesourcery.com>
10227
10228 [BZ #6884]
10229 * manual/stdio.texi (fopen): Fix typos in description of
10230 ",ccs=STRING".
10231
8dee4833
AJ
102322012-02-17 Aurelien Jarno <aurelien@aurel32.net>
10233
10234 [BZ #4026]
10235 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
10236 get clock_id definition.
10237
9078ce93
TS
102382012-02-17 Thomas Schwinge <thomas@schwinge.name>
10239
10240 [BZ #4822]
10241 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
10242 (madvise): Cast every argument to void on its own.
10243
3835c55f
JM
102442012-02-17 Joseph Myers <joseph@codesourcery.com>
10245
10246 [BZ #9902]
10247 * manual/startup.texi (Exit Status): Fix typo.
10248
35c47e37
JM
102492012-02-17 Joseph Myers <joseph@codesourcery.com>
10250
10251 [BZ #10140]
10252 * manual/examples/argp-ex1.c: Include <stdlib.h>.
10253 * manual/examples/argp-ex2.c: Likewise.
10254 * manual/examples/argp-ex3.c: Likewise.
10255
e3b69ca7
RH
102562012-02-16 Richard Henderson <rth@redhat.com>
10257
10258 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
10259 * sysdeps/s390/s390-32/initfini.c: Remove.
10260 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
10261 * sysdeps/s390/s390-64/initfini.c: Remove.
10262
df83af67
KK
102632012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10264
10265 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
10266 compiler output for sysdeps/generic/initfini.c.
10267 * sysdeps/sh/elf/initfini.c: Remove file.
10268
f63f3380
DM
102692012-02-16 David S. Miller <davem@davemloft.net>
10270
fb59b3a4
DM
10271 [BZ #11494]
10272 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
10273
f63f3380
DM
10274 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
10275 * sysdeps/sparc/crti.S: New file.
10276 * sysdeps/sparc/crtn.S: New file.
10277 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
10278 * sysdeps/sparc/sparc64/Makefile: Likewise.
10279
df6a4a4a
MF
102802012-02-15 Mike Frysinger <vapier@gentoo.org>
10281
6dd8f3dc 10282 [BZ #3335]
df6a4a4a
MF
10283 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
10284
1cac7236
RM
102852012-02-15 Roland McGrath <roland@hack.frob.com>
10286
d2c736f8
RM
10287 [BZ #4822]
10288 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
10289
1cac7236
RM
10290 * mach/devstream.c (cookie_io_functions_t): Macro removed.
10291 (write, read, close): Likewise.
10292 Patch by Aurelien Jarno <aurelien@aurel32.net>.
10293
8e475601
JM
102942012-02-15 Joseph Myers <joseph@codesourcery.com>
10295
10296 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
10297 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
10298 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
10299 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
10300 <bits/signalfd.h>.
10301 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
10302 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10303 bits/signalfd.h.
10304
ed656b40
MP
103052012-02-14 Marek Polacek <polacek@redhat.com>
10306
10307 * sysdeps/x86_64/crti.S: New file.
10308 * sysdeps/x86_64/crtn.S: New file.
10309 * sysdeps/x86_64/elf/initfini.c: Remove file.
10310
2a979d3a
JM
103112012-02-13 Joseph Myers <joseph@codesourcery.com>
10312
10313 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
10314 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
10315 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
10316 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
10317 <bits/inotify.h>.
10318 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
10319 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10320 bits/inotify.h.
10321
2a418ac3
JM
103222012-02-13 Joseph Myers <joseph@codesourcery.com>
10323
10324 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
10325 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
10326 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
10327 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
10328 <bits/eventfd.h>.
10329 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
10330 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10331 bits/eventfd.h.
10332
fb779be7
TS
103332012-02-10 Thomas Schwinge <thomas@codesourcery.com>
10334
e19e83c5
RM
10335 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
10336 __feraiseexcept instead of feraiseexcept.
7c35ffed 10337
fb779be7
TS
10338 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
10339 nanosleep invocations.
10340 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
10341 strings, and add error checking for a nanosleep invocations.
10342
59ba27a6
PE
103432012-02-09 Paul Eggert <eggert@cs.ucla.edu>
10344
10345 Replace FSF snail mail address with URLs, as per GNU coding standards.
10346 Most of the snail mail addresses were wrong anyway, and omitting
10347 them makes the source code easier to maintain. Almost all of the
10348 changes are to license notices and to locale LC_IDENTIFICATION
10349 addresses, except for this one:
10350 * manual/libc.texinfo: In "Published by", give the FSF's URL,
10351 not its snail mail address.
10352
57b957eb
RH
103532012-02-09 Richard Henderson <rth@twiddle.net>
10354
af850b1c
RH
10355 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
10356 of kernel-features.h.
10357
57b957eb
RH
10358 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
10359
6b73181a
MP
103602012-02-08 Marek Polacek <polacek@redhat.com>
10361
10362 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
10363 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
10364 * sysdeps/gnu/_G_config.h: Likewise.
10365 * sysdeps/generic/_G_config.h: Likewise.
10366
26ecc33a
AS
103672012-02-08 Andreas Schwab <schwab@linux-m68k.org>
10368
6c6dbc63
AS
10369 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
10370 tests.
10371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10372
e216c012
AS
10373 * sysdeps/powerpc/powerpc32/crti.S: New file.
10374 * sysdeps/powerpc/powerpc32/crtn.S: New file.
10375 * sysdeps/powerpc/powerpc64/crti.S: New file.
10376 * sysdeps/powerpc/powerpc64/crtn.S: New file.
10377
26ecc33a
AS
10378 * Makeconfig (have-initfini): Don't set.
10379 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
10380 * configure.in (nopic_initfini): Don't substitute.
10381 * config.h.in (HAVE_INITFINI): Don't #undef.
10382 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
10383 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
10384
3add8e13
JM
103852012-02-08 Joseph Myers <joseph@codesourcery.com>
10386
10387 Support crti.S and crtn.S provided directly by architectures.
10388 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
10389 [crti.S in sysdirs] (omit-deps): Likewise.
10390 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
10391 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
10392 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
10393 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
10394 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
10395 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
10396 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
10397 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
10398 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
10399 compiler output for sysdeps/generic/initfini.c.
10400 * sysdeps/i386/elf/Makefile: Remove file.
10401 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
10402
a22f12b4
MP
104032012-02-07 Marek Polacek <polacek@redhat.com>
10404
10405 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
10406 * sysdeps/gnu/_G_config.h: Likewise.
10407 * sysdeps/mach/hurd/_G_config.h: Likewise.
10408
148cf100
MP
104092012-02-07 Marek Polacek <polacek@redhat.com>
10410
10411 * math/Makefile (tests): Add tst-CMPLX2.
10412 * math/tst-CMPLX2.c: New file.
10413
cfdc0dd7
AS
104142012-02-07 Andreas Schwab <schwab@linux-m68k.org>
10415
84ba42c4
AS
10416 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10417
cfdc0dd7
AS
10418 * math/libm-test.inc (jn_test): Add missing L suffix.
10419
622c86f4
MP
104202012-02-06 Marek Polacek <polacek@redhat.com>
10421
10422 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
10423 * sysdeps/i386/fpu/e_powf.S: Likewise.
10424 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10425 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10426 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10427 * sysdeps/i386/fpu/e_pow.S: Likewise.
10428 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10429 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10430 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10431 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10432 * sysdeps/i386/fpu/e_log2.S: Likewise.
10433 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10434 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10435 * sysdeps/i386/fpu/e_powl.S: Likewise.
10436 * sysdeps/i386/fpu/s_log1p.S: Likewise.
10437 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10438 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10439 * sysdeps/i386/fpu/e_logl.S: Likewise.
10440 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10441 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
10442 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10443 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10444 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10445 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10446 * sysdeps/i386/fpu/e_log.S: Likewise.
10447 * sysdeps/i386/fpu/s_cexp.S: Likewise.
10448 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10449 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
10450 * sysdeps/i386/fpu/e_logf.S: Likewise.
10451 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10452 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10453 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
10454 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10455 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10456 * sysdeps/i386/fpu/e_log10.S: Likewise.
10457 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10458 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10459 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10460 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10461 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10462 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10463 * sysdeps/i386/asm-syntax.h: Likewise.
10464 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10465 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10466 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10467 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
10468 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
10469 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10470 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10471 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10472 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10473 * sysdeps/powerpc/sysdep.h: Likewise.
10474 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
10475 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10476
d4a54ac6
JM
104772012-02-06 Joseph Myers <joseph@codesourcery.com>
10478
10479 [BZ #411]
10480 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
10481
314054ea
JM
104822012-02-06 Joseph Myers <joseph@codesourcery.com>
10483
10484 * sysdeps/i386/sysdep.h: Include <features.h>.
10485 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
10486 version.
10487
d8e0ca50
JM
104882012-02-05 Joseph Myers <joseph@codesourcery.com>
10489
10490 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
10491 Define.
10492 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
10493 LOAD_PIC_REG_STR.
10494
b1da7dd9
JM
104952012-02-03 Joseph Myers <joseph@codesourcery.com>
10496
10497 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
10498 (SETUP_PIC_REG): Use GET_PC_THUNK.
10499 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
10500 macro.
10501
9a1d9254
JM
105022012-02-03 Joseph Myers <joseph@codesourcery.com>
10503
10504 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
10505 for non-PIC compilation.
10506 (SETUP_PIC_REG): Add .p2align directive.
10507 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
10508 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10509 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10510 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10511 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10512 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10513 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10514 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10515 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10516 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10517 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10518 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10519 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10520 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10521 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10522 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10523 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10524 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10525 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10526 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10527 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10528 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10529 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10530 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10531 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10532 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10533 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10534 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10535 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10536 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10537 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10538 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10539 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10540 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10541 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10542 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10543 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10544 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10545 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10546 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10547 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10548
65dc3b75
JM
105492012-02-03 Joseph Myers <joseph@codesourcery.com>
10550
10551 * math/tst-CMPLX.c: Include <stdio.h>.
10552
d55bf177
JM
105532012-01-31 Joseph Myers <joseph@codesourcery.com>
10554
10555 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
10556 float.
10557 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10558 * sysdeps/sparc/bits/mathdef.h: Likewise.
10559
69db4f8f
MP
105602012-01-31 Marek Polacek <polacek@redhat.com>
10561
10562 * libio/libio.h: Don't define _PARAMS.
10563 * locale/programs/config.h: Don't define PARAMS.
10564 * stdlib/strtol_l.c: Likewise.
10565 (__strtol_l): Remove PARAMS from the prototype.
10566
41b81892
UD
105672012-01-31 Ulrich Drepper <drepper@gmail.com>
10568
3b49edc0
UD
10569 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
10570 names. Just use the correct names. Remove unnecessary wrapper
10571 functions.
10572 * malloc/arena.c: Likewise.
10573 * malloc/hooks.c: Likewise.
10574
41b81892
UD
10575 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
10576 ARENA_TEST says not to. Simplify test for creation of a new arena.
10577 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
10578
27a25b6e
UD
105792012-01-30 Ulrich Drepper <drepper@gmail.com>
10580
10581 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
10582 into tail calls.
10583 (update_get_addr): New function.
10584 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
10585 GET_ADDR_MODULE parameter.
10586
c8a89e7d
JM
105872012-01-30 Joseph Myers <joseph@codesourcery.com>
10588
10589 * crypt/cert.c: Remove __STDC__ conditionals.
10590 * crypt/crypt-entry.c: Likewise.
10591 * crypt/crypt_util.c: Likewise.
10592 * libio/filedoalloc.c: Likewise.
10593 * libio/fileops.c: Likewise.
10594 * libio/genops.c: Likewise.
10595 * libio/iofclose.c: Likewise.
10596 * libio/iofdopen.c: Likewise.
10597 * libio/iofopen.c: Likewise.
10598 * libio/iofopen64.c: Likewise.
10599 * libio/iogetdelim.c: Likewise.
10600 * libio/iopopen.c: Likewise.
10601 * libio/obprintf.c: Likewise.
10602 * libio/oldfileops.c: Likewise.
10603 * libio/oldiofclose.c: Likewise.
10604 * libio/oldiofdopen.c: Likewise.
10605 * libio/oldiofopen.c: Likewise.
10606 * libio/oldiopopen.c: Likewise.
10607 * libio/wfiledoalloc.c: Likewise.
10608 * libio/wgenops.c: Likewise.
10609 * locale/programs/xmalloc.c: Likewise.
10610 * misc/syslog.c: Likewise.
10611 * stdio-common/xbug.c: Likewise.
10612 * string/memchr.c: Likewise.
10613 * string/memcmp.c: Likewise.
10614 * string/memrchr.c: Likewise.
10615 * string/rawmemchr.c: Likewise.
10616 * sysdeps/posix/getcwd.c: Likewise.
10617 * time/strftime_l.c: Likewise.
10618
3b100462
JM
106192012-01-30 Joseph Myers <joseph@codesourcery.com>
10620
10621 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
10622 * config.make.in (config-cflags-sse2avx): Define.
10623 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
10624 Fix typo.
10625
607998af
CM
106262012-01-29 Chris Metcalf <cmetcalf@tilera.com>
10627
10628 * scripts/config.guess: Update from upstream config git repository.
10629 * scripts/config.sub: Likewise.
10630
3601428f
CM
106312012-01-28 Chris Metcalf <cmetcalf@tilera.com>
10632
3ac8b282
CM
10633 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
10634 (EM_NUM): Update.
10635 (R_TILEPRO_*, R_TILEGX_*): New macros.
10636
e034841e
CM
10637 * scripts/firstversions.awk: Fix bug in version range handling.
10638
540d7568
CM
10639 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
10640
3601428f
CM
10641 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
10642
463de862
CM
10643 * include/sys/epoll.h: New file.
10644 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
10645 libc_hidden_def.
10646
73139a76
UD
106472012-01-28 Ulrich Drepper <drepper@gmail.com>
10648
96bc5b45
UD
10649 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
10650 Avoid unnecessary __WORDSIZE == 64 test.
10651 (fmaxf): Use VEX format if possible.
10652 (fmax): Likewise.
10653 (fminf): Likewise.
10654 (fmin): Likewise.
10655
56f6f6a2
UD
10656 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
10657 * math/math_private.h: Remove libc_fegetround* and
10658 libc_fesetround*.
10659 * sysdeps/i386/configure.in: Check for -msse2avx.
10660 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
10661 also if SSE2AVX is defined.
10662 Remove libc_fegetround* and libc_fesetround*.
10663 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
10664 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
10665 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
10666 of HAS_YMM_USABLE.
10667 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10668 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10669 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10670 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10671 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10672
73139a76
UD
10673 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
10674
d73f93a4
AZ
106752012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10676
10677 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
10678 size is not set.
10679 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10680
6ee65ed6
UD
106812012-01-27 Ulrich Drepper <drepper@gmail.com>
10682
10683 [BZ #13618]
10684 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
10685 relocation.
10686 * Makeconfig (libm): Define.
10687 * elf/Makefile: Add rules to build and run tst-relsort1.
10688 * elf/tst-relsort1.c: New file.
10689 * elf/tst-relsort1mod1.c: New file.
10690 * elf/tst-relsort1mod2.c: New file.
10691
8db21882
JM
106922012-01-27 Joseph Myers <joseph@codesourcery.com>
10693
10694 * math/s_ldexp.c: Remove __STDC__ conditionals.
10695 * math/s_ldexpf.c: Likewise.
10696 * math/s_ldexpl.c: Likewise.
10697 * math/s_nextafter.c: Likewise.
10698 * math/s_nexttowardf.c: Likewise.
10699 * math/s_significand.c: Likewise.
10700 * math/s_significandf.c: Likewise.
10701 * math/s_significandl.c: Likewise.
10702 * math/w_jnl.c: Likewise.
10703 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10704 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10705 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10706 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10707 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10708 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10709 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
10710 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10711 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10712 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10713 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10714 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10715 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10716 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10717 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10718 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10719 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10720 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10721 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10722 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10723 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10724 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10725 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10726 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10727 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10728 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10729 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10730 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10731 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10732 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10733 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10734 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10735 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10736 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10737 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10738 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10739 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10740 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10741 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10742 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10743 * sysdeps/ieee754/k_standard.c: Likewise.
10744 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10745 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10746 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10747 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10748 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10749 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10750 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10751 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10752 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10753 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10754 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10755 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10756 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10757 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10758 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10759 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10760 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10761 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10762 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10763 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10764 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10765 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10766 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10767 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10768 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10769 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10770 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10771 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10772 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10773 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10774 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10775 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10776 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10777 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10778 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10779 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10780 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10781 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10782 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10783 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10784 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10785 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10786 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10787 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10788 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10789 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10790 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10791 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10792 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10793 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10794 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10795 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10796 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10797 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10798 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10799 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10800 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10801 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10802 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10803 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10804 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10805 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10806 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10807 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10808 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10809 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10810 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10811 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10812 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10813 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10814 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10815 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10816 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10817 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10818 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10819 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10820 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10821 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10822 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10823 * sysdeps/ieee754/s_matherr.c: Likewise.
10824 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10825 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10826 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10827 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10828
965a54a4
JM
108292012-01-26 Joseph Myers <joseph@codesourcery.com>
10830
10831 * crypt/md5.h: Remove __STDC__ conditionals.
10832 * libio/libioP.h: Likewise.
10833 * locale/programs/config.h: Likewise.
10834 * sysdeps/generic/sysdep.h: Likewise.
10835 * sysdeps/i386/asm-syntax.h: Likewise.
10836 * sysdeps/s390/asm-syntax.h: Likewise.
10837 * sysdeps/unix/sysdep.h: Likewise.
10838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10840
7071ad79
JM
108412012-01-26 Joseph Myers <joseph@codesourcery.com>
10842
10843 * libio/libio.h: Remove __STDC__ conditionals.
10844 * malloc/obstack.h: Likewise.
10845 * math/complex.h: Likewise.
10846 * math/math.h: Likewise.
10847 * sysdeps/generic/_G_config.h: Likewise.
10848 * sysdeps/gnu/_G_config.h: Likewise.
10849 * sysdeps/mach/hurd/_G_config.h: Likewise.
10850 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10851 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10852 * sysdeps/sparc/bits/mathdef.h: Likewise.
10853
afc5ed09
UD
108542012-01-26 Ulrich Drepper <drepper@gmail.com>
10855
10856 [BZ #13583]
10857 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 10858 Clean up HAS_* macros.
afc5ed09 10859 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
10860 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
10861 possible.
10862 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
10863 HAS_AVX.
10864 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10865 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10866 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10867 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10868 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 10869
bdb6de1d
JM
108702012-01-25 Joseph Myers <joseph@codesourcery.com>
10871
10872 * elf/tst-unique3.cc (gets): Remove declaration.
10873 * elf/tst-unique3lib.cc (gets): Likewise.
10874 * elf/tst-unique3lib2.cc (gets): Likewise.
10875 * elf/tst-unique4.cc (gets): Likewise.
10876
b15549e6
UD
108772012-01-24 Ulrich Drepper <drepper@gmail.com>
10878
10879 * include/stdio.h: Add C++ protection. Add gets declarations and
10880 definitions.
10881 * debug/tst-chk1.c: Don't declare gets here.
10882 * stdio-common/tst-gets.c: Likewise.
10883
a037381f
JM
108842012-01-24 Joseph Myers <joseph@codesourcery.com>
10885
10886 * posix/glob: Remove directory.
10887
f1d4aa75
JM
108882012-01-24 Joseph Myers <joseph@codesourcery.com>
10889
10890 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
10891
81c0c964
PT
108922012-01-22 Pino Toscano <toscano.pino@tiscali.it>
10893
10894 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
10895 of the non-standard EPFNOSUPPORT.
10896
0ea698ae
ST
108972011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
10898
10899 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
10900 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
10901 ANYWHERE set to 1 only on KERN_NO_SPACE error.
10902
d220b117
UD
109032012-01-21 Ulrich Drepper <drepper@gmail.com>
10904
10905 * wcsmbs/uchar.h: Test __STDC_VERSION__.
10906
3e1aa84e
UD
109072012-01-20 Ulrich Drepper <drepper@gmail.com>
10908
10909 * nscd/aicache.c (addhstaiX): Do not cache negative results of
10910 transient errors.
10911 * nscd/grpcache.c (cache_addgr): Likewise.
10912 * nscd/hstcache.c (cache_addhst): Likewise.
10913 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10914 * nscd/pwdcache.c (cache_addpw): Likewise.
10915 * nscd/servicescache.c (cache_addserv): Likewise.
10916
400aa020
UD
109172012-01-16 Ulrich Drepper <drepper@gmail.com>
10918
d77e7869
UD
10919 * malloc/malloc.c: Various cleanups.
10920 * malloc/hooks.c: Likewise.
10921
400aa020
UD
10922 * stdlib/Makefile (tests): Add bug-fmtmsg1.
10923 * stdlib/bug-fmtmsg1.c: New file.
10924
10925 * stdlib/fmtmsg.c (init): Add missing unlock.
10926 Patch by Peng Haitao <penght@cn.fujitsu.com>.
10927
e0a309cf
MP
109282012-01-12 Marek Polacek <polacek@redhat.com>
10929
10930 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
10931 and _GNU_SOURCE.
10932
929d11c7
WS
109332012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10934
10935 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
10936 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
10937 macro to ensure uniqueness of label name.
10938 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10939 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10940
41d0e869
UD
109412012-01-11 Ulrich Drepper <drepper@gmail.com>
10942
0cc5ed3b
UD
10943 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
10944
41d0e869
UD
10945 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
10946 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10947 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10948 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
10949
a47a831a
UD
109502012-01-10 Ulrich Drepper <drepper@gmail.com>
10951
daa891c0
UD
10952 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
10953
10954 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
10955 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10956 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10957
e58ef0f2
UD
10958 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
10959
a47a831a 10960 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
10961 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10962 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 10963 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
10964
10965 * math/bits/math-finite.h: Add ldexp support.
10966
a0bfc9c7
MP
109672012-01-10 Marek Polacek <polacek@redhat.com>
10968
10969 * locale/programs/localedef.h (show_archive_content): Add noreturn
10970 attribute.
10971
d6e97a1d
UD
109722012-01-09 Ulrich Drepper <drepper@gmail.com>
10973
10974 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
10975
d5835c26
UD
109762012-01-08 Ulrich Drepper <drepper@gmail.com>
10977
e5f484c6
UD
10978 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
10979
d5835c26
UD
10980 * io/Makefile (headers): Add bits/poll2.h.
10981
d1f741e9
WS
109822011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
10983
10984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
10985 typo #include statement.
10986
ec09c1c4
UD
109872012-01-08 Ulrich Drepper <drepper@gmail.com>
10988
10989 * include/sys/cdefs.h: Define __attribute_alloc_size.
10990 * catgets/gencat.c: Add alloc_size attribute and apply consistently
10991 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
10992 * elf/pldd.c: Likewise.
10993 * iconv/iconv_charmap.c: Likewise.
10994 * iconv/iconvconfig.c: Likewise.
10995 * iconv/strtab.c: Likewise.
10996 * locale/programs/locale.c: Likewise.
10997 * locale/programs/localedef.h: Likewise.
10998 * locale/programs/simple-hash.c: Likewise.
10999 * nscd/nscd.h: Likewise.
11000 * nss/makedb.c: Likewise.
11001 * sysdeps/generic/ldconfig.h: Likewise.
11002 * locale/programs/localedef.c: Remove xmalloc prototype.
11003 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
11004
20b38e03
PP
110052012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11006
11007 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
11008 appropriate.
11009
a0da5fe1
UD
110102012-01-08 Ulrich Drepper <drepper@gmail.com>
11011
1d5a644a 11012 * math/Makefile (tests): Add tst-CMPLX.
669704fd 11013 * math/tst-CMPLX.c: New file.
1d5a644a 11014
8784a6db
UD
11015 * math/complex.h (CMPLXL): Fix typo.
11016
d9a216c0
UD
11017 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11018 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11019 GLIBC_2.16.
11020 * debug/tst-chk1.c: Add poll and ppoll tests.
11021 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11022 * include/sys/poll.h: Add hidden proto for ppoll.
11023 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11024 * sysdeps/mach/hurd/ppoll.c: Likewise.
11025 * io/ppoll.c: Likewise.
11026 * debug/poll_chk.c: New file.
11027 * debug/ppoll_chk.c: New file.
11028 * include/bits/poll2.h: New file.
11029 * io/bits/poll2.h: New file.
11030
ac097f5c
UD
11031 [BZ #1350]
11032 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11033
2119dcfa
UD
11034 * configure.in: static is always set to yes. Remove.
11035 * config.make.in: Don't set build-static.
11036 * Makeconfig: Remove use of build-static.
11037 * dlfcn/Makefile: Likewise.
11038 * elf/Makefile: Likewise.
11039 * math/Makefile: Likewise.
11040 * misc/Makefile: Likewise.
11041 * nptl/Makefile: Likewise.
11042 * sysdeps/mach/hurd/Makefile: Likewise.
11043
121766a9
UD
11044 * configure.in: PWD_P is not used anymore.
11045 * config.make.in: Remove PWD_P entry.
11046
51a1d39c 11047 * configure.in: Remove last remnants of RANLIB.
8720d066 11048 No need to check for signed size_t anymore.
215f4bdc
UD
11049 Don't set libc_commonpagesize and libc_relro_required here for Alpha
11050 and IA-64.
3857022a 11051 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
11052 * aclocal.m4: Likewise.
11053
d3ed7225
UD
11054 * wcsmbs/mbrtoc16.c: Implement using towc function.
11055 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11056 * wcsmbs/wcsmbsload.c: Likewise.
11057 * iconv/gconv_simple.c: Likewise.
11058 * iconv/gconv_int.h: Likewise.
11059 * iconv/gconv_builtin.h: Likewise.
11060 * iconv/iconv_prog.c: Remove CHAR16 handling.
11061
11062 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11063
11064 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11065
a0da5fe1
UD
11066 * configure.in: Remove --with-elf and --enable-bounded options.
11067 Dont set base_machine for ia64. More non-ELF conditions removed.
11068 Remove testing and setting of leading underscore information.
11069 * config.make.in (build-bounded): Set to no.
11070 * config.h.in: Remove NO_UNDERSCORES entry.
11071 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
11072 them.
11073 * csu/start.c: Remove !NO_UNDERSCORE code.
11074 * locale/localeinfo.h: Likewise.
11075 * sysdeps/generic/machine-gmon.h: Likewise.
11076 * sysdeps/generic/sysdep.h: Likewise.
11077 * sysdeps/i386/sysdep.h: Likewise.
11078 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11079 * sysdeps/mach/sysdep.h: Likewise.
11080 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11081 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11082 * sysdeps/sh/sysdep.h: Likewise.
11083 * sysdeps/sparc/sparc32/alloca.S: Likewise.
11084 * sysdeps/unix/i386/sysdep.S: Likewise.
11085 * sysdeps/unix/sparc/start.c: Likewise.
11086 * sysdeps/unix/sparc/sysdep.S: Likewise.
11087 * sysdeps/unix/sparc/sysdep.h: Likewise.
11088 * sysdeps/unix/start.c: Likewise.
11089 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11090 * sysdeps/x86_64/sysdep.h: Likewise.
11091
df78418a
UD
110922012-01-07 Ulrich Drepper <drepper@gmail.com>
11093
a784e502
UD
11094 [BZ #13553]
11095 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11096 for non-gcc.
11097 * argp/argp-fmtstream.h: Use const instead __const.
11098 * argp/argp.h: Likewise.
11099 * assert/assert.h: Likewise.
11100 * bits/fenv.h: Likewise.
11101 * bits/sched.h: Likewise.
11102 * bits/sigset.h: Likewise.
11103 * bits/sigthread.h: Likewise.
11104 * catgets/nl_types.h: Likewise.
11105 * conform/data/pthread.h-data: Likewise.
11106 * crypt/crypt-private.h: Likewise.
11107 * crypt/crypt.h: Likewise.
11108 * crypt/crypt_util.c: Likewise.
11109 * ctype/ctype.h: Likewise.
11110 * debug/execinfo.h: Likewise.
11111 * debug/mbsnrtowcs_chk.c: Likewise.
11112 * debug/mbsrtowcs_chk.c: Likewise.
11113 * debug/wcsnrtombs_chk.c: Likewise.
11114 * debug/wcsrtombs_chk.c: Likewise.
11115 * debug/wcstombs_chk.c: Likewise.
11116 * dirent/dirent.h: Likewise.
11117 * dlfcn/dlfcn.h: Likewise.
11118 * elf/neededtest4.c: Likewise.
11119 * grp/grp.h: Likewise.
11120 * gshadow/gshadow.h: Likewise.
11121 * iconv/gconv.h: Likewise.
11122 * iconv/gconv_int.h: Likewise.
11123 * iconv/gconv_simple.c: Likewise.
11124 * iconv/iconv.h: Likewise.
11125 * iconv/loop.c: Likewise.
11126 * iconv/skeleton.c: Likewise.
11127 * include/aio.h: Likewise.
11128 * include/aliases.h: Likewise.
11129 * include/argz.h: Likewise.
11130 * include/arpa/inet.h: Likewise.
11131 * include/assert.h: Likewise.
11132 * include/dirent.h: Likewise.
11133 * include/dlfcn.h: Likewise.
11134 * include/execinfo.h: Likewise.
11135 * include/fcntl.h: Likewise.
11136 * include/fenv.h: Likewise.
11137 * include/glob.h: Likewise.
11138 * include/grp.h: Likewise.
11139 * include/libintl.h: Likewise.
11140 * include/mntent.h: Likewise.
11141 * include/netdb.h: Likewise.
11142 * include/pwd.h: Likewise.
11143 * include/rpc/netdb.h: Likewise.
11144 * include/sched.h: Likewise.
11145 * include/search.h: Likewise.
11146 * include/shadow.h: Likewise.
11147 * include/signal.h: Likewise.
11148 * include/stdio.h: Likewise.
11149 * include/stdlib.h: Likewise.
11150 * include/string.h: Likewise.
11151 * include/sys/socket.h: Likewise.
11152 * include/sys/stat.h: Likewise.
11153 * include/sys/statfs.h: Likewise.
11154 * include/sys/statvfs.h: Likewise.
11155 * include/sys/syslog.h: Likewise.
11156 * include/sys/time.h: Likewise.
11157 * include/sys/uio.h: Likewise.
11158 * include/time.h: Likewise.
11159 * include/unistd.h: Likewise.
11160 * include/utmp.h: Likewise.
11161 * include/wchar.h: Likewise.
11162 * include/wctype.h: Likewise.
11163 * inet/aliases.h: Likewise.
11164 * inet/arpa/inet.h: Likewise.
11165 * inet/netinet/ether.h: Likewise.
11166 * inet/netinet/in.h: Likewise.
11167 * intl/libintl.h: Likewise.
11168 * io/bits/fcntl2.h: Likewise.
11169 * io/fcntl.h: Likewise.
11170 * io/ftw.h: Likewise.
11171 * io/sys/poll.h: Likewise.
11172 * io/sys/stat.h: Likewise.
11173 * io/sys/statfs.h: Likewise.
11174 * io/sys/statvfs.h: Likewise.
11175 * io/utime.h: Likewise.
11176 * libio/bits/stdio.h: Likewise.
11177 * libio/bits/stdio2.h: Likewise.
11178 * libio/libio.h: Likewise.
11179 * libio/libioP.h: Likewise.
11180 * libio/stdio.h: Likewise.
11181 * locale/lc-ctype.c: Likewise.
11182 * locale/locale.h: Likewise.
11183 * login/utmp.h: Likewise.
11184 * malloc/arena.c: Likewise.
11185 * malloc/malloc.c: Likewise.
11186 * malloc/malloc.h: Likewise.
11187 * malloc/mcheck.c: Likewise.
11188 * malloc/mtrace.c: Likewise.
11189 * math/bits/mathcalls.h: Likewise.
11190 * math/fenv.h: Likewise.
11191 * math/math_private.h: Likewise.
11192 * misc/bits/error.h: Likewise.
11193 * misc/bits/syslog.h: Likewise.
11194 * misc/err.h: Likewise.
11195 * misc/error.h: Likewise.
11196 * misc/fstab.h: Likewise.
11197 * misc/mntent.h: Likewise.
11198 * misc/regexp.h: Likewise.
11199 * misc/search.h: Likewise.
11200 * misc/sgtty.h: Likewise.
11201 * misc/sys/mman.h: Likewise.
11202 * misc/sys/syslog.h: Likewise.
11203 * misc/sys/uio.h: Likewise.
11204 * misc/sys/xattr.h: Likewise.
11205 * misc/ttyent.h: Likewise.
11206 * nis/rpcsvc/ypclnt.h: Likewise.
11207 * nss/nss.h: Likewise.
11208 * posix/bits/unistd.h: Likewise.
11209 * posix/fnmatch.h: Likewise.
11210 * posix/glob.h: Likewise.
11211 * posix/sched.h: Likewise.
11212 * posix/spawn.h: Likewise.
11213 * posix/sys/wait.h: Likewise.
11214 * posix/unistd.h: Likewise.
11215 * posix/wordexp.h: Likewise.
11216 * pwd/pwd.h: Likewise.
11217 * resolv/netdb.h: Likewise.
11218 * resource/sys/resource.h: Likewise.
11219 * rt/aio.h: Likewise.
11220 * rt/bits/mqueue2.h: Likewise.
11221 * rt/mqueue.h: Likewise.
11222 * shadow/shadow.h: Likewise.
11223 * signal/signal.h: Likewise.
11224 * socket/send.c: Likewise.
11225 * socket/sendto.c: Likewise.
11226 * socket/sys/socket.h: Likewise.
11227 * stdio-common/printf.h: Likewise.
11228 * stdlib/bits/stdlib.h: Likewise.
11229 * stdlib/fmtmsg.h: Likewise.
11230 * stdlib/monetary.h: Likewise.
11231 * stdlib/stdlib.h: Likewise.
11232 * stdlib/ucontext.h: Likewise.
11233 * streams/stropts.h: Likewise.
11234 * string/argz.h: Likewise.
11235 * string/bits/string2.h: Likewise.
11236 * string/string.h: Likewise.
11237 * string/strings.h: Likewise.
11238 * sunrpc/rpc/auth.h: Likewise.
11239 * sunrpc/rpc/auth_des.h: Likewise.
11240 * sunrpc/rpc/clnt.h: Likewise.
11241 * sunrpc/rpc/netdb.h: Likewise.
11242 * sunrpc/rpc/pmap_clnt.h: Likewise.
11243 * sunrpc/rpc/xdr.h: Likewise.
11244 * sysdeps/generic/inttypes.h: Likewise.
11245 * sysdeps/generic/net/if.h: Likewise.
11246 * sysdeps/generic/sys/swap.h: Likewise.
11247 * sysdeps/gnu/net/if.h: Likewise.
11248 * sysdeps/gnu/utmpx.h: Likewise.
11249 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11250 * sysdeps/i386/i486/bits/string.h: Likewise.
11251 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
11252 * sysdeps/s390/bits/string.h: Likewise.
11253 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
11254 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
11255 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
11256 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11257 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11258 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
11259 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11260 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
11261 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11262 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
11263 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
11264 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11265 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
11266 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11267 * sysdeps/unix/sysv/linux/readv.c: Likewise.
11268 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
11269 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11270 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11271 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11272 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11273 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11274 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
11275 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
11276 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
11277 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
11278 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
11279 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
11280 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11281 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
11282 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
11283 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
11284 * sysvipc/sys/ipc.h: Likewise.
11285 * sysvipc/sys/msg.h: Likewise.
11286 * sysvipc/sys/sem.h: Likewise.
11287 * sysvipc/sys/shm.h: Likewise.
11288 * termios/termios.h: Likewise.
11289 * time/sys/time.h: Likewise.
11290 * time/time.h: Likewise.
11291 * wcsmbs/bits/wchar2.h: Likewise.
11292 * wcsmbs/uchar.h: Likewise.
11293 * wcsmbs/wchar.h: Likewise.
11294 * wctype/wctype.h: Likewise.
11295
0269750c
UD
11296 [BZ #13551]
11297 * Makeconfig: Remove all but ELF support including AIX support.
11298 * Makerules: Likewise.
11299 * config.h.in: Likewise.
11300 * config.make.in: Likewise.
11301 * configure: Likewise.
11302 * configure.in: Likewise.
11303 * csu/Makefile: Likewise.
11304 * csu/version.c: Likewise.
11305 * debug/Makefile: Likewise.
11306 * dlfcn/Makefile: Likewise.
11307 * elf/Makefile: Likewise.
11308 * extra-lib.mk: Likewise.
11309 * iconv/Makefile: Likewise.
11310 * include/libc-symbols.h: Likewise.
11311 * include/shlib-compat.h: Likewise.
11312 * resolv/Makefile: Likewise.
11313 * resolv/res_libc.c: Likewise.
11314 * rt/Makefile: Likewise.
11315 * sysdeps/i386/asm-syntax.h: Likewise.
11316 * sysdeps/i386/sysdep.h: Likewise.
11317 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11318 * sysdeps/mach/sysdep.h: Likewise.
11319 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
11320 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
11321 * sysdeps/s390/asm-syntax.h: Likewise.
11322 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11323 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11324 * sysdeps/sh/sysdep.h: Likewise.
11325 * sysdeps/unix/sparc/sysdep.h: Likewise.
11326 * sysdeps/wordsize-32/divdi3.c: Likewise.
11327 * sysdeps/x86_64/sysdep.h: Likewise.
11328
00bbd29b
UD
11329 * argp/Versions: Remove _argp_unlock_xxx.
11330
11331 [BZ #13559]
11332 * abilist/ld.abilist: Update. Adjust for removal of tls option.
11333 * abilist/libBrokenLocale.abilist: Likewise.
11334 * abilist/libanl.abilist: Likewise.
11335 * abilist/libc.abilist: Likewise.
11336 * abilist/libcrypt.abilist: Likewise.
11337 * abilist/libdl.abilist: Likewise.
11338 * abilist/libm.abilist: Likewise.
11339 * abilist/libnsl.abilist: Likewise.
11340 * abilist/libpthread.abilist: Likewise.
11341 * abilist/libresolv.abilist: Likewise.
11342 * abilist/librt.abilist: Likewise.
11343 * abilist/libthread_db.abilist: Likewise.
11344 * abilist/libutil.abilist: Likewise.
11345 * abilist/libnss_db.abilist: New file.
11346
11347 * scripts/abilist.awk: Add support for indirect functions.
11348
a2693a0e
UD
11349 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
11350
3f05895f
UD
11351 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
11352
ecb6fb48
UD
11353 * shlib-versions: Remove entries for ports architectures.
11354
664f8cb9
UD
11355 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
11356 files in ports.
11357 * elf/stackguard-macros.h: Remove support for IA-64.
11358 * elf/tst-auditmod1.c: Likewise.
11359 * sysdeps/generic/ldsodefs.h: Likewise.
11360
7ae81d88
UD
11361 * sysdeps/unix/sysv/linux/configure.in: Ports should define
11362 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
11363 configure files.
11364
bdeba135
UD
11365 [BZ #13552]
11366 * configure.in: Remove --enable-omitfp support.
11367 * FAQ.in: Adjust.
11368 * config.make.in: Likewise.
11369 * Makeconfig: Likewise.
11370 * manual/install.texi: Likewise.
11371
d75a0a62
UD
11372 In case anyone cares, the IA-64 architecture could move to ports.
11373 * sysdeps/ia64/*: Removed.
11374 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 11375 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 11376
dcc9756b
UD
11377 [BZ #13555]
11378 * configure.in: Remove entries for unsupported architectures.
11379
d3761ebc 11380 [BZ #13533]
9954432e
UD
11381 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
11382 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
11383 routines.
11384 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
11385 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
11386 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
11387 fall back to using wcrtomb.
11388 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
11389 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
11390 renaming.
11391 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
11392 * wcsmbs/tst-c16c32-1.c: New file.
11393
11394 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
11395 local variable.
11396
c3a87236
UD
11397 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
11398
28926a1b
UD
11399 * elf/tst-unique3.cc: Add explicit declaration of gets.
11400 * elf/tst-unique3lib.cc: Likewise.
11401 * elf/tst-unique3lib2.cc: Likewise.
11402 * elf/tst-unique4.cc: Likewise.
11403
df78418a
UD
11404 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
11405
8ecd6b2a
JM
114062012-01-06 Joseph Myers <joseph@codesourcery.com>
11407
11408 [BZ #13566]
11409 * assert/assert.h (static_assert): Don't define for C++.
11410 * libio/stdio.h (gets): Do declare for C++ <= C++11.
11411 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
11412
9f115170
UD
114132012-01-03 Ulrich Drepper <drepper@gmail.com>
11414
5e0d0300
UD
11415 * iconv/loop.c (single loop): Fix assertion in storing of
11416 remaining bytes.
11417
9f115170
UD
11418 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
11419
81fb02b0
UD
114202012-01-01 Ulrich Drepper <drepper@gmail.com>
11421
11422 * posix/getconf.c: Update copyright year.
11423 * nss/getent.c: Likewise.
a316c1f6 11424 * nss/makedb.c: Likewise.
81fb02b0
UD
11425 * iconv/iconvconfig.c: Likewise.
11426 * iconv/iconv_prog.c: Likewise.
11427 * elf/ldconfig.c: Likewise.
a316c1f6
UD
11428 * elf/pldd.c: Likewise.
11429 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
11430 * catgets/gencat.c: Likewise.
11431 * csu/version.c: Likewise.
11432 * elf/ldd.bash.in: Likewise.
11433 * elf/sprof.c (print_version): Likewise.
11434 * locale/programs/locale.c: Likewise.
11435 * locale/programs/localedef.c: Likewise.
a316c1f6 11436 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
11437 * nscd/nscd.c (print_version): Likewise.
11438 * debug/xtrace.sh: Likewise.
11439 * malloc/memusage.sh: Likewise.
11440 * malloc/mtrace.pl: Likewise.
11441 * debug/catchsegv.sh: Likewise.
11442
2ba92745
JJ
114432011-12-30 Jakub Jelinek <jakub@redhat.com>
11444
11445 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
11446 pure attribute.
11447
dadebdae
UD
114482011-12-24 Ulrich Drepper <drepper@gmail.com>
11449
d3761ebc 11450 [BZ #13533]
db6af3eb
UD
11451 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
11452 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
11453 transformations.
11454 * iconv/gconv_int.h: Likewise.
11455 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
11456 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
11457 from libc for GLIBC_2.16.
11458 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
11459 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
11460 * wcsmbs/uchar.h: Really define mbstate_t.
11461 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
11462 * wcsmbs/c16rtomb.c: New file.
11463 * wcsmbs/mbrtoc16.c: New file.
11464 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
11465 for C/POSIX locale.
11466 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
11467 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
11468
dadebdae
UD
11469 * wcsmbs/wchar.h: Add missing __restrict.
11470
67371b56
UD
114712011-12-23 Ulrich Drepper <drepper@gmail.com>
11472
74033a25
UD
11473 [BZ #13532]
11474 * time/Makefile (routines): Add timespec_get.
11475 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
11476 * time/time.h: Define TIME_UTC and declare timespec_get. Define
11477 timespec for ISO C11.
11478 * time/timespec_get.c: New file.
11479 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
11480 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
11481
380d7e87
UD
11482 [BZ #13531]
11483 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
11484 * stdlib/stdlib.h: Declare aligned_alloc.
11485 * Versions.def: Add GLIBC_2.16 for libc.
11486 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
11487
4e9e7a35
UD
11488 [BZ 13527]
11489 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
11490 ISO C11.
11491
380d7e87 11492 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
11493 code.
11494
03a71829
UD
11495 [BZ #13528]
11496 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
11497
839e283e
UD
11498 [BZ #13529]
11499 * assert/assert.h (static_assert): Define.
11500
ce5294e2 11501 * version.h: Update for 2.16 development version.
90fa7312 11502
8d44e150 11503 [BZ #13526]
d7809905
UD
11504 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
11505 _ISOC11_SOURCE.
11506
c0da14cd
UD
11507 * version.h (RELEASE): Bump for 2.15 release.
11508 * include/features.h (__GLIBC_MINOR__): Bump to 15.
11509
530a3249
MP
11510 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
11511 Patch by Marek Polacek <mpolacek@redhat.com>.
11512
67371b56
UD
11513 * bits/byteswap.h: Protect long long constants with __extension__.
11514 * sysdeps/i386/bits/byteswap.h: Likewise.
11515 * sysdeps/ia64/bits/byteswap.h: Likewise.
11516 * sysdeps/s390/bits/byteswap.h: Likewise.
11517 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11518
15db4de1
LD
115192011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11520
11521 [BZ #13540]
bbe315ea
LD
11522 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
11523 destination buffer.
15db4de1
LD
11524 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11525
2b2596b1
MP
115262011-12-23 Marek Polacek <polacek@redhat.com>
11527
11528 * elf/dl-addr.c (determine_info): Add inline keyword.
11529 * elf/tst-auditmod4b.c (check_avx): Likewise.
11530 * elf/tst-auditmod6b.c (check_avx): Likewise.
11531 * elf/tst-auditmod6c.c (check_avx): Likewise.
11532 * elf/tst-auditmod7b.c (check_avx): Likewise.
11533
70c6c246
UD
115342011-12-23 Ulrich Drepper <drepper@gmail.com>
11535
11536 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
11537 !__SSE_MATH__.
11538
c044cf14
LD
115392011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11540
15db4de1 11541 [BZ #13540]
c044cf14
LD
11542 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
11543 processing for last bytes.
11544
6b13d9d9
BH
115452011-08-06 Bruno Haible <bruno@clisp.org>
11546
d455f537
BH
11547 [BZ #13061]
11548 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
11549 U+0385, not to U+1FEE.
11550
6b13d9d9
BH
11551 [BZ #13062]
11552 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
11553 entry for U+00A5 U+0301.
11554
db910efd
UD
115552011-12-22 Ulrich Drepper <drepper@gmail.com>
11556
27deeafc
UD
11557 [BZ #13166]
11558 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
11559 buffer for the output is too small.
11560
aed9d171
UD
11561 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
11562 optimization.
11563
db910efd
UD
11564 [BZ #13185]
11565 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
11566 SSE flags if possible.
11567
2bd779ae
LD
115682011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11569
e7f9dac3 11570 [BZ #13540]
2bd779ae
LD
11571 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
11572 processing for last bytes.
11573
154bfc16
JM
115742011-12-22 Joseph Myers <joseph@codesourcery.com>
11575
11576 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
11577 (syscall-list-default-options, syscall-list-default-condition)
11578 (syscall-list-includes): Define.
11579 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
11580 list of ABIs and options and #if conditions for each ABI. Do not
11581 handle common syscalls between ABIs specially.
11582 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
11583 Remove.
11584 (syscall-list-variants, syscall-list-32bit-options)
11585 (syscall-list-32bit-condition, syscall-list-64bit-options)
11586 (syscall-list-64bit-condition): Define.
11587 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
11588 (syscall-list-variants, syscall-list-32bit-options)
11589 (syscall-list-32bit-condition, syscall-list-64bit-options)
11590 (syscall-list-64bit-condition): Define.
11591 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
11592 Remove.
11593 (syscall-list-variants, syscall-list-32bit-options)
11594 (syscall-list-32bit-condition, syscall-list-64bit-options)
11595 (syscall-list-64bit-condition): Define.
11596 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
11597 Remove.
11598 (syscall-list-variants, syscall-list-32bit-options)
11599 (syscall-list-32bit-condition, syscall-list-64bit-options)
11600 (syscall-list-64bit-condition): Define.
11601
21eaf3a5
UD
116022011-12-22 Ulrich Drepper <drepper@gmail.com>
11603
16c6f992
UD
11604 * locale/iso-639.def: Add brx entry.
11605
41043168
UD
11606 [BZ #13328]
11607 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
11608 Proposed by Mariusz_Cukr <marcukr@op.pl>.
11609
21eaf3a5
UD
11610 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
11611 __feraiseexcept_renamed.
11612
e3a851a2
UD
116132011-12-21 Ulrich Drepper <drepper@gmail.com>
11614
4920765e
UD
11615 [BZ #13538]
11616 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
11617 EPOLLET with unsigned values.
11618 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11619 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11620
e3a851a2
UD
11621 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
11622 to large cancellation.
11623 * math/s_cacoshf.c: Likewise.
11624 * math/s_cacoshl.c: Likewise.
11625
b27e24b8
RK
116262011-11-18 Richard B. Kreckel <kreckel@ginac.de>
11627
11628 [BZ #13305]
aebefeee 11629 [BZ #12786]
b27e24b8
RK
11630 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
11631 * math/s_cacoshf.c: Likewise.
11632 * math/s_cacoshl.c: Likewise.
11633
ee190f67
UD
116342011-12-21 Ulrich Drepper <drepper@gmail.com>
11635
11636 [BZ #13439]
11637 * iconv/gconv.h: Define __GCONV_SWAP.
11638 * iconvdata/unicode.c: The swap bit must be stored in __flags.
11639 * iconvdata/utf-16.c: Likewise.
11640 * iconvdata/utf-32.c: Likewise.
11641
707f25df
AS
116422011-12-21 Andreas Schwab <schwab@linux-m68k.org>
11643
11644 [BZ #13524]
11645 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
11646 numerator after shifting it by one limb.
11647
d2daaa1e
RÁE
116482011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
11649
11650 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
11651 under [__USE_EXTERN_INLINES].
11652
a4647e72
UD
116532011-12-17 Ulrich Drepper <drepper@gmail.com>
11654
11655 [BZ #13446]
11656 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
11657
f0b264f1
AZ
116582011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11659
11660 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
11661 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
11662 optimized code.
11663 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
11664 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
11665 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
11666 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
11667 for strncasecmp/strncasecmp_l compilation.
11668 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
11669 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
11670
8ef4f244
MP
116712011-12-08 Marek Polacek <mpolacek@redhat.com>
11672
11673 [BZ #13484]
11674 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
11675 of __asm__.
11676
97ac2654
UD
116772011-12-17 Ulrich Drepper <drepper@gmail.com>
11678
11679 [BZ #13506]
11680 * time/tzfile.c (__tzfile_read): Check values from file header.
11681
91d2a845
WS
116822011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11683
11684 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
11685 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
11686 * powerpc/powerpc32/dl-start.S: Likewise.
11687 * powerpc/powerpc32/elf/start.S: Likewise.
11688 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11689 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
11690 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
11691 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
11692 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11693 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
11694 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
11695 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11696 * powerpc/powerpc32/fpu/s_round.S: Likewise.
11697 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11698 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11699 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11700 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11701 * powerpc/powerpc32/memset.S: Likewise.
11702 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11703 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11704 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11705 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11706 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11707 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11708 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11709 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11710 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
11711 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
11712 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
11713 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11714 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11715
a1267ba1
AZ
117162011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11717
11718 * math/libm-test.inc: Added more nearbyint tests.
11719 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
11720 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
11721 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
11722 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
11723
ad8ac1bd
RL
117242011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
11725
11726 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
11727 FD_CLOEXEC.
11728
1d3e4b61
UD
117292011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11730
11731 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
11732 Add wcscpy-ssse3 wcscpy-c.
11733 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
11734 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
11735 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
11736 * sysdeps/x86_64/wcschr.S: New file.
11737 * sysdeps/x86_64/wcsrchr.S: New file.
11738 * string/test-strcmp.c: Remove checking of wcscmp function for
11739 wrong alignments.
11740 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
11741 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
11742 wcsrchr-sse2 wcsrchr-c.
11743 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
11744 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
11745 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
11746 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
11747 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
11748 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
11749 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
11750 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
11751 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
11752 * wcsmbc/wcschr.c (WCSCHR): New macro.
11753
5b330a2d
UD
117542011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11755
11756 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
11757 * wcsmbs/test-wcsrchr.c: New file.
11758 * string/test-strrchr.c: Add wcsrchr support.
11759 (WIDE): New macro.
11760 * wcsmbs/test-wcscpy.c: New file.
11761 * string/test-strcpy.c: Add wcscpy support.
11762 (WIDE): New macro.
26428b7c 11763
f039c043
UD
117642011-12-10 Ulrich Drepper <drepper@gmail.com>
11765
11766 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
11767 the inner loop.
11768
850fb039
AS
117692011-12-06 Andreas Schwab <schwab@linux-m68k.org>
11770
11771 [BZ #13472]
11772 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
11773
4efbd5cb
UD
117742011-12-04 Ulrich Drepper <drepper@gmail.com>
11775
52ff5dd0 11776 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 11777 Minor optimizations.
52ff5dd0 11778
4efbd5cb
UD
11779 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
11780 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
11781 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11782
8a426e12
UD
117832011-12-03 Ulrich Drepper <drepper@gmail.com>
11784
aff2453d
UD
11785 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
11786 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
11787 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
11788 for gcc to avoid warnings.
11789 * inet/Makefile (tests): Add tst-checks.
11790 * inet/tst-checks.c: New file.
11791
11792 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
11793 warning.
11794
11795 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
11796 __wmemcmp_sse2.
11797
11798 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
11799 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
11800
8a426e12
UD
11801 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
11802
9bea3473
UD
118032011-12-02 Ulrich Drepper <drepper@gmail.com>
11804
3a965496
UD
11805 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
11806 problem.
11807
9bea3473
UD
11808 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
11809
f101631b
UD
118102011-11-29 Joseph Myers <joseph@codesourcery.com>
11811
11812 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
11813 conditional on GCC version.
11814 (__arch_compare_and_exchange_val_8_acq)
11815 (__arch_compare_and_exchange_val_16_acq)
11816 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
11817 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
11818 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
11819
a98275aa
UD
118202011-12-02 Joseph Myers <joseph@codesourcery.com>
11821
11822 * sysdeps/sh/backtrace.c: New file.
11823
d4cc29a2
AS
118242011-12-02 Andreas Schwab <schwab@redhat.com>
11825
11826 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
11827 parenthesis.
11828
6257af2d
AS
118292011-12-01 Andreas Schwab <schwab@redhat.com>
11830
11831 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
11832 falling back to utime.
11833
b5f44c1a
AS
118342011-11-30 Andreas Schwab <schwab@redhat.com>
11835
11836 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
11837 expectations for float.
11838
f3a6cc0a
AS
118392011-11-29 Andreas Schwab <schwab@redhat.com>
11840
11841 * locale/weight.h (findidx): Add parameter len.
11842 * locale/weightwc.h (findidx): Likewise.
11843 * posix/fnmatch_loop.c (FCT): Adjust caller.
11844 * posix/regcomp.c (build_equiv_class): Likewise.
11845 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
11846 * posix/regexec.c (check_node_accept_bytes): Likewise.
11847 * string/strcoll_l.c (STRCOLL): Likewise.
11848 * string/strxfrm_l.c (STRXFRM): Likewise.
11849
9d65ea3a
UD
118502011-11-17 Ulrich Drepper <drepper@gmail.com>
11851
11852 * Makefile.in: Remove CVSOPT handling.
11853 * configure.in: Remove use of AC_REVISION.
11854 * iconvdata/Makefile (distribute): No need to filter out CVS.
11855 * scripts/list-sources.sh: Remove CVS, subversion and monotone
11856 handling.
11857
5583a086
AS
118582011-11-16 Andreas Schwab <schwab@redhat.com>
11859
11860 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
11861 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
11862 [USE_AS_STRNCASECMP_L]: Likewise.
11863 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
11864 NO_TLS_DIRECT_SEG_REFS.
11865 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
11866 Fix argument offsets for non-PIC.
11867 [USE_AS_STRNCASECMP_L]: Likewise.
11868 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
11869 NO_TLS_DIRECT_SEG_REFS.
11870
d62a8200
UD
118712011-11-15 Ulrich Drepper <drepper@gmail.com>
11872
9d65ea3a 11873 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
11874 O_CLOEXEC.
11875 * locale/loadlocale.c (_nl_load_locale): Likewise.
11876
09f93bd3
AS
118772011-11-15 Andreas Schwab <schwab@redhat.com>
11878
446514f9
AS
11879 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
11880 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
11881 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
11882 (SYSCALL_GETTIME): Set errno on error.
11883
09f93bd3
AS
11884 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
11885 count references to noai6ai_cached.
11886
312be3f9
UD
118872011-11-15 Ulrich Drepper <drepper@gmail.com>
11888
11889 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
11890
11891 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
11892 FD_CLOEXEC for /proc/self/maps.
11893
11894 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
11895 FD_CLOEXEC for /proc/meminfo.
11896
11897 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
11898 gai.conf.
11899
11900 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
11901 FD_CLOEXEC for given file.
11902
11903 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
11904
11905 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
11906 FD_CLOEXEC for /etc/hosts.
11907 (_gethtent): Likewise.
11908
11909 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
11910
11911 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
11912 cancellation and set FD_CLOEXEC for /etc/netgroup.
11913
11914 * nss/nss_files/files-key.c (search): Don't allow cancellation when
11915 reading /etc/publickey.
11916
11917 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
11918 allow cancellation when reading /etc/group.
11919
11920 * nss/nss_files/files-alias.c (internal_setent): Don't allow
11921 cancellation.
11922 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
11923
11924 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
11925 when using data file.
11926
11927 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
11928
11929 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
11930 (write_nis_obj): Use "c" and "e" in fopen.
11931
11932 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
11933
11934 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
11935
11936 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
11937
11938 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
11939
11940 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
11941 locale.alias.
11942
11943 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
11944
11945 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
11946
11947 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
11948
11949 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
11950 file parsing and set FD_CLOEXEC.
11951
82af0fa8
UD
119522011-11-14 Ulrich Drepper <drepper@gmail.com>
11953
11954 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
11955
a5fb313c
AS
119562011-11-14 Andreas Schwab <schwab@redhat.com>
11957
11958 * malloc/arena.c (arena_get2): Don't call reused_arena when
11959 _int_new_arena failed.
11960
6abf3465
UD
119612011-11-14 Ulrich Drepper <drepper@gmail.com>
11962
11963 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
11964 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
11965 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
11966 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11967 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11968 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
11969 to compile strcasecmp and strncasecmp.
11970 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
11971 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
11972
11973 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
11974
76e3966e
UD
119752011-11-13 Ulrich Drepper <drepper@gmail.com>
11976
11977 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
11978 locale-defines.sym to gen-as-const-headers.
11979 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
11980 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
11981 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
11982 to compile strcasecmp and strncasecmp.
11983 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
11984 strcasecmp_l and strncasecmp_l.
11985 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
11986 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
11987 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
11988 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
11989 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
11990 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
11991 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
11992 * sysdeps/i386/i686/multiarch/strncase.S: New file.
11993 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
11994 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
11995 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
11996
ab26144e
UD
119972011-11-12 Ulrich Drepper <drepper@gmail.com>
11998
7edb22ef
UD
11999 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
12000 result of SYSDEP_GETTIME_CPU to retval.
12001 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
12002 parameter list to macro. Remove trailing semicolon. Adjust users.
12003
9694fc44
UD
12004 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
12005 variable.
12006
8ad89ef8
UD
12007 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
12008 mantissa words.
12009 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12010
0c822ef9
UD
12011 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
12012 from unused variable.
12013
874e0564
UD
12014 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12015 DWARF definitions.
12016 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12017 for assembling.
12018
3a2edc79
UD
12019 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12020 over namespaces.
12021
f3c2577f
UD
12022 * sunrpc/rpc_prot.c (rejected): Fix case value.
12023
294ce126
UD
12024 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12025 unsigned long long int to avoid warnings in shift.
12026
5e2b63c6
UD
12027 * posix/regex_internal.c (re_string_reconstruct): Actually use result
12028 of use of trans.
12029 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12030 variable tmp.
12031
e7f4b08e
UD
12032 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12033 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12034 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12035
ab26144e
UD
12036 * nis/nis_table.c (nis_list): Use variable of correct type for
12037 result of __follow_path call.
12038
8a6d5255
AZ
120392011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12040
12041 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12042 of math functions ceil, trunc, floor, round, and sqrt, when
12043 avaliable on the platform.
12044 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12045 name clash.
12046 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12047 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12048 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12049
aaddc98c
MP
120502011-10-30 Marek Polacek <mpolacek@redhat.com>
12051
12052 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12053 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12054
95b7042b
RM
120552011-11-11 Roland McGrath <roland@hack.frob.com>
12056
12057 * include/unistd.h: Fix __readlink return type.
12058 Reported by Chris Metcalf <cmetcalf@tilera.com>.
12059
57769839
UD
120602011-11-11 Ulrich Drepper <drepper@gmail.com>
12061
12062 * stdlib/ucontext.h: Undo last change for makecontext.
12063
edc5984d
AS
120642011-11-11 Andreas Schwab <schwab@redhat.com>
12065
98591e58
AS
12066 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12067
edc5984d
AS
12068 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12069 * setjmp/setjmp.h: Mark functions as non-leaf.
12070 * setjmp/bits/setjmp2.h: Likewise.
12071 * stdlib/ucontext.h: Likewise.
12072
77cdc054
AS
120732011-11-10 Andreas Schwab <schwab@redhat.com>
12074
12075 * malloc/arena.c (_int_new_arena): Don't increment narenas.
12076 (reused_arena): Don't check arena limit.
12077 (arena_get2): Atomically check arena limit.
12078
fe72eebd
UD
120792011-11-08 Ulrich Drepper <drepper@gmail.com>
12080
5f078c32
UD
12081 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12082 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12083
fe72eebd
UD
12084 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12085 instructions.
12086
ae1bc2fa
AS
120872011-11-07 Andreas Schwab <schwab@redhat.com>
12088
7583a88d
AS
12089 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12090 handler when locking.
12091
ae1bc2fa
AS
12092 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12093 Fix size of allocated buffer.
12094
10fb0bfa
AS
120952011-11-04 Andreas Schwab <schwab@redhat.com>
12096
998832a4
AS
12097 [BZ #10103]
12098 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12099 declarations for long double functions.
12100 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12101
10fb0bfa
AS
12102 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12103
3d7ba52b
AS
121042011-11-03 Andreas Schwab <schwab@redhat.com>
12105
a9ae54a1
AS
12106 * nscd/nscd.c (main): Don't start AVC thread until credentials are
12107 installed.
12108
3d7ba52b
AS
12109 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
12110 is disabled.
12111
bc8db248
ST
121122011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12113
12114 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
12115
45b96dd6
AS
121162011-11-01 Andreas Schwab <schwab@linux-m68k.org>
12117
647776f6
AS
12118 * include/alloca.h (stackinfo_alloca_round): Define.
12119 (extend_alloca): Use it.
12120 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
12121 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
12122 here.
12123
d91a8b93
AS
12124 * scripts/check-local-headers.sh: Ignore libaudit.h.
12125
45b96dd6
AS
12126 * nscd/Makefile (extra-objs): Make recursively expanded.
12127
432d41ce
UD
121282011-11-01 Ulrich Drepper <drepper@gmail.com>
12129
34372fc6
UD
12130 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
12131 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12132
fadb59f8
UD
12133 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
12134 * posix/tst-rfc3484-2.c: Likewise.
12135 * posix/tst-rfc3484-3.c: Likewise.
12136
78239589
UD
12137 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12138 process_vm_writev.
12139 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
12140 process_vm_writev.
12141 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
12142 process_vm_writev from libc using GLIBC_2.15 version.
12143
432d41ce
UD
12144 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
12145
02f9c6cf
PP
121462011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12147
12148 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
12149 stack usage.
12150
3a2c0242
UD
121512011-10-31 Ulrich Drepper <drepper@gmail.com>
12152
f4ec4833
UD
12153 [BZ #13367]
12154 * nss/getent.c (initgroups_keys): Show error message in case no group
12155 names are given.
12156
3a2c0242
UD
12157 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
12158 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
12159 __bump_nl_timestamp.
12160 * nscd/connections (nscd_init): When host database is served open
12161 netlink socket and request notification about configuration changes.
12162 (main_loop_poll): Track netlink file descriptor and bump timestamp
12163 in case data becomes available.
12164 (main_loop_epoll): Likewise.
12165 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
12166 (database_pers_head): Add extra_data fileds.
12167 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
12168 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
12169 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
12170 Adjust caller.
12171 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
12172 in6ai data, call __free_in6ai.
12173 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
12174 Add -DHAVE_NETLINK.
12175 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
12176 interface information. Reuse previous data if netlink timestamp
12177 is not changed.
12178 (__bump_nl_timestamp): New function.
12179 (__free_in6ai): New function.
12180
636064eb
UD
121812011-10-30 Ulrich Drepper <drepper@gmail.com>
12182
12183 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
12184 close_not_cancel_no_status here.
12185 (__check_pf): Reorganize code a bit to not call close twice if OOM.
12186
9beb2334
UD
121872011-10-29 Ulrich Drepper <drepper@gmail.com>
12188
6ef76f3b
UD
12189 [BZ #13276]
12190 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
12191 return value.
12192
0ffc4f3e 12193 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
12194 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
12195 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
12196
cb95113e
UD
121972011-07-03 Andreas Jaeger <aj@suse.de>
12198
12199 [BZ #10709]
12200 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
12201 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
12202 * math/libm-test.inc (sin_test): Add test case.
12203
a1b560ff
UD
122042011-10-29 Ulrich Drepper <drepper@gmail.com>
12205
c9aaface
UD
12206 [BZ #13337]
12207 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
12208 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12209
d272e7f1
UD
12210 * elf/chroot_canon.c (chroot_canon): Cleanups.
12211
1bc33071
UD
12212 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
12213
1760874d
TJ
12214 [BZ #13335]
12215 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
12216 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12217
51d91b18
UD
12218 * string/test-strchr.c: Make usable for strchrnul testing.
12219 * string/test-strchrnul.c: New file.
12220 * string/Makefile (strop-tests): Add strchrnul.
12221
a1b560ff 12222 * po/it.po: Update from translation team.
b611fb81 12223 * po/es.po: Likewise.
a1b560ff 12224
a5b81e1f
UD
122252011-10-28 Ulrich Drepper <drepper@gmail.com>
12226
fd52bc6d
UD
12227 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
12228 the three constants needed as parameters. Drop the others.
12229 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
12230 __m128i_strloadu_tolower.
52e4b9eb
UD
12231 Create and initialize variable zero and use it in all the places
12232 where _mm_setzero_si128 was used.
fd52bc6d 12233
a5b81e1f
UD
12234 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
12235 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
12236 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
12237 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
12238 anymore.
12239 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
12240 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
12241 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
12242 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
12243 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
12244 __mpranred, __mptan.
12245 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
12246 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
12247 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
12248 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
12249 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
12250 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
12251 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
12252 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
12253 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
12254
b4343346
AS
122552011-10-28 Andreas Schwab <schwab@redhat.com>
12256
0c92d8a8
AS
12257 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
12258 redefine if SHARED.
12259 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
12260
b4343346
AS
12261 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
12262 wide char related routines to wcsmbs subdir.
12263
3871f58f
AS
122642011-10-27 Andreas Schwab <schwab@redhat.com>
12265
12266 [BZ #13344]
12267 * misc/sys/cdefs.h (__THROWNL): Define.
12268 * posix/unistd.h: Use __THREADNL instead of __THREAD
12269 for memory synchronization functions.
12270
94d44d9f
RM
122712011-10-26 Roland McGrath <roland@hack.frob.com>
12272
21b64b15 12273 [BZ #13349]
94d44d9f
RM
12274 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
12275 doesn't exist.
12276 * manual/stdio.texi (Obstack Streams): Node removed.
12277
f6ce9294
AS
122782011-10-26 Andreas Schwab <schwab@redhat.com>
12279
80479147
AS
12280 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
12281 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12282 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12283
f6ce9294
AS
12284 * math/math_private.h (math_force_eval): Allow non-addressable
12285 arguments.
12286 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
12287
618280a1
UD
122882011-10-25 Ulrich Drepper <drepper@gmail.com>
12289
e0016b11
UD
12290 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
12291 file is not needed.
12292
12293 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
12294 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12295 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12296 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12297 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12298 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12299 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12300 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
12301 Add AVX variants.
12302 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
12303 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
12304 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
12305 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
12306 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
12307 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
12308 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
12309 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
12310 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
12311 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
12312 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
12313 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
12314 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
12315 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
12316 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
12317 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
12318 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
12319 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
12320 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
12321
12322 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
12323 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
12324
618280a1
UD
12325 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
12326 place. Use VEX encoding when compiling for AVX.
12327
37822576
AS
123282011-10-25 Andreas Schwab <schwab@redhat.com>
12329
1f1e1947
AS
12330 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
12331 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12332
37822576
AS
12333 * string/test-strchr.c (do_test): Don't generate NUL bytes.
12334
31ea014d
UD
123352011-10-25 Ulrich Drepper <drepper@gmail.com>
12336
d7826aa1 12337 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 12338 useless if() expression.
d7826aa1
UD
12339 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12340 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12341 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12342 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12343 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12344 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12345 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12346 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12347 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12348 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12349 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12350 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12351 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12352 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12353 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12354 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12355 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12356 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12357 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12358
31ea014d
UD
12359 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
12360
16437fec
AS
123612011-10-25 Andreas Schwab <schwab@redhat.com>
12362
12363 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
12364 condition.
12365 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12366
31d3cc00
UD
123672011-10-25 Ulrich Drepper <drepper@gmail.com>
12368
12369 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
12370 .text section. Avoid duplicate constants.
12371 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12372 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12373 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12374 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12375 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12376 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12377 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12378 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12379 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12380 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
12381 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12382 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12383 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12384 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12385 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12386 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12387 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12388 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12389 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12390 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12391 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12392 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12393 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12394 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
12395 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
12396 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
12397 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
12398 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
12399 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
12400 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
12401 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
12402 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
12403 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12404 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
12405 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
12406 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
12407 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
12408 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
12409 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
12410 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
12411 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
12412 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
12413 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
12414 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
12415 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
12416
58985aa9
UD
124172011-10-24 Ulrich Drepper <drepper@gmail.com>
12418
202c9deb
UD
12419 * sysdeps/x86_64/dla.h: Move to ...
12420 * sysdeps/x86_64/fpu/dla.h: ...here.
12421 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
12422 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 12423
af968f62
UD
12424 * config.make.in: Add have-mfma4 entry.
12425 * configure.in: Substitute libc_cv_cc_fma4.
12426 * math/Makefile (dbl-only-routines): Add sincostab.
12427 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
12428 Use __sincostab not sincos.
12429 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
12430 name is a macro.
12431 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12432 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12433 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12434 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
12435 using __copysign.
12436 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
12437 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
12438 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
12439 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
12440 and __inv.
12441 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
12442 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
12443 __copysign.
12444 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
12445 define aliases when function name is a macro.
12446 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
12447 sysdeps/ieee754/dbl-64/sincos.tbl.
12448 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
12449 fma4-enabled routines.
12450 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
12451 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
12452 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
12453 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
12454 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
12455 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
12456 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
12457 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
12458 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
12459 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
12460 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
12461 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
12462 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
12463 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
12464 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
12465 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
12466 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
12467 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
12468 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
12469 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
12470 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
12471 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
12472 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
12473 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
12474 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
12475 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
12476 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
12477 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
12478 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
12479 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
12480
58985aa9
UD
12481 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
12482 rename.
12483 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12484 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12485 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12486 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12487 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12488 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12489 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12490 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12491
a201fbcf
AS
124922011-10-24 Andreas Schwab <schwab@redhat.com>
12493
12494 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
12495
fc2ee42a
LD
124962011-10-23 Ulrich Drepper <drepper@gmail.com>
12497
bb3129bd
UD
12498 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
12499
0275fff8
UD
12500 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
12501 prediction.
12502 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
12503
2fa2ae85
UD
12504 * string/strnlen.c: Don't define STRNLEN, reverse logic.
12505 Remove unused variable magic_bits.
12506 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
12507
fc2ee42a
LD
12508 * string/strnlen.c: Define and use STRNLEN macro.
12509 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
12510 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
12511 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
12512 * wcsmbs/wcslen.c: Define and use WCSLEN.
12513 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
12514 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
12515 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
12516 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
12517 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
12518 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
12519 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12520
ce7dd29f
LD
125212011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12522
12523 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12524 strnlen-sse2-no-bsf.
12525 Rename strlen-no-bsf to strlen-sse2-no-bsf.
12526 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
12527 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
12528 Add strnlen support.
12529 (USE_AS_STRNLEN): New macro.
12530 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
12531 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
12532 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
12533 * sysdeps/x86_64/wcslen.S: New file.
12534
979c70a3
MZ
125352011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
12536
12537 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12538 XMM-moves are used for copying on small sizes.
12539
2d09f82f
LD
125402011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12541
12542 * wcsmbs/Makefile (strop-tests): Add wcschr.
12543 * wcsmbs/test-wcschr.c: New file.
12544 * string/test-strchr.c: Update.
12545 Add wcschr support.
12546 (WIDE): New macro.
12547
619fccca
LD
125482011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12549
2d09f82f 12550 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
12551 * wcsmbs/test-wcslen.c: New file.
12552 * string/test-strlen.c: Update.
12553 Add wcslen support.
12554 (WIDE): New macro.
12555
09f699ea
UD
125562011-10-23 Ulrich Drepper <drepper@gmail.com>
12557
12558 * po/it.po: Update from translation team.
12559
95584d3b
LD
125602011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12561
12562 * sysdeps/x86_64/wcscmp.S: Update.
12563 Fix wrong comparison semantics.
12564 wcscmp shall use signed comparison not unsigned.
12565 Don't use substraction to avoid overflow bug.
12566 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12567 * wcsmbc/wcscmp.c: Likewise.
12568 * string/test-strcmp.c: Likewise.
12569 Add new tests to check cases with negative values.
12570
c8b3296b
UD
125712011-10-23 Ulrich Drepper <drepper@gmail.com>
12572
12573 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
12574 * sysdeps/x86_64/dla.h: ...here. New file.
12575 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
12576 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12577 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12578 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12579 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12580 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12581 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12582 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12583 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12584
246ad57a
AS
125852011-10-23 Andreas Schwab <schwab@linux-m68k.org>
12586
12587 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
12588 __ynl_finite aliases.
12589
a1a87169
UD
125902011-10-22 Ulrich Drepper <drepper@gmail.com>
12591
0d355eb7
UD
12592 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12593
a1a87169
UD
12594 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
12595 define DLA_FMA.
12596 [DLA_FMA] (EMULV): Use DLA_FMA.
12597 [DLA_FMA] (MUL12): Use EMULV.
12598 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
12599 that are not needed.
12600 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12601 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12602 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12603 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12604 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12605 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12606 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12607
ee2aafe0
AS
126082011-10-22 Andreas Schwab <schwab@linux-m68k.org>
12609
12610 * math/s_nan.c: Undef __nan.
12611 * math/s_nanf.c: Undef __nanf.
12612 * math/s_nanl.c: Undef __nanl.
12613 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
12614 "math_private.h".
12615
bc62c2fb
UD
126162011-10-22 Ulrich Drepper <drepper@gmail.com>
12617
77425c63
UD
12618 * math/s_catan.c: Add branch predictions.
12619 * math/s_catanf.c: Likewise.
12620 * math/s_catanh.c: Likewise.
12621 * math/s_catanhf.c: Likewise.
12622 * math/s_catanhl.c: Likewise.
12623 * math/s_catanl.c: Likewise.
12624 * math/s_cexp.c: Likewise.
12625 * math/s_cexpf.c: Likewise.
12626 * math/s_cexpl.c: Likewise.
12627 * math/s_clog.c: Likewise.
12628 * math/s_clog10.c: Likewise.
12629 * math/s_clog10f.c: Likewise.
12630 * math/s_clog10l.c: Likewise.
12631 * math/s_clogf.c: Likewise.
12632 * math/s_clogl.c: Likewise.
12633 * math/s_csqrt.c: Likewise.
12634 * math/s_csqrtf.c: Likewise.
12635 * math/s_csqrtl.c: Likewise.
12636 * math/s_ctanf.c: Likewise.
12637 * math/s_ctanh.c: Likewise.
12638 * math/s_ctanhf.c: Likewise.
12639 * math/s_ctanhl.c: Likewise.
12640 * math/s_ctanl.c: Likewise.
12641
bc62c2fb
UD
12642 * math/math_private.h: Define __nan, __nanf, __nanl.
12643 * math/s_cacosh.c: Include <math_private.h>.
12644 * math/s_cacoshl.c: Likewise.
12645 * math/s_casinh.c: Likewise.
12646 * math/s_casinhf.c: Likewise.
12647 * math/s_casinhl.c: Likewise.
12648 * math/s_ccos.c: Rely entire on ccosh.
12649 * math/s_ccosf.c: Rely entire on ccoshf.
12650 * math/s_ccosl.c: Rely entirely on ccoshl.
12651 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
12652 Remove tests for FE_INVALID.
12653 * math/s_ccoshf.c: Likewise.
12654 * math/s_ccoshl.c: Likewise.
12655 * math/s_csin.c: Likewise.
12656 * math/s_csinf.c: Likewise.
12657 * math/s_csinh.c Likewise.
12658 * math/s_csinhf.c: Likewise.
12659 * math/s_csinhl.c: Likewise.
12660 * math/s_csinl.c: Likewise.
12661 * math/s_ctan.c: Likewise.
12662 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
12663 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
12664 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
12665
8ec250a4
UD
126662011-10-21 Ulrich Drepper <drepper@gmail.com>
12667
c196fed8
UD
12668 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
12669 compilation problems.
12670
8ec250a4
UD
12671 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
12672 __builtin_expect.
12673
8d4f46c6
UD
126742011-10-20 Ulrich Drepper <drepper@gmail.com>
12675
ed72b654
UD
12676 * sysdeps/i386/configure.in: Test for -mfma4 option.
12677 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
12678 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
12679 COMMON_CPUID_INDEX_80000001.
12680 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
12681 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
12682 use it if FMA3 is not supported.
12683 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12684
8d4f46c6
UD
12685 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
12686 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12687
d45c60c2
AS
126882011-10-20 Andreas Schwab <schwab@redhat.com>
12689
12690 [BZ #12892]
12691 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
12692 it would create a cycle with a link time dependency.
12693
d9a4d2ab
UD
126942011-10-19 Ulrich Drepper <drepper@gmail.com>
12695
855d1560
UD
12696 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
12697 instruction.
12698 * string/Makefile (strop-tests): Add rawmemchr.
12699 * string/test-rawmemchr.c: New file.
12700
d9a4d2ab
UD
12701 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
12702 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
12703 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
12704 when compiling str{,n}casecmp and when AVX is available. Hook up
12705 new optimized code in initializers.
12706
8f3b1ffe
AS
127072011-10-19 Andreas Schwab <schwab@redhat.com>
12708
12709 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
12710 __feraiseexcept instead of feraiseexcept.
12711
d38f1dba
UD
127122011-10-18 Ulrich Drepper <drepper@gmail.com>
12713
d9a8d0ab
UD
12714 * math/math_private.h: Define defaults for libc_fetestexcept and
12715 libc_feupdateenv.
12716 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
12717 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12718 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12719 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12720 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12721 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12722 libc_fetestexcept and libc_feupdateenv.
12723
4855e3dd
UD
12724 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
12725 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
12726 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
12727 * sysdeps/x86_64/fpu/math_private.h: Define special version of
12728 libc_feholdexcept_setround.
12729
581d30e3
UD
12730 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
12731 Add s_nearbyint-c and s_nearbyintf-c.
12732 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
12733 nearbyintf inlines.
12734 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
12735 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
12736 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
12737 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
12738
d38f1dba
UD
12739 * math/math_private.h: Define defaults for libc_fegetround,
12740 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
12741 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
12742 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
12743 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
12744 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
12745 standard functions.
12746 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12747 Remove comments and hacks for old compiler versions.
12748 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12749 libc_fegetround, libc_fesetround, libc_feholdexcept, and
12750 libc_feholdexceptl.
12751
caa6c9d8
AS
127522011-10-18 Andreas Schwab <schwab@redhat.com>
12753
12754 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
12755 (__feraiseexcept_renamed): Add __NTH.
12756 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
12757 namespace violations.
12758
97c066e6
UD
127592011-10-17 Ulrich Drepper <drepper@gmail.com>
12760
99ce7b04
UD
12761 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
12762
1004d182
UD
12763 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
12764
228a984d
UD
12765 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
12766 recently added interfaces.
12767 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
12768
c8553a6a
UD
12769 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
12770 about macro parameter expansion.
12771
ed22dcf6
UD
12772 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
12773 __NO_MATH_INLINES is defined. Cleanups.
12774
12775 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
12776 and __floorf is target has SSE4.1.
12777 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
12778 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
12779 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
12780 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
12781
b171c137
UD
12782 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
12783 name.
12784 (floorf): Likewise.
12785
97c066e6
UD
12786 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
12787
629f62ef
AS
127882011-10-17 Andreas Schwab <schwab@redhat.com>
12789
49a43d80
AS
12790 * misc/sys/cdefs.h: Fix last change.
12791
629f62ef
AS
12792 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
12793 database lookup.
12794
e453f6cd
UD
127952011-10-16 Ulrich Drepper <drepper@gmail.com>
12796
aa78043a
UD
12797 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
12798
ad0f5cad
UD
12799 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
12800 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12801 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12802 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12803 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12804 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12805 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12806 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12807 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12808 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
12809 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
12810 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
12811 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
12812 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
12813 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
12814 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
12815 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
12816 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
12817 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
12818 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
12819 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
12820 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
12821
12822 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
12823 ceil, ceilf, floor, floorf.
12824
12825 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
12826 Perform IRELATIVE relocations last.
12827
e453f6cd
UD
12828 * elf/do-rel.h: Add another parameter nrelative, replacing the
12829 local variable with the same name. Change name of the function
12830 to end in Rel or Rela (uppercase).
12831 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
12832 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
12833 elf_dynamic_do_##reloc function.
12834
fd5bdc09
UD
128352011-10-15 Ulrich Drepper <drepper@gmail.com>
12836
79b195b5
UD
12837 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
12838 is sufficient, at least on modern CPUs.
12839
d4a28569
UD
12840 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
12841
b61099b5
UD
12842 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
12843 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
12844
bcf01e6d
UD
12845 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
12846 __expl_finite.
12847 * math/bits/math-finite.h: Add entries for exp.
12848 * math/e_expl.c: Add __*_finite alias.
12849 * sysdeps/i386/fpu/e_exp.S: Likewise.
12850 * sysdeps/i386/fpu/e_expf.S: Likewise.
12851 * sysdeps/i386/fpu/e_expl.c: Likewise.
12852 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12853 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12854 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12855 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12856 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
12857 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12858 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12859
ba1a0d59
UD
12860 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
12861 is sufficient, at least on modern CPUs.
12862
fd5bdc09
UD
12863 * ctype/ctype-info.c (__ctype_init): Define.
12864 * include/ctype.h (__ctype_init): Declare.
12865 (__ctype_b_loc): The variable is always initialized.
12866 (__ctype_toupper_loc): Likewise.
12867 (__ctype_tolower_loc): Likewise.
12868 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
12869 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
12870
7872cfb0
AS
128712011-10-15 Andreas Schwab <schwab@linux-m68k.org>
12872
b468825a
AS
12873 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
12874
7872cfb0
AS
12875 * configure.in: Also look in $cxxmachine/include for C++ system
12876 headers.
12877
be13f7bf
LD
128782011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12879
12880 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
12881 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
12882 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
12883 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
12884 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
12885 (USE_AS_WMEMCMP): New macro.
12886 Fixing indents.
12887 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
12888 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
12889 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
12890 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
12891 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12892 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
12893 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
12894 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
12895 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
12896 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
12897 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
12898 (USE_AS_WMEMCMP): New macro.
12899 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
12900 * sysdeps/string/test-memcmp.c: Update.
12901 Fix simple_wmemcmp.
12902 Add new tests.
12903 * wcsmbs/wmemcmp.c: Update.
12904 (WMEMCMP): New macro.
12905 Fix overflow bug.
12906
556a2007
AJ
129072011-10-12 Andreas Jaeger <aj@suse.de>
12908
12909 [BZ #13268]
12910 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
12911
538faaa7
UD
129122011-10-15 Ulrich Drepper <drepper@gmail.com>
12913
ab6737ff
UD
12914 * libio/iofwide.c (do_length): Avoid warning.
12915
538faaa7
UD
12916 * ctype/ctype.h (__isctype_f): Add missing __THROW.
12917
396a21b1
UD
129182011-10-14 Ulrich Drepper <drepper@gmail.com>
12919
cdf2901f
UD
12920 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
12921
38ad40ce
UD
12922 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
12923 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
12924 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
12925 * sysdeps/i386/i686/fpu/e_log.S: New file.
12926 * sysdeps/i386/i686/fpu/e_logf.S: New file.
12927 * sysdeps/i386/i686/fpu/e_logl.S: New file.
12928
396a21b1
UD
12929 * ctype/ctype.h: Add support for inlined isXXX functions when
12930 compiling C++ code.
12931
6b1f68c9
AS
129322011-10-14 Andreas Schwab <schwab@redhat.com>
12933
349290c0
AS
12934 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12935
6b1f68c9
AS
12936 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
12937
f2282d42
RM
129382011-10-13 Roland McGrath <roland@hack.frob.com>
12939
12940 [BZ #13291]
12941 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
12942
5298ffa8
AS
129432011-10-13 Andreas Schwab <schwab@redhat.com>
12944
714fad23
AS
12945 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
12946 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
12947 feraiseexcept.
12948
81dcc7fb
AS
12949 * sysdeps/x86_64/memrchr.S: Check for zero size.
12950
5298ffa8
AS
12951 * string/stratcliff.c: Add memrchr tests.
12952
951fbcec
LD
129532011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12954
12955 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12956 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
12957 rawmemchr-sse2 rawmemchr-sse2-bsf.
12958 * sysdeps/i386/i686/multiarch/memchr.S: New file.
12959 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
12960 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
12961 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
12962 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
12963 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
12964 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
12965 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
12966 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
12967 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
12968 * string/memrchr.c (MEMRCHR): New macro.
12969
0ac5ae23
UD
129702011-10-12 Ulrich Drepper <drepper@gmail.com>
12971
12972 Add integration with gcc's -ffinite-math-only and optimize wrapper
12973 functions in libm.
12974 * Versions.def: Define GLIBC_2.15 version for libm.
12975 * math/Makefile (headers): Add bits/math-finite.h.
12976 * math/bits/math-finite.h: New file.
12977 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
12978 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
12979 * math/e_acoshl.c: Add __*_finite alias.
12980 * math/e_acosl.c: Likewise.
12981 * math/e_asinl.c: Likewise.
12982 * math/e_atan2l.c: Likewise.
12983 * math/e_atanhl.c: Likewise.
12984 * math/e_coshl.c: Likewise.
12985 * math/e_exp10.c: Likewise.
12986 * math/e_exp10f.c: Likewise.
12987 * math/e_exp10l.c: Likewise.
12988 * math/e_exp2l.c: Likewise.
12989 * math/e_fmodl.c: Likewise.
12990 * math/e_gammal_r.c: Likewise.
12991 * math/e_hypotl.c: Likewise.
12992 * math/e_j0l.c: Likewise.
12993 * math/e_j1l.c: Likewise.
12994 * math/e_jnl.c: Likewise.
12995 * math/e_lgammal_r.c: Likewise.
12996 * math/e_log10l.c: Likewise.
12997 * math/e_log2l.c: Likewise.
12998 * math/e_logl.c: Likewise.
12999 * math/e_powl.c: Likewise.
13000 * math/e_sinhl.c: Likewise.
13001 * math/e_sqrtl.c: Likewise.
13002 * math/e_scalb.c: Completely rewritten and optimized.
13003 * math/e_scalbf.c: Likewise.
13004 * math/e_scalbl.c: Likewise.
13005 * math/w_acos.c: Likewise.
13006 * math/w_acosf.c: Likewise.
13007 * math/w_acosl.c: Likewise.
13008 * math/w_acosh.c: Likewise.
13009 * math/w_acoshf.c: Likewise.
13010 * math/w_acoshl.c: Likewise.
13011 * math/w_asin.c: Likewise.
13012 * math/w_asinf.c: Likewise.
13013 * math/w_asinl.c: Likewise.
13014 * math/w_atan2.c: Likewise.
13015 * math/w_atan2f.c: Likewise.
13016 * math/w_atan2l.c: Likewise.
13017 * math/w_atanh.c: Likewise.
13018 * math/w_atanhf.c: Likewise.
13019 * math/w_atanhl.c: Likewise.
13020 * math/w_exp10.c: Likewise.
13021 * math/w_exp10f.c: Likewise.
13022 * math/w_exp10l.c: Likewise.
13023 * math/w_fmod.c: Likewise.
13024 * math/w_fmodf.c: Likewise.
13025 * math/w_fmodl.c: Likewise.
13026 * math/w_j0.c: Likewise.
13027 * math/w_j0f.c: Likewise.
13028 * math/w_j0l.c: Likewise.
13029 * math/w_j1.c: Likewise.
13030 * math/w_j1f.c: Likewise.
13031 * math/w_j1l.c: Likewise.
13032 * math/w_jn.c: Likewise.
13033 * math/w_jnf.c: Likewise.
13034 * math/w_log.c: Likewise.
13035 * math/w_logf.c: Likewise.
13036 * math/w_logl.c: Likewise.
13037 * math/w_log10.c: Likewise.
13038 * math/w_log10f.c: Likewise.
13039 * math/w_log10l.c: Likewise.
13040 * math/w_log2.c: Likewise.
13041 * math/w_log2f.c: Likewise.
13042 * math/w_log2l.c: Likewise.
13043 * math/w_pow.c: Likewise.
13044 * math/w_powf.c: Likewise.
13045 * math/w_powl.c: Likewise.
13046 * math/w_remainder.c: Likewise.
13047 * math/w_remainderf.c: Likewise.
13048 * math/w_remainderl.c: Likewise.
13049 * math/w_scalb.c: Likewise.
13050 * math/w_scalbf.c: Likewise.
13051 * math/w_scalbl.c: Likewise.
13052 * math/w_sqrt.c: Likewise.
13053 * math/w_sqrtf.c: Likewise.
13054 * math/w_sqrtl.c: Likewise.
13055 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13056 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
13057 used.
13058 * math/math_private.h: Declare __kernel_standard_f.
13059 * math/w_cosh.c: Remove cruft and optimize a bit.
13060 * math/w_coshf.c: Likewise.
13061 * math/w_coshl.c: Likewise.
13062 * math/w_exp2.c: Likewise.
13063 * math/w_exp2f.c: Likewise.
13064 * math/w_exp2l.c: Likewise.
13065 * math/w_hypot.c: Likewise.
13066 * math/w_hypotf.c: Likewise.
13067 * math/w_hypotl.c: Likewise.
13068 * math/w_lgamma.c: Likewise.
13069 * math/w_lgamma_r.c: Likewise.
13070 * math/w_lgammaf.c: Likewise.
13071 * math/w_lgammaf_r.c: Likewise.
13072 * math/w_lgammal.c: Likewise.
13073 * math/w_lgammal_r.c: Likewise.
13074 * math/w_sinh.c: Likewise.
13075 * math/w_sinhf.c: Likewise.
13076 * math/w_sinhl.c: Likewise.
13077 * math/w_tgamma.c: Likewise.
13078 * math/w_tgammaf.c: Likewise.
13079 * math/w_tgammal.c: Likewise.
13080 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13081 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13082 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13083 Minor optimizations. Pretty printing. Remove cruft.
13084 * sysdeps/i386/fpu/e_acosf.S: Likewise.
13085 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13086 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13087 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13088 * sysdeps/i386/fpu/e_acosl.c: Likewise.
13089 * sysdeps/i386/fpu/e_asin.S: Likewise.
13090 * sysdeps/i386/fpu/e_asinf.S: Likewise.
13091 * sysdeps/i386/fpu/e_atan2.S: Likewise.
13092 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13093 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13094 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13095 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13096 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13097 * sysdeps/i386/fpu/e_exp10.S: Likewise.
13098 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13099 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13100 * sysdeps/i386/fpu/e_exp2.S: Likewise.
13101 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13102 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13103 * sysdeps/i386/fpu/e_fmod.S: Likewise.
13104 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13105 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13106 * sysdeps/i386/fpu/e_hypot.S: Likewise.
13107 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
13108 * sysdeps/i386/fpu/e_log.S: Likewise.
13109 * sysdeps/i386/fpu/e_log10.S: Likewise.
13110 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13111 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13112 * sysdeps/i386/fpu/e_log2.S: Likewise.
13113 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13114 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13115 * sysdeps/i386/fpu/e_logf.S: Likewise.
13116 * sysdeps/i386/fpu/e_logl.S: Likewise.
13117 * sysdeps/i386/fpu/e_pow.S: Likewise.
13118 * sysdeps/i386/fpu/e_powf.S: Likewise.
13119 * sysdeps/i386/fpu/e_powl.S: Likewise.
13120 * sysdeps/i386/fpu/e_remainder.S: Likewise.
13121 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
13122 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
13123 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13124 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13125 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13126 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
13127 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
13128 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
13129 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13130 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13131 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13132 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13133 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13134 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13135 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13136 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13137 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13138 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13139 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13140 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13141 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13142 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13143 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13144 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13145 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13146 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13147 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13148 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13149 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13150 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13151 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13152 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13153 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13154 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13155 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13156 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13157 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13158 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13159 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13160 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13161 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13162 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13163 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13164 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13165 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13166 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13167 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13168 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13169 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13170 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13171 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13172 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13173 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13174 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13175 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13176 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13177 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13178 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13179 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13180 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13181 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13182 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13183 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13184 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13185 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13186 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13187 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13188 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13189 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13190 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13191 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13192 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13193 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13194 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13195 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13196 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13197 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13198 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13199 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13200 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13201 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13202 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13203 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13204 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13205 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13206 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13207 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13208 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13209 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13210 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13211 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13212 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13213 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13214 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13215 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13216 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13217 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13218 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13219 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13220 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13221 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13222 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13223 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13224 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13225 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13226 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13227 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13228 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13229 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
13230 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
13231 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
13232 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
13233 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13234 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13235 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13236 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13237 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
13238 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13239 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
13240 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
13241 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
13242 (__isnanf): Likewise.
13243 (__isinf_ns): Likewise.
13244 (__isinf_nsf): Likewise.
13245 (__finite): Likewise.
13246 (__finitef): Likewise.
13247 (__ieee754_sqrt): Define as macro.
13248 (__ieee754_sqrtf): Define as macro.
13249 (__ieee754_sqrtl): Define as macro.
13250 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
13251 inlined copy.
13252 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
13253 __FINITE_MATH_ONLY__ consistent.
13254 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
13255
12cc2fcd
AS
132562011-10-10 Andreas Schwab <schwab@linux-m68k.org>
13257
a843a204
AS
13258 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
13259 of rawmemchr.
13260
12cc2fcd
AS
13261 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
13262
c853acd5
UD
132632011-10-09 Ulrich Drepper <drepper@gmail.com>
13264
13265 * po/ja.po: Update from translation team.
13266
c658d255
RM
132672011-10-08 Roland McGrath <roland@hack.frob.com>
13268
110946e4
RM
13269 * locale/programs/locarchive.c (prepare_address_space): New function.
13270 (create_archive, enlarge_archive, open_archive): Use it.
13271
50604220
RM
13272 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
13273 inside [SHARED], where it is used.
13274
c658d255
RM
13275 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
13276
13277 * nss/getent.c (netgroup_keys): Remove unused variable.
13278 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13279
6a621eb7
UD
132802011-10-08 Ulrich Drepper <drepper@gmail.com>
13281
7edb55ce
UD
13282 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
13283 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
13284 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
13285 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
13286 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
13287 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
13288 * math/Makefile (libm-calls): Add s_isinf_ns.
13289 * math/divtc3.c: Use __isinf_nsl instead of isinf.
13290 * math/multc3.c: Likewise.
13291 * math/s_casin.c: Likewise.
13292 * math/s_casinf.c: Likewise.
13293 * math/s_casinl.c: Likewise.
13294 * math/s_ccos.c: Likewise.
13295 * math/s_ccosf.c: Likewise.
13296 * math/s_ccosl.c: Likewise.
13297 * math/s_ctan.c: Likewise.
13298 * math/s_ctanf.c: Likewise.
13299 * math/s_ctanh.c: Likewise.
13300 * math/s_ctanhf.c: Likewise.
13301 * math/s_ctanhl.c: Likewise.
13302 * math/s_ctanl.c: Likewise.
13303 * math/w_fmod.c: Likewise.
13304 * math/w_fmodf.c: Likewise.
13305 * math/w_fmodl.c: Likewise.
13306 * math/w_remainder.c: Likewise.
13307 * math/w_remainderf.c: Likewise.
13308 * math/w_remainderl.c: Likewise.
13309 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
13310 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
13311 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
13312 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
13313 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
13314 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
13315 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
13316 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
13317
187da0ae
UD
13318 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
13319 of the number.
13320 * stdio-common/printf_fphex.c: Likewise.
13321 * stdio-common/printf_size.c: Likewise.
13322
9277c064
UD
13323 * math/e_exp10.c: Include math_private.h using <...> not "...".
13324 * math/e_exp10f.c: Likewise.
13325 * math/e_exp10l.c: Likewise.
13326 * math/e_exp2l.c: Likewise.
13327 * math/e_j0l.c: Likewise.
13328 * math/e_j1l.c: Likewise.
13329 * math/e_jnl.c: Likewise.
13330 * math/e_lgammal_r.c: Likewise.
13331 * math/e_rem_pio2l.c: Likewise.
13332 * math/e_scalb.c: Likewise.
13333 * math/e_scalbf.c: Likewise.
13334 * math/e_scalbl.c: Likewise.
13335 * math/k_cosl.c: Likewise.
13336 * math/k_sinl.c: Likewise.
13337 * math/k_tanl.c: Likewise.
13338 * math/s_cacoshf.c: Likewise.
13339 * math/s_catan.c: Likewise.
13340 * math/s_catanf.c: Likewise.
13341 * math/s_catanh.c: Likewise.
13342 * math/s_catanhf.c: Likewise.
13343 * math/s_catanhl.c: Likewise.
13344 * math/s_catanl.c: Likewise.
13345 * math/s_ccosh.c: Likewise.
13346 * math/s_ccoshf.c: Likewise.
13347 * math/s_ccoshl.c: Likewise.
13348 * math/s_cexp.c: Likewise.
13349 * math/s_cexpf.c: Likewise.
13350 * math/s_cexpl.c: Likewise.
13351 * math/s_clog.c: Likewise.
13352 * math/s_clog10.c: Likewise.
13353 * math/s_clog10f.c: Likewise.
13354 * math/s_clog10l.c: Likewise.
13355 * math/s_clogf.c: Likewise.
13356 * math/s_clogl.c: Likewise.
13357 * math/s_csin.c: Likewise.
13358 * math/s_csinf.c: Likewise.
13359 * math/s_csinh.c: Likewise.
13360 * math/s_csinhf.c: Likewise.
13361 * math/s_csinhl.c: Likewise.
13362 * math/s_csinl.c: Likewise.
13363 * math/s_csqrt.c: Likewise.
13364 * math/s_csqrtf.c: Likewise.
13365 * math/s_csqrtl.c: Likewise.
13366 * math/s_ctan.c: Likewise.
13367 * math/s_ctanf.c: Likewise.
13368 * math/s_ctanh.c: Likewise.
13369 * math/s_ctanhf.c: Likewise.
13370 * math/s_ctanhl.c: Likewise.
13371 * math/s_ctanl.c: Likewise.
13372 * math/s_ldexp.c: Likewise.
13373 * math/s_ldexpf.c: Likewise.
13374 * math/s_ldexpl.c: Likewise.
13375 * math/s_significand.c: Likewise.
13376 * math/s_significandf.c: Likewise.
13377 * math/s_significandl.c: Likewise.
13378 * math/w_acos.c: Likewise.
13379 * math/w_acosf.c: Likewise.
13380 * math/w_acosh.c: Likewise.
13381 * math/w_acoshf.c: Likewise.
13382 * math/w_acoshl.c: Likewise.
13383 * math/w_acosl.c: Likewise.
13384 * math/w_asin.c: Likewise.
13385 * math/w_asinf.c: Likewise.
13386 * math/w_asinl.c: Likewise.
13387 * math/w_atan2.c: Likewise.
13388 * math/w_atan2f.c: Likewise.
13389 * math/w_atan2l.c: Likewise.
13390 * math/w_atanh.c: Likewise.
13391 * math/w_atanhf.c: Likewise.
13392 * math/w_atanhl.c: Likewise.
13393 * math/w_cosh.c: Likewise.
13394 * math/w_coshf.c: Likewise.
13395 * math/w_coshl.c: Likewise.
13396 * math/w_dremf.c: Likewise.
13397 * math/w_exp10.c: Likewise.
13398 * math/w_exp10f.c: Likewise.
13399 * math/w_exp10l.c: Likewise.
13400 * math/w_exp2.c: Likewise.
13401 * math/w_exp2f.c: Likewise.
13402 * math/w_fmod.c: Likewise.
13403 * math/w_fmodf.c: Likewise.
13404 * math/w_fmodl.c: Likewise.
13405 * math/w_hypot.c: Likewise.
13406 * math/w_hypotf.c: Likewise.
13407 * math/w_hypotl.c: Likewise.
13408 * math/w_j0.c: Likewise.
13409 * math/w_j0f.c: Likewise.
13410 * math/w_j0l.c: Likewise.
13411 * math/w_j1.c: Likewise.
13412 * math/w_j1f.c: Likewise.
13413 * math/w_j1l.c: Likewise.
13414 * math/w_jn.c: Likewise.
13415 * math/w_jnf.c: Likewise.
13416 * math/w_jnl.c: Likewise.
13417 * math/w_lgamma.c: Likewise.
13418 * math/w_lgamma_r.c: Likewise.
13419 * math/w_lgammaf.c: Likewise.
13420 * math/w_lgammaf_r.c: Likewise.
13421 * math/w_lgammal.c: Likewise.
13422 * math/w_lgammal_r.c: Likewise.
13423 * math/w_log.c: Likewise.
13424 * math/w_log10.c: Likewise.
13425 * math/w_log10f.c: Likewise.
13426 * math/w_log10l.c: Likewise.
13427 * math/w_log2.c: Likewise.
13428 * math/w_log2f.c: Likewise.
13429 * math/w_log2l.c: Likewise.
13430 * math/w_logf.c: Likewise.
13431 * math/w_logl.c: Likewise.
13432 * math/w_pow.c: Likewise.
13433 * math/w_powf.c: Likewise.
13434 * math/w_powl.c: Likewise.
13435 * math/w_remainder.c: Likewise.
13436 * math/w_remainderf.c: Likewise.
13437 * math/w_remainderl.c: Likewise.
13438 * math/w_scalb.c: Likewise.
13439 * math/w_scalbf.c: Likewise.
13440 * math/w_scalbl.c: Likewise.
13441 * math/w_sinh.c: Likewise.
13442 * math/w_sinhf.c: Likewise.
13443 * math/w_sinhl.c: Likewise.
13444 * math/w_sqrt.c: Likewise.
13445 * math/w_sqrtf.c: Likewise.
13446 * math/w_sqrtl.c: Likewise.
13447 * math/w_tgamma.c: Likewise.
13448 * math/w_tgammaf.c: Likewise.
13449 * math/w_tgammal.c: Likewise.
13450
6a621eb7
UD
13451 * po/ja.po: Update from translation team.
13452
bf582445
AJ
134532011-09-29 Andreas Jaeger <aj@suse.de>
13454
f9efbf3a
AJ
13455 [BZ #13179]
13456 * sunrpc/netname.c (netname2host): Fix logic.
13457
bf582445
AJ
13458 [BZ #6779]
13459 [BZ #6783]
13460 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
13461 correctly.
13462 * math/w_remainder.c (__remainder): Likewise.
13463 * math/w_remainderf.c (__remainderf): Likewise.
13464 * math/libm-test.inc (remainder_test): Add test cases.
13465
48693bea
AK
134662011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13467
13468 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
13469 sdiv_qrnnd.
13470
42622229
LD
134712011-10-07 Ulrich Drepper <drepper@gmail.com>
13472
13473 * string/test-memcmp.c: Avoid unncessary #defines.
13474 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13475
093ecf92
LD
134762011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13477
13478 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
13479 Use new sse2 version for core i3 - i7 as it's faster
13480 than sse42 version.
13481 (bit_Prefer_PMINUB_for_stringop): New.
13482 * sysdeps/x86_64/rawmemchr.S: Update.
13483 Replace with faster SSE2 version.
13484 * sysdeps/x86_64/memrchr.S: New file.
13485 * sysdeps/x86_64/memchr.S: Update.
13486 Replace with faster SSE2 version.
13487
fde56e5c
MP
134882011-09-12 Marek Polacek <mpolacek@redhat.com>
13489
13490 * elf/dl-load.c (lose): Add cast to avoid warning.
13491
21fd49a9
UD
134922011-10-07 Ulrich Drepper <drepper@gmail.com>
13493
5a06e643
UD
13494 * po/ca.po: Update from translation team.
13495
684ae515
UD
13496 * inet/getnetgrent_r.c: Hook up nscd.
13497 * nscd/Makefile (routines): Add nscd_netgroup.
13498 (nscd-modules): Add netgroupcache.
13499 (CFLAGS-netgroupcache.c): Define.
13500 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
13501 (cache_search): Add const to second parameter.
13502 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
13503 INNETGR.
13504 (dbs): Add netgrdb entry.
13505 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
13506 (verify_persistent_db): Handle netgrdb.
13507 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
13508 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
13509 GETFDNETGR.
13510 (netgroup_response_header): Define.
13511 (innetgroup_response_header): Define.
13512 (datahead): Add netgroup_response_header and innetgroup_response_header
13513 elements.
13514 * nscd/nscd.conf: Add entries for netgroup cache.
13515 * nscd/nscd.h (dbtype): Add netgrdb.
13516 (_PATH_NSCD_NETGROUP_DB): Define.
13517 (netgroup_iov_disabled): Declare.
13518 (xmalloc, xcalloc, xrealloc): Move declarations here.
13519 (cache_search): Adjust prototype.
13520 Add netgroup-related prototypes.
13521 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
13522 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
13523 (__nscd_innetgr): Declare.
13524 * nscd/selinux.c (perms): Use access_vector_t as element type and
13525 add netgroup-related initializers.
13526 * nscd/netgroupcache.c: New file.
13527 * nscd/nscd_netgroup.c: New file.
13528 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
13529 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
13530 For four parameters use innetgr.
13531 * nss/nss_files/files-init.c: Add definition and callback for netgr.
13532 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
13533 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
13534 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
13535
21fd49a9
UD
13536 * nscd/connections.c (register_traced_file): Don't register file
13537 for disabled databases.
13538
054c0457
UD
135392011-10-06 Ulrich Drepper <drepper@gmail.com>
13540
32b63198
UD
13541 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
13542
054c0457
UD
13543 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
13544 from tree and freeing node.
13545
64031225
JO
135462011-09-25 Jiri Olsa <jolsa@redhat.com>
13547
13548 * nss/nsswitch.c (__nss_database_lookup): Handle
13549 nss_parse_service_list out of memory case.
13550
0490345c
JO
135512011-09-15 Jiri Olsa <jolsa@redhat.com>
13552
13553 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
13554 out of memory case.
13555
3a62d00d
AS
135562011-10-04 Andreas Schwab <schwab@redhat.com>
13557
13558 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
13559 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
13560 pass it down.
13561 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
13562 elf_machine_rela, elf_machine_lazy_rel.
13563 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
13564 (ELF_DYNAMIC_DO_REL): Likewise.
13565 (ELF_DYNAMIC_DO_RELA): Likewise.
13566 (ELF_DYNAMIC_RELOCATE): Likewise.
13567 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
13568 to ELF_DYNAMIC_DO_REL.
13569 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
13570 (dl_main): In trace mode always set __RTLD_NOIFUNC.
13571 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
13572 elf_machine_rela.
13573 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
13574 skip_ifunc, don't call ifunc function if non-zero.
13575 (elf_machine_rela): Likewise.
13576 (elf_machine_lazy_rel): Likewise.
13577 (elf_machine_lazy_rela): Likewise.
13578 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13579 (elf_machine_lazy_rel): Likewise.
13580 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13581 Likewise.
13582 (elf_machine_lazy_rel): Likewise.
13583 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13584 Likewise.
13585 (elf_machine_lazy_rel): Likewise.
13586 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
13587 (elf_machine_lazy_rel): Likewise.
13588 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
13589 (elf_machine_lazy_rel): Likewise.
13590 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13591 (elf_machine_lazy_rel): Likewise.
13592 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
13593 (elf_machine_lazy_rel): Likewise.
13594 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
13595 (elf_machine_lazy_rel): Likewise.
13596 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13597 (elf_machine_lazy_rel): Likewise.
13598
68577918
UD
135992011-09-28 Ulrich Drepper <drepper@gmail.com>
13600
13601 * nss/nss_files/files-init.c (_nss_files_init): Use static
13602 initialization for all the *_traced_file variables.
13603
68822d74
AS
136042011-09-28 Andreas Schwab <schwab@redhat.com>
13605
13606 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13607
2056100b
RM
136082011-09-27 Roland McGrath <roland@hack.frob.com>
13609
13610 [BZ #13226]
13611 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
13612
32c76b63
AS
136132011-09-27 Andreas Schwab <schwab@redhat.com>
13614
13615 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13616 Reread the line before reparsing it.
13617
bf972c9d
AS
136182011-09-26 Andreas Schwab <schwab@redhat.com>
13619
13620 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
13621
e057a1b5
JM
136222011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
13623 Maxim Kuvyrkov <maxim@codesourcery.com>
13624 Joseph Myers <joseph@codesourcery.com>
13625
13626 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
13627 if needed for __stack_chk_guard.
13628
bc7e1c36
RM
136292011-09-19 Roland McGrath <roland@hack.frob.com>
13630
ecb1482f
RM
13631 * sysdeps/posix/spawni.c (script_execute): Always define it.
13632 It will be optimized away if unused.
13633 (maybe_script_execute): New function.
13634 (__spawni): Call it.
13635
bc7e1c36
RM
13636 * Makerules: Don't include tls.make.
13637 (config-tls): Always set to thread.
13638 * tls.make.c: File removed.
13639
1c3b002b
MF
136402011-09-19 Mike Frysinger <vapier@gentoo.org>
13641
13642 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
13643 * config.make.in (CPPFLAGS-config): New substituted variable.
13644
2840865d
UD
136452011-09-15 Ulrich Drepper <drepper@gmail.com>
13646
88738eb6
UD
13647 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
13648
cbf645a6 13649 [BZ #13192]
2840865d
UD
13650 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
13651 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
13652
b402e91a
RM
136532011-09-15 Roland McGrath <roland@hack.frob.com>
13654
13655 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
13656 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
13657 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13658 (CALL_FAIL): Likewise.
13659 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
13660 (CALL_FAIL): Macro removed.
13661 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
13662
4c1a1f71
UD
136632011-09-15 Ulrich Drepper <drepper@gmail.com>
13664
13665 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
13666 for __FINITE_MATH_ONLY__ == 1.
13667
edc121be
AS
136682011-09-15 Andreas Schwab <schwab@redhat.com>
13669
13670 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
13671 __ieee754_sqrt instead of sqrt.
13672 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
13673 __ieee754_sqrtf instead of sqrtf.
13674 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
13675 __floorf instead of floorf.
13676 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
13677 __floorf, __truncf instead of floorf, truncf.
13678
cd205654
UD
136792011-09-14 Ulrich Drepper <drepper@gmail.com>
13680
ee4d0315
UD
13681 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
13682
cd205654
UD
13683 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
13684 __extern_always_inline.
13685 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
13686 32-bit.
13687
48b67d71
AS
136882011-09-14 Andreas Schwab <schwab@redhat.com>
13689
13690 * elf/rtld.c (dl_main): Also relocate in dependency order when
13691 doing symbol dependency testing.
13692
1ae12c75
AS
136932011-09-13 Andreas Schwab <schwab@linux-m68k.org>
13694
13695 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13696 Always define `refsym'.
13697
995a80df
AS
136982011-09-13 Andreas Schwab <schwab@redhat.com>
13699
e529793b
AS
13700 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
13701 (__FD_ELT): Renamed from __FDELT.
13702 * misc/bits/select2.h (__FD_ELT): Likewise.
13703 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
13704 __FD_MASK instead of __FDELT, __FDMASK.
13705 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13706 Likewise.
13707 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13708 Likewise.
13709
52d4fef8
AS
13710 * elf/Makefile (gen-ldd): Fix pattern.
13711
995a80df
AS
13712 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
13713 (init_tls): Likewise.
13714
8682f8b0
UD
137152011-09-12 Ulrich Drepper <drepper@gmail.com>
13716
13717 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
13718
de82006d
AS
137192011-09-12 Andreas Schwab <schwab@redhat.com>
13720
a7c8e6a1
AS
13721 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
13722 `struct cmsghdr *' instead of `void *'.
13723 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
13724 Likewise.
13725
0f31fe77
AS
137262011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13727
13728 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
13729 if non-absolute.
13730 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
13731 ldd_rewrite_script.
0f31fe77 13732
32b4c839
UD
137332011-09-11 Ulrich Drepper <drepper@gmail.com>
13734
83cd1420
UD
13735 * configure.in: Remove --with-tls option.
13736 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
13737 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
13738 out in case it is missing.
13739 * sysdeps/ia64/elf/configure.in: Likewise.
13740 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
13741 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
13742 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
13743 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
13744 * sysdeps/sh/elf/configure.in: Likewise.
13745 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
13746 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13747 * sysdeps/x86_64/elf/configure.in: Likewise.
13748 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
13749 * sysdeps/mach/hurd/tls.h: Likewise.
13750
633f745d
UD
13751 [BZ #13067]
13752 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
13753
f318beb8
UD
13754 [BZ #13090]
13755 * configure.in: Fix use of AC_INIT.
13756
32b4c839
UD
13757 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
13758
3ce1f295
UD
137592011-09-10 Ulrich Drepper <drepper@gmail.com>
13760
bb016596
UD
13761 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
13762 __set_errno.
8e58439c
UD
13763 * malloc/hooks.c: Likewise.
13764
aebae053 13765 [BZ #11929]
02d46fc4
UD
13766 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
13767 variables statically.
13768 (narenas): Initialize.
13769 (list_lock): Initialize.
bb016596
UD
13770 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
13771 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
13772 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
13773 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
13774 Add initializers to main_arena and mp_.
13775 (malloc_state): Remove pagesize member. Change all users to use
13776 GLRO(dl_pagesize).
13777
13778 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
13779 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
13780 is always initialized.
13781
22a89187
UD
13782 * malloc/malloc.c: Removed unused configurations and dead code.
13783 * malloc/arena.c: Likewise.
13784 * malloc/hooks.c: Likewise.
02d46fc4 13785 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 13786
d063d164
UD
13787 * include/tls.h: Removed. USE___THREAD must always be defined.
13788 * bits/libc-tsd.h: Don't handle !USE___THREAD.
13789 * elf/dl-libc.c: Likewise.
13790 * elf/dl-tsd.c: Likewise.
13791 * include/errno.h: Likewise.
13792 * include/netdb.h: Likewise.
13793 * include/resolv.h: Likewise.
13794 * inet/herrno-loc.c: Likewise.
13795 * inet/herrno.c: Likewise.
13796 * malloc/arena.c: Likewise.
13797 * malloc/hooks.c: Likewise.
13798 * malloc/malloc.c: Likewise.
13799 * resolv/res-state.c: Likewise.
13800 * resolv/res_libc.c: Likewise.
13801 * sysdeps/i386/dl-machine.h: Likewise.
13802 * sysdeps/ia64/dl-machine.h: Likewise.
13803 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13804 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13805 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13806 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13807 * sysdeps/sh/dl-machine.h: Likewise.
13808 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13809 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13810 * sysdeps/unix/i386/sysdep.S: Likewise.
13811 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13812 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13813 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13814 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13815 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13816 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13817 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13818 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13819 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13820 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13821 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13822 * sysdeps/x86_64/dl-machine.h: Likewise.
13823 * tls.make.c: Likewise.
13824
3ce1f295
UD
13825 * configure.in: Remove --with-__thread option. Make tests for
13826 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
13827 tls_model attribute fail if no support is available. Remove
13828 USE_IN_LIBIO.
13829 * Makeconfig: Adjust for dropped configure option. All features are
13830 now mandatory.
13831 * Makerules: Likewise.
13832 * Versions.def: Likewise.
13833 * argp/argp-fmtstream.c: Likewise.
13834 * argp/argp-fmtstream.h: Likewise.
13835 * argp/argp-help.c: Likewise.
13836 * assert/assert.c: Likewise.
13837 * config.h.in: Likewise.
13838 * config.make.in: Likewise.
13839 * configure: Likewise.
13840 * configure.in: Likewise.
13841 * csu/Versions: Likewise.
13842 * csu/init.c: Likewise.
13843 * elf/tst-audit2.c: Likewise.
13844 * elf/tst-tls10.c: Likewise.
13845 * elf/tst-tls10.h: Likewise.
13846 * elf/tst-tls11.c: Likewise.
13847 * elf/tst-tls12.c: Likewise.
13848 * elf/tst-tls14.c: Likewise.
13849 * elf/tst-tlsmod11.c: Likewise.
13850 * elf/tst-tlsmod12.c: Likewise.
13851 * elf/tst-tlsmod13.c: Likewise.
13852 * elf/tst-tlsmod13a.c: Likewise.
13853 * elf/tst-tlsmod14a.c: Likewise.
13854 * elf/tst-tlsmod15b.c: Likewise.
13855 * elf/tst-tlsmod16a.c: Likewise.
13856 * elf/tst-tlsmod16b.c: Likewise.
13857 * elf/tst-tlsmod7.c: Likewise.
13858 * elf/tst-tlsmod8.c: Likewise.
13859 * elf/tst-tlsmod9.c: Likewise.
13860 * gmon/gmon.c: Likewise.
13861 * grp/fgetgrent_r.c: Likewise.
13862 * grp/putgrent.c: Likewise.
13863 * hurd/fopenport.c: Likewise.
13864 * include/libc-symbols.h: Likewise.
13865 * include/tls.h: Likewise.
13866 * intl/gettextP.h: Likewise.
13867 * intl/loadinfo.h: Likewise.
13868 * locale/global-locale.c: Likewise.
13869 * locale/localeinfo.h: Likewise.
13870 * mach/devstream.c: Likewise.
13871 * malloc/arena.c: Likewise.
13872 * malloc/set-freeres.c: Likewise.
13873 * misc/err.c: Likewise.
13874 * misc/getttyent.c: Likewise.
13875 * misc/mntent_r.c: Likewise.
13876 * posix/getopt.c: Likewise.
13877 * posix/wordexp.c: Likewise.
13878 * pwd/fgetpwent_r.c: Likewise.
13879 * resolv/Versions: Likewise.
13880 * resolv/res_hconf.c: Likewise.
13881 * shadow/fgetspent_r.c: Likewise.
13882 * shadow/putspent.c: Likewise.
13883 * stdio-common/printf_fphex.c: Likewise.
13884 * stdio-common/tmpfile.c: Likewise.
13885 * stdlib/abort.c: Likewise.
13886 * stdlib/fmtmsg.c: Likewise.
13887 * sunrpc/auth_unix.c: Likewise.
13888 * sunrpc/clnt_perr.c: Likewise.
13889 * sunrpc/clnt_tcp.c: Likewise.
13890 * sunrpc/clnt_udp.c: Likewise.
13891 * sunrpc/clnt_unix.c: Likewise.
13892 * sunrpc/openchild.c: Likewise.
13893 * sunrpc/svc_simple.c: Likewise.
13894 * sunrpc/svc_tcp.c: Likewise.
13895 * sunrpc/svc_udp.c: Likewise.
13896 * sunrpc/svc_unix.c: Likewise.
13897 * sunrpc/xdr.c: Likewise.
13898 * sunrpc/xdr_array.c: Likewise.
13899 * sunrpc/xdr_rec.c: Likewise.
13900 * sunrpc/xdr_ref.c: Likewise.
13901 * sunrpc/xdr_stdio.c: Likewise.
13902
1248c1c4
PB
139032011-09-09 Ulrich Drepper <drepper@gmail.com>
13904
13905 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13906
139072011-07-03 Andreas Jaeger <aj@suse.de>
13908
13909 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
13910 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
13911 regenerate with gen-libm-tests.pl.
13912
139132010-05-12 Petr Baudis <pasky@suse.cz>
13914
13915 [BZ #11589]
13916 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
13917 around j0() zero points by switching to j1().
13918 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13919 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13920 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13921 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13922
f22e1074
UD
139232011-09-09 Ulrich Drepper <drepper@gmail.com>
13924
f19009c1
UD
13925 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
13926 instead of 0.
13927 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
13928 instead of 0. .
13929 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13930 Patch in part by Pavel Roskin <proski@gnu.org>.
13931
3f8cc204
UD
13932 [BZ #13138]
13933 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
13934 realloc.
13935 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
13936 Free memory block if necessary.
13937
f22e1074
UD
13938 [BZ #12847]
13939 * libio/genops.c (INTDEF): For string streams the _lock pointer can
13940 be NULL. Don't lock in this case.
13941
0a2349f9
RM
139422011-09-09 Roland McGrath <roland@hack.frob.com>
13943
13944 * elf/elf.h (ELFOSABI_GNU): New macro.
13945 (ELFOSABI_LINUX): Define to that.
13946
f3cdd467
DZ
139472011-07-29 Denis Zaitceff <zaitceff@gmail.com>
13948
13949 * string/strncat.c (strncat): Undef the symbol in case it has been
13950 defined in bits/string.h.
13951
74718d13
UD
139522011-09-09 Ulrich Drepper <drepper@gmail.com>
13953
633e9e0f
UD
13954 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
13955
0a2349f9 13956 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
13957 link map.
13958
f9924780
AJ
139592011-08-17 Andreas Jaeger <aj@suse.de>
13960
13961 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
13962
7f5517aa
PP
139632011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13964 Ian Lance Taylor <iant@google.com>
13965
13966 * math/libm-test.inc (lround_test): New testcase.
13967 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
13968
762011fe
UD
139692011-09-08 Ulrich Drepper <drepper@gmail.com>
13970
92963737
UD
13971 * Makefile: Remove support for automatic cvs check-ins.
13972 * Makerules: Likewise.
13973 * config.make.in: Likewise.
13974 * configure.in: Likewise.
13975 * intl/Makefile: Likewise.
13976 * locale/Makefile: Likewise.
13977 * po/Makefile: Likewise.
13978 * posix/Makefile: Likewise.
13979 * sysdeps/gnu/Makefile: Likewise.
13980 * sysdeps/mach/hurd/Makefile: Likewise.
13981 * sysdeps/sparc/sparc32/Makefile: Likewise.
13982
b0727fd8
JS
13983 [BZ #13118]
13984 * posix/Makefile (bug-regex32-ENV): Define.
13985 Patch by John Stanley <jpsinthemix@verizon.net>.
13986
a0f33f99
UD
13987 * misc/Makefile (headers): Add bits/select2.h.
13988 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
13989 * misc/bits/select2.h: New file.
13990 * include/bits/select2.h: New file.
13991 * debug/Makefile (routines): Add fdelt_chk.
13992 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
13993 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
13994 FD_ISSET.
13995 * debug/fdelt_chk.c: New file.
13996
762011fe
UD
13997 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
13998 * wcsmbs/test-wmemcmp.c: Likewise.
13999 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 14000 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
14001
140022011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14003
14004 * string/Makefile (strop-tests): Add memcmp.
14005 * string/test-wmemcmp.c: New file.
14006 * string/test-memcmp.c: Add wmemcmp support.
14007
7f513ec8
RM
140082011-09-08 Roland McGrath <roland@hack.frob.com>
14009
0442afb4
RM
14010 [BZ #13153]
14011 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
14012 2011-07-19 change.
14013
7f513ec8
RM
14014 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14015 garbage value in a __mach_port_mod_refs call in the cases of the
14016 task-self and thread-self ports.
14017
a12b2239
ST
140182011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14019
14020 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14021
610f9ab4
AS
140222011-09-08 Andreas Schwab <schwab@redhat.com>
14023
7f513ec8 14024 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 14025
48882a1a
LD
140262011-09-07 Ulrich Drepper <drepper@gmail.com>
14027
b49865be
UD
14028 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14029
fdc86bc9
UD
14030 * elf/dl-libc.c (dlerror_run): Pass back error code from
14031 dl_catch_error.
14032
c966526a
UD
14033 [BZ #13123]
14034 * elf/dl-load.c (lose): Free l_origin if it is valid.
14035
48882a1a
LD
14036 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14037 names.
14038 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14039 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14040 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14041 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14042 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14043 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14044
77a2a8b4
AZ
140452011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14046
14047 * sysdeps/powerpc/fpu/e_hypot.c: New file.
14048 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14049 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14050 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14051 * sysdeps/powerpc/fpu/k_cosf.c: New file.
14052 * sysdeps/powerpc/fpu/k_sinf.c: New file.
14053 * sysdeps/powerpc/fpu/s_cosf.c: New file.
14054 * sysdeps/powerpc/fpu/s_sinf.c: New file.
14055 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14056 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14057
24f579d8
AM
140582011-08-15 Alan Modra <amodra@gmail.com>
14059
14060 [BZ #13092]
14061 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14062 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14063 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
14064 ppc_mcount to static-only-routines.
14065 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14066 __mcount_internal.
14067 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14068 __mcount_internal with usual JUMPTARGET. Remove useless nop.
14069
3d4837df
UD
140702011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
14071
14072 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14073 for finite and infinity parameters.
14074
22700377
WS
140752011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14076
14077 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14078 and add nop instructions for throughput optimization.
14079 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14080
5025581e
WS
140812011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
14082
14083 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14084 aligned copy for power7 with vector-scalar instructions.
14085 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14086
08a300c9
L
140872011-07-24 H.J. Lu <hongjiu.lu@intel.com>
14088
14089 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14090 AVX check.
14091
59178ef9
AS
140922011-09-07 Andreas Schwab <schwab@redhat.com>
14093
14094 [BZ #13144]
14095 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14096 last change.
14097
e38ba7ab
UD
140982011-09-07 Ulrich Drepper <drepper@gmail.com>
14099
14100 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14101 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14102 syscall wrapper around clock_gettime in __vdso_clock_gettime.
14103 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14104 clock_gettime.
14105
d53a73ac
UD
141062011-09-06 Ulrich Drepper <drepper@gmail.com>
14107
fc8bffcc
UD
14108 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
14109 Forgot to demangle the pointer.
14110
ceaa0c5d
UD
14111 * sysdeps/i386/sysdep.h: Define atom_text_section.
14112 * sysdeps/x86_64/sysdep.h: Likewise.
14113 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
14114 section with atom_text_section.
14115 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14116 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14117 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14118 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14119 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
14120
a77d3c17
UD
14121 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
14122 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
14123 already be defined. Change to take two parameters and don't assign
14124 result to variable. Adjust all users.
14125 Define INTERNAL_GETTIME if not already defined.
14126 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
14127 call.
14128 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
14129 HAVE_CLOCK_GETTIME_VSYSCALL.
14130 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
14131
d53a73ac
UD
14132 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
14133 gettimeofday vsyscall, just use time.
14134
a8f84144
AS
141352011-09-06 Andreas Schwab <schwab@redhat.com>
14136
14137 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
14138 <errno.h>.
14139
ef606249
UD
141402011-09-06 Ulrich Drepper <drepper@gmail.com>
14141
14142 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
14143 syscall on x86-64.
14144 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
14145 syscall.
14146 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14147 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
14148 syscall if possible.
14149
6585cb60
UD
141502011-09-05 Ulrich Drepper <drepper@gmail.com>
14151
14152 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
14153 e_ident. Don't pass to find_mapsXX.
14154 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
14155
a5f524e4
LD
141562011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14157
14158 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14159 strchr-sse2-no-bsf strrchr-sse2-no-bsf
14160 * sysdeps/x86_64/multiarch/strchr.S: Update.
14161 Check bit_slow_BSF bit.
14162 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14163 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
14164 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
14165
554881ef
UD
141662011-09-05 Ulrich Drepper <drepper@gmail.com>
14167
d96de963
UD
14168 [BZ #13134]
14169 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
14170 before glibc 2.15.
14171 (tryshell): Define.
14172 (__spawni): Change last parameter to be flag. Test
14173 SPAWN_XFLAGS_USE_PATH flag to use path or not.
14174 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
14175 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
14176 * posix/spawni.c: Likewise.
14177 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
14178 * posix/spawnp.c: Likewise. Change normal version to use
14179 SPAWN_XFLAGS_USE_PATH.
14180 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
14181 SPAWN_XFLAGS_TRY_SHELL.
14182
d48e5868
UD
14183 [BZ #13150]
14184 * posix/glob.h: Remove gcc 1.x support.
14185
554881ef
UD
14186 [BZ #13068]
14187 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
14188
693fb948
LD
141892011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14190
14191 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14192 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
14193 strrchr-sse2-bsf
14194 * sysdeps/i386/i686/multiarch/strchr.S: New file.
14195 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
14196 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
14197 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
14198 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
14199 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
14200
1b48c537
UD
142012011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14202
49d42c37
UD
14203 * sysdeps/x86_64/wcscmp.S: New file.
14204
1b48c537
UD
14205 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
14206 wcscmp-c wcscmp-sse2
14207 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
14208 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
14209 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
14210 * wcsmbs/wcscmp.c: Allow renaming.
14211
15c95c5d
DM
142122011-09-05 David S. Miller <davem@davemloft.net>
14213
14214 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
14215 stack slot, rather than the struct return pointer slot.
14216 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
14217 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
14218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
14219 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
14220
2f0ad8f3
UD
142212011-09-05 Ulrich Drepper <drepper@gmail.com>
14222
d88ae418
UD
14223 * po/ja.po: Update from translation team.
14224
2f0ad8f3
UD
14225 [BZ #13144]
14226 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
14227 kernel in 64-bit binaries.
14228
5f4318d1
DM
142292011-09-01 David S. Miller <davem@davemloft.net>
14230
14231 * elf/elf.h (HWCAP_SPARC_*): Move to..
14232 * sysdeps/sparc/sysdep.h: this new file and add new values.
14233 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
14234 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
14235 _DL_HWCAP_COUNT to 24.
14236 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14237 entries.
14238 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
14239 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
14240 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
14241 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
14242 instead of magic constants.
14243 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14244
3ba57516
DM
142452011-08-31 David S. Miller <davem@davemloft.net>
14246
14247 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
14248 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
14249 Reimplement to do errno handling inline.
14250 (SYSCALL_ERROR_HANDLER): New macro.
14251 (__SYSCALL_STRING): Do not do errno handling in asm.
14252 (__CLONE_SYSCALL_STRING): Delete.
14253 (__INTERNAL_SYSCALL_STRING): Delete.
14254 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
14255 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
14256 (PSEUDO): Reimplement to do errno handling inline.
14257 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
14258 (SYSCALL_ERROR_HANDLER): New macro.
14259 (__SYSCALL_STRING): Do not do errno handling in asm.
14260 (__CLONE_SYSCALL_STRING): Delete.
14261 (__INTERNAL_SYSCALL_STRING): Delete.
14262 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
14263 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
14264 i386.
14265 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
14266 (inline_syscall*): Add 'err' argument.
14267 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
14268 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
14269 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
14270 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
14271
14272 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
14273 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14274
2bc17433
AS
142752011-08-30 Andreas Schwab <schwab@redhat.com>
14276
14277 * elf/rtld.c (dl_main): Relocate objects in dependency order.
14278
fbeb5f4d
JO
142792011-08-29 Jiri Olsa <jolsa@redhat.com>
14280
14281 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
14282 directive.
14283
ad69cc26
DM
142842011-08-24 David S. Miller <davem@davemloft.net>
14285
14286 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
14287
39dd69df
AS
142882011-08-24 Andreas Schwab <schwab@redhat.com>
14289
14290 * elf/Makefile: Add rules to build and run unload8 test.
14291 * elf/unload8.c: New file.
14292 * elf/unload8mod1.c: New file.
14293 * elf/unload8mod1x.c: New file.
14294 * elf/unload8mod2.c: New file.
14295 * elf/unload8mod3.c: New file.
14296
14297 * elf/dl-close.c (_dl_close_worker): Reset private search list if
14298 it wasn't used.
14299
2c0b250a
DM
143002011-08-23 David S. Miller <davem@davemloft.net>
14301
14302 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
14303 subtract stack bias.
14304 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
14305 %sp not %fp in calculations.
14306 (_JMPBUF_UNWINDS_ADJ): Likewise.
14307
22044b48
DM
14308 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
14309 (aio_suspend): Call it to force an exception region around the
14310 AIO_MISC_WAIT() invocation.
14311
2cae4995
AS
143122011-08-23 Andreas Schwab <schwab@redhat.com>
14313
14314 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
14315 backslash.
14316
873a772e
AJ
143172011-07-04 Aurelien Jarno <aurelien@aurel32.net>
14318
14319 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
14320 protection macro.
14321 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
14322 and <dl-machine.h>.
14323 (Elf64_FuncDesc): Remove.
14324
25ad0df1
DM
143252011-08-22 David S. Miller <davem@davemloft.net>
14326
14327 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
14328 sigaltstack check, add missing cfi directives.
14329 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
14330 missing cfi directives, and sigaltstack handling.
14331
e888bcbe
AS
143322011-08-16 Andreas Schwab <schwab@redhat.com>
14333
14334 [BZ #11724]
14335 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
14336 object is seen twice.
14337 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14338
14339 * elf/Makefile (distribute): Add tst-initorder2.c.
14340 (tests): Add tst-initorder2.
14341 (modules-names): Add tst-initorder2a tst-initorder2b
14342 tst-initorder2c tst-initorder2d. Add rules to build them.
14343 ($(objpfx)tst-initorder2.out): New rule.
14344 * elf/tst-initorder2.c: New file.
14345 * elf/tst-initorder2.exp: New file.
14346
87162f46
AS
143472011-08-22 Andreas Schwab <schwab@redhat.com>
14348
70538b7f
AS
14349 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
14350
f55ffe58
AS
14351 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
14352 dependencies back to end of function.
14353
87162f46
AS
14354 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14355 $(elfobjdir)/ld.so.
14356
91b392a4
UD
143572011-08-21 Ulrich Drepper <drepper@gmail.com>
14358
14359 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
14360 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
14361 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
14362 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
14363 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
14364 of __vdso_gettimeofday.
14365 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
14366 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
14367 attribute_hidden.
14368 (_libc_vdso_platform_setup): Remove initialization of
14369 __vdso_gettimeofday and __vdso_time.
14370
5c43483f
UD
143712011-08-20 Ulrich Drepper <drepper@gmail.com>
14372
775a77e7
UD
14373 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
14374 and fgetc_unlocked.
14375 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
14376 getc_unlocked.
89f447ed 14377
49c74ba9
UD
14378 * elf/dl-open.c (add_to_global): Report additions to the global scope
14379 for LD_DEBUG=scopes.
14380 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 14381 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 14382
5c43483f
UD
14383 [BZ #13114]
14384 * stdio-common/Makefile (tests): Add bug24.
14385 * stdio-common/bug24.c: New file.
14386
a101b025
AJ
143872011-08-19 Andreas Jaeger <aj@suse.de>
14388
14389 [BZ #13114]
14390 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
14391 non-existant file when using close-on-exec mode.
14392
c88f1766
UD
143932011-08-20 Ulrich Drepper <drepper@gmail.com>
14394
0276a718
UD
14395 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
14396 the very first instruction.
14397
c88f1766
UD
14398 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
14399 the CFI state in the end.
14400 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
14401 inclusion of dl-trampoline.h.
14402 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
14403
51ccffa0
AS
144042011-08-19 Andreas Schwab <schwab@redhat.com>
14405
94d7165f
AS
14406 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
14407 expectations for long double.
14408
51ccffa0
AS
14409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
14410 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
14411
fd708658 144122011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
14413
14414 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
14415 artificual limit depends upon the system page size.
14416
44f0a71e
UD
144172011-08-17 Ulrich Drepper <drepper@gmail.com>
14418
14419 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
14420 * resolv/Makefile: Define CFLAGS-libresolv.
14421
8de79a24
AS
144222011-08-17 Andreas Schwab <schwab@redhat.com>
14423
14424 * nss/makedb.c (compute_tables): Make variables used in nested
14425 function static.
14426
27724598
UD
144272011-08-17 Ulrich Drepper <drepper@gmail.com>
14428
c5305d88
UD
14429 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
14430 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
14431 if buffer was too small.
14432
27724598
UD
14433 * elf/pldd.c (main): Attach to all threads in the process.
14434 Rewrite /proc handling to use *at functions.
14435
076fe015
UD
144362011-08-16 Ulrich Drepper <drepper@gmail.com>
14437
174baab3
UD
14438 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
14439 specifies first scope to show.
14440 (dl_open_worker): Update callers. Move printing scope of new
14441 object to before the relocation.
44f0a71e 14442 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
14443 * sysdeps/generic/ldsodefs.h: Update declaration.
14444
076fe015
UD
14445 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
14446 string for the scope number.
14447
a60df2c3
UD
144482011-08-14 Ulrich Drepper <drepper@gmail.com>
14449
14450 * nscd/servicescache.c (cache_addserv): Make sure written is always
14451 initialized.
14452
5e4287d1
RM
144532011-08-14 Roland McGrath <roland@hack.frob.com>
14454
85ae0589
RM
14455 * sysdeps/i386/i486/bits/atomic.h
14456 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
14457 statement expression, so as to suppress "set but not used" warning.
14458 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
14459
69f63097
RM
14460 * string/strncat.c (STRNCAT): Use prototype definition.
14461
675456ef
RM
14462 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
14463 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
14464 -Iprograms here.
14465 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
14466 (localedef-modules): Add localedef.
14467 (locale-modules): Add locale.
14468
5e4287d1
RM
14469 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
14470 * elf/rtld.c (dl_main): Invert order of assignment in last change,
14471 to avoid a warning.
14472
9c96ff23
DM
144732011-08-14 David S. Miller <davem@davemloft.net>
14474
14475 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
14476 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
14477
f9ddf089
UD
144782011-08-13 Ulrich Drepper <drepper@gmail.com>
14479
44f0a71e 14480 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
14481 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
14482 * elf/rtld.c (dl_main): Set l_name of vDSO.
14483 Call _dl_show_scope when DL_DEBUG_SCOPES.
14484 (process_dl_debug): Recognize scopes flag and also set it for all.
14485 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
14486 Declare _dl_show_scope.
14487
1dc27704
UD
14488 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
14489 (do_dlopen): Pass caller_dlopen to dl_open.
14490 (__libc_dlopen_mode): Initialize caller_dlopen.
14491
f9ddf089
UD
14492 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
14493 of libc. Make tolower call locale-independent. Optimize a bit by
14494 using isdigit instead of isalnum.
14495 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
14496
9ac533d3
UD
144972011-08-12 Ulrich Drepper <drepper@gmail.com>
14498
14499 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
14500 was a dependency or dynamically loaded.
14501
89edf2e9
UD
145022011-08-11 Ulrich Drepper <drepper@gmail.com>
14503
8e999d29
UD
14504 * intl/l10nflist.c: Allow architecture-specific pop function.
14505 * sysdeps/x86_64/l10nflist.c: New file.
14506
89edf2e9
UD
14507 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
14508 classification.
14509
14d96785
AS
145102011-08-10 Andreas Schwab <schwab@redhat.com>
14511
14512 * include/dirent.h: Add libc_hidden_proto for scandirat and
14513 scandirat64. Don't declare __scandirat64.
14514 * dirent/scandirat.c: Add libc_hidden_def.
14515 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
14516 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
14517
6761ac04
DM
145182011-08-10 David S. Miller <davem@davemloft.net>
14519
14520 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
14521 enum.
14522 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14523 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14524 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14525
c55fbd1e
UD
145262011-08-09 Ulrich Drepper <drepper@gmail.com>
14527
14528 * Versions.def [libc]: Add GLIBC_2.15.
14529 * dirent/Makefile (routines): Add scandirat and scandirat64.
14530 * dirent/Versions [libc]: Export scandirat and scandirat64 for
14531 GLIBC_2.15.
14532 * dirent/dirent.h: Declare scandirat and scandirat64.
14533 * dirent/scandirat.c: New file.
14534 * dirent/scandirat64.c: New file.
14535 * sysdeps/wordsize-64/scandirat.c: New file.
14536 * sysdeps/wordsize-64/scandirat64.c: New file.
14537 * dirent/opendir.c: Define opendirat.
14538 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
14539 using scandirat.
14540 * dirent/scandir64.c: Adjust for scandir.c change.
14541 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
14542 __scandirat64, and __scandir_cancel_handler.
14543 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
14544 additional parameter and use openat instead of open (outside of ld.so).
14545 Add new __opendir as wrapper around __opendirat.
14546 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
14547 here without requiring old scandirat implementation.
14548
879165f2
UD
145492011-08-08 Ulrich Drepper <drepper@gmail.com>
14550
14551 * dirent/scandir.c (cancel_handler): Renamed to
14552 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
14553 defined. Adjust users.
14554 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
14555 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14556
cb7e923b
UD
145572011-08-04 Ulrich Drepper <drepper@gmail.com>
14558
16292edd
UD
14559 * string/test-string.h (IMPL): Use __STRING to expand name and then
14560 stringify it.
14561
cb7e923b
UD
14562 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
14563 of cleanups.
14564
cff82933
LD
145652011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14566
14567 * string/Makefile: Update.
14568 (strop-tests): Append strncat.
14569 * string/test-wcscmp.c: New file.
14570 New comprehensive test for wcscmp.
14571 * string/test-strcmp.c: Update.
14572 (WIDE): New define.
14573
9be9bfcc
AS
145742011-07-22 Andreas Schwab <schwab@redhat.com>
14575
14576 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
14577 line.
14578
2e96f1c7
AS
145792011-07-26 Andreas Schwab <schwab@redhat.com>
14580
14581 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14582 encoding to ACE if AI_IDN.
14583
85188888
JJ
145842011-08-01 Jakub Jelinek <jakub@redhat.com>
14585
14586 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
14587 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
14588
5fa16e9b
LD
145892011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14590
14591 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
14592 Fix overflow bug in strncat.
14593 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
14594
14595 * string/test-strncat.c: Update.
14596 Add new tests for checking overflow bugs.
14597
145982011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14599
14600 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14601 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
14602 * sysdeps/i386/i686/multiarch/strcat.S: New file.
14603 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
14604 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
14605 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
14606 * sysdeps/i386/i686/multiarch/strncat.S: New file.
14607 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
14608 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
14609
14610 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
14611 (USE_AS_STRCAT): Define.
14612 Add strcat and strncat support.
14613 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14614
8c1a459f
AS
146152011-07-25 Andreas Schwab <schwab@redhat.com>
14616
14617 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
14618 __n bigger than INT_MAX+1.
14619 (__strncmp_g): Likewise.
14620
bba33c28
UD
146212011-07-23 Ulrich Drepper <drepper@gmail.com>
14622
798be72d
UD
14623 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
14624 * libio/stido.h: Likewise.
14625
8accd4dc
UD
14626 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
14627 (AF_NFC): Define.
14628 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
14629 (AF_NFC): Define.
14630
cbff0d96
UD
14631 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
14632 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14633 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14634 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14635 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14636
9191c04a
UD
14637 [BZ #13021]
14638 * scripts/test-installation.pl: Don't expect libnss_test1 to be
14639 installed.
14640
bba33c28
UD
14641 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
14642 typo.
14643 (_dl_x86_64_save_sse): Likewise.
14644
90f139dd
UD
146452011-07-22 Ulrich Drepper <drepper@gmail.com>
14646
1aae088a
UD
14647 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
14648 OSXSAVE.
14649 (_dl_x86_64_save_sse): Likewise.
14650
8e2045f5
UD
14651 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
14652
90f139dd
UD
14653 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
14654
1d002f25
AS
146552011-07-21 Andreas Schwab <schwab@redhat.com>
14656
14657 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
14658 change.
14659 (_dl_x86_64_save_sse): Use correct AVX check.
14660
21137f89
UD
146612011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14662
14663 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
14664 bug in strncpy/strncat.
14665 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
14666
a65c0b7a
UD
146672011-07-21 Ulrich Drepper <drepper@gmail.com>
14668
14669 * string/tester.c (test_strcat): Add tests for different alignments
14670 of source and destination.
14671 (test_strncat): Likewise.
14672
6986b98a
UD
146732011-07-20 Ulrich Drepper <drepper@gmail.com>
14674
90bb2039
UD
14675 [BZ #12852]
14676 * posix/glob.c (glob): Check passed in values before using them in
14677 expressions to avoid some overflows.
14678 (glob_in_dir): Likewise.
14679
5644ef54
UD
14680 [BZ #13007]
14681 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
14682 check for AVX enablement so that we don't crash with old kernels and
14683 new hardware.
14684 * elf/tst-audit4.c: Add same checks here.
14685 * elf/tst-audit6.c: Likewise.
14686
14687 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 14688
bfc9dc9b
AS
146892011-07-09 Andreas Schwab <schwab@linux-m68k.org>
14690
14691 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
14692
702e64bb
UD
146932011-07-20 Ulrich Drepper <drepper@gmail.com>
14694
14695 * po/cs.po: Update from translation team.
14696 * po/bg.po: Likewise.
14697
295e904f
MP
146982011-07-12 Marek Polacek <mpolacek@redhat.com>
14699
14700 * misc/sys/cdefs.h: Add support for const attribute.
14701 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
14702 to gnu_dev_{major,minor,makedev} functions.
14703
3ff94596
MP
147042011-07-20 Marek Polacek <mpolacek@redhat.com>
14705
14706 * intl/dcigettext.c (get_output_charset): Add missing bracket.
14707
28b59fca
AS
147082011-07-20 Andreas Schwab <schwab@redhat.com>
14709
14710 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
14711 strlen results.
14712
19df733e
AK
147132011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14714
14715 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14716 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
14717 register in order to avoid conflicts with the soft frame pointer
14718 being held in r11 when necessary.
14719 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14720 (INTERNAL_VSYSCALL_NCS): Likewise.
14721
c8835729
MP
147222011-07-14 Marek Polacek <mpolacek@redhat.com>
14723
14724 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
14725 * elf/dl-fini.c (_dl_fini): Adjust caller.
14726 * elf/dl-close.c (_dl_close_worker): Likewise.
14727 * sysdeps/generic/ldsodefs.h: Adjust declaration.
14728
b902330c
MP
147292011-07-15 Marek Polacek <mpolacek@redhat.com>
14730
8991e135
MP
14731 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
14732 "aux_cache->nlibs < 0".
14733
b902330c
MP
14734 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
14735 in the reload-count case.
14736
99710781
LD
147372011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14738
14739 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14740 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
14741 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
14742 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
14743 * sysdeps/x86_64/multiarch/strcat.S: New file.
14744 * sysdeps/x86_64/multiarch/strncat.S: New file.
14745 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
14746 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
14747 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
14748 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
14749 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
14750 (USE_AS_STRCAT): Define.
14751 Add strcat and strncat support.
14752 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14753 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14754 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
14755 * string/strncat.c: Update.
14756 (USE_AS_STRNCAT): Define.
14757 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14758 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
14759 and i7.
14760 * sysdeps/x86_64/multiarch/init-arch.h
14761 (bit_Prefer_PMINUB_for_stringop): New.
14762 (index_Prefer_PMINUB_for_stringop): Likewise.
14763 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
14764 bit_Prefer_PMINUB_for_stringop.
14765
7dc6bd90
UD
147662011-07-19 Ulrich Drepper <drepper@gmail.com>
14767
14768 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
14769 buffer64.
14770 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
14771 of casting of buffer.
14772 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
14773 buffer32 and buffer64.
14774 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
14775 writes instead of casting of buffer.
14776 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
14777 buffer32.
14778 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
14779 casting of buffer.
14780
e0e72284
AS
147812011-07-19 Andreas Schwab <schwab@redhat.com>
14782
14783 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
14784
feb1eb0b
UD
147852011-07-19 Ulrich Drepper <drepper@gmail.com>
14786
14787 * nscd/nscd.c (termination_handler): Don't do anything for a database
14788 if it has not yet been initialized.
14789
298711ff
UD
147902011-07-18 Ulrich Drepper <drepper@gmail.com>
14791
14792 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14793
147942011-07-15 Marek Polacek <mpolacek@redhat.com>
14795
14796 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14797
f9d68389
UD
147982011-07-18 Ulrich Drepper <drepper@gmail.com>
14799
14800 * po/nl.po: Update from translation team.
14801 * po/sv.po: Likewise.
14802
db290cf5
RM
148032011-07-16 Roland McGrath <roland@hack.frob.com>
14804
14805 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
14806 now disallowed by GCC.
5c550700 14807
fd5e21c7
RM
14808 * configure.in (use-default-link): Default to yes if a test -shared
14809 link meets our qualifications.
14810 * configure: Regenerated.
14811
5c550700
RM
14812 * config.make.in (output-format): New variable.
14813 * configure.in: Check for ld --print-output-format support.
14814 * configure: Regenerated.
14815 * Makerules ($(common-objpfx)format.lds)
14816 [$(output-format) != unknown]: Just use $(output-format),
14817 instead of the linker-script munging.
14818
9fa2c032
RM
148192011-07-14 Roland McGrath <roland@hack.frob.com>
14820
a6928d51
RM
14821 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
14822 of $(common-objpfx)shlib.lds.
14823 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
14824
661607b3
RM
14825 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
14826 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
14827
9fa2c032
RM
14828 * configure.in (-z relro check): Adjust test code to add a large
14829 writable data section after it.
14830 * configure: Regenerated.
14831
defe9061
RM
148322011-07-11 Roland McGrath <roland@hack.frob.com>
14833
14834 * configure.in (-z relro check): Fix test code to make the variable
14835 truly const.
14836 * configure: Regenerated.
14837
319b9ad4
UD
148382011-07-11 Ulrich Drepper <drepper@gmail.com>
14839
14840 * nscd/nscd.h (struct traced_file): Define.
14841 (struct database_dyn): Remove inotify_descr, reset_res, and filename
14842 elements. Add traced_files.
14843 (inotify_fd): Declare.
14844 (register_traced_file): Declare.
14845 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
14846 (inotify_fd): Export.
14847 (resolv_conf_descr): Remove.
14848 (nscd_init): Move inotify descriptor creation to main.
14849 Don't register files for notification here.
14850 (register_traced_file): New function.
14851 (invalidate_cache): Don't use reset_res to determine whether to call
14852 res_init, go through the list of registered files.
14853 (main_loop_poll): The inotify descriptors are now stored in the
14854 structures for the traced files.
14855 (main_loop_epoll): Likewise
14856 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
14857 to __nss_disable_nscd.
14858 * nscd/cache.c (prune_cache): There is no single inotify descriptor
14859 for a database anymore. Check the records for all the registered
14860 files instead.
14861 * nss/Makefile (libnss_files-routines): Add files-init.
14862 (libnss_db-routines): Add db-init.
14863 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
14864 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
14865 * nss/nss_db/db-init.c: New file.
14866 * nss/nss_files/files-init.c: New file.
14867 * nss/nsswitch.c (nss_load_library): New function. Broken out of
14868 __nss_lookup_function.
14869 (__nss_lookup_function): Call nss_load_library.
14870 (nss_load_all_libraries): New function.
14871 (__nss_disable_nscd): Take parameter with callback function for files
14872 to register. Set is_nscd. Load all the DSOs for the NSS modules
14873 used for the cached services.
14874 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
14875 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
14876 options for features to all the files in nscd.
14877
14878 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
14879
23bee3e8
RM
148802011-07-10 Roland McGrath <roland@hack.frob.com>
14881
14882 * csu/elf-init.c (__libc_csu_init): Comment typo.
14883
46a5b7f0
UD
148842011-07-09 Ulrich Drepper <drepper@gmail.com>
14885
14886 * po/pl.po: Update from translation team.
14887 * po/ja.po: Likewise.
14888 * po/ru.po: Likewise.
14889 * po/ko.po: Likewise.
14890 * po/fr.po: Likewise.
14891
d30cf5bb
RM
148922011-07-09 Roland McGrath <roland@hack.frob.com>
14893
113ddea4
RM
14894 * configure.in (.ctors/.dtors header and trailer check):
14895 Use an empirical test on a built program.
14896 * configure: Regenerated.
14897
574920b4
RM
14898 * configure.in (-z relro check): Use an empirical test on a built DSO.
14899 Detect, but do not require, on ia64.
14900 * configure: Regenerated.
14901
d30cf5bb
RM
14902 * configure.in (READELF): Find it with AC_CHECK_TOOL.
14903 Update tests that use readelf to use $READELF instead.
14904 * configure: Regenerated.
14905
8538fdb3
UD
149062011-07-08 Ulrich Drepper <drepper@gmail.com>
14907
14908 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
14909 if the result is not used.
14910
04d08991
AJ
149112011-07-05 Andreas Jaeger <aj@suse.de>
14912
14913 [BZ#9696]
14914 * stdlib/tst-strtod.c: Add testcase.
14915
de283087
AD
149162011-07-07 Ulrich Drepper <drepper@gmail.com>
14917
4e5f31c8 14918 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 14919 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
14920 The latter has a higher limit. Take additional parameter to pass to
14921 the new function.
14922 (__pathconf): Pass file to __statfs_link_max.
14923 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
14924 __statfs_link_max.
14925 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
14926 __statfs_link_max.
14927
de283087
AD
14928 [BZ #12868]
14929 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
14930 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14931 Handle Lustre.
14932 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
14933 (__statfs_filesize_max): Likewise.
14934 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
14935
c75fa153
AJ
149362011-07-05 Andreas Jaeger <aj@suse.de>
14937
14938 * resolv/res_comp.c (dn_skipname): Remove unused variable.
14939
1a544854
UD
149402011-07-06 Marek Polacek <mpolacek@redhat.com>
14941
14942 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
14943 `status' variable.
14944 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
14945 Likewise.
14946
6f0eec67
UD
149472011-07-04 H.J. Lu <hongjiu.lu@intel.com>
14948
14949 * Makefile (strop-tests): Add strncat.
14950 * string/test-strncat.c: New file.
14951
aae30307
UD
149522011-06-30 Marek Polacek <mpolacek@redhat.com>
14953
14954 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
14955
c0cfb5eb
UD
149562011-06-21 Andreas Jaeger <aj@suse.de>
14957
14958 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
14959 Copy rule from iconvdata/Makefile.
14960
01636b21
UD
149612011-07-06 Ulrich Drepper <drepper@gmail.com>
14962
14963 [BZ #12922]
14964 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
14965 but no long options are defined, just return 'W'.
14966
9895c8bc
UD
149672011-06-22 Marek Polacek <mpolacek@redhat.com>
14968
14969 [BZ #9696]
14970 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
14971
5d4cf042
UD
149722011-07-06 Ulrich Drepper <drepper@gmail.com>
14973
14974 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
14975 netgroups to read.
960e5535 14976 (innetgr): Likewise.
5d4cf042 14977
751eb97e
RM
149782011-07-05 Roland McGrath <roland@hack.frob.com>
14979
14980 * config.make.in (install_root): Default to $(DESTDIR).
14981
f15f1e45
UD
149822011-07-05 Ulrich Drepper <drepper@gmail.com>
14983
14984 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
14985
4e34ac6a
RM
149862011-07-02 Roland McGrath <roland@hack.frob.com>
14987
5e9b6af4
RM
14988 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
14989
84f9ea0f
RM
14990 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
14991 containing directory rather than embedding absolute directory names.
14992
ea5ee9f7
RM
14993 * scripts/check-local-headers.sh: Rewritten using awk.
14994 Match by word, not by line. Print error messages for matches.
14995 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
14996
1b74661a
RM
14997 * Makerules [shlib-lds-flags empty]:
14998 ($(common-objpfx)libc_pic.opts): New target.
14999 ($(common-objpfx)libc_pic.os.clean): New target.
15000 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
15001
15002 * config.make.in (OBJCOPY): New variable.
15003 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
15004 * configure: Regenerated.
15005
f781ef40
RM
15006 * config.make.in (use-default-link): New variable.
15007 * configure.in (use_default_link): Grok --with-default-link to set it.
15008 * configure: Regenerated.
15009 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
15010 (shlib-lds, shlib-lds-flags): Define to empty.
15011
2d4fa81e
RM
15012 * Makerules (shlib-lds): New variable.
15013 (shlib-lds-flags): New variable.
15014 (build-shlib, build-moduile, build-module-asneeded): Use it.
15015 ($(common-objpfx)libc.so): Use $(shlib-lds).
15016 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15017 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15018
31fffa6b
RM
15019 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15020 DT_FLAGS/DT_FLAGS_1 with zero flags.
15021
4e34ac6a
RM
15022 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15023 linker script munging.
15024
fcfc776b
UD
150252011-07-02 Ulrich Drepper <drepper@gmail.com>
15026
15027 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15028 as 128-bit value.
15029 * crypt/sha512.c (sha512_process_block): Perform total addition using
15030 128-bit if possible.
15031 (__sha512_finish_ctx): Likewise.
15032 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15033 as 64-bit value.
15034 * crypt/sha256.c (SWAP64): Define.
15035 (sha256_process_block): Perform total addition using 64-bit if
15036 possible.
15037 (__sha256_finish_ctx): Likewise.
15038
99231d9a
UD
150392011-07-01 Ulrich Drepper <drepper@gmail.com>
15040
15041 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
15042 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15043 * nscd/hstcache.c (cache_addhst): Likewise.
15044 * nscd/grpcache.c (cache_addgr): Likewise.
15045 * nscd/aicache.c (addhstaiX): Likewise
15046 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15047
445b4a53
TK
150482011-07-01 Thorsten Kukuk <kukuk@suse.de>
15049
15050 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15051 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15052 * nscd/hstcache.c (cache_addhst): Likewise.
15053 * nscd/grpcache.c (cache_addgr): Likewise.
15054 * nscd/aicache.c (addhstaiX): Likewise
15055
6d4d8e8e
AS
150562011-07-01 Andreas Schwab <schwab@redhat.com>
15057
15058 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15059 domain only when needed.
15060
89f654c5
AS
150612011-06-30 Andreas Schwab <schwab@redhat.com>
15062
15063 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15064 is always restored.
15065
cf3b23ff
UD
150662011-06-29 Ulrich Drepper <drepper@gmail.com>
15067
15068 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15069 are re-adding the entry.
15070 * nscd/servicescache.c (cache_addserv): Likewise.
15071
751626f9
AJ
150722011-06-30 Aurelien Jarno <aurelien@aurel32.net>
15073
15074 * sysdeps/generic/dl-irel.h: fix protection against multiple
15075 inclusions.
15076 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15077
9113ea1f
UD
150782011-06-28 Ulrich Drepper <drepper@gmail.com>
15079
5c0b8d90
UD
15080 [BZ #12935]
15081 * malloc/memusage.sh: Fix quoting in message.
15082 * debug/xtrace.sh: Likewise.
15083
9113ea1f
UD
15084 * configure.in: Remove support for --experimental-malloc option, make
15085 it the default.
15086 * config.make.in: Likewise.
15087 * malloc/Makefile: Likewise.
15088
a4172181
AS
150892011-06-27 Andreas Schwab <schwab@redhat.com>
15090
15091 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15092 two-byte characters.
15093
78a7eee7
RM
150942011-06-27 Roland McGrath <roland@hack.frob.com>
15095
62bede13
RM
15096 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15097 AC_CACHE_CHECK invocation.
15098 * configure: Regenerated.
15099
78a7eee7
RM
15100 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15101
5ce33a62
UD
151022011-06-27 Ulrich Drepper <drepper@gmail.com>
15103
034807a9
UD
15104 [BZ #12350]
15105 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
15106 bit from old_res_options.
15107
4902da17
UD
15108 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
15109
5ce33a62
UD
15110 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
15111 value type for setfct.
15112
c2344f56
L
151132011-06-23 H.J. Lu <hongjiu.lu@intel.com>
15114
15115 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15116 __gettimeofday instead of gettimeofday.
15117
68468076
UD
151182011-06-26 Ulrich Drepper <drepper@gmail.com>
15119
15120 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
15121
acb0d739
L
151222011-06-24 H.J. Lu <hongjiu.lu@intel.com>
15123
15124 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
15125
15126 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
15127 info.
15128
8912479f
L
151292011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15130
15131 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15132 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15133 strcpy-sse2-unaligned strncpy-sse2-unaligned
15134 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
15135 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
15136 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
15137 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
15138 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
15139 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
15140 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
15141 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
15142 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
15143 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
15144 (STRCPY): Support SSE2 and SSSE3 versions.
15145
d5495a11
UD
151462011-06-24 Ulrich Drepper <drepper@gmail.com>
15147
15148 [BZ #12874]
15149 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
15150 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
15151 kernels which artificially limit size of requests.
15152
0b1cbaae
L
151532011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15154
15155 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15156 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15157 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
15158 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
15159 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
15160 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
15161 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
15162 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
15163 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
15164 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
15165 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
15166 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
15167 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
15168 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
15169 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
15170 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15171 Enable unaligned load optimization for Intel Core i3, i5 and i7
15172 processors.
15173 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
15174 Define.
15175 (index_Fast_Unaligned_Load): Define.
15176 (HAS_FAST_UNALIGNED_LOAD): Define.
15177
07f494a0
MP
151782011-06-23 Marek Polacek <mpolacek@redhat.com>
15179
15180 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
15181
fa3fc0fe
UD
151822011-06-22 Ulrich Drepper <drepper@gmail.com>
15183
15184 [BZ #12907]
15185 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
15186 until it is clear that the information is realy needed.
15187 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
15188
e12df166
AS
151892011-06-22 Andreas Schwab <schwab@redhat.com>
15190
15191 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
15192
852eb34d
UD
151932011-06-22 Ulrich Drepper <drepper@gmail.com>
15194
84e2a551
UD
15195 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15196 /sys/devices/system/cpu/online if it is usable.
15197
852eb34d
UD
15198 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
15199 reading the information from the /proc filesystem to once a second.
15200
6e502e19
UD
152012011-06-21 Andreas Jaeger <aj@suse.de>
15202
15203 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
15204 NULL after inclusion of kernel headers.
15205
75d39ff2
UD
152062011-06-21 Ulrich Drepper <drepper@gmail.com>
15207
51f9aa6a
UD
15208 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
15209 calls to internal_setent.
15210
c0244a9d
UD
15211 [BZ #12885]
15212 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
15213 addresses using gethostbyname4_r ignore IPv4 addresses.
15214
c5e3c2ae
UD
15215 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
15216 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
15217
75d39ff2
UD
15218 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
15219
42675c6f
DM
152202011-06-20 David S. Miller <davem@davemloft.net>
15221
15222 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
15223 inclusions.
15224 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
15225
15226 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
15227 (elf_irel): Use it.
15228 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
15229 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
15230 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
15231 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
15232 * sysdeps/x86_64/dl-irel.h: Likewise.
15233
15234 * elf/dl-runtime.c: Use elf_ifunc_invoke.
15235 * elf/dl-sym.c: Likewise.
15236
57912a71
UD
152372011-06-15 Ulrich Drepper <drepper@gmail.com>
15238
15239 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
15240 need to dereference resplen2.
15241
ee22793d
AS
152422011-06-14 Andreas Schwab <schwab@redhat.com>
15243
15244 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
15245
a9e836b0
UD
152462011-06-15 Ulrich Drepper <drepper@gmail.com>
15247
77fb9117
UD
15248 * Makeconfig: Define vardbdir and inst_vardbdir.
15249 * nss/Makefile: Add rules to install db-Makefile.
15250
40c1b22c
UD
15251 * nss/nss_db/db-XXX.c: Cleanup.
15252
9f2da732
UD
15253 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
15254 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
15255 GLIBC_PRIVATE.
15256 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
15257 * nss/makedb.c: Implement -g option to specify that value strings
15258 are generated and should not be added to table iterated over for
15259 get*ent calls.
15260 * nss/nss_db/db-initgroups.c: New file.
15261
82e9a1f7
UD
15262 * nss/getent.c: Add support for initgroups lookups through getgrouplist
15263 interface.
15264
c41af17e
UD
15265 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
15266 (internal_getgrouplist): Adjust to name change.
15267 Update use_initgroups_entry if this is not the first call.
15268 * nss/databases.def: Add initgroups entry.
15269
a9e836b0
UD
15270 * nss/makedb.c (compute_tables): Check result of multiple hash table
15271 sizes to minimize maximum chain length.
15272
2666d441
UD
152732011-06-14 Ulrich Drepper <drepper@gmail.com>
15274
15275 * Versions.def: Add entry for libnss_db.
15276 * shlib-versions: Likewise.
15277 * nss/Makefile: Add rules to build libnss_db.
15278 * nss/Versions: Add libnss_db information. Organize libnss_files
15279 entries better.
15280 * nss/db-Makefile: Add gshadow support. Change rules for the new
15281 makedb progra. Some minor improvements to generate smaller files.
15282 * nss/nss_db/nss_db.h: Move NSS database header data structures to
15283 here from...
15284 * nss/makedb.c: ...here.
15285 Improve database format to be smaller and require less memory at
15286 runtime.
15287 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
15288 db anymore.
15289 * nss/nss_db/db-netgrp.c: Likewise.
15290 * nss/nss_db/db-open.c: Likewise.
15291 * nss/nss_files/flies-XXX.x: Adjust comments.
15292 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
15293 * nss/nss_files/files-grp.c: Likewise.
15294 * nss/nss_files/files-hosts.c: Likewise.
15295 * nss/nss_files/files-network.c: Likewise.
15296 * nss/nss_files/files-proto.c: Likewise.
15297 * nss/nss_files/files-pwd.c: Likewise.
15298 * nss/nss_files/files-rpc.c: Likewise.
15299 * nss/nss_files/files-service.c: Likewise.
15300 * nss/nss_files/files-sgrp.c: Likewise.
15301 * nss/nss_files/files-spwd.c: Likewise.
15302 * nss/nss_db/db-alias.c: Removed.
15303 * nss/nss_db/dummy-db.h: Removed.
15304
9ee76b5a
UD
153052011-06-02 Ulrich Drepper <drepper@gmail.com>
15306
15307 * nss/makedb.c: Rewritten to not use database library.
15308 * nss/Makefile: Update to build new makedb program.
15309
c71ca1f8
AJ
153102011-06-14 Andreas Jaeger <aj@suse.de>
15311
15312 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
15313 memset declaration.
15314
3154bfb8
UD
153152011-06-10 Andreas Schwab <schwab@redhat.com>
15316
15317 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
15318 tmpbuf.
15319
b350afab
RM
153202011-06-10 Roland McGrath <roland@hack.frob.com>
15321
decd4e50
RM
15322 * Makerules (shlib.lds): Fail if the linker script comes out empty.
15323 * elf/Makefile ($(objpfx)ld.so): Likewise.
15324
5615eaf2
RM
15325 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
15326 Don't list ld.so twice in dependencies.
15327
15328 * posix/bug-regex31.c: Include <stdlib.h>.
15329
15330 * nscd/hstcache.c (cache_addhst): Remove unused variable.
15331
15332 * nis/nss_compat/compat-spwd.c
15333 (getspent_next_nss_netgr): Remove unused variable.
15334 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
15335
15336 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
15337 nonmembers" output to use the right array.
15338
15339 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
15340
15341 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
15342
15343 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
15344 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
15345 * catgets/gencat.c (read_input_file): Likewise.
15346 * locale/programs/locarchive.c (enlarge_archive): Likewise.
15347
15348 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
15349 variable definition inside #if's controlling its use.
15350
15351 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
15352
15353 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
15354
15355 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
15356
15357 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
15358 unreachable code.
15359
15360 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
15361
b68e08db
RM
15362 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
15363 * configure: Regenerated.
15364
b350afab
RM
15365 * Makerules: Revert last change.
15366 * elf/Makefile: Likewise.
15367
28368601
RM
153682011-06-09 Roland McGrath <roland@hack.frob.com>
15369
15370 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
15371 * elf/Makefile ($(objpfx)librtld.os): Likewise.
15372 (reloc-link): Likewise.
15373
11988f8f
UD
153742011-06-09 Ulrich Drepper <drepper@gmail.com>
15375
15376 * elf/Makefile: Add rules to build pldd.
15377 * elf/pldd.c: New file.
15378 * elf/pldd-xx.c: New file.
15379
e80fab37
UD
153802011-06-07 Ulrich Drepper <drepper@gmail.com>
15381
15382 * version.h: Update for 2.15 development version.
15383
9b849836
DM
153842011-06-07 David S. Miller <davem@davemloft.net>
15385
15386 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
15387 ifuncs.
15388 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
15389 elf_machine_lazy_rel): Likewise.
15390 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15391 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
15392 elf_machine_lazy_rel): Likewise.
15393 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
15394 dl_hwcap via passed in argument.
15395 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
15396 Likewise.
15397
5a31b283
AK
153982011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15399
15400 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
15401
069e52f8
RM
154022011-06-06 Roland McGrath <roland@hack.frob.com>
15403
15404 [BZ #12849]
15405 * manual/fdl-1.1.texi: New file, verbatim from:
15406 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
15407 * manual/lgpl-2.1.texi: New file, verbatim from:
15408 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
15409 * manual/Makefile (licenses): New variable, list those new file names.
15410 (texis): Use it.
15411 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
15412
15413 * manual/fdl.texi: File removed.
15414 * manual/lesser.texi: File removed.
15415 * manual/libc.texinfo (Copying, Documentation License):
15416 Use new @include file names, put @appendix directive before @include.
15417
f16846a5
JJ
154182011-06-04 Jakub Jelinek <jakub@redhat.com>
15419
15420 [BZ #12841]
15421 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
15422 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
15423 (mq_open): Add __NTH.
15424
3d29045b
L
154252011-06-02 H.J. Lu <hongjiu.lu@intel.com>
15426
15427 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15428 Assume Intel Core i3/i5/i7 processor if AVX is available.
15429
8c297311
UD
154302011-05-31 Ulrich Drepper <drepper@gmail.com>
15431
15432 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15433 typo.
15434
c8fc0c91
UD
154352011-05-31 Andreas Schwab <schwab@redhat.com>
15436
15437 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
15438 memory. Use alloca_account. Fix memory leak when retrying.
15439
5b27a807
UD
154402011-05-31 Ulrich Drepper <drepper@gmail.com>
15441
356f8bc6
UD
15442 * version.h (RELEASE): Bump for 2.14 release.
15443 * include/features.h (__GLIBC_MINOR__): Bump to 14.
15444
5b27a807
UD
15445 * config.make.in (RANLIB): Remove entry.
15446
01f16ab0
UD
154472011-05-30 Ulrich Drepper <drepper@gmail.com>
15448
41fce8bd
UD
15449 * po/Makefile (po-sed-cmd): Add ksh to extensions.
15450 (libc.pot): Work around missing support for .ksh extension in xgettext.
15451
4769ae77
UD
15452 [BZ #12684]
15453 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
15454 if both request failed.
15455 (send_dg): In case of server errors clear resplen or *resplen2.
15456
6b1e7d19
UD
15457 [BZ #12454]
15458 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
15459 when there are multiple maps.
15460 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
15461 (_dl_fini): Remove test here.
15462
01f16ab0
UD
15463 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
15464
b1ebd700
UD
154652011-05-29 Ulrich Drepper <drepper@gmail.com>
15466
7ae22829
UD
15467 [BZ #12350]
15468 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
15469 bit from old_res_options.
15470 (gaih_inet): Likewise.
15471
553149f6 15472 [BZ #11099]
18a84741 15473 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
15474 as signed.
15475
652ffab1
UD
15476 * resolv/res_init.c (res_setoptions): Make the code more compact.
15477
16985fd0
UD
15478 [BZ #11558]
15479 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
15480 set RES_USEVC.
15481
0464f746
UD
15482 [BZ #11634]
15483 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
15484
7d17596c
UD
15485 * malloc/malloc.h: Mark malloc hook variables as deprecated.
15486
cf6bbbd7
UD
15487 [BZ #11781]
15488 * malloc/malloc.h: Declare malloc hook variables as volatile.
15489
13f1ab36
UD
15490 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
15491 in last patch.
15492
b1ebd700
UD
15493 [BZ #11799]
15494 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 15495 raise in the comment.
80e2212d
UD
15496 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15497 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15498 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 15499
ce67228d
UD
155002011-05-28 Ulrich Drepper <drepper@gmail.com>
15501
8887a920
UD
15502 [BZ #12811]
15503 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
15504 grow the buffers more if it already has to be sufficient.
15505 (build_wcs_upper_buffer): Likewise.
15506 * posix/regexec.c (check_matching): Likewise.
15507 (clean_state_log_if_needed): Likewise.
15508 (extend_buffers): Don't enlarge buffers beyond size of the input
15509 buffer.
15510 Patches mostly by Emil Wojak <emil@wojak.eu>.
15511 * posix/bug-regex32.c: New file.
15512 * posix/Makefile (tests): Add bug-regex32.
15513
4f031072
UD
15514 * locale/findlocale.c (_nl_find_locale): Return right away if
15515 _nl_explode_name failed.
15516 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
15517
d0478f0c
UD
15518 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
15519
de81b246
UD
15520 * debug/xtrace.sh: Unify messages.
15521 * malloc/memusage.sh: Likewise.
15522
c738465a
UD
15523 [BZ #12813]
15524 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
15525 time symbol from vDSO. Substitute with vsyscall if not available.
15526 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
15527 __vdso_time.
15528
f1f929d7
UD
15529 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
15530 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
15531 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
15532 Add sendmmsg and internal_sendmmsg.
15533 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
15534 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
15535 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
15536
ce67228d
UD
15537 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
15538 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
15539 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
15540
e57420c6
UD
155412011-05-27 Ulrich Drepper <drepper@gmail.com>
15542
a8509ca5
UD
15543 [BZ #12813]
15544 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
15545 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
15546 available.
15547 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
15548 __vdso_getcpu.
15549
e57420c6
UD
15550 [BZ #12814]
15551 * iconvdata/Makefile (tests): Add bug-iconv9.
15552 * iconvdata/bug-iconv9.c: New file.
15553
4d07db15
AS
155542011-05-27 Andreas Schwab <schwab@redhat.com>
15555
15556 [BZ #12814]
15557 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
15558
ea486f69
JJ
155592011-05-25 Jakub Jelinek <jakub@redhat.com>
15560
15561 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15562 (struct user_regs_struct): Change intcs field back to cs.
15563
6f038433
UD
155642011-05-25 Ulrich Drepper <drepper@gmail.com>
15565
15566 * po/ja.po: Update from translation team.
15567
67f86a25
UD
155682011-05-23 Ulrich Drepper <drepper@gmail.com>
15569
15570 [BZ #12795]
15571 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
15572 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
15573
def7fbd6
AS
155742011-05-20 Andreas Schwab <schwab@redhat.com>
15575
15576 * stdlib/longlong.h: Update from GCC.
15577
f50ef8f1
AS
155782011-05-23 Andreas Schwab <schwab@redhat.com>
15579
15580 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
15581 parameter name.
15582 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
15583 Add parameter name.
15584 (__sysconf): Pass it down.
15585
de7ce8f1
UD
155862011-05-22 Ulrich Drepper <drepper@gmail.com>
15587
f2962a71
UD
15588 [BZ #12671]
15589 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
15590 some situations.
15591 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15592 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
15593 add in in __libc_use_alloca calls. Adjust callers.
15594 (glob): Use malloc in some situations.
15595
de7ce8f1
UD
15596 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
15597 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
15598 pltexit.
15599
aec84f53
UD
156002011-05-21 Ulrich Drepper <drepper@gmail.com>
15601
05bb4a68
UD
15602 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
15603 and CLOCK_BOOTTIME_ALARM.
15604
7ea72f99
UD
15605 [BZ #12782]
15606 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
15607 is returned.
15608
7e4afad5
UD
15609 * string/_strerror.c (__strerror_r): Print negative errors as signed
15610 numbers.
15611
8e211fec
UD
15612 [BZ #12777]
15613 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
15614 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
15615 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
15616
f7d82dc9
UD
15617 * configure.in: Fix typo in redirection and correct removal of test
15618 files in two cases.
15619
cc9e536d
UD
15620 [BZ #12788]
15621 * locale/setlocale.c (new_composite_name): Fix test to check for
15622 identical name of all categories.
15623
aec84f53
UD
15624 [BZ #12792]
15625 * libio/filedoalloc.c (local_isatty): New function.
15626 (_IO_file_doallocate): Use local_isatty.
15627 * stdio-common/perror.c (perror): In case a new stream is used
15628 forward the stream error.
15629 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
15630 error flag.
15631
78e64fdc
RT
156322011-05-20 Ulrich Drepper <drepper@gmail.com>
15633
34a9094f
UD
15634 [BZ #11869]
15635 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
15636 alloca.
15637 * include/alloca.h (extend_alloca_account): Define.
15638
78e64fdc
RT
15639 [BZ #11857]
15640 * posix/regex.h: Fix comments with documentation of user-accessible
15641 fields after compilation and describe correct free'ing of pattern
15642 after re_compile_pattern.
15643 Patch by Reuben Thomas <rrt@sc3d.org>.
15644
457bddfc
RA
156452011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
15646
15647 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
15648 and -mno-altivec to prevent the compiler from using Altivec and/or
15649 VSX instructions when the corresponding registers are not available.
15650
a4527b51
AS
156512011-05-19 Andreas Schwab <schwab@redhat.com>
15652
15653 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
15654
ed690b2f
UD
156552011-05-19 Ulrich Drepper <drepper@gmail.com>
15656
15657 * libio/freopen.c (freopen): Use __dup2, not dup2.
15658 * libio/freopen64.c (freopen64): Likewise.
15659
8db73634
L
156602011-05-17 H.J. Lu <hongjiu.lu@intel.com>
15661
15662 [BZ #12775]
15663 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
15664 * math/Makefile (tests): Add test-powl.
15665 (CFLAGS-test-powl.c): Define.
15666 * math/test-powl.c: New file.
15667
0a197a9d
L
156682011-05-16 H.J. Lu <hongjiu.lu@intel.com>
15669
15670 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
15671
ee30c380
UD
156722011-05-17 Ulrich Drepper <drepper@gmail.com>
15673
15674 [BZ #11837]
15675 * iconvdata/gb18030.c: Update to GB18020-2005.
15676
6ce75379
UD
156772011-05-16 Ulrich Drepper <drepper@gmail.com>
15678
a4b89fd8
AR
15679 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
15680 RE_SYNTAX_POSIX_AWK): Update to match recent development.
15681 Patch by Aharon Robbins <arnold@skeeve.com>.
15682
ea389b12
UD
15683 [BZ #11892]
15684 * stdlib/putenv.c (putenv): Don't always create copy of the variable
15685 on the stack.
15686
68a3f91f
UD
15687 [BZ #11895]
15688 * misc/pselect.c (__pselect): Handle timeout value errors hidden
15689 through underflows.
15690
15cc7dd1
UD
15691 [BZ #12766]
15692 * misc/error.c (error_at_line): Ensure file_name and old_file_name
15693 point to strings before performing equality test for error_one_per_line
15694 mode.
15695
f3799213
UD
15696 [BZ #11697]
15697 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
15698
d79a9c94
UD
15699 [BZ #11820]
15700 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15701 (struct user_fpregs_struct): Avoid __uint*_t types.
15702
56e5eb46
UD
15703 [BZ #6420]
15704 * malloc/mtrace.c (tr_where): Add additional parameter to point to
15705 symbol info. Use it instead of calling _dl_addr locally.
15706 (lock_and_info): New function.
15707 (tr_freehook): Call lock_and_info and pass symbol info as additional
15708 parameter to tr_where.
15709 (tr_mallochook): Likewise.
15710 (tr_reallochook): Likewise.
15711 (tr_memalignhook): Likewise.
15712
6ce75379
UD
15713 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
15714 used and couldn't be at all thread-safe.
15715
f8a3b5bf
UD
157162011-05-15 Ulrich Drepper <drepper@gmail.com>
15717
94b7cc37
UD
15718 * libio/freopen.c (freopen): Don't close old file descriptor
15719 before the new one is opened. Instead dup the new file descriptor
15720 to the old one after the new stream is created.
15721 * libio/freopen64.c (freopen64): Likewise.
15722 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
15723 * libio/fileops.c (_IO_new_file_close_it): Handle new
15724 _IO_FLAGS2_NOCLOSE flag.
15725 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
15726 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
15727 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
15728 _IO_FLAGS2_NOCLOSE flag.
15729 * include/unistd.h: Add hidden_proto for dup3.
15730 Define __have_dup3.
15731 * io/dup3.c: Define hidden symbol.
15732 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
15733
bd25564e
UD
15734 [BZ #7101]
15735 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
15736 when an incomplete long option is used.
15737 * posix/tst-getopt_long1.c: New file.
15738 * posix/Makefile (tests): Add tst-getopt_long1.
15739
c84cfef4
UD
15740 [BZ #10138]
15741 * scripts/config.guess: Update from autoconf-2.68.
15742 * scripts/config.sub: Likewise.
15743
3b85df27
UD
15744 [BZ #10157]
15745 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
15746 tests into ...
15747 (has_cpuclock): ...this. New function.
15748 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
15749 macro here based on has_cpuclock code.
15750
15a856b1
UD
15751 [BZ #10149]
15752 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15753 First byte (not low byte) is now always NUL.
15754 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
15755
05f399e6
UD
15756 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15757 Use non-cancelable interfaces.
15758
10a52685 15759 [BZ #9809]
94ecc67d
UD
15760 * locale/iso-639.def: Add entry for Sorani.
15761
f8a3b5bf
UD
15762 [BZ #11901]
15763 * include/stdlib.h: Move include protection to the right place.
15764 Define abort_msg_s. Declare __abort_msg with it.
15765 * stdlib/abort.c (__abort_msg): Adjust type.
15766 * assert/assert.c (__assert_fail_base): New function. Majority
15767 of code from __assert_fail. Allocate memory for __abort_msg with
15768 mmap.
15769 (__assert_fail): Now call __assert_fail_base.
15770 * assert/assert-perr.c: Remove bulk of implementation. Use
15771 __assert_fail_base.
15772 * include/assert.hL Declare __assert_fail_base.
15773 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
15774 mmap.
15775 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
15776
1af4e298
UD
157772011-05-14 Ulrich Drepper <drepper@gmail.com>
15778
f8a3b5bf 15779 [BZ #11952]
d26dfc60
MG
15780 [BZ #12453]
15781 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
15782 until all modules are registered in the DTV.
15783 * elf/Makefile: Add rules to build and run tst-tls19.
15784 * elf/tst-tls19.c: New file.
15785 * elf/tst-tls19mod1.c: New file.
15786 * elf/tst-tls19mod2.c: New file.
15787 * elf/tst-tls19mod3.c: New file.
15788 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
15789
2fc54d6f
UD
15790 [BZ #12083]
15791 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
15792 correctly.
15793
98d76b46
UD
15794 [BZ #12601]
15795 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
15796 two-byte sequence errors.
15797 * iconvdata/Makefile (tests): Add bug-iconv8.
15798 * iconvdata/bug-iconv8.c: New file.
15799
da3c19ef
UD
15800 [BZ #12626]
15801 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
15802 buf2 definition.
15803
ca408c15
UD
15804 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
15805
d6f67f7d
UD
15806 [BZ #12432]
15807 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
15808 (dummy_getcfa): New function.
15809 (init): Get _Unwind_GetCFA address, use dummy if not found.
15810 (backtrace_helper): In recursion check, also check whether CFA changes.
15811 (__backtrace): Completely initialize arg.
15812
1af4e298 15813 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
15814 storing incomplete byte sequence in state object. Avoid testing for
15815 guaranteed too small input if we know there is enough data available.
1af4e298 15816
da62f81b
AS
158172011-05-11 Andreas Schwab <schwab@redhat.com>
15818
15819 * Makeconfig (+link-pie): Indent.
15820 * Rules (binaries-pie): Define if $(have-fpie) and
15821 $(build-shared).
15822 (binaries-shared): Also filter out $(binaries-pie).
15823 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
15824 * nscd/Makefile (others-pie): Add nscd.
15825 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
15826 ($(objpfx)nscd): Remove command override.
15827 * login/Makefile (others-pie): Add pt_chown.
15828 ($(objpfx)pt_chown): Remove command override.
15829 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
15830 remove command overrides.
15831
fcabc0f8
UD
158322011-05-13 Ulrich Drepper <drepper@gmail.com>
15833
20030ae6
UD
15834 * libio/tst_putwc.c: Fix error messages.
15835
fcabc0f8
UD
15836 [BZ #12724]
15837 * libio/fileops.c (_IO_new_file_close_it): Always flush when
15838 currently writing and seek to current position when not.
15839 * libio/Makefile (tests): Add bug-fclose1.
15840 * libio/bug-fclose1.c: New file.
15841
320a5dc0
PB
158422011-05-12 Ulrich Drepper <drepper@gmail.com>
15843
15844 [BZ #12511]
15845 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
15846 don't set DF_1_NODELETE here.
15847 (do_lookup_x): When entering new entry test for copy relocation
15848 and if necessary set DF_1_NODELETE flag.
15849 * elf/tst-unique4.cc: New file.
15850 * elf/tst-unique4.h: New file.
15851 * elf/tst-unique4lib.cc: New file.
15852 * elf/Makefile: Add rules to build and run tst-unique4.
15853 Patch by Piotr Bury <pbury@goahead.com>.
15854
22836f52
UD
158552011-05-11 Ulrich Drepper <drepper@gmail.com>
15856
f574184a
UD
15857 [BZ #12052]
15858 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
15859
e1fb097f
UD
15860 [BZ #12625]
15861 * misc/mntent_r.c (addmntent): Flush the stream after the output
15862
22836f52
UD
15863 [BZ #12393]
15864 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
15865 (is_trusted_path_normalize): Skip initial colon. Append slash
15866 to empty buffer. Duplicate is_trusted_path code but allow
15867 constructed patch to be prefix.
15868 (is_dst): Allow $ORIGIN followed by /.
15869 (_dl_dst_substitute): Correct clearing of check_for_trusted.
15870 Correct testing of result of is_trusted_path_normalize
15871 (decompose_rpath): Fix warning.
15872
7b3b0b2a
UD
158732011-05-10 Ulrich Drepper <drepper@gmail.com>
15874
15875 [BZ #11257]
15876 * grp/initgroups.c (internal_getgrouplist): When we found the service
15877 list through the initgroups entry in nsswitch.conf do not always
15878 continue on a successful lookup. Don't always use the
eac80ce2 15879 __nss_group_database value if it is set.
7b3b0b2a
UD
15880 * nss/nsswitch.conf (initgroups): Change action for successful db
15881 lookup to continue for compatibility.
15882
2a81eaa5
UD
158832011-05-09 Ulrich Drepper <drepper@gmail.com>
15884
be97a69e
UD
15885 [BZ #11532]
15886 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
15887 and CP774 modules.
15888 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
15889 and CP774 modules.
15890 * iconvdata/tst-tables.sh: Likewise.
15891 * iconvdata/cp770.c: New file.
15892 * iconvdata/cp771.c: New file.
15893 * iconvdata/cp772.c: New file.
15894 * iconvdata/cp773.c: New file.
15895 * iconvdata/cp774.c: New file.
15896 * iconvdata/testdata/CP770: New file.
15897 * iconvdata/testdata/CP770..UTF8: New file.
15898 * iconvdata/testdata/CP771: New file.
15899 * iconvdata/testdata/CP771..UTF8: New file.
15900 * iconvdata/testdata/CP772: New file.
15901 * iconvdata/testdata/CP772..UTF8: New file.
15902 * iconvdata/testdata/CP773: New file.
15903 * iconvdata/testdata/CP773..UTF8: New file.
15904 * iconvdata/testdata/CP774: New file.
15905 * iconvdata/testdata/CP774..UTF8: New file.
15906
15907 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
15908 END CHARMAP line.
15909 * iconvdata/gen-8bit-gap.sh: Likewise.
15910 * iconvdata/gen-8bit.sh: Likewise.
15911
c1e9e399
UD
15912 * locale/iso-639.def: Add ary entry.
15913
24c55fb3 15914 [BZ #11258]
96b4b1b0
UD
15915 * locale/C-translit.h.in: Add U20A1 transliteration.
15916
bdc2f971
KB
15917 [BZ #12178]
15918 * locale/iso-639.def: Add wae entry.
15919 Patch by Kevin Bortis <bortis@translate-wae.ch>.
15920
2952b117
UD
15921 [BZ #12545]
15922 * locale/programs/localedef.c (construct_output_path): Use ssize_t
15923 for n.
15924
2a81eaa5
UD
15925 [BZ #12711]
15926 * locale/C-translit.h.in: Add entry for U20B9.
15927 Patch by pravin.d.s@gmail.com.
15928
28377d1b
UD
159292011-05-08 Ulrich Drepper <drepper@gmail.com>
15930
7fb90fb8
UD
15931 [BZ #12713]
15932 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
15933 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
15934 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
15935 in rtld. Use *stat64.
7fb90fb8 15936 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 15937 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 15938 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
15939 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
15940 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
15941 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
15942 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
15943 __fstatat64 macros.
7fb90fb8
UD
15944 * include/dirent.h: Add libc_hidden_proto for rewinddir.
15945 * dirent/rewinddir.c: Add libc_hidden_def.
15946 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 15947 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 15948
28377d1b
UD
15949 * include/dirent.h (__alloc_dir): Add flags parameter.
15950 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
15951 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
15952 __alloc_dir.
15953 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
15954 from fdopendir if O_CLOEXEC is already set.
15955
66bdbaa4
AM
159562011-03-15 Alan Modra <amodra@gmail.com>
15957
15958 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
15959 l_tls_firstbyte_offset non-zero. Save padding offset in
15960 l_tls_firstbyte_offset for later use.
15961 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
15962 freeing static tls block.
15963
95721191
JN
159642011-03-05 Jonathan Nieder <jrnieder@gmail.com>
15965
15966 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
15967 where #ifdef was intended. The intent is to prevent ARG_MAX from
15968 being defined by the kernel headers.
15969
f87dfb1f
UD
159702011-05-07 Ulrich Drepper <drepper@gmail.com>
15971
15972 [BZ #12734]
15973 * resolv/resolv.h: Define RES_NOTLDQUERY.
15974 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
15975 no-tld-query and set RES_NOTLDQUERY.
15976 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
15977 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
15978 modern BIND to search name as TLD unless forbidden.
15979
47c3cd7a
UD
159802011-05-07 Petr Baudis <pasky@suse.cz>
15981 Ulrich Drepper <drepper@gmail.com>
15982
15983 [BZ #12393]
15984 * elf/dl-load.c (fillin_rpath): Move trusted path check...
15985 (is_trusted_path): ...to here.
c1e9ea35 15986 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 15987 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 15988 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 15989
8a35c912
PP
159902011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15991
15992 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
15993 __BEGIN/__END_DECLS.
15994
acd41f47
UD
159952011-05-06 Ulrich Drepper <drepper@gmail.com>
15996
15997 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
15998 NSS_STATUS_NOTFOUND if no record was found.
15999
597df647
AS
160002011-05-05 Andreas Schwab <schwab@redhat.com>
16001
16002 * sunrpc/Makefile (headers): Add rpc/netdb.h.
16003 (headers-not-in-tirpc): Remove rpc/netdb.h
16004 * resolv/netdb.h: Revert last change.
16005
b9af1301
PP
160062011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16007
16008 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
16009 circular dependency between libgcc.a and libc.a.
16010
4e34d5f5
AS
160112011-05-05 Andreas Schwab <schwab@redhat.com>
16012
16013 * resolv/netdb.h: Don't include <rpc/netdb.h>.
16014 * nis/Makefile: Don't install rpcsvc/*.
16015 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16016 instead of <rpc/types.h>.
16017 (MAXHOSTNAMELEN): Define.
16018
00ee369c
AS
160192011-05-03 Andreas Schwab <schwab@redhat.com>
16020
16021 * elf/ldconfig.c (add_dir): Don't crash on empty path.
16022
0b592a30
MB
160232011-04-28 Maciej Babinski <mbabinski@google.com>
16024
16025 [BZ #12714]
16026 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16027 gethostbyname4_r when IPv6 results are possible.
16028
6e04cbbe
UD
160292011-05-02 Ulrich Drepper <drepper@gmail.com>
16030
16031 [BZ #12723]
16032 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16033 _PC_PIPE_BUF handling.
16034
e4ecafe0
BH
160352011-04-30 Bruno Haible <bruno@clisp.org>
16036
16037 [BZ #12717]
16038 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16039 * resolv/netdb.h (getnameinfo): Change type of flags parameter
16040 to 'int'.
16041 * inet/getnameinfo.c (getnameinfo): Likewise.
16042
125ee683
UD
160432011-04-29 Ulrich Drepper <drepper@gmail.com>
16044
16045 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16046 to groups setting in database lookup.
16047 * nss/nsswitch.conf: Add initgroups entry.
16048
b722481a
EB
160492011-04-22 Ulrich Drepper <drepper@gmail.com>
16050
16051 [BZ #12685]
16052 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16053 mode string.
16054 Patch by Eric Blake <eblake@redhat.com>.
16055
4df46dbd
L
160562011-04-20 H.J. Lu <hongjiu.lu@intel.com>
16057
16058 * sunrpc/Makefile (need-export-routines): Add svc_run.
16059 (routines): Remove svc_run.
16060 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16061 * sunrpc/clnt_perr.c (clnt_perrno): Export.
16062 * sunrpc/svc_run.c (svc_run): Likewise.
16063 * sunrpc/svc_udp.c (svcudp_create): Likewise.
16064
e84142d2
UD
160652011-04-21 Ulrich Drepper <drepper@gmail.com>
16066
16067 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16068 problem in reallocation in last patch.
16069
877175d8
UD
160702011-04-20 Ulrich Drepper <drepper@gmail.com>
16071
16072 * sunrpc/Makefile: Move inclusion of Rules.
16073
ab8eed78
UD
160742011-04-19 Ulrich Drepper <drepper@gmail.com>
16075
16076 * nss/nss_files/files-initgroups.c: New file.
16077 * nss/Makefile (libnss_files-routines): Add files-initgroups.
16078 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16079 _nss_files_initgroups_dyn.
16080
e3d8f584
RS
160812011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
16082
16083 * elf/elf.h (R_ARM_IRELATIVE): Define.
16084
af190f45
UD
160852011-04-19 Ulrich Drepper <drepper@gmail.com>
16086
16087 * po/ru.po: Update from translation team.
16088
53cf59ef
UD
160892011-04-17 Ulrich Drepper <drepper@gmail.com>
16090
16091 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16092 dependencies.
16093
4c559bcd
MF
160942011-02-06 Mike Frysinger <vapier@gentoo.org>
16095
16096 [BZ #12653]
16097 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16098 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16099 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16100 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16101 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16102
4420675c
AS
161032011-03-28 Andreas Schwab <schwab@linux-m68k.org>
16104
16105 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16106 differing bytes.
16107 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16108 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16109 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16110
75ea32ab
UD
161112011-04-17 Ulrich Drepper <drepper@gmail.com>
16112
16113 [BZ #12420]
16114 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
16115 storing it.
16116 * stdlib/bug-getcontext.c: New file.
16117 * stdlib/Makefile: Add rules to build and run bug-getcontext.
16118
27390476
AK
161192011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16120
16121 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
16122 instructions into .machine "z9-109".
16123 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16124 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16125
10442705
AK
161262011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16127
16128 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
16129 between environment variables and auxiliary vector.
16130
7b57bfe5
UD
161312011-04-16 Ulrich Drepper <drepper@gmail.com>
16132
16133 * Makefile: Add rules to build linkobj/libc.so.
16134 * include/libc-symbols.h: Define libc_hidden_nolink.
16135 * include/rpc/auth.h: Mark functions which are to be hidden.
16136 * include/rpc/auth_des.h: Likewise.
16137 * include/rpc/auth_unix.h: Likewise.
16138 * include/rpc/clnt.h: Likewise.
16139 * include/rpc/des_crypt.h: Likewise.
16140 * include/rpc/key_prot.h: Likewise.
16141 * include/rpc/pmap_clnt.h: Likewise.
16142 * include/rpc/pmap_prot.h: Likewise.
16143 * include/rpc/pmap_rmt.h: Likewise.
16144 * include/rpc/rpc_msg.h: Likewise.
16145 * include/rpc/svc.h: Likewise.
16146 * include/rpc/svc_auth.h: Likewise.
16147 * include/rpc/xdr.h: Likewise.
16148 * nis/Makefile: Link all DSOs against linkobj/libc.so.
16149 * nss/Makefile: Likewise.
16150 * sunrpc/Makefile: Don't install headers. Build library with normal
16151 entry points. Don't build rpcinfo. Link RPC tests appropriately.
16152 * sunrpc/auth_des.c: Hide exported symbols by default, export some
16153 for the compat linking library. Remove use of INTDEF/INTUSE.
16154 * sunrpc/auth_none.c: Likewise.
16155 * sunrpc/auth_unix.c: Likewise.
16156 * sunrpc/authdes_prot.c: Likewise.
16157 * sunrpc/authuxprot.c: Likewise.
16158 * sunrpc/clnt_gen.c: Likewise.
16159 * sunrpc/clnt_perr.c: Likewise.
16160 * sunrpc/clnt_raw.c: Likewise.
16161 * sunrpc/clnt_simp.c: Likewise.
16162 * sunrpc/clnt_tcp.c: Likewise.
16163 * sunrpc/clnt_udp.c: Likewise.
16164 * sunrpc/clnt_unix.c: Likewise.
16165 * sunrpc/des_crypt.c: Likewise.
16166 * sunrpc/des_soft.c: Likewise.
16167 * sunrpc/get_myaddr.c: Likewise.
16168 * sunrpc/key_call.c: Likewise.
16169 * sunrpc/key_prot.c: Likewise.
16170 * sunrpc/netname.c: Likewise.
16171 * sunrpc/pm_getmaps.c: Likewise.
16172 * sunrpc/pm_getport.c: Likewise.
16173 * sunrpc/pmap_clnt.c: Likewise.
16174 * sunrpc/pmap_prot.c: Likewise.
16175 * sunrpc/pmap_prot2.c: Likewise.
16176 * sunrpc/pmap_rmt.c: Likewise.
16177 * sunrpc/publickey.c: Likewise.
16178 * sunrpc/rpc_cmsg.c: Likewise.
16179 * sunrpc/rpc_common.c: Likewise.
16180 * sunrpc/rpc_dtable.c: Likewise.
16181 * sunrpc/rpc_prot.c: Likewise.
16182 * sunrpc/rpc_thread.c: Likewise.
16183 * sunrpc/rtime.c: Likewise.
16184 * sunrpc/svc.c: Likewise.
16185 * sunrpc/svc_auth.c: Likewise.
16186 * sunrpc/svc_authux.c: Likewise.
16187 * sunrpc/svc_raw.c: Likewise.
16188 * sunrpc/svc_run.c: Likewise.
16189 * sunrpc/svc_simple.c: Likewise.
16190 * sunrpc/svc_tcp.c: Likewise.
16191 * sunrpc/svc_udp.c: Likewise.
16192 * sunrpc/svc_unix.c: Likewise.
16193 * sunrpc/svcauth_des.c: Likewise.
16194 * sunrpc/xcrypt.c: Likewise.
16195 * sunrpc/xdr.c: Likewise.
16196 * sunrpc/xdr_array.c: Likewise.
16197 * sunrpc/xdr_float.c: Likewise.
16198 * sunrpc/xdr_intXX_t.c: Likewise.
16199 * sunrpc/xdr_mem.c: Likewise.
16200 * sunrpc/xdr_rec.c: Likewise.
16201 * sunrpc/xdr_ref.c: Likewise.
16202 * sunrpc/xdr_sizeof.c: Likewise.
16203 * sunrpc/xdr_stdio.c: Likewise.
16204
e6c61494
UD
162052011-04-10 Ulrich Drepper <drepper@gmail.com>
16206
16207 [BZ #12650]
16208 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
16209 * sysdeps/ia64/dl-tls.h: Likewise.
16210 * sysdeps/powerpc/dl-tls.h: Likewise.
16211 * sysdeps/s390/dl-tls.h: Likewise.
16212 * sysdeps/sh/dl-tls.h: Likewise.
16213 * sysdeps/sparc/dl-tls.h: Likewise.
16214 * sysdeps/x86_64/dl-tls.h: Likewise.
16215 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
16216
34fe483e
AS
162172011-03-14 Andreas Schwab <schwab@redhat.com>
16218
16219 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
16220 rpath element also skip the following colon.
16221 (expand_dynamic_string_token): Add is_path parameter and pass
16222 down to DL_DST_REQUIRED and _dl_dst_substitute.
16223 (decompose_rpath): Call expand_dynamic_string_token with
16224 non-zero is_path. Ignore empty rpaths.
16225 (_dl_map_object_from_fd): Call expand_dynamic_string_token
16226 with zero is_path.
16227
f12a32e6
AS
162282011-04-08 Andreas Schwab <schwab@linux-m68k.org>
16229
16230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16231 Make cancelable.
16232
38a7d692
UD
162332011-04-09 Ulrich Drepper <drepper@gmail.com>
16234
16235 [BZ #12655]
16236 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
16237 Patch by Filipe David Manana <fdmanana@apache.org>.
16238
e451d22b
AS
162392011-04-07 Andreas Schwab <schwab@redhat.com>
16240
16241 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
16242 Maintain aligned stack.
16243 (CHECK_RSP): Remove unused macro.
16244
dedc7c7b
UD
162452011-04-03 Ulrich Drepper <drepper@gmail.com>
16246
16247 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
16248 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
16249
94521213
UD
162502011-04-02 Ulrich Drepper <drepper@gmail.com>
16251
16252 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
16253
8cb700c0 16254 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 16255
0354e355
L
162562011-03-26 H.J. Lu <hongjiu.lu@intel.com>
16257
16258 [BZ #12518]
16259 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
16260 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
16261 * sysdeps/x86_64/memmove.c: New file.
16262 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
16263 (memcpy): Renamed to ...
16264 (__new_memcpy): This.
16265 (memcpy): Provide GLIBC_2_14 memcpy.
16266 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
16267 (memcpy): Provide GLIBC_2_2_5 memcpy.
16268
8593482f
UD
162692011-04-01 Ulrich Drepper <drepper@gmail.com>
16270
16271 [BZ #12631]
16272 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
16273
81a5726b
AS
162742011-03-30 Andreas Schwab <schwab@redhat.com>
16275
16276 * misc/syncfs.c: New file.
16277 * misc/Makefile (routines): Add syncfs.
16278 * posix/unistd.h: Declare syncfs.
16279 * sysdeps/unix/syscalls.list: Add syncfs.
16280
00e5419f
AS
162812011-04-01 Andreas Schwab <schwab@redhat.com>
16282
16283 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
16284 open_by_handle_at.
16285 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16286 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16287 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16288 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16289 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16290 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
16291 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16292
748876bf
UD
162932011-04-01 Ulrich Drepper <drepper@gmail.com>
16294
658e451d
UD
16295 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
16296 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16297 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
16298 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16299 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16300 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16301 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16302
748876bf
UD
16303 * io/Makefile: Compile fallocate.c, fallocate64.c, and
16304 sync_file_range.c with -fexceptions.
16305 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
16306 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
16307 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16308 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16309 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16310 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16311 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
16312 sync_file_range as cancellation point
16313 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
16314 now a wrapper around __call_sync_file_range with cancellation handling.
16315 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
16316 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
16317 function name to __call_sync_file_range.
16318 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
16319 Add call_sync_file_range.
748876bf 16320
6e63d5e1
AS
163212011-04-01 Andreas Schwab <schwab@redhat.com>
16322
16323 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 16324 bits/timex.h.
6e63d5e1 16325
46998f74
UD
163262011-04-01 Ulrich Drepper <drepper@gmail.com>
16327
4c1423ed
UD
16328 * iconv/iconv.h: Fix typo in comment.
16329 * io/fcntl.h: Likewise.
16330 * libio/stdio.h: Likewise.
16331 * posix/spawn.h: Likewise.
16332 * posix/unistd.h: Likewise.
16333 * stdlib/stdlib.h: Likewise.
16334 * time/time.h: Likewise.
16335 * wcsmbs/wchar.h: Likewise.
16336
158648c0
UD
16337 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
16338 open_by_handle): Add.
16339 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
16340 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
16341 Augment a few comments.
16342 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16343 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16344 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16345 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16346 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16347 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
16348 open_by_handle.
16349
46998f74
UD
16350 * io/fcntl.h (AT_EMPTY_PATH): Define.
16351
83fe108b
UD
163522011-03-30 Ulrich Drepper <drepper@gmail.com>
16353
16354 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
16355 * sysdeps/unix/sysv/linux/bits/time.h: New file.
16356 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
16357 to...
16358 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
16359 * Versions.def: Add GLIBC_2.14.
16360 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
16361 Export.
83fe108b 16362
bb242059
UD
163632011-03-22 Ulrich Drepper <drepper@gmail.com>
16364
16365 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
16366 round counter.
16367 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16368
c97a1282
L
163692011-03-20 H.J. Lu <hongjiu.lu@intel.com>
16370
16371 [BZ #12597]
16372 * string/test-strncmp.c (do_page_test): New function.
16373 (check2): Likewise.
16374 (test_main): Call check2.
16375 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
16376
2a115601
UD
163772011-03-20 Ulrich Drepper <drepper@gmail.com>
16378
16379 [BZ #12587]
16380 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
16381 Handle cache information in CPU leaf 4.
16382 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16383
8126d904
UD
163842011-03-18 Ulrich Drepper <drepper@gmail.com>
16385
042c49c6 16386 [BZ #12583]
8126d904
UD
16387 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
16388 character representation.
16389 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
16390
ccfe366e
RA
163912011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
16392
16393 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
16394 END(__isnan) to END(__isnanf) to match function entry point/label
16395 EALIGN(__isnanf,...).
16396
c6e13027
JJ
163972011-03-10 Jakub Jelinek <jakub@redhat.com>
16398
16399 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
16400
33f85a3f
UD
164012011-03-10 Ulrich Drepper <drepper@gmail.com>
16402
028478fa
UD
16403 [BZ #12510]
16404 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
16405 copy from the symbol referenced in the relocation to initialize the
16406 used variable.
16407 Patch by Piotr Bury <pbury@goahead.com>.
16408 * elf/Makefile: Add rules to build and tst-unique3.
16409 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
16410 * elf/tst-unique3.cc: New file.
16411 * elf/tst-unique3.h: New file.
16412 * elf/tst-unique3lib.cc: New file.
16413 * elf/tst-unique3lib2.cc: New file.
16414
33f85a3f
UD
16415 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
16416
03592fc7
MF
164172011-03-10 Mike Frysinger <vapier@gentoo.org>
16418
16419 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
16420 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
16421 to _start.
03592fc7 16422
6a5ee102
UD
164232011-03-06 Ulrich Drepper <drepper@gmail.com>
16424
16425 * elf/dl-load.c (_dl_map_object): If we are looking for the first
16426 to-be-loaded object along a path to loader is ld.so.
16427
7e4ba49c
HJ
164282011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16429 Ulrich Drepper <drepper@gmail.com>
16430
16431 * sysdeps/x86_64/memset.S: After aligning destination, code
16432 branches to different locations depending on the value of
16433 misalignment, when multiarch is enabled. Fix this.
16434
164352011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16436
16437 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
16438 Set _x86_64_preferred_memory_instruction for AMD processsors.
16439 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16440 Set bit_Prefer_SSE_for_memop for AMD processors.
16441
13a804de
UD
164422011-03-04 Ulrich Drepper <drepper@gmail.com>
16443
16444 * libio/fmemopen.c (fmemopen): Optimize a bit.
16445
9d25c392
AS
164462011-03-03 Andreas Schwab <schwab@redhat.com>
16447
16448 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
16449
a5543c6a
RM
164502011-03-03 Roland McGrath <roland@redhat.com>
16451
16452 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
16453
012d35f7
DM
164542011-02-28 Aurelien Jarno <aurelien@aurel32.net>
16455
7e4ba49c 16456 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
16457 __bzero_ultra1 instead of __memset_ultra1.
16458
4bff6e01
AS
164592011-02-23 Andreas Schwab <schwab@redhat.com>
16460 Ulrich Drepper <drepper@gmail.com>
16461
16462 [BZ #12509]
16463 * include/link.h (struct link_map): Add l_orig_initfini.
16464 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
16465 returning unsuccessfully.
16466 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
16467 close of a file loaded at startup, restore the original l_initfini
16468 list.
16469 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
16470 list, store the pointer.
16471 * elf/Makefile ($(objpfx)noload-mem): New rule.
16472 (noload-ENV): Define.
16473 (tests): Add $(objpfx)noload-mem.
16474 * elf/noload.c: Include <memcheck.h>.
16475 (main): Call mtrace. Close all opened handles.
16476
f2092faf
AS
164772011-02-17 Andreas Schwab <schwab@redhat.com>
16478
16479 [BZ #12454]
16480 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
16481 dependencies are missing.
16482
6c8a2e88
ST
164832011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16484
f2092faf 16485 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
16486 Hurd needs munmap.
16487 * sysdeps/mach/hurd/ifreq.h: New file.
16488
84a42118
PB
164892011-01-27 Petr Baudis <pasky@suse.cz>
16490 Ulrich Drepper <drepper@gmail.com>
16491
071f805e 16492 [BZ 12445]#
84a42118
PB
16493 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
16494 to extend_alloca().
16495 * stdio-common/bug23.c: New file.
16496 * stdio-common/Makefile (tests): Add bug23.
16497
e23fe25b
AS
164982010-09-28 Andreas Schwab <schwab@redhat.com>
16499 Ulrich Drepper <drepper@gmail.com>
16500
16501 [BZ #12489]
16502 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
16503 before performing relro protection. At old place add assertion
16504 to make sure nothing changed.
16505
d3f02e10
NS
165062011-02-17 Nathan Sidwell <nathan@codesourcery.com>
16507 Glauber de Oliveira Costa <glommer@gmail.com>
16508
16509 * elf/elf.h: Add new ARM TLS relocs.
16510
d55fd7a5
RA
165112011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
16512
16513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16514 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
16515 cast from r3.
16516 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
16517 'tests' variable.
16518 * sysdeps/wordsize-64/tst-writev.c: New file.
16519
2206397e
RA
165202011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
16521
16522 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
16523 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
16524 insns in _dl_start to prevent a TOC reference before relocs are
16525 resolved.
16526
e9433893
UD
165272011-02-15 Ulrich Drepper <drepper@gmail.com>
16528
16529 [BZ #12469]
16530 * Makeconfig: Remove RANLIB definition.
16531 * Makerules: Don't use RANLIB.
16532 * aclocal.m4: Remove ranlib test.
16533 * configure.in: No need to check for ranlib.
16534 * elf/rtld-Rules: Don't use RANLIB.
16535
f75286c6
ST
165362011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16537
8e31c82d
ST
16538 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
16539 protection macro.
16540 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
16541 inclusion protection macro.
16542
f75286c6
ST
16543 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
16544 SIGRTMIN and SIGRTMAX and print information in that case only when
16545 SIGRTMIN is defined.
16546
c1d0e639
JJ
165472011-02-11 Jakub Jelinek <jakub@redhat.com>
16548
16549 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
16550 arginfo fn returning -1.
16551
16552 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
16553 and thousands string is zero terminated.
16554
edf9294e
AS
165552011-02-03 Andreas Schwab <schwab@redhat.com>
16556
16557 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
16558 sysdeps/unix/sysv/linux/bits/socket.h.
16559
2b7e92df
ST
165602011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16561
edf9294e
AS
16562 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
16563 (__CPU_COUNT): Remove old macros.
16564 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
16565 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
16566 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
16567 (__sched_cpualloc, __sched_cpufree): Add declarations.
16568
a4c7ea7b
UD
165692011-02-05 Ulrich Drepper <drepper@gmail.com>
16570
16571 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
16572 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
16573 * nscd/aicache.c (addhstaiX): Return timeout of added value.
16574 (readdhstai): Return value of addhstaiX call.
16575 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
16576 (addgrbyX): Return value returned by cache_addgr.
16577 (readdgrbyname): Return value returned by addgrbyX.
16578 (readdgrbygid): Likewise.
16579 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
16580 (addpwbyX): Return value returned by cache_addpw.
16581 (readdpwbyname): Return value returned by addhstbyX.
16582 (readdpwbyuid): Likewise.
16583 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
16584 (addservbyX): Return value returned by cache_addserv.
16585 (readdservbyname): Return value returned by addservbyX:
16586 (readdservbyport): Likewise.
16587 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
16588 (addhstbyX): Return value returned by cache_addhst.
16589 (readdhstbyname): Return value returned by addhstbyX.
16590 (readdhstbyaddr): Likewise.
16591 (readdhstbynamev6): Likewise.
16592 (readdhstbyaddrv6): Likewise.
16593 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
16594 (readdinitgroups): Return value returned by addinitgroupsX.
16595 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
16596 (prune_cache): Keep track of timeout value of re-added entries.
16597 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
16598 * nscd/nscd.h: Adjust prototypes of readd* functions.
16599
a0bf67cc
RM
166002011-02-04 Roland McGrath <roland@redhat.com>
16601
16602 * nis/nis_server.c (nis_servstate): Use the right name for 0.
16603 (nis_stats): Likewise.
16604 * nis/nis_modify.c (nis_modify): Likewise.
16605 * nis/nis_remove.c (nis_remove): Likewise.
16606 * nis/nis_add.c (nis_add): Likewise.
16607
16608 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
16609
16610 * posix/fnmatch_loop.c: Add some consts.
16611
16612 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
16613
435b95eb
L
166142011-02-02 H.J. Lu <hongjiu.lu@intel.com>
16615
16616 [BZ #12460]
16617 * config.make.in (config-cflags-novzeroupper): Define.
16618 * configure.in: Substitute libc_cv_cc_novzeroupper.
16619 * elf/Makefile (AVX-CFLAGS): Define.
16620 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
16621 (CFLAGS-tst-auditmod4a.c): Likewise.
16622 (CFLAGS-tst-auditmod4b.c): Likewise.
16623 (CFLAGS-tst-auditmod6b.c): Likewise.
16624 (CFLAGS-tst-auditmod6c.c): Likewise.
16625 (CFLAGS-tst-auditmod7b.c): Likewise.
16626 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
16627
8517b15e
UD
166282011-02-02 Ulrich Drepper <drepper@gmail.com>
16629
16630 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
16631 function to the callback.
16632 Patch partly by Jiri Olsa <jolsa@redhat.com>.
16633
10a656fe
AS
166342011-02-02 Andreas Schwab <schwab@redhat.com>
16635
16636 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
16637 of errno.
16638
968dad0a
UD
166392011-01-19 Ulrich Drepper <drepper@gmail.com>
16640
9f94d2ea 16641 [BZ #11724]
968dad0a
UD
16642 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
16643 of constructors.
16644 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
16645 of destructors.
16646 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
16647
16648 [BZ #11724]
16649 * elf/Makefile: Add rules to build and run new test.
16650 * elf/tst-initorder.c: New file.
16651 * elf/tst-initorder.exp: New file.
16652 * elf/tst-initordera1.c: New file.
16653 * elf/tst-initordera2.c: New file.
16654 * elf/tst-initordera3.c: New file.
16655 * elf/tst-initordera4.c: New file.
16656 * elf/tst-initorderb1.c: New file.
16657 * elf/tst-initorderb2.c: New file.
16658 * elf/tst-order-a1.c: New file.
16659 * elf/tst-order-a2.c: New file.
16660 * elf/tst-order-a3.c: New file.
16661 * elf/tst-order-a4.c: New file.
16662 * elf/tst-order-b1.c: New file.
16663 * elf/tst-order-b2.c: New file.
16664 * elf/tst-order-main.c: New file.
16665 New test case by George Gensure <werkt0@gmail.com>.
16666
86e92359
UD
166672010-10-01 Andreas Schwab <schwab@redhat.com>
16668
16669 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16670 decoding ACE if AI_CANONIDN.
16671
5d5732b0
UD
166722011-01-18 Ulrich Drepper <drepper@gmail.com>
16673
16674 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
16675
a77e8cbc
UD
166762011-01-17 Ulrich Drepper <drepper@gmail.com>
16677
6392473f
UD
16678 * version.h (RELEASE): Bump for 2.13 release.
16679 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
16680
620a0529
UD
16681 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
16682
18ba70a5
UD
16683 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
16684 MADV_NOHUGEPAGE.
32465c3e
UD
16685 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
16686 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16687 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16688 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16689 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16690 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16691
c0dafcf1
UD
16692 * posix/getconf.c: Update copyright year.
16693 * catgets/gencat.c: Likewise.
16694 * csu/version.c: Likewise.
16695 * debug/catchsegv.sh: Likewise.
16696 * debug/xtrace.sh: Likewise.
16697 * elf/ldconfig.c: Likewise.
16698 * elf/ldd.bash.in: Likewise.
16699 * elf/sprof.c (print_version): Likewise.
16700 * iconv/iconv_prog.c: Likewise.
16701 * iconv/iconvconfig.c: Likewise.
16702 * locale/programs/locale.c: Likewise.
16703 * locale/programs/localedef.c: Likewise.
16704 * malloc/memusage.sh: Likewise.
16705 * malloc/mtrace.pl: Likewise.
16706 * nscd/nscd.c (print_version): Likewise.
16707 * nss/getent.c: Likewise.
16708
a77e8cbc
UD
16709 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
16710 PF_CAIF, and PF_ALG.
16711 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16712
77e8bddf
AS
167132011-01-16 Andreas Schwab <schwab@linux-m68k.org>
16714
1f20b93a
AS
16715 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
16716 (modules-names): Use them.
16717 (ifunc-test-modules, ifunc-pie-tests): Define.
16718 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
16719 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
16720 (test-extras): Likewise.
16721 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
16722 $(compile-command.c).
16723 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
16724 (all-built-dso): Define.
16725 (check-textrel.out, check-execstack.out): Depend on it.
16726
77e8bddf
AS
16727 * configure.in: Don't override --enable-multi-arch.
16728
bc425b33
UD
167292011-01-15 Ulrich Drepper <drepper@gmail.com>
16730
16731 [BZ #6812]
16732 * nscd/hstcache.c (tryagain): Define.
16733 (cache_addhst): Return tryagain not notfound for temporary errors.
16734 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
16735 failed.
16736
794c3ad3
UD
167372011-01-14 Ulrich Drepper <drepper@gmail.com>
16738
70181fdd
UD
16739 [BZ #10563]
16740 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
16741 to make the syscall.
16742 * sysdeps/unix/sysv/linux/setgroups.c: New file.
16743
794c3ad3
UD
16744 [BZ #12378]
16745 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
16746 and fall back to matching as normal character if the string ends before
16747 the matching ']' is found. This is what POSIX requires.
16748 * posix/testfnm.c: Adjust test result.
16749 * posix/globtest.sh: Adjust test result. Add new test.
16750 * posix/tst-fnmatch.input: Likewise.
16751 * posix/tst-fnmatch2.c: Add new test.
16752
68dc9497
AS
167532010-12-28 Andreas Schwab <schwab@linux-m68k.org>
16754
16755 * elf/Makefile (check-execstack): Revert last change. Depend on
16756 check-execstack.h.
16757 (check-execstack.h): New target.
16758 (generated): Add check-execstack.h.
16759 * elf/check-execstack.c: Include "check-execstack.h".
16760 (main): Revert last change.
16761 (handle_file): Return zero if GNU_STACK is absent and
16762 DEFAULT_STACK_PERMS doesn't include PF_X.
16763
451f001b
UD
167642011-01-13 Ulrich Drepper <drepper@gmail.com>
16765
cfa28e56
UD
16766 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
16767 in child fails because the descriptor is already closed.
8cf8ce17
UD
16768 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
16769 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
16770 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 16771
1086d70d
UD
16772 [BZ #12397]
16773 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
16774 syscall.
16775
451f001b
UD
16776 [BZ #10484]
16777 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
16778 temporary buffer used to handle multi lookups locally.
a85b5cb4 16779 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 16780
08769175
UD
167812011-01-12 Ulrich Drepper <drepper@gmail.com>
16782
16783 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
16784 loader is ld.so.
16785
5e49c52e
UD
167862011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
16787
16788 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
16789 alignment for SSE2.
16790
60522a5f
UD
167912011-01-12 Ulrich Drepper <drepper@gmail.com>
16792
16793 [BZ #12394]
16794 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
16795 characters. When rounding increased number of integer digits recompute
16796 number of groups.
16797 * stdio-common/tst-grouping.c: New file.
16798 * stdio-common/Makefile: Add rules to build and run tst-grouping.
16799
f257bbd7
UD
168002011-01-09 Ulrich Drepper <drepper@gmail.com>
16801
16802 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
16803 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
16804
16805 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
16806 void.
16807 * bits/select.h: Likewise.
16808
fa9c15cb
UD
168092011-01-08 Ulrich Drepper <drepper@gmail.com>
16810
16811 * po/ja.po: Update from translation team.
16812
16c2895f
DM
168132011-01-04 David S. Miller <davem@sunset.davemloft.net>
16814
16815 [BZ #11155]
16816 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
16817 implementation just like for lxstat, fxstatat, et al.
16818
2543fef2
JM
168192010-12-27 Jim Meyering <meyering@redhat.com>
16820
16821 [BZ #12348]
16822 * posix/regexec.c (build_trtable): Return failure indication upon
16823 calloc failure. Otherwise, re_search_internal could infloop on OOM.
16824
98727dbe
UD
168252010-12-25 Ulrich Drepper <drepper@gmail.com>
16826
5bd6dc5c
UD
16827 [BZ #12201]
16828 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
16829 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
16830 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
16831 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
16832
97983464
UD
16833 [BZ #12207]
16834 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
16835
98727dbe
UD
16836 [BZ #12204]
16837 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
16838 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
16839
4a531bb0
L
168402010-12-15 H.J. Lu <hongjiu.lu@intel.com>
16841
16842 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
16843 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
16844 script has SORT_BY_INIT_PRIORITY.
16845 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
16846 NO_CTORS_DTORS_SECTIONS is defined.
16847 * elf/soinit.c: Likewise.
16848 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
16849 NO_CTORS_DTORS_SECTIONS is defined.
16850 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
16851 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
16852 * sysdeps/sh/init-first.c: Likewise.
16853 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
16854
07eb4b71
UD
168552010-12-24 Ulrich Drepper <drepper@gmail.com>
16856
16857 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
16858 always use the slow path.
16859
30950a5f
RA
168602010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
16861
16862 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
16863 similar rule which adds the sysdep directories to the header search in
16864 order to pick up the correct platform stackinfo.h.
16865 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
16866 perform test if it is, otherwise return successfully without testing.
16867 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
16868 DEFAULT_STACK_PERMS define in stackinfo.h.
16869 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
16870 defined in stackinfo.h.
16871 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
16872 DEFAULT_STACK_PERMS defined in stackinfo.h.
16873 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
16874 * sysdeps/ia64/stackinfo.h: Likewise.
16875 * sysdeps/s390/stackinfo.h: Likewise.
16876 * sysdeps/sh/stackinfo.h: Likewise.
16877 * sysdeps/sparc/stackinfo.h: Likewise.
16878 * sysdeps/x86_64/stackinfo.h: Likewise.
16879 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
16880 PF_X for powerpc64. Retain PF_X for powerpc32.
16881
db753e2c
UD
168822010-12-19 Ulrich Drepper <drepper@gmail.com>
16883
14b697f7
UD
16884 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
16885 accurately.
db753e2c
UD
16886 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
16887 GETDENTS_64BIT_ALIGNED.
16888
28300719
UD
168892010-12-14 Ulrich Drepper <dreper@gmail.com>
16890
14b697f7 16891 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 16892
4f197237
AS
168932010-12-10 Andreas Schwab <schwab@redhat.com>
16894
dbb0472f
AS
16895 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
16896 _GNU_SOURCE.
16897
4f197237
AS
16898 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
16899 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
16900 Remove __restrict.
16901 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
16902 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
16903
fb88ac72
UD
169042010-12-09 Ulrich Drepper <drepper@gmail.com>
16905
16906 [BZ #11655]
16907 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
16908 are initialized.
16909
42acbb92
JJ
169102010-12-09 Jakub Jelinek <jakub@redhat.com>
16911
16912 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
16913
c038d98d
UD
169142010-12-03 Ulrich Drepper <drepper@gmail.com>
16915
16916 * po/it.po: Update from translation team.
16917
3a4a2499
L
169182010-12-01 H.J. Lu <hongjiu.lu@intel.com>
16919
16920 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
16921 unused codes.
16922
1e24cf6e
UD
169232010-11-30 Ulrich Drepper <drepper@gmail.com>
16924
16925 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
16926
a7690819
AS
169272010-11-24 Andreas Schwab <schwab@redhat.com>
16928
16929 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
16930 specially.
16931 (gaih_getanswer_slice): Likewise.
16932
3bf8d1b1
JJ
169332010-10-20 Jakub Jelinek <jakub@redhat.com>
16934
16935 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
16936
6db52fbb
PB
169372010-05-31 Petr Baudis <pasky@suse.cz>
16938
16939 [BZ #11149]
16940 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
16941 silently even in the chroot mode.
16942
eaca7569
UD
169432010-11-22 Ulrich Drepper <drepper@gmail.com>
16944
16945 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
16946 last patch a bit. Pretty printing
16947
3056dcdb
UD
169482010-05-31 Petr Baudis <pasky@suse.cz>
16949
16950 [BZ #10085]
16951 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
16952 initialization of skip_initgroups_dyn.
16953
cf7c9078
UD
169542010-11-19 Ulrich Drepper <drepper@gmail.com>
16955
16956 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
16957 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16958
a1fb5e3e
UD
169592010-11-16 Ulrich Drepper <drepper@gmail.com>
16960
16961 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
16962
3540d66b
AS
169632010-11-11 Andreas Schwab <schwab@redhat.com>
16964
16965 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
16966 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
16967 (tst-fnmatch-ENV): Set MALLOC_TRACE.
16968 ($(objpfx)tst-fnmatch-mem): New rule.
16969 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
16970 * posix/tst-fnmatch.c (main): Call mtrace.
16971
13b69574
L
169722010-11-11 H.J. Lu <hongjiu.lu@intel.com>
16973
16974 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16975 Support Intel processor model 6 and model 0x2c.
16976
da93d214
LM
169772010-11-10 Luis Machado <luisgpm@br.ibm.com>
16978
16979 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
16980 signed comparison.
16981
8ca52c6e
L
169822010-11-09 H.J. Lu <hongjiu.lu@intel.com>
16983
16984 [BZ #12205]
16985 * string/test-strncasecmp.c (check_result): New function.
16986 (do_one_test): Use it.
16987 (check1): New function.
16988 (test_main): Use it.
16989 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
16990 Support strcasecmp and strncasecmp.
16991
69da074d
UD
169922010-11-08 Ulrich Drepper <drepper@gmail.com>
16993
16994 [BZ #12194]
16995 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
16996 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16997
ff02d528
L
169982010-11-07 H.J. Lu <hongjiu.lu@intel.com>
16999
17000 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
17001 IFUNC support.
17002 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17003 memset-x86-64.
17004 * sysdeps/x86_64/multiarch/bzero.S: New file.
17005 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
17006 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
17007 * sysdeps/x86_64/multiarch/memset.S: New file.
17008 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
17009 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17010 Set bit_Prefer_SSE_for_memop for Intel processors.
17011 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
17012 Define.
17013 (index_Prefer_SSE_for_memop): Define.
17014 (HAS_PREFER_SSE_FOR_MEMOP): Define.
17015
344d0b54
LM
170162010-11-04 Luis Machado <luisgpm@br.ibm.com>
17017
17018 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17019 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17020
c0dde15b
UD
170212010-11-03 H.J. Lu <hongjiu.lu@intel.com>
17022
17023 [BZ #12191]
17024 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17025 (__x86_64_raw_data_cache_size_half): Likewise.
17026 (__x86_64_raw_shared_cache_size): Likewise.
17027 (__x86_64_raw_shared_cache_size_half): Likewise.
17028
17029 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17030 (__x86_64_raw_data_cache_size_half): Likewise.
17031 (__x86_64_raw_shared_cache_size): Likewise.
17032 (__x86_64_raw_shared_cache_size_half): Likewise.
17033 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17034 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17035 and __x86_64_raw_shared_cache_size_half. Round
17036 __x86_64_data_cache_size_half, __x86_64_data_cache_size
17037 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17038 to multiple of 256 bytes.
17039
0e516e0e
MS
170402010-11-03 Ulrich Drepper <drepper@gmail.com>
17041
17042 [BZ #12167]
17043 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17044 of inacessible symlinks. Verify result of symlink before returning it.
17045 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17046 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17047
0e012e87
ER
170482010-10-28 Erich Ritz <erichritz@gmail.com>
17049
17050 * math/math.h (isinf): Fix typo in comment.
17051
de0ff7bc
UD
170522010-11-01 Ulrich Drepper <drepper@gmail.com>
17053
17054 * po/da.po: Update from translation team.
17055
fa41c84d
UD
170562010-10-26 Ulrich Drepper <drepper@gmail.com>
17057
17058 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17059 is added to the list.
17060
f0967738
AK
170612010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17062 Ulrich Drepper <drepper@gmail.com>
17063
17064 * elf/dl-object.c (_dl_new_object): Don't append the new object to
17065 the global list here. Move code to...
17066 (_dl_add_to_namespace_list): ...here. New function.
17067 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17068 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17069 * elf/dl-load.c (lose): Don't remove the element from the list.
17070 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17071 (_dl_map_object): Likewise.
17072
170732010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
17074
17075 [BZ #12159]
17076 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17077 into all bytes of SSE register.
17078 Patch by Richard Li <richardpku@gmail.com>.
17079
f0967738 170802010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
17081
17082 [BZ #12140]
17083 * malloc/malloc.c (_int_free): Fill correct number of bytes when
17084 perturbing.
17085
d0b9e94f
MB
170862010-10-20 Michael B. Brutman <brutman@us.ibm.com>
17087
17088 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17089 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17090 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17091 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17093 submachine.
17094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17095
8e9f92e9
AS
170962010-10-22 Andreas Schwab <schwab@redhat.com>
17097
17098 * include/dlfcn.h (__RTLD_SECURE): Define.
17099 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
17100 mode & __RTLD_SECURE instead.
17101 (open_path): Rename preloaded parameter to secure.
17102 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17103 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17104 * elf/dl-deps.c (openaux): Likewise.
17105 * elf/rtld.c (struct map_args): Remove is_preloaded.
17106 (map_doit): Don't use it.
17107 (dl_main): Likewise.
17108 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
17109 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
17110
bc96fbda
AS
171112010-09-09 Andreas Schwab <schwab@redhat.com>
17112
17113 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
17114 (sysd-rules-targets): Remove duplicates.
17115 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
17116 rtld-%.$o dependency.
17117
22cd1c9b
AS
171182010-10-18 Andreas Schwab <schwab@redhat.com>
17119
17120 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
17121 _dl_map_object do it.
17122
18edac48
UD
171232010-10-19 Ulrich Drepper <drepper@gmail.com>
17124
17125 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
17126 fast fma builtins, define the macros in the C99 standard.
17127 (FP_FAST_FMAF): Likewise.
17128 (FP_FAST_FMAL): Likewise.
17129 * sysdeps/x86_64/bits/mathdef.h: Likewise.
17130
17131 * bits/mathdef.h: Update copyright year.
17132 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17133
d2050124
MM
171342010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
17135
17136 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
17137 builtins, define the macros in the C99 standard.
17138 (FP_FAST_FMAF): Likewise.
17139 (FP_FAST_FMAL): Likewise.
17140 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
17141 multiply/add.
17142 (FP_FAST_FMAF): Likewise.
17143
475facd1
JJ
171442010-10-15 Jakub Jelinek <jakub@redhat.com>
17145
17146 [BZ #3268]
17147 * math/libm-test.inc (fma_test): Some new testcases.
17148 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
17149 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
17150 y and infinite z. Do multiplication by C already in long double.
17151 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
17152 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
17153 y and infinite z. Do bitwise or of inexact bit into u.d.
17154 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
17155 * sysdeps/i386/fpu/s_fmaf.S: Removed.
17156 * sysdeps/i386/fpu/s_fma.S: Removed.
17157 * sysdeps/i386/fpu/s_fmal.S: Removed.
17158
7c08a05c
JJ
171592010-10-16 Jakub Jelinek <jakub@redhat.com>
17160
17161 [BZ #3268]
17162 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
17163 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
17164 computation is not scheduled after fetestexcept. Fix value
17165 of minimum denormal long double.
17166
f3f7372d
JJ
171672010-10-14 Jakub Jelinek <jakub@redhat.com>
17168
17169 [BZ #3268]
17170 * math/libm-test.inc (fma_test): Add some more tests.
17171 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
17172 correctly.
17173
14d43591
AS
171742010-10-15 Andreas Schwab <schwab@redhat.com>
17175
17176 * scripts/data/localplt-s390-linux-gnu.data: New file.
17177 * scripts/data/localplt-s390x-linux-gnu.data: New file.
17178
5e908464
JJ
171792010-10-13 Jakub Jelinek <jakub@redhat.com>
17180
17181 [BZ #3268]
17182 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
17183 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
17184 instead of dbl-64.
17185 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
17186 inlines.
17187 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
17188 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
17189 if one of x and y is very large and the other is subnormal.
17190 * sysdeps/s390/fpu/s_fmaf.c: New file.
17191 * sysdeps/s390/fpu/s_fma.c: New file.
17192 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
17193 * sysdeps/powerpc/fpu/s_fma.S: New file.
17194 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
17195 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
17196 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
17197
171982010-10-12 Jakub Jelinek <jakub@redhat.com>
17199
17200 [BZ #3268]
17201 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
17202 fma tests.
17203 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
17204 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
17205 * sysdeps/i386/i686/multiarch/s_fma.c: Include
17206 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
17207 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
17208 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
17209 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
17210
b833d51f
UD
172112010-10-12 Ulrich Drepper <drepper@redhat.com>
17212
17213 [BZ #12078]
17214 * posix/regcomp.c (parse_branch): One more memory leak plugged.
17215 * posix/bug-regex31.input: Add test case.
17216
1751705d
UD
172172010-10-11 Ulrich Drepper <drepper@gmail.com>
17218
e9b9cbf5
UD
17219 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
17220 * posix/bug-regex31.input: New file.
17221
17222 [BZ #12078]
17223 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
17224 (parse_sub_exp): Fix last change, use postorder.
17225
ef06edbe
UD
17226 * posix/bug-regex31.c: New file.
17227 * posix/Makefile: Add rules to build and run bug-regex31.
17228
a129c80d
UD
17229 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
17230
17231 [BZ #12078]
17232 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
17233
b76b818e
UD
17234 [BZ #12108]
17235 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
17236 to have entries in sys_siglist.
17237
1751705d
UD
17238 [BZ #12093]
17239 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
17240 be NULL.
17241
9ff8d36f
JJ
172422010-10-07 Jakub Jelinek <jakub@redhat.com>
17243
17244 [BZ #3268]
17245 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
17246 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
17247 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
17248 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
17249 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17250 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
17251 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
17252 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
17253 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
17254 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
17255 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
17256 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
17257 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17258 * math/ftestexcept.c (fetestexcept): Likewise.
17259 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
17260 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
17261 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17262 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
17263 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
17264 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
17265 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17266
af325969
UD
172672010-10-11 Ulrich Drepper <drepper@gmail.com>
17268
c579b202 17269 [BZ #12107]
af325969
UD
17270 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
17271 newline.
17272
67a67b95
UD
172732010-10-06 Ulrich Drepper <drepper@gmail.com>
17274
17275 * string/bug-strstr1.c: New file.
17276 * string/Makefile: Add rules to build and run bug-strstr1.
17277
5fb308bc
EB
172782010-10-05 Eric Blake <eblake@redhat.com>
17279
17280 [BZ #12092]
17281 * string/str-two-way.h (two_way_long_needle): Always clear memory
17282 when skipping input due to the shift table.
17283
45db99c7
UD
172842010-10-03 Ulrich Drepper <drepper@gmail.com>
17285
3b111893
UD
17286 [BZ #12005]
17287 * malloc/mcheck.c: Handle large requests.
17288
45db99c7
UD
17289 [BZ #12077]
17290 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
17291 for strncmp and strncasecmp.
17292 * string/stratcliff.c: Add tests for strcmp and strncmp.
17293 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
17294
cf7a1eb8
NI
172952010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17296
17297 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
17298 __set_fpscr.
17299
6484ba5e
AJ
173002010-09-30 Andreas Jaeger <aj@suse.de>
17301
17302 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
17303 (CGROUP_SUPER_MAGIC): Define.
17304 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17305 Handle btrfs and cgroup file systems.
17306 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17307 Likewise.
17308
91c42559
LM
173092010-09-27 Luis Machado <luisgpm@br.ibm.com>
17310
17311 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
17312 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
17313
87a97932
AK
173142010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17315
17316 [BZ #12067]
17317 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
17318 trying to locate the ELF header.
17319
c21cc9bc
AS
173202010-09-27 Andreas Schwab <schwab@redhat.com>
17321
17322 [BZ #11611]
17323 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
17324 Mask out sign-bit copies when constructing f_fsid.
17325
315970f6
PB
173262010-09-24 Petr Baudis <pasky@suse.cz>
17327
17328 * debug/stack_chk_fail_local.c: Add missing licence exception.
17329 * debug/warning-nop.c: Likewise.
17330
1ac7a2c7
JM
173312010-09-15 Joseph Myers <joseph@codesourcery.com>
17332
17333 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
17334 implementing getdents64 using getdents syscall, set d_type if
17335 __ASSUME_GETDENTS32_D_TYPE.
17336
56801c50
AS
173372010-09-16 Andreas Schwab <schwab@redhat.com>
17338
17339 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
17340 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
17341
dda51327
UD
173422010-09-21 Ulrich Drepper <drepper@redhat.com>
17343
17344 [BZ #12037]
17345 * posix/unistd.h: Undo change of feature selection for ftruncate from
17346 2010-01-11.
17347
8ffcee4a
UD
173482010-09-20 Ulrich Drepper <drepper@redhat.com>
17349
a545ecd9 17350 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
17351 detection.
17352
e24f0a8b
AS
173532010-09-20 Andreas Schwab <schwab@redhat.com>
17354
17355 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
17356 fanotify_mark.
17357 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17358
7291c56f
AS
173592010-09-14 Andreas Schwab <schwab@redhat.com>
17360
17361 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
17362 variables after CHECK_SP call.
17363 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
17364
bc5fb037
AS
173652010-09-13 Andreas Schwab <schwab@redhat.com>
17366 Ulrich Drepper <drepper@redhat.com>
17367
17368 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
17369 re-relocationg ld.so.
17370 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
17371 _dl_init_paths call.
17372 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
17373 here anymore.
17374
e66e7419
UD
173752010-09-14 Ulrich Drepper <drepper@redhat.com>
17376
17377 * resolv/res_init.c (__res_vinit): Count the default server we added.
17378
c044aa75
CLT
173792010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
17380 Ulrich Drepper <drepper@redhat.com>
17381
17382 [BZ #11968]
17383 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17384 (____longjmp_chk): Use %ebx for saving value across system call.
17385 Add unwind info.
17386
32cf4069
AS
173872010-09-06 Andreas Schwab <schwab@redhat.com>
17388
17389 * manual/Makefile: Don't mix pattern rules with normal rules.
17390
817328ee
AS
173912010-09-05 Andreas Schwab <schwab@linux-m68k.org>
17392
17393 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
17394 operation.
17395 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17396 * libio/iofopncook.c (_IO_cookie_init): Likewise.
17397 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17398 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17399 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17400 Likewise.
17401
29fddf61
UD
174022010-09-04 Ulrich Drepper <drepper@redhat.com>
17403
17404 [BZ #11979]
17405 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
17406 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
17407
0959ffc9
UD
174082010-09-02 Ulrich Drepper <drepper@redhat.com>
17409
17410 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
17411 * sysdeps/x86_64/addmul_1.S: Likewise.
17412 * sysdeps/x86_64/lshift.S: Likewise.
17413 * sysdeps/x86_64/mul_1.S: Likewise.
17414 * sysdeps/x86_64/rshift.S: Likewise.
17415 * sysdeps/x86_64/sub_n.S: Likewise.
17416 * sysdeps/x86_64/submul_1.S: Likewise.
17417
ece29840
ST
174182010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
17419
0959ffc9
UD
17420 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
17421 Define __sched_param instead of SCHED_* and sched_param when
ece29840 17422 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 17423 * bits/sched.h [__need_schedparam]
ece29840 17424 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
17425 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
17426 (__defined_schedparam): Define to 1.
ece29840
ST
17427 (__sched_param): New structure, identical to sched_param.
17428 (__need_schedparam): Undefine.
17429
e53a31fe
MF
174302010-08-31 Mike Frysinger <vapier@gentoo.org>
17431
fdc0c10d
MF
17432 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
17433 (epoll_create1): Declare.
17434
e53a31fe
MF
17435 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
17436
a726d796
AS
174372010-08-31 Andreas Schwab <schwab@redhat.com>
17438
17439 [BZ #7066]
17440 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
17441 shifting retval into place.
17442
2f3e3dc7
UD
174432010-09-01 Ulrich Drepper <drepper@redhat.com>
17444
f2933da9
UD
17445 * nis/rpcsvc/nis.h: Update copyright notice.
17446 * nis/rpcsvc/nis.x: Likewise.
17447 * nis/rpcsvc/nis_callback.h: Likewise.
17448 * nis/rpcsvc/nis_callback.x: Likewise.
17449 * nis/rpcsvc/nis_object.x: Likewise.
17450 * nis/rpcsvc/nis_tags.h: Likewise.
17451 * nis/rpcsvc/yp.h: Likewise.
17452 * nis/rpcsvc/yp.x: Likewise.
17453 * nis/rpcsvc/ypupd.h: Likewise.
17454 * nis/yp_xdr.c: Likewise.
17455 * nis/ypupdate_xdr.c: Likewise.
17456
2f3e3dc7
UD
17457 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
17458 mainly the body of pmap_getport. Add parameters to specify timeouts.
17459 (pmap_getport): Use __libc_rpc_getport.
17460 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
17461 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
17462 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
17463
f3dcc2f9
AS
174642010-08-31 Andreas Schwab <schwab@linux-m68k.org>
17465
17466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
17467 fanotify_mark.
17468
6d34eb5b
RM
174692010-08-27 Roland McGrath <roland@redhat.com>
17470
17471 * sysdeps/i386/i686/multiarch/Makefile
17472 (CFLAGS-varshift.c): New variable.
17473
9ea3de11
UD
174742010-08-27 Ulrich Drepper <drepper@redhat.com>
17475
c96d23fc
UD
17476 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
17477 * sysdeps/i386/i686/multiarch/varshift.c: New file.
17478
9ea3de11
UD
17479 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
17480
17481 * sysdeps/x86_64/strlen.S: Minimal code improvement.
17482
623aac7f
L
174832010-08-26 H.J. Lu <hongjiu.lu@intel.com>
17484
17485 * sysdeps/x86_64/strlen.S: Unroll the loop.
17486 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17487 strlen-sse2 strlen-sse2-bsf.
17488 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
17489 __strlen_no_bsf if bit_Slow_BSF is set.
17490 (__strlen_sse42): Removed.
17491 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
17492 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
17493
8b2b7715
RM
174942010-08-25 Roland McGrath <roland@redhat.com>
17495
17496 * sysdeps/x86_64/multiarch/varshift.S: File removed.
17497 * sysdeps/x86_64/multiarch/varshift.c: New file.
17498 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
17499 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
17500 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
17501 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17502
e73015f2
L
175032010-08-25 H.J. Lu <hongjiu.lu@intel.com>
17504
17505 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17506 strlen-sse2 strlen-sse2-bsf.
17507 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
17508 __strlen_sse2_bsf if bit_Slow_BSF is unset.
17509 (__strlen_sse2): Removed.
17510 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
17511 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
17512 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17513 bit_Slow_BSF for Atom.
17514 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
17515 (index_Slow_BSF): Define.
17516 (HAS_SLOW_BSF): Define.
17517
df24a73e
UD
175182010-08-25 Ulrich Drepper <drepper@redhat.com>
17519
17520 [BZ #10851]
17521 * resolv/res_init.c (__res_vinit): When no server address at all
17522 is given default to loopback.
17523
f2ac4868
RM
175242010-08-24 Roland McGrath <roland@redhat.com>
17525
09055553
RM
17526 * configure.in: Remove config-name.h generation.
17527 * configure: Regenerated.
17528 * config-name.in: File removed.
17529 * scripts/config-uname.sh: New file.
17530 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
17531 ($(objdir)config-name.h): New target.
17532
f2ac4868
RM
17533 * sunrpc/rpc_parse.h: Avoid nested comment.
17534
73f27d5e
RH
175352010-08-24 Richard Henderson <rth@redhat.com>
17536 Ulrich Drepper <drepper@redhat.com>
17537 H.J. Lu <hongjiu.lu@intel.com>
17538
17539 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
17540 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
17541 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
17542 Replace _mm_srli_si128 with __m128i_shift_right. Replace
17543 _mm_alignr_epi8 with _mm_loadu_si128.
17544 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
17545 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
17546 (__m128i_shift_right): Removed.
17547 * sysdeps/i386/i686/multiarch/varshift.h: New file.
17548 * sysdeps/i386/i686/multiarch/varshift.S: New file.
17549 * sysdeps/x86_64/multiarch/varshift.h: New file.
17550 * sysdeps/x86_64/multiarch/varshift.S: New file.
17551
84b9230c
MF
175522010-08-21 Mike Frysinger <vapier@gentoo.org>
17553
17554 * configure.in: Move assembler checks to before sysdep dir checking.
17555
9bbd0ddc
PB
175562010-08-20 Petr Baudis <pasky@suse.cz>
17557
17558 * LICENSES: Sync the sunrpc license.
17559
9da4bb31
UD
175602010-08-19 Ulrich Drepper <drepper@redhat.com>
17561
a7ab6ec8
UD
17562 * sunrpc/auth_des.c: Update copyright notice once again.
17563 * sunrpc/auth_none.c: Likewise.
17564 * sunrpc/auth_unix.c: Likewise.
17565 * sunrpc/authdes_prot.c: Likewise.
17566 * sunrpc/authuxprot.c: Likewise.
17567 * sunrpc/bindrsvprt.c: Likewise.
17568 * sunrpc/clnt_gen.c: Likewise.
17569 * sunrpc/clnt_perr.c: Likewise.
17570 * sunrpc/clnt_raw.c: Likewise.
17571 * sunrpc/clnt_simp.c: Likewise.
17572 * sunrpc/clnt_tcp.c: Likewise.
17573 * sunrpc/clnt_udp.c: Likewise.
17574 * sunrpc/clnt_unix.c: Likewise.
17575 * sunrpc/des_crypt.c: Likewise.
17576 * sunrpc/des_soft.c: Likewise.
17577 * sunrpc/get_myaddr.c: Likewise.
17578 * sunrpc/getrpcport.c: Likewise.
17579 * sunrpc/key_call.c: Likewise.
17580 * sunrpc/key_prot.c: Likewise.
17581 * sunrpc/openchild.c: Likewise.
17582 * sunrpc/pm_getmaps.c: Likewise.
17583 * sunrpc/pm_getport.c: Likewise.
17584 * sunrpc/pmap_clnt.c: Likewise.
17585 * sunrpc/pmap_prot.c: Likewise.
17586 * sunrpc/pmap_prot2.c: Likewise.
17587 * sunrpc/pmap_rmt.c: Likewise.
17588 * sunrpc/rpc/auth.h: Likewise.
17589 * sunrpc/rpc/auth_unix.h: Likewise.
17590 * sunrpc/rpc/clnt.h: Likewise.
17591 * sunrpc/rpc/des_crypt.h: Likewise.
17592 * sunrpc/rpc/key_prot.h: Likewise.
17593 * sunrpc/rpc/netdb.h: Likewise.
17594 * sunrpc/rpc/pmap_clnt.h: Likewise.
17595 * sunrpc/rpc/pmap_prot.h: Likewise.
17596 * sunrpc/rpc/pmap_rmt.h: Likewise.
17597 * sunrpc/rpc/rpc.h: Likewise.
17598 * sunrpc/rpc/rpc_des.h: Likewise.
17599 * sunrpc/rpc/rpc_msg.h: Likewise.
17600 * sunrpc/rpc/svc.h: Likewise.
17601 * sunrpc/rpc/svc_auth.h: Likewise.
17602 * sunrpc/rpc/types.h: Likewise.
17603 * sunrpc/rpc/xdr.h: Likewise.
17604 * sunrpc/rpc_clntout.c: Likewise.
17605 * sunrpc/rpc_cmsg.c: Likewise.
17606 * sunrpc/rpc_common.c: Likewise.
17607 * sunrpc/rpc_cout.c: Likewise.
17608 * sunrpc/rpc_dtable.c: Likewise.
17609 * sunrpc/rpc_hout.c: Likewise.
17610 * sunrpc/rpc_main.c: Likewise.
17611 * sunrpc/rpc_parse.c: Likewise.
17612 * sunrpc/rpc_parse.h: Likewise.
17613 * sunrpc/rpc_prot.c: Likewise.
17614 * sunrpc/rpc_sample.c: Likewise.
17615 * sunrpc/rpc_scan.c: Likewise.
17616 * sunrpc/rpc_scan.h: Likewise.
17617 * sunrpc/rpc_svcout.c: Likewise.
17618 * sunrpc/rpc_tblout.c: Likewise.
17619 * sunrpc/rpc_util.c: Likewise.
17620 * sunrpc/rpc_util.h: Likewise.
17621 * sunrpc/rpcinfo.c: Likewise.
17622 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
17623 * sunrpc/rpcsvc/key_prot.x: Likewise.
17624 * sunrpc/rpcsvc/klm_prot.x: Likewise.
17625 * sunrpc/rpcsvc/mount.x: Likewise.
17626 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
17627 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
17628 * sunrpc/rpcsvc/rex.x: Likewise.
17629 * sunrpc/rpcsvc/rstat.x: Likewise.
17630 * sunrpc/rpcsvc/rusers.x: Likewise.
17631 * sunrpc/rpcsvc/sm_inter.x: Likewise.
17632 * sunrpc/rpcsvc/spray.x: Likewise.
17633 * sunrpc/rpcsvc/yppasswd.x: Likewise.
17634 * sunrpc/rtime.c: Likewise.
17635 * sunrpc/svc.c: Likewise.
17636 * sunrpc/svc_auth.c: Likewise.
17637 * sunrpc/svc_authux.c: Likewise.
17638 * sunrpc/svc_raw.c: Likewise.
17639 * sunrpc/svc_run.c: Likewise.
17640 * sunrpc/svc_simple.c: Likewise.
17641 * sunrpc/svc_tcp.c: Likewise.
17642 * sunrpc/svc_udp.c: Likewise.
17643 * sunrpc/svc_unix.c: Likewise.
17644 * sunrpc/svcauth_des.c: Likewise.
17645 * sunrpc/xcrypt.c: Likewise.
17646 * sunrpc/xdr.c: Likewise.
17647 * sunrpc/xdr_array.c: Likewise.
17648 * sunrpc/xdr_float.c: Likewise.
17649 * sunrpc/xdr_mem.c: Likewise.
17650 * sunrpc/xdr_rec.c: Likewise.
17651 * sunrpc/xdr_ref.c: Likewise.
17652 * sunrpc/xdr_sizeof.c: Likewise.
17653 * sunrpc/xdr_stdio.c: Likewise.
17654
9da4bb31
UD
17655 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
17656 handling.
17657
bdaa77bc
AS
176582010-08-19 Andreas Schwab <schwab@redhat.com>
17659
17660 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
17661
fe2f79db
LM
176622010-08-19 Luis Machado <luisgpm@br.ibm.com>
17663
17664 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
17665 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
17666 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
17667 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
17668 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
17669 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
17670 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
17671 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
17672 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
17673 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
17674 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
17675 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
17676 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
17677 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
17678
b9b42ee0
AB
176792010-07-26 Anton Blanchard <anton@samba.org>
17680
17681 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
17682 * malloc/arena.c (heap_trim): Likewise.
17683
1c06ba31
UD
176842010-08-16 Ulrich Drepper <drepper@redhat.com>
17685
17686 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
17687 here. Not...
17688 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
17689 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
17690
f8392f40
L
176912010-08-12 H.J. Lu <hongjiu.lu@intel.com>
17692
17693 * sysdeps/i386/elf/Makefile: New file.
17694
3162f12e
AS
176952010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17696
17697 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
17698 from fanotify_init.
17699 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
17700 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17701
28c90b2c
UD
177022010-08-15 Ulrich Drepper <drepper@redhat.com>
17703
17704 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
17705 of strncasecmp_l.
1feccb6c 17706 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 17707
ca6bb004
UD
177082010-08-14 Ulrich Drepper <drepper@redhat.com>
17709
e9f82e0d
UD
17710 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17711 strncase_l-nonascii.
17712 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17713 Add strncase_l-ssse3.
17714 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
17715 * sysdeps/x86_64/strcmp.S: Likewise.
17716 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
17717 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
17718 * sysdeps/x86_64/strncase.S: New file.
17719 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
17720 * sysdeps/x86_64/strncase_l.S: New file.
17721 * string/Makefile (strop-tests): Add strncasecmp.
17722 * string/test-strncasecmp.c: New file.
17723
17724 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
17725 warning.
17726
ca6bb004
UD
17727 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
17728 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
17729
052fa7b3
AS
177302010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17731
17732 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
17733
962dba78
UD
177342010-08-12 Ulrich Drepper <drepper@redhat.com>
17735
17736 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
17737 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
17738 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
17739
bebff237
AM
177402010-05-01 Alan Modra <amodra@gmail.com>
17741
17742 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
17743 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
17744 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
17745 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
17746 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
17747 tidying. Don't tail-call __sigjmp_save for static lib.
17748 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
17749 save location.
17750 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
17751 (CALL_MCOUNT): Add eh info, and nop after bl.
17752 (TAIL_CALL_SYSCALL_ERROR): New macro.
17753 (PSEUDO_RET): Use it.
17754 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17755 Correct save location of integer regs and cr.
17756 (_dl_profile_resolve): Correct cr save location. Delete nops
17757 after bl when SHARED. Reduce cfi size a little by better
17758 placement of cfi directives.
17759 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
17760 make a stack frame. Instead use parm save area as a temp.
17761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
17762 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
17763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17764 Don't make a stack frame for parent, use parm save area.
17765 Increase child stack frame to 112 bytes. Don't save unused reg,
17766 and adjust reg usage. Set up cfi on error recovery and
17767 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
17768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17769 (__makecontext): Add dummy nop after jump to exit.
17770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
17771 Use correct parm save area and cr save, reduce stack frame.
17772 Correct cfi for possible PSEUDO_RET frame setup.
17773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
17774 Branch to local label emitted by PSEUDO_RET rather than
17775 __syscall_error.
17776
02637374
AS
177772010-08-12 Andreas Schwab <schwab@redhat.com>
17778
17779 [BZ #11904]
17780 * locale/programs/locale.c (print_assignment): New function.
17781 (show_locale_vars): Use it.
17782
c3e2f19b
UD
177832010-08-11 Ulrich Drepper <drepper@redhat.com>
17784
3cdaa6ad
UD
17785 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
17786 field.
17787 (struct statfs64): Likewise.
17788 (_STATFS_F_FLAGS): Define.
17789 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
17790 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17791 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
17792 (ST_VALID): Define locally.
17793 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
17794 __statvfs_getflags, use the provided value.
17795 * sysdeps/unix/sysv/linux/kernel-features.h: Define
17796 __ASSUME_STATFS_F_FLAGS.
17797
754f7da3
UD
17798 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
17799
10b3bedc
UD
17800 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
17801 Add sys/fanotify.h.
17802 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
17803 fanotify_mask for GLIBC_2.13.
17804 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
17805 fanotify_init and fanotify_mark.
17806 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17807 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
17808
c08fb0d7
UD
17809 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
17810 Add prlimit.
17811 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
17812 prlimit64 for GLIBC_2.13.
17813 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
17814 prlimit64.
17815 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
17816 syscall.
17817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
17818 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17819 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
17820 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
17821 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
17822 add prlimit alias.
17823 * sysdeps/unix/sysv/linux/prlimit.c: New file.
17824
15bac72b
UD
17825 [BZ #11903]
17826 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
17827 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
17828
c3e2f19b
UD
17829 * nss/Makefile: Add rules to build and run tst-nss-test1.
17830 * shlib-versions: Add entry for libnss_test1.
17831 * nss/nss_test1.c: New file.
17832 * nss/tst-nss-test1.c: New file.
17833
17834 * nss/nsswitch.c (__nss_database_custom): Define new variable.
17835 (__nss_configure_lookup): Set appropriate entry in
17836 __nss_configure_lookup to true.
17837 * nss/nsswitch.h: Define enum with indeces of databases in
17838 databases and __nss_database_custom arrays. Declare
17839 __nss_database_custom.
17840 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
17841 to avoid using nscd when custom rules are installed.
17842 * nss/getXXbyYY_r.c: Likewise.
17843 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17844
17845 * nss/nss_files/files-parse.c: Whitespace fixes.
17846
f15ce4d8
UD
178472010-08-09 Ulrich Drepper <drepper@redhat.com>
17848
17849 [BZ #11883]
17850 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
17851 * posix/fnmatch_loop.c: Likewise.
17852
d22e4cc9
AK
178532010-07-17 Andi Kleen <ak@linux.intel.com>
17854
17855 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
17856 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
17857 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
17858 * Versions.def [GLIBC_2.13]: Add.
17859
805bc17d
UD
178602010-08-06 Ulrich Drepper <drepper@redhat.com>
17861
17862 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17863 Also fail if tpwd after pwuid call is NULL.
17864
5a42321d
ST
178652010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
17866
17867 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
17868 when converting to ms.
17869
fd3ebeda
ST
178702010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17871
17872 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
17873 EOPNOTSUPP errors with ENOTTY.
17874 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
17875 EOPNOTSUPP errors with ENOTTY.
17876
73507d3a
UD
178772010-07-31 Ulrich Drepper <drepper@redhat.com>
17878
17879 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17880 Add strcasecmp_l-ssse3.
17881 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
17882 strcasecmp.
17883 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
17884 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
17885 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
17886
fe36dd02
UD
178872010-07-30 Ulrich Drepper <drepper@redhat.com>
17888
66f6765a
UD
17889 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
17890
42e08a54
UD
17891 * string/Makefile (strop-tests): Add strcasecmp.
17892 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17893 strcasecmp_l-nonascii.
17894 (gen-as-const-headers): Add locale-defines.sym.
17895 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
17896 * sysdeps/x86_64/strcasecmp.S: New file.
17897 * sysdeps/x86_64/strcasecmp_l.S: New file.
17898 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
17899 * sysdeps/x86_64/locale-defines.sym: New file.
17900 * string/test-strcasecmp.c: New file.
17901
fe36dd02
UD
17902 * string/test-strcasestr.c: Test both ends of the range of characters.
17903 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
17904
48cbc0d6
RM
179052010-07-29 Roland McGrath <roland@redhat.com>
17906
76e6d6bc 17907 [BZ #11856]
48cbc0d6
RM
17908 * manual/locale.texi (Yes-or-No Questions): Fix example code.
17909
880113d9
UD
179102010-07-27 Ulrich Drepper <drepper@redhat.com>
17911
17912 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
17913 for ld.so.
17914
deb9cabb
AS
179152010-07-27 Andreas Schwab <schwab@redhat.com>
17916
17917 * manual/memory.texi (Malloc Tunable Parameters): Document
17918 M_PERTURB.
17919
1c7570ff
RM
179202010-07-26 Roland McGrath <roland@redhat.com>
17921
17922 [BZ #11840]
17923 * configure.in (-fgnu89-inline check): Set and substitute
17924 gnu89_inline, not libc_cv_gnu89_inline.
17925 * configure: Regenerated.
17926 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
17927
24fb0f88
UD
179282010-07-26 Ulrich Drepper <drepper@redhat.com>
17929
17930 * string/test-strnlen.c: New file.
17931 * string/Makefile (strop-tests): Add strnlen.
17932 * string/tester.c (test_strnlen): Add a few more test cases.
17933 * string/tst-strlen.c: Better error reporting.
17934
17935 * sysdeps/x86_64/strnlen.S: New file.
17936
8e96b93a
UD
179372010-07-24 Ulrich Drepper <drepper@redhat.com>
17938
17939 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
17940 lower-latency instructions.
17941
dbc676d4
UD
179422010-07-23 Ulrich Drepper <drepper@redhat.com>
17943
17944 * string/test-strcasestr.c: New file.
17945 * string/test-strstr.c: New file.
17946 * string/Makefile (strop-tests): Add strstr and strcasestr.
17947 * string/str-two-way.h: Don't undefine MAX.
17948 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
17949
f6a31e0e
AS
179502010-07-21 Andreas Schwab <schwab@redhat.com>
17951
17952 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17953 strcasestr-nonascii.
17954 (CFLAGS-strcasestr-nonascii.c): Define.
17955 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
17956 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
17957 Remove unused attribute.
17958
5dbc3b6c
RM
179592010-07-20 Roland McGrath <roland@redhat.com>
17960
17961 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
17962 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
17963 ld.so.cache was broken. With it, there is no way to disable dsocaps
17964 like LD_HWCAP_MASK can disable hwcaps.
17965
23d101d8
EPM
179662010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17967
17968 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
17969
cc9f2e47
UD
179702010-07-16 Ulrich Drepper <drepper@redhat.com>
17971
17972 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
17973 call in strcasestr.
17974 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
17975 __strcasestr_sse42_nonascii.
17976 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
17977 strcasestr-nonascii.c.
17978 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
17979
77c1b069
LM
179802010-06-15 Luis Machado <luisgpm@br.ibm.com>
17981
17982 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
17983 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
17984 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
17985 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
17986
440566c3
UD
179872010-07-09 Ulrich Drepper <drepper@redhat.com>
17988
17989 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
17990 fcntl.
17991
5be9d05d
AS
179922010-07-06 Andreas Schwab <schwab@redhat.com>
17993
c30b7ee2 17994 [BZ #11577]
5be9d05d
AS
17995 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
17996 dl_signal_cerror.
17997
8a492a67
UD
179982010-07-06 Ulrich Drepper <drepper@redhat.com>
17999
18000 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
18001 _PC_PIPE_BUF using F_GETPIPE_SZ.
18002
713df3d5
RM
180032010-07-05 Roland McGrath <roland@redhat.com>
18004
18005 * manual/arith.texi (Rounding Functions): Fix rint description
18006 implicit in round description.
18007
702e8f14
UD
180082010-07-02 Ulrich Drepper <drepper@redhat.com>
18009
18010 * elf/Makefile: Fix linking for a few tests to make recent linker
18011 happy.
18012
52ed8be9
AS
180132010-06-30 Andreas Schwab <schwab@redhat.com>
18014
18015 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18016 $(common-objpfx)libc_nonshared.a.
18017
f47c9a11
LM
180182010-06-21 Luis Machado <luisgpm@br.ibm.com>
18019
18020 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18021 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18022 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18023 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18024 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18025 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18026 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18027 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18042 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18043 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18044 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18045 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18046 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18047 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18048 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18049 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18050 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18051 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18052 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18053 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18068
6fb8cbcb
L
180692010-06-25 H.J. Lu <hongjiu.lu@intel.com>
18070
18071 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18072 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
18073 * string/memmove.c (memmove): Renamed to ...
18074 (MEMMOVE): ...this. Default to memmove.
18075 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18076 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18077 (END_CHK): Define.
18078 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18079 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18080 mempcpy-ssse3-back memmove-ssse3-back.
18081 * sysdeps/x86_64/multiarch/bcopy.S: New file .
18082 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18083 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18084 * sysdeps/x86_64/multiarch/memcpy.S: New file.
18085 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18086 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18087 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18088 * sysdeps/x86_64/multiarch/memmove.c: New file.
18089 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18090 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18091 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18092 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18093 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18094 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18095 Define.
18096 (index_Fast_Copy_Backward): Define.
18097 (HAS_ARCH_FEATURE): Define.
18098 (HAS_FAST_REP_STRING): Define.
18099 (HAS_FAST_COPY_BACKWARD): Define.
18100
4e733bac 181012010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
18102
18103 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18104 Restore proper fallback handling.
18105
63c4ed22
UD
181062010-06-19 Ulrich Drepper <drepper@redhat.com>
18107
ac2b484c
UD
18108 [BZ #11701]
18109 * posix/group_member.c (__group_member): Correct checking loop.
18110
63c4ed22
UD
18111 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
18112 OOM in getpwuid_r correctly. Return error number when the caller
18113 should return, otherwise -1.
18114 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
18115 call returning > 0 value.
18116 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
18117
765ade4b
AS
181182010-06-07 Andreas Schwab <schwab@redhat.com>
18119
18120 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
18121 libc_nonshared.a from targets in modules-names.
18122
80da2e09
KS
181232010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
18124
18125 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
18126 requires it.
18127
158db122
LM
181282010-06-10 Luis Machado <luisgpm@br.ibm.com>
18129
18130 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
18131 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
18132 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
18133 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
18134
caa78cf8
AS
181352010-06-02 Andreas Schwab <schwab@redhat.com>
18136
18137 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
18138
b2ef2c01
UD
181392010-06-14 Ulrich Drepper <drepper@redhat.com>
18140
18141 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
18142 and F_GETPIPE_SZ.
18143 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18144 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18145 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18146 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18147 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18148 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
18149
fbd643b6
RM
181502010-06-14 Roland McGrath <roland@redhat.com>
18151
18152 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
18153
f32f2869
JJ
181542010-06-07 Jakub Jelinek <jakub@redhat.com>
18155
18156 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
18157 __REDIRECT followed by __THROW.
18158 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
18159 * posix/getopt.h (getopt): Likewise.
18160
2a50c078
EPM
181612010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18162
18163 * hurd/lookup-at.c (__file_name_lookup_at): Accept
18164 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
18165 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
18166 in AT_FLAGS.
18167 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
18168 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
18169
eb5ad2eb
LM
181702010-05-28 Luis Machado <luisgpm@br.ibm.com>
18171
18172 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
18173
3c88fe1e
L
181742010-05-26 H.J. Lu <hongjiu.lu@intel.com>
18175
18176 [BZ #11640]
18177 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18178 Properly check family and model.
18179
d2f73151
TY
181802010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
18181
18182 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
18183
ebd2e13d
LM
181842010-05-24 Luis Machado <luisgpm@br.ibm.com>
18185
18186 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
18187
b32b8b45
UD
181882010-05-21 Ulrich Drepper <drepper@redhat.com>
18189
18190 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
18191 symbol reference.
18192
9acbe24d
AS
181932010-05-19 Andreas Schwab <schwab@redhat.com>
18194
18195 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
18196 symbol reference.
18197
f0ccf6ea
AS
181982010-05-21 Andreas Schwab <schwab@redhat.com>
18199
3d04ff3a
AS
18200 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
18201 and internal_recvmmsg.
18202 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
18203 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
18204 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
18205 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
18206
f0ccf6ea
AS
18207 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
18208 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18209 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18210
5b08ac57
AS
182112010-05-20 Andreas Schwab <schwab@redhat.com>
18212
18213 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
18214
4828935d
LM
182152010-05-17 Luis Machado <luisgpm@br.ibm.com>
18216
18217 POWER7 optimizations.
18218 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
18219 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
18220
373d545e
UD
182212010-05-19 Ulrich Drepper <drepper@redhat.com>
18222
18223 * version.h: Update for 2.13 development version.
18224
21a2b1ae
AS
182252010-05-12 Andrew Stubbs <ams@codesourcery.com>
18226
18227 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
18228 exceptions. Return 0.
18229
3f7dcb2b
RM
182302010-05-07 Roland McGrath <roland@redhat.com>
18231
18232 * elf/ldconfig.c (main): Add a const.
18233
5f24d53a 182342010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 18235
a160f8d8
UD
18236 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
18237 (args_options): Add no-idn option.
18238 (ahosts_keys_int): Add idn_flags to ai_flags.
18239 (parse_option): Handle 'i' option to clear idn_flags.
18240
5f24d53a
UD
18241 * malloc/malloc.c (_int_free): Possible race in the most recently
18242 added check. Only act on the data if no current modification
18243 happened.
265bb1ce
UD
18244
18245See ChangeLog.17 for earlier changes.